| | |
| | | </a-row> |
| | | </div> |
| | | <div :style="{width: '100%',border: '1px solid #e9e9e9',padding: '10px 16px',background: '#fff',}"> |
| | | <a-form labelAlign="left" > |
| | | <a-divider |
| | | orientation="center" |
| | | style="font-size: large;font-style: italic;color: #66aeed;" |
| | |
| | | <a-form-item |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | label="关键设备?" |
| | | label="关键设备" |
| | | class="hightColor" |
| | | > |
| | | <span |
| | |
| | | </a-form-item> |
| | | </a-col> |
| | | </a-row> |
| | | </a-form> |
| | | </div> |
| | | </a-card> |
| | | <a-card :style="getBackground()"> |
| | |
| | | import Tooltip from 'ant-design-vue/es/tooltip' |
| | | import RepairOrderActualMaterialList from './moudles/RepairOrderActualMaterialReport' |
| | | import RepairOrderActualWorkHoursList from './moudles/RepairOrderActualHoursReport' |
| | | import RepairOrderFaultAnalysisList from './moudles/RepairOrderFaultAnalysisReport.vue' |
| | | import RepairOrderFaultAnalysisList from './moudles/RepairOrderFaultAnalysisReport' |
| | | import { getAction } from '../../../../api/manage' |
| | | export default { |
| | | name: 'RepairOrderExcuteDrawer', |
| | |
| | | dataSource: [], |
| | | labelCol: { |
| | | xs: { span: 24 }, |
| | | sm: { span: 12 }, |
| | | sm: { span: 7 }, |
| | | }, |
| | | wrapperCol: { |
| | | xs: { span: 24 }, |
| | | sm: { span: 12 }, |
| | | sm: { span: 17}, |
| | | }, |
| | | url: { |
| | | orderStart: "eam/repairOrder/start", |
| | |
| | | //开工 |
| | | handleStart() { |
| | | const that = this; |
| | | that.confirmLoading = true; |
| | | this.$confirm({ |
| | | title: '维修工单开工', |
| | | content: '提示:开工后无法撤回,请谨慎操作!', |
| | | okText: '确认', |
| | | cancelText: '取消', |
| | | onOk() { |
| | | that.confirmLoading = true; |
| | | putAction(that.url.orderStart, that.repairOrder).then(res => { |
| | | if (res.result) { |
| | | that.$message.success('开工成功'); |
| | |
| | | }, |
| | | handleReport() { |
| | | const that = this; |
| | | that.confirmLoading = true; |
| | | this.$confirm({ |
| | | title: '维修工单报工', |
| | | content: '提示:报工后维修完工,请谨慎操作!', |
| | | okText: '确认', |
| | | cancelText: '取消', |
| | | onOk() { |
| | | that.confirmLoading = true; |
| | | putAction(that.url.orderReport, that.repairOrder).then(res => { |
| | | if (res.result) { |
| | | that.$message.success('报工成功'); |
| | |
| | | //撤销 |
| | | handleRevoke() { |
| | | const that = this; |
| | | that.confirmLoading = true; |
| | | this.$confirm({ |
| | | title: '完工撤销', |
| | | content: '提示:完工撤销后可继续报工操作!', |
| | | okText: '确认', |
| | | cancelText: '取消', |
| | | onOk() { |
| | | that.confirmLoading = true; |
| | | putAction(that.url.orderRevoke, that.repairOrder).then(res => { |
| | | if (res.result) { |
| | | that.$message.success('撤销成功'); |
| | |
| | | }, |
| | | handleSpare(){ |
| | | const that = this; |
| | | that.confirmLoading = true; |
| | | this.$confirm({ |
| | | title: '等采购件', |
| | | content: '提示:该操作不可撤销,确认开始等采购件?', |
| | | okText: '确认', |
| | | cancelText: '取消', |
| | | onOk() { |
| | | that.confirmLoading = true; |
| | | putAction(that.url.handleSpare, that.repairOrder).then(res => { |
| | | if (res.result) { |
| | | that.$message.success('操作成功'); |
| | |
| | | }, |
| | | handleSpareStop(){ |
| | | const that = this; |
| | | that.confirmLoading = true; |
| | | this.$confirm({ |
| | | title: '停止等采购件', |
| | | content: '提示:该操作不可撤销,确认停止等采购件?', |
| | | okText: '确认', |
| | | cancelText: '取消', |
| | | onOk() { |
| | | that.confirmLoading = true; |
| | | putAction(that.url.handleSpareStop, that.repairOrder).then(res => { |
| | | if (res.result) { |
| | | that.$message.success('操作成功'); |
| | |
| | | }, |
| | | handlePart(){ |
| | | const that = this; |
| | | that.confirmLoading = true; |
| | | this.$confirm({ |
| | | title: '等采购件', |
| | | content: '提示:该操作不可撤销,确认等采购件?', |
| | | okText: '确认', |
| | | cancelText: '取消', |
| | | onOk() { |
| | | that.confirmLoading = true; |
| | | putAction(that.url.handlePart, that.repairOrder).then(res => { |
| | | if (res.result) { |
| | | that.$message.success('操作成功'); |
| | |
| | | }, |
| | | handlePartStop(){ |
| | | const that = this; |
| | | that.confirmLoading = true; |
| | | this.$confirm({ |
| | | title: '停止等采购件', |
| | | content: '提示:该操作不可撤销,确认停止等采购件?', |
| | | okText: '确认', |
| | | cancelText: '取消', |
| | | onOk() { |
| | | that.confirmLoading = true; |
| | | putAction(that.url.handlePartStop, that.repairOrder).then(res => { |
| | | if (res.result) { |
| | | that.$message.success('操作成功'); |
| | |
| | | <style scoped> |
| | | @import '~@assets/less/common.less'; |
| | | .hightColor { |
| | | height: 10%; |
| | | font-weight: bold; |
| | | font-size: 20px; |
| | | height: 2%; |
| | | font-size: 15px; |
| | | color: #1b1e1e; |
| | | } |
| | | .frozenRowClass { |