提交 77ca9695 编写于 作者: zhentian.jia's avatar zhentian.jia

角色管理中状态问题

上级 10664695
......@@ -822,6 +822,7 @@ export default {
this.showStorage = true;
}
},
//编辑/更新 基础信息
insertOrUpdate(option) {
//console.log(this.formData);
......@@ -898,6 +899,15 @@ export default {
}
});
},
//查询上次设定范围
operationLast() {
let req = {};
vm.GET("portal/scope/v1/"+this.projectId+"/operation/last", req).then(res => {
if (res.code == "000000") {
console.log(res);
}
});
},
//查询组件证书信息
getComponentInfo() {
let param = {};
......@@ -1094,6 +1104,7 @@ export default {
});
} else {
//编辑
this.operationLast();
this.insertOrUpdate("edit");
}
}
......
......@@ -111,7 +111,7 @@ let treeData = [
];
// 按钮type类型: 0-编辑
// 1-暂存 2-完成 3-上架 4-通过 5-下架 6-拒绝
// 7- 提醒审核 8(5)-取消审核 9-删除
// 7- 提醒审核 8(6)-取消审核 9-删除
let buttonStatusIn = [
//L1 内部管理员 L2项目负责人 L3次级负责人
//草稿
......
......@@ -50,7 +50,7 @@
<el-table-column prop="projectEndtime" label="项目结束时间" align="center"></el-table-column>
<el-table-column prop="projectStatus" label="状态" align="center">
<template slot-scope="scope">
<span>{{ scope.row.projectStatus | statusProject }}</span>
<span>{{ [scope.row.projectStatus , idType] | statusProject }}</span>
</template>
</el-table-column>
<el-table-column fixed="right" label="操作" width="200" align="center">
......@@ -83,6 +83,7 @@
<script>
import BreadCrumb from "../../components/breadcrumb.vue";
import { create } from "domain";
import { mapGetters } from 'vuex'
import { openLoading, closeLoading } from "../../utils/utils";
import * as commonUtil from "../../utils/utils";
let vm = null;
......@@ -128,6 +129,9 @@ export default {
}
};
},
computed: {
...mapGetters(["_token", "idType"])
},
created() {
vm = this;
this.search();
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册