From 1734a38a212673438c2a0d0d4fd945eb5f74c1aa Mon Sep 17 00:00:00 2001 From: “linengliang” <vanSuperEnergy@163.com> Date: 星期五, 12 一月 2024 11:28:24 +0800 Subject: [PATCH] abc --- src/views/eam/modules/repairorder/repairOrderExcuteDrawer.vue | 29 +++++++++++++++-------------- 1 files changed, 15 insertions(+), 14 deletions(-) diff --git a/src/views/eam/modules/repairorder/repairOrderExcuteDrawer.vue b/src/views/eam/modules/repairorder/repairOrderExcuteDrawer.vue index fd08923..447b8ba 100644 --- a/src/views/eam/modules/repairorder/repairOrderExcuteDrawer.vue +++ b/src/views/eam/modules/repairorder/repairOrderExcuteDrawer.vue @@ -68,6 +68,7 @@ </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;" @@ -195,7 +196,7 @@ <a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" - label="鍏抽敭璁惧?" + label="鍏抽敭璁惧" class="hightColor" > <span @@ -486,6 +487,7 @@ </a-form-item> </a-col> </a-row> + </a-form> </div> </a-card> <a-card :style="getBackground()"> @@ -540,7 +542,7 @@ 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', @@ -579,11 +581,11 @@ 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", @@ -642,13 +644,13 @@ //寮�宸� 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('寮�宸ユ垚鍔�'); @@ -689,13 +691,13 @@ }, 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('鎶ュ伐鎴愬姛'); @@ -714,13 +716,13 @@ //鎾ら攢 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('鎾ら攢鎴愬姛'); @@ -737,13 +739,13 @@ }, 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('鎿嶄綔鎴愬姛'); @@ -761,13 +763,13 @@ }, 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('鎿嶄綔鎴愬姛'); @@ -785,13 +787,13 @@ }, 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('鎿嶄綔鎴愬姛'); @@ -809,13 +811,13 @@ }, 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('鎿嶄綔鎴愬姛'); @@ -891,9 +893,8 @@ <style scoped> @import '~@assets/less/common.less'; .hightColor { - height: 10%; - font-weight: bold; - font-size: 20px; + height: 2%; + font-size: 15px; color: #1b1e1e; } .frozenRowClass { -- Gitblit v1.9.3