WXL (wul)
17 小时以前 a9d2b856e0f6be6475319c2dc36bf405c2f908fc
src/views/sfstatistics/percentage/index.vue
@@ -58,8 +58,7 @@
        <el-form-item label="服务类型" prop="userName">
          <el-select
            v-model="queryParams.serviceType"
            multiple
            v-model="serviceTypeSingle"
            placeholder="请选择"
          >
            <el-option
@@ -319,6 +318,18 @@
      },
    };
  },
  computed: {
    // 服务类型单选:UI 绑定单值,内部仍以数组形式传给后端
    serviceTypeSingle: {
      get() {
        const st = this.queryParams.serviceType;
        return Array.isArray(st) ? st[0] : st;
      },
      set(val) {
        this.queryParams.serviceType = val == null || val === "" ? [] : [val];
      },
    },
  },
  created() {
    this.getDeptTree();
    this.loadCurrentTabData();
@@ -397,7 +408,8 @@
    handleQuery() {
      if (!this.queryParams.dateRange) this.queryParams.dateRange = [];
      if (!this.queryParams.dateRangecy) this.queryParams.dateRange = [];
      if (!this.queryParams.dateRangecy) this.queryParams.dateRangecy = [];
      this.queryParams.startTime = this.parseTime(
        this.queryParams.dateRange[0]
      );
@@ -521,6 +533,8 @@
    SeedetailsgGo(row) {
      this.SeedetailsVisible = false;
      this.infotitleVisible = false;
      let type = "";
      if (row.preachformson && row.preachformson.includes("3")) {
        type = 1;