|
@@ -120,6 +120,26 @@
|
|
|
</el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
+ <el-form-item
|
|
|
+ label="签章类型"
|
|
|
+ style="width:45%;"
|
|
|
+ prop="pfxType"
|
|
|
+ v-else
|
|
|
+ >
|
|
|
+ <el-select
|
|
|
+ v-model="form.pfxType"
|
|
|
+ style="width:400px;"
|
|
|
+ placeholder="请选择"
|
|
|
+ >
|
|
|
+ <el-option
|
|
|
+ v-for="item in pfxType"
|
|
|
+ :key="item.dictKey"
|
|
|
+ :label="item.dictValue"
|
|
|
+ :value="item.dictKey"
|
|
|
+ >
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
<el-form-item
|
|
|
label="签名体图片"
|
|
|
style="width:100%;"
|
|
@@ -228,7 +248,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import { save, getById, findUserByName, queryRole, queryProjectAndContract, addFileInfo, update } from "@/api/certificate/list";
|
|
|
+import { save, getById, findUserByName, queryRole, queryProjectAndContract, addFileInfo, update , findPfxType} from "@/api/certificate/list";
|
|
|
export default {
|
|
|
data () {
|
|
|
return {
|
|
@@ -240,6 +260,7 @@ export default {
|
|
|
certificateNumber: '',
|
|
|
certificatePassword: '',
|
|
|
certificateUserId: '',
|
|
|
+ pfxType: '',
|
|
|
certificateFileUrl: [],//证书文件
|
|
|
signatureFileUrl: [],//签名体图片
|
|
|
signPfxDeputieList: [],
|
|
@@ -255,11 +276,13 @@ export default {
|
|
|
certificateFileUrl: [{ required: true, message: '请选择证书文件', trigger: 'change' }],
|
|
|
signatureFileUrl: [{ required: true, message: '请选择签名体图片', trigger: 'change', }],
|
|
|
signPfxDeputieList: [{ required: true, message: '请设置关联项目', trigger: 'change', }],
|
|
|
+ pfxType: [{ required: true, message: '请选择签章类型', trigger: 'change', }],
|
|
|
},
|
|
|
ParticipationConstruction: [],//参见项目方
|
|
|
projectMeiju: [],//项目
|
|
|
ContractSection: [],//合同段
|
|
|
userData: [],//关联用户
|
|
|
+ pfxType: []//
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
@@ -276,6 +299,7 @@ export default {
|
|
|
certificateNumber: this.form.certificateNumber,
|
|
|
certificatePassword: this.form.certificatePassword,
|
|
|
certificateId: this.form.certificateId,
|
|
|
+ pfxType: this.form.pfxType
|
|
|
}
|
|
|
if (this.form.certificateFileUrl[0].name) {
|
|
|
fromData.certificateFileUrl = await this.addFileInfo(this.form.certificateFileUrl[0].raw)
|
|
@@ -398,6 +422,12 @@ export default {
|
|
|
this.projectMeiju = res.data
|
|
|
}
|
|
|
},
|
|
|
+ async findPfxType(){
|
|
|
+ const {data: res} = await findPfxType({typeOrStatus : 'pfx_type'})
|
|
|
+ if(res.code == 200){
|
|
|
+ this.pfxType = res.data;
|
|
|
+ }
|
|
|
+ },
|
|
|
async addFileInfo (file) {//上传图片
|
|
|
let fromData = new FormData();
|
|
|
fromData.append('file', file);
|
|
@@ -425,6 +455,7 @@ export default {
|
|
|
this.findUserByName()//关联用户
|
|
|
this.queryRole()//获取角色方
|
|
|
this.queryProjectAndContract()//获取项目和合同段
|
|
|
+ this.findPfxType();//查询企业签章类型
|
|
|
},
|
|
|
}
|
|
|
</script>
|