|
@@ -3,6 +3,10 @@
|
|
|
<zj-form-container ref="formRef" :formData="formData" :formRules="formRules">
|
|
|
<zj-form-module title="基础信息" label-width="110px" :formData="formData" :formItems="formItems" :column="3">
|
|
|
</zj-form-module>
|
|
|
+ <zj-form-module title="网点审核" label-width="110px" :formData="formData" :formItems="formItems2" :column="3">
|
|
|
+ </zj-form-module>
|
|
|
+ <zj-form-module title="中心审核" label-width="110px" :formData="formData" :formItems="formItems3" :column="3">
|
|
|
+ </zj-form-module>
|
|
|
</zj-form-container>
|
|
|
<div v-if="type === 0 || type === 1" style="text-align: right">
|
|
|
<!-- <el-button size="mini" @click="submit">确定</el-button>
|
|
@@ -38,7 +42,161 @@ export default {
|
|
|
},
|
|
|
computed: {
|
|
|
formItems() {
|
|
|
- return []
|
|
|
+ return [
|
|
|
+ {
|
|
|
+ md: 6,
|
|
|
+ name: 'el-input',
|
|
|
+ attributes: { disabled: true },
|
|
|
+ formItemAttributes: { label: '工单单号', prop: 'principal' }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ md: 6,
|
|
|
+ name: 'el-input',
|
|
|
+ attributes: { disabled: true },
|
|
|
+ formItemAttributes: { label: '工单类型', prop: 'principal' }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ md: 6,
|
|
|
+ name: 'el-input',
|
|
|
+ attributes: { disabled: true },
|
|
|
+ formItemAttributes: { label: '客户姓名', prop: 'principal' }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ md: 6,
|
|
|
+ name: 'el-input',
|
|
|
+ attributes: { disabled: true },
|
|
|
+ formItemAttributes: { label: '客户电话', prop: 'principal' }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ md: 12,
|
|
|
+ name: 'el-input',
|
|
|
+ attributes: { disabled: true },
|
|
|
+ formItemAttributes: { label: '客户地址', prop: 'principal' }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ md: 6,
|
|
|
+ name: 'el-input',
|
|
|
+ attributes: { disabled: true },
|
|
|
+ formItemAttributes: { label: '主要工程师', prop: 'principal' }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ md: 6,
|
|
|
+ name: 'el-input',
|
|
|
+ attributes: { disabled: true },
|
|
|
+ formItemAttributes: { label: '完工时间', prop: 'principal' }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ formItems2() {
|
|
|
+ return [
|
|
|
+ {
|
|
|
+ md: 12,
|
|
|
+ name: 'el-input',
|
|
|
+ attributes: { disabled: true },
|
|
|
+ formItemAttributes: { label: '所属网点', prop: 'principal' }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ md: 6,
|
|
|
+ name: 'el-input',
|
|
|
+ attributes: { disabled: true },
|
|
|
+ formItemAttributes: { label: '申请人', prop: 'applyWorkerName' }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ md: 6,
|
|
|
+ name: 'el-input',
|
|
|
+ attributes: { disabled: true },
|
|
|
+ formItemAttributes: { label: '申请时间', prop: 'principal' }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: 'el-input',
|
|
|
+ md: 24,
|
|
|
+ attributes: {
|
|
|
+ disabled: true,
|
|
|
+ type: 'textarea',
|
|
|
+ rows: 3,
|
|
|
+ placeholder: '请输入'
|
|
|
+ },
|
|
|
+ formItemAttributes: {
|
|
|
+ label: '申请理由',
|
|
|
+ prop: 'remark',
|
|
|
+ rules: []
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: 'el-input',
|
|
|
+ md: 24,
|
|
|
+ attributes: {
|
|
|
+ disabled: true,
|
|
|
+ type: 'textarea',
|
|
|
+ rows: 3,
|
|
|
+ placeholder: '请输入'
|
|
|
+ },
|
|
|
+ formItemAttributes: {
|
|
|
+ label: '阅读描述',
|
|
|
+ prop: 'remark',
|
|
|
+ rules: []
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ formItems3() {
|
|
|
+ return [
|
|
|
+ {
|
|
|
+ md: 12,
|
|
|
+ name: 'el-radio',
|
|
|
+ options: [],
|
|
|
+ attributes: {},
|
|
|
+ formItemAttributes: {
|
|
|
+ label: '网点审批',
|
|
|
+ prop: 'type',
|
|
|
+ rules: []
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ md: 6,
|
|
|
+ name: 'el-input',
|
|
|
+ attributes: { disabled: true },
|
|
|
+ formItemAttributes: { label: '申请费用', prop: 'principal' }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ md: 6,
|
|
|
+ name: 'el-radio',
|
|
|
+ options: [],
|
|
|
+ attributes: {},
|
|
|
+ formItemAttributes: {
|
|
|
+ label: '是否向客户收费',
|
|
|
+ prop: 'type',
|
|
|
+ rules: []
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ md: 6,
|
|
|
+ name: 'el-input',
|
|
|
+ attributes: { disabled: true },
|
|
|
+ formItemAttributes: { label: '网点审核人', prop: 'principal' }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ md: 6,
|
|
|
+ name: 'el-input',
|
|
|
+ attributes: { disabled: true },
|
|
|
+ formItemAttributes: { label: '网点审核时间', prop: 'principal' }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: 'el-input',
|
|
|
+ md: 24,
|
|
|
+ attributes: {
|
|
|
+ disabled: true,
|
|
|
+ type: 'textarea',
|
|
|
+ rows: 3,
|
|
|
+ placeholder: '请输入'
|
|
|
+ },
|
|
|
+ formItemAttributes: {
|
|
|
+ label: '审核备注',
|
|
|
+ prop: 'remark',
|
|
|
+ rules: []
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
}
|
|
|
},
|
|
|
|