删除部门回显处理:1.流程列表详情2.周期任务详情3.系统运维新增

main
xuechunyuan 3 years ago
parent 23300a9e9d
commit 7f06a938e1
  1. 1
      src/const/maintenance/basics.js
  2. 2
      src/permission.js
  3. 14
      src/views/maintenance/system.vue
  4. 3
      src/views/plugin/workflow/process/components/detail.vue

@ -148,6 +148,7 @@ export const tableOption = {
label: website.adminDept,
prop: "deptName",
align: "left",
span: 8,
overHidden: true,
addDisplay: false,
editDisplay: false,

@ -27,7 +27,7 @@ router.beforeEach((to, from, next) => {
next({ path: '/newlogin' })
})
} else {
console.log('登录重新刷新======',to,from)
// console.log('登录重新刷新======',to,from)
const value = to.query.src || to.fullPath;
const label = to.query.name || to.name;
const meta = to.meta || router.$avueRouter.meta || {};

@ -327,6 +327,7 @@ export default {
dataBaseIp,
dataBasePort,
deptId,
deptName,
systemName,
type
} = tmp
@ -353,6 +354,19 @@ export default {
this.form.company = company;
this.form.companyName = companyName;
}
//
const _idx2 = this.findObject(this.option.column,"deptId").dicData.findIndex(item => item.id == deptId);
console.log('_idx2',_idx2,this.findObject(this.option.column,"deptId").dicData,deptId,deptName)
if(_idx2 > -1){
this.findObject(this.option.column,"deptId").display = true;
this.findObject(this.option.column,"deptName").addDisplay = false;
}
else{
this.findObject(this.option.column,"deptId").display = false;
this.findObject(this.option.column,"deptName").addDisplay = true;
this.findObject(this.option.column,"deptName").disabled = true;
this.form.deptName = deptName;
}
this.form.dataBaseIp = dataBaseIp;
this.form.dataBasePort = dataBasePort;
this.form.deptId = deptId;

@ -572,7 +572,8 @@ export default {
const deptDate = await getDepts({ id: yunweigongsi });
const guanlibumen = this.findObject(option.column, "guanlibumen");
guanlibumen.dicData = deptDate.data.data;
//-
variables.guanlibumen = variables.$guanlibumen;
//

Loading…
Cancel
Save