法规符合性看板高级搜索

This commit is contained in:
zyx.net
2022-07-18 15:53:44 +08:00
parent 792a21ffaf
commit a4ffe63129
2 changed files with 23 additions and 149 deletions
+14 -32
View File
@@ -148,38 +148,7 @@ export default {
{ required: true, message: this.$t('PleaseEnter') + this.$t('templateName'), trigger: 'change' }
]
},
fieldList: [
{
type: 'string',
value: 'serialNumber',
text: this.$t('standard')
},
{
type: 'string',
value: 'title',
text: this.$t('title')
},
{
type: '',
value: ' state',
text: this.$t('status'),
dictCode: 'state'//只要 dictCode 有值,无论 type 是什么,都显示为字典下拉框
},
// {
// type: 'string',
// value: 'technologyTerritory',
// text: this.$t('category')
// },
{
type: 'tree',
value: 'technologyTerritory',
text: this.$t('technicalField'),
tree:this.CategoryTreeList
// value: 'technologyTerritory',
// text: this.$t('technicalField'),
// dictCode: 'implement_type'//只要 dictCode 有值,无论 type 是什么,都显示为字典下拉框
},
],
fieldList: [],
visible: false,
dataSource: [],
confirmLoading: false,
@@ -235,8 +204,21 @@ export default {
mounted() {
this.getList()
this.getSysCategoryTree()
this.queryConditionInventory()
},
methods: {
queryConditionInventory() {
let query = {
flag: 1
}
getAction('/project/projectLawsInventoryEO/queryConditionInventory', query).then((res) => {
if (res.success) {
this.fieldList = res.result || []
} else {
this.fieldList = []
}
})
},
handleCancel() {
this.areaVisible = false
},