|
@@ -63,7 +63,7 @@
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
- <el-divider content-position="left"><i class="el-icon-document"></i> 项目立项</el-divider>
|
|
|
|
|
|
+ <el-divider content-position="left"><i class="el-icon-document"></i> 项目基本情况信息</el-divider>
|
|
<el-row :gutter="15">
|
|
<el-row :gutter="15">
|
|
<el-col :span="12">
|
|
<el-col :span="12">
|
|
<el-form-item label="项目名称" prop="name"
|
|
<el-form-item label="项目名称" prop="name"
|
|
@@ -80,15 +80,15 @@
|
|
<el-input :disabled="true" v-model="inputForm.no" placeholder="请输入项目编号" clearable></el-input>
|
|
<el-input :disabled="true" v-model="inputForm.no" placeholder="请输入项目编号" clearable></el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
- <el-col :span="12">
|
|
|
|
- <el-form-item label="项目类别" prop="projectType"
|
|
|
|
- :rules="[
|
|
|
|
- {required: true, message:'项目类别不能为空', trigger:'blur'}
|
|
|
|
- ]">
|
|
|
|
- <el-radio v-model="inputForm.projectType" label="1" size="small" style="margin-right: 20px">资评报字</el-radio>
|
|
|
|
- <el-radio v-model="inputForm.projectType" label="2" size="small" style="margin-right: 20px">资评咨字</el-radio>
|
|
|
|
- </el-form-item>
|
|
|
|
- </el-col>
|
|
|
|
|
|
+<!-- <el-col :span="12">-->
|
|
|
|
+<!-- <el-form-item label="项目类别" prop="projectType"-->
|
|
|
|
+<!-- :rules="[-->
|
|
|
|
+<!-- {required: true, message:'项目类别不能为空', trigger:'blur'}-->
|
|
|
|
+<!-- ]">-->
|
|
|
|
+<!-- <el-radio v-model="inputForm.projectType" label="1" size="small" style="margin-right: 20px">资评报字</el-radio>-->
|
|
|
|
+<!-- <el-radio v-model="inputForm.projectType" label="2" size="small" style="margin-right: 20px">资评咨字</el-radio>-->
|
|
|
|
+<!-- </el-form-item>-->
|
|
|
|
+<!-- </el-col>-->
|
|
<el-col :span="12">
|
|
<el-col :span="12">
|
|
<el-form-item label="项目类型" prop="projectMould"
|
|
<el-form-item label="项目类型" prop="projectMould"
|
|
:rules="[
|
|
:rules="[
|
|
@@ -119,16 +119,6 @@
|
|
<el-input :readonly="true" v-model="inputForm.company" placeholder="请输入执业机构" clearable></el-input>
|
|
<el-input :readonly="true" v-model="inputForm.company" placeholder="请输入执业机构" clearable></el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
-
|
|
|
|
- <el-col :span="12">
|
|
|
|
- <el-form-item label="产权持有人" prop="propertyHolderName"
|
|
|
|
- :rules="[
|
|
|
|
- {required: true, message:'产权持有人不能为空', trigger:'blur'},
|
|
|
|
- {required: true, message:'产权持有人不能为空', trigger:'change'}
|
|
|
|
- ]">
|
|
|
|
- <el-input v-model="inputForm.propertyHolderName" @focus="openWorkClientForm('2')" placeholder="请输入产权持有人" clearable></el-input>
|
|
|
|
- </el-form-item>
|
|
|
|
- </el-col>
|
|
|
|
<el-col :span="12">
|
|
<el-col :span="12">
|
|
<el-form-item label="项目所在地" prop="location"
|
|
<el-form-item label="项目所在地" prop="location"
|
|
:rules="[
|
|
:rules="[
|
|
@@ -149,6 +139,16 @@
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="12">
|
|
<el-col :span="12">
|
|
|
|
+ <el-form-item label="委托人" prop="propertyHolderName"
|
|
|
|
+ :rules="[
|
|
|
|
+ {required: true, message:'委托人不能为空', trigger:'blur'},
|
|
|
|
+ {required: true, message:'委托人不能为空', trigger:'change'}
|
|
|
|
+ ]">
|
|
|
|
+ <el-input v-model="inputForm.propertyHolderName" @focus="openWorkClientForm('2')" @clear="clearPropertyHolder" placeholder="请输入委托人" clearable></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+
|
|
|
|
+ <el-col :span="12">
|
|
<el-form-item label="是否首次承做" prop="isFirst"
|
|
<el-form-item label="是否首次承做" prop="isFirst"
|
|
:rules="[
|
|
:rules="[
|
|
{required: true, message:'是否首次承做不能为空', trigger:'blur'}
|
|
{required: true, message:'是否首次承做不能为空', trigger:'blur'}
|
|
@@ -178,6 +178,7 @@
|
|
<el-col :span="12">
|
|
<el-col :span="12">
|
|
<el-form-item label="评估费用核算年度" prop="checkYear"
|
|
<el-form-item label="评估费用核算年度" prop="checkYear"
|
|
:rules="[
|
|
:rules="[
|
|
|
|
+ {required: true, message:'评估费用核算年度不能为空', trigger:'blur'}
|
|
]">
|
|
]">
|
|
<el-date-picker
|
|
<el-date-picker
|
|
v-model="inputForm.checkYear"
|
|
v-model="inputForm.checkYear"
|
|
@@ -191,9 +192,9 @@
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="12">
|
|
<el-col :span="12">
|
|
- <el-form-item label="项目经理" prop="projectManager"
|
|
|
|
|
|
+ <el-form-item label="项目负责人" prop="projectManager"
|
|
:rules="[
|
|
:rules="[
|
|
- {required: true, message:'项目经理不能为空', trigger:'blur'}
|
|
|
|
|
|
+ {required: true, message:'项目负责人不能为空', trigger:'blur'}
|
|
]">
|
|
]">
|
|
<SelectUserTree
|
|
<SelectUserTree
|
|
ref="companyTree"
|
|
ref="companyTree"
|
|
@@ -225,13 +226,13 @@
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
- <el-col :span="12">
|
|
|
|
- <el-form-item label="所属行业" prop="industry"
|
|
|
|
- :rules="[
|
|
|
|
- ]">
|
|
|
|
- <el-input maxlength="64" v-model="inputForm.industry" placeholder="请输入所属行业"clearable></el-input>
|
|
|
|
- </el-form-item>
|
|
|
|
- </el-col>
|
|
|
|
|
|
+<!-- <el-col :span="12">-->
|
|
|
|
+<!-- <el-form-item label="所属行业" prop="industry"-->
|
|
|
|
+<!-- :rules="[-->
|
|
|
|
+<!-- ]">-->
|
|
|
|
+<!-- <el-input maxlength="64" v-model="inputForm.industry" placeholder="请输入所属行业"clearable></el-input>-->
|
|
|
|
+<!-- </el-form-item>-->
|
|
|
|
+<!-- </el-col>-->
|
|
<el-col :span="12">
|
|
<el-col :span="12">
|
|
<el-form-item label="企业类型" prop="enterpriseType"
|
|
<el-form-item label="企业类型" prop="enterpriseType"
|
|
:rules="[
|
|
:rules="[
|
|
@@ -265,7 +266,7 @@
|
|
</el-col>
|
|
</el-col>
|
|
|
|
|
|
<el-col :span="12">
|
|
<el-col :span="12">
|
|
- <el-form-item label="预估收入(元)" prop="estimate"
|
|
|
|
|
|
+ <el-form-item label="评估收费总额(元)" prop="estimate"
|
|
:rules="[
|
|
:rules="[
|
|
]">
|
|
]">
|
|
<el-input-number
|
|
<el-input-number
|
|
@@ -274,7 +275,7 @@
|
|
style="width:100%;"
|
|
style="width:100%;"
|
|
maxlength="15"
|
|
maxlength="15"
|
|
:precision="2"
|
|
:precision="2"
|
|
- placeholder="请输入预估收入(元)"
|
|
|
|
|
|
+ placeholder="请输入评估收费总额(元)"
|
|
:controls="false"
|
|
:controls="false"
|
|
:step="0.01"
|
|
:step="0.01"
|
|
:min="0"
|
|
:min="0"
|
|
@@ -357,7 +358,6 @@
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
- <el-divider content-position="left"><i class="el-icon-document"></i> 委派单</el-divider>
|
|
|
|
<el-row :gutter="15">
|
|
<el-row :gutter="15">
|
|
<el-col :span="12">
|
|
<el-col :span="12">
|
|
<el-form-item label="被评估企业" prop="assessmentEnterpriseName"
|
|
<el-form-item label="被评估企业" prop="assessmentEnterpriseName"
|
|
@@ -413,44 +413,44 @@
|
|
</el-date-picker>
|
|
</el-date-picker>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
- <el-col :span="12">
|
|
|
|
- <el-form-item label="评估服务收费总额" prop="num"
|
|
|
|
- :rules="[
|
|
|
|
- {required: true, message:'评估服务收费总额不能为空', trigger:'blur'}
|
|
|
|
- ]">
|
|
|
|
- <el-input-number
|
|
|
|
- v-model="inputForm.num"
|
|
|
|
- controls-position="right"
|
|
|
|
- style="width:100%;"
|
|
|
|
- :precision="2"
|
|
|
|
- placeholder="请输入评估服务收费总额"
|
|
|
|
- :controls="false"
|
|
|
|
- :step="0.01"
|
|
|
|
- :min="0"
|
|
|
|
- clearable>
|
|
|
|
- </el-input-number>
|
|
|
|
- </el-form-item>
|
|
|
|
- </el-col>
|
|
|
|
- <el-col :span="12">
|
|
|
|
- <el-form-item label="项目开发人" prop="projectDevelopment"
|
|
|
|
- :rules="[
|
|
|
|
- {required: true, message:'项目开发人不能为空', trigger:'blur'}
|
|
|
|
- ]">
|
|
|
|
- <SelectUserTree
|
|
|
|
- ref="companyTree"
|
|
|
|
- size="medium"
|
|
|
|
- :props="{
|
|
|
|
- value: 'id', // ID字段名
|
|
|
|
- label: 'name', // 显示名称
|
|
|
|
- children: 'children' // 子级字段名
|
|
|
|
- }"
|
|
|
|
- :url="`/sys/user/treeUserDataAllOffice?type=2`"
|
|
|
|
- :value="inputForm.projectDevelopment"
|
|
|
|
- :clearable="true"
|
|
|
|
- :accordion="true"
|
|
|
|
- @getValue="(value) => {inputForm.projectDevelopment=value}"/>
|
|
|
|
- </el-form-item>
|
|
|
|
- </el-col>
|
|
|
|
|
|
+<!-- <el-col :span="12">-->
|
|
|
|
+<!-- <el-form-item label="评估服务收费总额" prop="num"-->
|
|
|
|
+<!-- :rules="[-->
|
|
|
|
+<!-- {required: true, message:'评估服务收费总额不能为空', trigger:'blur'}-->
|
|
|
|
+<!-- ]">-->
|
|
|
|
+<!-- <el-input-number-->
|
|
|
|
+<!-- v-model="inputForm.num"-->
|
|
|
|
+<!-- controls-position="right"-->
|
|
|
|
+<!-- style="width:100%;"-->
|
|
|
|
+<!-- :precision="2"-->
|
|
|
|
+<!-- placeholder="请输入评估服务收费总额"-->
|
|
|
|
+<!-- :controls="false"-->
|
|
|
|
+<!-- :step="0.01"-->
|
|
|
|
+<!-- :min="0"-->
|
|
|
|
+<!-- clearable>-->
|
|
|
|
+<!-- </el-input-number>-->
|
|
|
|
+<!-- </el-form-item>-->
|
|
|
|
+<!-- </el-col>-->
|
|
|
|
+<!-- <el-col :span="12">-->
|
|
|
|
+<!-- <el-form-item label="项目开发人" prop="projectDevelopment"-->
|
|
|
|
+<!-- :rules="[-->
|
|
|
|
+<!-- {required: true, message:'项目开发人不能为空', trigger:'blur'}-->
|
|
|
|
+<!-- ]">-->
|
|
|
|
+<!-- <SelectUserTree-->
|
|
|
|
+<!-- ref="companyTree"-->
|
|
|
|
+<!-- size="medium"-->
|
|
|
|
+<!-- :props="{-->
|
|
|
|
+<!-- value: 'id', // ID字段名-->
|
|
|
|
+<!-- label: 'name', // 显示名称-->
|
|
|
|
+<!-- children: 'children' // 子级字段名-->
|
|
|
|
+<!-- }"-->
|
|
|
|
+<!-- :url="`/sys/user/treeUserDataAllOffice?type=2`"-->
|
|
|
|
+<!-- :value="inputForm.projectDevelopment"-->
|
|
|
|
+<!-- :clearable="true"-->
|
|
|
|
+<!-- :accordion="true"-->
|
|
|
|
+<!-- @getValue="(value) => {inputForm.projectDevelopment=value}"/>-->
|
|
|
|
+<!-- </el-form-item>-->
|
|
|
|
+<!-- </el-col>-->
|
|
<el-col :span="12">
|
|
<el-col :span="12">
|
|
<el-form-item label="项目类型" prop="delegateProjectType"
|
|
<el-form-item label="项目类型" prop="delegateProjectType"
|
|
:rules="[
|
|
:rules="[
|
|
@@ -521,38 +521,9 @@
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
|
|
|
|
-
|
|
|
|
- <el-col :span="12">
|
|
|
|
- <el-form-item label="本所是否具备承接胜任能力" prop="isHave"
|
|
|
|
- :rules="[
|
|
|
|
- {required: true, message:'本所是否具备承接胜任能力不能为空', trigger:'blur'}
|
|
|
|
- ]">
|
|
|
|
- <el-radio v-model="inputForm.isHave" v-for="item in $dictUtils.getDictList('yes_no')" :label="item.value" size="small" style="margin-right: 20px">
|
|
|
|
- {{item.label}}</el-radio>
|
|
|
|
- </el-form-item>
|
|
|
|
- </el-col>
|
|
|
|
- <el-col :span="12">
|
|
|
|
- <el-form-item label="是否影响本所承做人员独立性" prop="isInfluence"
|
|
|
|
- :rules="[
|
|
|
|
- {required: true, message:'是否影响本所承做人员独立性不能为空', trigger:'blur'}
|
|
|
|
- ]">
|
|
|
|
- <el-radio v-model="inputForm.isInfluence" v-for="item in $dictUtils.getDictList('yes_no')" :label="item.value" size="small" style="margin-right: 20px">
|
|
|
|
- {{item.label}}</el-radio>
|
|
|
|
- </el-form-item>
|
|
|
|
- </el-col>
|
|
|
|
- <el-col :span="12">
|
|
|
|
- <el-form-item label="项目承做方式" prop="mode"
|
|
|
|
- :rules="[
|
|
|
|
- {required: true, message:'项目承做方式不能为空', trigger:'blur'}
|
|
|
|
- ]">
|
|
|
|
- <el-radio v-model="inputForm.mode" v-for="item in $dictUtils.getDictList('project_commitment_mode')" :label="item.value" size="small" style="margin-right: 20px">
|
|
|
|
- {{item.label}}</el-radio>
|
|
|
|
- </el-form-item>
|
|
|
|
- </el-col>
|
|
|
|
-
|
|
|
|
</el-row>
|
|
</el-row>
|
|
<el-divider content-position="left"><i class="el-icon-document"></i>
|
|
<el-divider content-position="left"><i class="el-icon-document"></i>
|
|
- 项目直接对接人
|
|
|
|
|
|
+ 委托人和对接人
|
|
<el-button style="margin-left: 20px" type="primary" :disabled="formReadOnly" size="mini" @click="openContactForm('0')" plain>
|
|
<el-button style="margin-left: 20px" type="primary" :disabled="formReadOnly" size="mini" @click="openContactForm('0')" plain>
|
|
新增
|
|
新增
|
|
</el-button>
|
|
</el-button>
|
|
@@ -575,55 +546,16 @@
|
|
<el-input :disabled="true" v-model="scope.row.contacts" ></el-input>
|
|
<el-input :disabled="true" v-model="scope.row.contacts" ></el-input>
|
|
</template>
|
|
</template>
|
|
</vxe-table-column>
|
|
</vxe-table-column>
|
|
- <vxe-table-column field="linkMobilePhoneFirst" title="联系方式1" :edit-render="{}">
|
|
|
|
|
|
+ <vxe-table-column field="clientType" title="人员类型" :edit-render="{name: '$select', options: clientTypes}">
|
|
<template v-slot:edit="scope">
|
|
<template v-slot:edit="scope">
|
|
- <el-input :disabled="true" v-model="scope.row.linkMobilePhoneFirst" ></el-input>
|
|
|
|
- </template>
|
|
|
|
- </vxe-table-column>
|
|
|
|
- <vxe-table-column field="linkMobilePhoneSecoed" title="联系方式2" :edit-render="{}">
|
|
|
|
- <template v-slot:edit="scope">
|
|
|
|
- <el-input :disabled="true" v-model="scope.row.linkMobilePhoneSecoed" ></el-input>
|
|
|
|
- </template>
|
|
|
|
- </vxe-table-column>
|
|
|
|
- <vxe-table-column field="job" title="职位" :edit-render="{}">
|
|
|
|
- <template v-slot:edit="scope">
|
|
|
|
- <el-input v-model="scope.row.job" ></el-input>
|
|
|
|
- </template>
|
|
|
|
- </vxe-table-column>
|
|
|
|
- <vxe-table-column field="remarks" title="备注" :edit-render="{}">
|
|
|
|
- <template v-slot:edit="scope">
|
|
|
|
- <el-input v-model="scope.row.remarks" ></el-input>
|
|
|
|
- </template>
|
|
|
|
- </vxe-table-column>
|
|
|
|
- <vxe-table-column title="操作" width="100">
|
|
|
|
- <template v-slot="scope">
|
|
|
|
- <el-button size="mini" type="danger" @click="removeEvent(scope.row,scope.$rowIndex,'client')">删除</el-button>
|
|
|
|
- </template>
|
|
|
|
- </vxe-table-column>
|
|
|
|
- </vxe-table>
|
|
|
|
- </el-row>
|
|
|
|
- <el-divider content-position="left"><i class="el-icon-document"></i>
|
|
|
|
- 产权持有人联系人
|
|
|
|
- <el-button style="margin-left: 20px" type="primary" :disabled="formReadOnly" size="mini" @click="openContactForm('2')" plain>
|
|
|
|
- 新增
|
|
|
|
- </el-button>
|
|
|
|
- </el-divider>
|
|
|
|
- <el-row :gutter="15" >
|
|
|
|
- <vxe-table
|
|
|
|
- border
|
|
|
|
- show-overflow
|
|
|
|
- ref="equityTable"
|
|
|
|
- class="vxe-table-element"
|
|
|
|
- :data="inputForm.equityList"
|
|
|
|
- style="margin-left: 5em"
|
|
|
|
- @cell-click=""
|
|
|
|
- @edit-closed=""
|
|
|
|
- highlight-current-row
|
|
|
|
- :edit-config="{trigger: 'click', mode: 'cell', showStatus: true, autoClear: true}"
|
|
|
|
- >
|
|
|
|
- <vxe-table-column field="contacts" title="联系人" :edit-render="{}">
|
|
|
|
- <template v-slot:edit="scope">
|
|
|
|
- <el-input :disabled="true" v-model="scope.row.contacts" ></el-input>
|
|
|
|
|
|
+ <vxe-select v-model="scope.row.clientType" transfer>
|
|
|
|
+ <vxe-option
|
|
|
|
+ v-for="item in clientTypes"
|
|
|
|
+ :key="item.value"
|
|
|
|
+ :value="item.value"
|
|
|
|
+ :label="item.label">
|
|
|
|
+ </vxe-option>
|
|
|
|
+ </vxe-select>
|
|
</template>
|
|
</template>
|
|
</vxe-table-column>
|
|
</vxe-table-column>
|
|
<vxe-table-column field="linkMobilePhoneFirst" title="联系方式1" :edit-render="{}">
|
|
<vxe-table-column field="linkMobilePhoneFirst" title="联系方式1" :edit-render="{}">
|
|
@@ -648,65 +580,11 @@
|
|
</vxe-table-column>
|
|
</vxe-table-column>
|
|
<vxe-table-column title="操作" width="100">
|
|
<vxe-table-column title="操作" width="100">
|
|
<template v-slot="scope">
|
|
<template v-slot="scope">
|
|
- <el-button size="mini" type="danger" @click="removeEvent(scope.row,scope.$rowIndex,'equity')">删除</el-button>
|
|
|
|
|
|
+ <el-button size="mini" type="danger" @click="removeEvent(scope.row,scope.$rowIndex,'client')">删除</el-button>
|
|
</template>
|
|
</template>
|
|
</vxe-table-column>
|
|
</vxe-table-column>
|
|
</vxe-table>
|
|
</vxe-table>
|
|
</el-row>
|
|
</el-row>
|
|
- <div v-if="false">
|
|
|
|
- <el-divider content-position="left"><i class="el-icon-document"></i>
|
|
|
|
- 被评估企业对接联系人
|
|
|
|
- <el-button style="margin-left: 20px" type="primary" :disabled="formReadOnly" size="mini" @click="openContactForm('3')" plain>
|
|
|
|
- 新增
|
|
|
|
- </el-button>
|
|
|
|
- </el-divider>
|
|
|
|
- <el-row :gutter="15" >
|
|
|
|
- <vxe-table
|
|
|
|
- border
|
|
|
|
- show-overflow
|
|
|
|
- ref="contactTable"
|
|
|
|
- class="vxe-table-element"
|
|
|
|
- :data="inputForm.contactList"
|
|
|
|
- style="margin-left: 5em"
|
|
|
|
- @cell-click=""
|
|
|
|
- @edit-closed=""
|
|
|
|
- highlight-current-row
|
|
|
|
- :edit-config="{trigger: 'click', mode: 'cell', showStatus: true, autoClear: true}"
|
|
|
|
- >
|
|
|
|
- <vxe-table-column field="contacts" title="联系人" :edit-render="{}">
|
|
|
|
- <template v-slot:edit="scope">
|
|
|
|
- <el-input :disabled="true" v-model="scope.row.contacts" ></el-input>
|
|
|
|
- </template>
|
|
|
|
- </vxe-table-column>
|
|
|
|
- <vxe-table-column field="linkMobilePhoneFirst" title="联系方式1" :edit-render="{}">
|
|
|
|
- <template v-slot:edit="scope">
|
|
|
|
- <el-input :disabled="true" v-model="scope.row.linkMobilePhoneFirst" ></el-input>
|
|
|
|
- </template>
|
|
|
|
- </vxe-table-column>
|
|
|
|
- <vxe-table-column field="linkMobilePhoneSecoed" title="联系方式2" :edit-render="{}">
|
|
|
|
- <template v-slot:edit="scope">
|
|
|
|
- <el-input :disabled="true" v-model="scope.row.linkMobilePhoneSecoed" ></el-input>
|
|
|
|
- </template>
|
|
|
|
- </vxe-table-column>
|
|
|
|
- <vxe-table-column field="job" title="职位" :edit-render="{}">
|
|
|
|
- <template v-slot:edit="scope">
|
|
|
|
- <el-input v-model="scope.row.job" ></el-input>
|
|
|
|
- </template>
|
|
|
|
- </vxe-table-column>
|
|
|
|
- <vxe-table-column field="remarks" title="备注" :edit-render="{}">
|
|
|
|
- <template v-slot:edit="scope">
|
|
|
|
- <el-input v-model="scope.row.remarks" ></el-input>
|
|
|
|
- </template>
|
|
|
|
- </vxe-table-column>
|
|
|
|
- <vxe-table-column title="操作" width="100">
|
|
|
|
- <template v-slot="scope">
|
|
|
|
- <el-button size="mini" type="danger" @click="removeEvent(scope.row,scope.$rowIndex,'contact')">删除</el-button>
|
|
|
|
- </template>
|
|
|
|
- </vxe-table-column>
|
|
|
|
- </vxe-table>
|
|
|
|
- </el-row>
|
|
|
|
- </div>
|
|
|
|
-
|
|
|
|
|
|
|
|
<el-divider content-position="left"><i class="el-icon-document"></i>
|
|
<el-divider content-position="left"><i class="el-icon-document"></i>
|
|
项目组成员
|
|
项目组成员
|
|
@@ -873,7 +751,11 @@
|
|
contactList: [], // 被评估企业对接联系人
|
|
contactList: [], // 被评估企业对接联系人
|
|
equityList: [], // 产权持有人联系人
|
|
equityList: [], // 产权持有人联系人
|
|
clientList: [] // 项目直接对接联系人
|
|
clientList: [] // 项目直接对接联系人
|
|
- }
|
|
|
|
|
|
+ },
|
|
|
|
+ clientTypes: [
|
|
|
|
+ {value: 1, label: '委托人'},
|
|
|
|
+ {value: 2, label: '项目对接人'}
|
|
|
|
+ ]
|
|
}
|
|
}
|
|
},
|
|
},
|
|
programTypeDictService: null,
|
|
programTypeDictService: null,
|
|
@@ -985,6 +867,9 @@
|
|
this.$refs.uploadComponent.clearUpload()
|
|
this.$refs.uploadComponent.clearUpload()
|
|
this.inputForm = this.recover(this.inputForm, data)
|
|
this.inputForm = this.recover(this.inputForm, data)
|
|
this.inputForm = JSON.parse(JSON.stringify(this.inputForm))
|
|
this.inputForm = JSON.parse(JSON.stringify(this.inputForm))
|
|
|
|
+ if (this.commonJS.isEmpty(this.inputForm.files)) {
|
|
|
|
+ this.inputForm.files = []
|
|
|
|
+ }
|
|
if (!this.commonJS.isEmpty(this.inputForm.workBeginDate) && !this.commonJS.isEmpty(this.inputForm.workEndDate)) {
|
|
if (!this.commonJS.isEmpty(this.inputForm.workBeginDate) && !this.commonJS.isEmpty(this.inputForm.workEndDate)) {
|
|
this.inputForm.workBeginAndEndDate = []
|
|
this.inputForm.workBeginAndEndDate = []
|
|
this.inputForm.workBeginAndEndDate[0] = this.inputForm.workBeginDate
|
|
this.inputForm.workBeginAndEndDate[0] = this.inputForm.workBeginDate
|
|
@@ -1012,6 +897,7 @@
|
|
if (this.formReadOnly === true) {
|
|
if (this.formReadOnly === true) {
|
|
method = 'view'
|
|
method = 'view'
|
|
}
|
|
}
|
|
|
|
+
|
|
this.$refs.uploadComponent.newUpload(method, this.inputForm.files, 'program')
|
|
this.$refs.uploadComponent.newUpload(method, this.inputForm.files, 'program')
|
|
this.loading = false
|
|
this.loading = false
|
|
})
|
|
})
|
|
@@ -1074,6 +960,10 @@
|
|
this.inputForm.links = []
|
|
this.inputForm.links = []
|
|
if (!this.commonJS.isEmpty(this.inputForm.clientList)) {
|
|
if (!this.commonJS.isEmpty(this.inputForm.clientList)) {
|
|
this.inputForm.clientList.forEach(item => {
|
|
this.inputForm.clientList.forEach(item => {
|
|
|
|
+ if (this.commonJS.isEmpty(item.clientType)) {
|
|
|
|
+ this.$message.error('委托人和对接人中的人员类型不可以为空')
|
|
|
|
+ throw new Error()
|
|
|
|
+ }
|
|
item.type = '0'
|
|
item.type = '0'
|
|
this.inputForm.links.push(item)
|
|
this.inputForm.links.push(item)
|
|
})
|
|
})
|
|
@@ -1174,36 +1064,31 @@
|
|
},
|
|
},
|
|
openContactForm (deputy) {
|
|
openContactForm (deputy) {
|
|
if (deputy === '0') {
|
|
if (deputy === '0') {
|
|
- if (this.commonJS.isEmpty(this.inputForm.client)) {
|
|
|
|
- this.$message.error('请先填写委托方')
|
|
|
|
- } else {
|
|
|
|
- this.$refs.contactForm.init(this.inputForm.client, deputy)
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- if (deputy === '2') {
|
|
|
|
- if (this.commonJS.isEmpty(this.inputForm.propertyHolder)) {
|
|
|
|
- this.$message.error('请先填写产权持有人')
|
|
|
|
- } else {
|
|
|
|
- this.$refs.contactForm.init(this.inputForm.propertyHolder, deputy)
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- if (deputy === '3') {
|
|
|
|
- if (this.commonJS.isEmpty(this.inputForm.assessmentEnterprise)) {
|
|
|
|
- this.$message.error('请先填写被评估企业')
|
|
|
|
|
|
+ if (this.commonJS.isEmpty(this.inputForm.client) && this.commonJS.isEmpty(this.inputForm.propertyHolder)) {
|
|
|
|
+ this.$message.error('请先填写合同委托方或委托人')
|
|
} else {
|
|
} else {
|
|
- this.$refs.contactForm.init(this.inputForm.assessmentEnterprise, deputy)
|
|
|
|
|
|
+ let ids = []
|
|
|
|
+ if (this.inputForm.client === this.inputForm.propertyHolder) {
|
|
|
|
+ ids.push(this.inputForm.client)
|
|
|
|
+ } else if (this.commonJS.isEmpty(this.inputForm.client)) {
|
|
|
|
+ ids.push(this.inputForm.propertyHolder)
|
|
|
|
+ } else if (this.commonJS.isEmpty(this.inputForm.propertyHolder)) {
|
|
|
|
+ ids.push(this.inputForm.client)
|
|
|
|
+ } else {
|
|
|
|
+ ids.push(this.inputForm.propertyHolder)
|
|
|
|
+ ids.push(this.inputForm.client)
|
|
|
|
+ }
|
|
|
|
+ this.$nextTick(() => {
|
|
|
|
+ this.$refs.contactForm.init(ids, deputy)
|
|
|
|
+ })
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
getContact (rows, deputy) {
|
|
getContact (rows, deputy) {
|
|
if (deputy === '0') {
|
|
if (deputy === '0') {
|
|
- this.inputForm.clientList = rows
|
|
|
|
- }
|
|
|
|
- if (deputy === '2') {
|
|
|
|
- this.inputForm.equityList = rows
|
|
|
|
- }
|
|
|
|
- if (deputy === '3') {
|
|
|
|
- this.inputForm.contactList = rows
|
|
|
|
|
|
+ rows.forEach(item => {
|
|
|
|
+ this.inputForm.clientList.push(item)
|
|
|
|
+ })
|
|
}
|
|
}
|
|
this.$forceUpdate()
|
|
this.$forceUpdate()
|
|
},
|
|
},
|
|
@@ -1349,6 +1234,9 @@
|
|
})
|
|
})
|
|
]
|
|
]
|
|
return footerData
|
|
return footerData
|
|
|
|
+ },
|
|
|
|
+ clearPropertyHolder () {
|
|
|
|
+ this.inputForm.propertyHolder = ''
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|