|
@@ -54,6 +54,7 @@
|
|
<p class="enterprise">企业</p>
|
|
<p class="enterprise">企业</p>
|
|
<p class="enterprise_tw" @click="handleAdd">
|
|
<p class="enterprise_tw" @click="handleAdd">
|
|
<i class="el-icon-circle-plus-outline"></i>添加企业
|
|
<i class="el-icon-circle-plus-outline"></i>添加企业
|
|
|
|
+ <i style="color: red;">*</i>
|
|
</p>
|
|
</p>
|
|
<el-table v-loading="loading" :data="configList">
|
|
<el-table v-loading="loading" :data="configList">
|
|
<!-- <el-table-column type="selection" width="55" align="center" /> -->
|
|
<!-- <el-table-column type="selection" width="55" align="center" /> -->
|
|
@@ -102,6 +103,7 @@
|
|
<p class="enterprise">自然人</p>
|
|
<p class="enterprise">自然人</p>
|
|
<p class="enterprise_tw" @click="handleAddtwo">
|
|
<p class="enterprise_tw" @click="handleAddtwo">
|
|
<i class="el-icon-circle-plus-outline"></i>添加自然人
|
|
<i class="el-icon-circle-plus-outline"></i>添加自然人
|
|
|
|
+ <i style="color: red;">*</i>
|
|
</p>
|
|
</p>
|
|
<el-table v-loading="loading" :data="configListtwoL">
|
|
<el-table v-loading="loading" :data="configListtwoL">
|
|
<!-- <el-table-column type="selection" width="55" align="center" /> -->
|
|
<!-- <el-table-column type="selection" width="55" align="center" /> -->
|
|
@@ -179,24 +181,27 @@
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<!-- <div v-if="queryParams.referralList == null" > -->
|
|
<!-- <div v-if="queryParams.referralList == null" > -->
|
|
- <el-form-item label="引荐单位:" prop="sysDeptId" style="width: 24% ; margin-right: 0;">
|
|
|
|
|
|
+ <el-form-item label="引荐单位:" style="width: 23% ; margin-right: 0;" :rules="[{ required: true, message: '请输入引荐单位', trigger: 'blur' }]" class="yije">
|
|
|
|
+ <!-- <treeselect :multiple="false" v-model="queryParams.referralList[0].sysDeptId" :normalizer="normalizer" :options="typeOptionstwo" :maxHeight="150" @select="djieskle" placeholder="请选择归属部门" /> -->
|
|
<el-cascader
|
|
<el-cascader
|
|
- v-model="queryParams.referralList[0].sysDeptId"
|
|
|
|
|
|
+ v-model="queryParams.referralList[0].sysDeptId "
|
|
:show-all-levels="false"
|
|
:show-all-levels="false"
|
|
:disabled="disfal"
|
|
:disabled="disfal"
|
|
:options="typeOptionstwo"
|
|
:options="typeOptionstwo"
|
|
@change="handleChange"
|
|
@change="handleChange"
|
|
style="width: 128px"
|
|
style="width: 128px"
|
|
|
|
+ :props="{checkStrictly: true,value:'id',label:'label',children: 'children'}"
|
|
></el-cascader>
|
|
></el-cascader>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<el-form-item
|
|
<el-form-item
|
|
label="省外股东占比:"
|
|
label="省外股东占比:"
|
|
style="width: 20%"
|
|
style="width: 20%"
|
|
class="fenpe"
|
|
class="fenpe"
|
|
- prop="investmentAllcocation"
|
|
|
|
|
|
+ :prop="queryParams.referralList[0].investmentAllcocation + ''"
|
|
|
|
+ :rules="[{ required: true, message: '请输入省外股东占比', trigger: 'blur' }]"
|
|
>
|
|
>
|
|
<el-input
|
|
<el-input
|
|
- v-model="queryParams.referralList[0].investmentAllcocation"
|
|
|
|
|
|
+ v-model="queryParams.referralList[0].investmentAllcocation "
|
|
placeholder="数"
|
|
placeholder="数"
|
|
clearable
|
|
clearable
|
|
:disabled="disfal"
|
|
:disabled="disfal"
|
|
@@ -206,7 +211,7 @@
|
|
/>
|
|
/>
|
|
<span class="souu">%</span>
|
|
<span class="souu">%</span>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
- <el-form-item label="引荐方联系人:" prop="referral" style="width: 21%;margin-right: 0;">
|
|
|
|
|
|
+ <el-form-item label="引荐方联系人:" :prop="queryParams.referralList[0].referral" style="width: 22%; margin-right: 0;" :rules="[{ required: true, message: '请输入引荐方联系人', trigger: 'blur' }]">
|
|
<el-input
|
|
<el-input
|
|
v-model="queryParams.referralList[0].referral"
|
|
v-model="queryParams.referralList[0].referral"
|
|
placeholder="请输入"
|
|
placeholder="请输入"
|
|
@@ -220,8 +225,10 @@
|
|
|
|
|
|
<el-form-item
|
|
<el-form-item
|
|
label="引荐方联系方式:"
|
|
label="引荐方联系方式:"
|
|
- prop="referralPhone"
|
|
|
|
- style="width: 33%;margin-right: 0;"
|
|
|
|
|
|
+ :prop="queryParams.referralList[0].referralPhone"
|
|
|
|
+ style="width: 34%;margin-right: 0;"
|
|
|
|
+ class="yiuejg"
|
|
|
|
+ :rules="[{ required: true, message: '请输入引荐方联系方式', trigger: 'blur' }]"
|
|
>
|
|
>
|
|
<el-input
|
|
<el-input
|
|
v-model="queryParams.referralList[0].referralPhone"
|
|
v-model="queryParams.referralList[0].referralPhone"
|
|
@@ -232,7 +239,7 @@
|
|
@keyup.enter.native="handleQuery"
|
|
@keyup.enter.native="handleQuery"
|
|
/>
|
|
/>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
- <el-form-item label="引荐单位:" style="width: 24%;margin-right: 0;" prop="sysDeptId">
|
|
|
|
|
|
+ <el-form-item class="yije" label="引荐单位:" style="width: 23%;margin-right: 0;" >
|
|
<el-cascader
|
|
<el-cascader
|
|
:show-all-levels="false"
|
|
:show-all-levels="false"
|
|
v-model="queryParams.referralList[1].sysDeptId"
|
|
v-model="queryParams.referralList[1].sysDeptId"
|
|
@@ -240,13 +247,14 @@
|
|
style="width: 128px"
|
|
style="width: 128px"
|
|
:disabled="disfal"
|
|
:disabled="disfal"
|
|
@change="handleChangete"
|
|
@change="handleChangete"
|
|
|
|
+ :props="{checkStrictly: true,value:'id',label:'label',children: 'children'}"
|
|
></el-cascader>
|
|
></el-cascader>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<el-form-item
|
|
<el-form-item
|
|
label="省外股东占比:"
|
|
label="省外股东占比:"
|
|
- style="width: 18%;margin-right: 0;"
|
|
|
|
|
|
+ style="width: 20%;margin-right: 0;"
|
|
class="fenpe"
|
|
class="fenpe"
|
|
- prop="investmentAllcocation"
|
|
|
|
|
|
+ :prop="queryParams.referralList[1].investmentAllcocation + ''"
|
|
>
|
|
>
|
|
<el-input
|
|
<el-input
|
|
v-model="queryParams.referralList[1].investmentAllcocation"
|
|
v-model="queryParams.referralList[1].investmentAllcocation"
|
|
@@ -259,7 +267,7 @@
|
|
/>
|
|
/>
|
|
<span class="souu">%</span>
|
|
<span class="souu">%</span>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
- <el-form-item label="引荐方联系人:" prop="referral" style="width: 21%;margin-right: 0;">
|
|
|
|
|
|
+ <el-form-item label="引荐方联系人:" style="width: 22%;margin-right: 0;">
|
|
<el-input
|
|
<el-input
|
|
v-model="queryParams.referralList[1].referral"
|
|
v-model="queryParams.referralList[1].referral"
|
|
placeholder="请输入"
|
|
placeholder="请输入"
|
|
@@ -273,8 +281,8 @@
|
|
|
|
|
|
<el-form-item
|
|
<el-form-item
|
|
label="引荐方联系方式:"
|
|
label="引荐方联系方式:"
|
|
- prop="referralPhone"
|
|
|
|
- style="width: 33%"
|
|
|
|
|
|
+ style="width: 34%"
|
|
|
|
+ class="yiuejg"
|
|
>
|
|
>
|
|
<el-input
|
|
<el-input
|
|
v-model="queryParams.referralList[1].referralPhone"
|
|
v-model="queryParams.referralList[1].referralPhone"
|
|
@@ -623,11 +631,33 @@
|
|
>
|
|
>
|
|
<el-form ref="form" :model="form" :rules="rules" label-width="150px">
|
|
<el-form ref="form" :model="form" :rules="rules" label-width="150px">
|
|
<el-form-item label="企业名称" prop="companyName">
|
|
<el-form-item label="企业名称" prop="companyName">
|
|
- <el-input
|
|
|
|
|
|
+ <!-- <el-input
|
|
v-model="form.companyName"
|
|
v-model="form.companyName"
|
|
:disabled="disfal"
|
|
:disabled="disfal"
|
|
placeholder="请输入企业名称"
|
|
placeholder="请输入企业名称"
|
|
- />
|
|
|
|
|
|
+ @blur="blures"
|
|
|
|
+ /> -->
|
|
|
|
+ <!-- :remote-method="querySearch" -->
|
|
|
|
+ <!-- <el-select
|
|
|
|
+ ref="headerSearchSelect"
|
|
|
|
+ v-model="form.companyName"
|
|
|
|
+ filterable
|
|
|
|
+ default-first-option
|
|
|
|
+ remote
|
|
|
|
+ placeholder="请输入企业名称"
|
|
|
|
+ class="header-search-select"
|
|
|
|
+ @change="changetyu"
|
|
|
|
+ >
|
|
|
|
+ <el-option v-for="option in options" :key="option.item.path" :value="option.item" :label="option.item.title.join(' > ')" />
|
|
|
|
+ </el-select> -->
|
|
|
|
+ <el-autocomplete
|
|
|
|
+ v-model="form.companyName"
|
|
|
|
+ :fetch-suggestions="querySearchAsync"
|
|
|
|
+ placeholder="请输入企业名称"
|
|
|
|
+ @select="handleSelecthuey"
|
|
|
|
+ :trigger-on-focus="false"
|
|
|
|
+ style="width: 100%;"
|
|
|
|
+ ></el-autocomplete>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<el-form-item label="企业所在地" prop="companyAddress">
|
|
<el-form-item label="企业所在地" prop="companyAddress">
|
|
<el-input
|
|
<el-input
|
|
@@ -685,6 +715,13 @@
|
|
:rules="rulestwo"
|
|
:rules="rulestwo"
|
|
label-width="150px"
|
|
label-width="150px"
|
|
>
|
|
>
|
|
|
|
+ <el-form-item label="身份证号码" prop="idcode">
|
|
|
|
+ <el-input
|
|
|
|
+ :disabled="disfal"
|
|
|
|
+ v-model="formtwo.idcode"
|
|
|
|
+ placeholder="请输入身份证号码"
|
|
|
|
+ />
|
|
|
|
+ </el-form-item>
|
|
<el-form-item label="姓名" prop="name">
|
|
<el-form-item label="姓名" prop="name">
|
|
<el-input
|
|
<el-input
|
|
:disabled="disfal"
|
|
:disabled="disfal"
|
|
@@ -699,13 +736,7 @@
|
|
placeholder="请输入自然人所在地"
|
|
placeholder="请输入自然人所在地"
|
|
/>
|
|
/>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
- <el-form-item label="身份证号码" prop="idcode">
|
|
|
|
- <el-input
|
|
|
|
- :disabled="disfal"
|
|
|
|
- v-model="formtwo.idcode"
|
|
|
|
- placeholder="请输入身份证号码"
|
|
|
|
- />
|
|
|
|
- </el-form-item>
|
|
|
|
|
|
+
|
|
<!-- <el-form-item label="系统内置" prop="configType">
|
|
<!-- <el-form-item label="系统内置" prop="configType">
|
|
<el-radio-group v-model="form.configType">
|
|
<el-radio-group v-model="form.configType">
|
|
<el-radio
|
|
<el-radio
|
|
@@ -751,15 +782,21 @@ import {
|
|
addConfigtwo,
|
|
addConfigtwo,
|
|
addConfigalking,
|
|
addConfigalking,
|
|
addConfigbout,
|
|
addConfigbout,
|
|
|
|
+ addConfigboutty,
|
|
updateConfig,
|
|
updateConfig,
|
|
updateConfigtwo,
|
|
updateConfigtwo,
|
|
updateConfigalking,
|
|
updateConfigalking,
|
|
exportConfig,
|
|
exportConfig,
|
|
clearCache,
|
|
clearCache,
|
|
|
|
+ listConfigname
|
|
} from "@/api/system/config";
|
|
} from "@/api/system/config";
|
|
import { setExamine, setBack, setReject } from "@/api/projectInfo/info.js";
|
|
import { setExamine, setBack, setReject } from "@/api/projectInfo/info.js";
|
|
|
|
+import { treeselect } from '@/api/system/dept';
|
|
|
|
+import Treeselect from '@riophae/vue-treeselect';
|
|
|
|
+import '@riophae/vue-treeselect/dist/vue-treeselect.css';
|
|
export default {
|
|
export default {
|
|
name: "Config",
|
|
name: "Config",
|
|
|
|
+ components: { Treeselect },
|
|
props: {
|
|
props: {
|
|
// queryParams: Object,
|
|
// queryParams: Object,
|
|
tabIndex: Number,
|
|
tabIndex: Number,
|
|
@@ -795,8 +832,9 @@ export default {
|
|
open: false,
|
|
open: false,
|
|
opentwo: false,
|
|
opentwo: false,
|
|
// 类型数据字典
|
|
// 类型数据字典
|
|
|
|
+ options:[],
|
|
typeOptions: [],
|
|
typeOptions: [],
|
|
- typeOptionstwo: [],
|
|
|
|
|
|
+ typeOptionstwo: undefined,
|
|
typeOptionstwos: [],
|
|
typeOptionstwos: [],
|
|
typeOptionstwoss: [],
|
|
typeOptionstwoss: [],
|
|
// 日期范围
|
|
// 日期范围
|
|
@@ -809,15 +847,15 @@ export default {
|
|
referralList: [
|
|
referralList: [
|
|
{
|
|
{
|
|
bmProjectId: "",
|
|
bmProjectId: "",
|
|
- sysDeptId: "",
|
|
|
|
- investmentAllcocation: "",
|
|
|
|
|
|
+ sysDeptId: undefined,
|
|
|
|
+ investmentAllcocation: '',
|
|
referral: "",
|
|
referral: "",
|
|
referralPhone: "",
|
|
referralPhone: "",
|
|
},
|
|
},
|
|
{
|
|
{
|
|
bmProjectId: "",
|
|
bmProjectId: "",
|
|
- sysDeptId: "",
|
|
|
|
- investmentAllcocation: "",
|
|
|
|
|
|
+ sysDeptId: undefined,
|
|
|
|
+ investmentAllcocation: '',
|
|
referral: "",
|
|
referral: "",
|
|
referralPhone: "",
|
|
referralPhone: "",
|
|
},
|
|
},
|
|
@@ -828,7 +866,11 @@ export default {
|
|
disabled: false,
|
|
disabled: false,
|
|
bmProjectId: 0,
|
|
bmProjectId: 0,
|
|
// 表单参数
|
|
// 表单参数
|
|
- form: {},
|
|
|
|
|
|
+ form: {
|
|
|
|
+ companyCode:'',
|
|
|
|
+ companyName:'',
|
|
|
|
+ companyLegal:''
|
|
|
|
+ },
|
|
formtwo: {},
|
|
formtwo: {},
|
|
queryFormhye: {},
|
|
queryFormhye: {},
|
|
fileList: [],
|
|
fileList: [],
|
|
@@ -865,15 +907,6 @@ export default {
|
|
address: [
|
|
address: [
|
|
{ required: true, message: "所在地不能为空", trigger: "blur" },
|
|
{ required: true, message: "所在地不能为空", trigger: "blur" },
|
|
],
|
|
],
|
|
- idcode: [
|
|
|
|
- { required: true, message: "身份证号码不能为空", trigger: "blur" },
|
|
|
|
- {
|
|
|
|
- pattern:
|
|
|
|
- /(^[1-9]\d{5}(18|19|([23]\d))\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$)/,
|
|
|
|
- message: "身份证号码格式不对",
|
|
|
|
- trigger: "blur",
|
|
|
|
- },
|
|
|
|
- ],
|
|
|
|
phone: [
|
|
phone: [
|
|
{ required: true, message: "联系方式不能为空", trigger: "blur" },
|
|
{ required: true, message: "联系方式不能为空", trigger: "blur" },
|
|
{
|
|
{
|
|
@@ -946,6 +979,7 @@ export default {
|
|
value: [],
|
|
value: [],
|
|
valuess: [],
|
|
valuess: [],
|
|
values: [],
|
|
values: [],
|
|
|
|
+ resets:[]
|
|
};
|
|
};
|
|
},
|
|
},
|
|
created() {
|
|
created() {
|
|
@@ -999,13 +1033,14 @@ export default {
|
|
console.log(value);
|
|
console.log(value);
|
|
},
|
|
},
|
|
handleChangete(value) {
|
|
handleChangete(value) {
|
|
|
|
+ console.log(value)
|
|
if (value.length == 1) {
|
|
if (value.length == 1) {
|
|
this.queryParams.referralList[1].sysDeptId = value.join(",");
|
|
this.queryParams.referralList[1].sysDeptId = value.join(",");
|
|
} else {
|
|
} else {
|
|
this.queryParams.referralList[1].sysDeptId = value[value.length - 1];
|
|
this.queryParams.referralList[1].sysDeptId = value[value.length - 1];
|
|
}
|
|
}
|
|
//1
|
|
//1
|
|
- console.log(value);
|
|
|
|
|
|
+ console.log(value[value.length - 1]);
|
|
},
|
|
},
|
|
handleChangess(value) {
|
|
handleChangess(value) {
|
|
console.log(value);
|
|
console.log(value);
|
|
@@ -1019,7 +1054,7 @@ export default {
|
|
type: "warning",
|
|
type: "warning",
|
|
})
|
|
})
|
|
.then(function () {
|
|
.then(function () {
|
|
- return setExamine({
|
|
|
|
|
|
+ return addConfigbout({
|
|
code: 3,
|
|
code: 3,
|
|
bmProjectId: that.bmProjectId,
|
|
bmProjectId: that.bmProjectId,
|
|
});
|
|
});
|
|
@@ -1051,6 +1086,9 @@ export default {
|
|
this.msgSuccess("驳回成功");
|
|
this.msgSuccess("驳回成功");
|
|
});
|
|
});
|
|
},
|
|
},
|
|
|
|
+ blures(val){
|
|
|
|
+ console.log(val )
|
|
|
|
+ },
|
|
submitUpload() {
|
|
submitUpload() {
|
|
this.$refs.upload.submit();
|
|
this.$refs.upload.submit();
|
|
},
|
|
},
|
|
@@ -1103,14 +1141,14 @@ export default {
|
|
{
|
|
{
|
|
bmProjectId: this.bmProjectId,
|
|
bmProjectId: this.bmProjectId,
|
|
sysDeptId: "",
|
|
sysDeptId: "",
|
|
- investmentAllcocation: "",
|
|
|
|
|
|
+ investmentAllcocation: '',
|
|
referral: "",
|
|
referral: "",
|
|
referralPhone: "",
|
|
referralPhone: "",
|
|
},
|
|
},
|
|
{
|
|
{
|
|
bmProjectId: this.bmProjectId,
|
|
bmProjectId: this.bmProjectId,
|
|
sysDeptId: "",
|
|
sysDeptId: "",
|
|
- investmentAllcocation: "",
|
|
|
|
|
|
+ investmentAllcocation: '',
|
|
referral: "",
|
|
referral: "",
|
|
referralPhone: "",
|
|
referralPhone: "",
|
|
},
|
|
},
|
|
@@ -1120,20 +1158,30 @@ export default {
|
|
} else if (response.data !== undefined) {
|
|
} else if (response.data !== undefined) {
|
|
//修改
|
|
//修改
|
|
this.sbuen = 1;
|
|
this.sbuen = 1;
|
|
|
|
+ if(response.data.referralList !== null || response.data.referralList.length !==0){
|
|
|
|
+ if(response.data.referralList.length == 1 ){
|
|
|
|
+ response.data.referralList[0].sysDeptId = response.data.referralList[0].sysDeptId - 0
|
|
|
|
+ }
|
|
|
|
+ if(response.data.referralList.length !== 1){
|
|
|
|
+ response.data.referralList[0].sysDeptId = response.data.referralList[0].sysDeptId - 0
|
|
|
|
+ response.data.referralList[1].sysDeptId = response.data.referralList[1].sysDeptId - 0
|
|
|
|
+ }
|
|
|
|
+ }
|
|
this.queryParams = response.data;
|
|
this.queryParams = response.data;
|
|
|
|
+ console.log(response.data,9876)
|
|
if (this.queryParams.referralList == null) {
|
|
if (this.queryParams.referralList == null) {
|
|
this.queryParams.referralList = [
|
|
this.queryParams.referralList = [
|
|
{
|
|
{
|
|
bmProjectId: this.bmProjectId,
|
|
bmProjectId: this.bmProjectId,
|
|
- sysDeptId: "",
|
|
|
|
- investmentAllcocation: "",
|
|
|
|
|
|
+ sysDeptId: undefined,
|
|
|
|
+ investmentAllcocation: '',
|
|
referral: "",
|
|
referral: "",
|
|
referralPhone: "",
|
|
referralPhone: "",
|
|
},
|
|
},
|
|
{
|
|
{
|
|
bmProjectId: this.bmProjectId,
|
|
bmProjectId: this.bmProjectId,
|
|
- sysDeptId: "",
|
|
|
|
- investmentAllcocation: "",
|
|
|
|
|
|
+ sysDeptId: undefined,
|
|
|
|
+ investmentAllcocation: '',
|
|
referral: "",
|
|
referral: "",
|
|
referralPhone: "",
|
|
referralPhone: "",
|
|
},
|
|
},
|
|
@@ -1145,21 +1193,43 @@ export default {
|
|
this.queryParams.referralList = [
|
|
this.queryParams.referralList = [
|
|
{
|
|
{
|
|
bmProjectId: this.bmProjectId,
|
|
bmProjectId: this.bmProjectId,
|
|
- sysDeptId: response.data.referralList[0].sysDeptId,
|
|
|
|
|
|
+ sysDeptId: response.data.referralList[0].sysDeptId ,
|
|
investmentAllcocation:
|
|
investmentAllcocation:
|
|
- response.data.referralList[0].investmentAllcocation,
|
|
|
|
|
|
+ response.data.referralList[0].investmentAllcocation + '',
|
|
referral: response.data.referralList[0].referral,
|
|
referral: response.data.referralList[0].referral,
|
|
referralPhone: response.data.referralList[0].referralPhone,
|
|
referralPhone: response.data.referralList[0].referralPhone,
|
|
},
|
|
},
|
|
{
|
|
{
|
|
bmProjectId: this.bmProjectId,
|
|
bmProjectId: this.bmProjectId,
|
|
- sysDeptId: "",
|
|
|
|
|
|
+ sysDeptId: undefined,
|
|
investmentAllcocation: "",
|
|
investmentAllcocation: "",
|
|
referral: "",
|
|
referral: "",
|
|
referralPhone: "",
|
|
referralPhone: "",
|
|
},
|
|
},
|
|
];
|
|
];
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ if(this.queryParams.referralList.length == 2){
|
|
|
|
+ console.log()
|
|
|
|
+ this.queryParams.referralList = [
|
|
|
|
+ {
|
|
|
|
+ bmProjectId: this.bmProjectId,
|
|
|
|
+ sysDeptId: response.data.referralList[0].sysDeptId ,
|
|
|
|
+ investmentAllcocation:
|
|
|
|
+ response.data.referralList[0].investmentAllcocation ,
|
|
|
|
+ referral: response.data.referralList[0].referral,
|
|
|
|
+ referralPhone: response.data.referralList[0].referralPhone,
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ bmProjectId: this.bmProjectId,
|
|
|
|
+ sysDeptId: response.data.referralList[1].sysDeptId ,
|
|
|
|
+ investmentAllcocation:
|
|
|
|
+ response.data.referralList[1].investmentAllcocation ,
|
|
|
|
+ referral: response.data.referralList[1].referral,
|
|
|
|
+ referralPhone: response.data.referralList[1].referralPhone,
|
|
|
|
+ },
|
|
|
|
+ ];
|
|
|
|
+ }
|
|
// this.queryParams.phone = 987
|
|
// this.queryParams.phone = 987
|
|
console.log(this.queryParams, 98755);
|
|
console.log(this.queryParams, 98755);
|
|
// this.queryParams = this.queryParams.bmProjectId
|
|
// this.queryParams = this.queryParams.bmProjectId
|
|
@@ -1210,12 +1280,14 @@ export default {
|
|
listConfigfieu().then((response) => {
|
|
listConfigfieu().then((response) => {
|
|
console.log(response);
|
|
console.log(response);
|
|
|
|
|
|
- if (response.data !== undefined) {
|
|
|
|
- this.typeOptionstwo = response.data;
|
|
|
|
- this.dietj(this.typeOptionstwo);
|
|
|
|
- }
|
|
|
|
- (this.typeOptionstwos = response.data),
|
|
|
|
- (this.typeOptionstwoss = response.data),
|
|
|
|
|
|
+ // if (response.data !== undefined) {
|
|
|
|
+ // this.typeOptionstwo = response.data;
|
|
|
|
+ // console.log(123457,this.typeOptionstwo)
|
|
|
|
+ // // this.dietj(this.typeOptionstwo);
|
|
|
|
+ // }
|
|
|
|
+ this.typeOptionstwo = response.data;
|
|
|
|
+ this.typeOptionstwos = response.data,
|
|
|
|
+ this.typeOptionstwoss = response.data,
|
|
// this.typeOptionstwo.filter((route) => {
|
|
// this.typeOptionstwo.filter((route) => {
|
|
// route.value = route.id
|
|
// route.value = route.id
|
|
// route.children.filter((router) =>{
|
|
// route.children.filter((router) =>{
|
|
@@ -1231,7 +1303,7 @@ export default {
|
|
|
|
|
|
// this.fileList = this.queryParams.attachment
|
|
// this.fileList = this.queryParams.attachment
|
|
// this.total = response.total;
|
|
// this.total = response.total;
|
|
- (this.loading = false);
|
|
|
|
|
|
+ this.loading = false;
|
|
});
|
|
});
|
|
},
|
|
},
|
|
//递归
|
|
//递归
|
|
@@ -1408,10 +1480,6 @@ export default {
|
|
this.msgSuccess("请填写引荐方信息");
|
|
this.msgSuccess("请填写引荐方信息");
|
|
return false
|
|
return false
|
|
}
|
|
}
|
|
- if(this.queryParams.referralList[1].investmentAllcocation== '' || this.queryParams.referralList[1].referral== '' || this.queryParams.referralList[1].referralPhone== '' || this.queryParams.referralList[1].sysDeptId== '' ){
|
|
|
|
- this.msgSuccess("请填写引荐方信息");
|
|
|
|
- return false
|
|
|
|
- }
|
|
|
|
this.$refs["queryParams"].validate((valid) => {
|
|
this.$refs["queryParams"].validate((valid) => {
|
|
if (valid) {
|
|
if (valid) {
|
|
if (this.sbuen == 1) {
|
|
if (this.sbuen == 1) {
|
|
@@ -1431,10 +1499,10 @@ export default {
|
|
// this.queryParams.referralList[1].sysDeptId = this.queryParams.referralList[1].sysDeptId.pop()
|
|
// this.queryParams.referralList[1].sysDeptId = this.queryParams.referralList[1].sysDeptId.pop()
|
|
// }
|
|
// }
|
|
// this.queryParams.bmProjectId = this.bmProjectId
|
|
// this.queryParams.bmProjectId = this.bmProjectId
|
|
- //console.log(this.queryParams, 87);
|
|
|
|
|
|
+ console.log(this.queryParams, 87);
|
|
addConfigalking(this.queryParams).then((response) => {
|
|
addConfigalking(this.queryParams).then((response) => {
|
|
- //console.log(response);
|
|
|
|
- //this.msgSuccess("新增成功");
|
|
|
|
|
|
+ console.log(response);
|
|
|
|
+ this.msgSuccess("新增成功");
|
|
this.submitCtion();
|
|
this.submitCtion();
|
|
});
|
|
});
|
|
}
|
|
}
|
|
@@ -1445,7 +1513,8 @@ export default {
|
|
// this.msgSuccess("请点击暂存按钮,返回上级页面进行提交");
|
|
// this.msgSuccess("请点击暂存按钮,返回上级页面进行提交");
|
|
this.queryFormhye.code = 1;
|
|
this.queryFormhye.code = 1;
|
|
this.queryFormhye.bmProjectId = this.bmProjectId;
|
|
this.queryFormhye.bmProjectId = this.bmProjectId;
|
|
- addConfigbout(this.queryFormhye).then((response) => {
|
|
|
|
|
|
+ setExamine(this.queryFormhye).then((response) => {
|
|
|
|
+ // setExamine addConfigbout
|
|
console.log(response);
|
|
console.log(response);
|
|
this.msgSuccess("提交成功");
|
|
this.msgSuccess("提交成功");
|
|
this.open = false;
|
|
this.open = false;
|
|
@@ -1521,10 +1590,99 @@ export default {
|
|
cancelqiu() {
|
|
cancelqiu() {
|
|
this.$router.go(-1);
|
|
this.$router.go(-1);
|
|
},
|
|
},
|
|
|
|
+ querySearch(query) {
|
|
|
|
+ if (query !== '') {
|
|
|
|
+ this.options = this.fuse.search(query)
|
|
|
|
+ } else {
|
|
|
|
+ this.options = []
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ changetyu(){
|
|
|
|
+ // console.log(234)
|
|
|
|
+ },
|
|
|
|
+ handleSelecthuey(item){
|
|
|
|
+ console.log(item)
|
|
|
|
+ // this.form.companyCode = item.id
|
|
|
|
+ // this.form.companyLegal = item.labr
|
|
|
|
+ this.$set(this.form, 'companyCode', item.id)
|
|
|
|
+ this.$set(this.form, 'companyLegal', item.labr)
|
|
|
|
+ for (let i = 0; i < this.resets.length; i++) {
|
|
|
|
+ if(item.id == this.resets[i].CreditCode){
|
|
|
|
+ // 企业名称
|
|
|
|
+ // this.form.companyName = this.resets[i].Name
|
|
|
|
+ // 企业所在地
|
|
|
|
+ // this.form.companyAddress = this.resets[i].Name
|
|
|
|
+ // 法人代表姓名
|
|
|
|
+ // this.form.companyLegal = this.resets[i].OperName
|
|
|
|
+ // 统一社会信用代码
|
|
|
|
+ // this.form.companyCode = item.id
|
|
|
|
+ // 联系方式
|
|
|
|
+ // this.form.companyName = this.resets[i].Name
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ // console.log(3345)
|
|
|
|
+ },
|
|
|
|
+ /** 转换角色数据结构 */
|
|
|
|
+ normalizer(node) {
|
|
|
|
+ if (node.children && !node.children.length) {
|
|
|
|
+ delete node.children;
|
|
|
|
+ }
|
|
|
|
+ return {
|
|
|
|
+ id: node.id,
|
|
|
|
+ label: node.label
|
|
|
|
+ };
|
|
|
|
+ },
|
|
|
|
+ // 点击组/角色
|
|
|
|
+ djieskle(node, instanceId) {
|
|
|
|
+ // this.personnel(node.id);
|
|
|
|
+ console.log(node, instanceId);
|
|
|
|
+ console.log(this.queryParams.referralList[0].sysDeptId)
|
|
|
|
+ },
|
|
|
|
+ querySearchAsync(queryString, cb){
|
|
|
|
+ console.log(queryString, cb)
|
|
|
|
+ this.options = []
|
|
|
|
+ // this.form = {}
|
|
|
|
+ // this.form.companyCode = undefined
|
|
|
|
+ // this.form.companyLegal = undefined
|
|
|
|
+ listConfigname(queryString).then((res) => {
|
|
|
|
+ console.log(res);
|
|
|
|
+ if (res.code == 200 && res.data.length !== 0) {
|
|
|
|
+ var result = res.data
|
|
|
|
+ this.resets = res.data
|
|
|
|
+ //循环放到一个远程搜索需要的数组
|
|
|
|
+ for (let i = 0; i < result.length; i++) {
|
|
|
|
+ const element = result[i];
|
|
|
|
+ console.log(result[i])
|
|
|
|
+ this.options.push({
|
|
|
|
+ value: element.Name,
|
|
|
|
+ id: element.CreditCode,
|
|
|
|
+ labr:element.OperName
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+ cb(this.options);
|
|
|
|
+ } else {
|
|
|
|
+ this.options = []
|
|
|
|
+ cb(this.options);
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+ }
|
|
|
|
+
|
|
},
|
|
},
|
|
};
|
|
};
|
|
</script>
|
|
</script>
|
|
<style lang="scss" >
|
|
<style lang="scss" >
|
|
|
|
+ .yiuejg{
|
|
|
|
+ .el-form-item__label{
|
|
|
|
+ width: 125px !important;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ .yije{
|
|
|
|
+ .el-form-item__label{
|
|
|
|
+ width: 103px !important;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
.roiyy {
|
|
.roiyy {
|
|
position: fixed;
|
|
position: fixed;
|
|
top: 95px;
|
|
top: 95px;
|
|
@@ -1604,8 +1762,9 @@ export default {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.fenpe {
|
|
.fenpe {
|
|
|
|
+ margin-right: 0 !important;
|
|
.el-form-item__label {
|
|
.el-form-item__label {
|
|
- width: 101px !important;
|
|
|
|
|
|
+ width: 111px !important;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.forieu {
|
|
.forieu {
|
|
@@ -1614,6 +1773,7 @@ export default {
|
|
width: 480px;
|
|
width: 480px;
|
|
height: 90px;
|
|
height: 90px;
|
|
position: relative;
|
|
position: relative;
|
|
|
|
+ margin-right: 0 !important;
|
|
.bure {
|
|
.bure {
|
|
position: absolute;
|
|
position: absolute;
|
|
right: 20px;
|
|
right: 20px;
|