WXL
2024-07-05 fdf8b9cc7995c8d2022ac512c48a7567f6d2af9a
src/views/patient/patient/PatientChart.vue
@@ -252,7 +252,7 @@
            width="160"
          >
            <template slot-scope="scope">
              <span>{{ parseTime(scope.row.createTime) }}</span>
              <span>{{ parseTime(scope.row.archivetime) }}</span>
            </template>
          </el-table-column>
          <el-table-column
@@ -739,7 +739,7 @@
      // 查询参数
      queryParams: {
        pageNum: 1,
        allhosp: "1",
        allhosp: "0",
        pageSize: 10,
        idcardno: undefined,
        name: undefined,
@@ -906,24 +906,19 @@
    //修改/新增患者
    submitForm() {
      if (this.amendtag) {
        alterpatient(this.form)
          .then((response) => {
            console.log(response);
          })
          .then(() => {
            this.getList();
            this.$modal.msgSuccess("修改成功");
          });
        console.log(22);
        this.form.isoperation = 2;
      } else {
        addpatient(this.form)
          .then((response) => {
            console.log(response);
          })
          .then(() => {
            this.getList();
            this.$modal.msgSuccess("添加成功");
          });
        this.form.isoperation = 1;
      }
      alterpatient(this.form)
        .then((response) => {
          console.log(response);
        })
        .then(() => {
          this.getList();
          this.$modal.msgSuccess("保存成功");
        });
      this.reset();
      // this.idds = "";
      this.Labelchange = false;