WXL
6 天以前 45f9797c4e878d5f87a8d04d5ee07af8d39b5567
src/views/patient/propaganda/index.vue
@@ -108,7 +108,6 @@
                icon="el-icon-upload2"
                size="medium"
                @click="handleExport"
                v-hasPermi="['system:user:export']"
                >导出</el-button
              >
            </div>
@@ -149,7 +148,6 @@
        height="560"
        @selection-change="handleSelectionChange"
      >
        <el-table-column type="selection" width="50" align="center" />
        <el-table-column
          label="任务名称"
          fixed
@@ -774,6 +772,8 @@
  watch: {},
  created() {
    this.serviceState = store.getters.serviceState;
    console.log(this.serviceState,'this.serviceState');
    this.getList();
    this.getConfigKey("sys.user.initPassword").then((response) => {
      this.initPassword = response.msg;
@@ -795,11 +795,11 @@
        this.topqueryParams.leaveldeptcodes = store.getters.belongDepts.map(
          (obj) => obj.deptCode
        );
        this.topqueryParams.leavehospitaldistrictcodes = null;
        this.topqueryParams.leavehospitaldistrictcodes = [];
      } else if (this.topqueryParams.searchscope == 2) {
        this.topqueryParams.leavehospitaldistrictcodes =
          store.getters.belongWards.map((obj) => obj.districtCode);
        this.topqueryParams.leaveldeptcodes = null;
        this.topqueryParams.leaveldeptcodes = [];
      } else {
        this.topqueryParams.leaveldeptcodes = store.getters.belongDepts.map(
          (obj) => obj.deptCode
@@ -808,6 +808,7 @@
          store.getters.belongWards.map((obj) => obj.districtCode);
      }
      this.loading = true;
      if (this.topqueryParams.leavehospitaldistrictcodes[0]&&this.topqueryParams.leaveldeptcodes[0]) {
        this.topqueryParams.deptOrDistrict=2;
      }else{
@@ -1018,7 +1019,7 @@
    /** 导出按钮操作 */
    handleExport() {
      this.download(
        "system/user/export",
        "smartor/serviceSubtask/patItemExport",
        {
          ...this.topqueryParams,
        },