|
|
|
@ -76,7 +76,7 @@
|
|
|
|
|
<span class="absolute inset-y-0 left-0 flex items-center pl-3 text-gray-500">
|
|
|
|
|
<i class="fa-solid fa-user"></i>
|
|
|
|
|
</span>
|
|
|
|
|
<input type="text" id="name" v-model="formData.name" class="w-full pl-10 pr-4 py-2 border border-gray-300 rounded-lg" placeholder="请输入姓名">
|
|
|
|
|
<input disabled type="text" id="name" v-model="formData.name" class="w-full pl-10 pr-4 py-2 border border-gray-300 rounded-lg" placeholder="请输入姓名">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
@ -87,7 +87,7 @@
|
|
|
|
|
<span class="absolute inset-y-0 left-0 flex items-center pl-3 text-gray-500">
|
|
|
|
|
<i class="fa-solid fa-venus-mars"></i>
|
|
|
|
|
</span>
|
|
|
|
|
<input type="text" id="sex" v-model="formData.sex" class="w-full pl-10 pr-4 py-2 border border-gray-300 rounded-lg" placeholder="请输入性别">
|
|
|
|
|
<input disabled type="text" id="sex" v-model="formData.sex" class="w-full pl-10 pr-4 py-2 border border-gray-300 rounded-lg" placeholder="请输入性别">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -100,7 +100,7 @@
|
|
|
|
|
<span class="absolute inset-y-0 left-0 flex items-center pl-3 text-gray-500">
|
|
|
|
|
<i class="fa-solid fa-globe"></i>
|
|
|
|
|
</span>
|
|
|
|
|
<input type="text" id="nationa" v-model="formData.nationa" class="w-full pl-10 pr-4 py-2 border border-gray-300 rounded-lg" placeholder="请输入国籍">
|
|
|
|
|
<input disabled type="text" id="nationa" v-model="formData.nationa" class="w-full pl-10 pr-4 py-2 border border-gray-300 rounded-lg" placeholder="请输入国籍">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
@ -111,7 +111,7 @@
|
|
|
|
|
<span class="absolute inset-y-0 left-0 flex items-center pl-3 text-gray-500">
|
|
|
|
|
<i class="fa-solid fa-user-tag"></i>
|
|
|
|
|
</span>
|
|
|
|
|
<input type="text" id="formerName" v-model="formData.formerName" class="w-full pl-10 pr-4 py-2 border border-gray-300 rounded-lg" placeholder="请输入曾用名">
|
|
|
|
|
<input disabled type="text" id="formerName" v-model="formData.formerName" class="w-full pl-10 pr-4 py-2 border border-gray-300 rounded-lg" placeholder="请输入曾用名">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -125,7 +125,7 @@
|
|
|
|
|
<i class="fa-solid fa-cloud-upload text-4xl text-gray-400 mb-2"></i>
|
|
|
|
|
<label for="photo" class="cursor-pointer bg-white rounded-md font-medium text-primary hover:text-primary/80">
|
|
|
|
|
<span>上传照片</span>
|
|
|
|
|
<input id="photo" name="photo" type="file" accept="image/jpeg,image/png" class="sr-only" @change="handleFileUpload">
|
|
|
|
|
<input disabled id="photo" name="photo" type="file" accept="image/jpeg,image/png" class="sr-only" @change="handleFileUpload">
|
|
|
|
|
</label>
|
|
|
|
|
<p class="text-xs text-gray-500">
|
|
|
|
|
JPG, PNG (最大 2MB)
|
|
|
|
@ -135,9 +135,9 @@
|
|
|
|
|
<!-- 预览区域(选中后显示) -->
|
|
|
|
|
<div v-else class="h-full flex flex-col items-center justify-center p-3">
|
|
|
|
|
<img :src="previewUrl" alt="预览图" class="max-h-full max-w-full object-cover rounded-lg mb-2" style="max-height: 200px;">
|
|
|
|
|
<button type="button" @click="clearFile" class="text-xs text-red-500 hover:text-red-700">
|
|
|
|
|
<i class="fa-solid fa-times-circle mr-1"></i> 移除
|
|
|
|
|
</button>
|
|
|
|
|
<!-- <button type="button" @click="clearFile" class="text-xs text-red-500 hover:text-red-700">-->
|
|
|
|
|
<!-- <i class="fa-solid fa-times-circle mr-1"></i> 移除-->
|
|
|
|
|
<!-- </button>-->
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -147,7 +147,7 @@
|
|
|
|
|
<span class="absolute inset-y-0 left-0 flex items-center pl-3 text-gray-500">
|
|
|
|
|
<i class="fa-solid fa-people-group"></i>
|
|
|
|
|
</span>
|
|
|
|
|
<input type="text" id="nationality" v-model="formData.nationality"
|
|
|
|
|
<input disabled type="text" id="nationality" v-model="formData.nationality"
|
|
|
|
|
class="w-full pl-10 pr-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary/50 focus:border-primary transition-colors duration-200"
|
|
|
|
|
placeholder="请输入民族">
|
|
|
|
|
</div>
|
|
|
|
@ -158,7 +158,7 @@
|
|
|
|
|
<span class="absolute inset-y-0 left-0 flex items-center pl-3 text-gray-500">
|
|
|
|
|
<i class="fa-solid fa-ring"></i>
|
|
|
|
|
</span>
|
|
|
|
|
<input type="text" id="maritalStatus" v-model="formData.maritalStatus"
|
|
|
|
|
<input disabled type="text" id="maritalStatus" v-model="formData.maritalStatus"
|
|
|
|
|
class="w-full pl-10 pr-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary/50 focus:border-primary transition-colors duration-200"
|
|
|
|
|
placeholder="请输入婚姻状况">
|
|
|
|
|
|
|
|
|
@ -170,7 +170,7 @@
|
|
|
|
|
<span class="absolute inset-y-0 left-0 flex items-center pl-3 text-gray-500">
|
|
|
|
|
<i class="fa-solid fa-user-tie"></i>
|
|
|
|
|
</span>
|
|
|
|
|
<input type="text" id="political" v-model="formData.political"
|
|
|
|
|
<input disabled type="text" id="political" v-model="formData.political"
|
|
|
|
|
class="w-full pl-10 pr-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary/50 focus:border-primary transition-colors duration-200"
|
|
|
|
|
placeholder="请输入政治面貌">
|
|
|
|
|
</div>
|
|
|
|
@ -181,7 +181,7 @@
|
|
|
|
|
<span class="absolute inset-y-0 left-0 flex items-center pl-3 text-gray-500">
|
|
|
|
|
<i class="fa-solid fa-phone"></i>
|
|
|
|
|
</span>
|
|
|
|
|
<input type="text" id="phone" v-model="formData.phone"
|
|
|
|
|
<input disabled type="text" id="phone" v-model="formData.phone"
|
|
|
|
|
class="w-full pl-10 pr-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary/50 focus:border-primary transition-colors duration-200"
|
|
|
|
|
placeholder="请输入联系方式">
|
|
|
|
|
</div>
|
|
|
|
@ -192,7 +192,7 @@
|
|
|
|
|
<span class="absolute inset-y-0 left-0 flex items-center pl-3 text-gray-500">
|
|
|
|
|
<i class="fa-solid fa-id-card"></i>
|
|
|
|
|
</span>
|
|
|
|
|
<input type="text" id="cerno" v-model="formData.cerno"
|
|
|
|
|
<input disabled type="text" id="cerno" v-model="formData.cerno"
|
|
|
|
|
class="w-full pl-10 pr-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary/50 focus:border-primary transition-colors duration-200"
|
|
|
|
|
placeholder="请输入身份证号">
|
|
|
|
|
</div>
|
|
|
|
@ -203,7 +203,7 @@
|
|
|
|
|
<span class="absolute inset-y-0 left-0 flex items-center pl-3 text-gray-500">
|
|
|
|
|
<i class="fa-solid fa-house-chimney"></i>
|
|
|
|
|
</span>
|
|
|
|
|
<input type="text" id="address" v-model="formData.address"
|
|
|
|
|
<input disabled type="text" id="address" v-model="formData.address"
|
|
|
|
|
class="w-full pl-10 pr-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary/50 focus:border-primary transition-colors duration-200"
|
|
|
|
|
placeholder="请输入户籍地址">
|
|
|
|
|
</div>
|
|
|
|
@ -214,7 +214,7 @@
|
|
|
|
|
<span class="absolute inset-y-0 left-0 flex items-center pl-3 text-gray-500">
|
|
|
|
|
<i class="fa-solid fa-badge-shield"></i>
|
|
|
|
|
</span>
|
|
|
|
|
<input type="text" id="registeredAuthority" v-model="formData.registeredAuthority"
|
|
|
|
|
<input disabled type="text" id="registeredAuthority" v-model="formData.registeredAuthority"
|
|
|
|
|
class="w-full pl-10 pr-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary/50 focus:border-primary transition-colors duration-200"
|
|
|
|
|
placeholder="请输入户籍地公安机关">
|
|
|
|
|
</div>
|
|
|
|
@ -225,7 +225,7 @@
|
|
|
|
|
<span class="absolute inset-y-0 left-0 flex items-center pl-3 text-gray-500">
|
|
|
|
|
<i class="fa-solid fa-house"></i>
|
|
|
|
|
</span>
|
|
|
|
|
<input type="text" id="permanentAddress" v-model="formData.permanentAddress"
|
|
|
|
|
<input disabled type="text" id="permanentAddress" v-model="formData.permanentAddress"
|
|
|
|
|
class="w-full pl-10 pr-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary/50 focus:border-primary transition-colors duration-200"
|
|
|
|
|
placeholder="请输入常住地址">
|
|
|
|
|
</div>
|
|
|
|
@ -236,7 +236,7 @@
|
|
|
|
|
<span class="absolute inset-y-0 left-0 flex items-center pl-3 text-gray-500">
|
|
|
|
|
<i class="fa-solid fa-badge-shield"></i>
|
|
|
|
|
</span>
|
|
|
|
|
<input type="text" id="residentBureau" v-model="formData.residentBureau"
|
|
|
|
|
<input disabled type="text" id="residentBureau" v-model="formData.residentBureau"
|
|
|
|
|
class="w-full pl-10 pr-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary/50 focus:border-primary transition-colors duration-200"
|
|
|
|
|
placeholder="请输入常住地公安机关">
|
|
|
|
|
</div>
|
|
|
|
@ -247,7 +247,7 @@
|
|
|
|
|
<span class="absolute inset-y-0 left-0 flex items-center pl-3 text-gray-500">
|
|
|
|
|
<i class="fa-solid fa-building-user"></i>
|
|
|
|
|
</span>
|
|
|
|
|
<input type="text" id="positionCapacity" v-model="formData.positionCapacity"
|
|
|
|
|
<input disabled type="text" id="positionCapacity" v-model="formData.positionCapacity"
|
|
|
|
|
class="w-full pl-10 pr-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary/50 focus:border-primary transition-colors duration-200"
|
|
|
|
|
placeholder="请输入单位及职务职称">
|
|
|
|
|
</div>
|
|
|
|
@ -258,7 +258,7 @@
|
|
|
|
|
<span class="absolute inset-y-0 left-0 flex items-center pl-3 text-gray-500">
|
|
|
|
|
<i class="fa-solid fa-shield-halved"></i>
|
|
|
|
|
</span>
|
|
|
|
|
<input type="text" id="smPost" v-model="formData.smPost"
|
|
|
|
|
<input disabled type="text" id="smPost" v-model="formData.smPost"
|
|
|
|
|
class="w-full pl-10 pr-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary/50 focus:border-primary transition-colors duration-200"
|
|
|
|
|
placeholder="请输入已(拟)任涉密岗位">
|
|
|
|
|
</div>
|
|
|
|
@ -269,7 +269,7 @@
|
|
|
|
|
<span class="absolute inset-y-0 left-0 flex items-center pl-3 text-gray-500">
|
|
|
|
|
<i class="fa-solid fa-lock"></i>
|
|
|
|
|
</span>
|
|
|
|
|
<input type="text" id="smGrade" v-model="formData.smGrade"
|
|
|
|
|
<input disabled type="text" id="smGrade" v-model="formData.smGrade"
|
|
|
|
|
class="w-full pl-10 pr-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary/50 focus:border-primary transition-colors duration-200"
|
|
|
|
|
placeholder="请输入涉密等级">
|
|
|
|
|
</div>
|
|
|
|
|