作者 徐强

提交

... ... @@ -79,6 +79,7 @@
url:this.apiUrl + 'license/count',
method:'post',
success: (res) => {
console.log('首页督查交办数值',res)
this.check = res.data.data
}
})
... ...
... ... @@ -6,7 +6,7 @@ import check from './check/index.js'
Vue.config.productionTip = false
Vue.prototype.$imgUrl="http://api.intewl.cn/uploads/"
Vue.prototype.apiUrl="http://7555a3dfb538.ngrok.io/"
Vue.prototype.apiUrl="http://208db9284460.ngrok.io/"
// Vue.prototype.$imgUrl="http://www.mall.com/uploads/"
// Vue.prototype.apiUrl="http://www.mall.com/api"
Vue.prototype.check=check;
... ...
{
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
"path": "pages/index/license/otherQuestion",
"path": "pages/index/init",
"style": {
"navigationBarTitleText":"其他问题"
"navigationStyle":"custom"
}
},
{
"path": "pages/index/init",
"path": "pages/index/license/otherQuestion",
"style": {
"navigationStyle":"custom"
"navigationBarTitleText":"其他问题"
}
},
{
... ...
... ... @@ -59,7 +59,7 @@
basinTxt:'全流域',
param:{
// 恢复位置
// year:new Date().getFullYear().toString(),
year:new Date().getFullYear().toString(),
basin:'',
type:'',
companyName:this.$store.state.keyword
... ... @@ -120,7 +120,7 @@
uni.showLoading({
title:'加载中'
})
console.log('11111',this.param)
console.log('首页列表查询条件',this.param)
uni.request({
url:this.apiUrl+'license/list',
data:this.param,
... ... @@ -151,6 +151,7 @@
},
onConfirm(e,pickerType){
console.log(e,pickerType)
if(pickerType == 'year'){
if(e.result == '全'){
this.param.year = ''
... ...
... ... @@ -69,7 +69,6 @@
data:this.param,
method:'post',
success: (res) => {
console.log('登录接口',res)
if(res.data.code == 200){
uni.setStorageSync('token',res.data.data)
uni.switchTab({
... ...