|
@@ -291,8 +291,8 @@
|
|
|
<a-button style="margin-left: 8px" type="error">拒绝</a-button>
|
|
|
</a-popconfirm>
|
|
|
<a-button v-show=" model.status===10" style="margin-left: 8px" type="primary" @click="recoverPause">挂起解除</a-button>
|
|
|
- <a-button v-show="model.level!==6 && model.status!==6 && model.status!==14" style="margin-left: 8px" type="primary" @click="handleBigRepair">转大修</a-button>
|
|
|
- <a-button v-show="model.status===21" style="margin-left: 8px" type="primary" >大修审核</a-button>
|
|
|
+ <a-button v-show="model.level!==6 && model.status!==6 && model.status!==14 && model.status!==21" style="margin-left: 8px" type="primary" @click="handleBigRepair">转大修</a-button>
|
|
|
+ <a-button v-show="model.status===21" style="margin-left: 8px" type="primary" @click="handleCheckBigRepair">大修审核</a-button>
|
|
|
<a-button style="margin-left: 8px" type="primary" @click="handleCancel">返回</a-button>
|
|
|
</div>
|
|
|
<div class="btn" v-else>
|
|
@@ -340,7 +340,7 @@
|
|
|
<OutStroeForm ref="outStroeForm" @ok="handleOk" />
|
|
|
<ReportPauseForm ref="reportPauseForm" @ok="handleOk" />
|
|
|
<BigRepairForm ref="bigRepairForm" @ok="handleOk" />
|
|
|
-
|
|
|
+ <CheckBigRepairForm ref="checkBigRepairForm" @ok="handleOk" />
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -352,6 +352,7 @@ import CheckForm from './CheckForm'
|
|
|
import BaseOutForm from './BaseOutForm'
|
|
|
import FinishForm from './FinishForm'
|
|
|
import PlanCheckForm from './PlanCheckForm'
|
|
|
+import CheckBigRepairForm from './CheckBigRepairForm'
|
|
|
import EditForm from './RemarkForm'
|
|
|
import DispatchForm from './DispatchForm'
|
|
|
import AssignForm from './AssignForm'
|
|
@@ -434,7 +435,8 @@ export default {
|
|
|
LongYanSelectSpareForm,
|
|
|
OutStroeForm,
|
|
|
ReportPauseForm,
|
|
|
- BigRepairForm
|
|
|
+ BigRepairForm,
|
|
|
+ CheckBigRepairForm
|
|
|
},
|
|
|
data () {
|
|
|
return {
|
|
@@ -1052,6 +1054,10 @@ export default {
|
|
|
const modal = this.$refs.bigRepairForm
|
|
|
modal.base(this.model)
|
|
|
},
|
|
|
+ handleCheckBigRepair () {
|
|
|
+ const modal = this.$refs.checkBigRepairForm
|
|
|
+ modal.base(this.model)
|
|
|
+ },
|
|
|
handleEditReason (record) {
|
|
|
fetchRepairReason({ id: record.id }).then(res => {
|
|
|
const modal = this.$refs.reasonForm
|