29713
This commit is contained in:
		@@ -33,7 +33,7 @@
 | 
			
		||||
        <div class="left">
 | 
			
		||||
          <span>*</span><span>所在地区</span>
 | 
			
		||||
        </div>
 | 
			
		||||
        <AiAreaPicker v-model="form.areaId" class="right__text" :fullName.sync="form.areaName">
 | 
			
		||||
        <AiAreaPicker v-model="form.areaId" :areaId="user.areaId" class="right__text" :fullName.sync="form.areaName">
 | 
			
		||||
          <span :class="form.areaName == '' ? 'color-999' : 'color-333' ">{{ form.areaName || "请选择" }}</span>
 | 
			
		||||
          <u-icon name="arrow-right" color="#ddd" style="display: inline-block;"/>
 | 
			
		||||
        </AiAreaPicker>
 | 
			
		||||
@@ -77,7 +77,7 @@
 | 
			
		||||
</template>
 | 
			
		||||
 | 
			
		||||
<script>
 | 
			
		||||
// import {mapState} from 'vuex'
 | 
			
		||||
import {mapState} from 'vuex'
 | 
			
		||||
export default {
 | 
			
		||||
  name: "add",
 | 
			
		||||
  appName: "自主申报",
 | 
			
		||||
@@ -113,9 +113,9 @@ export default {
 | 
			
		||||
    })
 | 
			
		||||
    // this.form.areaId = this.user.areaId
 | 
			
		||||
  },
 | 
			
		||||
  // computed: {
 | 
			
		||||
  //   ...mapState(['user'])
 | 
			
		||||
  // },
 | 
			
		||||
  computed: {
 | 
			
		||||
    ...mapState(['user'])
 | 
			
		||||
  },
 | 
			
		||||
  methods: {
 | 
			
		||||
    helpCheck(e) {
 | 
			
		||||
      e.checked = !e.checked
 | 
			
		||||
 
 | 
			
		||||
@@ -26,6 +26,13 @@
 | 
			
		||||
        <label>详细地址</label>
 | 
			
		||||
        <div>{{ data.address }}</div>
 | 
			
		||||
      </div>
 | 
			
		||||
      <div class="items" v-if="data.status == 3">
 | 
			
		||||
        <label>审核意见</label>
 | 
			
		||||
        <div>{{ data.processList[1].description }}</div>
 | 
			
		||||
        <p class="picture" v-if="data.processList[1].files.length">
 | 
			
		||||
          <img :src="item.url" v-for="(item,index) in data.processList[1].files" :key="index" alt="" @click="previewResult(index)">
 | 
			
		||||
        </p>
 | 
			
		||||
      </div>
 | 
			
		||||
    </div>
 | 
			
		||||
  </div>
 | 
			
		||||
</template>
 | 
			
		||||
@@ -60,6 +67,9 @@ export default {
 | 
			
		||||
    preview(index) {
 | 
			
		||||
      this.$previewImage(this.data.files, index, "url");
 | 
			
		||||
    },
 | 
			
		||||
    previewResult(index) {
 | 
			
		||||
      this.$previewImage(this.data.processList[1].files, index, "url");
 | 
			
		||||
    },
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
</script>
 | 
			
		||||
@@ -115,12 +125,25 @@ export default {
 | 
			
		||||
    .items {
 | 
			
		||||
      padding: 32px;
 | 
			
		||||
      box-sizing: border-box;
 | 
			
		||||
      border-bottom: 1px solid #DDDDDD;
 | 
			
		||||
      label {
 | 
			
		||||
        color: #999999;
 | 
			
		||||
      }
 | 
			
		||||
      div {
 | 
			
		||||
        margin-top: 32px;
 | 
			
		||||
      }
 | 
			
		||||
 | 
			
		||||
      .picture {
 | 
			
		||||
        margin-top: 32px;
 | 
			
		||||
        img {
 | 
			
		||||
          width: 200px;
 | 
			
		||||
          height: 200px;
 | 
			
		||||
          margin-right: 10px;
 | 
			
		||||
        }
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
    .items:last-child {
 | 
			
		||||
      border-bottom: none;
 | 
			
		||||
    }
 | 
			
		||||
    .status0 {
 | 
			
		||||
      color: #FF883C
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user