flat: test
This commit is contained in:
@@ -185,18 +185,18 @@
|
||||
@onCancel="diaLogCancel"
|
||||
@onConfirm="diaLogConfirm"
|
||||
>
|
||||
<template v-slot:header>
|
||||
<div class="input_box" style="margin-top: 20px">
|
||||
<el-select style="width: 100%" clearable v-model="GroupValue" placeholder="请选择分组 (驳回不用选择此项)">
|
||||
<el-option
|
||||
v-for="item in selecTreeData"
|
||||
:key="item.id"
|
||||
:label="item.groupName"
|
||||
:value="item.id">
|
||||
</el-option>
|
||||
</el-select>
|
||||
</div>
|
||||
</template>
|
||||
<!-- <template v-slot:header>-->
|
||||
<!-- <div class="input_box" style="margin-top: 20px">-->
|
||||
<!-- <el-select style="width: 100%" clearable v-model="GroupValue" placeholder="请选择分组 (驳回不用选择此项)">-->
|
||||
<!-- <el-option-->
|
||||
<!-- v-for="item in selecTreeData"-->
|
||||
<!-- :key="item.id"-->
|
||||
<!-- :label="item.groupName"-->
|
||||
<!-- :value="item.id">-->
|
||||
<!-- </el-option>-->
|
||||
<!-- </el-select>-->
|
||||
<!-- </div>-->
|
||||
<!-- </template>-->
|
||||
</PromptDialog>
|
||||
|
||||
</basic-container>
|
||||
@@ -768,32 +768,32 @@ export default {
|
||||
}
|
||||
},
|
||||
diaLogConfirm(value) {
|
||||
if (this.GroupValue) {
|
||||
let params = {
|
||||
idNumber: this.dialogInfo.idNumber,
|
||||
id: this.dialogInfo.id,
|
||||
name: this.dialogInfo.name,
|
||||
approvalStatus: 0,
|
||||
content: value,
|
||||
groupId: this.GroupValue
|
||||
}
|
||||
this.$confirm("确定通过?", {
|
||||
confirmButtonText: "确定",
|
||||
cancelButtonText: "取消",
|
||||
type: "warning"
|
||||
})
|
||||
.then(() => {
|
||||
return talentsApproval(params);
|
||||
})
|
||||
.then(() => {
|
||||
this.initDept();
|
||||
this.onLoad(this.page, this.query);
|
||||
this.dialogFlag = false
|
||||
this.$message.success('操作成功');
|
||||
});
|
||||
} else {
|
||||
this.$message.error("请选择分组");
|
||||
// if (this.GroupValue) {
|
||||
let params = {
|
||||
idNumber: this.dialogInfo.idNumber,
|
||||
id: this.dialogInfo.id,
|
||||
name: this.dialogInfo.name,
|
||||
approvalStatus: 0,
|
||||
content: value,
|
||||
// groupId: this.GroupValue
|
||||
}
|
||||
this.$confirm("确定通过?", {
|
||||
confirmButtonText: "确定",
|
||||
cancelButtonText: "取消",
|
||||
type: "warning"
|
||||
})
|
||||
.then(() => {
|
||||
return talentsApproval(params);
|
||||
})
|
||||
.then(() => {
|
||||
this.initDept();
|
||||
this.onLoad(this.page, this.query);
|
||||
this.dialogFlag = false
|
||||
this.$message.success('操作成功');
|
||||
});
|
||||
// } else {
|
||||
// this.$message.error("请选择分组");
|
||||
// }
|
||||
},
|
||||
handleExport() {
|
||||
this.downloadButton = true
|
||||
|
||||
Reference in New Issue
Block a user