fix:修改asset 顶部按钮,修改assetModel 上滑,修改module endpoint上滑编辑页面

This commit is contained in:
zhangyu
2021-05-14 17:09:57 +08:00
parent 6d24eb864b
commit e2636bee95
11 changed files with 59 additions and 39 deletions

View File

@@ -52,6 +52,7 @@ import subDataListMixin from '@/components/common/mixin/subDataList'
import nzBottomDataList from '@/components/common/bottomBox/nzBottomDataList'
import assetTable from '@/components/common/table/asset/assetTable'
import assetBox from '@/components/common/rightBox/asset/assetBox'
import {fromRoute} from "@/components/common/js/constants";
export default {
name: 'assetTab',
mixins: [dataListMixin, subDataListMixin],
@@ -193,6 +194,10 @@ export default {
deep: true,
handler (n, o) {
this.searchLabel.dcIds = n.id
if ( this.from === fromRoute.model) {
delete this.searchLabel.dcIds
this.searchLabel.modelIds = n.id
}
this.getTableData()
}
}