|
|
@@ -436,7 +436,7 @@ import DialogEdit from "./dialog.edit";
|
|
|
import DialogDetail from "./dialog.detail";
|
|
|
import * as api from "@/api/safetycheck/plan";
|
|
|
import { statusOptions, getLabel } from "@/views/commonOption";
|
|
|
-import { listRole } from "@/api/system/role";
|
|
|
+import { allRole } from "@/api/system/role";
|
|
|
import DialogThreeState from "@/components/message/threeStateMessageBox.vue";
|
|
|
export default {
|
|
|
name: "resumptionplan",
|
|
|
@@ -765,12 +765,9 @@ export default {
|
|
|
// this.$refs.dialogDistribute.show(row);
|
|
|
// },
|
|
|
getRolesByOrg() {
|
|
|
- let params = {
|
|
|
- // orgId:this.queryParams.orgId
|
|
|
- };
|
|
|
- listRole(params).then((res) => {
|
|
|
+ allRole().then((res) => {
|
|
|
// console.info(res);
|
|
|
- this.resumptionRoles = res.rows;
|
|
|
+ this.resumptionRoles = res.data;
|
|
|
});
|
|
|
},
|
|
|
getList() {
|