|
@ -8,7 +8,6 @@ |
|
|
<TableHead |
|
|
<TableHead |
|
|
:HeadButttondata="HeadButttondata" |
|
|
:HeadButttondata="HeadButttondata" |
|
|
@button-base-click="buttonBaseClick" |
|
|
@button-base-click="buttonBaseClick" |
|
|
:tableColumns="tableColumns" |
|
|
|
|
|
:routeName="routeName" |
|
|
:routeName="routeName" |
|
|
@updataTableColumns="updataTableColumns" |
|
|
@updataTableColumns="updataTableColumns" |
|
|
/> |
|
|
/> |
|
@ -76,9 +75,7 @@ const { t } = useI18n() // 国际化 |
|
|
const route = useRoute() // 路由信息 |
|
|
const route = useRoute() // 路由信息 |
|
|
const routeName = ref() |
|
|
const routeName = ref() |
|
|
routeName.value = route.name |
|
|
routeName.value = route.name |
|
|
const tableColumns = ref() |
|
|
const tableColumns = ref(Itempackaging.allSchemas.tableColumns) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 字段设置 更新主列表字段 |
|
|
// 字段设置 更新主列表字段 |
|
|
const updataTableColumns = (val) => { |
|
|
const updataTableColumns = (val) => { |
|
@ -218,12 +215,6 @@ const importSuccess = () => { |
|
|
|
|
|
|
|
|
/** 初始化 **/ |
|
|
/** 初始化 **/ |
|
|
onMounted(async () => { |
|
|
onMounted(async () => { |
|
|
console.log('222222222222222222222') |
|
|
|
|
|
nextTick(() => { |
|
|
|
|
|
tableColumns.value = Itempackaging.allSchemas.tableColumns |
|
|
|
|
|
}) |
|
|
|
|
|
// console.log('111111111111111111111111111', tableColumns.value) |
|
|
|
|
|
// console.log('1111111111111111111111111112222222222', Itempackaging.allSchemas.tableColumns) |
|
|
|
|
|
getList() |
|
|
getList() |
|
|
importTemplateData.templateUrl = await ItempackagingApi.importTemplate() |
|
|
importTemplateData.templateUrl = await ItempackagingApi.importTemplate() |
|
|
}) |
|
|
}) |
|
|