fuliqi
2024-09-23 c5c80dbc2632719789b91d236de7cf1e6497557d
src/views/system/check/result/detail/detail.vue
@@ -37,6 +37,7 @@
                  type="text"
                  icon="el-icon-edit"
                  @click="handleRuleUpdate(item)"
                  v-hasPermi="['check:template:edit']"
                  >修改
                </el-button>
              </div>
@@ -45,35 +46,6 @@
            </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>
@@ -88,6 +60,7 @@
              icon="el-icon-download"
              size="mini"
              @click="handleExport"
              v-hasPermi="['check:result:detail:export']"
              >导出
            </el-button>
          </el-col>
@@ -98,17 +71,6 @@
            :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"
@@ -182,7 +144,7 @@
              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>
@@ -344,7 +306,8 @@
        id: null,
        date: null,
        quarter: null,
        examineTag: null
        examineTag: null,
        deptId: null
      },
      // 表单校验
      rules: {},
@@ -362,6 +325,9 @@
    //考核成绩详情跳转参数接收
    if (this.$route.query.id) {
      this.queryParams.id = this.$route.query.id;
    }
    if(this.$route.query.deptId){
      this.queryParams.deptId = this.$route.query.deptId;
    }
    let examineTag = this.$route.query.examineTag;
    this.activeIndex = examineTag;
@@ -496,7 +462,7 @@
    /** 导出按钮操作 */
    handleExport() {
      this.download(
        "/check/score/export",
        "/check/score/detailExport",
        {
          ...this.queryParams,
        },