fuliqi
2025-01-07 8f38cbf36743746bde6997cef3998eadc6e95e10
src/views/system/contract/contract-result/index.vue
@@ -112,7 +112,7 @@
      >
        <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"
@@ -142,7 +142,7 @@
              size="small"
              round
              style="float: right"
              disabled
              @click="handlePublish(item)"
              v-show="item.publish == 1"
              v-hasPermi="['contract:result:publish']"
              >已发布</el-button
@@ -291,8 +291,8 @@
    };
  },
  created() {
    this.getList();
    this.getUnitSelect();
    this.getList();
  },
  methods: {
    getUnitSelect() {
@@ -373,7 +373,7 @@
      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);
        })