浏览代码

重新打包

lex-xin 3 年之前
父节点
当前提交
fcd2a62a4f

+ 22 - 1
src/components/wfd/components/DetailPanel/EndEventDetail.vue

@@ -46,6 +46,14 @@
       </div>
 
       <div class="panelRow">
+        <div>是否签章:</div>
+        <el-radio-group v-model="contractStatus" @change="onRadioChange">
+          <el-radio :label="1">是</el-radio>
+          <el-radio :label="0">否</el-radio>
+        </el-radio-group>
+      </div>
+
+      <div v-if="contractStatus == 1" class="panelRow">
         <div>模板关联字段:</div>
         <el-row style="width: 90%">
           <el-col :span="8">公司名称</el-col>
@@ -235,6 +243,7 @@ export default {
   data() {
     return {
       fieldList: [],
+      contractStatus: 0,
       contract: {
         organName: '',
         feeType: '',
@@ -252,10 +261,12 @@ export default {
       // 反显数据
       let contract = this.model.contract
       contract = contract || null
-      console.log(contract)
       if (contract) {
+        this.contractStatus = 1
         this.contract = contract
         this.$forceUpdate()
+      } else {
+        this.contractStatus = 0
       }
     }
   },
@@ -263,6 +274,13 @@ export default {
     await this.__init()
   },
   methods: {
+    onRadioChange(val) {
+      if (val == 1) {
+        this.onChange('contract', this.contract)
+      } else {
+        this.onChange('contract', '')
+      }
+    },
     async __init() {
       const templateList = []
       this.templates.forEach((item) => {
@@ -275,8 +293,11 @@ export default {
         let contract = this.model.contract
         contract = contract || null
         if (contract) {
+          this.contractStatus = 1
           this.contract = contract
           this.$forceUpdate()
+        } else {
+          this.contractStatus = 0
         }
       })
     },

文件差异内容过多而无法显示
+ 0 - 0
web/index.html


+ 0 - 0
web/static/web/js/app.6bf2c60a.js → web/static/web/js/app.b316ea24.js


文件差异内容过多而无法显示
+ 0 - 0
web/static/web/js/chunk-b2cdb5c2.d7673b27.js


文件差异内容过多而无法显示
+ 0 - 0
web/static/web/js/chunk-b2cdb5c2.f1ef8226.js


部分文件因为文件数量过多而无法显示