WXL
4 天以前 88cd1b9c862df00e7782084c641e37e7e930ec31
src/views/followvisit/tasklist/index.vue
@@ -23,7 +23,7 @@
            @keyup.enter.native="handleQuery"
          ></el-input>
        </el-form-item>
        <el-form-item label="创发送时间">
        <el-form-item label="发送时间">
          <el-date-picker
            v-model="dateRange"
            style="width: 240px"
@@ -214,10 +214,10 @@
          sortable
          align="center"
          prop="createTime"
          width="160"
          width="180"
        >
          <template slot-scope="scope">
            <span>{{ formatTime(scope.row.createTime) }}</span>
            <span>{{ parseTime(scope.row.createTime) }}</span>
          </template>
        </el-table-column>
@@ -497,9 +497,12 @@
        },
        {
          value: "7",
          label: "患者报告",
          label: "患者日常报告",
        },
        {
          value: "9",
          label: "患者异常报告",
        },
        {
          value: "8",
          label: "其他通知",
@@ -604,7 +607,7 @@
      topqueryParams: {
        pageNum: 1,
        pageSize: 10,
        type: 1,
        type: 2,
        userName: undefined,
        tagid: undefined,
        topic: undefined,
@@ -699,7 +702,7 @@
        this.tasktopic == 7 ||
        this.tasktopic == 6
      ) {
        if (!this.topqueryParams.type) this.topqueryParams.type = '2';
        if (!this.topqueryParams.type) this.topqueryParams.type = "2";
        this.longtermlist = [
          {
            value: 1,
@@ -711,7 +714,7 @@
          },
        ];
      } else if (this.tasktopic == 4 || this.tasktopic == 8) {
        if (!this.topqueryParams.type) this.topqueryParams.type = '3';
        if (!this.topqueryParams.type) this.topqueryParams.type = "3";
        this.longtermlist = [
          {
            value: 3,
@@ -719,7 +722,7 @@
          },
        ];
      } else if (this.tasktopic == 5) {
        if (!this.topqueryParams.type) this.topqueryParams.type = '1';
        if (!this.topqueryParams.type) this.topqueryParams.type = "1";
        this.longtermlist = [
          {
            value: 1,
@@ -794,9 +797,16 @@
    /** 重置按钮操作 */
    resetQuery() {
      this.dateRange = [];
      this.resetForm("queryForm");
      this.topqueryParams.deptId = undefined;
      this.$refs.tree.setCurrentKey(null);
      this.topqueryParams = {
        pageNum: 1,
        pageSize: 10,
        type: 2,
      };
      this.topqueryParams.leaveldeptcodes = store.getters.belongDepts.map(
        (obj) => obj.deptCode
      );
      this.topqueryParams.leavehospitaldistrictcodes =
        store.getters.belongWards.map((obj) => obj.districtCode);
      this.handleQuery();
    },
    // 多选框选中数据
@@ -934,6 +944,17 @@
        this.TaskOperation.taskType = this.topqueryParams.type;
        this.TaskOperation.sendState = 2;
        this.TaskOperation.sendType = 2;
        this.$modal.confirm({
        title: '确认操作',
        text: '你确定要执行这个操作吗?',
        showCancelButton: true,
        confirmButtonText: '确定',
        cancelButtonText: '取消'
      }).then((result) => {
        if (result.value) {
          console.log('用户点击了确定按钮');
        }
      });
        this.$modal
          .confirm(
            '当前选中任务名称为"' +