Explorar o código

项目会议分发会议中的任务分发填报增加紧急情况字段

humingbo hai 1 ano
pai
achega
fe146ce024
Modificáronse 1 ficheiros con 17 adicións e 0 borrados
  1. 17 0
      src/views/meeting/meeting.vue

+ 17 - 0
src/views/meeting/meeting.vue

@@ -361,6 +361,21 @@
                       :autosize="{ minRows: 4, maxRows: 10}" @input="editMeetingContents(scope.row)"></el-input>
           </template>
         </el-table-column>
+        <el-table-column label="事项优先级" prop="priority" width="180">
+          <template slot-scope="scope">
+            <el-select
+              v-model="scope.row.priority"
+              placeholder="事项优先级"  @change="editMeetingContents(scope.row)">
+              <el-option
+                v-for="dict in dict.type.task_priority"
+                :key="dict.value"
+                :label="dict.label"
+                :value="dict.value">
+                  {{ dict.label }}
+              </el-option>
+            </el-select>
+          </template>
+        </el-table-column>
         <el-table-column label="执行人" width="180">
           <template slot-scope="scope">
             <el-input size="mini" v-model="scope.row.executorName" :readonly="true"
@@ -473,6 +488,7 @@ import DateUtil from "@/utils/date"
 
 export default {
   name: 'Meeting',
+  dicts: [ 'task_priority'],
   watch: {
     filterText(val) {
       this.$refs.dept.filter(val);
@@ -564,6 +580,7 @@ export default {
           executorId: null,
           beginTime: null,
           endTime: null,
+          priority:'4',
           times: []
         }],
         row: null