更新
This commit is contained in:
@@ -237,13 +237,10 @@ export default {
|
||||
activeName: 'his',
|
||||
tableProps,
|
||||
tableProps2,
|
||||
tableBtn: [
|
||||
this.$auth.hasPermi(`monitoring:cost-energy-his:update`)
|
||||
? {
|
||||
tableBtn: [{
|
||||
type: 'edit',
|
||||
btnName: '编辑',
|
||||
}
|
||||
: undefined,
|
||||
].filter((v) => v),
|
||||
tableData: [],
|
||||
tableData2: [],
|
||||
|
||||
@@ -234,13 +234,10 @@ export default {
|
||||
activeName: 'his',
|
||||
tableProps,
|
||||
tableProps2,
|
||||
tableBtn: [
|
||||
this.$auth.hasPermi(`monitoring:cost-material-his:update`)
|
||||
? {
|
||||
tableBtn: [{
|
||||
type: 'edit',
|
||||
btnName: '编辑',
|
||||
}
|
||||
: undefined,
|
||||
].filter((v) => v),
|
||||
tableData: [],
|
||||
tableData2: [],
|
||||
|
||||
@@ -144,13 +144,10 @@ export default {
|
||||
statisticType: 1,
|
||||
},
|
||||
tableProps,
|
||||
tableBtn: [
|
||||
this.$auth.hasPermi(`monitoring:cost-origin-ratio-his:update`)
|
||||
? {
|
||||
tableBtn: [{
|
||||
type: 'edit',
|
||||
btnName: '编辑',
|
||||
}
|
||||
: undefined,
|
||||
].filter((v) => v),
|
||||
tableData: [],
|
||||
};
|
||||
|
||||
@@ -212,13 +212,10 @@ export default {
|
||||
activeName: 'his',
|
||||
tableProps,
|
||||
tableProps2,
|
||||
tableBtn: [
|
||||
this.$auth.hasPermi(`monitoring:cost-othercost-his:update`)
|
||||
? {
|
||||
tableBtn: [{
|
||||
type: 'edit',
|
||||
btnName: '编辑',
|
||||
}
|
||||
: undefined,
|
||||
].filter((v) => v),
|
||||
tableData: [],
|
||||
tableData2: [],
|
||||
|
||||
@@ -82,19 +82,13 @@ export default {
|
||||
exportURL: exportRawOthercostLogExcel,
|
||||
},
|
||||
tableProps,
|
||||
tableBtn: [
|
||||
this.$auth.hasPermi(`monitoring:cost-othercost-log:update`)
|
||||
? {
|
||||
tableBtn: [{
|
||||
type: 'edit',
|
||||
btnName: '编辑',
|
||||
}
|
||||
: undefined,
|
||||
this.$auth.hasPermi(`monitoring:cost-othercost-log:delete`)
|
||||
? {
|
||||
},{
|
||||
type: 'delete',
|
||||
btnName: '删除',
|
||||
}
|
||||
: undefined,
|
||||
].filter((v) => v),
|
||||
tableData: [],
|
||||
formConfig: [
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* @Author: zwq
|
||||
* @Date: 2024-04-15 16:52:38
|
||||
* @LastEditors: zwq
|
||||
* @LastEditTime: 2024-04-17 17:01:26
|
||||
* @LastEditTime: 2024-09-11 15:31:12
|
||||
* @Description:
|
||||
-->
|
||||
<template>
|
||||
@@ -77,13 +77,10 @@ export default {
|
||||
getDataListURL: getRawOthercostRulePage,
|
||||
},
|
||||
tableProps,
|
||||
tableBtn: [
|
||||
this.$auth.hasPermi(`monitoring:cost-othercost-rule:update`)
|
||||
? {
|
||||
tableBtn: [{
|
||||
type: 'edit',
|
||||
btnName: '编辑',
|
||||
}
|
||||
: undefined,
|
||||
].filter((v) => v),
|
||||
tableData: [],
|
||||
};
|
||||
|
||||
@@ -261,13 +261,10 @@ export default {
|
||||
activeName: 'his',
|
||||
tableProps,
|
||||
tableProps2,
|
||||
tableBtn: [
|
||||
this.$auth.hasPermi(`monitoring:cost-material-his:update`)
|
||||
? {
|
||||
tableBtn: [{
|
||||
type: 'edit',
|
||||
btnName: '编辑',
|
||||
}
|
||||
: undefined,
|
||||
].filter((v) => v),
|
||||
tableData: [],
|
||||
tableData2: [],
|
||||
|
||||
Reference in New Issue
Block a user