| | |
| | | icon="el-icon-edit" v-if="row.status == 6">重新下发</el-button> |
| | | <!-- <el-button type="text" @click="$refs.OperaVisitsDesWindow.open('详情', row.id)" icon="el-icon-view">详情</el-button> --> |
| | | <el-button type="text" @click="handleDetail(row)" icon="el-icon-view">详情</el-button> |
| | | <el-button type="text" icon="el-icon-delete" @click="deleteById(row)" style="color: red" v-permissions="['business:visits:delete']">删除</el-button> |
| | | <!-- <el-button type="text" @click="deleteById(row)" icon="el-icon-delete" v-permissions="['business:visits:delete']">查询审批结果</el-button>--> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | }) |
| | | }, |
| | | departure(id) { |
| | | this.$confirm('确定离厂吗, 是否继续?', '提示', { |
| | | this.$confirm('确定进行离场操作吗,该操作不可逆请谨慎操作, 是否继续?', '提示', { |
| | | confirmButtonText: '确定', |
| | | cancelButtonText: '取消', |
| | | type: 'warning' |
| | | }).then(() => { |
| | | level(id) |
| | | this.api.level(id) |
| | | .then(res => { |
| | | this.$message.success('操作成功') |
| | | this.page = 1 |
| | | this.getData() |
| | | this.search() |
| | | }) |
| | | }).catch(() => { |
| | | |
| | |
| | | cancelButtonText: '取消', |
| | | type: 'warning' |
| | | }).then(() => { |
| | | visitCancel(id) |
| | | this.api.visitCancel(id) |
| | | .then(res => { |
| | | this.page = 1 |
| | | this.getData() |
| | | this.search() |
| | | }) |
| | | }).catch(() => { |
| | | |
| | |
| | | this.api.visitResend(id) |
| | | .then(res => { |
| | | this.page = 1 |
| | | this.getData() |
| | | this.search() |
| | | }) |
| | | }).catch(() => { |
| | | |