|
@@ -70,7 +70,7 @@
|
|
|
:rules="[
|
|
|
{required: true, message:'项目名称不能为空', trigger:'blur'}
|
|
|
]">
|
|
|
- <el-input v-model="inputForm.name" placeholder="请输入项目名称" clearable></el-input>
|
|
|
+ <el-input maxlength="64" v-model="inputForm.name" placeholder="请输入项目名称" clearable></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
@@ -105,6 +105,14 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
|
+ <el-form-item label="立项号" prop="approvalNo"
|
|
|
+ :rules="[
|
|
|
+ {required: true, message:'立项号不能为空', trigger:'blur'}
|
|
|
+ ]">
|
|
|
+ <el-input maxlength="64" max v-model="inputForm.approvalNo" placeholder="请输入立项号"clearable></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="12">
|
|
|
<el-form-item label="执业机构" prop="company"
|
|
|
:rules="[
|
|
|
]">
|
|
@@ -126,7 +134,18 @@
|
|
|
:rules="[
|
|
|
{required: true, message:'项目所在地不能为空', trigger:'blur'}
|
|
|
]">
|
|
|
- <el-input v-model="inputForm.location" placeholder="请输入项目所在地"clearable></el-input>
|
|
|
+ <SelectTree
|
|
|
+ ref="areaTree"
|
|
|
+ :props="{
|
|
|
+ value: 'id', // ID字段名
|
|
|
+ label: 'name', // 显示名称
|
|
|
+ children: 'children' // 子级字段名
|
|
|
+ }"
|
|
|
+ url="/sys/area/treeData"
|
|
|
+ :value="inputForm.location"
|
|
|
+ :clearable="true"
|
|
|
+ :accordion="true"
|
|
|
+ @getValue="(value) => {inputForm.location=value}"/>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
@@ -210,14 +229,14 @@
|
|
|
<el-form-item label="所属行业" prop="industry"
|
|
|
:rules="[
|
|
|
]">
|
|
|
- <el-input v-model="inputForm.industry" placeholder="请输入所属行业"clearable></el-input>
|
|
|
+ <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="enterpriseType"
|
|
|
:rules="[
|
|
|
]">
|
|
|
- <el-input v-model="inputForm.enterpriseType" placeholder="请输入企业类型"clearable></el-input>
|
|
|
+ <el-input maxlength="64" v-model="inputForm.enterpriseType" placeholder="请输入企业类型"clearable></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
@@ -253,6 +272,7 @@
|
|
|
v-model="inputForm.estimate"
|
|
|
controls-position="right"
|
|
|
style="width:100%;"
|
|
|
+ maxlength="15"
|
|
|
:precision="2"
|
|
|
placeholder="请输入预估收入(元)"
|
|
|
:controls="false"
|
|
@@ -285,6 +305,7 @@
|
|
|
v-model="inputForm.useNum"
|
|
|
controls-position="right"
|
|
|
style="width:100%"
|
|
|
+ maxlength="15"
|
|
|
:precision="0"
|
|
|
:min="0"
|
|
|
placeholder="请输入计划使用人数"
|
|
@@ -301,6 +322,7 @@
|
|
|
v-model="inputForm.appointment"
|
|
|
controls-position="right"
|
|
|
style="width:100%"
|
|
|
+ maxlength="15"
|
|
|
:precision="0"
|
|
|
:min="0"
|
|
|
placeholder="请输入约定书(份)"
|
|
@@ -317,6 +339,7 @@
|
|
|
v-model="inputForm.workHours"
|
|
|
controls-position="right"
|
|
|
style="width:100%"
|
|
|
+ maxlength="15"
|
|
|
:precision="1"
|
|
|
:step="0.1"
|
|
|
:min="0"
|
|
@@ -350,7 +373,7 @@
|
|
|
:rules="[
|
|
|
{required: true, message:'联系人及电话不能为空', trigger:'blur'}
|
|
|
]">
|
|
|
- <el-input v-model="inputForm.linkNum" placeholder="请输入联系人及电话"clearable></el-input>
|
|
|
+ <el-input maxlength="64" v-model="inputForm.linkNum" placeholder="请输入联系人及电话"clearable></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
@@ -413,7 +436,19 @@
|
|
|
:rules="[
|
|
|
{required: true, message:'项目开发人不能为空', trigger:'blur'}
|
|
|
]">
|
|
|
- <el-input v-model="inputForm.projectDevelopment" placeholder="请输入项目开发人"clearable></el-input>
|
|
|
+ <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">
|
|
@@ -441,7 +476,14 @@
|
|
|
:rules="[
|
|
|
{required: true, message:'评估对象不能为空', trigger:'blur'}
|
|
|
]">
|
|
|
- <el-input v-model="inputForm.assessmentObject" placeholder="请输入评估对象"clearable></el-input>
|
|
|
+ <el-select v-model="inputForm.assessmentObject" placeholder="请输入评估对象" clearable style="width: 100%;">
|
|
|
+ <el-option
|
|
|
+ v-for="item in $dictUtils.getDictList('project_assessment_object')"
|
|
|
+ :key="item.value"
|
|
|
+ :label="item.label"
|
|
|
+ :value="item.value">
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
@@ -503,7 +545,8 @@
|
|
|
:rules="[
|
|
|
{required: true, message:'项目承做方式不能为空', trigger:'blur'}
|
|
|
]">
|
|
|
- <el-input v-model="inputForm.mode" placeholder="请输入项目承做方式"clearable></el-input>
|
|
|
+ <el-radio v-model="inputForm.mode" v-for="item in $dictUtils.getDictList('project_commitment_mode')" :label="item.value" size="small" style="margin-right: 0px;width: 48%" border>
|
|
|
+ {{item.label}}</el-radio>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
|
|
@@ -750,6 +793,7 @@
|
|
|
import UpLoadComponent from '@/views/common/UpLoadComponent'
|
|
|
import SelectUserTree from '@/views/modules/utils/treeUserSelect'
|
|
|
import ProgramProjectListInfoService from '@/api/program/ProgramProjectListInfoService'
|
|
|
+ import SelectTree from '@/components/treeSelect/treeSelect.vue'
|
|
|
import XEUtils from 'xe-utils'
|
|
|
export default {
|
|
|
props: {
|
|
@@ -780,6 +824,7 @@
|
|
|
projectMould: '', // 项目类型
|
|
|
name: '', // 项目名称
|
|
|
projectType: '', // 项目类型
|
|
|
+ approvalNo: '', // 立项号
|
|
|
company: '', // 执业机构
|
|
|
propertyHolder: '', // 产权持有人id
|
|
|
propertyHolderName: '', // 产权持有人姓名
|
|
@@ -788,6 +833,7 @@
|
|
|
yearNum: '', // 承做年数
|
|
|
checkYear: '', // 评估费用核算年度
|
|
|
projectManager: '', // 项目经理
|
|
|
+ projectManagerName: '', // 项目经理名称
|
|
|
reportType: '', // 报告类型
|
|
|
industry: '', // 所属行业
|
|
|
enterpriseType: '', // 企业类型
|
|
@@ -860,7 +906,8 @@
|
|
|
SelectUserTree,
|
|
|
UpLoadComponent,
|
|
|
WorkClientForm,
|
|
|
- ContactForm
|
|
|
+ ContactForm,
|
|
|
+ SelectTree
|
|
|
},
|
|
|
methods: {
|
|
|
init (method, id) {
|
|
@@ -887,6 +934,7 @@
|
|
|
yearNum: '', // 承做年数
|
|
|
checkYear: '', // 评估费用核算年度
|
|
|
projectManager: '', // 项目经理
|
|
|
+ projectManagerName: '', // 项目经理名称
|
|
|
reportType: '', // 报告类型
|
|
|
industry: '', // 所属行业
|
|
|
enterpriseType: '', // 企业类型
|
|
@@ -1179,6 +1227,7 @@
|
|
|
yearNum: '', // 承做年数
|
|
|
checkYear: '', // 评估费用核算年度
|
|
|
projectManager: '', // 项目经理
|
|
|
+ projectManagerName: '', // 项目经理名称
|
|
|
reportType: '', // 报告类型
|
|
|
industry: '', // 所属行业
|
|
|
enterpriseType: '', // 企业类型
|