|
@@ -13,32 +13,6 @@
|
|
|
>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="inputListBox" v-if="pendingType">
|
|
|
- <div class="fon_s">审核状态:</div>
|
|
|
- <div>
|
|
|
- <el-button
|
|
|
- :type="formData.periodStatus === item.value ? 'primary' : ''"
|
|
|
- :size="size"
|
|
|
- v-for="(item, index) in pendlists"
|
|
|
- :key="index"
|
|
|
- @click="topPendingType(item.value)"
|
|
|
- >{{ item.label }}</el-button
|
|
|
- >
|
|
|
- </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>
|
|
@@ -52,31 +26,6 @@
|
|
|
>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="inputListBox" v-if="hoursType">
|
|
|
- <div class="fon_s">审核状态:</div>
|
|
|
- <div>
|
|
|
- <el-button
|
|
|
- :type="formData.periodStatus === item.value ? 'primary' : ''"
|
|
|
- :size="size"
|
|
|
- v-for="(item, index) in lists6"
|
|
|
- :key="index"
|
|
|
- @click="topHoursSearchsh(item.value)"
|
|
|
- >{{ item.label }}</el-button
|
|
|
- >
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <!-- <div class="inputListBox" v-if="classType">
|
|
|
- <div>
|
|
|
- <el-button
|
|
|
- :type="formData.goodsType === item.value ? 'primary' : ''"
|
|
|
- :size="size"
|
|
|
- v-for="(item, index) in classLists"
|
|
|
- :key="index"
|
|
|
- @click="classSearch(item.value)"
|
|
|
- >{{ item.label }}</el-button
|
|
|
- >
|
|
|
- </div>
|
|
|
- </div> -->
|
|
|
<div class="inputListBoxs">
|
|
|
<div
|
|
|
class="fon_s"
|
|
@@ -321,20 +270,6 @@
|
|
|
:value="items.value"
|
|
|
></el-option>
|
|
|
</el-select>
|
|
|
- <!-- 试卷类型 -->
|
|
|
- <el-select
|
|
|
- v-else-if="item.scope === 'paperType'"
|
|
|
- v-model="formData[item.prop]"
|
|
|
- :placeholder="item.placeholder"
|
|
|
- :size="size"
|
|
|
- >
|
|
|
- <el-option
|
|
|
- v-for="(items, indexs) in paperType"
|
|
|
- :key="indexs"
|
|
|
- :label="items.label"
|
|
|
- :value="items.value"
|
|
|
- ></el-option>
|
|
|
- </el-select>
|
|
|
<!-- 证书类型 -->
|
|
|
<el-select
|
|
|
v-else-if="item.scope === 'certificate'"
|
|
@@ -349,90 +284,6 @@
|
|
|
:value="items.id"
|
|
|
></el-option>
|
|
|
</el-select>
|
|
|
- <!-- 考试标题 -->
|
|
|
- <el-select
|
|
|
- v-else-if="item.scope === 'examLists'"
|
|
|
- v-model="formData[item.prop]"
|
|
|
- :placeholder="item.placeholder"
|
|
|
- :size="size"
|
|
|
- >
|
|
|
- <el-option
|
|
|
- v-for="(items, indexs) in examLists"
|
|
|
- :key="indexs"
|
|
|
- :label="items.applyName"
|
|
|
- :value="items.applyId"
|
|
|
- ></el-option>
|
|
|
- </el-select>
|
|
|
- <!-- 考试标题:只显示已启用 -->
|
|
|
- <el-select
|
|
|
- v-else-if="item.scope === 'examList'"
|
|
|
- v-model="formData[item.prop]"
|
|
|
- :placeholder="item.placeholder"
|
|
|
- :size="size"
|
|
|
- >
|
|
|
- <el-option
|
|
|
- v-for="(items, indexs) in examList"
|
|
|
- :key="indexs"
|
|
|
- :label="items.applyName"
|
|
|
- :value="items.applyId"
|
|
|
- ></el-option>
|
|
|
- </el-select>
|
|
|
- <!-- 考试地点 -->
|
|
|
- <el-select
|
|
|
- v-else-if="item.scope === 'applySiteAddress'"
|
|
|
- v-model="formData[item.prop]"
|
|
|
- :placeholder="item.placeholder"
|
|
|
- :size="size"
|
|
|
- >
|
|
|
- <el-option
|
|
|
- v-for="(items, indexs) in applySiteAddress"
|
|
|
- :key="indexs"
|
|
|
- :label="items.siteAddress"
|
|
|
- :value="item.getType === 1 ? items.siteAddress : items.siteId"
|
|
|
- ></el-option>
|
|
|
- </el-select>
|
|
|
- <!-- 考试地点:手动过滤 -->
|
|
|
- <el-select
|
|
|
- v-else-if="item.scope === 'applySiteAddressX'"
|
|
|
- v-model="formData[item.prop]"
|
|
|
- :placeholder="item.placeholder"
|
|
|
- :size="size"
|
|
|
- >
|
|
|
- <el-option
|
|
|
- v-for="(items, indexs) in applySiteAddressX"
|
|
|
- :key="indexs"
|
|
|
- :label="items.siteAddress"
|
|
|
- :value="item.getType === 1 ? items.siteAddress : items.siteId"
|
|
|
- ></el-option>
|
|
|
- </el-select>
|
|
|
- <!-- 前培标题:只显示启用 -->
|
|
|
- <el-select
|
|
|
- v-else-if="item.scope === 'beforeList'"
|
|
|
- v-model="formData[item.prop]"
|
|
|
- :placeholder="item.placeholder"
|
|
|
- :size="size"
|
|
|
- >
|
|
|
- <el-option
|
|
|
- v-for="(items, indexs) in beforeList"
|
|
|
- :key="indexs"
|
|
|
- :label="items.beforeName"
|
|
|
- :value="items.beforeId"
|
|
|
- ></el-option>
|
|
|
- </el-select>
|
|
|
- <!-- 前培标题 -->
|
|
|
- <el-select
|
|
|
- v-else-if="item.scope === 'beforeLists'"
|
|
|
- v-model="formData[item.prop]"
|
|
|
- :placeholder="item.placeholder"
|
|
|
- :size="size"
|
|
|
- >
|
|
|
- <el-option
|
|
|
- v-for="(items, indexs) in beforeLists"
|
|
|
- :key="indexs"
|
|
|
- :label="items.beforeName"
|
|
|
- :value="items.beforeId"
|
|
|
- ></el-option>
|
|
|
- </el-select>
|
|
|
<!-- 自定义select -->
|
|
|
<el-select
|
|
|
:clearable="item.noClear === false ? false : true"
|
|
@@ -643,19 +494,15 @@
|
|
|
|
|
|
<script>
|
|
|
import { mapGetters } from "vuex";
|
|
|
-import handout from "../newApi/handout";
|
|
|
export default {
|
|
|
props: [
|
|
|
"formList",
|
|
|
"topType",
|
|
|
- "pendingType",
|
|
|
"formData",
|
|
|
"shType",
|
|
|
- "hoursType",
|
|
|
"redIcon",
|
|
|
"advanced",
|
|
|
"advancedName",
|
|
|
- "classStatus",
|
|
|
], //参考文档 component.md
|
|
|
data() {
|
|
|
return {
|
|
@@ -893,24 +740,6 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
},
|
|
|
- watch: {
|
|
|
- /**
|
|
|
- *
|
|
|
- * @param {Number} val
|
|
|
- * @remards 考试计划监听-获取对应考试地点
|
|
|
- */
|
|
|
- "formData.applyId"(val) {
|
|
|
- const Astatus = this.formList.some((item) => {
|
|
|
- return item.scope === "applySiteAddressX";
|
|
|
- });
|
|
|
- if (Astatus) {
|
|
|
- this.getChangeAdress(val);
|
|
|
- if (this.formData.applySiteAddress) {
|
|
|
- this.formData.applySiteAddress = "";
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
- },
|
|
|
methods: {
|
|
|
/**
|
|
|
* 手动过滤考试地点
|
|
@@ -974,24 +803,6 @@ export default {
|
|
|
this.formData.goodsType = status;
|
|
|
this.$emit("search", 3);
|
|
|
},
|
|
|
- /**
|
|
|
- *
|
|
|
- * @param {int} status
|
|
|
- * @remark 顶部定制按钮-根据审核状态类型点击快速搜索
|
|
|
- */
|
|
|
- topPendingType(status) {
|
|
|
- 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
|
|
@@ -1001,15 +812,6 @@ export default {
|
|
|
this.formData.status = types;
|
|
|
this.$emit("search", 3);
|
|
|
},
|
|
|
- /**
|
|
|
- *
|
|
|
- * @param {int} status
|
|
|
- * @remark 顶部定制按钮-根据学时审核状态点击快速搜索
|
|
|
- */
|
|
|
- topHoursSearchsh(types) {
|
|
|
- this.formData.periodStatus = types;
|
|
|
- this.$emit("search", 2);
|
|
|
- },
|
|
|
/**
|
|
|
* @remark 搜索
|
|
|
*/
|