姜旭之
1 year ago
50 changed files with 1906 additions and 1205 deletions
@ -1,43 +1,5 @@ |
|||||
import html from "html"; |
import html from "html"; |
||||
import AppList from "../../../components/list/index.js"; |
|
||||
|
|
||||
export default { |
export default { |
||||
components: { AppList }, |
template: html`<a href="../assets/导入模版.zip" target="blank">导入模板下载</a>`, |
||||
template: html`</app-list :config="config" @command="onCommand"></app-list>
|
|
||||
<el-table :data="tableData" border style="width: 100%"> |
|
||||
<el-table-column prop="date" label="custoner/type" width="180" /> |
|
||||
<el-table-column prop="name" label="BBAC" width="180" /> |
|
||||
<el-table-column prop="address" label="HBPO" width="180" /> |
|
||||
</el-table> |
|
||||
`,
|
|
||||
setup() { |
|
||||
const tableData = [ |
|
||||
{ |
|
||||
date: "JIS", |
|
||||
name: "√", |
|
||||
address: "√", |
|
||||
}, |
|
||||
{ |
|
||||
date: "直供件", |
|
||||
name: "√", |
|
||||
address: "√", |
|
||||
}, |
|
||||
{ |
|
||||
date: "印度件", |
|
||||
name: "√", |
|
||||
address: "", |
|
||||
}, |
|
||||
{ |
|
||||
date: "备件", |
|
||||
name: "√", |
|
||||
address: "", |
|
||||
}, |
|
||||
{ |
|
||||
date: "买单件", |
|
||||
name: "对比√ 开票×", |
|
||||
address: "√", |
|
||||
}, |
|
||||
]; |
|
||||
return { tableData }; |
|
||||
}, |
|
||||
}; |
}; |
||||
|
@ -1,6 +1,6 @@ |
|||||
import AppList from "../../../components/list/index.js"; |
import AppList from "../../../../components/list/index.js"; |
||||
import html from "html"; |
import html from "html"; |
||||
import useConfig from "../../../models/job-service.js"; |
import useConfig from "../../../../models/job-service.js"; |
||||
import { ref, onMounted, onUnmounted } from "vue"; |
import { ref, onMounted, onUnmounted } from "vue"; |
||||
|
|
||||
export default { |
export default { |
@ -1,6 +1,6 @@ |
|||||
import AppList from "../../../components/list/index.js"; |
import AppList from "../../../../components/list/index.js"; |
||||
import html from "html"; |
import html from "html"; |
||||
import useConfig from "../../../models/pub_sa_detail_service.js"; |
import useConfig from "../../../../models/pub_sa_detail_service.js"; |
||||
|
|
||||
export default { |
export default { |
||||
components: { AppList }, |
components: { AppList }, |
@ -1,6 +1,6 @@ |
|||||
import AppList from "../../../components/list/index.js"; |
import AppList from "../../../../components/list/index.js"; |
||||
import html from "html"; |
import html from "html"; |
||||
import useConfig from "../../../models/pub_sa_service.js"; |
import useConfig from "../../../../models/pub_sa_service.js"; |
||||
|
|
||||
export default { |
export default { |
||||
components: { AppList }, |
components: { AppList }, |
@ -1,6 +1,6 @@ |
|||||
import AppList from "../../../components/list/index.js"; |
import AppList from "../../../../components/list/index.js"; |
||||
import html from "html"; |
import html from "html"; |
||||
import useConfig from "../../../models/pub_se_detail_service.js"; |
import useConfig from "../../../../models/pub_se_detail_service.js"; |
||||
|
|
||||
export default { |
export default { |
||||
components: { AppList }, |
components: { AppList }, |
@ -1,6 +1,6 @@ |
|||||
import AppList from "../../../components/list/index.js"; |
import AppList from "../../../../components/list/index.js"; |
||||
import html from "html"; |
import html from "html"; |
||||
import useConfig from "../../../models/pub_can_sa_detail_service.js"; |
import useConfig from "../../../../models/pub_ba_detail_service.js"; |
||||
|
|
||||
export default { |
export default { |
||||
components: { AppList }, |
components: { AppList }, |
@ -1,6 +1,6 @@ |
|||||
import AppList from "../../../components/list/index.js"; |
import AppList from "../../../../components/list/index.js"; |
||||
import html from "html"; |
import html from "html"; |
||||
import useConfig from "../../../models/pub_not_sa_service.js"; |
import useConfig from "../../../../models/pub_ba_service.js"; |
||||
|
|
||||
export default { |
export default { |
||||
components: { AppList }, |
components: { AppList }, |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../../models/pub_can_sa_detail_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../../models/pub_can_sa_detail_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -1,6 +1,6 @@ |
|||||
import AppList from "../../../components/list/index.js"; |
import AppList from "../../../../components/list/index.js"; |
||||
import html from "html"; |
import html from "html"; |
||||
import useConfig from "../../../models/pub_pd_detail_service.js"; |
import useConfig from "../../../../models/pub_not_sa_service.js"; |
||||
|
|
||||
export default { |
export default { |
||||
components: { AppList }, |
components: { AppList }, |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../../models/pub_pd_detail_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -1,6 +1,6 @@ |
|||||
import AppList from "../../../components/list/index.js"; |
import AppList from "../../../../components/list/index.js"; |
||||
import html from "html"; |
import html from "html"; |
||||
import useConfig from "../../../models/pub_ba_detail_service"; |
import useConfig from "../../../../models/pub_pd_service.js"; |
||||
|
|
||||
export default { |
export default { |
||||
components: { AppList }, |
components: { AppList }, |
@ -1,6 +1,6 @@ |
|||||
import AppList from "../../../components/list/index.js"; |
import AppList from "../../../../components/list/index.js"; |
||||
import html from "html"; |
import html from "html"; |
||||
import useConfig from "../../../models/job-service.js"; |
import useConfig from "../../../../models/job-service.js"; |
||||
import { ref, onMounted, onUnmounted } from "vue"; |
import { ref, onMounted, onUnmounted } from "vue"; |
||||
|
|
||||
export default { |
export default { |
@ -1,6 +1,6 @@ |
|||||
import AppList from "../../../components/list/index.js"; |
import AppList from "../../../../components/list/index.js"; |
||||
import html from "html"; |
import html from "html"; |
||||
import useConfig from "../../../models/pub_sa_detail_service.js"; |
import useConfig from "../../../../models/pub_sa_detail_service.js"; |
||||
|
|
||||
export default { |
export default { |
||||
components: { AppList }, |
components: { AppList }, |
@ -1,6 +1,6 @@ |
|||||
import AppList from "../../../components/list/index.js"; |
import AppList from "../../../../components/list/index.js"; |
||||
import html from "html"; |
import html from "html"; |
||||
import useConfig from "../../../models/pub_sa_service.js"; |
import useConfig from "../../../../models/pub_sa_detail_service.js"; |
||||
|
|
||||
export default { |
export default { |
||||
components: { AppList }, |
components: { AppList }, |
@ -1,6 +1,6 @@ |
|||||
import AppList from "../../../components/list/index.js"; |
import AppList from "../../../../components/list/index.js"; |
||||
import html from "html"; |
import html from "html"; |
||||
import useConfig from "../../../models/pub_se_detail_service.js"; |
import useConfig from "../../../../models/pub_se_detail_service.js"; |
||||
|
|
||||
export default { |
export default { |
||||
components: { AppList }, |
components: { AppList }, |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../../models/pub_ba_detail_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../../models/pub_ba_detail_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../../models/pub_can_sa_detail_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../../models/pub_can_sa_detail_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -1,6 +1,6 @@ |
|||||
import AppList from "../../../components/list/index.js"; |
import AppList from "../../../../components/list/index.js"; |
||||
import html from "html"; |
import html from "html"; |
||||
import useConfig from "../../../models/pub_pd_detail_service.js"; |
import useConfig from "../../../../models/pub_not_sa_service.js"; |
||||
|
|
||||
export default { |
export default { |
||||
components: { AppList }, |
components: { AppList }, |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../../models/pub_pd_detail_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -1,6 +1,6 @@ |
|||||
import AppList from "../../../components/list/index.js"; |
import AppList from "../../../../components/list/index.js"; |
||||
import html from "html"; |
import html from "html"; |
||||
import useConfig from "../../../models/pub_ba_service.js"; |
import useConfig from "../../../../models/pub_pd_service.js"; |
||||
|
|
||||
export default { |
export default { |
||||
components: { AppList }, |
components: { AppList }, |
@ -1,15 +0,0 @@ |
|||||
import AppList from "../../../components/list/index.js"; |
|
||||
import html from "html"; |
|
||||
import useConfig from "../../../models/pub_pd_service.js"; |
|
||||
|
|
||||
export default { |
|
||||
components: { AppList }, |
|
||||
template: html`<app-list :config="config" @command="onCommand" />`, |
|
||||
setup() { |
|
||||
const config = useConfig(); |
|
||||
const onCommand = async (item, rows) => { |
|
||||
console.log(item.path, item, rows); |
|
||||
}; |
|
||||
return { config, onCommand }; |
|
||||
}, |
|
||||
}; |
|
@ -0,0 +1,24 @@ |
|||||
|
import AppList from "../../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../../models/job-service.js"; |
||||
|
import { ref, onMounted, onUnmounted } from "vue"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list ref="appListRef" :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
config.query.schema.title = "发运与结算"; |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
config.query.schema.properties.businessType.default = "MaiDanJianBBAC"; |
||||
|
config.query.schema.properties.name.default = "买单件BBAC结算与发运数据对比"; |
||||
|
const appListRef = ref(null); |
||||
|
onMounted(() => |
||||
|
PubSub.subscribe(config.query.schema.properties.name.default, async () => await appListRef.value.load()) |
||||
|
); |
||||
|
onUnmounted(() => PubSub.unsubscribe(config.query.schema.properties.businessType.default)); |
||||
|
return { config, onCommand, appListRef }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,16 @@ |
|||||
|
import AppList from "../../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../../models/pub_sa_detail_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
config.query.schema.properties.businessType.default = "MaiDanJianBBAC"; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,16 @@ |
|||||
|
import AppList from "../../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../../models/pub_sa_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
config.query.schema.properties.businessType.default = "MaiDanJianBBAC"; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,16 @@ |
|||||
|
import AppList from "../../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../../models/pub_se_detail_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
config.query.schema.properties.businessType.default = "MaiDanJianBBAC"; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -1,6 +1,6 @@ |
|||||
import AppList from "../../../components/list/index.js"; |
import AppList from "../../../../components/list/index.js"; |
||||
import html from "html"; |
import html from "html"; |
||||
import useConfig from "../../../models/pub_sa_detail_service.js"; |
import useConfig from "../../../../models/pub_sa_detail_service.js"; |
||||
|
|
||||
export default { |
export default { |
||||
components: { AppList }, |
components: { AppList }, |
@ -1,6 +1,6 @@ |
|||||
import AppList from "../../../components/list/index.js"; |
import AppList from "../../../../components/list/index.js"; |
||||
import html from "html"; |
import html from "html"; |
||||
import useConfig from "../../../models/pub_sa_service.js"; |
import useConfig from "../../../../models/pub_sa_service.js"; |
||||
|
|
||||
export default { |
export default { |
||||
components: { AppList }, |
components: { AppList }, |
@ -1,6 +1,6 @@ |
|||||
import AppList from "../../../components/list/index.js"; |
import AppList from "../../../../components/list/index.js"; |
||||
import html from "html"; |
import html from "html"; |
||||
import useConfig from "../../../models/pub_se_detail_service.js"; |
import useConfig from "../../../../models/pub_se_detail_service.js"; |
||||
|
|
||||
export default { |
export default { |
||||
components: { AppList }, |
components: { AppList }, |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../../models/pub_ba_detail_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -1,6 +1,6 @@ |
|||||
import AppList from "../../../components/list/index.js"; |
import AppList from "../../../../components/list/index.js"; |
||||
import html from "html"; |
import html from "html"; |
||||
import useConfig from "../../../models/pub_can_sa_service.js"; |
import useConfig from "../../../../models/pub_ba_service.js"; |
||||
|
|
||||
export default { |
export default { |
||||
components: { AppList }, |
components: { AppList }, |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../../models/pub_can_sa_detail_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../../models/pub_can_sa_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../../models/pub_not_sa_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../../models/pub_pd_detail_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../../models/pub_pd_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -1,15 +0,0 @@ |
|||||
import AppList from "../../../components/list/index.js"; |
|
||||
import html from "html"; |
|
||||
import useConfig from "../../../models/pub_ba_detail_service"; |
|
||||
|
|
||||
export default { |
|
||||
components: { AppList }, |
|
||||
template: html`<app-list :config="config" @command="onCommand" />`, |
|
||||
setup() { |
|
||||
const config = useConfig(); |
|
||||
const onCommand = async (item, rows) => { |
|
||||
console.log(item.path, item, rows); |
|
||||
}; |
|
||||
return { config, onCommand }; |
|
||||
}, |
|
||||
}; |
|
@ -1,15 +0,0 @@ |
|||||
import AppList from "../../../components/list/index.js"; |
|
||||
import html from "html"; |
|
||||
import useConfig from "../../../models/pub_ba_service.js"; |
|
||||
|
|
||||
export default { |
|
||||
components: { AppList }, |
|
||||
template: html`<app-list :config="config" @command="onCommand" />`, |
|
||||
setup() { |
|
||||
const config = useConfig(); |
|
||||
const onCommand = async (item, rows) => { |
|
||||
console.log(item.path, item, rows); |
|
||||
}; |
|
||||
return { config, onCommand }; |
|
||||
}, |
|
||||
}; |
|
@ -1,15 +0,0 @@ |
|||||
import AppList from "../../../components/list/index.js"; |
|
||||
import html from "html"; |
|
||||
import useConfig from "../../../models/pub_can_sa_detail_service.js"; |
|
||||
|
|
||||
export default { |
|
||||
components: { AppList }, |
|
||||
template: html`<app-list :config="config" @command="onCommand" />`, |
|
||||
setup() { |
|
||||
const config = useConfig(); |
|
||||
const onCommand = async (item, rows) => { |
|
||||
console.log(item.path, item, rows); |
|
||||
}; |
|
||||
return { config, onCommand }; |
|
||||
}, |
|
||||
}; |
|
@ -1,15 +0,0 @@ |
|||||
import AppList from "../../../components/list/index.js"; |
|
||||
import html from "html"; |
|
||||
import useConfig from "../../../models/pub_can_sa_service.js"; |
|
||||
|
|
||||
export default { |
|
||||
components: { AppList }, |
|
||||
template: html`<app-list :config="config" @command="onCommand" />`, |
|
||||
setup() { |
|
||||
const config = useConfig(); |
|
||||
const onCommand = async (item, rows) => { |
|
||||
console.log(item.path, item, rows); |
|
||||
}; |
|
||||
return { config, onCommand }; |
|
||||
}, |
|
||||
}; |
|
@ -1,15 +0,0 @@ |
|||||
import AppList from "../../../components/list/index.js"; |
|
||||
import html from "html"; |
|
||||
import useConfig from "../../../models/pub_not_sa_service.js"; |
|
||||
|
|
||||
export default { |
|
||||
components: { AppList }, |
|
||||
template: html`<app-list :config="config" @command="onCommand" />`, |
|
||||
setup() { |
|
||||
const config = useConfig(); |
|
||||
const onCommand = async (item, rows) => { |
|
||||
console.log(item.path, item, rows); |
|
||||
}; |
|
||||
return { config, onCommand }; |
|
||||
}, |
|
||||
}; |
|
@ -1,15 +0,0 @@ |
|||||
import AppList from "../../../components/list/index.js"; |
|
||||
import html from "html"; |
|
||||
import useConfig from "../../../models/pub_pd_service.js"; |
|
||||
|
|
||||
export default { |
|
||||
components: { AppList }, |
|
||||
template: html`<app-list :config="config" @command="onCommand" />`, |
|
||||
setup() { |
|
||||
const config = useConfig(); |
|
||||
const onCommand = async (item, rows) => { |
|
||||
console.log(item.path, item, rows); |
|
||||
}; |
|
||||
return { config, onCommand }; |
|
||||
}, |
|
||||
}; |
|
Loading…
Reference in new issue