sunran 3 lat temu
rodzic
commit
d471626d39

+ 0 - 2
src/views/weibao/views/consultation/index.vue

@@ -101,11 +101,9 @@ export default {
       arr.forEach((item, index) => {
         if (item.indexOf('.jpg') || item.indexOf('.png')) {
           url = arr[index]
-          console.log(url, 'url')
           return
         }
       })
-      console.log(url, 'url')
       return url
     },
   },

+ 0 - 1
src/views/weibao/views/consultation/initiateConsultation.vue

@@ -213,7 +213,6 @@ export default {
     },
     getPositionList() {},
     async afterRead(file) {
-      console.log(file.file)
       file.status = 'uploading'
       file.message = '上传中...'
       let formDate = new FormData()

+ 3 - 1
src/views/weibao/views/followUp/addfollow.vue

@@ -54,7 +54,7 @@
         <van-row class="cell">
           <van-col span="9">监护人联系方式:</van-col>
           <van-col span="15">
-            <van-field v-model="form.guardianOutVO" placeholder="监护人联系方式" disabled />
+            <van-field v-model="form.guardianPhone" placeholder="监护人联系方式" disabled />
           </van-col>
         </van-row>
         <van-row class="cell">
@@ -214,6 +214,8 @@ export default {
       this.form.healthStatus = value.healthStatus
       this.form.address = value.address
       this.form.tutelageName = value.tutelageName
+      this.form.guardianName = value.guardianName
+      this.form.guardianPhone = value.guardianPhone
       this.searchshow = false
     },
     dateConfirm(v) {

+ 0 - 3
src/views/weibao/views/followUp/director.vue

@@ -54,14 +54,11 @@ export default {
   },
   methods: {
     async followUpPage() {
-      console.log(this.followUpform.pageNum, 'this.followUpform.pageNum')
       const res = await followUpPage(this.followUpform)
       this.loading = false
       if (this.followUpform.pageNum == 1) {
-        console.log(this.followUpform.pageNum, 'this.followUpform.pageNum')
         this.planList = res.data.records
       } else {
-        console.log(this.followUpform.pageNum, 'this.followUpform.pageNum')
         this.planList = this.planList.concat(res.data.records)
       }
       if (this.planList.length >= res.data.total) {

+ 0 - 2
src/views/weibao/views/followUp/historySupervisor.vue

@@ -47,10 +47,8 @@ export default {
     async historyFollowUp() {
       const res = await historyFollowUp(this.historyform)
       this.loading = false
-      console.log(this.historyform.pageNum, 'this.historyList')
       if (this.historyform.pageNum == 1) {
         this.historyList = res.data.records
-        console.log(this.historyList, 'this.historyList')
       } else {
         this.historyList = this.historyList.concat(res.data.records)
       }

+ 7 - 1
src/views/weibao/views/loveHelp/details.vue

@@ -51,7 +51,8 @@
                 </div>
               </div>
               <van-search placeholder="请输入姓名查询" @input="listChildInfoByName" v-model="positionSearch" />
-              <van-picker cancel-button-text='取消' value-key="title" show-toolbar :columns="childList" @confirm="onConfirmPicker" @cancel="serviceTargetShow = false">
+              <van-picker cancel-button-text='取消' :confirm-button-text='childList.length>0?"选择":"确定"' value-key="title" show-toolbar :columns="childList" @confirm="onConfirmPicker"
+                @cancel="serviceTargetShow = false">
                 <template #option="item">
                   <span>{{item.name}}</span>
                   <span>({{item.idCard}})</span>
@@ -220,6 +221,11 @@ export default {
       this.dateshow = false
     },
     onConfirmPicker(value) {
+      if (!value) {
+        console.log(value)
+        this.serviceTargetShow = !this.serviceTargetShow
+        return
+      }
       this.serviceTarget.push(value.name)
       this.$set(this.form, 'helpChildren', this.serviceTarget.join(','))
       this.childList = []

+ 7 - 1
src/views/weibao/views/specialServices/startServiceplay.vue

@@ -26,7 +26,8 @@
                 </div>
               </div>
               <van-search placeholder="请输入姓名查询" @input="listChildInfoByName" v-model="positionSearch" />
-              <van-picker cancel-button-text='取消' value-key="title" show-toolbar :columns="childList" @confirm="onConfirmPicker" @cancel="serviceTargetShow = false">
+              <van-picker cancel-button-text='取消' :confirm-button-text='childList.length>0?"选择":"确定"' value-key="title" show-toolbar :columns="childList" @confirm="onConfirmPicker"
+                @cancel="serviceTargetShow = false">
                 <template #option="item">
                   <span>{{item.name}}</span>
                   <span>({{item.idCard}})</span>
@@ -218,6 +219,11 @@ export default {
       this.serviceShow = false
     },
     onConfirmPicker(value) {
+      if (!value) {
+        console.log(value)
+        this.serviceTargetShow = !this.serviceTargetShow
+        return
+      }
       this.serviceTarget.push(value.name)
       //   this.form.serviceTarget = this.serviceTarget.join(',')
       this.$set(this.form, 'serviceTarget', this.serviceTarget.join(','))

+ 0 - 2
vue.config.js

@@ -25,8 +25,6 @@ function getEntry() {
             var filepath = items[i];
             var fileList = filepath.split("/");
             var fileName = fileList[fileList.length - 2];
-            console.log('fileName===')
-            console.log(fileName)
             publicPath = '/' + fileName + '/'
             entries[fileName] = {
                 entry: `src/views/${fileName}/main.js`,