WXL (wul)
8 小时以前 2d38ba9cd15c60b875bc8dc7eeb7aecc5a04fc2b
src/views/patient/propaganda/index.vue
@@ -101,7 +101,7 @@
        <el-col :span="1.5">
          <el-button
            type="primary"
                        icon="el-icon-plus"
            icon="el-icon-plus"
            size="medium"
            @click="handleAdd"
            >新增</el-button
@@ -312,7 +312,7 @@
        <!-- <el-table-column label="性别"width="100" align="center" key="sex" prop="sex" /> -->
        <!-- <el-table-column label="床号" align="center" key="badNo" prop="badNo" /> -->
        <el-table-column
          label="课题组"
          label="科室"
          align="center"
          key="deptname"
          prop="deptname"
@@ -442,8 +442,8 @@
        </el-row>
        <el-row :gutter="20">
          <el-col :span="24"
            ><el-form-item label="所属课题组">
              <el-select v-model="form.region" placeholder="请选择课题组">
            ><el-form-item label="所属科室">
              <el-select v-model="form.region" placeholder="请选择科室">
                <el-option label="区域一" value="shanghai"></el-option>
                <el-option label="区域二" value="beijing"></el-option>
              </el-select> </el-form-item></el-col
@@ -613,7 +613,7 @@
      sourcetype: [
        {
          value: 1,
          label: "课题组",
          label: "科室",
          children: [],
        },
        {
@@ -648,7 +648,7 @@
        },
        {
          value: 1,
          label: "课题组患者",
          label: "科室患者",
        },
        {
          value: 2,
@@ -753,6 +753,8 @@
        serviceType: 4,
        searchscope: 2,
        sendstate: 2,
         leaveldeptcodes: [],
        leavehospitaldistrictcodes: [],
      },
      propss: { multiple: true },
      options: [],
@@ -831,7 +833,7 @@
  methods: {
    /** 查询门诊宣教服务列表 */
    getList() {
       if (this.topqueryParams.searchscope == 3) {
      if (this.topqueryParams.searchscope == 3) {
        this.topqueryParams.leaveldeptcodes = store.getters.belongDepts.map(
          (obj) => obj.deptCode
        );
@@ -839,6 +841,8 @@
          store.getters.belongWards.map((obj) => obj.districtCode);
      }
      this.loading = true;
      console.log(this.topqueryParams.leavehospitaldistrictcodes);
      console.log(this.topqueryParams.leaveldeptcodes);
      if (
        this.topqueryParams.leavehospitaldistrictcodes[0] &&
@@ -848,6 +852,7 @@
      } else {
        this.topqueryParams.deptOrDistrict = 1;
      }
      console.log(55);
      getTaskservelist(this.topqueryParams).then((response) => {
        this.userList = response.rows[0].serviceSubtaskList;
        this.userList.forEach((item) => {