|
@@ -290,7 +290,7 @@
|
|
|
<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" >转大修</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 style="margin-left: 8px" type="primary" @click="handleCancel">返回</a-button>
|
|
|
</div>
|
|
@@ -329,13 +329,16 @@
|
|
|
<scheme-library ref="schemeLibrary" @ok="handleOk"/>
|
|
|
<PlanCheckForm ref="planCheckForm" @ok="handleOk"/>
|
|
|
<OutStroeForm ref="outStroeForm" @ok="handleOk" />
|
|
|
+ <ReportPauseForm ref="reportPauseForm" @ok="handleOk" />
|
|
|
+ <BigRepairForm ref="bigRepairForm" @ok="handleOk" />
|
|
|
+
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
// import { stringify } from 'qs'
|
|
|
import DetailList from '@/components/tools/DetailList'
|
|
|
-import { fetchRepairApplicationForm, approve, receive, receiveRepair, closeRepair, recoverRepair } from '@/api/repair/application-form'
|
|
|
+import { fetchRepairApplicationForm, approve, receive, receiveRepair, closeRepair } from '@/api/repair/application-form'
|
|
|
import CheckForm from './CheckForm'
|
|
|
import BaseOutForm from './BaseOutForm'
|
|
|
import FinishForm from './FinishForm'
|
|
@@ -377,6 +380,9 @@ import RepairRecordForm from './RepairRecordForm'
|
|
|
import ReportUpForm from './ReportUpForm'
|
|
|
import TicketForm from './TicketForm'
|
|
|
import LongYanSelectSpareForm from './LongYanSelectSpareForm'
|
|
|
+import ReportPauseForm from './ReportPauseForm'
|
|
|
+import BigRepairForm from './BigRepairForm'
|
|
|
+
|
|
|
import OutStroeForm from '@/views/store/outstoreform/modules/BaseFormYY.vue'
|
|
|
const DetailListItem = DetailList.Item
|
|
|
|
|
@@ -417,7 +423,9 @@ export default {
|
|
|
ReportUpForm,
|
|
|
TicketForm,
|
|
|
LongYanSelectSpareForm,
|
|
|
- OutStroeForm
|
|
|
+ OutStroeForm,
|
|
|
+ ReportPauseForm,
|
|
|
+ BigRepairForm
|
|
|
},
|
|
|
data () {
|
|
|
return {
|
|
@@ -912,11 +920,7 @@ export default {
|
|
|
this.handleOk()
|
|
|
})
|
|
|
},
|
|
|
- recoverPause () {
|
|
|
- recoverRepair({ id: this.model.id }).then(res => {
|
|
|
- this.$message.info('操作成功')
|
|
|
- })
|
|
|
- },
|
|
|
+
|
|
|
batchDeleteFee (id) {
|
|
|
let ids = []
|
|
|
if (this.BaseTool.String.isBlank(id)) {
|
|
@@ -966,6 +970,9 @@ export default {
|
|
|
const modal = this.$refs.resolveBaseForm
|
|
|
modal.base({ repairId: this.model.id, repairNo: this.model.no, errorContent: this.model.content, sbId: this.model.sbId })
|
|
|
},
|
|
|
+ recoverPause () {
|
|
|
+ this.$refs.reportPauseForm.base(this.model)
|
|
|
+ },
|
|
|
handleAddRepairResolves () {
|
|
|
const modal = this.$refs.schemeLibrary
|
|
|
modal.base(this.model)
|
|
@@ -1028,6 +1035,10 @@ export default {
|
|
|
this.visible = false
|
|
|
modal.base(null, this.model)
|
|
|
},
|
|
|
+ handleBigRepair () {
|
|
|
+ const modal = this.$refs.bigRepairForm
|
|
|
+ modal.base(this.model)
|
|
|
+ },
|
|
|
handleEditReason (record) {
|
|
|
fetchRepairReason({ id: record.id }).then(res => {
|
|
|
const modal = this.$refs.reasonForm
|