|
|
@ -82,9 +82,15 @@ |
|
|
|
<!-- 操作栏模块 --> |
|
|
|
<!-- 操作栏模块 --> |
|
|
|
<el-table-column prop="menu" label="操作" :width="220" align="center"> |
|
|
|
<el-table-column prop="menu" label="操作" :width="220" align="center"> |
|
|
|
<template #default="{row}"> |
|
|
|
<template #default="{row}"> |
|
|
|
<el-button v-if="this.permissionList.viewBtn" type="primary" text icon="el-icon-view" @click="handleView(row)">查看</el-button> |
|
|
|
<!--<el-button v-if="this.permissionList.viewBtn" type="primary" text icon="el-icon-view" @click="handleView(row)">查看</el-button> |
|
|
|
<el-button v-if="this.permissionList.editBtn" type="primary" text icon="el-icon-edit" @click="handleEdit(row)">编辑</el-button> |
|
|
|
<el-button v-if="this.permissionList.editBtn" type="primary" text icon="el-icon-edit" @click="handleEdit(row)">编辑</el-button> |
|
|
|
<el-button v-if="this.permissionList.delBtn" type="primary" text icon="el-icon-delete" @click="rowDel(row)">删除</el-button> |
|
|
|
<el-button v-if="this.permissionList.editBtn" type="primary" text icon="el-icon-edit" @click="handleReply(row)">回复</el-button> |
|
|
|
|
|
|
|
<el-button v-if="this.permissionList.delBtn" type="primary" text icon="el-icon-delete" @click="rowDel(row)">删除</el-button>--> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-button type="primary" text icon="el-icon-view" @click="handleView(row)">查看</el-button> |
|
|
|
|
|
|
|
<el-button type="primary" text icon="el-icon-edit" @click="handleEdit(row)">编辑</el-button> |
|
|
|
|
|
|
|
<el-button type="primary" text icon="el-icon-edit" @click="handleReply(row)">回复</el-button> |
|
|
|
|
|
|
|
<el-button type="primary" text icon="el-icon-delete" @click="rowDel(row)">删除</el-button> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
</el-table> |
|
|
@ -273,6 +279,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
<script> |
|
|
|
<script> |
|
|
|
import { getList, getDetail, add, update, remove,getProcessor } from "@/api/aftersales/aftersalesWorkOrder"; |
|
|
|
import { getList, getDetail, add, update, remove,getProcessor } from "@/api/aftersales/aftersalesWorkOrder"; |
|
|
|
|
|
|
|
import { getList as getExchangeList } from "@/api/aftersales/aftersalesExchange"; |
|
|
|
import option from "@/option/aftersales/aftersalesWorkOrder"; |
|
|
|
import option from "@/option/aftersales/aftersalesWorkOrder"; |
|
|
|
import { getDetailWarehouse,getDeptWarehouse } from "@/api/basicdata/basicdataWarehouse"; |
|
|
|
import { getDetailWarehouse,getDeptWarehouse } from "@/api/basicdata/basicdataWarehouse"; |
|
|
|
import { mapGetters } from "vuex"; |
|
|
|
import { mapGetters } from "vuex"; |
|
|
@ -371,6 +378,11 @@ export default { |
|
|
|
|
|
|
|
|
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
//查询当前工单回复数据 |
|
|
|
|
|
|
|
handleReply(){ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
searchHide() { |
|
|
|
searchHide() { |
|
|
|
this.search = !this.search; |
|
|
|
this.search = !this.search; |
|
|
|
}, |
|
|
|
}, |
|
|
|