|
@@ -357,7 +357,7 @@ import axios from "@/common/axios.config"; // 引入 axios 配置实例
|
|
|
|
|
|
export default {
|
|
|
mixins: [myMixin],
|
|
|
- props:['schId'],
|
|
|
+ props:['schId','schOrg'],
|
|
|
components: {
|
|
|
addCampusDialog,
|
|
|
},
|
|
@@ -441,7 +441,7 @@ export default {
|
|
|
schId(newValue) {
|
|
|
console.log('newValue',newValue);
|
|
|
|
|
|
- this.getSchFacility(newValue)
|
|
|
+ this.getSchFacility()
|
|
|
},
|
|
|
},
|
|
|
methods: {
|
|
@@ -542,11 +542,11 @@ export default {
|
|
|
} else {
|
|
|
this.CampusF.appList.splice(index, 1);
|
|
|
}
|
|
|
- this.$message.success('删除成功!');
|
|
|
+ // this.$message.success('删除成功!');
|
|
|
})
|
|
|
.catch(() => {
|
|
|
// 用户点击“取消”后执行的操作
|
|
|
- this.$message.error('已取消删除');
|
|
|
+ // this.$message.error('已取消删除');
|
|
|
});
|
|
|
},
|
|
|
getAppData() {
|
|
@@ -646,10 +646,10 @@ export default {
|
|
|
console.log("_form", _form);
|
|
|
let params = [
|
|
|
{
|
|
|
- functionName: "update_orgOroid_json_byId",
|
|
|
- id: this.schId,
|
|
|
+ functionName: "update_orgOroid_json_liyuan",
|
|
|
+ oid: this.schId,
|
|
|
+ orgid: this.schOrg,
|
|
|
ujson: JSON.stringify(_form),
|
|
|
- type: "school",
|
|
|
},
|
|
|
];
|
|
|
axios
|
|
@@ -660,7 +660,7 @@ export default {
|
|
|
this.$message.success("修改权限成功");
|
|
|
// this.$emit("getData");
|
|
|
|
|
|
- this.getSchFacility(this.schId)
|
|
|
+ this.getSchFacility()
|
|
|
// await store.dispatch("user/getschPerInfo");
|
|
|
|
|
|
// await addOp({
|
|
@@ -705,12 +705,12 @@ export default {
|
|
|
);
|
|
|
});
|
|
|
},
|
|
|
- async getSchFacility(val){
|
|
|
+ async getSchFacility(){
|
|
|
this.AllLoading=true
|
|
|
let params = [{
|
|
|
functionName: API_CONFIG.ajax_schoolPermission.functionName, // 调用存储过程的名称
|
|
|
- org: this.userinfo.org, //组织id
|
|
|
- oid: val, //学校id
|
|
|
+ org: this.schOrg, //组织id
|
|
|
+ oid: this.schId, //学校id
|
|
|
}];
|
|
|
|
|
|
console.log('params',params);
|
|
@@ -845,7 +845,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
mounted() {
|
|
|
- this.getSchFacility(this.schId)
|
|
|
+ this.getSchFacility()
|
|
|
|
|
|
// console.log("CampusF", this.CampusF.appList);
|
|
|
},
|