|
@@ -36,7 +36,7 @@
|
|
:show-all-levels="false"
|
|
:show-all-levels="false"
|
|
collapse-tags
|
|
collapse-tags
|
|
:props="{
|
|
:props="{
|
|
- emitPath:false,
|
|
|
|
|
|
+ emitPath:true,
|
|
value:'ClassifyId',
|
|
value:'ClassifyId',
|
|
label:'ClassifyName',
|
|
label:'ClassifyName',
|
|
children:'Children',
|
|
children:'Children',
|
|
@@ -51,7 +51,7 @@
|
|
label: 'ItemName',
|
|
label: 'ItemName',
|
|
children: 'Children',
|
|
children: 'Children',
|
|
emitPath: false,
|
|
emitPath: false,
|
|
- multiple:true
|
|
|
|
|
|
+ multiple:true,
|
|
}"
|
|
}"
|
|
collapse-tags
|
|
collapse-tags
|
|
:show-all-levels="false"
|
|
:show-all-levels="false"
|
|
@@ -412,10 +412,12 @@ export default {
|
|
},
|
|
},
|
|
async getTableData(type){
|
|
async getTableData(type){
|
|
const {frequency,user,classify,state,terminalCode,keyWord,sortParam,sortType} = this.selectOption
|
|
const {frequency,user,classify,state,terminalCode,keyWord,sortParam,sortType} = this.selectOption
|
|
|
|
+ const classifyArr = Array.isArray(classify)?classify:[]
|
|
|
|
+ const classifyId = [...new Set(classifyArr.join(',').split(','))]
|
|
const res = await dataRefreshInterface.getEdbTableList({
|
|
const res = await dataRefreshInterface.getEdbTableList({
|
|
Source:Number(this.Source),
|
|
Source:Number(this.Source),
|
|
SubSource:Number(this.SubSource),
|
|
SubSource:Number(this.SubSource),
|
|
- ClassifyId:Array.isArray(classify)?classify.join(','):classify,
|
|
|
|
|
|
+ ClassifyId:classifyId.join(','),
|
|
TerminalCode:terminalCode,
|
|
TerminalCode:terminalCode,
|
|
SysUserId:Array.isArray(user)?user.join(','):user,
|
|
SysUserId:Array.isArray(user)?user.join(','):user,
|
|
Frequency:Array.isArray(frequency)?frequency.join(','):frequency,
|
|
Frequency:Array.isArray(frequency)?frequency.join(','):frequency,
|
|
@@ -574,10 +576,12 @@ export default {
|
|
},
|
|
},
|
|
setRefreshTime(list){
|
|
setRefreshTime(list){
|
|
const {frequency,user,classify,state,terminalCode,keyWord} = this.selectOption
|
|
const {frequency,user,classify,state,terminalCode,keyWord} = this.selectOption
|
|
|
|
+ const classifyArr = Array.isArray(classify)?classify:[]
|
|
|
|
+ const classifyId = [...new Set(classifyArr.join(',').split(','))]
|
|
dataRefreshInterface.setRefreshTime({
|
|
dataRefreshInterface.setRefreshTime({
|
|
Source:Number(this.Source),
|
|
Source:Number(this.Source),
|
|
SubSource:Number(this.SubSource),
|
|
SubSource:Number(this.SubSource),
|
|
- ClassifyId:Array.isArray(classify)?classify.join(','):classify,
|
|
|
|
|
|
+ ClassifyId:classifyId.join(','),
|
|
TerminalCode:terminalCode,
|
|
TerminalCode:terminalCode,
|
|
SysUserId:Array.isArray(user)?user.join(','):user,
|
|
SysUserId:Array.isArray(user)?user.join(','):user,
|
|
Frequency:Array.isArray(frequency)?frequency.join(','):frequency,
|
|
Frequency:Array.isArray(frequency)?frequency.join(','):frequency,
|
|
@@ -607,10 +611,12 @@ export default {
|
|
},
|
|
},
|
|
setRefreshStatus(){
|
|
setRefreshStatus(){
|
|
const {frequency,user,classify,state,terminalCode,keyWord} = this.selectOption
|
|
const {frequency,user,classify,state,terminalCode,keyWord} = this.selectOption
|
|
|
|
+ const classifyArr = Array.isArray(classify)?classify:[]
|
|
|
|
+ const classifyId = [...new Set(classifyArr.join(',').split(','))]
|
|
dataRefreshInterface.setRefreshStatus({
|
|
dataRefreshInterface.setRefreshStatus({
|
|
Source:Number(this.Source),
|
|
Source:Number(this.Source),
|
|
SubSource:Number(this.SubSource),
|
|
SubSource:Number(this.SubSource),
|
|
- ClassifyId:Array.isArray(classify)?classify.join(','):classify,
|
|
|
|
|
|
+ ClassifyId:classifyId.join(','),
|
|
TerminalCode:terminalCode,
|
|
TerminalCode:terminalCode,
|
|
SysUserId:Array.isArray(user)?user.join(','):user,
|
|
SysUserId:Array.isArray(user)?user.join(','):user,
|
|
Frequency:Array.isArray(frequency)?frequency.join(','):frequency,
|
|
Frequency:Array.isArray(frequency)?frequency.join(','):frequency,
|