迁移防返贫
This commit is contained in:
		@@ -1,15 +1,15 @@
 | 
				
			|||||||
<template>
 | 
					<template>
 | 
				
			||||||
  <div class="info">
 | 
					  <div class="info">
 | 
				
			||||||
    <div class="info-top">
 | 
					    <div class="info-top">
 | 
				
			||||||
      <div class="info-top__item" @click="linkTo('/pages/Monitor/Monitor')">
 | 
					      <div class="info-top__item" @click="linkTo('./Monitor')">
 | 
				
			||||||
        <image src="/static/images/wdbf.png"/>
 | 
					        <image src="/static/images/wdbf.png"/>
 | 
				
			||||||
        <h2>监测对象</h2>
 | 
					        <h2>监测对象</h2>
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
      <div class="info-top__item" @click="linkTo('/pages/povertyMonitor/povertyMonitor')">
 | 
					      <div class="info-top__item" @click="linkTo('./povertyMonitor')">
 | 
				
			||||||
        <image src="/static/images/yjjk.png"/>
 | 
					        <image src="/static/images/yjjk.png"/>
 | 
				
			||||||
        <h2>预警监控</h2>
 | 
					        <h2>预警监控</h2>
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
      <div class="info-top__item" @click="linkTo('/pages/PovertyAlleviation/News')">
 | 
					      <div class="info-top__item" @click="linkTo('./News')">
 | 
				
			||||||
        <image src="/static/images/news.png"/>
 | 
					        <image src="/static/images/news.png"/>
 | 
				
			||||||
        <h2>政策动态</h2>
 | 
					        <h2>政策动态</h2>
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
@@ -18,7 +18,7 @@
 | 
				
			|||||||
      <h2>最新动态</h2>
 | 
					      <h2>最新动态</h2>
 | 
				
			||||||
      <div class="news-list">
 | 
					      <div class="news-list">
 | 
				
			||||||
        <div class="news-item" v-for="(item, index) in list" :key="index"
 | 
					        <div class="news-item" v-for="(item, index) in list" :key="index"
 | 
				
			||||||
             @click="linkTo(`/pages/PovertyAlleviation/NewsDetail?id=${item.id}`)">
 | 
					             @click="linkTo(`./NewsDetail?id=${item.id}`)">
 | 
				
			||||||
          <div class="left">
 | 
					          <div class="left">
 | 
				
			||||||
            <h2>{{ item.title }}</h2>
 | 
					            <h2>{{ item.title }}</h2>
 | 
				
			||||||
            <div class="item-bottom">
 | 
					            <div class="item-bottom">
 | 
				
			||||||
@@ -35,12 +35,13 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
<script>
 | 
					<script>
 | 
				
			||||||
