|
@@ -12,6 +12,21 @@ export default {
|
|
|
serviceInfo() {
|
|
|
return [
|
|
|
{
|
|
|
+ isShow: this.formOptions.serviceStatus.isShow,
|
|
|
+ name: 'el-input',
|
|
|
+ md: 6,
|
|
|
+ attributes: {
|
|
|
+ disabled: !this.formOptions.serviceStatus.isEdit,
|
|
|
+ placeholder: '请输入'
|
|
|
+ },
|
|
|
+ formItemAttributes: {
|
|
|
+ label: '服务状态',
|
|
|
+ prop: 'serviceStatus',
|
|
|
+ rules: this.formOptions.serviceStatus.isRules
|
|
|
+ }
|
|
|
+ },
|
|
|
+ // -------------------------------------------------
|
|
|
+ {
|
|
|
isShow: this.formOptions.orderSmallType.isShow && !this.id,
|
|
|
name: 'el-select',
|
|
|
md: 6,
|
|
@@ -243,7 +258,133 @@ export default {
|
|
|
prop: 'source',
|
|
|
rules: this.formOptions.source.isRules
|
|
|
}
|
|
|
- }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ isShow: this.formOptions.salesPlatform.isShow,
|
|
|
+ name: 'el-input',
|
|
|
+ md: 6,
|
|
|
+ attributes: {
|
|
|
+ disabled: !this.formOptions.salesPlatform.isEdit,
|
|
|
+ placeholder: '请输入'
|
|
|
+ },
|
|
|
+ formItemAttributes: {
|
|
|
+ label: '销售平台',
|
|
|
+ prop: 'salesPlatform',
|
|
|
+ rules: this.formOptions.salesPlatform.isRules
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ isShow: this.formOptions.salesOrderId.isShow,
|
|
|
+ name: 'el-input',
|
|
|
+ md: 6,
|
|
|
+ attributes: {
|
|
|
+ disabled: !this.formOptions.salesOrderId.isEdit,
|
|
|
+ placeholder: '请输入'
|
|
|
+ },
|
|
|
+ formItemAttributes: {
|
|
|
+ label: '销售单号',
|
|
|
+ prop: 'salesOrderId',
|
|
|
+ rules: this.formOptions.salesOrderId.isRules
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ isShow: this.formOptions.serviceOrderId.isShow,
|
|
|
+ name: 'el-input',
|
|
|
+ md: 6,
|
|
|
+ attributes: {
|
|
|
+ disabled: !this.formOptions.serviceOrderId.isEdit,
|
|
|
+ placeholder: '请输入'
|
|
|
+ },
|
|
|
+ formItemAttributes: {
|
|
|
+ label: '服务单号',
|
|
|
+ prop: 'serviceOrderId',
|
|
|
+ rules: this.formOptions.serviceOrderId.isRules
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ isShow: this.formOptions.urgent.isShow,
|
|
|
+ name: 'el-input',
|
|
|
+ md: 6,
|
|
|
+ attributes: {
|
|
|
+ disabled: !this.formOptions.urgent.isEdit,
|
|
|
+ placeholder: '请输入'
|
|
|
+ },
|
|
|
+ formItemAttributes: {
|
|
|
+ label: '紧急程度',
|
|
|
+ prop: 'urgent',
|
|
|
+ rules: this.formOptions.urgent.isRules
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ isShow: this.formOptions.complaint.isShow,
|
|
|
+ name: 'el-input',
|
|
|
+ md: 6,
|
|
|
+ attributes: {
|
|
|
+ disabled: !this.formOptions.complaint.isEdit,
|
|
|
+ placeholder: '请输入'
|
|
|
+ },
|
|
|
+ formItemAttributes: {
|
|
|
+ label: '投诉等级',
|
|
|
+ prop: 'complaint',
|
|
|
+ rules: this.formOptions.complaint.isRules
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ isShow: this.formOptions.evaluate.isShow,
|
|
|
+ name: 'el-input',
|
|
|
+ md: 6,
|
|
|
+ attributes: {
|
|
|
+ disabled: !this.formOptions.evaluate.isEdit,
|
|
|
+ placeholder: '请输入'
|
|
|
+ },
|
|
|
+ formItemAttributes: {
|
|
|
+ label: '评价结果',
|
|
|
+ prop: 'evaluate',
|
|
|
+ rules: this.formOptions.evaluate.isRules
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ isShow: this.formOptions.reqStatus.isShow,
|
|
|
+ name: 'el-input',
|
|
|
+ md: 6,
|
|
|
+ attributes: {
|
|
|
+ disabled: !this.formOptions.reqStatus.isEdit,
|
|
|
+ placeholder: '请输入'
|
|
|
+ },
|
|
|
+ formItemAttributes: {
|
|
|
+ label: '要求状态',
|
|
|
+ prop: 'reqStatus',
|
|
|
+ rules: this.formOptions.reqStatus.isRules
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ isShow: this.formOptions.reqType.isShow,
|
|
|
+ name: 'el-input',
|
|
|
+ md: 6,
|
|
|
+ attributes: {
|
|
|
+ disabled: !this.formOptions.reqType.isEdit,
|
|
|
+ placeholder: '请输入'
|
|
|
+ },
|
|
|
+ formItemAttributes: {
|
|
|
+ label: '要求类型',
|
|
|
+ prop: 'reqType',
|
|
|
+ rules: this.formOptions.reqType.isRules
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ isShow: this.formOptions.reqText.isShow,
|
|
|
+ name: 'el-input',
|
|
|
+ md: 12,
|
|
|
+ attributes: {
|
|
|
+ disabled: !this.formOptions.reqText.isEdit,
|
|
|
+ placeholder: '请输入'
|
|
|
+ },
|
|
|
+ formItemAttributes: {
|
|
|
+ label: '要求内容',
|
|
|
+ prop: 'reqText',
|
|
|
+ rules: this.formOptions.reqText.isRules
|
|
|
+ }
|
|
|
+ },
|
|
|
]
|
|
|
}
|
|
|
},
|