田源
2025-03-05 d6f94d02fd033c1c0a68fe2d4e987eb233d2afb1
Source/UBCS-WEB/src/views/wel/Statistic.vue
@@ -9,7 +9,6 @@
               top='-40px'>
      <el-table
        ref="TableBox"
        v-loading="TableLoading"
        :data="Crud.data"
        border
        style="width: 100%"
@@ -54,7 +53,7 @@
        </el-table-column>
      </el-table>
      <div slot="footer" class="dialog-footer">
        <el-button plain type="primary" @click="SaveHandler">保存</el-button>
        <el-button plain type="primary" @click="SaveHandler" v-loading="BtnLoading">保存</el-button>
      </div>
    </el-dialog>
  </div>
@@ -67,7 +66,7 @@
  name: "Statistic",
  data() {
    return {
      TableLoading: false,
      BtnLoading: false,
      loading: true,
      Crud: {
        form: '',
@@ -127,7 +126,7 @@
        this.$message.warning('请选择一条数据!');
        return;
      }
      this.TableLoading = true;
      this.BtnLoading = true;
      try {
        const {data: {code}} = await save(this.userId, this.SelectRow.map(item => item.code));
        if (code === 200) {
@@ -136,12 +135,12 @@
          this.option.data = [];
          this.MasterGetList();
          this.dialogTableVisible = false;
          this.TableLoading = false;
          this.BtnLoading = false;
          this.loading = true;
          this.FontInfo();
        }
      } catch {
        this.TableLoading = false;
        this.BtnLoading = false;
      }
    },
    MoreHandler() {
@@ -154,6 +153,7 @@
          }
        })
      })
      // console.log(checkedrow)
      this.$nextTick(() => {
        checkedrow.forEach(row => {