| | |
| | | > |
| | | <el-menu-item index="0">省厅考核</el-menu-item> |
| | | <el-menu-item index="1">区县考核</el-menu-item> |
| | | <el-menu-item index="2" v-if ="examineCategory==1">公安部考核</el-menu-item> |
| | | </el-menu> |
| | | </div> |
| | | <el-container> |
| | |
| | | type="text" |
| | | icon="el-icon-edit" |
| | | @click="handleRuleUpdate(item)" |
| | | v-hasPermi="['check:template:edit']" |
| | | >修改 |
| | | </el-button> |
| | | </div> |
| | |
| | | </el-card> |
| | | </el-col> |
| | | </el-row> |
| | | <!-- <div></div> |
| | | <el-table |
| | | v-loading="loading" |
| | | :data="checkRuleList" |
| | | @selection-change="handleSelectionChange" |
| | | > |
| | | <el-table-column type="selection" width="55" align="center" /> |
| | | <el-table-column |
| | | label="规则名称" |
| | | align="center" |
| | | prop="checkRuleName" |
| | | /> |
| | | <el-table-column label="规则权重" align="center" prop="weight" /> |
| | | <el-table-column |
| | | label="操作" |
| | | align="center" |
| | | class-name="small-padding fixed-width" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <el-button |
| | | size="mini" |
| | | type="text" |
| | | icon="el-icon-edit" |
| | | @click="handleRuleUpdate(scope.row)" |
| | | >修改 |
| | | </el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> --> |
| | | </el-main> |
| | | </el-container> |
| | | |
| | |
| | | icon="el-icon-download" |
| | | size="mini" |
| | | @click="handleExport" |
| | | v-hasPermi="['check:result:detail:export']" |
| | | >导出 |
| | | </el-button> |
| | | </el-col> |
| | |
| | | :inline="true" |
| | | v-show="showSearch" |
| | | > |
| | | <!-- <el-form-item label="考核月度" prop="name">--> |
| | | <!-- <el-date-picker--> |
| | | <!-- v-model="queryParams.date"--> |
| | | <!-- format="yyyy-MM"--> |
| | | <!-- value-format="yyyy-MM"--> |
| | | <!-- type="month"--> |
| | | <!-- placeholder="选择日期"--> |
| | | <!-- @change="dateChange"--> |
| | | <!-- >--> |
| | | <!-- </el-date-picker>--> |
| | | <!-- </el-form-item>--> |
| | | <el-form-item label="考核时间"> |
| | | <el-date-picker |
| | | :clearable="false" |
| | |
| | | fixed |
| | | > |
| | | <template slot-scope="scope"> |
| | | {{ scope.row.examine_tag === 0 ? '省厅考核' : '区县考核' }} |
| | | {{ |
| | | scope.row.examine_tag === 0 ? '省厅考核' : |
| | | scope.row.examine_tag === 1 ? '区县考核' : |
| | | scope.row.examine_tag === 2 ? '公安部考核' : '未知' |
| | | }} |
| | | </template> |
| | | </el-table-column> |
| | | <template v-for="item in tableData"> |
| | |
| | | width="180px" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <span>{{ scope.row[item.ruleIndex] }}</span> |
| | | <span>{{ (scope.row[item.ruleIndex] * 100).toFixed(2) + '%'}}</span> |
| | | </template> |
| | | </el-table-column> |
| | | </template> |
| | |
| | | id: null, |
| | | date: null, |
| | | quarter: null, |
| | | examineTag: null |
| | | examineTag: null, |
| | | examineTags: [], |
| | | deptId: null |
| | | }, |
| | | // 表单校验 |
| | | rules: {}, |
| | |
| | | if (this.$route.query.id) { |
| | | this.queryParams.id = this.$route.query.id; |
| | | } |
| | | if(this.$route.query.deptId){ |
| | | this.queryParams.deptId = this.$route.query.deptId; |
| | | } |
| | | this.examineCategory = this.$route.query.examineCategory; |
| | | let examineTag = this.$route.query.examineTag; |
| | | this.activeIndex = examineTag; |
| | | this.queryParams.examineTag = examineTag; |
| | | this.queryParams.examineTags.push(examineTag); |
| | | // 考核积分列表 |
| | | this.getList(); |
| | | this.areaSelect(); |
| | |
| | | /** 导出按钮操作 */ |
| | | handleExport() { |
| | | this.download( |
| | | "/check/score/export", |
| | | "/check/score/detailExport", |
| | | { |
| | | ...this.queryParams, |
| | | }, |