export default {
 | 
					export default {
 | 
				
			||||||
 | 
					  name: "AppPovertyAlleviation",
 | 
				
			||||||
 | 
					  appName: "防返贫",
 | 
				
			||||||
  data() {
 | 
					  data() {
 | 
				
			||||||
    return {
 | 
					    return {
 | 
				
			||||||
      list: []
 | 
					      list: []
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
 | 
					 | 
				
			||||||
  onLoad() {
 | 
					  onLoad() {
 | 
				
			||||||
    this.$dict.load(['newsCenterPolicyType']).then(() => {
 | 
					    this.$dict.load(['newsCenterPolicyType']).then(() => {
 | 
				
			||||||
      this.getList()
 | 
					      this.getList()
 | 
				
			||||||
@@ -49,11 +50,8 @@ export default {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  methods: {
 | 
					  methods: {
 | 
				
			||||||
    linkTo(url) {
 | 
					    linkTo(url) {
 | 
				
			||||||
      uni.navigateTo({
 | 
					      uni.navigateTo({url})
 | 
				
			||||||
        url
 | 
					 | 
				
			||||||
      })
 | 
					 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
 | 
					 | 
				
			||||||
    getList() {
 | 
					    getList() {
 | 
				
			||||||
      this.$http.post(`/app/appnewscenterinfo/listForWx`, null, {
 | 
					      this.$http.post(`/app/appnewscenterinfo/listForWx`, null, {
 | 
				
			||||||
        params: {
 | 
					        params: {
 | 
				
			||||||
@@ -12,8 +12,8 @@
 | 
				
			|||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script>
 | 
					<script>
 | 
				
			||||||
import Statistics from './components/Statistics.vue'
 | 
					import Statistics from './Monitor/Statistics.vue'
 | 
				
			||||||
import List from './components/List.vue'
 | 
					import List from './Monitor/List.vue'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export default {
 | 
					export default {
 | 
				
			||||||
  data() {
 | 
					  data() {
 | 
				
			||||||
@@ -36,19 +36,15 @@
 | 
				
			|||||||
          </div>
 | 
					          </div>
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
      <ai-empty v-if="!list.length && isMore" style="padding-bottom: 20px;"></ai-empty>
 | 
					      <AiEmpty v-if="!list.length && isMore" style="padding-bottom: 20px;"></AiEmpty>
 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
    <ai-fixed-btn>
 | 
					    <AiFixedBtn>
 | 
				
			||||||
      <div class="addBtn iconfont iconfont-iconfangda" @tap="toAdd"></div>
 | 
					      <div class="addBtn iconfont iconfont-iconfangda" @tap="toAdd"></div>
 | 
				
			||||||
    </ai-fixed-btn>
 | 
					    </AiFixedBtn>
 | 
				
			||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script>
 | 
					<script>
 | 
				
			||||||
import AiArea from '@/components/AiArea'
 | 
					 | 
				
			||||||
import AiFixedBtn from '@/components/AiFixedBtn'
 | 
					 | 
				
			||||||
import AiEmpty from '@/components/AiEmpty/AiEmpty'
 | 
					 | 
				
			||||||
import AiAreaPicker from '@/components/AiAreaPicker'
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
export default {
 | 
					export default {
 | 
				
			||||||
  name: 'list',
 | 
					  name: 'list',
 | 
				
			||||||
@@ -66,13 +62,6 @@ export default {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  components: {
 | 
					 | 
				
			||||||
    AiArea,
 | 
					 | 
				
			||||||
    AiEmpty,
 | 
					 | 
				
			||||||
    AiAreaPicker,
 | 
					 | 
				
			||||||
    AiFixedBtn
 | 
					 | 
				
			||||||
  },
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  created() {
 | 
					  created() {
 | 
				
			||||||
    uni.showLoading()
 | 
					    uni.showLoading()
 | 
				
			||||||
    this.areaId = this.$store.state.user.areaId
 | 
					    this.areaId = this.$store.state.user.areaId
 | 
				
			||||||
@@ -92,7 +81,7 @@ export default {
 | 
				
			|||||||
  methods: {
 | 
					  methods: {
 | 
				
			||||||
    toDetail(id) {
 | 
					    toDetail(id) {
 | 
				
			||||||
      uni.navigateTo({
 | 
					      uni.navigateTo({
 | 
				
			||||||
        url: '/pages/Monitor/Detail?id=' + id
 | 
					        url: './MonitorDetail?id=' + id
 | 
				
			||||||
      })
 | 
					      })
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -106,7 +95,7 @@ export default {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    toAdd() {
 | 
					    toAdd() {
 | 
				
			||||||
      uni.navigateTo({
 | 
					      uni.navigateTo({
 | 
				
			||||||
        url: '/pages/Monitor/Add'
 | 
					        url: './MonitorAdd'
 | 
				
			||||||
      })
 | 
					      })
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -235,8 +224,8 @@ export default {
 | 
				
			|||||||
      span {
 | 
					      span {
 | 
				
			||||||
        position: relative;
 | 
					        position: relative;
 | 
				
			||||||
        flex: 1;
 | 
					        flex: 1;
 | 
				
			||||||
        height: 96 rpx;
 | 
					        height: 96px;
 | 
				
			||||||
        line-height: 96 rpx;
 | 
					        line-height: 96px;
 | 
				
			||||||
        color: #000000;
 | 
					        color: #000000;
 | 
				
			||||||
        text-align: center;
 | 
					        text-align: center;
 | 
				
			||||||
        font-size: 32px;
 | 
					        font-size: 32px;
 | 
				
			||||||
@@ -56,8 +56,6 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
<script>
 | 
					<script>
 | 
				
			||||||
import echarts from 'echarts'
 | 
					import echarts from 'echarts'
 | 
				
			||||||
import AiArea from '@/components/AiArea'
 | 
					 | 
				
			||||||
import AiAreaPicker from '@/components/AiAreaPicker'
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
export default {
 | 
					export default {
 | 
				
			||||||
  name: 'statistics',
 | 
					  name: 'statistics',
 | 
				
			||||||
@@ -76,10 +74,6 @@ export default {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  components: {
 | 
					 | 
				
			||||||
    AiArea,
 | 
					 | 
				
			||||||
    AiAreaPicker
 | 
					 | 
				
			||||||
  },
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
  created() {
 | 
					  created() {
 | 
				
			||||||
    this.areaId = this.$store.state.user.areaId
 | 
					    this.areaId = this.$store.state.user.areaId
 | 
				
			||||||
@@ -107,10 +107,6 @@
 | 
				
			|||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script>
 | 
					<script>
 | 
				
			||||||
import AiUploader from '@/components/AiUploader'
 | 
					 | 
				
			||||||
import AiSelect from '@/components/AiSelect'
 | 
					 | 
				
			||||||
import AiArea from '@/components/AiArea'
 | 
					 | 
				
			||||||
import AiAreaPicker from '@/components/AiAreaPicker'
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
export default {
 | 
					export default {
 | 
				
			||||||
  data() {
 | 
					  data() {
 | 
				
			||||||
@@ -132,13 +128,6 @@ export default {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  components: {
 | 
					 | 
				
			||||||
    AiArea,
 | 
					 | 
				
			||||||
    AiSelect,
 | 
					 | 
				
			||||||
    AiUploader,
 | 
					 | 
				
			||||||
    AiAreaPicker
 | 
					 | 
				
			||||||
  },
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  created() {
 | 
					  created() {
 | 
				
			||||||
    this.$areaId = this.$store.state.user.areaId
 | 
					    this.$areaId = this.$store.state.user.areaId
 | 
				
			||||||
    this.areaName = this.$store.state.user.areaFullName
 | 
					    this.areaName = this.$store.state.user.areaFullName
 | 
				
			||||||
@@ -15,7 +15,7 @@
 | 
				
			|||||||
                <p>{{ info.phone }}</p>
 | 
					                <p>{{ info.phone }}</p>
 | 
				
			||||||
              </div>
 | 
					              </div>
 | 
				
			||||||
            </div>
 | 
					            </div>
 | 
				
			||||||
            <span @click="linkTo('/pages/Monitor/Add?id=' + info.id)">编辑</span>
 | 
					            <span @click="linkTo('./MonitorAdd?id=' + info.id)">编辑</span>
 | 
				
			||||||
          </div>
 | 
					          </div>
 | 
				
			||||||
          <div class="item-info">
 | 
					          <div class="item-info">
 | 
				
			||||||
            <label>行政区划</label>
 | 
					            <label>行政区划</label>
 | 
				
			||||||
@@ -59,7 +59,7 @@
 | 
				
			|||||||
                  info.familyList.length ? '已填写' : '未填写'
 | 
					                  info.familyList.length ? '已填写' : '未填写'
 | 
				
			||||||
                }})</i>
 | 
					                }})</i>
 | 
				
			||||||
            </div>
 | 
					            </div>
 | 
				
			||||||
            <span @click="linkTo('/pages/Monitor/FamilyMember?id=' + info.id)">编辑</span>
 | 
					            <span @click="linkTo('./MonitorFamilyMember?id=' + info.id)">编辑</span>
 | 
				
			||||||
          </div>
 | 
					          </div>
 | 
				
			||||||
          <div class="item-info">
 | 
					          <div class="item-info">
 | 
				
			||||||
            <label>未参加医疗参保</label>
 | 
					            <label>未参加医疗参保</label>
 | 
				
			||||||
@@ -78,7 +78,7 @@
 | 
				
			|||||||
                  isFamilySituation ? '已填写' : '未填写'
 | 
					                  isFamilySituation ? '已填写' : '未填写'
 | 
				
			||||||
                }})</i>
 | 
					                }})</i>
 | 
				
			||||||
            </div>
 | 
					            </div>
 | 
				
			||||||
            <span @click="linkTo('/pages/Monitor/FamilySituation?id=' + info.id)">编辑</span>
 | 
					            <span @click="linkTo('./MonitorFamilySituation?id=' + info.id)">编辑</span>
 | 
				
			||||||
          </div>
 | 
					          </div>
 | 
				
			||||||
          <div class="item-info">
 | 
					          <div class="item-info">
 | 
				
			||||||
            <label>是否危房</label>
 | 
					            <label>是否危房</label>
 | 
				
			||||||
@@ -95,7 +95,7 @@
 | 
				
			|||||||
              <h2>收支情况</h2>
 | 
					              <h2>收支情况</h2>
 | 
				
			||||||
              <i :style="{color: isIncome ? '#2EA222' : '#FF4466'}">({{ isIncome ? '已填写' : '未填写' }})</i>
 | 
					              <i :style="{color: isIncome ? '#2EA222' : '#FF4466'}">({{ isIncome ? '已填写' : '未填写' }})</i>
 | 
				
			||||||
            </div>
 | 
					            </div>
 | 
				
			||||||
            <span @click="linkTo('/pages/Monitor/Income?id=' + info.id)">编辑</span>
 | 
					            <span @click="linkTo('./MonitorIncome?id=' + info.id)">编辑</span>
 | 
				
			||||||
          </div>
 | 
					          </div>
 | 
				
			||||||
          <div class="item-info">
 | 
					          <div class="item-info">
 | 
				
			||||||
            <label>家庭纯收入</label>
 | 
					            <label>家庭纯收入</label>
 | 
				
			||||||
@@ -112,7 +112,7 @@
 | 
				
			|||||||
              <h2>风险解除</h2>
 | 
					              <h2>风险解除</h2>
 | 
				
			||||||
              <i :style="{color: isPoorStatus ? '#2EA222' : '#FF4466'}">({{ isPoorStatus ? '已填写' : '未填写' }})</i>
 | 
					              <i :style="{color: isPoorStatus ? '#2EA222' : '#FF4466'}">({{ isPoorStatus ? '已填写' : '未填写' }})</i>
 | 
				
			||||||
            </div>
 | 
					            </div>
 | 
				
			||||||
            <span @click="linkTo('/pages/Monitor/PoorStatus?id=' + info.id)">编辑</span>
 | 
					            <span @click="linkTo('./MonitorPoorStatus?id=' + info.id)">编辑</span>
 | 
				
			||||||
          </div>
 | 
					          </div>
 | 
				
			||||||
          <div class="item-info">
 | 
					          <div class="item-info">
 | 
				
			||||||
            <label>是否消除风险</label>
 | 
					            <label>是否消除风险</label>
 | 
				
			||||||
@@ -142,18 +142,16 @@
 | 
				
			|||||||
            </div>
 | 
					            </div>
 | 
				
			||||||
          </div>
 | 
					          </div>
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
        <ai-empty v-if="!list.length" style="padding-bottom: 20px;"></ai-empty>
 | 
					        <AiEmpty v-if="!list.length" style="padding-bottom: 20px;"></AiEmpty>
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
    <ai-fixed-btn v-if="currIndex === 1">
 | 
					    <AiFixedBtn v-if="currIndex === 1">
 | 
				
			||||||
      <div class="addBtn iconfont iconfont-iconfangda" @tap="toAddLog"></div>
 | 
					      <div class="addBtn iconfont iconfont-iconfangda" @tap="toAddLog"></div>
 | 
				
			||||||
    </ai-fixed-btn>
 | 
					    </AiFixedBtn>
 | 
				
			||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script>
 | 
					<script>
 | 
				
			||||||
import AiFixedBtn from '@/components/AiFixedBtn'
 | 
					 | 
				
			||||||
import AiEmpty from '@/components/AiEmpty/AiEmpty'
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
export default {
 | 
					export default {
 | 
				
			||||||
  name: 'detail',
 | 
					  name: 'detail',
 | 
				
			||||||
@@ -168,10 +166,6 @@ export default {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  components: {
 | 
					 | 
				
			||||||
    AiEmpty,
 | 
					 | 
				
			||||||
    AiFixedBtn
 | 
					 | 
				
			||||||
  },
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
  computed: {
 | 
					  computed: {
 | 
				
			||||||
    isIncome() {
 | 
					    isIncome() {
 | 
				
			||||||
@@ -225,9 +219,7 @@ export default {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  methods: {
 | 
					  methods: {
 | 
				
			||||||
    linkTo(url) {
 | 
					    linkTo(url) {
 | 
				
			||||||
      uni.navigateTo({
 | 
					      uni.navigateTo({url})
 | 
				
			||||||
        url
 | 
					 | 
				
			||||||
      })
 | 
					 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    call(phone) {
 | 
					    call(phone) {
 | 
				
			||||||
@@ -244,7 +236,7 @@ export default {
 | 
				
			|||||||
        success: res => {
 | 
					        success: res => {
 | 
				
			||||||
          if (res.tapIndex === 0) {
 | 
					          if (res.tapIndex === 0) {
 | 
				
			||||||
            uni.navigateTo({
 | 
					            uni.navigateTo({
 | 
				
			||||||
              url: `/pages/Monitor/AddLog?pid=${this.info.id}&id=${id}`
 | 
					              url: `./MonitorAddLog?pid=${this.info.id}&id=${id}`
 | 
				
			||||||
            })
 | 
					            })
 | 
				
			||||||
          } else if (res.tapIndex === 1) {
 | 
					          } else if (res.tapIndex === 1) {
 | 
				
			||||||
            this.$confirm('确定删除该数据?').then(() => {
 | 
					            this.$confirm('确定删除该数据?').then(() => {
 | 
				
			||||||
@@ -273,7 +265,7 @@ export default {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    toAddLog() {
 | 
					    toAddLog() {
 | 
				
			||||||
      uni.navigateTo({
 | 
					      uni.navigateTo({
 | 
				
			||||||
        url: '/pages/Monitor/AddLog?pid=' + this.info.id
 | 
					        url: './MonitorAddLog?pid=' + this.info.id
 | 
				
			||||||
      })
 | 
					      })
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -362,8 +354,8 @@ export default {
 | 
				
			|||||||
    span {
 | 
					    span {
 | 
				
			||||||
      position: relative;
 | 
					      position: relative;
 | 
				
			||||||
      flex: 1;
 | 
					      flex: 1;
 | 
				
			||||||
      height: 96 rpx;
 | 
					      height: 96px;
 | 
				
			||||||
      line-height: 96 rpx;
 | 
					      line-height: 96px;
 | 
				
			||||||
      color: #000000;
 | 
					      color: #000000;
 | 
				
			||||||
      text-align: center;
 | 
					      text-align: center;
 | 
				
			||||||
      font-size: 32px;
 | 
					      font-size: 32px;
 | 
				
			||||||
@@ -76,9 +76,9 @@
 | 
				
			|||||||
        <span @click="remove(index)">删除</span>
 | 
					        <span @click="remove(index)">删除</span>
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
    <ai-fixed-btn>
 | 
					    <AiFixedBtn>
 | 
				
			||||||
      <div class="addBtn iconfont iconfont-iconfangda" @tap="toAdd"></div>
 | 
					      <div class="addBtn iconfont iconfont-iconfangda" @tap="toAdd"></div>
 | 
				
			||||||
    </ai-fixed-btn>
 | 
					    </AiFixedBtn>
 | 
				
			||||||
    <div class="no-more" v-if="!list.length">
 | 
					    <div class="no-more" v-if="!list.length">
 | 
				
			||||||
      <image src="/static/images/empty.png"/>
 | 
					      <image src="/static/images/empty.png"/>
 | 
				
			||||||
      <div>
 | 
					      <div>
 | 
				
			||||||
@@ -125,14 +125,14 @@ export default {
 | 
				
			|||||||
  methods: {
 | 
					  methods: {
 | 
				
			||||||
    toAdd() {
 | 
					    toAdd() {
 | 
				
			||||||
      uni.navigateTo({
 | 
					      uni.navigateTo({
 | 
				
			||||||
        url: '/pages/Monitor/AddFamilyMember?id=' + this.id
 | 
					        url: './MonitorAddFamilyMember?id=' + this.id
 | 
				
			||||||
      })
 | 
					      })
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    toEdit(index) {
 | 
					    toEdit(index) {
 | 
				
			||||||
      this.$confirm('确定编辑该数据?').then(() => {
 | 
					      this.$confirm('确定编辑该数据?').then(() => {
 | 
				
			||||||
        uni.navigateTo({
 | 
					        uni.navigateTo({
 | 
				
			||||||
          url: `/pages/Monitor/AddFamilyMember?id=${this.id}&index=${index}`
 | 
					          url: `./MonitorAddFamilyMember?id=${this.id}&index=${index}`
 | 
				
			||||||
        })
 | 
					        })
 | 
				
			||||||
      }).catch(() => {
 | 
					      }).catch(() => {
 | 
				
			||||||
      })
 | 
					      })
 | 
				
			||||||
@@ -11,7 +11,7 @@
 | 
				
			|||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
    <div class="list">
 | 
					    <div class="list">
 | 
				
			||||||
      <div class="item" v-for="(item, index) in list" :key="index"
 | 
					      <div class="item" v-for="(item, index) in list" :key="index"
 | 
				
			||||||
           @click="linkTo('/pages/PovertyAlleviation/NewsDetail?id=' + item.id)">
 | 
					           @click="linkTo('./NewsDetail?id=' + item.id)">
 | 
				
			||||||
        <div class="left">
 | 
					        <div class="left">
 | 
				
			||||||
          <h2>{{ item.title }}</h2>
 | 
					          <h2>{{ item.title }}</h2>
 | 
				
			||||||
          <div class="item-bottom">
 | 
					          <div class="item-bottom">
 | 
				
			||||||
@@ -21,13 +21,12 @@
 | 
				
			|||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
        <image v-if="item.coverFile" :src="item.coverFile ? item.coverFile.url : ''"/>
 | 
					        <image v-if="item.coverFile" :src="item.coverFile ? item.coverFile.url : ''"/>
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
      <ai-empty v-if="!list.length && isMore" style="padding-bottom: 20px;"></ai-empty>
 | 
					      <AiEmpty v-if="!list.length && isMore" style="padding-bottom: 20px;"></AiEmpty>
 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script>
 | 
					<script>
 | 
				
			||||||
import AiEmpty from '@/components/AiEmpty/AiEmpty'
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
export default {
 | 
					export default {
 | 
				
			||||||
  data() {
 | 
					  data() {
 | 
				
			||||||
@@ -42,9 +41,6 @@ export default {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  components: {
 | 
					 | 
				
			||||||
    AiEmpty
 | 
					 | 
				
			||||||
  },
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
  onLoad() {
 | 
					  onLoad() {
 | 
				
			||||||
    uni.showLoading()
 | 
					    uni.showLoading()
 | 
				
			||||||
@@ -70,9 +66,7 @@ export default {
 | 
				
			|||||||
    },
 | 
					    },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    linkTo(url) {
 | 
					    linkTo(url) {
 | 
				
			||||||
      uni.navigateTo({
 | 
					      uni.navigateTo({url})
 | 
				
			||||||
        url
 | 
					 | 
				
			||||||
      })
 | 
					 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    getList() {
 | 
					    getList() {
 | 
				
			||||||
@@ -200,8 +194,8 @@ export default {
 | 
				
			|||||||
    span {
 | 
					    span {
 | 
				
			||||||
      position: relative;
 | 
					      position: relative;
 | 
				
			||||||
      flex: 1;
 | 
					      flex: 1;
 | 
				
			||||||
      height: 96 rpx;
 | 
					      height: 96px;
 | 
				
			||||||
      line-height: 96 rpx;
 | 
					      line-height: 96px;
 | 
				
			||||||
      color: #999999;
 | 
					      color: #999999;
 | 
				
			||||||
      text-align: center;
 | 
					      text-align: center;
 | 
				
			||||||
      font-size: 28px;
 | 
					      font-size: 28px;
 | 
				
			||||||
@@ -12,8 +12,8 @@
 | 
				
			|||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script>
 | 
					<script>
 | 
				
			||||||
import Statistics from './components/Statistics.vue'
 | 
					import Statistics from './povertyMonitor/Statistics.vue'
 | 
				
			||||||
import List from './components/List.vue'
 | 
					import List from './povertyMonitor/List.vue'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export default {
 | 
					export default {
 | 
				
			||||||
  data() {
 | 
					  data() {
 | 
				
			||||||
@@ -15,13 +15,12 @@
 | 
				
			|||||||
        <p>{{ item.addressArea }} {{ item.address }}</p>
 | 
					        <p>{{ item.addressArea }} {{ item.address }}</p>
 | 
				
			||||||
        <div class="item-bottom">家庭收入</div>
 | 
					        <div class="item-bottom">家庭收入</div>
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
      <ai-empty v-if="!list.length && isMore" style="padding-bottom: 20px;"></ai-empty>
 | 
					      <AiEmpty v-if="!list.length && isMore" style="padding-bottom: 20px;"></AiEmpty>
 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script>
 | 
					<script>
 | 
				
			||||||
import AiEmpty from '@/components/AiEmpty/AiEmpty'
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
export default {
 | 
					export default {
 | 
				
			||||||
  name: 'list',
 | 
					  name: 'list',
 | 
				
			||||||
@@ -35,10 +34,6 @@ export default {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  components: {
 | 
					 | 
				
			||||||
    AiEmpty
 | 
					 | 
				
			||||||
  },
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  created() {
 | 
					  created() {
 | 
				
			||||||
    uni.showLoading()
 | 
					    uni.showLoading()
 | 
				
			||||||
    this.$nextTick(() => {
 | 
					    this.$nextTick(() => {
 | 
				
			||||||
@@ -56,7 +51,7 @@ export default {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    toDetail(id) {
 | 
					    toDetail(id) {
 | 
				
			||||||
      uni.navigateTo({
 | 
					      uni.navigateTo({
 | 
				
			||||||
        url: `/pages/Monitor/Detail?id=${id}&isFrom=1`
 | 
					        url: `./MonitorDetail?id=${id}&isFrom=1`
 | 
				
			||||||
      })
 | 
					      })
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -130,8 +125,8 @@ export default {
 | 
				
			|||||||
    span {
 | 
					    span {
 | 
				
			||||||
      position: relative;
 | 
					      position: relative;
 | 
				
			||||||
      flex: 1;
 | 
					      flex: 1;
 | 
				
			||||||
      height: 96 rpx;
 | 
					      height: 96px;
 | 
				
			||||||
      line-height: 96 rpx;
 | 
					      line-height: 96px;
 | 
				
			||||||
      color: #000000;
 | 
					      color: #000000;
 | 
				
			||||||
      text-align: center;
 | 
					      text-align: center;
 | 
				
			||||||
      font-size: 32px;
 | 
					      font-size: 32px;
 | 
				
			||||||
@@ -194,14 +189,14 @@ export default {
 | 
				
			|||||||
          }
 | 
					          }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
          &.status1 {
 | 
					          &.status1 {
 | 
				
			||||||
            color: 已解除风险;
 | 
					            color: #3975C6;
 | 
				
			||||||
          }
 | 
					          }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      p {
 | 
					      p {
 | 
				
			||||||
        line-height: 1.4;
 | 
					        line-height: 1.4;
 | 
				
			||||||
        margin-bottom: 32 rpx;
 | 
					        margin-bottom: 32px;
 | 
				
			||||||
        padding: 0 32px;
 | 
					        padding: 0 32px;
 | 
				
			||||||
        color: #999999;
 | 
					        color: #999999;
 | 
				
			||||||
        font-size: 26px;
 | 
					        font-size: 26px;
 | 
				
			||||||
@@ -89,7 +89,7 @@ export default {
 | 
				
			|||||||
  methods: {
 | 
					  methods: {
 | 
				
			||||||
    linkTo() {
 | 
					    linkTo() {
 | 
				
			||||||
      uni.navigateTo({
 | 
					      uni.navigateTo({
 | 
				
			||||||
        url: '/pages/povertyMonitor/Form'
 | 
					        url: './povertyMonitorForm'
 | 
				
			||||||
      })
 | 
					      })
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -110,7 +110,7 @@ export default {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
<style lang="scss">
 | 
					<style lang="scss">
 | 
				
			||||||
.detail {
 | 
					.detail {
 | 
				
			||||||
  padding-bottom: 122 rpx;
 | 
					  padding-bottom: 122px;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  * {
 | 
					  * {
 | 
				
			||||||
    box-sizing: border-box;
 | 
					    box-sizing: border-box;
 | 
				
			||||||
@@ -224,7 +224,7 @@ export default {
 | 
				
			|||||||
        line-height: 1.3;
 | 
					        line-height: 1.3;
 | 
				
			||||||
        text-align: right;
 | 
					        text-align: right;
 | 
				
			||||||
        color: #999999;
 | 
					        color: #999999;
 | 
				
			||||||
        font-size: 30 rpx;
 | 
					        font-size: 30px;
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      span {
 | 
					      span {
 | 
				
			||||||
		Reference in New Issue
	
	Block a user