作者 徐强

提交

@@ -79,6 +79,7 @@ @@ -79,6 +79,7 @@
79 url:this.apiUrl + 'license/count', 79 url:this.apiUrl + 'license/count',
80 method:'post', 80 method:'post',
81 success: (res) => { 81 success: (res) => {
  82 + console.log('首页督查交办数值',res)
82 this.check = res.data.data 83 this.check = res.data.data
83 } 84 }
84 }) 85 })
@@ -6,7 +6,7 @@ import check from './check/index.js' @@ -6,7 +6,7 @@ import check from './check/index.js'
6 6
7 Vue.config.productionTip = false 7 Vue.config.productionTip = false
8 Vue.prototype.$imgUrl="http://api.intewl.cn/uploads/" 8 Vue.prototype.$imgUrl="http://api.intewl.cn/uploads/"
9 -Vue.prototype.apiUrl="http://7555a3dfb538.ngrok.io/" 9 +Vue.prototype.apiUrl="http://208db9284460.ngrok.io/"
10 // Vue.prototype.$imgUrl="http://www.mall.com/uploads/" 10 // Vue.prototype.$imgUrl="http://www.mall.com/uploads/"
11 // Vue.prototype.apiUrl="http://www.mall.com/api" 11 // Vue.prototype.apiUrl="http://www.mall.com/api"
12 Vue.prototype.check=check; 12 Vue.prototype.check=check;
1 { 1 {
2 "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages 2 "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  3 +
3 { 4 {
4 - "path": "pages/index/license/otherQuestion", 5 + "path": "pages/index/init",
5 "style": { 6 "style": {
6 - "navigationBarTitleText":"其他问题" 7 + "navigationStyle":"custom"
7 } 8 }
8 }, 9 },
9 { 10 {
10 - "path": "pages/index/init", 11 + "path": "pages/index/license/otherQuestion",
11 "style": { 12 "style": {
12 - "navigationStyle":"custom" 13 + "navigationBarTitleText":"其他问题"
13 } 14 }
14 }, 15 },
15 { 16 {
@@ -59,7 +59,7 @@ @@ -59,7 +59,7 @@
59 basinTxt:'全流域', 59 basinTxt:'全流域',
60 param:{ 60 param:{
61 // 恢复位置 61 // 恢复位置
62 - // year:new Date().getFullYear().toString(), 62 + year:new Date().getFullYear().toString(),
63 basin:'', 63 basin:'',
64 type:'', 64 type:'',
65 companyName:this.$store.state.keyword 65 companyName:this.$store.state.keyword
@@ -120,7 +120,7 @@ @@ -120,7 +120,7 @@
120 uni.showLoading({ 120 uni.showLoading({
121 title:'加载中' 121 title:'加载中'
122 }) 122 })
123 - console.log('11111',this.param) 123 + console.log('首页列表查询条件',this.param)
124 uni.request({ 124 uni.request({
125 url:this.apiUrl+'license/list', 125 url:this.apiUrl+'license/list',
126 data:this.param, 126 data:this.param,
@@ -151,6 +151,7 @@ @@ -151,6 +151,7 @@
151 151
152 }, 152 },
153 onConfirm(e,pickerType){ 153 onConfirm(e,pickerType){
  154 + console.log(e,pickerType)
154 if(pickerType == 'year'){ 155 if(pickerType == 'year'){
155 if(e.result == '全'){ 156 if(e.result == '全'){
156 this.param.year = '' 157 this.param.year = ''
@@ -69,7 +69,6 @@ @@ -69,7 +69,6 @@
69 data:this.param, 69 data:this.param,
70 method:'post', 70 method:'post',
71 success: (res) => { 71 success: (res) => {
72 - console.log('登录接口',res)  
73 if(res.data.code == 200){ 72 if(res.data.code == 200){
74 uni.setStorageSync('token',res.data.data) 73 uni.setStorageSync('token',res.data.data)
75 uni.switchTab({ 74 uni.switchTab({