dev01 1 年間 前
コミット
f42130051d
共有1 個のファイルを変更した9 個の追加2 個の削除を含む
  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 {