فهرست منبع

修改通知公告

caojunjie 2 سال پیش
والد
کامیت
cecd244cb4
2فایلهای تغییر یافته به همراه16 افزوده شده و 21 حذف شده
  1. 16 19
      src/views/desk/notice.vue
  2. 0 2
      src/views/reimbursement/config/mainList.json

+ 16 - 19
src/views/desk/notice.vue

@@ -30,7 +30,7 @@
       <template slot="fileListForm">
         <c-upload :basic="true"
                   :data="fileList"
-                  deleteUrl="/api/blade-client/corpsbank/update"
+                  deleteUrl="/api/blade-client/common-file/remove"
                   :enumerationValue="35.1"></c-upload>
       </template>
       <template slot-scope="{row}"
@@ -117,20 +117,20 @@ export default {
               trigger: "blur"
             }]
           },
-          {
-            label: "通知时间",
-            prop: "releaseTimeRange",
-            type: "datetime",
-            format: "yyyy-MM-dd hh:mm:ss",
-            valueFormat: "yyyy-MM-dd hh:mm:ss",
-            searchRange: true,
-            hide: true,
-            rules: [{
-              required: true,
-              message: "请输入通知时间",
-              trigger: "blur"
-            }]
-          },
+          // {
+          //   label: "通知时间",
+          //   prop: "releaseTimeRange",
+          //   type: "datetime",
+          //   format: "yyyy-MM-dd hh:mm:ss",
+          //   valueFormat: "yyyy-MM-dd hh:mm:ss",
+          //   searchRange: true,
+          //   hide: true,
+          //   rules: [{
+          //     required: true,
+          //     message: "请输入通知时间",
+          //     trigger: "blur"
+          //   }]
+          // },
           {
             label: "通知日期",
             prop: "releaseTime",
@@ -138,10 +138,6 @@ export default {
             format: "yyyy-MM-dd hh:mm:ss",
             overHidden: true,
             valueFormat: "yyyy-MM-dd hh:mm:ss",
-            searchRange: true,
-            addDisplay: false,
-            editDisplay: false,
-            viewDisplay: false,
             search: true,
             rules: [{
               required: true,
@@ -214,6 +210,7 @@ export default {
     rowUpdate(row, index, done, loading) {
       let data = row
       data.sendRange = data.sendRange.join(',')
+      data.fileList = this.fileList
       update(data).then(() => {
         this.onLoad(this.page);
         this.$message({

+ 0 - 2
src/views/reimbursement/config/mainList.json

@@ -15,8 +15,6 @@
   "selection": true,
   "tip": false,
   "searchSpan": 8,
-  "showSummary": true,
-  "summaryText": "合计",
   "sumColumnList": [],
   "column": [
     {