su
su1124
2024-01-31 1b660792abd1703243418854214b725cd34402db
src/views/doctor/examination/index.vue
@@ -156,6 +156,7 @@
                >同步</el-button
              >
              <el-button
                :disabled="dis"
                size="mini"
                type="text"
                v-hasPermi="['reservation:reservation:edit']"
@@ -177,7 +178,6 @@
                @click="bohui(scope.row)"
                >驳回</el-button
              >
            </template>
          </el-table-column>
        </el-table>
@@ -281,11 +281,17 @@
</template>
<script>
import { getCsList, confirmOrder, cSWebGetPro,dataSynchronization } from "@/api/doctor/examination";
import {
  getCsList,
  confirmOrder,
  cSWebGetPro,
  dataSynchronization,
} from "@/api/doctor/examination";
export default {
  dicts: ["dict_tj_status"],
  data() {
    return {
      dis: false,
      createTimeList: "",
      total: 0,
      loading: true,
@@ -470,6 +476,14 @@
        let tjNumber = this.tjnum;
        cSWebGetPro(tjNumber).then((res) => {
          this.xiangmuList = res.data;
          this.xiangmuList.forEach((item) => {
            console.log(item);
            if (item.type == 0) {
              this.dis = true;
            } else {
              this.dis = false;
            }
          });
        });
      });
    },
@@ -510,7 +524,6 @@
            this.$modal.msgSuccess("同步成功!");
          }
        });
    },
    // 驳回按钮
    bohui(row) {