Commit 137760ce authored by co_dengxiongwen's avatar co_dengxiongwen

页面调整

parent 21c82abe
......@@ -174,6 +174,15 @@ export default {
getDataList(page, size) {
console.log('类型id', this.activeTab)
console.log('formData:', this.formData)
let list = []
if (this.activeTab === '1') {
this.electroTabList.forEach((element) => {
if (element.value !== '1') {
list.push(element.value)
}
})
}
this.$http({
url: this.$http.adornUrl('/liResource/list'),
method: 'post',
......@@ -181,7 +190,8 @@ export default {
name: this.formData.name,
code: this.formData.code,
status: this.formData.status,
type: this.activeTab, //资源点类型
type: this.activeTab === '1' ? '' : this.activeTab, //资源点类型
list: list,
page: page || this.pageIndex,
size: size || this.pageSize
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment