浏览代码

公式 字段回显问题

Administrator 2 年之前
父节点
当前提交
9a2f10b5ea
共有 2 个文件被更改,包括 15 次插入5 次删除
  1. 1 3
      src/views/manager/wbsinfo/edit.vue
  2. 14 2
      src/views/system/menu.vue

+ 1 - 3
src/views/manager/wbsinfo/edit.vue

@@ -2243,7 +2243,7 @@ export default {
       }
 
       row.eAllowDeviation = (row.allow ? row.allow : '') + (row.deviation ? row.deviation : '');
-      row.fId = this.curEleTable.id;
+      row.fId = this.curEleTable.initTableId;
       row.initTableName = this.curEleTable.initTableName;
       // if (row.eType == 4) {
       //   this.$set(row, 'eLength', 0);
@@ -2363,8 +2363,6 @@ export default {
       this.nodeDetail.mixRatioTestIds = this.toJoin(newarr)
     },
     filterChange () {
-      //console.log(this.$refs)
-      //debugger
       if (this.treeData.length > 0) {
         this.$refs.treeall.filter(this.filterText);
         return;

+ 14 - 2
src/views/system/menu.vue

@@ -283,15 +283,27 @@
               prop: 'videoUrl',
               type: 'upload',
               listType: 'picture-img',
-              span: 24,
+              span: 12,
               accept:"video/mp4",
               propsHttp: {
-                url:'data',
+                url:'data'
               },
               tip: '只能上传MP4格式,且不能用QQ录屏,推荐使用win10自带录屏录制,文件大小限制50兆',
                 // tip: '只能上传jpg/png用户头像,且不超过500kb',
               action: "/api/blade-resource/oss/endpoint/put-file2"
             },
+            {
+              label: '文档信息',
+              prop: 'excelUrl',
+              type: 'upload',
+              span: 12,
+              loadText: '模板上传中,请稍等',
+              propsHttp: {
+                url:'data'
+              },
+              tip: '上传文档说明',
+              action: "/api/blade-resource/oss/endpoint/upload-file2"
+            },
           ]
         },
         data: []