dev01 před 1 rokem
rodič
revize
f42130051d
1 změnil soubory, kde provedl 9 přidání a 2 odebrání
  1. 9 2
      src/views/project/list/index.vue

+ 9 - 2
src/views/project/list/index.vue

@@ -204,7 +204,14 @@
             key="projectStatus"
             prop="projectStatus"
             v-if="columns[6].visible"
-          ></el-table-column>
+          >
+            <template slot-scope="scope">
+              <dict-tag
+                :options="dict.type.sys_project_status"
+                :value="scope.row.projectStatus"
+              />
+            </template>
+          </el-table-column>
           <el-table-column
             label="累积工时"
             align="center"
@@ -473,7 +480,7 @@ import "@riophae/vue-treeselect/dist/vue-treeselect.css";
 
 export default {
   name: "User",
-  dicts: ["sys_normal_disable", "sys_user_sex"],
+  dicts: ["sys_normal_disable", "sys_user_sex", "sys_project_status"],
   components: { Treeselect },
   data() {
     return {