update BaseSearchForm

This commit is contained in:
lb
2023-01-29 16:52:37 +08:00
parent a4698d207d
commit e0d2dc189e
7 changed files with 375 additions and 219 deletions

View File

@@ -24,6 +24,7 @@ export default function () {
const headFormFields = [
{
prop: 'key',
label: "产线名称/编码",
input: true,
default: { value: "" },

View File

@@ -7,28 +7,13 @@ import initConfig from './config';
import ListViewWithHead from '@/views/atomViews/ListViewWithHead.vue';
export default {
name: 'BlenderView',
name: 'ProductionLineView',
components: { ListViewWithHead },
provide() {
return {
urls: this.allUrls
}
}
// urls: {
// type: Object,
// required: true,
// default: () => ({
// /** 列表 url **/ list: null,
// /** 分页 url **/ page: null,
// /** 编辑保存 url **/ edit: null,
// /** 删除条目 url **/ delete: null,
// /** 详情 url **/ detail: null,
// /** 导出 url **/ export: null,
// /** 导入 url **/ import: null,
// /** 其他 url **/ other: null,
// }),
// },
,
},
data() {
const { tableConfig, headFormConfigs, urls, dialogConfigs } = initConfig.call(this);
return {