|
@@ -109,7 +109,6 @@
|
|
|
</el-select>
|
|
</el-select>
|
|
|
<el-popover
|
|
<el-popover
|
|
|
placement="bottom"
|
|
placement="bottom"
|
|
|
- width="200"
|
|
|
|
|
trigger="click"
|
|
trigger="click"
|
|
|
:disabled="eduType ? false : true"
|
|
:disabled="eduType ? false : true"
|
|
|
>
|
|
>
|
|
@@ -118,7 +117,9 @@
|
|
|
v-for="(item, index) in itemOption2"
|
|
v-for="(item, index) in itemOption2"
|
|
|
:label="item.id"
|
|
:label="item.id"
|
|
|
:key="index"
|
|
:key="index"
|
|
|
- >{{ item.projectName + '-' + item.businessName }}</el-checkbox
|
|
|
|
|
|
|
+ >{{
|
|
|
|
|
+ item.projectName + "-" + item.businessName
|
|
|
|
|
+ }}</el-checkbox
|
|
|
>
|
|
>
|
|
|
</el-checkbox-group>
|
|
</el-checkbox-group>
|
|
|
<el-button
|
|
<el-button
|
|
@@ -176,8 +177,13 @@
|
|
|
class="dis_fls"
|
|
class="dis_fls"
|
|
|
>
|
|
>
|
|
|
<div>
|
|
<div>
|
|
|
- <el-button type="text" @click="del1(index)">删除</el-button>
|
|
|
|
|
- {{ item.fieldName }}
|
|
|
|
|
|
|
+ <el-button
|
|
|
|
|
+ type="text"
|
|
|
|
|
+ @click="del1(index)"
|
|
|
|
|
+ style="margin-right: 14px"
|
|
|
|
|
+ >删除</el-button
|
|
|
|
|
+ >
|
|
|
|
|
+ {{ item.fieldName }}{{ item.required ? " (必填)" : "" }}
|
|
|
</div>
|
|
</div>
|
|
|
<div style="margin-right: 10px"></div>
|
|
<div style="margin-right: 10px"></div>
|
|
|
</li>
|
|
</li>
|
|
@@ -198,8 +204,13 @@
|
|
|
class="dis_fls"
|
|
class="dis_fls"
|
|
|
>
|
|
>
|
|
|
<div>
|
|
<div>
|
|
|
- <el-button type="text" @click="del2(index)">删除</el-button>
|
|
|
|
|
- {{ item.fieldName }}
|
|
|
|
|
|
|
+ <el-button
|
|
|
|
|
+ type="text"
|
|
|
|
|
+ @click="del2(index)"
|
|
|
|
|
+ style="margin-right: 14px"
|
|
|
|
|
+ >删除</el-button
|
|
|
|
|
+ >
|
|
|
|
|
+ {{ item.fieldName }}{{ item.required ? " (必填)" : "" }}
|
|
|
</div>
|
|
</div>
|
|
|
<div style="margin-right: 10px"></div>
|
|
<div style="margin-right: 10px"></div>
|
|
|
</li>
|
|
</li>
|
|
@@ -231,11 +242,15 @@
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
<header>{{ listData.name }}</header>
|
|
<header>{{ listData.name }}</header>
|
|
|
- <el-row :gutter="20">
|
|
|
|
|
|
|
+ <el-row :gutter="20" style="background-color: #999">
|
|
|
<el-col :span="12">
|
|
<el-col :span="12">
|
|
|
<ul>
|
|
<ul>
|
|
|
<template v-for="(item, index) in listData.keyValue">
|
|
<template v-for="(item, index) in listData.keyValue">
|
|
|
- <li :key="index" v-if="item.inputType === 1" class="autoFlex">
|
|
|
|
|
|
|
+ <li
|
|
|
|
|
+ :key="index"
|
|
|
|
|
+ v-if="item.inputType === 1"
|
|
|
|
|
+ class="autoFlex bgcFFF"
|
|
|
|
|
+ >
|
|
|
<span
|
|
<span
|
|
|
><i class="required" v-if="item.required">*</i
|
|
><i class="required" v-if="item.required">*</i
|
|
|
>{{ item.fieldName }}</span
|
|
>{{ item.fieldName }}</span
|
|
@@ -247,7 +262,7 @@
|
|
|
<li
|
|
<li
|
|
|
:key="index"
|
|
:key="index"
|
|
|
v-if="item.inputType === 2 || item.inputType === 5"
|
|
v-if="item.inputType === 2 || item.inputType === 5"
|
|
|
- class="autoFlex"
|
|
|
|
|
|
|
+ class="autoFlex bgcFFF"
|
|
|
>
|
|
>
|
|
|
<span
|
|
<span
|
|
|
><i class="required" v-if="item.required">*</i
|
|
><i class="required" v-if="item.required">*</i
|
|
@@ -258,15 +273,111 @@
|
|
|
}}<i class="el-icon-arrow-right"></i
|
|
}}<i class="el-icon-arrow-right"></i
|
|
|
></span>
|
|
></span>
|
|
|
</li>
|
|
</li>
|
|
|
- <li :key="index" v-if="item.inputType === 3"></li>
|
|
|
|
|
- <li :key="index" v-if="item.inputType === 4"></li>
|
|
|
|
|
|
|
+ <li
|
|
|
|
|
+ :key="index"
|
|
|
|
|
+ v-if="item.inputType === 3"
|
|
|
|
|
+ class="borstyflex bgcFFF"
|
|
|
|
|
+ >
|
|
|
|
|
+ <div class="autoFlex" style="border: 1px solid transparent">
|
|
|
|
|
+ <span
|
|
|
|
|
+ ><i class="required" v-if="item.required">*</i
|
|
|
|
|
+ >{{ item.fieldName }}</span
|
|
|
|
|
+ >
|
|
|
|
|
+ <div style="display: flex; align-items: center">
|
|
|
|
|
+ <i
|
|
|
|
|
+ v-if="item.fieldKey !== 'commitment_electr_signature'"
|
|
|
|
|
+ class="el-icon-warning-outline"
|
|
|
|
|
+ style="
|
|
|
|
|
+ font-weight: bold;
|
|
|
|
|
+ color: red;
|
|
|
|
|
+ font-size: 20px;
|
|
|
|
|
+ margin-right: 6px;
|
|
|
|
|
+ "
|
|
|
|
|
+ ></i>
|
|
|
|
|
+ <div v-if="item.fieldKey === 'recent_photos'">
|
|
|
|
|
+ 证件照竖向<br />文件大小下≤2M
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div v-if="item.fieldKey === 'idcard_face_photo'">
|
|
|
|
|
+ 人像面(横向)<br />文件大小下≤2M
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div v-if="item.fieldKey === 'idcard_national_photo'">
|
|
|
|
|
+ 国徽面(横向)<br />文件大小下≤2M
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div v-if="item.fieldKey === 'commitment_electr_signature'">
|
|
|
|
|
+ <p>
|
|
|
|
|
+ 本人自愿做出如下承诺:<br />本人己仔细阅读《广东
|
|
|
|
|
+ 省住房和城乡建设厅关于推进住房和城乡建设领域施
|
|
|
|
|
+ 工现场专业人员职业培训工作的通知》
|
|
|
|
|
+ 全部内容并知晓和理解,本人的学历证书、身份证、工作年限、相片等所有资料完全真实、符合报名条件、资格审查要求和相关规定,本人在报名、审查、培训、测试等有关的事项中会严格道守相关规定和要求,如有虛假或与实际规定不符等情况造成的一切后果由本人承担。<br />
|
|
|
|
|
+ 特此承诺!
|
|
|
|
|
+ </p>
|
|
|
|
|
+ <div>
|
|
|
|
|
+ <p style="color: red; text-align: center">
|
|
|
|
|
+ 签名板(请在此处进行签名)
|
|
|
|
|
+ </p>
|
|
|
|
|
+ <div class="poters">手动签名区</div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div v-else style="text-align: center">
|
|
|
|
|
+ <img
|
|
|
|
|
+ class="imgs"
|
|
|
|
|
+ src="../../../../assets/images/imgpng.png"
|
|
|
|
|
+ alt="加载失败"
|
|
|
|
|
+ />
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </li>
|
|
|
|
|
+ <li
|
|
|
|
|
+ :key="index"
|
|
|
|
|
+ v-if="item.inputType === 4"
|
|
|
|
|
+ class="borstyflex bgcFFF"
|
|
|
|
|
+ >
|
|
|
|
|
+ <div class="autoFlex" style="border: 1px solid transparent">
|
|
|
|
|
+ <span
|
|
|
|
|
+ ><i class="required" v-if="item.required">*</i
|
|
|
|
|
+ >{{ item.fieldName }}</span
|
|
|
|
|
+ >
|
|
|
|
|
+ <div style="display: flex; align-items: center">
|
|
|
|
|
+ <i
|
|
|
|
|
+ class="el-icon-warning-outline"
|
|
|
|
|
+ style="
|
|
|
|
|
+ font-weight: bold;
|
|
|
|
|
+ color: red;
|
|
|
|
|
+ font-size: 20px;
|
|
|
|
|
+ margin-right: 6px;
|
|
|
|
|
+ "
|
|
|
|
|
+ ></i>
|
|
|
|
|
+ <div
|
|
|
|
|
+ v-if="item.fieldKey === 'commitment_seal'"
|
|
|
|
|
+ style="font-size: 12px"
|
|
|
|
|
+ >
|
|
|
|
|
+ 下载承诺书进行填写盖章<br />并上传<br />文件大小下≤2M
|
|
|
|
|
+ <el-button type="text" @click="getDowm"
|
|
|
|
|
+ >点击下载</el-button
|
|
|
|
|
+ >
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div style="text-align: center">
|
|
|
|
|
+ <img
|
|
|
|
|
+ class="imgs"
|
|
|
|
|
+ src="../../../../assets/images/imgsqty.png"
|
|
|
|
|
+ alt="加载失败"
|
|
|
|
|
+ />
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </li>
|
|
|
</template>
|
|
</template>
|
|
|
</ul>
|
|
</ul>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
<el-col :span="12">
|
|
|
<ul>
|
|
<ul>
|
|
|
<template v-for="(item, index) in listData.keyValue2">
|
|
<template v-for="(item, index) in listData.keyValue2">
|
|
|
- <li :key="index" v-if="item.inputType === 1" class="autoFlex">
|
|
|
|
|
|
|
+ <li
|
|
|
|
|
+ :key="index"
|
|
|
|
|
+ v-if="item.inputType === 1"
|
|
|
|
|
+ class="autoFlex bgcFFF"
|
|
|
|
|
+ >
|
|
|
<span
|
|
<span
|
|
|
><i class="required" v-if="item.required">*</i
|
|
><i class="required" v-if="item.required">*</i
|
|
|
>{{ item.fieldName }}</span
|
|
>{{ item.fieldName }}</span
|
|
@@ -278,7 +389,7 @@
|
|
|
<li
|
|
<li
|
|
|
:key="index"
|
|
:key="index"
|
|
|
v-if="item.inputType === 2 || item.inputType === 5"
|
|
v-if="item.inputType === 2 || item.inputType === 5"
|
|
|
- class="autoFlex"
|
|
|
|
|
|
|
+ class="autoFlex bgcFFF"
|
|
|
>
|
|
>
|
|
|
<span
|
|
<span
|
|
|
><i class="required" v-if="item.required">*</i
|
|
><i class="required" v-if="item.required">*</i
|
|
@@ -289,8 +400,100 @@
|
|
|
}}<i class="el-icon-arrow-right"></i
|
|
}}<i class="el-icon-arrow-right"></i
|
|
|
></span>
|
|
></span>
|
|
|
</li>
|
|
</li>
|
|
|
- <li :key="index" v-if="item.inputType === 3"></li>
|
|
|
|
|
- <li :key="index" v-if="item.inputType === 4"></li>
|
|
|
|
|
|
|
+ <li
|
|
|
|
|
+ :key="index"
|
|
|
|
|
+ v-if="item.inputType === 3"
|
|
|
|
|
+ class="borstyflex bgcFFF"
|
|
|
|
|
+ >
|
|
|
|
|
+ <div class="autoFlex" style="border: 1px solid transparent">
|
|
|
|
|
+ <span
|
|
|
|
|
+ ><i class="required" v-if="item.required">*</i
|
|
|
|
|
+ >{{ item.fieldName }}</span
|
|
|
|
|
+ >
|
|
|
|
|
+ <div style="display: flex; align-items: center">
|
|
|
|
|
+ <i
|
|
|
|
|
+ v-if="item.fieldKey !== 'commitment_electr_signature'"
|
|
|
|
|
+ class="el-icon-warning-outline"
|
|
|
|
|
+ style="
|
|
|
|
|
+ font-weight: bold;
|
|
|
|
|
+ color: red;
|
|
|
|
|
+ font-size: 20px;
|
|
|
|
|
+ margin-right: 6px;
|
|
|
|
|
+ "
|
|
|
|
|
+ ></i>
|
|
|
|
|
+ <div v-if="item.fieldKey === 'recent_photos'">
|
|
|
|
|
+ 证件照竖向<br />文件大小下≤2M
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div v-if="item.fieldKey === 'idcard_face_photo'">
|
|
|
|
|
+ 人像面(横向)<br />文件大小下≤2M
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div v-if="item.fieldKey === 'idcard_national_photo'">
|
|
|
|
|
+ 国徽面(横向)<br />文件大小下≤2M
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div v-if="item.fieldKey === 'commitment_electr_signature'">
|
|
|
|
|
+ <p>
|
|
|
|
|
+ 本人自愿做出如下承诺:<br />本人己仔细阅读《广东
|
|
|
|
|
+ 省住房和城乡建设厅关于推进住房和城乡建设领域施
|
|
|
|
|
+ 工现场专业人员职业培训工作的通知》
|
|
|
|
|
+ 全部内容并知晓和理解,本人的学历证书、身份证、工作年限、相片等所有资料完全真实、符合报名条件、资格审查要求和相关规定,本人在报名、审查、培训、测试等有关的事项中会严格道守相关规定和要求,如有虛假或与实际规定不符等情况造成的一切后果由本人承担。<br />
|
|
|
|
|
+ 特此承诺!
|
|
|
|
|
+ </p>
|
|
|
|
|
+ <div>
|
|
|
|
|
+ <p style="color: red; text-align: center">
|
|
|
|
|
+ 签名板(请在此处进行签名)
|
|
|
|
|
+ </p>
|
|
|
|
|
+ <div class="poters">手动签名区</div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div v-else style="text-align: center">
|
|
|
|
|
+ <img
|
|
|
|
|
+ class="imgs"
|
|
|
|
|
+ src="../../../../assets/images/imgpng.png"
|
|
|
|
|
+ alt="加载失败"
|
|
|
|
|
+ />
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </li>
|
|
|
|
|
+ <li
|
|
|
|
|
+ :key="index"
|
|
|
|
|
+ v-if="item.inputType === 4"
|
|
|
|
|
+ class="borstyflex bgcFFF"
|
|
|
|
|
+ >
|
|
|
|
|
+ <div class="autoFlex" style="border: 1px solid transparent">
|
|
|
|
|
+ <span
|
|
|
|
|
+ ><i class="required" v-if="item.required">*</i
|
|
|
|
|
+ >{{ item.fieldName }}</span
|
|
|
|
|
+ >
|
|
|
|
|
+ <div style="display: flex; align-items: center">
|
|
|
|
|
+ <i
|
|
|
|
|
+ class="el-icon-warning-outline"
|
|
|
|
|
+ style="
|
|
|
|
|
+ font-weight: bold;
|
|
|
|
|
+ color: red;
|
|
|
|
|
+ font-size: 20px;
|
|
|
|
|
+ margin-right: 6px;
|
|
|
|
|
+ "
|
|
|
|
|
+ ></i>
|
|
|
|
|
+ <div
|
|
|
|
|
+ v-if="item.fieldKey === 'commitment_seal'"
|
|
|
|
|
+ style="font-size: 12px"
|
|
|
|
|
+ >
|
|
|
|
|
+ 下载承诺书进行填写盖章<br />并上传<br />文件大小下≤2M
|
|
|
|
|
+ <el-button type="text" @click="getDowm"
|
|
|
|
|
+ >点击下载</el-button
|
|
|
|
|
+ >
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div style="text-align: center">
|
|
|
|
|
+ <img
|
|
|
|
|
+ class="imgs"
|
|
|
|
|
+ src="../../../../assets/images/imgsqty.png"
|
|
|
|
|
+ alt="加载失败"
|
|
|
|
|
+ />
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </li>
|
|
|
</template>
|
|
</template>
|
|
|
</ul>
|
|
</ul>
|
|
|
</el-col>
|
|
</el-col>
|
|
@@ -408,6 +611,13 @@
|
|
|
/>
|
|
/>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
+ <search-box-new
|
|
|
|
|
+ ref="searchBox"
|
|
|
|
|
+ :formData="formData5"
|
|
|
|
|
+ :formList="formList5"
|
|
|
|
|
+ @search="getInfosCX(1)"
|
|
|
|
|
+ @init="init5"
|
|
|
|
|
+ />
|
|
|
<el-table
|
|
<el-table
|
|
|
ref="multipleTable"
|
|
ref="multipleTable"
|
|
|
:data="boxtableData"
|
|
:data="boxtableData"
|
|
@@ -473,12 +683,19 @@
|
|
|
>
|
|
>
|
|
|
</el-table>
|
|
</el-table>
|
|
|
<pagination
|
|
<pagination
|
|
|
|
|
+ :total="total5"
|
|
|
|
|
+ :pageSize="formData5.pageSize"
|
|
|
|
|
+ :currentPage="formData5.pageNum"
|
|
|
|
|
+ @handleSizeChange="handleSizeChange5"
|
|
|
|
|
+ @handleCurrentChange="handleCurrentChange5"
|
|
|
|
|
+ />
|
|
|
|
|
+ <!-- <pagination
|
|
|
:total="totalAss"
|
|
:total="totalAss"
|
|
|
:pageSize="pageSize"
|
|
:pageSize="pageSize"
|
|
|
:currentPage="currentPage"
|
|
:currentPage="currentPage"
|
|
|
@handleSizeChange="handleSizeChangeAss"
|
|
@handleSizeChange="handleSizeChangeAss"
|
|
|
@handleCurrentChange="handleCurrentChangeAss"
|
|
@handleCurrentChange="handleCurrentChangeAss"
|
|
|
- />
|
|
|
|
|
|
|
+ /> -->
|
|
|
<span slot="footer" class="dialog-footer">
|
|
<span slot="footer" class="dialog-footer">
|
|
|
<el-button @click="dialogVisibleAss = false">取 消</el-button>
|
|
<el-button @click="dialogVisibleAss = false">取 消</el-button>
|
|
|
<el-button
|
|
<el-button
|
|
@@ -569,12 +786,14 @@
|
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
-
|
|
|
|
|
|
|
+<!-- 输入类型 1输入框 2下拉选择 3上传文件 4下载文件 5时间选择器 -->
|
|
|
<script>
|
|
<script>
|
|
|
|
|
+import * as baseUrls from "@/utils/methodsTool.js";
|
|
|
|
|
+import searchBoxNew from "@/components/searchBoxNew";
|
|
|
import tableList from "@/components/tableList";
|
|
import tableList from "@/components/tableList";
|
|
|
import pagination from "@/components/pagination";
|
|
import pagination from "@/components/pagination";
|
|
|
export default {
|
|
export default {
|
|
|
- components: { tableList, pagination },
|
|
|
|
|
|
|
+ components: { searchBoxNew, tableList, pagination },
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
|
changeHeight: true,
|
|
changeHeight: true,
|
|
@@ -585,6 +804,7 @@ export default {
|
|
|
ch: "条",
|
|
ch: "条",
|
|
|
num: true,
|
|
num: true,
|
|
|
choice: true,
|
|
choice: true,
|
|
|
|
|
+ border: true,
|
|
|
addHide: false,
|
|
addHide: false,
|
|
|
backFatherBtn: {
|
|
backFatherBtn: {
|
|
|
status: false,
|
|
status: false,
|
|
@@ -640,6 +860,35 @@ export default {
|
|
|
pageSize: 10,
|
|
pageSize: 10,
|
|
|
pageNum: 1,
|
|
pageNum: 1,
|
|
|
},
|
|
},
|
|
|
|
|
+ //搜索
|
|
|
|
|
+ formList: [
|
|
|
|
|
+ {
|
|
|
|
|
+ prop: "educationId",
|
|
|
|
|
+ placeholder: "教育类型",
|
|
|
|
|
+ scope: "educationType",
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ prop: "businessId",
|
|
|
|
|
+ placeholder: "业务层次",
|
|
|
|
|
+ scope: "businessLevel",
|
|
|
|
|
+ edu: "educationId",
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ prop: "subjectId",
|
|
|
|
|
+ placeholder: "科目",
|
|
|
|
|
+ scope: "sujectType",
|
|
|
|
|
+ edu: "educationId",
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ prop: "type",
|
|
|
|
|
+ placeholder: "题目类型",
|
|
|
|
|
+ scope: "selectBank",
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ prop: "prefixName",
|
|
|
|
|
+ placeholder: "请输入标题前缀",
|
|
|
|
|
+ },
|
|
|
|
|
+ ],
|
|
|
total: 0, //一共多少条
|
|
total: 0, //一共多少条
|
|
|
options1: [],
|
|
options1: [],
|
|
|
options2: [],
|
|
options2: [],
|
|
@@ -702,9 +951,20 @@ export default {
|
|
|
userList: [],
|
|
userList: [],
|
|
|
|
|
|
|
|
activeLists: [],
|
|
activeLists: [],
|
|
|
- totalAss: 0,
|
|
|
|
|
- pageSize: 10,
|
|
|
|
|
- currentPage: 1,
|
|
|
|
|
|
|
+ total5: 0,
|
|
|
|
|
+ formData5: {
|
|
|
|
|
+ goodsType: 1,
|
|
|
|
|
+ status: 1,
|
|
|
|
|
+ goodsStatus: 1,
|
|
|
|
|
+ pageNum: 1,
|
|
|
|
|
+ pageSize: 10,
|
|
|
|
|
+ },
|
|
|
|
|
+ formList5: [
|
|
|
|
|
+ {
|
|
|
|
|
+ prop: "goodsName",
|
|
|
|
|
+ placeholder: "请输入商品名称",
|
|
|
|
|
+ },
|
|
|
|
|
+ ],
|
|
|
tableSetAss: [
|
|
tableSetAss: [
|
|
|
{
|
|
{
|
|
|
label: "商品编码",
|
|
label: "商品编码",
|
|
@@ -779,7 +1039,7 @@ export default {
|
|
|
],
|
|
],
|
|
|
boxtableDataIsActive: [],
|
|
boxtableDataIsActive: [],
|
|
|
dialogVisibleisActive: false,
|
|
dialogVisibleisActive: false,
|
|
|
- ars:'',//关联业务层级储存
|
|
|
|
|
|
|
+ ars: "", //关联业务层级储存
|
|
|
//表单验证
|
|
//表单验证
|
|
|
rules: {
|
|
rules: {
|
|
|
name: [{ required: true, message: "请输入模板标题", trigger: "blur" }],
|
|
name: [{ required: true, message: "请输入模板标题", trigger: "blur" }],
|
|
@@ -788,7 +1048,7 @@ export default {
|
|
|
],
|
|
],
|
|
|
status: [{ required: true, message: "请选择状态", trigger: "change" }],
|
|
status: [{ required: true, message: "请选择状态", trigger: "change" }],
|
|
|
},
|
|
},
|
|
|
- activeListGoods:[]
|
|
|
|
|
|
|
+ activeListGoods: [],
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
watch: {
|
|
watch: {
|
|
@@ -803,11 +1063,21 @@ export default {
|
|
|
this.getUserInfoList();
|
|
this.getUserInfoList();
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
- getActiveList(){
|
|
|
|
|
- this.$api.inquirebaseprofilefieldgoods_list().then(res =>{
|
|
|
|
|
- this.activeListGoods = res.data.map(Number)
|
|
|
|
|
- })
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ getDowm() {
|
|
|
|
|
+ let url = baseUrls.BASE_IMG_URL + "/oss/images/file/20211214.docx";
|
|
|
|
|
+ let link = document.createElement("a");
|
|
|
|
|
+ let fileName = "导入模板" + ".xlsx";
|
|
|
|
|
+ document.body.appendChild(link);
|
|
|
|
|
+ link.href = url;
|
|
|
|
|
+ link.dowmload = fileName;
|
|
|
|
|
+ link.click();
|
|
|
|
|
+ link.remove();
|
|
|
|
|
+ },
|
|
|
|
|
+ getActiveList() {
|
|
|
|
|
+ this.$api.inquirebaseprofilefieldgoods_list().then((res) => {
|
|
|
|
|
+ this.activeListGoods = res.data.map(Number);
|
|
|
|
|
+ });
|
|
|
|
|
+ },
|
|
|
delIsActive(item) {
|
|
delIsActive(item) {
|
|
|
this.boxtableDataIsActive = this.boxtableDataIsActive.filter((items) => {
|
|
this.boxtableDataIsActive = this.boxtableDataIsActive.filter((items) => {
|
|
|
return items.goodsId !== item.goodsId;
|
|
return items.goodsId !== item.goodsId;
|
|
@@ -863,15 +1133,15 @@ export default {
|
|
|
v.businessList.map((item) => {
|
|
v.businessList.map((item) => {
|
|
|
ars.push(item.businessId);
|
|
ars.push(item.businessId);
|
|
|
});
|
|
});
|
|
|
- this.ars = ars.toString()
|
|
|
|
|
|
|
+ this.ars = ars.toString();
|
|
|
this.$api
|
|
this.$api
|
|
|
.inquireGoods({
|
|
.inquireGoods({
|
|
|
- goodsType:1,
|
|
|
|
|
|
|
+ goodsType: 1,
|
|
|
businessIds: this.ars,
|
|
businessIds: this.ars,
|
|
|
- status: "0,1",
|
|
|
|
|
|
|
+ status: 1,
|
|
|
goodsStatus: 1,
|
|
goodsStatus: 1,
|
|
|
- pageNum: this.currentPage,
|
|
|
|
|
- pageSize: this.pageSize,
|
|
|
|
|
|
|
+ pageNum: 1,
|
|
|
|
|
+ pageSize: 10,
|
|
|
})
|
|
})
|
|
|
.then((res) => {
|
|
.then((res) => {
|
|
|
if (v.goodsIds) {
|
|
if (v.goodsIds) {
|
|
@@ -881,7 +1151,7 @@ export default {
|
|
|
this.disCheckList = [];
|
|
this.disCheckList = [];
|
|
|
}
|
|
}
|
|
|
this.boxtableData = res.rows;
|
|
this.boxtableData = res.rows;
|
|
|
- this.totalAss = res.total;
|
|
|
|
|
|
|
+ this.total5 = res.total;
|
|
|
this.dialogVisibleAss = true;
|
|
this.dialogVisibleAss = true;
|
|
|
this.id = v.profileTpId;
|
|
this.id = v.profileTpId;
|
|
|
this.$nextTick(function () {
|
|
this.$nextTick(function () {
|
|
@@ -905,28 +1175,27 @@ export default {
|
|
|
getRowKeys(row) {
|
|
getRowKeys(row) {
|
|
|
return row.goodsId;
|
|
return row.goodsId;
|
|
|
},
|
|
},
|
|
|
- handleSizeChangeAss(v) {
|
|
|
|
|
- this.pageSize = v;
|
|
|
|
|
- this.currentPage = 1;
|
|
|
|
|
- this.getInfosCX();
|
|
|
|
|
- },
|
|
|
|
|
- handleCurrentChangeAss(v) {
|
|
|
|
|
- this.currentPage = v;
|
|
|
|
|
- this.getInfosCX();
|
|
|
|
|
|
|
+ init5() {
|
|
|
|
|
+ this.getInfosCX(2);
|
|
|
},
|
|
},
|
|
|
- getInfosCX() {
|
|
|
|
|
- this.$api
|
|
|
|
|
- .inquireGoods({
|
|
|
|
|
- businessIds:this.ars,
|
|
|
|
|
- status: "0,1",
|
|
|
|
|
|
|
+ getInfosCX(int) {
|
|
|
|
|
+ if (int === 1) {
|
|
|
|
|
+ this.formData5.pageNum = 1;
|
|
|
|
|
+ }
|
|
|
|
|
+ if (int === 2) {
|
|
|
|
|
+ this.formData5 = {
|
|
|
|
|
+ goodsType: 1,
|
|
|
|
|
+ status: 1,
|
|
|
goodsStatus: 1,
|
|
goodsStatus: 1,
|
|
|
- pageNum: this.currentPage,
|
|
|
|
|
- pageSize: this.pageSize,
|
|
|
|
|
- })
|
|
|
|
|
- .then((res) => {
|
|
|
|
|
- this.boxtableData = res.rows;
|
|
|
|
|
- this.totalAss = res.total;
|
|
|
|
|
- });
|
|
|
|
|
|
|
+ pageNum: 1,
|
|
|
|
|
+ pageSize: 10,
|
|
|
|
|
+ };
|
|
|
|
|
+ }
|
|
|
|
|
+ this.formData5.businessIds = this.ars;
|
|
|
|
|
+ this.$api.inquireGoods(this.formData5).then((res) => {
|
|
|
|
|
+ this.boxtableData = res.rows;
|
|
|
|
|
+ this.total5 = res.total;
|
|
|
|
|
+ });
|
|
|
},
|
|
},
|
|
|
openYL() {
|
|
openYL() {
|
|
|
this.dialogVisYL = true;
|
|
this.dialogVisYL = true;
|
|
@@ -949,10 +1218,19 @@ export default {
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
changeStatus1s(item, index) {
|
|
changeStatus1s(item, index) {
|
|
|
|
|
+ console.log(this.pzList1sss, 123);
|
|
|
if (item.required) {
|
|
if (item.required) {
|
|
|
item.required = false;
|
|
item.required = false;
|
|
|
} else {
|
|
} else {
|
|
|
- item.required = true;
|
|
|
|
|
|
|
+ var ars = this.pzList1sss.some((items) => {
|
|
|
|
|
+ return items.fieldKey === item.fieldKey;
|
|
|
|
|
+ });
|
|
|
|
|
+ if (ars) {
|
|
|
|
|
+ item.required = true;
|
|
|
|
|
+ } else {
|
|
|
|
|
+ this.$message.warning("请先勾选相对应的配置项,再勾选对应必填项");
|
|
|
|
|
+ return;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
this.pzList1sss.map((items) => {
|
|
this.pzList1sss.map((items) => {
|
|
|
if (items.fieldKey === item.fieldKey) {
|
|
if (items.fieldKey === item.fieldKey) {
|
|
@@ -973,6 +1251,15 @@ export default {
|
|
|
if (item.required) {
|
|
if (item.required) {
|
|
|
item.required = false;
|
|
item.required = false;
|
|
|
} else {
|
|
} else {
|
|
|
|
|
+ var ars = this.pzList2sss.some((items) => {
|
|
|
|
|
+ return items.fieldKey === item.fieldKey;
|
|
|
|
|
+ });
|
|
|
|
|
+ if (ars) {
|
|
|
|
|
+ item.required = true;
|
|
|
|
|
+ } else {
|
|
|
|
|
+ this.$message.warning("请先勾选相对应的配置项,再勾选对应必填项");
|
|
|
|
|
+ return;
|
|
|
|
|
+ }
|
|
|
item.required = true;
|
|
item.required = true;
|
|
|
}
|
|
}
|
|
|
this.pzList2sss.map((items) => {
|
|
this.pzList2sss.map((items) => {
|
|
@@ -1025,6 +1312,11 @@ export default {
|
|
|
this.dialogVisibleLitsing1 = false;
|
|
this.dialogVisibleLitsing1 = false;
|
|
|
},
|
|
},
|
|
|
submitLitsing() {
|
|
submitLitsing() {
|
|
|
|
|
+ for(let i =0; i < this.pzList1sss.length;i++){
|
|
|
|
|
+ if(this.pzList1sss[i].fieldKey === 'commitment_seal'){
|
|
|
|
|
+ this.pzList1sss[i].url = '/oss/images/file/20211214.docx'
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
this.listData.keyValue = this.pzList1sss;
|
|
this.listData.keyValue = this.pzList1sss;
|
|
|
this.dialogVisibleLitsing1 = false;
|
|
this.dialogVisibleLitsing1 = false;
|
|
|
},
|
|
},
|
|
@@ -1057,8 +1349,14 @@ export default {
|
|
|
this.dialogVisibleLitsing2 = false;
|
|
this.dialogVisibleLitsing2 = false;
|
|
|
},
|
|
},
|
|
|
submitLitsing2() {
|
|
submitLitsing2() {
|
|
|
|
|
+ for(let i =0; i < this.pzList2sss.length;i++){
|
|
|
|
|
+ if(this.pzList2sss[i].fieldKey === 'commitment_seal'){
|
|
|
|
|
+ this.pzList2sss[i].url = '/oss/images/file/20211214.docx'
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
this.listData.keyValue2 = this.pzList2sss;
|
|
this.listData.keyValue2 = this.pzList2sss;
|
|
|
this.dialogVisibleLitsing2 = false;
|
|
this.dialogVisibleLitsing2 = false;
|
|
|
|
|
+ console.log(this.pzList2sss)
|
|
|
},
|
|
},
|
|
|
getMessage() {
|
|
getMessage() {
|
|
|
if (!this.eduType) {
|
|
if (!this.eduType) {
|
|
@@ -1089,14 +1387,14 @@ export default {
|
|
|
this.itemOption2 = array;
|
|
this.itemOption2 = array;
|
|
|
},
|
|
},
|
|
|
initOptions() {
|
|
initOptions() {
|
|
|
- this.$api.inquireCourseEducationType().then((res) => {
|
|
|
|
|
|
|
+ this.$api.inquireCourseEducationType({ status: 1 }).then((res) => {
|
|
|
var array = [];
|
|
var array = [];
|
|
|
res.rows.map((item) => {
|
|
res.rows.map((item) => {
|
|
|
array.push({ label: item.educationName, value: item.id });
|
|
array.push({ label: item.educationName, value: item.id });
|
|
|
});
|
|
});
|
|
|
this.options1 = array;
|
|
this.options1 = array;
|
|
|
});
|
|
});
|
|
|
- this.$api.inquirebusinessList().then((res) => {
|
|
|
|
|
|
|
+ this.$api.inquirebusinessList({status:1}).then((res) => {
|
|
|
this.courseProjectType = res.rows;
|
|
this.courseProjectType = res.rows;
|
|
|
this.options2 = res.rows;
|
|
this.options2 = res.rows;
|
|
|
});
|
|
});
|
|
@@ -1122,7 +1420,7 @@ export default {
|
|
|
this.tableData = res.rows;
|
|
this.tableData = res.rows;
|
|
|
this.total = res.total;
|
|
this.total = res.total;
|
|
|
this.navText.index = res.total;
|
|
this.navText.index = res.total;
|
|
|
- this.getActiveList()
|
|
|
|
|
|
|
+ this.getActiveList();
|
|
|
})
|
|
})
|
|
|
.finally(() => {
|
|
.finally(() => {
|
|
|
this.loading = false;
|
|
this.loading = false;
|
|
@@ -1247,11 +1545,23 @@ export default {
|
|
|
this.formData.pageNum = v;
|
|
this.formData.pageNum = v;
|
|
|
this.search();
|
|
this.search();
|
|
|
},
|
|
},
|
|
|
|
|
+ handleSizeChange5(v) {
|
|
|
|
|
+ this.formData5.pageSize = v;
|
|
|
|
|
+ this.formData5.pageNum = 1;
|
|
|
|
|
+ this.getInfosCX();
|
|
|
|
|
+ },
|
|
|
|
|
+ handleCurrentChange5(v) {
|
|
|
|
|
+ this.formData5.pageNum = v;
|
|
|
|
|
+ this.getInfosCX();
|
|
|
|
|
+ },
|
|
|
},
|
|
},
|
|
|
};
|
|
};
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="less" scoped>
|
|
<style lang="less" scoped>
|
|
|
|
|
+.bgcFFF {
|
|
|
|
|
+ background-color: #fff;
|
|
|
|
|
+}
|
|
|
.dis_fls {
|
|
.dis_fls {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
align-items: center;
|
|
align-items: center;
|
|
@@ -1312,14 +1622,25 @@ export default {
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
|
border: 1px solid #eee;
|
|
border: 1px solid #eee;
|
|
|
- height: 50px;
|
|
|
|
|
padding: 0px 18px;
|
|
padding: 0px 18px;
|
|
|
margin-bottom: 4px;
|
|
margin-bottom: 4px;
|
|
|
|
|
+ min-height: 50px;
|
|
|
.required {
|
|
.required {
|
|
|
color: brown;
|
|
color: brown;
|
|
|
margin-right: 6px;
|
|
margin-right: 6px;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+.borstyflex {
|
|
|
|
|
+ border: 1px solid #eee;
|
|
|
|
|
+ padding: 0px 18px;
|
|
|
|
|
+ margin-bottom: 4px;
|
|
|
|
|
+ .imgs {
|
|
|
|
|
+ width: 280px;
|
|
|
|
|
+ height: 190px;
|
|
|
|
|
+ border: 1px solid #eee;
|
|
|
|
|
+ margin-bottom: 6px;
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
/deep/.el-button {
|
|
/deep/.el-button {
|
|
|
border-radius: 8px;
|
|
border-radius: 8px;
|
|
|
}
|
|
}
|
|
@@ -1443,5 +1764,15 @@ export default {
|
|
|
border-bottom: 1px dashed #eee;
|
|
border-bottom: 1px dashed #eee;
|
|
|
padding-bottom: 6px;
|
|
padding-bottom: 6px;
|
|
|
}
|
|
}
|
|
|
|
|
+.poters {
|
|
|
|
|
+ border-radius: 4px;
|
|
|
|
|
+ border: 1px solid #666;
|
|
|
|
|
+ background-color: #eee;
|
|
|
|
|
+ text-align: center;
|
|
|
|
|
+ height: 100px;
|
|
|
|
|
+ line-height: 100px;
|
|
|
|
|
+ color: #999;
|
|
|
|
|
+ margin-bottom: 6px;
|
|
|
|
|
+}
|
|
|
</style>
|
|
</style>
|
|
|
|
|
|