|
@@ -26,6 +26,19 @@
|
|
|
>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <div class="inputListBox" v-if="classStatus">
|
|
|
+ <div class="fon_s">开班状态:</div>
|
|
|
+ <div>
|
|
|
+ <el-button
|
|
|
+ :type="formData.classStatus === item.value ? 'primary' : ''"
|
|
|
+ :size="size"
|
|
|
+ v-for="(item, index) in classType"
|
|
|
+ :key="index"
|
|
|
+ @click="topClassType(item.value)"
|
|
|
+ >{{ item.label }}</el-button
|
|
|
+ >
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
<div class="inputListBox" v-if="shType">
|
|
|
<div class="fon_s">审核状态:</div>
|
|
|
<div>
|
|
@@ -103,6 +116,20 @@
|
|
|
:value="items.id"
|
|
|
></el-option>
|
|
|
</el-select>
|
|
|
+ <!-- 项目类型 -->
|
|
|
+ <el-select
|
|
|
+ v-else-if="item.scope === 'projectLevel'"
|
|
|
+ v-model="formData[item.prop]"
|
|
|
+ :placeholder="item.placeholder"
|
|
|
+ :size="size"
|
|
|
+ >
|
|
|
+ <el-option
|
|
|
+ v-for="(items, indexs) in newProjectLevel"
|
|
|
+ :key="indexs"
|
|
|
+ :label="items.projectName"
|
|
|
+ :value="items.id"
|
|
|
+ ></el-option>
|
|
|
+ </el-select>
|
|
|
<!-- 业务层次 -->
|
|
|
<el-select
|
|
|
v-else-if="item.scope === 'businessLevel'"
|
|
@@ -470,6 +497,7 @@ export default {
|
|
|
"redIcon",
|
|
|
"advanced",
|
|
|
"advancedName",
|
|
|
+ "classStatus",
|
|
|
], //参考文档 component.md
|
|
|
data() {
|
|
|
return {
|
|
@@ -496,6 +524,20 @@ export default {
|
|
|
value: 4,
|
|
|
},
|
|
|
],
|
|
|
+ classType: [
|
|
|
+ {
|
|
|
+ label: "全部",
|
|
|
+ value: "",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "已开班",
|
|
|
+ value: 1,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "预报名(未开班)",
|
|
|
+ value: 0,
|
|
|
+ },
|
|
|
+ ],
|
|
|
pendlists: [
|
|
|
{
|
|
|
label: "初审",
|
|
@@ -511,10 +553,6 @@ export default {
|
|
|
label: "全部",
|
|
|
value: "",
|
|
|
},
|
|
|
- {
|
|
|
- label: "通过",
|
|
|
- value: 1,
|
|
|
- },
|
|
|
{
|
|
|
label: "待审核",
|
|
|
value: 2,
|
|
@@ -523,6 +561,10 @@ export default {
|
|
|
label: "不通过",
|
|
|
value: 3,
|
|
|
},
|
|
|
+ {
|
|
|
+ label: "通过",
|
|
|
+ value: 1,
|
|
|
+ },
|
|
|
],
|
|
|
lists6: [
|
|
|
{
|
|
@@ -585,6 +627,7 @@ export default {
|
|
|
},
|
|
|
], //题目类型
|
|
|
size: "small", //输入框尺寸类型
|
|
|
+ newProjectLevel: [], //项目类型-筛选后的数据
|
|
|
newBusinessLevel: [], //业务层次-筛选后的数据
|
|
|
newSchoolList: [], //院校-筛选后的数据
|
|
|
newProfessional: [], //专业-筛选后的数据
|
|
@@ -689,6 +732,10 @@ export default {
|
|
|
if (this.formData["applyId"]) {
|
|
|
return items;
|
|
|
}
|
|
|
+ } else if (items.scope === "projectLevel") {
|
|
|
+ if (this.formData["educationId"]) {
|
|
|
+ return items;
|
|
|
+ }
|
|
|
} else {
|
|
|
return items;
|
|
|
}
|
|
@@ -788,6 +835,15 @@ export default {
|
|
|
this.formData.periodStatus = status;
|
|
|
this.$emit("search", 4);
|
|
|
},
|
|
|
+ /**
|
|
|
+ *
|
|
|
+ * @param {int} status
|
|
|
+ * @remark 顶部定制按钮-根据审核状态类型点击快速搜索
|
|
|
+ */
|
|
|
+ topClassType(status) {
|
|
|
+ this.formData.classStatus = status;
|
|
|
+ this.$emit("search", 4);
|
|
|
+ },
|
|
|
/**
|
|
|
*
|
|
|
* @param {int} status
|
|
@@ -846,6 +902,9 @@ export default {
|
|
|
});
|
|
|
this.tireStatus = this.educationType[indexs].tireStatus;
|
|
|
if (!status1) {
|
|
|
+ if (this.formData.projectId) {
|
|
|
+ this.formData.projectId = "";
|
|
|
+ }
|
|
|
if (this.formData.businessId) {
|
|
|
this.formData.businessId = "";
|
|
|
}
|
|
@@ -860,6 +919,11 @@ export default {
|
|
|
if (this.formData.subjectId) {
|
|
|
this.formData.subjectId = "";
|
|
|
}
|
|
|
+ this.$api
|
|
|
+ .inquireCourseProjectType({ status: 1, educationId: id })
|
|
|
+ .then((res) => {
|
|
|
+ this.newProjectLevel = res.rows;
|
|
|
+ });
|
|
|
this.$api
|
|
|
.inquirebusinessList({ status: 1, educationId: id })
|
|
|
.then((res) => {
|