| | |
| | | <el-tab-pane label="配置" name="second"></el-tab-pane> |
| | | </el-tabs> |
| | | <div v-show="activeName=='first'"> |
| | | <transition :enter-active-class="proxy?.animate.searchAnimate.enter" :leave-active-class="proxy?.animate.searchAnimate.leave"> |
| | | <el-form ref="form" :model="form" label-width="80px"> |
| | | 统计周期 |
| | | <el-select v-model="form.year" placeholder="请选择年份"> |
| | | <el-option label="2024年" value="2024" /> |
| | | <el-option label="2023年" value="2023" /> |
| | | <el-option label="2022年" value="2022" /> |
| | | <transition :enter-active-class="proxy?.animate.searchAnimate.enter" :leave-active-class="proxy?.animate.searchAnimate.leave"> |
| | | <div class="search" v-show="showSearch"> |
| | | <el-form :model="queryParams" ref="queryFormRef" :inline="true" label-width="68px"> |
| | | <el-form-item label="统计周期" prop="periodDate"> |
| | | <el-input v-model="queryParams.periodValue" placeholder="请输入统计周期" clearable style="width: 240px" @keyup.enter="handleQuery" /> |
| | | </el-form-item> |
| | | <el-form-item label="状态" prop="status"> |
| | | <el-select v-model="queryParams.status" placeholder="请选择" clearable style="width: 240px" @keyup.enter="handleQuery" > |
| | | <el-option key="1" label="已启用" value="1" /> |
| | | <el-option key="2" label="已禁用" value="2" /> |
| | | </el-select> |
| | | <el-select v-model="form.month" placeholder="请选择月份"> |
| | | <el-option label="12月" value="12" /> |
| | | <el-option label="11月" value="11" /> |
| | | <el-option label="10月" value="10" /> |
| | | </el-select> |
| | | 状态 |
| | | <el-select v-model="form.status" placeholder="请选择状态"> |
| | | <el-option label="全部" value="0" /> |
| | | <el-option label="已启用" value="1" /> |
| | | <el-option label="已禁用" value="2" /> |
| | | </el-select> |
| | | |
| | | <el-button type="primary" icon="Search" @click="handleQuery">搜索</el-button> |
| | | <el-button icon="Refresh" @click="resetQuery">重置</el-button> |
| | | |
| | | </el-form> |
| | | </transition> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button type="primary" icon="Search" @click="handleQuery">搜索</el-button> |
| | | <el-button icon="Refresh" @click="resetQuery">重置</el-button> |
| | | </el-form-item> |
| | | </el-form> |
| | | </div> |
| | | </transition> |
| | | |
| | | <el-card shadow="never"> |
| | | <template #header> |
| | |
| | | <el-table-column type="selection" width="55" align="center" /> |
| | | <el-table-column label="序号" type="index" width="50"/> |
| | | <el-table-column label="模块名称" align="center" prop="modeName" /> |
| | | <el-table-column label="指标1名称" align="center" prop="targetOneName" /> |
| | | <el-table-column label="指标1值" align="center" prop="targetOneValue" /> |
| | | <el-table-column label="指标1单位" align="center" prop="targetOneUnit" /> |
| | | <el-table-column label="指标1状态 1 上浮 2下降" align="center" prop="targetOneStatus" /> |
| | | <el-table-column label="指标1上浮或下降值" align="center" prop="targetOneCompareValue" /> |
| | | <el-table-column label="指标2名称" align="center" prop="targetTwoName" /> |
| | | <el-table-column label="指标2值" align="center" prop="targetTwoValue" /> |
| | | <el-table-column label="指标2单位" align="center" prop="targetTwoUnit" /> |
| | | <el-table-column label="指标2状态 1 上浮 2下降" align="center" prop="targetTwoStatus" /> |
| | | <el-table-column label="指标2上浮或下降值" align="center" prop="targetTwoCompareValue" /> |
| | | <el-table-column label="指标3名称" align="center" prop="targetThreeName" /> |
| | | <el-table-column label="指标3值" align="center" prop="targetThreeValue" /> |
| | | <el-table-column label="指标3单位" align="center" prop="targetThreeUnit" /> |
| | | <el-table-column label="指标3状态 1 上浮 2下降" align="center" prop="targetThreeStatus" /> |
| | | <el-table-column label="指标3上浮或下降值" align="center" prop="targetThreeCompareValue" /> |
| | | <el-table-column label="指标4名称" align="center" prop="targetFourName" /> |
| | | <el-table-column label="指标4值" align="center" prop="targetFourValue" /> |
| | | <el-table-column label="指标4单位" align="center" prop="targetFourUnit" /> |
| | | <el-table-column label="指标4状态 1 上浮 2下降" align="center" prop="targetFourStatus" /> |
| | | <el-table-column label="指标4上浮或下降值" align="center" prop="targetFourCompareValue" /> |
| | | <el-table-column label="启用状态 1启用 2未启用" align="center" prop="status" /> |
| | | <el-table-column label="周期 1 月 2年" align="center" prop="periodName" /> |
| | | <el-table-column label="周期值" align="center" prop="periodValue" /> |
| | | <el-table-column label="0未删除 1已删除" align="center" prop="del" /> |
| | | <el-table-column label="指标1" align="center" prop="targetOneName" /> |
| | | <el-table-column label="数值" align="center" prop="targetOneValue" /> |
| | | <el-table-column label="指标2" align="center" prop="targetTwoName" /> |
| | | <el-table-column label="数值" align="center" prop="targetTwoValue" /> |
| | | <el-table-column label="指标3" align="center" prop="targetThreeName" /> |
| | | <el-table-column label="数值" align="center" prop="targetThreeValue" /> |
| | | <el-table-column label="指标4" align="center" prop="targetFourName" /> |
| | | <el-table-column label="数值" align="center" prop="targetFourValue" /> |
| | | <el-table-column label="状态" align="center" prop="status"> |
| | | <template #default="scope"> |
| | | <span v-show="scope.row['status'] == 1">已启用</span> |
| | | <span v-show="scope.row['status'] == 2" style="color: rgba(227, 70,101);">已禁用</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="创建时间" align="center" prop="createTime"/> |
| | | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> |
| | | <template #default="scope"> |
| | | <el-tooltip content="修改" placement="top"> |
| | |
| | | </div> |
| | | <div v-show="activeName=='second'"> |
| | | <transition :enter-active-class="proxy?.animate.searchAnimate.enter" :leave-active-class="proxy?.animate.searchAnimate.leave"> |
| | | <div class="search" v-show="showSearch"> |
| | | <el-upload |
| | | action="#" |
| | | list-type="picture-card" |
| | | :auto-upload="false"> |
| | | <i slot="default" class="el-icon-plus"></i> |
| | | <div slot="file" slot-scope="{file}"> |
| | | <img |
| | | class="el-upload-list__item-thumbnail" |
| | | :src="file.url" alt="" |
| | | > |
| | | <span class="el-upload-list__item-actions"> |
| | | <span |
| | | class="el-upload-list__item-preview" |
| | | @click="handlePictureCardPreview(file)" |
| | | > |
| | | <i class="el-icon-zoom-in"></i> |
| | | </span> |
| | | <span |
| | | v-if="!disabled" |
| | | class="el-upload-list__item-delete" |
| | | @click="handleDownload(file)" |
| | | > |
| | | <i class="el-icon-download"></i> |
| | | </span> |
| | | <span |
| | | v-if="!disabled" |
| | | class="el-upload-list__item-delete" |
| | | @click="handleRemove(file)" |
| | | > |
| | | <i class="el-icon-delete"></i> |
| | | </span> |
| | | </span> |
| | | </div> |
| | | </el-upload> |
| | | <el-dialog :visible.sync="dialogVisible"> |
| | | <img width="100%" :src="dialogImageUrl" alt=""> |
| | | </el-dialog> |
| | | </div> |
| | | |
| | | </transition> |
| | | |
| | | |