|
@@ -255,7 +255,7 @@
|
|
|
</el-form-item>
|
|
|
<el-form-item label="安全评估人" prop="safaer">
|
|
|
<el-select v-model="form.safaer" placeholder="请选择临时措施执行人" clearable size="small" filterable
|
|
|
- style="width: 100%">
|
|
|
+ style="width: 100%" @change="getExecutorList">
|
|
|
<el-option
|
|
|
v-for="item in safaerList"
|
|
|
:key="item.USERID"
|
|
@@ -622,12 +622,6 @@ export default {
|
|
|
this.getDicts("apply_approve_status").then(response => {
|
|
|
this.approveStatusList = response.data;
|
|
|
});
|
|
|
- listUserPost({
|
|
|
- actualposts: "20,36,10,11,28,30,32,38,15,12,34",
|
|
|
- deptId: 103
|
|
|
- }).then(response => {
|
|
|
- this.executorList = response;
|
|
|
- });
|
|
|
listUserByMgrRegion().then(response => {
|
|
|
this.safaerList = response;
|
|
|
});
|
|
@@ -665,6 +659,23 @@ export default {
|
|
|
this.approveStatusFlag = 'danger';
|
|
|
}
|
|
|
},
|
|
|
+ getExecutorList(val){
|
|
|
+ console.log(val)
|
|
|
+ let region='';
|
|
|
+ for (let item of this.safaerList) {
|
|
|
+ if (val==item.USERID) {
|
|
|
+ region = item.REGION;
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ listUserPost({
|
|
|
+ actualposts: "20,36,10,11,28,30,32,38,15,12,34",
|
|
|
+ region:region,
|
|
|
+ deptId: 103
|
|
|
+ }).then(response => {
|
|
|
+ this.executorList = response;
|
|
|
+ });
|
|
|
+ },
|
|
|
getExecutorName(userId) {
|
|
|
for (let item of this.executorList) {
|
|
|
if (userId === item.userId) {
|
|
@@ -858,7 +869,7 @@ export default {
|
|
|
},
|
|
|
/** 导出按钮操作 */
|
|
|
handleExport() {
|
|
|
- const queryParams = this.queryParams;
|
|
|
+ let queryParams = this.queryParams;
|
|
|
queryParams.ids=null;
|
|
|
this.$confirm('是否确认导出所有组织保护措施状态变更申请数据项?', "警告", {
|
|
|
confirmButtonText: "确定",
|
|
@@ -878,7 +889,7 @@ export default {
|
|
|
type: "warning"
|
|
|
})
|
|
|
}
|
|
|
- const queryParams = this.queryParams;
|
|
|
+ let queryParams = this.queryParams;
|
|
|
queryParams.ids=this.ids;
|
|
|
this.$confirm('是否确认导出选中的组织保护措施状态变更申请数据项?', "警告", {
|
|
|
confirmButtonText: "确定",
|