| | |
| | | allow-clear |
| | | :disabled="true" |
| | | :placeholder="disableSubmit?'':'请输入责任班组'" |
| | | v-decorator="['teamName', validatorRules.teamName ]" |
| | | v-decorator="['teamName', {} ]" |
| | | /> |
| | | </a-form-item> |
| | | </a-col> |
| | |
| | | }, |
| | | width: 50, |
| | | }, |
| | | // { |
| | | // title: '部位', |
| | | // align: 'center', |
| | | // dataIndex: 'location' |
| | | // }, |
| | | { |
| | | title: '部位', |
| | | title: '保养角色', |
| | | align: 'center', |
| | | dataIndex: 'location' |
| | | dataIndex: 'maintenanceRole' |
| | | }, |
| | | { |
| | | title: '保养项目', |
| | | title: '保养内容', |
| | | align: 'center', |
| | | dataIndex: 'maintenanceProjectName' |
| | | }, |
| | | { |
| | | title: '保养标准', |
| | | align: 'center', |
| | | dataIndex: 'standard' |
| | | }, |
| | | // { |
| | | // title: '保养标准', |
| | | // align: 'center', |
| | | // dataIndex: 'standard' |
| | | // }, |
| | | // { |
| | | // title: '方法', |
| | | // align: 'center', |
| | |
| | | // align: 'center', |
| | | // dataIndex: 'maintenanceTool' |
| | | // }, |
| | | { |
| | | title: '示意图', |
| | | align: 'center', |
| | | dataIndex: 'photo', |
| | | scopedSlots: { customRender: 'photo' } |
| | | }, |
| | | // { |
| | | // title: '示意图', |
| | | // align: 'center', |
| | | // dataIndex: 'photo', |
| | | // scopedSlots: { customRender: 'photo' } |
| | | // }, |
| | | // { |
| | | // title: '维保专业', |
| | | // align: 'center', |
| | |
| | | }, |
| | | useId: { |
| | | rules: [ |
| | | { required: true, message: '请选择使用部门!' }, |
| | | { required: false, message: '请选择使用部门!' }, |
| | | ] |
| | | }, |
| | | maintenanceCycleId: { |
| | |
| | | |
| | | onSearchMaintenanceStandard() { |
| | | let data = this.form.getFieldsValue(['useId']); |
| | | if (data.useId == null || data.useId == "") { |
| | | this.$message.warning("请先选择使用部门!"); |
| | | return |
| | | } |
| | | // if (data.useId == null || data.useId == "") { |
| | | // this.$message.warning("请先选择使用部门!"); |
| | | // return |
| | | // } |
| | | this.$refs.DailyMaintenanceStandardList.list(data.useId); |
| | | this.$refs.DailyMaintenanceStandardList.title = "选择日常保养标准"; |
| | | this.$refs.DailyMaintenanceStandardList.title = "选择二级保养标准"; |
| | | }, |
| | | sendMaintenanceStandardRecord(data) { |
| | | let record = data.record; |