695593266@qq.com 7 mesi fa
parent
commit
46a3effcce
1 ha cambiato i file con 7 aggiunte e 10 eliminazioni
  1. 7 10
      src/views/bpm/handleTask/components/entrust/create.vue

+ 7 - 10
src/views/bpm/handleTask/components/entrust/create.vue

@@ -171,11 +171,13 @@
         height="40vh"
       >
         <template v-slot:totalCount="{ row }">
-          <el-input v-model="row.totalCount"> </el-input>
+          <el-input v-model="row.totalCount" disabled>
+            <template slot="append">{{ row.measuringUnit }}</template>
+          </el-input>
         </template>
 
         <template v-slot:describes="{ row }">
-          <el-input v-model="row.describes"> </el-input>
+          <el-input v-model="row.describes" disabled> </el-input>
         </template>
 
         <template v-slot:taskId="{ row, $index }">
@@ -186,6 +188,7 @@
             v-model="row.taskId"
             placeholder="请选择"
             @change="taskListChange(row, $index)"
+            disabled
           >
             <el-option
               v-for="item in row.taskList"
@@ -204,6 +207,7 @@
             placeholder="选择日期时间"
             format="yyyy-MM-dd HH:mm:ss"
             value-format="yyyy-MM-dd HH:mm:ss"
+            disabled
           >
           </el-date-picker>
         </template>
@@ -366,13 +370,6 @@
         selection: [],
         current: null,
         columns: [
-          {
-            width: 45,
-            type: 'selection',
-            columnKey: 'selection',
-            align: 'center',
-            reserveSelection: true
-          },
           {
             columnKey: 'index',
             label: '序号',
@@ -431,7 +428,7 @@
             slot: 'totalCount',
             label: '请托数量',
             align: 'center',
-            minWidth: 110,
+            minWidth: 140,
             showOverflowTooltip: true
           },
           {