|
@@ -293,7 +293,7 @@ import {
|
|
|
channelUpdateOne,
|
|
channelUpdateOne,
|
|
|
appList,
|
|
appList,
|
|
|
saveOrUpdate,
|
|
saveOrUpdate,
|
|
|
- delApp, channelList, getSecondaryCategories, getPrimaryCategories, relativeChannel
|
|
|
|
|
|
|
+ delApp, channelList, getSecondaryCategories, getPrimaryCategories, relativeChannel, relativeChannelList
|
|
|
} from "@/api/formworkErection.js";
|
|
} from "@/api/formworkErection.js";
|
|
|
import { attachFile, attachImage } from '@/api/common.js'
|
|
import { attachFile, attachImage } from '@/api/common.js'
|
|
|
import From from "@/components/from/index.vue";
|
|
import From from "@/components/from/index.vue";
|
|
@@ -343,7 +343,6 @@ const dynamicFormItems = ref([]);
|
|
|
onBeforeMount(() => {
|
|
onBeforeMount(() => {
|
|
|
settingData();
|
|
settingData();
|
|
|
getList();
|
|
getList();
|
|
|
- getChannelList();
|
|
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
@@ -401,21 +400,6 @@ const changeTableData = () => {
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
-const getChanelData = () => {
|
|
|
|
|
- channelSearch.value.pageNum = channelPage.pageNum;
|
|
|
|
|
- channelSearch.value.pageSize = channelPage.pageSize;
|
|
|
|
|
- channelSearch.value.limit = channelPage.limit;
|
|
|
|
|
- // 分页切换
|
|
|
|
|
- getChannelList();
|
|
|
|
|
-};
|
|
|
|
|
-
|
|
|
|
|
-// 分页数据
|
|
|
|
|
-const getChannelList = async () => {
|
|
|
|
|
- let res = await channelList({ ...channelSearch.value });
|
|
|
|
|
- channelData.value = res.data;
|
|
|
|
|
- channelPage.total = res.pageMeta.total;
|
|
|
|
|
-};
|
|
|
|
|
-
|
|
|
|
|
|
|
|
|
|
// 搜索
|
|
// 搜索
|
|
|
const handleFormSubmitted = (formData) => {
|
|
const handleFormSubmitted = (formData) => {
|
|
@@ -537,9 +521,11 @@ const edit = (row) => {
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
const channelAppId = ref('')
|
|
const channelAppId = ref('')
|
|
|
-const openChannelLayer = (row) => {
|
|
|
|
|
|
|
+const openChannelLayer = async (row) => {
|
|
|
if (row) {
|
|
if (row) {
|
|
|
channelAppId.value = row.appId
|
|
channelAppId.value = row.appId
|
|
|
|
|
+ let res =await relativeChannelList({appId: row.appId})
|
|
|
|
|
+ channelData.value = res.data;
|
|
|
channelLayer.value.show = true;
|
|
channelLayer.value.show = true;
|
|
|
}
|
|
}
|
|
|
|
|
|