Browse Source

提交专家诚信承诺书字段

fan0987 1 week ago
parent
commit
f28c0c8968

+ 16 - 1
ruoyi-ui/src/views/expert/ewh/components/fuijanTable.vue

@@ -18,6 +18,8 @@
             </el-table-column>
         </el-table>
 
+        <a href="/专家注册诚信承诺书.docx" target="_blank" class="fujian-link">下载诚信承诺书</a>
+
         <el-dialog title="附件管理" :visible.sync="dialogFormVisible">
             <el-form :model="fujianForm">
                 <el-form-item label="附件" prop="fjAnnex">
@@ -65,6 +67,10 @@ export default {
                 name: '银行卡清晰照片(必传)',
                 type: 'jBankPhoto',
                 fileList: []
+            }, {
+                name: '专家注册诚信承诺(必传)',
+                type: 'jCommit',
+                fileList: []
             }, {
                 name: '其他证明材料',
                 type: 'jOther',
@@ -143,4 +149,13 @@ export default {
         }
     }
 }
-</script>
+</script>
+
+<style lang="scss" scoped>
+.fujian-link {
+    text-decoration: underline;
+    color: #409EFF;
+    line-height: 38px;
+    font-weight: bold;
+}
+</style>

+ 5 - 0
ruoyi-ui/src/views/expert/ewh/detail.vue

@@ -129,6 +129,10 @@ export default {
                 name: '银行卡清晰照片',
                 type: 'jBankPhoto',
                 fileList: []
+            }, {
+                name: '专家注册诚信承诺',
+                type: 'jCommit',
+                fileList: []
             }, {
                 name: '其他证明材料',
                 type: 'jOther',
@@ -155,6 +159,7 @@ export default {
             jCertificatePhoto: this.basicDetail.jCertificatePhoto ? JSON.parse(this.basicDetail.jCertificatePhoto) :[],
             jScreenshot: this.basicDetail.jScreenshot ? JSON.parse(this.basicDetail.jScreenshot) : [],
             jBankPhoto: this.basicDetail.jBankPhoto ? JSON.parse(this.basicDetail.jBankPhoto) : [],
+            jCommit: this.basicDetail.jCommit ? JSON.parse(this.basicDetail.jCommit) : [],
             jOther: this.basicDetail.jOther ? JSON.parse(this.basicDetail.jOther) : []
         }
         this.expertSign = this.basicDetail.jSign ? JSON.parse(this.basicDetail.jSign) : []

+ 3 - 1
ruoyi-ui/src/views/expert/ewh/index.vue

@@ -277,7 +277,8 @@ export default {
             if (this.exportFujianData.jIdentityPhoto.length < 1 ||
                 this.exportFujianData.jCertificatePhoto.length < 1 ||
                 this.exportFujianData.jScreenshot.length < 1 ||
-                this.exportFujianData.jBankPhoto.length < 1) {
+                this.exportFujianData.jBankPhoto.length < 1 ||
+                this.exportFujianData.jCommit.length < 1) {
                 this.$message({
                     type: 'error',
                     message: '请补充扫描件'
@@ -363,6 +364,7 @@ export default {
                         jCertificatePhoto: data.jCertificatePhoto ? JSON.parse(data.jCertificatePhoto) :[],
                         jScreenshot: data.jScreenshot ? JSON.parse(data.jScreenshot) : [],
                         jBankPhoto: data.jBankPhoto ? JSON.parse(data.jBankPhoto) : [],
+                        jCommit: data.jCommit ? JSON.parse(data.jCommit) : [],
                         jOther: data.jOther ? JSON.parse(data.jOther) : []
                     }