Browse Source

更新打包

lex-xin 3 năm trước cách đây
mục cha
commit
3d112e3a60

+ 1 - 1
src/components/wfd/components/DetailPanel/DefaultDetail.vue

@@ -61,7 +61,7 @@ export default {
   },
   mounted() {
     this.onChange('sort', '1')
-    console.log(this.model)
+    // console.log(this.model)
     // 开始结点,并且标题没有值时
     // if (this.model.clazz == 'start' && !this.model.label) {
     //   this.onChange('label', '开始')

+ 19 - 10
src/components/wfd/components/DetailPanel/EndEventDetail.vue

@@ -244,6 +244,21 @@ export default {
       }
     }
   },
+  watch: {
+    templates(newValue) {
+      this.__init()
+    },
+    'model.contract'(newValue) {
+      // 反显数据
+      let contract = this.model.contract
+      contract = contract ? JSON.parse(contract) : null
+      console.log(contract)
+      if (contract) {
+        this.contract = contract
+        this.$forceUpdate()
+      }
+    }
+  },
   async mounted() {
     await this.__init()
   },
@@ -257,20 +272,14 @@ export default {
       Promise.all(templateList).then(values => {
         this.formatTemplateData(values)
         // 反显数据
-        let conditionExpression = this.model.conditionExpression
-        conditionExpression = conditionExpression ? JSON.parse(conditionExpression) : null
-        if (conditionExpression) {
-          this.conditionList = conditionExpression
-          this.onFormatField()
+        let contract = this.model.contract
+        contract = contract ? JSON.parse(contract) : null
+        if (contract) {
+          this.contract = contract
           this.$forceUpdate()
         }
       })
     },
-    onFormatField() {
-      this.conditionList.forEach((con, index) => {
-        this.fieldType[index] = this.onFormatType(con.key)
-      })
-    },
     async getFieldList(id) {
       return new Promise(async(resolve, reject) => {
         await templateDetails({ template_id: id }).then(res => {

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
web/index.html


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
web/static/web/js/chunk-b2cdb5c2.1d7be493.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
web/static/web/js/chunk-b2cdb5c2.7b8cbc72.js


Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác