| | |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-form-item class="item" label="项目代码" label-width="100px" prop="projectCode"> |
| | | <el-input v-model.trim="projectForm.projectCode" class="item" clearable disabled maxlength="255" placeholder="请输入" /> |
| | | <el-input v-model.trim="projectForm.projectCode" class="item" clearable disabled maxlength="255" |
| | | placeholder="请输入"/> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12" style="position: relative"> |
| | |
| | | <el-row :gutter="20"> |
| | | <el-col :span="12"> |
| | | <el-form-item class="item" label="建设内容" label-width="100px" prop="content"> |
| | | <el-input v-model.trim="projectForm.content" style="width: 100%;" clearable maxlength="255" placeholder="请输入" type="textarea" /> |
| | | <el-input v-model.trim="projectForm.content" style="width: 100%;" clearable maxlength="255" |
| | | placeholder="请输入" type="textarea"/> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | |
| | | </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-input v-model.trim="projectForm.projectPhase" class="item" clearable disabled maxlength="255" |
| | | placeholder="请输入"/> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-form-item label="项目业主单位" label-width="100px" prop="projectOwnerUnit" style="width: 100%"> |
| | | <el-input v-model.trim="projectForm.projectOwnerUnit" class="item" clearable maxlength="255" placeholder="请输入" /> |
| | | <el-input v-model.trim="projectForm.projectOwnerUnit" class="item" clearable maxlength="255" |
| | | placeholder="请输入"/> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row :gutter="20"> |
| | | <el-col :span="6"> |
| | | <el-form-item label="项目联系人" label-width="100px" prop="projectContactPerson" style="width: 100%"> |
| | | <el-input v-model.trim="projectForm.projectContactPerson" class="item" clearable maxlength="255" placeholder="请输入" /> |
| | | <el-input v-model.trim="projectForm.projectContactPerson" class="item" clearable maxlength="255" |
| | | placeholder="请输入"/> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | |
| | | <!-- TODO:暂时不做 --> |
| | | <el-form-item label="关联工程" label-width="100px" prop="engineering" style="width: 100%"> |
| | | <!-- <el-input v-model.trim="getEngineeringName" class="item" clearable disabled maxlength="255" placeholder="请在工程中选择项目" />--> |
| | | <el-select v-model="projectForm.engineeringIdList" :multiple="true" collapse-tags placeholder="请选择" style="width: 100%"> |
| | | <el-select v-model="projectForm.engineeringIdList" :multiple="true" collapse-tags placeholder="请选择" |
| | | style="width: 100%"> |
| | | <el-option v-for="item in selectOptions" :key="item.id" :label="item.engineeringName" :value="item.id" /> |
| | | <!-- <RemoteSelect v-if="selectOptions.length" :hasMore="hasMore" :loading="loading" :page="page" @loadMore="handleLoadMore" />--> |
| | | </el-select> |
| | |
| | | placeholder="选择时间" |
| | | style="width: 100%" |
| | | type="date" |
| | | @change="chaneStartWork" |
| | | value-format="yyyy-MM-dd HH:mm:ss"/> |
| | | </el-form-item> |
| | | </el-col> |
| | |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-form-item label="中标金额" label-width="100px" style="width: 100%"> |
| | | <el-input v-model.trim="projectForm.winAmount" class="item" clearable maxlength="255" placeholder="请输入" type="number" /> |
| | | <el-input v-model.trim="projectForm.winAmount" class="item" clearable maxlength="255" placeholder="请输入" |
| | | type="number"/> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-form-item label="年度投资金额" label-width="100px" prop="company" style="width: 100%; min-width: 260px"> |
| | | <el-input v-model.trim="projectForm.yearInvestAmount" clearable maxlength="255" placeholder="请输入" style="width: 90%" type="number" /> |
| | | <el-input v-model.trim="projectForm.yearInvestAmount" clearable maxlength="255" placeholder="请输入" |
| | | style="width: 90%" type="number"/> |
| | | <span style="margin-left: 2px">元</span> |
| | | </el-form-item> |
| | | </el-col> |
| | |
| | | <el-col :span="18"> |
| | | <el-form-item label="项目地址:" label-width="100px" prop="medicalAddr" style="width: 100%"> |
| | | <div class="input-row"> |
| | | <el-input v-model.trim="projectForm.projectAddress" class="input-item" disabled maxlength="255" placeholder="请输入"></el-input> |
| | | <el-input v-model.trim="projectForm.projectAddress" class="input-item" disabled maxlength="255" |
| | | placeholder="请输入"></el-input> |
| | | <div v-if="!disabled" class="map-btn" @click="dialogMap = true"> |
| | | <img alt="" src="@/assets/images/positionl.png" /> |
| | | </div> |
| | |
| | | }, |
| | | }, |
| | | created() { |
| | | this.projectForm.id = this.$route.query.projectId; |
| | | const projectForm = Cookies.get("projectForm"); |
| | | if (projectForm) { |
| | | this.projectForm = JSON.parse(projectForm); |
| | | } else { |
| | | //初始化主管部门下拉框 |
| | | this.getApprovalList(); |
| | | if(this.$route.query.projectId) { |
| | | this.projectForm.id = this.$route.query.projectId; |
| | | } |
| | | // 在组件创建时获取项目信息,如果 projectId 存在 |
| | | if (this.projectForm.id) { |
| | | this.getProjectInfo(this.projectForm.id); |
| | |
| | | .item { |
| | | width: 100%; |
| | | } |
| | | |
| | | .map_div { |
| | | width: 100%; |
| | | height: 643px; |
| | | } |
| | | |
| | | .input-row { |
| | | display: flex; |
| | | width: 100%; |