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

角色管理中状态问题

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