WXL (wul)
2 天以前 447ac8696eb82c65d7e231a96679e0ca04943751
src/views/patient/propaganda/index.vue
@@ -37,7 +37,7 @@
            placeholder="请输入患者姓名"
          ></el-input>
        </el-form-item>
        <el-form-item label="患者范围" prop="status">
        <!-- <el-form-item label="患者范围" prop="status">
          <el-select
            v-model="topqueryParams.searchscope"
            placeholder="请选择患者范围"
@@ -50,7 +50,7 @@
            >
            </el-option>
          </el-select>
        </el-form-item>
        </el-form-item> -->
        <el-form-item label="患者范围" prop="status">
          <el-cascader
            v-model="topqueryParams.scopetype"
@@ -101,7 +101,6 @@
        <el-col :span="1.5">
          <el-button
            type="primary"
            plain
            icon="el-icon-plus"
            size="medium"
            @click="handleAdd"
@@ -260,11 +259,11 @@
          label="应宣教日期"
          width="200"
          align="center"
          key="longSendTime"
          prop="longSendTime"
          key="visitTime"
          prop="visitTime"
        >
          <template slot-scope="scope">
            <span>{{ formatTime(scope.row.longSendTime) }}</span>
            <span>{{ formatTime(scope.row.visitTime) }}</span>
          </template></el-table-column
        >
        <el-table-column
@@ -752,8 +751,10 @@
        pageNum: 1,
        pageSize: 10,
        serviceType: 4,
        searchscope: 2,
        searchscope: 3,
        sendstate: 2,
        leaveldeptcodes: [],
        leavehospitaldistrictcodes: [],
      },
      propss: { multiple: true },
      options: [],
@@ -782,6 +783,10 @@
        {
          value: 6,
          label: "已完成",
        },
        {
          value: 7,
          label: "超时",
        },
      ],
      topicoptionsyj: [
@@ -832,7 +837,7 @@
  methods: {
    /** 查询门诊宣教服务列表 */
    getList() {
       if (this.topqueryParams.searchscope == 3) {
      if (this.topqueryParams.searchscope == 3) {
        this.topqueryParams.leaveldeptcodes = store.getters.belongDepts.map(
          (obj) => obj.deptCode
        );
@@ -840,6 +845,8 @@
          store.getters.belongWards.map((obj) => obj.districtCode);
      }
      this.loading = true;
      console.log(this.topqueryParams.leavehospitaldistrictcodes,'123');
      console.log(this.topqueryParams.leaveldeptcodes,'344');
      if (
        this.topqueryParams.leavehospitaldistrictcodes[0] &&
@@ -849,6 +856,7 @@
      } else {
        this.topqueryParams.deptOrDistrict = 1;
      }
      console.log(55);
      getTaskservelist(this.topqueryParams).then((response) => {
        this.userList = response.rows[0].serviceSubtaskList;
        this.userList.forEach((item) => {