Commit ab871f64 authored by tanjuanjuan's avatar tanjuanjuan

测试

parent 267e3d66
...@@ -45,8 +45,6 @@ ...@@ -45,8 +45,6 @@
<script setup lang="ts"> <script setup lang="ts">
import type { FormRules } from 'wot-design-uni/components/wd-form/types'; import type { FormRules } from 'wot-design-uni/components/wd-form/types';
import dayjs from 'dayjs'; import dayjs from 'dayjs';
const test = ref()
const test1=ref()
const form = ref() const form = ref()
const formFlag = ref(true) const formFlag = ref(true)
let submitstr = "" let submitstr = ""
...@@ -98,7 +96,6 @@ ...@@ -98,7 +96,6 @@
} }
onLoad(() => { onLoad(() => {
//model.certno = "520202199704155913" //model.certno = "520202199704155913"
//model.certno = "520102198611011224"
xma.xh.getUserProfile({ xma.xh.getUserProfile({
range: ['CITIZEN'], range: ['CITIZEN'],
success(info) { success(info) {
...@@ -137,9 +134,6 @@ ...@@ -137,9 +134,6 @@
.then(({ valid, errors }) => { .then(({ valid, errors }) => {
if (valid) { if (valid) {
convertToJson() convertToJson()
console.log("****")
console.log(submitstr)
test.value=submitstr
xma.request({ xma.request({
url: "https://onemoment.gywb.cn/back/one-visit/one-visit/web/ybVisit/ybSgySm2", url: "https://onemoment.gywb.cn/back/one-visit/one-visit/web/ybVisit/ybSgySm2",
method: "POST", method: "POST",
...@@ -149,9 +143,6 @@ ...@@ -149,9 +143,6 @@
"url": "/engine/rest/queryRsdtPsnClctDetlList" "url": "/engine/rest/queryRsdtPsnClctDetlList"
}, },
success: (res) => { success: (res) => {
console.log("***")
test1.value=res
console.log(res.data?.biz_data?.body?.data?.data)
results.value = res.data?.biz_data?.body?.data?.data || [] results.value = res.data?.biz_data?.body?.data?.data || []
formFlag.value = false formFlag.value = false
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment