wwl
2024-12-07 d194f4cd74da499f741100e5e3da5bcc3a0dc387
src/views/doctor/examination/index.vue
@@ -159,8 +159,9 @@
                size="mini"
                type="text"
                v-show="
                  scope.row.confirmStatus == '299' ||
                  scope.row.confirmStatus == 288
                  (xianshi == 'Y' || xianshi == 'y') &&
                  (scope.row.confirmStatus == '299' ||
                    scope.row.confirmStatus == 288)
                "
                @click="tongguo(scope.row)"
                >通过</el-button
@@ -169,8 +170,9 @@
                size="mini"
                type="text"
                v-show="
                  scope.row.confirmStatus == '301' ||
                  scope.row.confirmStatus == 288
                  (xianshi == 'Y' || xianshi == 'y') &&
                  (scope.row.confirmStatus == '301' ||
                    scope.row.confirmStatus == 288)
                "
                @click="bohui(scope.row)"
                >驳回</el-button
@@ -281,6 +283,7 @@
</template>
<script>
import { getConfigKey } from "@/api/system/config";
import {
  getCsList,
  confirmOrder,
@@ -313,6 +316,7 @@
      checkStatus: "0",
      exaList: [],
      // 表单参数
      xianshi: '',
      form: {},
      clearTimeSet: null,
      tjNumbers: "",
@@ -357,6 +361,7 @@
  },
  created() {
    this.getdate();
    // this.getNowTime();
  },
  mounted() {
@@ -366,6 +371,9 @@
  },
  methods: {
    getdate() {
      getConfigKey("tj_confirm").then((res) => {
        this.xianshi = res.msg;
      });
      getNewDateList().then((res) => {
        this.createTimeList = [
          moment(res.data).format("YYYY-MM-DD 00:00:00"),
@@ -562,7 +570,8 @@
      this.$modal.loading("正在同步,请稍候...");
      this.setTime();
      let tjNumber = row.tjNumber;
      dataSynchronization(tjNumber).then((res, error) => {
      dataSynchronization(tjNumber)
        .then((res, error) => {
        if (res.code == 200) {
          // this.$forceUpdate();
          this.handleCurrentChange(row);
@@ -571,7 +580,8 @@
          this.$modal.closeLoading();
          this.$modal.msgSuccess("同步成功!");
        } 
      }).catch(error => {
        })
        .catch((error) => {
        this.handleCurrentChange(row);
          clearInterval(this.clearTimeSet);
          this.clearTimeSet = null;