sunran 3 лет назад
Родитель
Сommit
860a7eb154

+ 3 - 3
src/styles/index.css

@@ -1,7 +1,7 @@
 /* navbar样式 */
-.van-nav-bar {
-    /* border-bottom: 1px solid #eee; */
-}
+/* .van-nav-bar__content {
+    height: 92px;
+} */
 
 .van-nav-bar .van-icon {
     color: #000 !important;

+ 2 - 2
src/views/weibao/App.vue

@@ -18,8 +18,8 @@ export default {
   methods: {
     async loginApp() {
       const res = await loginApp({
-        // loginName: '15620220622',
-        loginName: '16601217325',
+        loginName: '15620220622',
+        // loginName: '16601217325',
         password: '123456',
       })
       console.log(res)

+ 5 - 2
src/views/weibao/views/consultation/details.vue

@@ -64,7 +64,7 @@ export default {
       show: false,
       streetList: [],
       form: {},
-      appendFile: '',
+      appendFile: [],
       id: '',
       orgform: {},
     }
@@ -74,10 +74,13 @@ export default {
     this.consultationDetail()
   },
   methods: {
+    showPopup() {
+      this.show = !this.show
+    },
     async consultationDetail() {
       const res = await consultationDetail({ id: this.id })
       this.form = res.data
-      if (!res.data.appendFile) return
+      if (!res.data.pics) return
       this.appendFile = this.form.pics.split(',')
     },
   },

+ 18 - 3
src/views/weibao/views/consultation/index.vue

@@ -24,7 +24,20 @@
         </van-tab>
       </van-tabs>
     </div>
-
+    <div class="casebox2" v-else>
+      <van-list v-model="loading" :immediate-check="false" :finished="finished" finished-text="没有更多了" @load="onLoad">
+        <div class="list" v-for="item in historyList" :key="item.id" @click="$router.push({path:'/consultation/details',query:{id:item.id}})">
+          <div class="img">
+            <van-image fit="scale-down" :src="getpics(item.pics)" alt="" />
+          </div>
+          <div class="text">
+            <p class="title">会商议题:{{item.name}}</p>
+            <p class="mes">会商时间:{{item.workDate}}</p>
+            <p class="date">发起单位:{{item.orgName}}</p>
+          </div>
+        </div>
+      </van-list>
+    </div>
   </div>
 </template>
 <script>
@@ -100,8 +113,6 @@ export default {
 </script>
 <style lang="scss" scoped>
 .box {
-  //   position: fixed;
-  top: 80px;
   width: 100%;
   z-index: 9999;
 }
@@ -109,6 +120,10 @@ export default {
   height: calc(100vh - 220px);
   overflow: auto;
 }
+.casebox2 {
+  height: calc(100vh - 92px);
+  overflow: auto;
+}
 .mt {
   margin-top: 80px;
 }

+ 26 - 22
src/views/weibao/views/followUp/director.vue

@@ -1,7 +1,7 @@
 <template>
   <div>
     <van-nav-bar title="关爱服务" @click-left="$router.back()" left-arrow fixed placeholder safe-area-inset-top />
-    <van-sticky>
+    <div class="box">
       <van-tabs v-model="active" @change="changeonLoad">
         <van-tab title="随访计划"></van-tab>
         <van-tab title="历史随访"></van-tab>
@@ -11,8 +11,8 @@
           <div @click="onSearch">搜索</div>
         </template>
       </van-search>
-    </van-sticky>
-    <van-list v-model="loading" :finished="finished" finished-text="没有更多了" @load="onLoad">
+    </div>
+    <van-list v-model="loading" :immediate-check="false" :finished="finished" finished-text="没有更多了" @load="onLoad">
       <plan v-show="active==0" :planList="planList"></plan>
       <history v-show="active==1" :historyList="historyList"></history>
     </van-list>
@@ -34,11 +34,11 @@ export default {
       historyList: '',
       followUpform: {
         pageNum: 1,
-        pageSize: 5,
+        pageSize: 10,
       },
       historyform: {
         pageNum: 1,
-        pageSize: 5,
+        pageSize: 10,
         isSupervise:
           JSON.parse(sessionStorage.getItem('userInfo')).roleIdStr == 14
             ? 2
@@ -48,56 +48,53 @@ export default {
     }
   },
   activated() {
-    if (this.active == 0) {
-      this.followUpform.pageNum = 1
-      this.followUpPage()
-    } else {
-      this.historyform.pageNum = 1
-      this.historyFollowUp()
-    }
+    this.followUpPage()
+    this.historyFollowUp()
   },
   methods: {
     async followUpPage() {
       const res = await followUpPage(this.followUpform)
+      this.loading = false
       if (this.followUpform.pageNum == 1) {
         this.planList = res.data.records
       } else {
-        this.planList = this.newsList.concat(res.data.records)
+        this.planList = this.planList.concat(res.data.records)
       }
-      this.followUpform.pageNum = this.followUpform.pageNum + 1
-      if (this.planList.length >= res.data.total) {
+      if (this.planList.length == res.data.total) {
         this.finished = true
       } else {
-        this.loading = false
+        this.finished = false
       }
     },
     async historyFollowUp() {
       const res = await historyFollowUp(this.historyform)
+      this.loading = false
       if (this.historyform.pageNum == 1) {
         this.historyList = res.data.records
       } else {
-        this.historyList = this.newsList.concat(res.data.records)
+        this.historyList = this.historyList.concat(res.data.records)
       }
-      this.historyform.pageNum = this.historyform.pageNum + 1
-      if (this.historyList.length >= res.data.total) {
+      if (this.historyList.length == res.data.total) {
         this.finished = true
       } else {
-        this.loading = false
+        this.finished = false
       }
     },
     onLoad() {
       if (this.active == 0) {
-        this.followUpform.pageNum = 1
+        this.followUpform.pageNum = this.followUpform.pageNum + 1
         this.followUpPage()
       } else {
-        this.historyform.pageNum = 1
+        this.historyform.pageNum = this.historyform.pageNum + 1
         this.historyFollowUp()
       }
     },
     changeonLoad() {
       if (this.active == 0) {
+        this.followUpform.pageNum = 1
         this.followUpPage()
       } else {
+        this.historyform.pageNum = 1
         this.historyFollowUp()
       }
     },
@@ -112,5 +109,12 @@ export default {
 .van-list {
   padding: 0 30px;
   padding-top: 26px;
+  margin-top: 92px;
+}
+.box {
+  position: fixed;
+  top: 92px;
+  width: 100%;
+  z-index: 9999;
 }
 </style>

+ 7 - 2
src/views/weibao/views/followUp/history.vue

@@ -1,5 +1,5 @@
 <template>
-  <div>
+  <div :class="roleIdStr==14?'mt':''">
     <div class="list" v-for="item in historyList" :key="item.id" @click="$router.push({path:'/followUp/details',query:{id:item.id}})">
       <div class="text">
         <p class="title">{{item.name}}-{{item.sex}}-{{item.age}}<span class="mes">{{item.childTypeName}}</span></p>
@@ -14,11 +14,16 @@
 export default {
   props: ['historyList'],
   data() {
-    return {}
+    return {
+      roleIdStr: JSON.parse(sessionStorage.getItem('userInfo')).roleIdStr,
+    }
   },
 }
 </script>
 <style lang="scss" scoped>
+.mt {
+  margin-top: 100px;
+}
 .list {
   display: flex;
   align-items: center;

+ 10 - 4
src/views/weibao/views/followUp/historySupervisor.vue

@@ -1,16 +1,16 @@
 <template>
   <div>
     <van-nav-bar title="历史随访" @click-left="$router.back()" left-arrow fixed placeholder safe-area-inset-top />
-    <van-sticky>
+    <div class="box">
       <van-search v-model="historyform.name" shape="round" show-action placeholder="请输入姓名" @search="onSearch">
         <template #action>
           <div style="display:flex;align-items:center;">
             <div @click="onSearch">搜索</div>
-            <van-button size="mini" @click="$router.push({path:'/followUp/addfollow'})">新建随访</van-button>
+            <van-button v-if="roleIdStr==15" size="mini" @click="$router.push({path:'/followUp/addfollow'})">新建随访</van-button>
           </div>
         </template>
       </van-search>
-    </van-sticky>
+    </div>
     <van-list v-model="loading" :immediate-check="false" :finished="finished" finished-text="没有更多了" @load="onLoad">
       <history :historyList="historyList"></history>
     </van-list>
@@ -23,13 +23,14 @@ export default {
   components: { history },
   data() {
     return {
+      roleIdStr: JSON.parse(sessionStorage.getItem('userInfo')).roleIdStr,
       active: 0,
       loading: false,
       finished: false,
       historyList: '',
       historyform: {
         pageNum: 1,
-        pageSize: 10,
+        pageSize: 20,
         isSupervise:
           JSON.parse(sessionStorage.getItem('userInfo')).roleIdStr == 14
             ? 2
@@ -68,9 +69,14 @@ export default {
 }
 </script>
 <style lang="scss" scoped>
+.box {
+  width: 100%;
+  position: fixed;
+}
 .van-list {
   padding: 0 30px;
   padding-top: 26px;
+  margin-top: 92px;
 }
 .van-button {
   width: 160px;

+ 1 - 1
src/views/weibao/views/followUp/plan.vue

@@ -8,7 +8,7 @@
       <div class="text">
         <p class="title">{{item.name}}-{{item.sex}}-{{item.age}}<span class="mes">{{item.childTypeName}}</span></p>
         <div class="num">
-          <div>本月对方次数:<span :class="item.followNum == 0?'zero':''">{{item.followNum}}</span></div>
+          <div>本月随访次数:<span :class="item.followNum == 0?'zero':''">{{item.followNum}}</span></div>
           <van-button size="mini" @click="$router.push({path:'/followUp/record',query:{id:item.id}})">开始随访</van-button>
         </div>
       </div>

+ 69 - 64
src/views/weibao/views/followUp/record.vue

@@ -31,73 +31,75 @@
         </van-row>
       </van-row>
     </div>
-    <div class="main">
-      <van-row class="cell">
-        <van-col span="6">随访时间:</van-col>
-        <!-- <van-col span="18" @click="showPopup">{{form.followDate?form.followDate:'请选择'}}</van-col> -->
-        <van-col span="18">
-          <van-field v-model="form.followDate" @click="showPopup" placeholder="请选择" disabled />
-        </van-col>
-        <van-popup v-model="show" position="bottom" :style="{ height: '30%' }">
-          <van-datetime-picker @confirm="dateConfirm" @cancel="showPopup" v-model="followDate" type="date" :min-date="minDate" :max-date="maxDate" :columns-order="[ 'year','month', 'day']"
-            :formatter="formatter" />
-        </van-popup>
-      </van-row>
-      <van-row class="cell">
-        <van-col span="6">选择街道:</van-col>
-        <!-- <van-col span="18" @click="streetshowPopup">{{form.streetName?form.streetName:'请选择'}}</van-col> -->
-        <van-col span="18">
-          <van-field v-model="form.streetName" @click="streetshowPopup" placeholder="请选择" disabled />
-        </van-col>
-        <van-popup v-model="streetShow" position="bottom" :style="{ height: '30%' }">
-          <van-picker show-toolbar :columns="streetList" @confirm="onConfirm" @cancel="streetshowPopup" @change="onChange" value-key="name" />
-        </van-popup>
-      </van-row>
-      <van-row class="cell">
-        <van-col span="6">随访地点:</van-col>
-        <van-col span="18">
-          <van-field v-model="form.place" placeholder="请输入随访地点" />
-        </van-col>
-      </van-row>
-      <van-row class="cell">
-        <van-col span="6">随访人员:</van-col>
-        <van-col span="18">
-          <van-field v-model="form.personnel" placeholder="请输入" />
-        </van-col>
-      </van-row>
-      <van-row class="cell">
-        <van-col span="6">联系方式:</van-col>
-        <van-col span="18">
-          <van-field v-model="form.phone" type="tel" placeholder="请输入" />
-        </van-col>
-      </van-row>
-      <van-row class="cell">
-        <van-col span="6">随访记录:</van-col>
-        <van-col span="18">
-          <van-field class="textarea" v-model="form.remark" rows="1" type="textarea" placeholder="请输入随访记录" />
-        </van-col>
-      </van-row>
-      <van-row class="cell">
-        <van-col span="6">图片视频:</van-col>
-        <van-col span="18">
-          <div class="box">
-            <div class="boxlist">
-              <div v-for="(item,index) in form.fileList" :key="index">
-                <img v-if="item.type.indexOf('image') !== -1" :src="item.url" alt="">
-                <video v-else style="object-fit:cover;" :src="item.url"></video>
-              </div>
+    <van-form @submit="saveFollowUp">
+      <div class="main">
+        <van-row class="cell">
+          <van-col span="6">随访时间:</van-col>
+          <!-- <van-col span="18" @click="showPopup">{{form.followDate?form.followDate:'请选择'}}</van-col> -->
+          <van-col span="18">
+            <van-field v-model="form.followDate" @click="showPopup" :rules="[{ required: true}]" placeholder="请选择" disabled />
+          </van-col>
+          <van-popup v-model="show" position="bottom" :style="{ height: '30%' }">
+            <van-datetime-picker @confirm="dateConfirm" @cancel="showPopup" v-model="followDate" type="date" :min-date="minDate" :max-date="maxDate" :columns-order="[ 'year','month', 'day']"
+              :formatter="formatter" />
+          </van-popup>
+        </van-row>
+        <van-row class="cell">
+          <van-col span="6">选择街道:</van-col>
+          <!-- <van-col span="18" @click="streetshowPopup">{{form.streetName?form.streetName:'请选择'}}</van-col> -->
+          <van-col span="18">
+            <van-field v-model="form.streetName" @click="streetshowPopup" :rules="[{ required: true}]" placeholder="请选择" disabled />
+          </van-col>
+          <van-popup v-model="streetShow" position="bottom" :style="{ height: '30%' }">
+            <van-picker show-toolbar :columns="streetList" @confirm="onConfirm" @cancel="streetshowPopup" @change="onChange" value-key="name" />
+          </van-popup>
+        </van-row>
+        <van-row class="cell">
+          <van-col span="6">随访地点:</van-col>
+          <van-col span="18">
+            <van-field v-model="form.place" :rules="[{ required: true}]" placeholder="请输入随访地点" />
+          </van-col>
+        </van-row>
+        <van-row class="cell">
+          <van-col span="6">随访人员:</van-col>
+          <van-col span="18">
+            <van-field v-model="form.personnel" :rules="[{ required: true}]" placeholder="请输入随访人员" />
+          </van-col>
+        </van-row>
+        <van-row class="cell">
+          <van-col span="6">联系方式:</van-col>
+          <van-col span="18">
+            <van-field v-model="form.phone" type="tel" :rules="[{validator,required: true, message:'手机号格式不正确'}]" placeholder="请输入" />
+          </van-col>
+        </van-row>
+        <van-row class="cell">
+          <van-col span="6">随访记录:</van-col>
+          <van-col span="18">
+            <van-field class="textarea" :rules="[{ required: true}]" v-model="form.remark" rows="1" type="textarea" placeholder="请输入随访记录" />
+          </van-col>
+        </van-row>
+        <van-row class="cell">
+          <van-col span="6">图片视频:</van-col>
+          <van-col span="18">
+            <div class="box">
+              <div class="boxlist">
+                <div v-for="(item,index) in form.fileList" :key="index">
+                  <img v-if="item.type.indexOf('image') !== -1" :src="item.url" alt="">
+                  <video v-else style="object-fit:cover;" :src="item.url"></video>
+                </div>
 
+              </div>
+              <van-uploader v-model="fileList" accept="*" :after-read="afterRead" @delete='deleteUploader'>
+              </van-uploader>
             </div>
-            <van-uploader v-model="fileList" accept="*" :after-read="afterRead" @delete='deleteUploader'>
-            </van-uploader>
-          </div>
 
-        </van-col>
-      </van-row>
-    </div>
-    <div class="but">
-      <van-button @click="saveFollowUp">确 定</van-button>
-    </div>
+          </van-col>
+        </van-row>
+      </div>
+      <div class="but">
+        <van-button native-type="submit">确 定</van-button>
+      </div>
+    </van-form>
   </div>
 </template>
 <script>
@@ -133,6 +135,9 @@ export default {
     this.getChildInfo()
   },
   methods: {
+    validator(val) {
+      return /^1(3|4|5|6|7|8|9)\d{9}$/.test(val)
+    },
     async getChildInfo() {
       const res = await getChildInfo({ id: this.id })
       this.childInfo = res.data

+ 1 - 1
src/views/weibao/views/home/index.vue

@@ -46,7 +46,7 @@
         </van-tabs>
       </van-sticky>
       <!-- <van-pull-refresh v-model="isLoading" @refresh="onRefresh"> -->
-      <van-list v-model="loading" :finished="finished" finished-text="没有更多了" @load="onLoad">
+      <van-list v-model="loading" :immediate-check="false" :finished="finished" finished-text="没有更多了" @load="onLoad">
         <noticeAnnouncement :noticeList="noticeList" v-if="active==0"></noticeAnnouncement>
         <policyDocument :policyList="policyList" v-if="active==1"></policyDocument>
         <newsInformation :newsList="newsList" v-if="active==2"></newsInformation>

+ 8 - 6
src/views/weibao/views/reporting/index.vue

@@ -1,7 +1,7 @@
 <template>
   <div>
     <van-nav-bar title="强制报告" @click-left="$router.back()" left-arrow fixed placeholder safe-area-inset-top />
-    <div class="box" v-if="roleIdStr==21">
+    <div class="box" v-if="roleIdStr==14||roleIdStr==15">
       <van-tabs v-model="active" @change="changetabs">
         <van-tab title="发起报告">
           <initiateConsultation @changactive="changactive"></initiateConsultation>
@@ -22,7 +22,6 @@
         </van-tab>
       </van-tabs>
     </div>
-
   </div>
 </template>
 <script>
@@ -54,11 +53,10 @@ export default {
   },
   methods: {
     onLoad() {
-      this.loading = true
-      this.finished = false
+      this.historyform.pageNum++
+      this.mandatoryPage()
     },
     changactive(v) {
-      console.log(v)
       this.active = 1
       this.historyform.pageNum = 1
       this.mandatoryPage()
@@ -69,7 +67,6 @@ export default {
       if (this.historyform.pageNum == 1) {
         this.historyList = res.data.records
       } else {
-        console.log(this.historyform.pageNum, 'this.historyform.pageNum')
         this.historyList = this.historyList.concat(res.data.records)
       }
       if (this.historyList.length >= res.data.total) {
@@ -110,6 +107,11 @@ export default {
   height: calc(100vh - 220px);
   overflow: auto;
 }
+.casebox2 {
+  margin-top: 92px;
+  height: calc(100vh - 92px);
+  overflow: auto;
+}
 .van-tabs {
   border-bottom: 0px solid #eee;
 }

+ 67 - 68
src/views/weibao/views/reporting/initiateConsultation.vue

@@ -1,74 +1,76 @@
 <template>
   <div class="case">
-    <div class="main">
-      <van-row class="cell">
-        <van-col span="6">报告事件:</van-col>
-        <van-col span="18">
-          <van-field v-model="form.event" placeholder="报告事件" />
-        </van-col>
-      </van-row>
-
-      <van-row class="cell">
-        <van-col span="6">报告时间:</van-col>
-        <van-col span="18" @click="dateshow=true">{{form.mandatoryDate?form.mandatoryDate:'请选择'}}</van-col>
-        <van-popup v-model="dateshow" position="bottom" :style="{ height: '30%' }">
-          <van-datetime-picker @confirm="dateConfirm" @cancel="dateshow=false" v-model="mandatoryDate" type="date" :min-date="minDate" :max-date="maxDate" :columns-order="[ 'year','month', 'day']"
-            :formatter="formatter" />
-        </van-popup>
-      </van-row>
-      <van-row class="cell">
-        <van-col span="6">报告人:</van-col>
-        <van-col span="18">
-          <van-field v-model="form.operator" placeholder="请输入" />
-        </van-col>
-      </van-row>
-      <van-row class="cell">
-        <van-col span="8">报告所在地:</van-col>
-        <van-col span="16">
-          <van-field v-model="form.streetName" @click="streetShow=true" placeholder="请选择" disabled />
-        </van-col>
-        <van-popup v-model="streetShow" position="bottom" :style="{ height: '30%' }">
-          <van-picker show-toolbar :columns="streetList" @confirm="onConfirm" @cancel="streetShow=false" value-key="name" />
-        </van-popup>
-      </van-row>
-      <van-row class="cell">
-        <van-col span="6">联系电话:</van-col>
-        <van-col span="18">
-          <van-field v-model="form.phone" placeholder="请输入" />
-        </van-col>
-      </van-row>
-      <van-row class="cell">
-        <van-col span="6">报告内容:</van-col>
-        <van-col span="18">
-          <van-field class="textarea" v-model="form.content" rows="1" type="textarea" placeholder="请输入活动详情" />
-        </van-col>
-      </van-row>
-      <van-row class="cell">
-        <van-col span="6">图片视频:</van-col>
-        <van-col span="18">
-          <div class="box" ref="boxlist">
-            <div class="boxlist">
-              <div v-for="(item,index) in form.fileList" :key="index">
-                <img v-if="item.type.indexOf('image') !== -1" :src="item.url" alt="">
-                <video v-else style="object-fit:cover;" :src="item.url"></video>
+    <van-form @submit="mandatorySave">
+      <div class="main">
+        <van-row class="cell">
+          <van-col span="6">报告事件:</van-col>
+          <van-col span="18">
+            <van-field v-model="form.event" :rules="[{ required: true}]" placeholder="请输入报告事件" />
+          </van-col>
+        </van-row>
+        <van-row class="cell">
+          <van-col span="6">报告时间:</van-col>
+          <van-col span="18" @click="dateshow=true">
+            <van-field v-model="form.mandatoryDate" :rules="[{ required: true}]" placeholder="请输入报告时间" />
+            <!-- {{form.mandatoryDate?form.mandatoryDate:'请选择'}} -->
+          </van-col>
+          <van-popup v-model="dateshow" position="bottom" :style="{ height: '30%' }">
+            <van-datetime-picker @confirm="dateConfirm" @cancel="dateshow=false" v-model="mandatoryDate" type="date" :min-date="minDate" :max-date="maxDate" :columns-order="[ 'year','month', 'day']"
+              :formatter="formatter" />
+          </van-popup>
+        </van-row>
+        <van-row class="cell">
+          <van-col span="6">报告人:</van-col>
+          <van-col span="18">
+            <van-field v-model="form.operator" :rules="[{ required: true}]" placeholder="请输入报告人" />
+          </van-col>
+        </van-row>
+        <van-row class="cell">
+          <van-col span="8">报告所在地:</van-col>
+          <van-col span="16">
+            <van-field v-model="form.streetName" :rules="[{ required: true}]" @click="streetShow=true" placeholder="请选择报告所在地" disabled />
+          </van-col>
+          <van-popup v-model="streetShow" position="bottom" :style="{ height: '30%' }">
+            <van-picker show-toolbar :columns="streetList" @confirm="onConfirm" @cancel="streetShow=false" value-key="name" />
+          </van-popup>
+        </van-row>
+        <van-row class="cell">
+          <van-col span="6">联系电话:</van-col>
+          <van-col span="18">
+            <van-field v-model="form.phone" :rules="[{validator, required: true,message:'手机号格式不正确'}]" placeholder="请输入联系电话" />
+          </van-col>
+        </van-row>
+        <van-row class="cell">
+          <van-col span="6">报告内容:</van-col>
+          <van-col span="18">
+            <van-field class="textarea" v-model="form.content" :rules="[{ required: true}]" rows="1" type="textarea" placeholder="请输入报告内容" />
+          </van-col>
+        </van-row>
+        <van-row class="cell">
+          <van-col span="6">图片视频:</van-col>
+          <van-col span="18">
+            <div class="box" ref="boxlist">
+              <div class="boxlist">
+                <div v-for="(item,index) in form.fileList" :key="index">
+                  <img v-if="item.type.indexOf('image') !== -1" :src="item.url" alt="">
+                  <video v-else style="object-fit:cover;" :src="item.url"></video>
+                </div>
               </div>
+              <van-uploader v-model="fileList" accept="*" :after-read="afterRead" @delete='deleteUploader'>
+              </van-uploader>
             </div>
-            <van-uploader v-model="fileList" accept="*" :after-read="afterRead" @delete='deleteUploader'>
-            </van-uploader>
-          </div>
-
-        </van-col>
-      </van-row>
-    </div>
-    <div style="text-align:center;">
-      <van-button @click="mandatorySave">确 定</van-button>
-    </div>
 
+          </van-col>
+        </van-row>
+      </div>
+      <div style="text-align:center;">
+        <van-button native-type="submit">确 定</van-button>
+      </div>
+    </van-form>
   </div>
 </template>
 <script>
 import {
-  organizationDetail,
   mandatorySave,
   uploadImage,
   getStreetList,
@@ -92,7 +94,6 @@ export default {
       mandatoryDate: new Date(),
       minDate: new Date(2020, 0, 1),
       maxDate: new Date(2025, 10, 1),
-      orglist: '',
       positionSearch: '',
       serviceTarget: [],
       childList: [],
@@ -104,10 +105,12 @@ export default {
   },
   created() {
     this.getStreetList()
-    this.organizationDetail()
     this.organizationList()
   },
   methods: {
+    validator(val) {
+      return /^1(3|4|5|6|7|8|9)\d{9}$/.test(val)
+    },
     async getStreetList() {
       const res = await getStreetList()
       this.streetList = res.data
@@ -127,10 +130,6 @@ export default {
         this.resultId.splice(id, 1)
       }
     },
-    async organizationDetail() {
-      const res = await organizationDetail()
-      this.orglist = res.data
-    },
     onConfirm(value) {
       this.form.streetName = value.name
       this.form.areaId = value.id