| | |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="项目标签"> |
| | | <el-select v-model="queryParams.tag" clearable placeholder="请选择" class="select-option" |
| | | @change="handleQuery"> |
| | | <el-option v-for="item in dict.type.sys_project_tags" :key="item.value" :label="item.label" |
| | | :value="item.value"/> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="项目状态"> |
| | | <el-select v-model="queryParams.projectStatus" :disabled="isProjectCategory" clearable |
| | | @change="handleQuery" |
| | |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="项目码"> |
| | | <el-select v-model="queryParams.coding" clearable placeholder="请选择" class="select-option" |
| | |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="关联状态"> |
| | | <el-select v-model="queryParams.assignmentStatus" clearable placeholder="请选择" class="select-option" |
| | | @change="handleQuery"> |
| | | <el-option v-for="item in dict.type.sys_association_status" :key="item.value" :label="item.label" |
| | | :value="item.value"/> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="资金类型"> |
| | | <el-select v-model="queryParams.investmentType" clearable placeholder="请选择" class="select-option" |
| | | <el-select v-model="queryParams.fundType" clearable placeholder="请选择" class="select-option" |
| | | @change="handleQuery"> |
| | | <el-option v-for="item in dict.type.sys_funding_type" :key="item.value" :label="item.label" |
| | | :value="item.value"/> |
| | |
| | | <template v-if="item.slotName === 'coding'"> |
| | | <dict-tag :options="dict.type.sys_project_code" :value="scope.row.coding"/> |
| | | </template> |
| | | <!-- 行政区划插槽 --> |
| | | <template v-if="item.slotName === 'area'"> |
| | | <dict-tag :options="dict.type.sys_administrative_divisions" :value="scope.row.area"/> |
| | | </template> |
| | | <!-- 资金类型插槽 --> |
| | | <template v-if="item.slotName === 'fundType'"> |
| | | <dict-tag :options="dict.type.sys_funding_type" :value="scope.row.fundType"/> |
| | | </template> |
| | | <!-- projectType插槽 --> |
| | | <template v-if="item.slotName === 'projectType'"> |
| | | <dict-tag :options="dict.type.sys_project_type" :value="scope.row.projectType"/> |
| | | </template> |
| | | <!-- projectSubType插槽 --> |
| | | <!-- attractInvestment插槽 --> |
| | | <template v-if="item.slotName === 'attractInvestment'"> |
| | | <dict-tag :options="dict.type.sys_project_type" :value="scope.row.attractInvestment"/> |
| | | <dict-tag :options="dict.type.attract_investment" :value="scope.row.attractInvestment"/> |
| | | </template> |
| | | <!-- constructionNature插槽 --> |
| | | <template v-if="item.slotName === 'constructionNature'"> |
| | |
| | | <template v-if="item.slotName === 'investType'"> |
| | | <dict-tag :options="dict.type.sys_investment_type" :value="scope.row.investType"/> |
| | | </template> |
| | | <!-- investType插槽 --> |
| | | <!-- importanceType插槽 --> |
| | | <template v-if="item.slotName === 'importanceType'"> |
| | | <dict-tag :options="dict.type.sys_key_categories" :value="scope.row.importanceType"/> |
| | | </template> |
| | | <!-- planStartTime --> |
| | | <template v-if="item.slotName === 'planStartTime'"> |
| | | {{ scope.row.planStartTime ? scope.row.planStartTime.split('-')[0] + '年' : '' }} |
| | | <!-- plannedStartDate --> |
| | | <template v-if="item.slotName === 'plannedStartDate'"> |
| | | {{ scope.row.plannedStartDate ? scope.row.plannedStartDate.split('-')[0] + '年' : '' }} |
| | | </template> |
| | | <!-- usedStatus插槽 --> |
| | | <template v-if="item.slotName === 'usedStatus'"> |
| | | <dict-tag :options="dict.type.sys_used_status" :value="scope.row.usedStatus"/> |
| | | </template> |
| | | <!-- planStartTime --> |
| | | <template v-else-if="item.slotName === 'planStartTime'"> |
| | | {{ scope.row.planStartTime ? scope.row.planStartTime.split(' ')[0] : '' }} |
| | | </template> |
| | | </template> |
| | | <!-- 转换计划开工样式 空格切割数组 --> |
| | | |
| | | <!-- 默认显示 --> |
| | | <span v-else>{{ scope.row[item.columns] }}</span> |
| | | </template> |
| | |
| | | <el-tooltip class="item" effect="dark" content="编辑" placement="top"> |
| | | <el-button |
| | | v-if="isReserve" |
| | | v-hasRole="['user']" |
| | | v-hasPermi="['project:edit']" |
| | | size="medium" |
| | | type="text" |
| | | icon="el-icon-edit" |