|
|
|
@ -18,15 +18,15 @@ export const baseModelOptions = () => { |
|
|
|
|
|
|
|
|
|
{ |
|
|
|
|
tag: 'BaseSelect', |
|
|
|
|
label: '报告周期:', |
|
|
|
|
label: '报告类型:', |
|
|
|
|
key: 'cycle', |
|
|
|
|
value: '', |
|
|
|
|
default: '', |
|
|
|
|
rules: [ |
|
|
|
|
{ required: true, message: '请选择报告周期', trigger: 'blur' }, |
|
|
|
|
{ required: true, message: '请选择报告类型', trigger: 'blur' }, |
|
|
|
|
], |
|
|
|
|
attribute: { //属性
|
|
|
|
|
placeholder: '请选择报告周期', |
|
|
|
|
placeholder: '请选择报告类型', |
|
|
|
|
options: [{ |
|
|
|
|
value: "日", |
|
|
|
|
label: "日" |
|
|
|
@ -40,16 +40,17 @@ export const baseModelOptions = () => { |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
tag: 'BaseSelect', |
|
|
|
|
label: '项目名称:', |
|
|
|
|
tag: 'el-input', |
|
|
|
|
label: '报告内容:', |
|
|
|
|
key: 'planId', |
|
|
|
|
value: '', |
|
|
|
|
default: '', |
|
|
|
|
rules: [ |
|
|
|
|
{ required: true, message: '请选择项目名称', trigger: 'blur' }, |
|
|
|
|
{ required: true, message: '请输入报告内容', trigger: 'blur' }, |
|
|
|
|
], |
|
|
|
|
attribute: { //属性
|
|
|
|
|
placeholder: '请选择项目名称', |
|
|
|
|
type: 'textarea', |
|
|
|
|
placeholder: '请输入报告内容', |
|
|
|
|
options: [] |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
@ -111,7 +112,7 @@ export const baseModelOptions = () => { |
|
|
|
|
// },
|
|
|
|
|
{ |
|
|
|
|
tag: 'el-input', |
|
|
|
|
label: '建议:', |
|
|
|
|
label: '其他建议:', |
|
|
|
|
key: 'advises', |
|
|
|
|
value: '', |
|
|
|
|
default: '', |
|
|
|
@ -143,20 +144,20 @@ export const baseModelOptions = () => { |
|
|
|
|
|
|
|
|
|
export const baseFilterOptions = () => { |
|
|
|
|
return [ |
|
|
|
|
{ |
|
|
|
|
tag: 'BaseSelect', |
|
|
|
|
label: '项目名称:', |
|
|
|
|
key: 'planId', |
|
|
|
|
value: '', |
|
|
|
|
default: '', |
|
|
|
|
rules: [ |
|
|
|
|
{ required: true, message: '请选择项目名称', trigger: 'blur' }, |
|
|
|
|
], |
|
|
|
|
attribute: { //属性
|
|
|
|
|
placeholder: '请选择项目名称', |
|
|
|
|
options: [] |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
// {
|
|
|
|
|
// tag: 'BaseSelect',
|
|
|
|
|
// label: '项目名称:',
|
|
|
|
|
// key: 'planId',
|
|
|
|
|
// value: '',
|
|
|
|
|
// default: '',
|
|
|
|
|
// rules: [
|
|
|
|
|
// { required: true, message: '请选择项目名称', trigger: 'blur' },
|
|
|
|
|
// ],
|
|
|
|
|
// attribute: { //属性
|
|
|
|
|
// placeholder: '请选择项目名称',
|
|
|
|
|
// options: []
|
|
|
|
|
// },
|
|
|
|
|
// },
|
|
|
|
|
// {
|
|
|
|
|
// tag: 'el-input',
|
|
|
|
|
// label: '材料使用:',
|
|
|
|
|