Przeglądaj źródła

门户适老化改在

nanMing 2 lat temu
rodzic
commit
4773bceded

+ 2 - 2
ruoyi-web/src/views/rzyljgsq/index.vue

@@ -133,8 +133,8 @@ const search = () => showSearch.value = true
 // 查询结果表单相关
 const formRef = ref()
 const form = reactive({
-  xm: '夏洛',
-  zjhm: '220123194808291226',
+  // xm: '夏洛',
+  // zjhm: '220123194808291226',
 })
 const rules = reactive({
   xm: [

+ 6 - 7
ruoyi-web/src/views/rzyljgsq/sqzltx/index.vue

@@ -60,12 +60,12 @@ let timer
 
 // 表单数据
 const form = reactive({
-  xm: '夏洛', // 姓名
-  zjhm: '220123194808291226', // 证件号码
-  lrjzdzxzqh: '220102001001', // 居住地行政区划
-  lrjzdz: '前进大街1000号', // 居住地址
-  yyLrRzyddh: '15578176756',  // 联系方式
-  yyLrYljg: '03bc8c3afc1c233a6fd07483193a0014',  // 选择机构
+  // xm: '夏洛', // 姓名
+  // zjhm: '220123194808291226', // 证件号码
+  // lrjzdzxzqh: '220102001001', // 居住地行政区划
+  // lrjzdz: '前进大街1000号', // 居住地址
+  // yyLrRzyddh: '15578176756',  // 联系方式
+  // yyLrYljg: '03bc8c3afc1c233a6fd07483193a0014',  // 选择机构
 })
 // 表单校验规则
 const rules = reactive({
@@ -100,7 +100,6 @@ async function onSubmit(formEl) {
         loading.value = false
       })
     } else {
-      alert('提交失败', fields)
       loading.value = false
     }
   })

+ 10 - 10
ruoyi-web/src/views/slhgzsq/index.vue

@@ -40,11 +40,11 @@
     </div>
     <el-dialog v-model="showSearch" title="查询结果" append-to-body :lock-scroll="false">
       <el-form class="searchForm" ref="formRef" :model="form" :rules="rules" size="large" :inline="true">
-        <el-form-item label="姓名" label-width="100px" prop="xm">
-          <el-input v-model="form.xm" placeholder="请输入申请人姓名" clearable></el-input>
+        <el-form-item label="填报人姓名" label-width="100px" prop="tbrXm">
+          <el-input v-model="form.tbrXm" placeholder="请输入填报人姓名" clearable></el-input>
         </el-form-item>
-        <el-form-item label="手机号" label-width="120px" prop="lxdh">
-          <el-input v-model="form.lxdh" placeholder="请输入申请人手机号" maxlength="11" clearable></el-input>
+        <el-form-item label="填报人手机号" label-width="120px" prop="tbrSjhm">
+          <el-input v-model="form.tbrSjhm" placeholder="请输入填报人手机号" maxlength="11" clearable></el-input>
         </el-form-item>
         <el-form-item class="btn-group">
           <el-button class="submitBtn" type="danger" @click="onSubmit(formRef)">查 询</el-button>
@@ -93,14 +93,14 @@ const search = () => showSearch.value = true
 // 查询结果表单相关
 const formRef = ref()
 const form = reactive({
-  xm: '夏洛',
-  lxdh: '15512341234'
+  tbrXm: '',
+  tbrSjhm: ''
 })
 const rules = reactive({
-  xm: [
+  tbrXm: [
     { required: true, message: '请输入申请人姓名', trigger: 'blur' },
   ],
-  lxdh: [
+  tbrSjhm: [
     { required: true, message: '请输入申请人手机号', trigger: 'blur' }
   ],
 })
@@ -109,11 +109,11 @@ async function onSubmit(formEl) {
   await formEl.validate((valid, fields) => {
     if (valid) {
       getRetrofitApplyResult(form).then((res) => {
-        console.log(form);
+        console.log(res);
         if (res.rows.length > 0) {
           // showResult.value = 1
           // searchResult.value = res.rows
-          resultStr.value= '申请已受理'
+          resultStr.value= '申请已提交成功'
         } else {
           // showResult.value = 0
           resultStr.value= '暂无查询结果'

+ 9 - 9
ruoyi-web/src/views/slhgzsq/sqzltx/index.vue

@@ -95,17 +95,17 @@ const formRef = ref()
 const showForm = ref(true)
 // 表单数据
 const form = reactive({
-  xm: '夏洛',
-  lxdh: '15512341234',
-  isTsknlr: '1',
-  gzzj: '10000',
-  czbtzjQt: '5000',
-  zfdz: '220102001001',
-  xxdz: '详细地址',
+  // xm: '夏洛',
+  // lxdh: '15512341234',
+  // isTsknlr: '1',
+  // gzzj: '10000',
+  // czbtzjQt: '5000',
+  // zfdz: '220102001001',
+  // xxdz: '详细地址',
   // sfdm:'01',
   // gznr:'03',
-  tbrXm: '填报人',
-  tbrSjhm: '15512341234',
+  // tbrXm: '填报人',
+  // tbrSjhm: '15512341234',
 })
 // 表单校验
 const rules = reactive({