| | |
| | | size="small" |
| | | :inline="true" |
| | | v-show="showSearch" |
| | | label-width="100px" |
| | | > |
| | | <el-form-item label="考核对象" prop="unitId"> |
| | | <el-select |
| | |
| | | range-separator="-" |
| | | start-placeholder="开始日期" |
| | | end-placeholder="结束日期" |
| | | @change="handleQuery" |
| | | ></el-date-picker> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button |
| | | type="primary" |
| | | icon="el-icon-search" |
| | | size="mini" |
| | | size="small" |
| | | @click="handleQuery" |
| | | >搜索</el-button |
| | | > |
| | | <el-button icon="el-icon-refresh" size="mini" @click="resetQuery" |
| | | <el-button icon="el-icon-refresh" size="small" @click="resetQuery" |
| | | >重置</el-button |
| | | > |
| | | </el-form-item> |
| | |
| | | <!-- v-hasPermi="['system:checkResult:add']"--> |
| | | <!-- >新增</el-button>--> |
| | | <!-- </el-col>--> |
| | | <el-col :span="1.5"> |
| | | <!-- <el-col :span="1.5"> |
| | | <el-button |
| | | type="danger" |
| | | plain |
| | |
| | | @click="handleDelete" |
| | | >删除</el-button |
| | | > |
| | | </el-col> |
| | | <el-col :span="1.5"> |
| | | </el-col> --> |
| | | <!-- <el-col :span="1.5"> |
| | | <el-button |
| | | type="warning" |
| | | plain |
| | |
| | | @click="handleExport" |
| | | >导出</el-button |
| | | > |
| | | </el-col> |
| | | <right-toolbar |
| | | </el-col> --> |
| | | <!-- <right-toolbar |
| | | :showSearch.sync="showSearch" |
| | | @queryTable="getList" |
| | | ></right-toolbar> |
| | | ></right-toolbar> --> |
| | | </el-row> |
| | | |
| | | <el-row v-loading="loading"> |
| | | <el-row v-if="checkResultList && checkResultList.length > 0" v-loading="loading"> |
| | | <el-col |
| | | :xl="8" |
| | | :lg="8" |
| | |
| | | > |
| | | <el-card class="box-card"> |
| | | <div slot="header" class="clearfix"> |
| | | <span>{{ item.contractName }}</span> |
| | | <span>{{ item.unitName + item.whichYear +'年'+item.whichMonth+'月考核报告' }}</span> |
| | | <el-button |
| | | style="float: right; padding: 3px 6px" |
| | | type="text" |
| | |
| | | style="float: right" |
| | | @click="handlePublish(item)" |
| | | v-show="item.publish != 1" |
| | | v-hasPermi="['result:contract:publish']" |
| | | v-hasPermi="['contract:result:publish']" |
| | | >确认发布</el-button |
| | | > |
| | | <el-button |
| | | size="small" |
| | | round |
| | | style="float: right" |
| | | disabled |
| | | @click="handlePublish(item)" |
| | | v-show="item.publish == 1" |
| | | v-hasPermi="['result:contract:publish']" |
| | | v-hasPermi="['contract:result:publish']" |
| | | >已发布</el-button |
| | | > |
| | | </div> |
| | | </el-card> |
| | | </el-col> |
| | | </el-row> |
| | | <el-empty v-else description="暂无数据"></el-empty> |
| | | |
| | | <pagination |
| | | v-show="total > 0" |
| | |
| | | placeholder="请为该单位打分" |
| | | /> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="submitManualScore">确 定</el-button> |
| | | <el-button @click="cancelManualScore">取 消</el-button> |
| | | <el-button type="primary" @click="submitManualScore">确 定</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | |
| | |
| | | width="300" |
| | | > |
| | | </el-table-column> |
| | | <el-table-column |
| | | label="扣减方式" |
| | | align="center" |
| | | prop="deductCategory" |
| | | width="180px" |
| | | > |
| | | </el-table-column> |
| | | <el-table-column prop="num" label="指标"> </el-table-column> |
| | | <el-table-column prop="num" label="次数"> </el-table-column> |
| | | <el-table-column prop="score" label="扣分"> </el-table-column> |
| | | </el-table> |
| | | </el-dialog> |
| | |
| | | <el-form ref="form" :model="form" :rules="rules" label-width="80px"> |
| | | </el-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="submitForm">确 定</el-button> |
| | | <el-button @click="cancel">取 消</el-button> |
| | | <el-button type="primary" @click="submitForm">确 定</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | </div> |
| | |
| | | }; |
| | | }, |
| | | created() { |
| | | this.getList(); |
| | | this.getUnitSelect(); |
| | | this.getList(); |
| | | }, |
| | | methods: { |
| | | getUnitSelect() { |
| | |
| | | if (null != this.daterangeCheckTime && "" != this.daterangeCheckTime) { |
| | | this.queryParams["createStartTime"] = this.daterangeCheckTime[0]; |
| | | this.queryParams["createEndTime"] = this.daterangeCheckTime[1]; |
| | | }else { |
| | | this.queryParams["createStartTime"] = null; |
| | | this.queryParams["createEndTime"] = null; |
| | | } |
| | | console.log("this.queryParams", this.queryParams); |
| | | listCheckResult(this.queryParams).then((response) => { |
| | |
| | | this.manualScoreOpen = true; |
| | | }, |
| | | handleDetail(row) { |
| | | resultRecord(row.id).then((res) => { |
| | | resultRecord(row.id, row.contractId).then((res) => { |
| | | this.tableData = res.rows; |
| | | }); |
| | | this.detail = row; |
| | |
| | | let text = row.publish == 1 ? "取消发布" : "发布"; |
| | | const ids = row.id || this.ids; |
| | | this.$modal |
| | | .confirm("是否确认" + text + '考核结果编号为"' + ids + '"的数据项?') |
| | | .confirm("是否确认" + text + row.unitName + row.whichYear +'年'+row.whichMonth+'月考核报告?') |
| | | .then(function () { |
| | | return publishCheckResult(ids); |
| | | }) |