666
lkk
2024-12-06 ae93592f70846480e937999b897a6e6151aab13f
src/views/system/tijian/index.vue
@@ -1014,6 +1014,7 @@
                v-for="(item, index) in tableData1"
                :key="'info1-' + index"
              >
                <el-collapse-item :name="index">
                  <template slot="title">
                    <div style="width: 70%">
@@ -1044,7 +1045,7 @@
                    style="width: 100%"
                    height="270"
                  >
                    <el-table-column prop="proName" label="项目" width="180">
                    <el-table-column prop="s" label="项目" width="180">
                    </el-table-column>
                    <el-table-column prop="proType" label="性别" width="180">
                      <template
@@ -1620,6 +1621,7 @@
        pacRemark: null,
      },
      // valueUrl: "ws://127.0.0.1:18890",
      // valueUrl: "ws://192.168.1.3:6789/websocket",
      valueUrl: "ws://127.0.0.1:6789/websocket",
      valueUrls: "ws://127.0.0.1:6789/websocket",
      // valueUrls: "ws://"+getIp() +":6789/websocket",
@@ -1694,6 +1696,9 @@
  },
  mounted() {
    console.log(this.dict.type.dict_user_marry, 555);
    console.log(this.dict.type.dict_user_national, 666);
  },
  methods: {
@@ -2203,6 +2208,12 @@
            if (this.form.tjType === null) {
              this.form.tjType = "3";
            }
            if (this.form.cusMarryStatus === "null") {
              this.form.cusMarryStatus = "5";
            }
            if (this.form.cusNational === "null") {
              this.form.cusNational = "1";
            }
            if (this.form.reservationId != null) {
              if (this.form.groupingId) {
                _this.tcShow = true;
@@ -2316,7 +2327,7 @@
                };
                var jStr = JSON.stringify(jsonObj);
                this.websocket.send(jStr);
                alert("请放身份证再点确认");
                // alert("请放身份证再点确认");
                var jsonObj = {
                  // name: "readCert",
                };
@@ -2382,7 +2393,9 @@
    // 最新使用webSocket通信
    readCardWebSocket(resultObj){
      let _this = this;
      if (resultObj.code === 200) {
      if (resultObj.code === 200 && resultObj.data.name != null) {
        console.log('213131');
          //回显相关数据
          _this.form.cusName = resultObj.data.name;
          _this.form.cusSex =
@@ -2404,7 +2417,9 @@
              "data:image/jpeg;base64," +
              resultObj.data.img;
          }
        } else if (resultObj.resultFlag == "-1") {
        } else {
          this.$message.warning('请放置身份证后再点击读取')
        }/* if (resultObj.resultFlag == "-1") {
          if (resultObj.errorMsg == "端口打开失败") {
            //alert("读卡器未连接");
          } else {
@@ -2412,7 +2427,7 @@
          }
        } else if (resultObj.resultFlag == "-2") {
          //alert(resultObj.errorMsg);
        }
        } */
    },
    // TODO 以下代码可能是泾川使用的
    jingChuanHandlerWebSocketResult(resultObj) {
@@ -3304,6 +3319,9 @@
              }
              this.list1 = false;
              this.list3 = true;
              this.list2 = false;
              console.log(this.list1)
              console.log(this.list3)
            } else {
              this.list1 = true;
              this.TotalPrice = "0.00";