| | |
| | | placeholder="请输入"/> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12" style="position: relative"> |
| | | <div style="width: 100%; height: 100%; position: absolute;"> |
| | | <el-col :span="5"> |
| | | <el-form-item class="item" label="赋码" label-width="50px" prop="coding"> |
| | | <template slot-scope="scope"> |
| | | <!-- <div class="yellow-dot" v-if="scope.row.coding === 'yellow'"></div>--> |
| | | <!-- <div class="green-dot" v-if="scope.row.coding === 'green'"></div>--> |
| | | <!-- <div class="red-dot" v-if="scope.row.coding === 'red'"></div>--> |
| | | <div class="red-dot"></div> |
| | | <tag-list></tag-list> |
| | | </template> |
| | | </el-form-item> |
| | | <!-- <img alt="" src="../../../../assets/images/s.png"/>--> |
| | | </div> |
| | | <template slot-scope="scope"> |
| | | <!-- <div class="yellow-dot" v-if="scope.row.coding === 'yellow'"></div>--> |
| | | <!-- <div class="green-dot" v-if="scope.row.coding === 'green'"></div>--> |
| | | <!-- <div class="red-dot" v-if="scope.row.coding === 'red'"></div>--> |
| | | <div class="red-dot"></div> |
| | | </template> |
| | | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="7"> |
| | | <el-form-item label="标签" label-width="50px" prop="tag"> |
| | | <template slot-scope="scope"> |
| | | <tag-list :tag-list="tagList" ref="tagList" @getTags="getTagList"></tag-list> |
| | | </template> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row :gutter="20"> |
| | |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | |
| | | |
| | | |
| | | <el-row :gutter="20"> |
| | | <el-col :span="6"> |
| | | <el-form-item label="资金类型" label-width="100px" prop="fundType" style="width: 100%"> |
| | | <el-select v-model="projectForm.fundType" clearable placeholder="请选择" style="width: 100%"> |
| | | <el-form-item label="资金类型" label-width="100px" style="width: 100%"> |
| | | <el-select |
| | | v-model="projectForm.fundTypeList" |
| | | clearable |
| | | :multiple="true" |
| | | placeholder="请选择" |
| | | style="width: 100%" |
| | | collapse-tags> |
| | | <el-option v-for="item in dict.type.sys_funding_type" :key="item.value" :label="item.label" |
| | | :value="item.value"/> |
| | | </el-select> |
| | |
| | | </el-row> |
| | | <el-row :gutter="20"> |
| | | <el-col :span="6"> |
| | | <el-form-item label="项目类型" label-width="100px" prop="projectType" style="width: 100%"> |
| | | <el-form-item label="项目推进类型" label-width="100px" prop="projectType" style="width: 100%"> |
| | | <el-select v-model="projectForm.projectType" @change="getChildSelect" clearable placeholder="请选择" style="width: 100%"> |
| | | <el-option v-for="item in dict.type.sys_project_type" :key="item.value" :label="item.label" |
| | | :value="item.value"/> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-form-item label="项目子类型" label-width="100px" prop="projectSubType" style="width: 100%"> |
| | | <el-select v-model="projectForm.projectSubType" :disabled="projectForm.projectType === ''" clearable placeholder="请选择" style="width: 100%"> |
| | | <el-option v-for="item in projectSubTypeList" :key="item.dictCode + 'zd'" :label="item.dictLabel" |
| | | :value="item.dictValue"/> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | <!-- <el-col :span="6">--> |
| | | <!-- <el-form-item label="项目子类型" label-width="100px" prop="projectSubType" style="width: 100%">--> |
| | | <!-- <el-select v-model="projectForm.projectSubType" :disabled="projectForm.projectType === ''" clearable placeholder="请选择" style="width: 100%">--> |
| | | <!-- <el-option v-for="item in projectSubTypeList" :key="item.dictCode + 'zd'" :label="item.dictLabel"--> |
| | | <!-- :value="item.dictValue"/>--> |
| | | <!-- </el-select>--> |
| | | <!-- </el-form-item>--> |
| | | <!-- </el-col>--> |
| | | |
| | | <el-col :span="6"> |
| | | <el-form-item label="项目状态" label-width="100px" prop="projectstatus" style="width: 100%"> |
| | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-form-item label="项目阶段" label-width="100px" prop="fundsType" style="width: 100%"> |
| | | <el-input v-model.trim="projectForm.projectPhase" class="item" clearable disabled maxlength="255" |
| | | placeholder="请输入"/> |
| | | <el-form-item label="项目阶段" label-width="100px" prop="projectPhase" style="width: 100%"> |
| | | <el-select v-model="projectForm.projectPhase" clearable placeholder="请选择" style="width: 100%"> |
| | | <el-option v-for="item in dict.type.sys_project_phases" :key="item.value" :label="item.label" |
| | | :value="item.value"/> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | <!-- <el-col :span="6">--> |
| | |
| | | <el-col :span="6"> |
| | | <el-form-item label="重点分类" label-width="100px" style="width: 100%"> |
| | | <el-select |
| | | v-model="projectForm.importanceType" |
| | | v-model="projectForm.importanceTypeList" |
| | | clearable |
| | | :multiple="true" |
| | | placeholder="请选择" |
| | | style="width: 100%" |
| | | collapse-tags |
| | | > |
| | | <el-option v-for="item in dict.type.sys_key_categories" :key="item.value" :label="item.label" |
| | | :value="item.value"/> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | |
| | | |
| | | |
| | | |
| | | </el-row> |
| | | <el-row :gutter="20"> |
| | | <el-col :span="6"> |
| | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-form-item label="联系人" label-width="100px" style="width: 100%"> |
| | | <el-form-item label="行业主管部门联系人" label-width="160px" style="width: 100%"> |
| | | <el-select |
| | | v-model="projectForm.industryCompetentDepartmentPerson" |
| | | clearable |
| | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-form-item label="联系人联系方式" label-width="100px" style="width: 100%"> |
| | | <el-form-item label="行业主管部门联系方式" label-width="160px" style="width: 100%"> |
| | | <el-input |
| | | v-model="projectForm.departmentPersonPhone" |
| | | clearable |
| | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="1"> |
| | | <el-button type="danger" icon="el-icon-delete" v-show="projectForm.winUnitList.length > 1" @click="removeWinUnit(index)" circle></el-button> |
| | | <el-button type="danger" icon="el-icon-delete" @click="removeWinUnit(index)" circle></el-button> |
| | | </el-col> |
| | | </el-row> |
| | | </div> |
| | |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-col :span="7"> |
| | | <el-form-item label="年度投资金额" label-width="100px" prop="company" style="width: 100%; min-width: 260px"> |
| | | <el-input v-model.trim="yearPlan.yearTotalMoney" clearable maxlength="255" placeholder="请输入" |
| | | style="width: 90%" type="number"/> |
| | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="1"> |
| | | <el-button type="danger" icon="el-icon-delete" v-show="projectForm.yearPlanList.length > 1" @click="removeYearPlan(index)" circle></el-button> |
| | | <el-button type="danger" icon="el-icon-delete" @click="removeYearPlan(index)" circle></el-button> |
| | | </el-col> |
| | | </el-row> |
| | | </div> |
| | |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row :gutter="0"> |
| | | <el-col :span="18"> |
| | | <el-form-item label="审批计划书:" label-width="100px" prop="medicalAddr" style="width: 100%"> |
| | | <file-upload v-model="projectForm.fileList" |
| | | :fileType="accept" |
| | | :isShowTip="false"/> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <!-- <el-row :gutter="0">--> |
| | | <!-- <el-col :span="18">--> |
| | | <!-- <el-form-item label="审批计划书:" label-width="100px" prop="medicalAddr" style="width: 100%">--> |
| | | <!-- <file-upload v-model="projectForm.fileList"--> |
| | | <!-- :fileType="accept"--> |
| | | <!-- :isShowTip="false"/>--> |
| | | <!-- </el-form-item>--> |
| | | <!-- </el-col>--> |
| | | <!-- </el-row>--> |
| | | </el-form> |
| | | |
| | | <el-dialog :visible.sync="dialogMap" width="900px"> |
| | |
| | | name: 'BasicInfo', |
| | | dicts: ['sys_funding_type', 'sys_investment_type', 'sys_project_type', 'sys_project_status', 'sys_competent_department' |
| | | , 'sys_administrative_divisions', 'sys_centralized_management', 'sys_approval_type', 'sys_key_categories', 'sys_annual_plan' |
| | | , 'construction_nature', 'attract_investment'], |
| | | , 'construction_nature', 'attract_investment', 'sys_project_phases'], |
| | | components: { |
| | | Treeselect, |
| | | Map, |
| | |
| | | }, |
| | | data() { |
| | | return { |
| | | tagList: [], |
| | | projectSubTypeList: [], // 项目子类型 |
| | | projectForm: { |
| | | id: '', |
| | |
| | | projectType: '', |
| | | projectSubType: '', |
| | | projectStatus: 'pendding', |
| | | fundType: '', |
| | | fundTypeList: [], //资金类型 |
| | | investType: '', |
| | | importanceType: '', |
| | | importanceTypeList: [], //重点分类 |
| | | projectPhase: '储备规划阶段', |
| | | tag: '', |
| | | competentDepartment: '', |
| | |
| | | } |
| | | // this.handleLoadMore(1); |
| | | } |
| | | console.log(this.projectForm, "原始值") |
| | | this.$nextTick(() => { |
| | | console.log("设置了") |
| | | this.tagList = this.projectForm.tag ? this.projectForm.tag.split(",") : [] |
| | | console.log(this.tagList) |
| | | }) |
| | | }, |
| | | beforeDestroy() { |
| | | localStorage.setItem("projectForm", JSON.stringify(this.projectForm)); |
| | | }, |
| | | methods: { |
| | | getTagList(list) { |
| | | console.log("拿到了") |
| | | if (!list || list.length < 1) { |
| | | this.projectForm.tag = '' |
| | | } else { |
| | | this.projectForm.tag = list.join(","); |
| | | } |
| | | }, |
| | | getChildSelect(select) { |
| | | this.projectForm.projectSubType = '' |
| | | if (select) { |
| | |
| | | }) |
| | | } |
| | | this.$emit('updateIsShow', true); |
| | | console.log(this.projectForm, "原始值") |
| | | this.$nextTick(() => { |
| | | console.log("设置了") |
| | | this.tagList = this.projectForm.tag ? this.projectForm.tag.split(",") : [] |
| | | console.log(this.tagList) |
| | | }) |
| | | }); |
| | | }, |
| | | getApprovalList() { |
| | |
| | | }, |
| | | |
| | | submit(usedStatus) { |
| | | console.log((this.projectForm)); |
| | | this.$refs["projectForm"].validate(valid => { |
| | | if (valid) { |
| | | this.projectForm.usedStatus = usedStatus; |