Commit 5a5bc33f authored by 786817560's avatar 786817560

Merge branch 'ren' into develop

parents f2313a59 a2154a28
<!-- <!--
* @Author: your name * @Author: your name
* @Date: 2019-10-31 09:49:57 * @Date: 2019-10-31 09:49:57
* @LastEditTime: 2019-12-02 09:02:06 * @LastEditTime: 2019-12-02 09:50:30
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: 合同查询--记录 * @Description: 合同查询--记录
* @FilePath: * @FilePath:
...@@ -93,9 +93,9 @@ export default { ...@@ -93,9 +93,9 @@ export default {
unRepay_pagenum: 1, // 首付还款中页码 unRepay_pagenum: 1, // 首付还款中页码
repaying_pagenum: 1, // 还款中页码 repaying_pagenum: 1, // 还款中页码
repayed_pagenum: 1, // 已结清页码 repayed_pagenum: 1, // 已结清页码
searchInput: '', searchInput: '', // 搜索内容
contract_status_n: '全部', // 全部/待首付/首付还款中/还款中/已结清 contract_status_n: '全部', // 全部/待首付/首付还款中/还款中/已结清
unSigned_flag: false, unSigned_flag: false, // 控制tab切换时再次请求
unRepay_flag: false, unRepay_flag: false,
repaying_flag: false, repaying_flag: false,
repayed_flag: false, repayed_flag: false,
...@@ -170,7 +170,6 @@ export default { ...@@ -170,7 +170,6 @@ export default {
vm.unRepay_flag = false vm.unRepay_flag = false
vm.repaying_flag = false vm.repaying_flag = false
vm.repayed_flag = false vm.repayed_flag = false
vm.recordQuery('全部', vm.lists) vm.recordQuery('全部', vm.lists)
} }
}) })
...@@ -185,6 +184,7 @@ export default { ...@@ -185,6 +184,7 @@ export default {
}, },
}) })
}, },
// tab切换
isSelected (name) { isSelected (name) {
this.selected = name this.selected = name
}, },
...@@ -203,18 +203,16 @@ export default { ...@@ -203,18 +203,16 @@ export default {
vm.hlsHttp.post(url, param).then(function (res) { vm.hlsHttp.post(url, param).then(function (res) {
vm.hlsPopup.hideLoading() vm.hlsPopup.hideLoading()
if (res.result === 'S') { if (res.result === 'S') {
// 判断有无数据
if (status === '全部' && res.lists.length === 0) { if (status === '全部' && res.lists.length === 0) {
vm.data = null vm.data = null
} else { } else {
vm.data = 1 vm.data = 1
} }
// console.log(arr)
// arr = res.lists
res.lists.forEach((data, index, array) => { res.lists.forEach((data, index, array) => {
arr.push(array[index]) arr.push(array[index])
}) })
vm.showLists = arr vm.showLists = arr // 展示请求到的数据
console.log('......', vm.lists)
if (res.lists.length >= 0 && res.lists.length < 10) { if (res.lists.length >= 0 && res.lists.length < 10) {
if (status === '全部') { if (status === '全部') {
vm.$refs.scroll.update(true) vm.$refs.scroll.update(true)
...@@ -274,6 +272,7 @@ export default { ...@@ -274,6 +272,7 @@ export default {
vm.$refs.scroll.update(true) vm.$refs.scroll.update(true)
} else if (returnData.length > 0 && returnData.length < 10) { } else if (returnData.length > 0 && returnData.length < 10) {
returnData.forEach((data, index, array) => { returnData.forEach((data, index, array) => {
// 加载更多时,将请求到的数据push到对应数组
if (this.selected === 'all') { if (this.selected === 'all') {
vm.lists.push(array[index]) vm.lists.push(array[index])
} else if (this.selected === 'one') { } else if (this.selected === 'one') {
...@@ -308,6 +307,7 @@ export default { ...@@ -308,6 +307,7 @@ export default {
} }
}) })
}, },
// 搜索
async searchs () { async searchs () {
let resAll = await this.searchAll() let resAll = await this.searchAll()
if (resAll) { if (resAll) {
...@@ -338,6 +338,7 @@ export default { ...@@ -338,6 +338,7 @@ export default {
if (res.result === 'S') { if (res.result === 'S') {
vm.hlsPopup.hideLoading() vm.hlsPopup.hideLoading()
vm.lists = res.lists vm.lists = res.lists
// 展示数据更新通过watch监听,默认展示当前页面请求到的数据
if (vm.selected === 'all') { if (vm.selected === 'all') {
vm.showLists = vm.lists vm.showLists = vm.lists
} }
...@@ -392,7 +393,6 @@ export default { ...@@ -392,7 +393,6 @@ export default {
pagenum: 1, pagenum: 1,
pagesize: 10, pagesize: 10,
} }
// vm.hlsPopup.showLoading('数据加载中')
let res = await vm.$post(url, param) let res = await vm.$post(url, param)
if (res.result === 'S') { if (res.result === 'S') {
vm.unRepayLists = res.lists vm.unRepayLists = res.lists
...@@ -421,7 +421,6 @@ export default { ...@@ -421,7 +421,6 @@ export default {
pagenum: 1, pagenum: 1,
pagesize: 10, pagesize: 10,
} }
// vm.hlsPopup.showLoading('数据加载中')
let res = await vm.$post(url, param) let res = await vm.$post(url, param)
if (res.result === 'S') { if (res.result === 'S') {
vm.repayingLists = res.lists vm.repayingLists = res.lists
...@@ -450,9 +449,7 @@ export default { ...@@ -450,9 +449,7 @@ export default {
pagenum: 1, pagenum: 1,
pagesize: 10, pagesize: 10,
} }
// vm.hlsPopup.showLoading('数据加载中')
vm.hlsHttp.post(url, param).then(function (res) { vm.hlsHttp.post(url, param).then(function (res) {
// vm.hlsPopup.hideLoading()
vm.repayedLists = res.lists vm.repayedLists = res.lists
if (vm.selected === 'four') { if (vm.selected === 'four') {
vm.showLists = vm.repayedLists vm.showLists = vm.repayedLists
......
<!-- <!--
* @Author: your name * @Author: your name
* @Date: 2019-09-29 10:02:11 * @Date: 2019-09-29 10:02:11
* @LastEditTime: 2019-11-29 17:31:00 * @LastEditTime: 2019-12-02 09:39:11
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: In User Settings Edit * @Description: In User Settings Edit
--> -->
...@@ -46,32 +46,6 @@ ...@@ -46,32 +46,6 @@
</div> </div>
</div> </div>
</scroll> </scroll>
<!-- <scroll
v-show="num === 2"
ref="scroll"
:updateData="[approvedLists]"
:pullUp="true"
@pullingUp="loadMore"
>
<div class="wrap">
<div v-for="(item,index) in approvedLists" :key="index" class="contract-lists" >
<div class="pro-code" @click="goDetails(item)">
<img src="@/assets/distributorSign/fileIcon.png" alt="" class="file-icon">
<p>
<span>合同号</span>
<span>{{ item.project_number }}</span>
</p>
<img src="@/assets/constractSigning/righticon.png" alt="" class="arrow">
</div>
<div class="box">
<div><p>承租人</p><p>{{ item.bp_name }}</p></div>
<div><p>合同租金</p><p class="money">{{ item.total_price|currency }}</p></div>
<div><p>申请时间</p><p>{{ dateConverse(item.confirm_start_date) }}</p></div>
</div>
</div>
</div>
</scroll> -->
</h-view> </h-view>
</template> </template>
...@@ -114,10 +88,8 @@ export default { ...@@ -114,10 +88,8 @@ export default {
} else if (newVal === 1) { } else if (newVal === 1) {
this.showLists = this.submitLists this.showLists = this.submitLists
this.$refs.scroll.scrollToTop() this.$refs.scroll.scrollToTop()
// this.$refs.scroll.update(false)
} }
}, },
immediate: true,
}, },
searchInput () { searchInput () {
let vm = this let vm = this
...@@ -333,9 +305,7 @@ export default { ...@@ -333,9 +305,7 @@ export default {
confirm_status: 'APPROVED', confirm_status: 'APPROVED',
searchInput: vm.searchInput, searchInput: vm.searchInput,
} }
vm.hlsPopup.showLoading('数据加载中')
vm.hlsHttp.post(url, param).then(function (res) { vm.hlsHttp.post(url, param).then(function (res) {
vm.hlsPopup.hideLoading()
vm.approvedLists = res.lists vm.approvedLists = res.lists
if (vm.num === 2) { if (vm.num === 2) {
vm.showLists = vm.approvedLists vm.showLists = vm.approvedLists
......
<!-- <!--
* @Author: your name * @Author: your name
* @Date: 2019-09-29 10:02:11 * @Date: 2019-09-29 10:02:11
* @LastEditTime: 2019-11-28 18:19:14 * @LastEditTime: 2019-12-02 16:10:47
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: In User Settings Edit * @Description: In User Settings Edit
--> -->
...@@ -158,7 +158,7 @@ export default { ...@@ -158,7 +158,7 @@ export default {
} }
} }
let error = function () { let error = function () {
hlsPopup.showLongCenter(error) hlsPopup.showLongCenter('请拍照')
} }
hlsUtil.openCamera(cameraoptions, success, error) hlsUtil.openCamera(cameraoptions, success, error)
}, },
......
...@@ -44,31 +44,6 @@ ...@@ -44,31 +44,6 @@
</div> </div>
</div> </div>
</scroll> </scroll>
<!-- <scroll
v-show="num === 2"
ref="scroll"
:updateData="[approvedLists]"
:pullUp="true"
@pullingUp="loadMore"
>
<div class="wrap">
<div v-for="(item,index) in approvedLists" :key="index" class="contract-lists" >
<div class="pro-code" @click="goDetails(item)">
<img src="@/assets/distributorSign/fileIcon.png" alt="" class="file-icon">
<p>
<span>合同号</span>
<span>{{ item.project_number }}</span>
</p>
<img src="@/assets/distributorSign/goDetails.png" alt="" class="arrow">
</div>
<div class="box">
<div><p>承租人</p><p>{{ item.bp_name }}</p></div>
<div><p>合同租金</p><p class="money">{{ item.total_price|currency }}</p></div>
<div><p>申请时间</p><p>{{ dateConverse(item.confirm_start_date) }}</p></div>
</div>
</div>
</div>
</scroll> -->
</h-view> </h-view>
</template> </template>
...@@ -109,7 +84,6 @@ export default { ...@@ -109,7 +84,6 @@ export default {
} else if (newVal === 1) { } else if (newVal === 1) {
this.showLists = this.submitLists this.showLists = this.submitLists
this.$refs.scroll.scrollToTop() this.$refs.scroll.scrollToTop()
// this.$refs.scroll.update(false)
} }
}, },
immediate: true, immediate: true,
...@@ -218,7 +192,7 @@ export default { ...@@ -218,7 +192,7 @@ export default {
confirm_status: 'SUBMIT', confirm_status: 'SUBMIT',
searchInput: vm.searchInput, searchInput: vm.searchInput,
} }
vm.hlsPopup.showLoading('数据加载中') vm.hlsPopup.showLoading('请稍后')
vm.hlsHttp.post(url, param).then(function (res) { vm.hlsHttp.post(url, param).then(function (res) {
vm.hlsPopup.hideLoading() vm.hlsPopup.hideLoading()
let returnData = [] let returnData = []
...@@ -252,7 +226,7 @@ export default { ...@@ -252,7 +226,7 @@ export default {
confirm_status: 'APPROVED', confirm_status: 'APPROVED',
searchInput: vm.searchInput, searchInput: vm.searchInput,
} }
vm.hlsPopup.showLoading('数据加载中') vm.hlsPopup.showLoading('请稍后')
vm.hlsHttp.post(url, param).then(function (res) { vm.hlsHttp.post(url, param).then(function (res) {
vm.hlsPopup.hideLoading() vm.hlsPopup.hideLoading()
let returnData = [] let returnData = []
...@@ -312,10 +286,7 @@ export default { ...@@ -312,10 +286,7 @@ export default {
confirm_status: 'APPROVED', confirm_status: 'APPROVED',
searchInput: vm.searchInput, searchInput: vm.searchInput,
} }
// vm.hlsPopup.showLoading('数据加载中')
vm.hlsHttp.post(url, param).then(function (res) { vm.hlsHttp.post(url, param).then(function (res) {
// vm.hlsPopup.hideLoading()
// console.log(res.lists)
vm.approvedLists = res.lists vm.approvedLists = res.lists
vm.showLists = vm.approvedLists vm.showLists = vm.approvedLists
if (res.lists.length >= 0 && res.lists.length < 10) { if (res.lists.length >= 0 && res.lists.length < 10) {
......
<!--
* @Author: your name
* @Date: 2019-11-11 16:28:45
* @LastEditTime: 2019-12-02 15:32:37
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \hls-xcmg-vue-app\src\pages\help\detail.vue
-->
<template> <template>
<h-view id="help-detail" class="public-style"> <h-view id="help-detail" class="public-style">
<h-header :proportion="[5,1,1]" class="bar-custom"> <h-header :proportion="[5,1,1]" class="bar-custom">
...@@ -7,16 +15,39 @@ ...@@ -7,16 +15,39 @@
</div> </div>
</h-header> </h-header>
<h-content class="my-content"> <h-content class="my-content">
<h4>如何进行客户绑定?</h4> <h4>{{ title }}</h4>
<div class="article"> <div v-if="title === '如何进行客户绑定?'" class="article">
<p>进入“个人中心"界面,点击”用户绑定“按钮进入用户绑定界面,填写相关资料可进行用户绑定。</p> <p>进入“个人中心"界面,点击”用户绑定“按钮进入用户绑定界面,填写相关资料可进行用户绑定。</p>
</div> </div>
<div v-if="title === '如何通过扫描录入进件?'" class="article">
<p></p>
</div>
<div v-if="title === '如何进行“产品试算”?'" class="article">
<p>进入首页“产品试算”功能,选择产品进入试算页面,填写相关数据,即可进行试算。</p>
</div>
<div v-if="title === '产品展示功能如何使用?'" class="article">
<p>进入首页“产品查询”功能,选择产品名称即可展示该类产品。</p>
</div>
<div v-if="title === '如何进行“合同还款”?'" class="article">
<p>进入首页“合同还款”功能,即可展示所有合同还款状态,点击“查看合同明细”,可查看还款的详细信息。</p>
</div>
</h-content> </h-content>
</h-view> </h-view>
</template> </template>
<script> <script>
export default { export default {
data () {
return {
title: '',
}
},
beforeRouteEnter (to, from, next) {
next(vm => {
if (from.name === 'HelpList') {
vm.title = vm.$route.params.title
}
})
},
} }
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
......
...@@ -21,8 +21,8 @@ ...@@ -21,8 +21,8 @@
<img class="img0" src="@/assets/help/down.png" > <img class="img0" src="@/assets/help/down.png" >
</div> </div>
<ul class="list0"> <ul class="list0">
<li @click="changeDetail">如何进行客户绑定?</li> <li @click="changeDetail('如何进行客户绑定?')">如何进行客户绑定?</li>
<li>如何通过扫描录入进件?</li> <li @click="changeDetail('如何通过扫描录入进件?')">如何通过扫描录入进件?</li>
</ul> </ul>
</div> </div>
<div class="question"> <div class="question">
...@@ -41,9 +41,9 @@ ...@@ -41,9 +41,9 @@
<img class="img2" src="@/assets/help/down.png" > <img class="img2" src="@/assets/help/down.png" >
</div> </div>
<ul class="list2"> <ul class="list2">
<li>产品展示功能如何使用?</li> <li @click="changeDetail('产品展示功能如何使用?')">产品展示功能如何使用?</li>
<li>如何进行“产品试算”?</li> <li @click="changeDetail('如何进行“产品试算”?')">如何进行“产品试算”?</li>
<li>如何进行“合同还款”?</li> <li @click="changeDetail('如何进行“合同还款”?')">如何进行“合同还款”?</li>
</ul> </ul>
</div> </div>
</h-content> </h-content>
...@@ -76,9 +76,12 @@ export default { ...@@ -76,9 +76,12 @@ export default {
this.isShow = true this.isShow = true
} }
}, },
changeDetail () { changeDetail (val) {
this.$router.push({ this.$router.push({
name: 'HelpDetail', name: 'HelpDetail',
params: {
title: val,
},
}) })
}, },
changeFeedback () { changeFeedback () {
......
...@@ -10,8 +10,10 @@ ...@@ -10,8 +10,10 @@
<div class="search has-header"> <div class="search has-header">
<input placeholder="请输入进件号/承租人名称" > <input placeholder="请输入进件号/承租人名称" >
</div> </div>
<scroll ref="scroll" :updateData="[showList]" :pullUp="true" class="scroll"> <scroll
<div v-for="(item,index) in showList" :key="index" class="item"> ref="scroll" :updateData="[showLists]" :pullUp="true" class="scroll"
@pullingUp="loadMore">
<div v-for="(item,index) in showLists" :key="index" class="item">
<div class="left"> <div class="left">
<span> <span>
<img src="@/assets/contractStart/icon.png" > <img src="@/assets/contractStart/icon.png" >
...@@ -68,14 +70,27 @@ export default { ...@@ -68,14 +70,27 @@ export default {
tabNum: 0, tabNum: 0,
isSign: false, isSign: false,
lists: [], lists: [],
showList: [], showLists: [],
undo: [], undo: [],
done: [], done: [],
searchInput: '',
pagenum: 1,
submitPagenum: 1,
approvedPagenum: 1,
approvedFlag: false,
} }
}, },
beforeRouteEnter (to, from, next) { beforeRouteEnter (to, from, next) {
next(vm => { next(vm => {
if (from.name === 'MyInfo') { if (from.name === 'MyInfo') {
vm.searchInput = ''
vm.pagenum = 1
vm.tabNum = 1
vm.submitPagenum = 1
vm.approvedPagenum = 1
vm.approvedFlag = false
vm.undo = []
vm.done = []
vm.getList() vm.getList()
} }
}) })
...@@ -84,13 +99,25 @@ export default { ...@@ -84,13 +99,25 @@ export default {
tabNum: { tabNum: {
handler (newVal, oldVal) { handler (newVal, oldVal) {
if (newVal === 0) { if (newVal === 0) {
this.showList = this.undo this.showLists = this.undo
} else if (newVal === 1) { } else if (newVal === 1) {
this.showList = this.done if (!this.approvedFlag) {
this.getList()
}
this.showLists = this.done
} }
}, },
immediate: true, immediate: true,
}, },
searchInput () {
let vm = this
if (vm.timeout) {
clearTimeout(vm.timeout)
}
vm.timeout = setTimeout(() => {
vm.search()
}, 1000)
},
}, },
created () {}, created () {},
methods: { methods: {
...@@ -178,59 +205,180 @@ export default { ...@@ -178,59 +205,180 @@ export default {
hlsPopup.showLongCenter('敬请期待') hlsPopup.showLongCenter('敬请期待')
}, },
getList () { getList () {
this.lists = [ let vm = this
{ let url = process.env.basePath + 'interview_list_query'
bp_name: '刘淼', if (vm.tabNum === 0) {
total_price: '2019-01-01', let param = {
project_number: 'PRJ2019174', pagesize: 10,
project_id: '49737', searchInput: vm.searchInput,
division_n: '平地机', pagenum: vm.submitPagenum,
leases_status: 'Y', user_phone: window.localStorage.getItem('user_phone'),
}
hlsPopup.showLoading('请稍候')
vm.$post(url, param).then(function (res) {
vm.hlsPopup.hideLoading()
if (res.result === 'S') {
vm.undo = res.lists
vm.showLists = vm.undo
if (res.lists.length > 0 && res.lists.length < 10) {
vm.$refs.scroll.update(true)
} else if (res.lists.length === 10) {
vm.$refs.scroll.update(false)
}
} else {
hlsPopup.showLongCenter(res.message)
}
})
} else if (vm.tabNum === 1) {
let param = {
pagesize: 10,
searchInput: vm.searchInput,
pagenum: vm.approvedPagenum,
user_phone: window.localStorage.getItem('user_phone'),
}
hlsPopup.showLoading('请稍候')
vm.$post(url, param).then(function (res) {
vm.hlsPopup.hideLoading()
if (res.result === 'S') {
vm.done = res.lists
vm.approvedFlag = true
vm.showLists = vm.done
if (res.lists.length > 0 && res.lists.length < 10) {
vm.$refs.scroll.update(true)
} else if (res.lists.length === 10) {
vm.$refs.scroll.update(false)
}
} else {
hlsPopup.showLongCenter(res.message)
}
})
}
}, },
{ loadMore () {
bp_name: '陈泽华', let vm = this
total_price: '2019-01-01', let url = process.env.basePath + 'interview_list_query'
project_number: 'PRJ2019168', if (vm.tabNum === 0) {
project_id: '49680', vm.submitPagenum++
division_n: '平地机', let param = {
leases_status: 'N', pagesize: 10,
searchInput: vm.searchInput,
pagenum: vm.submitPagenum,
user_phone: window.localStorage.getItem('user_phone'),
}
hlsPopup.showLoading('请稍候')
vm.$post(url, param).then(function (res) {
vm.hlsPopup.hideLoading()
let returnData = []
if (res.result === 'S') {
returnData = res.lists
if (returnData.length === 0) {
vm.$refs.scroll.update(true)
} else if (returnData.length > 0 && returnData.length < 10) {
returnData.forEach((data, index, array) => {
vm.undo.push(array[index])
})
vm.$refs.scroll.update(true)
} else if (returnData.length === 10) {
returnData.forEach((data, index, array) => {
vm.undo.push(array[index])
})
vm.$refs.scroll.update(false)
}
} else {
hlsPopup.showLongCenter(res.message)
}
})
} else if (vm.tabNum === 1) {
vm.approvedPagenum++
let param = {
pagesize: 10,
searchInput: vm.searchInput,
pagenum: vm.approvedPagenum,
user_phone: window.localStorage.getItem('user_phone'),
}
hlsPopup.showLoading('请稍候')
vm.$post(url, param).then(function (res) {
vm.hlsPopup.hideLoading()
let returnData = []
if (res.result === 'S') {
returnData = res.lists
if (returnData.length === 0) {
vm.$refs.scroll.update(true)
} else if (returnData.length > 0 && returnData.length < 10) {
returnData.forEach((data, index, array) => {
vm.done.push(array[index])
})
vm.$refs.scroll.update(true)
} else if (returnData.length === 10) {
returnData.forEach((data, index, array) => {
vm.done.push(array[index])
})
vm.$refs.scroll.update(false)
}
} else {
hlsPopup.showLongCenter(res.message)
}
})
}
}, },
{ async search () {
bp_name: '陈泽华', let res = await this.submitSearch()
total_price: '2019-01-01', if (res) {
project_number: 'PRJ2019160', this.approvedearch()
project_id: '49494', }
division_n: '平地机',
leases_status: 'N',
}, },
{ async submitSearch () {
bp_name: '郭云龙', let vm = this
total_price: '2019-01-01', vm.submitPagenum = 1
project_number: 'PRJ2019170', let url = $config.basePath + 'interview_list_query'
project_id: '49711', let param = {
division_n: '平地机', user_phone: window.localStorage.user_phone,
leases_status: 'N', pagesize: 10,
pagenum: vm.submitPagenum,
// confirm_status: 'SUBMIT',
searchInput: vm.searchInput,
}
vm.hlsPopup.showLoading('请稍后')
let res = await vm.$post(url, param)
if (res.result === 'S') {
vm.hlsPopup.hideLoading()
vm.submitLists = res.lists
if (vm.tabNum === 0) {
vm.showLists = vm.submitLists
}
if (res.lists.length >= 0 && res.lists.length < 10) {
vm.$refs.scroll.update(true)
} else if (res.lists.length === 10) {
vm.$refs.scroll.update(false)
}
return true
} else {
hlsPopup.showLongCenter(res.message)
return false
}
}, },
] approvedearch () {
this.selectShowList() let vm = this
if (this.lists.length > 0 && this.lists.length < 10) { let url = $config.basePath + 'interview_list_query'
this.$refs.scroll.update(true) vm.approvedPagenum = 1
} let param = {
// let vm = this user_phone: window.localStorage.user_phone,
// let url = process.env.basePath + 'car_apply_list_query' pagesize: 10,
// let param = { pagenum: vm.approvedPagenum,
// user_phone: window.localStorage.getItem('user_phone'), // confirm_status: 'APPROVED',
// } searchInput: vm.searchInput,
// hlsPopup.showLoading('请稍候') }
// vm.$post(url, param).then(function (res) { vm.hlsHttp.post(url, param).then(function (res) {
// vm.hlsPopup.hideLoading() vm.approvedLists = res.lists
// if (res.result === 'S') { if (vm.tabNum === 1) {
// vm.lists = res.lists vm.showLists = vm.approvedLists
// vm.selectShowList() }
// } else { if (res.lists.length >= 0 && res.lists.length < 10) {
// hlsPopup.showLongCenter(res.message) vm.$refs.scroll.update(true)
// } } else if (res.lists.length === 10) {
// }) vm.$refs.scroll.update(false)
}
})
}, },
}, },
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment