qinzhipeng_v@didiglobal.com %!s(int64=4) %!d(string=hai) anos
pai
achega
692fb6e0ed

+ 2 - 2
src/views/reportManagement/ReleaseReport/newReleaeTemplate.vue

@@ -222,7 +222,7 @@ export default {
     setDefaultData(dav) {
       const from = dav
       this.from = { ...this.from, ...dav, 'taskIds': from.taskId }
-      this.customList = from.customFields
+      // this.customList = from.customFields
       if (from.devPlanTimeStart) {
         this.$set(this.from, 'devPlanTimeStart', [from.devPlanTimeStart, from.devPlanTimeEnd]) // 计划开发开始时间-计划开发结束时间
       }
@@ -409,7 +409,7 @@ export default {
     getCreateData(e) {
       this.$refs.fromCreateData.validate(async(valid) => {
         if (valid) {
-          const data = { 'bizId': this.bizId, moduleName: this.from.moduleName, type: 4, customFields: this.customList, id: e === '新建模版' ? '' : this.modelID }
+          const data = { 'bizId': this.bizId, 'moduleName': this.from.moduleName, 'type': 4, 'customFields': this.customList, 'id': e === '新建模版' ? '' : this.modelID }
           this.loading = true
           try {
             data.content = await getContainImgHTMLNode(this.from.content)

+ 0 - 1
src/views/reportManagement/components/template/customTemplate.vue

@@ -30,7 +30,6 @@ export default {
   watch: {
     custom: {
       handler(newV) {
-        console.log(newV, 'goushi')
         if (newV && newV[0].bool) {
           this.customs = newV
           return