|
@@ -7,6 +7,8 @@
|
|
<el-button v-if="queryParams.status != 1 && checkRole(['operator', 'commander'])" type="primary" plain
|
|
<el-button v-if="queryParams.status != 1 && checkRole(['operator', 'commander'])" type="primary" plain
|
|
@click="openExtractExpert">申请开始专家抽取流程</el-button>
|
|
@click="openExtractExpert">申请开始专家抽取流程</el-button>
|
|
|
|
|
|
|
|
+
|
|
|
|
+ <el-button v-if="checkRole(['operator', 'commander'])" type="primary" plain @click="openAppointExpert">直接指定专家</el-button>
|
|
<el-button v-if="queryParams.status == 1 && checkRole(['operator', 'commander'])" type="primary" plain
|
|
<el-button v-if="queryParams.status == 1 && checkRole(['operator', 'commander'])" type="primary" plain
|
|
icon="el-icon-plus" @click="startExtractExpert">抽取/补抽专家</el-button>
|
|
icon="el-icon-plus" @click="startExtractExpert">抽取/补抽专家</el-button>
|
|
|
|
|
|
@@ -14,7 +16,7 @@
|
|
<el-button v-if="queryParams.status == 1 && checkRole(['operator', 'commander'])" type="primary" plain
|
|
<el-button v-if="queryParams.status == 1 && checkRole(['operator', 'commander'])" type="primary" plain
|
|
icon="el-icon-bell" @click="batchNotification"
|
|
icon="el-icon-bell" @click="batchNotification"
|
|
:disabled="multipleSelection && multipleSelection.length == 0">批量通知专家</el-button>
|
|
:disabled="multipleSelection && multipleSelection.length == 0">批量通知专家</el-button>
|
|
- <el-button v-if="queryParams.status == 1 && checkRole(['operator', 'commander'])" type="danger" plain
|
|
|
|
|
|
+ <el-button v-if="checkRole(['operator', 'commander'])" type="danger" plain
|
|
icon="el-icon-delete" @click="handleDelete()"
|
|
icon="el-icon-delete" @click="handleDelete()"
|
|
:disabled="multipleSelection && multipleSelection.length == 0">批量删除</el-button>
|
|
:disabled="multipleSelection && multipleSelection.length == 0">批量删除</el-button>
|
|
|
|
|
|
@@ -86,6 +88,10 @@
|
|
<CompExtractCondition :sName="sName" :tenderList="tenderList" @closeApplication="closeApplication">
|
|
<CompExtractCondition :sName="sName" :tenderList="tenderList" @closeApplication="closeApplication">
|
|
</CompExtractCondition>
|
|
</CompExtractCondition>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
|
+
|
|
|
|
+ <el-dialog title="同步项目专家" :visible.sync="openAppointExpertDialog" width="60%">
|
|
|
|
+ <CompSearchProject @selectedProject="handleSelectedProject" />
|
|
|
|
+ </el-dialog>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -95,11 +101,12 @@ import {
|
|
findCommitAndExpert, updateLeader, getCommitteeList, saveAddCommittee
|
|
findCommitAndExpert, updateLeader, getCommitteeList, saveAddCommittee
|
|
} from "@/api/system/tender/committee";
|
|
} from "@/api/system/tender/committee";
|
|
import { findTenderNotice, getTender, updateIsApply } from "@/api/system/tender/tender";
|
|
import { findTenderNotice, getTender, updateIsApply } from "@/api/system/tender/tender";
|
|
-import { listExpert } from "@/api/system/expert";
|
|
|
|
|
|
+import { listExpert, followExpert } from "@/api/system/expert";
|
|
import { sendCall } from "@/api/contact/contact";
|
|
import { sendCall } from "@/api/contact/contact";
|
|
import { addApplications, getmaxApp, listApplications, updateApplications } from "@/api/system/tender/bidApplication";
|
|
import { addApplications, getmaxApp, listApplications, updateApplications } from "@/api/system/tender/bidApplication";
|
|
import { checkRole } from "@/utils/permission"; // 权限判断函数
|
|
import { checkRole } from "@/utils/permission"; // 权限判断函数
|
|
import CompExtractCondition from './CompExtractCondition.vue'
|
|
import CompExtractCondition from './CompExtractCondition.vue'
|
|
|
|
+import CompSearchProject from "./CompSearchProject.vue";
|
|
|
|
|
|
export default {
|
|
export default {
|
|
props: {
|
|
props: {
|
|
@@ -160,11 +167,14 @@ export default {
|
|
openExtractExpertDialog: false,
|
|
openExtractExpertDialog: false,
|
|
multipleSelection: [],
|
|
multipleSelection: [],
|
|
// 专家通知列表
|
|
// 专家通知列表
|
|
- expertPhoneList: []
|
|
|
|
|
|
+ expertPhoneList: [],
|
|
|
|
+
|
|
|
|
+ openAppointExpertDialog: false
|
|
};
|
|
};
|
|
},
|
|
},
|
|
components: {
|
|
components: {
|
|
- CompExtractCondition
|
|
|
|
|
|
+ CompExtractCondition,
|
|
|
|
+ CompSearchProject
|
|
},
|
|
},
|
|
async created () {
|
|
async created () {
|
|
this.queryParams.sid = this.$route.query.sid;
|
|
this.queryParams.sid = this.$route.query.sid;
|
|
@@ -187,6 +197,10 @@ export default {
|
|
this.getExerptList(this.queryParams.sid);
|
|
this.getExerptList(this.queryParams.sid);
|
|
},
|
|
},
|
|
|
|
|
|
|
|
+ openAppointExpert() {
|
|
|
|
+ this.openAppointExpertDialog = true
|
|
|
|
+ },
|
|
|
|
+
|
|
startExtractExpert () {
|
|
startExtractExpert () {
|
|
// 随机抽取专家
|
|
// 随机抽取专家
|
|
getCommitteeList({
|
|
getCommitteeList({
|
|
@@ -321,7 +335,20 @@ export default {
|
|
this.getExerptList(this.queryParams.sid);
|
|
this.getExerptList(this.queryParams.sid);
|
|
}
|
|
}
|
|
})
|
|
})
|
|
- }
|
|
|
|
|
|
+ },
|
|
|
|
+
|
|
|
|
+ /** 选中项目事件 */
|
|
|
|
+ handleSelectedProject (row) {
|
|
|
|
+ console.log("选中项目事件", row);
|
|
|
|
+ this.openAppointExpertDialog = false;
|
|
|
|
+ this.loading = true;
|
|
|
|
+ followExpert({
|
|
|
|
+ sid: row.sid,
|
|
|
|
+ csid: this.queryParams.sid
|
|
|
|
+ }).then(res => {
|
|
|
|
+ this.getExerptList()
|
|
|
|
+ })
|
|
|
|
+ },
|
|
}
|
|
}
|
|
};
|
|
};
|
|
</script>
|
|
</script>
|