Explorar o código

删除路由配置

xiaomin %!s(int64=4) %!d(string=hai) anos
pai
achega
e1414f8f74

BIN=BIN
src/assets/image/xinwen.jpg


+ 2 - 2
src/router/index.js

@@ -105,8 +105,8 @@ export default new Router({
     //新规新政下面的二级页面
     //法律
     { name: 'Law', path: '/law', component: Law},
-    //法规
-    { name: 'Regulations', path: '/regulations', component: Regulations},
+    // //法规
+    // { name: 'Regulations', path: '/regulations', component: Regulations},
     //政策
     { name: 'Policy', path: '/policy', component: Policy},
     //医疗保险

+ 2 - 1
src/views/doctorpolitical.vue

@@ -19,7 +19,8 @@
         <ul >
           <li v-for="(item, index) in doctorDemeanour" :key="id" @click="Jump(item.id)">
             <div class="left pic">
-              <img :src="item.photoUrl">
+              <img v-if="item.photoUrl !== null" :src="item.photoUrl">
+              <img v-if="item.photoUrl === null" src="../assets/image/xinwen.jpg">
             </div>
             <div class="newcont">
               <h5>{{item.title}}</h5>

+ 2 - 1
src/views/doctorpolitical/cases.vue

@@ -19,7 +19,8 @@
         <ul >
           <li v-for="(item, index) in DataList" :key="id" @click="Jump(item.id)">
             <div class="left pic">
-              <img :src="item.photoUrl">
+              <img v-if="item.photoUrl !== null" :src="item.photoUrl">
+              <img v-if="item.photoUrl === null" src="../../assets/image/xinwen.jpg">
             </div>
             <div class="newcont">
               <h5>{{item.title}}</h5>

+ 2 - 1
src/views/doctorpolitical/concept.vue

@@ -19,7 +19,8 @@
         <ul >
           <li v-for="(item, index) in DataList" :key="id" @click="Jump(item.id)">
             <div class="left pic">
-              <img :src="item.photoUrl">
+              <img v-if="item.photoUrl !== null" :src="item.photoUrl">
+              <img v-if="item.photoUrl === null" src="../../assets/image/xinwen.jpg">
             </div>
             <div class="newcont">
               <h5>{{item.title}}</h5>

+ 2 - 1
src/views/doctorpolitical/core.vue

@@ -19,7 +19,8 @@
         <ul >
           <li v-for="(item, index) in DataList" :key="id" @click="Jump(item.id)">
             <div class="left pic">
-              <img :src="item.photoUrl">
+              <img v-if="item.photoUrl !== null" :src="item.photoUrl">
+              <img v-if="item.photoUrl === null" src="../../assets/image/xinwen.jpg">
             </div>
             <div class="newcont">
               <h5>{{item.title}}</h5>

+ 2 - 1
src/views/doctorpolitical/doctorskill.vue

@@ -19,7 +19,8 @@
         <ul >
           <li v-for="(item, index) in DataList" :key="id" @click="Jump(item.id)">
             <div class="left pic">
-              <img :src="item.photoUrl">
+              <img v-if="item.photoUrl !== null" :src="item.photoUrl">
+              <img v-if="item.photoUrl === null" src="../../assets/image/xinwen.jpg">
             </div>
             <div class="newcont">
               <h5>{{item.title}}</h5>

+ 2 - 1
src/views/doctorpolitical/education.vue

@@ -19,7 +19,8 @@
         <ul >
           <li v-for="(item, index) in DataList" :key="id" @click="Jump(item.id)">
             <div class="left pic">
-              <img :src="item.photoUrl">
+              <img v-if="item.photoUrl !== null" :src="item.photoUrl">
+              <img v-if="item.photoUrl === null" src="../../assets/image/xinwen.jpg">
             </div>
             <div class="newcont">
               <h5>{{item.title}}</h5>

+ 2 - 1
src/views/doctorpolitical/farmers.vue

@@ -19,7 +19,8 @@
         <ul >
           <li v-for="(item, index) in DataList" :key="id" @click="Jump(item.id)">
             <div class="left pic">
-              <img :src="item.photoUrl">
+              <img v-if="item.photoUrl !== null" :src="item.photoUrl">
+              <img v-if="item.photoUrl === null" src="../../assets/image/xinwen.jpg">
             </div>
             <div class="newcont">
               <h5>{{item.title}}</h5>

+ 2 - 1
src/views/doctorpolitical/outpatientservice.vue

@@ -19,7 +19,8 @@
         <ul >
           <li v-for="(item, index) in DataList" :key="id" @click="Jump(item.id)">
             <div class="left pic">
-              <img :src="item.photoUrl">
+              <img v-if="item.photoUrl !== null" :src="item.photoUrl">
+              <img v-if="item.photoUrl === null" src="../../assets/image/xinwen.jpg">
             </div>
             <div class="newcont">
               <h5>{{item.title}}</h5>

+ 2 - 1
src/views/doctorpolitical/registered.vue

@@ -19,7 +19,8 @@
         <ul >
           <li v-for="(item, index) in DataList" :key="id" @click="Jump(item.id)">
             <div class="left pic">
-              <img :src="item.photoUrl">
+              <img v-if="item.photoUrl !== null" :src="item.photoUrl">
+              <img v-if="item.photoUrl === null" src="../../assets/image/xinwen.jpg">
             </div>
             <div class="newcont">
               <h5>{{item.title}}</h5>

+ 2 - 1
src/views/doctorpolitical/review.vue

@@ -19,7 +19,8 @@
         <ul >
           <li v-for="(item, index) in DataList" :key="id" @click="Jump(item.id)">
             <div class="left pic">
-              <img :src="item.photoUrl">
+              <img v-if="item.photoUrl !== null" :src="item.photoUrl">
+              <img v-if="item.photoUrl === null" src="../../assets/image/xinwen.jpg">
             </div>
             <div class="newcont">
               <h5>{{item.title}}</h5>

+ 2 - 1
src/views/doctorpolitical/ward.vue

@@ -19,7 +19,8 @@
         <ul >
           <li v-for="(item, index) in DataList" :key="id" @click="Jump(item.id)">
             <div class="left pic">
-              <img :src="item.photoUrl">
+              <img v-if="item.photoUrl !== null" :src="item.photoUrl">
+              <img v-if="item.photoUrl === null" src="../../assets/image/xinwen.jpg">
             </div>
             <div class="newcont">
               <h5>{{item.title}}</h5>

+ 2 - 1
src/views/experts.vue

@@ -19,7 +19,8 @@
         <ul >
           <li v-for="(item, index) in expertsContent" :key="id" @click="Jump(item.id)">
             <div class="left pic">
-              <img :src="item.photoUrl">
+              <img v-if="item.photoUrl !== null" :src="item.photoUrl">
+              <img v-if="item.photoUrl === null" src="../assets/image/xinwen.jpg">
             </div>
             <div class="newcont">
               <h5>{{item.title}}</h5>

+ 2 - 1
src/views/experts/field.vue

@@ -19,7 +19,8 @@
         <ul >
           <li v-for="(item, index) in DataList" :key="id" @click="Jump(item.id)">
             <div class="left pic">
-              <img :src="item.photoUrl">
+              <img v-if="item.photoUrl !== null" :src="item.photoUrl">
+              <img v-if="item.photoUrl === null" src="../../assets/image/xinwen.jpg">
             </div>
             <div class="newcont">
               <h5>{{item.title}}</h5>

+ 4 - 2
src/views/managementhospital.vue

@@ -18,8 +18,9 @@
         <div class="hengIcon"></div>
         <ul >
           <li v-for="(item, index) in doctorSystem" :key="id" @click="Jump(item.id)">
-            <div class="left pic">
-              <img :src="item.photoUrl">
+            <div class="left pic" >
+              <img v-if="item.photoUrl !== null" :src="item.photoUrl">
+              <img v-if="item.photoUrl === null" src="../assets/image/xinwen.jpg">
             </div>
             <div class="newcont">
               <h5>{{item.title}}</h5>
@@ -73,6 +74,7 @@ export default {
       if (response.data.code === 1) {
         this.doctorSystem = response.data.responseData.records;
         this.total = response.data.responseData.total;
+        console.log(this.doctorSystem)
         // console.log(response.data.responseData)
       }
     },

+ 2 - 1
src/views/newrules.vue

@@ -19,7 +19,8 @@
         <ul >
           <li v-for="(item, index) in newRules" :key="id" @click="Jump(item.id)">
             <div class="left pic">
-              <img :src="item.photoUrl">
+              <img v-if="item.photoUrl !== null" :src="item.photoUrl">
+              <img v-if="item.photoUrl === null" src="../assets/image/xinwen.jpg">
             </div>
             <div class="newcont">
               <h5>{{item.title}}</h5>

+ 2 - 1
src/views/newrules/insurance.vue

@@ -19,7 +19,8 @@
         <ul >
           <li v-for="(item, index) in DataList" :key="id" @click="Jump(item.id)">
             <div class="left pic">
-              <img :src="item.photoUrl">
+              <img v-if="item.photoUrl !== null" :src="item.photoUrl">
+              <img v-if="item.photoUrl === null" src="../../assets/image/xinwen.jpg">
             </div>
             <div class="newcont">
               <h5>{{item.title}}</h5>

+ 2 - 1
src/views/newrules/law.vue

@@ -19,7 +19,8 @@
         <ul >
           <li v-for="(item, index) in DataList" :key="id" @click="Jump(item.id)">
             <div class="left pic">
-              <img :src="item.photoUrl">
+              <img v-if="item.photoUrl !== null" :src="item.photoUrl">
+              <img v-if="item.photoUrl === null" src="../../assets/image/xinwen.jpg">
             </div>
             <div class="newcont">
               <h5>{{item.title}}</h5>

+ 2 - 1
src/views/newrules/policy.vue

@@ -19,7 +19,8 @@
         <ul >
           <li v-for="(item, index) in DataList" :key="id" @click="Jump(item.id)">
             <div class="left pic">
-              <img :src="item.photoUrl">
+              <img v-if="item.photoUrl !== null" :src="item.photoUrl">
+              <img v-if="item.photoUrl === null" src="../../assets/image/xinwen.jpg">
             </div>
             <div class="newcont">
               <h5>{{item.title}}</h5>

+ 2 - 1
src/views/news.vue

@@ -19,7 +19,8 @@
         <ul >
           <li v-for="(item, index) in doctorNews" :key="id" @click="Jump(item.id)">
             <div class="left pic">
-              <img :src="item.photoUrl">
+              <img v-if="item.photoUrl !== null" :src="item.photoUrl">
+              <img v-if="item.photoUrl === null" src="../assets/image/xinwen.jpg">
             </div>
             <div class="newcont">
               <h5>{{item.title}}</h5>

+ 2 - 1
src/views/news/industry.vue

@@ -19,7 +19,8 @@
         <ul >
           <li v-for="(item, index) in DataList" :key="id" @click="Jump(item.id)">
             <div class="left pic">
-              <img :src="item.photoUrl">
+              <img v-if="item.photoUrl !== null" :src="item.photoUrl">
+              <img v-if="item.photoUrl === null" src="../../assets/image/xinwen.jpg">
             </div>
             <div class="newcont">
               <h5>{{item.title}}</h5>

+ 2 - 1
src/views/news/invitation.vue

@@ -19,7 +19,8 @@
         <ul >
           <li v-for="(item, index) in DataList" :key="id" @click="Jump(item.id)">
             <div class="left pic">
-              <img :src="item.photoUrl">
+              <img v-if="item.photoUrl !== null" :src="item.photoUrl">
+              <img v-if="item.photoUrl === null" src="../../assets/image/xinwen.jpg">
             </div>
             <div class="newcont">
               <h5>{{item.title}}</h5>

+ 2 - 1
src/views/news/sharon.vue

@@ -19,7 +19,8 @@
         <ul>
           <li v-for="(item, id) in DataList" :key="id" @click="Jump(item.id)">
             <div class="left pic">
-              <img :src="item.photoUrl">
+              <img v-if="item.photoUrl !== null" :src="item.photoUrl">
+              <img v-if="item.photoUrl === null" src="../../assets/image/xinwen.jpg">
             </div>
             <div class="newcont">
               <h5>{{item.title}}</h5>

+ 2 - 1
src/views/nursing.vue

@@ -19,7 +19,8 @@
         <ul >
           <li v-for="(item, index) in nursingWorld" :key="id" @click="Jump(item.id)">
             <div class="left pic">
-              <img :src="item.photoUrl">
+              <img v-if="item.photoUrl !== null" :src="item.photoUrl">
+              <img v-if="item.photoUrl === null" src="../assets/image/xinwen.jpg">
             </div>
             <div class="newcont">
               <h5>{{item.title}}</h5>

+ 2 - 1
src/views/nursing/nursingeducation.vue

@@ -19,7 +19,8 @@
         <ul >
           <li v-for="(item, index) in DataList" :key="id" @click="Jump(item.id)">
             <div class="left pic">
-              <img :src="item.photoUrl">
+              <img v-if="item.photoUrl !== null" :src="item.photoUrl">
+              <img v-if="item.photoUrl === null" src="../../assets/image/xinwen.jpg">
             </div>
             <div class="newcont">
               <h5>{{item.title}}</h5>

+ 2 - 1
src/views/nursing/nursingmanagement.vue

@@ -19,7 +19,8 @@
         <ul >
           <li v-for="(item, index) in DataList" :key="id" @click="Jump(item.id)">
             <div class="left pic">
-              <img :src="item.photoUrl">
+              <img v-if="item.photoUrl !== null" :src="item.photoUrl">
+              <img v-if="item.photoUrl === null" src="../../assets/image/xinwen.jpg">
             </div>
             <div class="newcont">
               <h5>{{item.title}}</h5>

+ 2 - 1
src/views/nursing/nursingquality.vue

@@ -19,7 +19,8 @@
         <ul >
           <li v-for="(item, index) in DataList" :key="id" @click="Jump(item.id)">
             <div class="left pic">
-              <img :src="item.photoUrl">
+              <img v-if="item.photoUrl !== null" :src="item.photoUrl">
+              <img v-if="item.photoUrl === null" src="../../assets/image/xinwen.jpg">
             </div>
             <div class="newcont">
               <h5>{{item.title}}</h5>

+ 2 - 1
src/views/nursing/nursingresearch.vue

@@ -19,7 +19,8 @@
         <ul >
           <li v-for="(item, index) in DataList" :key="id" @click="Jump(item.id)">
             <div class="left pic">
-              <img :src="item.photoUrl">
+              <img v-if="item.photoUrl !== null" :src="item.photoUrl">
+              <img v-if="item.photoUrl === null" src="../../assets/image/xinwen.jpg">
             </div>
             <div class="newcont">
               <h5>{{item.title}}</h5>

+ 2 - 1
src/views/obscure.vue

@@ -5,7 +5,8 @@
       <ul>
         <li v-for="(item, index) in DataList" :key="id" @click="Jump(item.id)">
           <div class="pic">
-            <img :src="item.photoUrl">
+            <img v-if="item.photoUrl !== null" :src="item.photoUrl">
+            <img v-if="item.photoUrl === null" src="../assets/image/xinwen.jpg">
           </div>
           <div class="newcont">
             <h5>{{item.title}}</h5>

+ 2 - 1
src/views/reviewhospital.vue

@@ -19,7 +19,8 @@
         <ul >
           <li v-for="(item, index) in doctorReview" :key="id" @click="Jump(item.id)">
             <div class="left pic">
-              <img :src="item.photoUrl">
+              <img v-if="item.photoUrl !== null" :src="item.photoUrl">
+              <img v-if="item.photoUrl === null" src="../assets/image/xinwen.jpg">
             </div>
             <div class="newcont">
               <h5>{{item.title}}</h5>