|
@@ -617,10 +617,61 @@ export const createCrudOptions = function ({ crudExpose }: CreateCrudOptionsProp
|
|
|
// rules: [{ required: true, message: '请输入设备购入价格' }],
|
|
|
// },
|
|
|
// },
|
|
|
- // ...commonCrudConfig({
|
|
|
- // create_datetime: { search: false },
|
|
|
- // update_datetime: { search: false },
|
|
|
- // }),
|
|
|
+ jieyong: {
|
|
|
+ title: '借用',
|
|
|
+ search: { show: false },
|
|
|
+ type: 'input',
|
|
|
+ column: { minWidth: 120 },
|
|
|
+ form: {
|
|
|
+ component: { placeholder: '请输入借用' }
|
|
|
+ },
|
|
|
+ viewForm:{
|
|
|
+ component: { placeholder: '' },
|
|
|
+ rules: [{ required: true, message: '' }],
|
|
|
+ }
|
|
|
+ },
|
|
|
+ weixiu: {
|
|
|
+ title: '维修',
|
|
|
+ search: { show: false },
|
|
|
+ type: 'input',
|
|
|
+ column: { minWidth: 120 },
|
|
|
+ form: {
|
|
|
+ component: { placeholder: '请输入维修' }
|
|
|
+ },
|
|
|
+ viewForm:{
|
|
|
+ component: { placeholder: '' },
|
|
|
+ rules: [{ required: true, message: '' }],
|
|
|
+ }
|
|
|
+ },
|
|
|
+ baoyang: {
|
|
|
+ title: '保养',
|
|
|
+ search: { show: false },
|
|
|
+ type: 'input',
|
|
|
+ column: { minWidth: 120 },
|
|
|
+ form: {
|
|
|
+ component: { placeholder: '请输入保养' }
|
|
|
+ },
|
|
|
+ viewForm:{
|
|
|
+ component: { placeholder: '' },
|
|
|
+ rules: [{ required: true, message: '' }],
|
|
|
+ }
|
|
|
+ },
|
|
|
+ tongji: {
|
|
|
+ title: '统计',
|
|
|
+ search: { show: false },
|
|
|
+ type: 'input',
|
|
|
+ column: { minWidth: 120 },
|
|
|
+ form: {
|
|
|
+ component: { placeholder: '请输入统计' }
|
|
|
+ },
|
|
|
+ viewForm:{
|
|
|
+ component: { placeholder: '' },
|
|
|
+ rules: [{ required: true, message: '' }],
|
|
|
+ }
|
|
|
+ },
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
},
|
|
|
form: {
|
|
|
wrapper: {
|
|
@@ -652,25 +703,25 @@ export const createCrudOptions = function ({ crudExpose }: CreateCrudOptionsProp
|
|
|
borrow: {
|
|
|
label: "借用记录",
|
|
|
icon: "el-icon-price-tag",
|
|
|
- columns: []
|
|
|
+ columns: ["jieyong",]
|
|
|
},
|
|
|
maintenance: {
|
|
|
label: "维修记录",
|
|
|
collapsed: true, //默认折叠
|
|
|
icon: "el-icon-warning-outline",
|
|
|
- columns: [""]
|
|
|
+ columns: ["weixiu"]
|
|
|
},
|
|
|
maintain: {
|
|
|
label: "保养记录",
|
|
|
collapsed: true, //默认折叠
|
|
|
icon: "el-icon-warning-outline",
|
|
|
- columns: []
|
|
|
+ columns: ["baoyang"]
|
|
|
},
|
|
|
datastatis: {
|
|
|
label: "数据统计",
|
|
|
collapsed: true, //默认折叠
|
|
|
icon: "el-icon-warning-outline",
|
|
|
- columns: []
|
|
|
+ columns: ["tongji"]
|
|
|
},
|
|
|
|
|
|
|