【update】标签管理全部页面的组件

This commit is contained in:
fengchenchen
2023-08-17 16:25:04 +08:00
parent 478ba66284
commit b26b0ccb2d
21 changed files with 1871 additions and 548 deletions
+62 -62
View File
@@ -235,48 +235,48 @@ export default {
field_show_type: '1',
tree: []
},
// {
// db_field_name: 'state',
// db_field_txt: '状态',
// dict_field: 'state',
// field_show_type: '3',
// tree: []
// },
// {
// db_field_name: 'region',
// db_field_txt: '适用地区',
// dict_field: 'region',
// field_show_type: '4',
// tree: []
// },
// {
// db_field_name: 'technology_territory',
// db_field_txt: '技术领域',
// dict_field: 'technology_territory',
// field_show_type: '0',
// tree: []
// },
// {
// db_field_name: 'issue_time',
// db_field_txt: '发布日期',
// dict_field: '',
// field_show_type: '5',
// tree: []
// },
// {
// db_field_name: 'xin1_che1_xing2_shi2_shi1_ri4_qi1',
// db_field_txt: '新车型实施日期',
// dict_field: '',
// field_show_type: '5',
// tree: []
// },
// {
// db_field_name: 'implement_time',
// db_field_txt: '在产车实施日期',
// dict_field: '',
// field_show_type: '5',
// tree: []
// }
{
db_field_name: 'state',
db_field_txt: '状态',
dict_field: 'state',
field_show_type: '3',
tree: []
},
{
db_field_name: 'region',
db_field_txt: '适用地区',
dict_field: 'region',
field_show_type: '4',
tree: []
},
{
db_field_name: 'technology_territory',
db_field_txt: '技术领域',
dict_field: 'technology_territory',
field_show_type: '0',
tree: []
},
{
db_field_name: 'issue_time',
db_field_txt: '发布日期',
dict_field: '',
field_show_type: '5',
tree: []
},
{
db_field_name: 'xin1_che1_xing2_shi2_shi1_ri4_qi1',
db_field_txt: '新车型实施日期',
dict_field: '',
field_show_type: '5',
tree: []
},
{
db_field_name: 'implement_time',
db_field_txt: '在产车实施日期',
dict_field: '',
field_show_type: '5',
tree: []
}
]
},
methods: {
@@ -292,26 +292,26 @@ export default {
const params = {
flag: this.flag
}
getAction(this.url.getSearchList, params).then((res) => {
if (res.success) {
this.searchList = res.result
// if (this.searchQueryList && this.searchQueryList.length > 0) {
// for (let i = 0; i < this.searchList.length; i++) {
// // 是要去掉这个字段的搜索??
// if (this.searchList[i].db_field_name === 'issue_time') {
// this.searchList.splice(i, 1)
// i--
// }
// // db_field_name 说明可以被代替位置??
// if (this.searchList[i].db_field_name === 'title') {
// const data = this.searchList[i + 1]
// this.searchList[i + 1] = this.searchQueryList[0]
// this.searchList.push(data)
// }
// }
// }
}
})
// getAction(this.url.getSearchList, params).then((res) => {
// if (res.success) {
// this.searchList = res.result
// // if (this.searchQueryList && this.searchQueryList.length > 0) {
// // for (let i = 0; i < this.searchList.length; i++) {
// // // 是要去掉这个字段的搜索??
// // if (this.searchList[i].db_field_name === 'issue_time') {
// // this.searchList.splice(i, 1)
// // i--
// // }
// // // db_field_name 说明可以被代替位置??
// // if (this.searchList[i].db_field_name === 'title') {
// // const data = this.searchList[i + 1]
// // this.searchList[i + 1] = this.searchQueryList[0]
// // this.searchList.push(data)
// // }
// // }
// // }
// }
// })
},
onChange (item) {
if (this.queryParam[item] && this.queryParam[item].length > 0) {