修改
This commit is contained in:
parent
585deabf3c
commit
cbe4a2af45
@ -166,8 +166,7 @@
|
|||||||
v-if="queryParams.serviceStatus == 'INTENTIONAL_SIGNING'">签约</el-button>
|
v-if="queryParams.serviceStatus == 'INTENTIONAL_SIGNING'">签约</el-button>
|
||||||
<el-button size="mini" type="text" @click="handleAuthRole(scope.row)"
|
<el-button size="mini" type="text" @click="handleAuthRole(scope.row)"
|
||||||
v-if="queryParams.serviceStatus == 'SERVICE_CENTER' || queryParams.serviceStatus == 'SERVICE_END'">详情</el-button>
|
v-if="queryParams.serviceStatus == 'SERVICE_CENTER' || queryParams.serviceStatus == 'SERVICE_END'">详情</el-button>
|
||||||
<el-button size="mini" type="text" @click="handleDelete(scope.row)"
|
<el-button size="mini" type="text" @click="handleDelete(scope.row)">取消签约</el-button>
|
||||||
v-if="queryParams.serviceStatus == 'SERVICE_CENTER'">解约</el-button>
|
|
||||||
<el-button size="mini" type="text" @click="handleUpdate(scope.row)"
|
<el-button size="mini" type="text" @click="handleUpdate(scope.row)"
|
||||||
v-if="queryParams.serviceStatus == 'SERVICE_CENTER' || queryParams.serviceStatus == 'SERVICE_END'">续约</el-button>
|
v-if="queryParams.serviceStatus == 'SERVICE_CENTER' || queryParams.serviceStatus == 'SERVICE_END'">续约</el-button>
|
||||||
</template>
|
</template>
|
||||||
@ -365,13 +364,21 @@ export default {
|
|||||||
},
|
},
|
||||||
/** 解约按钮操作 */
|
/** 解约按钮操作 */
|
||||||
handleDelete(row) {
|
handleDelete(row) {
|
||||||
const ids = row.id || this.ids;
|
// const ids = row.id || this.ids;
|
||||||
this.$modal.confirm('是否确认解约?').then(function () {
|
this.$prompt('原因', '取消签约', {
|
||||||
return delSignRecord(ids);
|
confirmButtonText: '确定',
|
||||||
}).then(() => {
|
cancelButtonText: '取消',
|
||||||
this.getList();
|
}).then(({ value }) => {
|
||||||
this.$modal.msgSuccess("解约成功");
|
const query = {
|
||||||
}).catch(() => { });
|
id: row.id,
|
||||||
|
signStatus: 'SEPARATE_SIGN',
|
||||||
|
separateReason: value,
|
||||||
|
}
|
||||||
|
updateSignStatus(query).then(res => {
|
||||||
|
this.getList();
|
||||||
|
this.$modal.msgSuccess("取消签约成功");
|
||||||
|
})
|
||||||
|
})
|
||||||
},
|
},
|
||||||
/** 导出按钮操作 */
|
/** 导出按钮操作 */
|
||||||
handleExport() {
|
handleExport() {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user