提交 b5ce880dc5319c831e6243a0da5e7d0f24f0be73

作者 wangyu
1 个父辈 2c0eeb6d

优化

@@ -5,7 +5,7 @@ @@ -5,7 +5,7 @@
5 <view wx:for="{{additionlist}}" wx:key="" style='display:flex;flex-direction:column' wx:for-index="idx01" wx:for-item="item"> 5 <view wx:for="{{additionlist}}" wx:key="" style='display:flex;flex-direction:column' wx:for-index="idx01" wx:for-item="item">
6 <view style='margin:30rpx 44rpx;float:left;display:flex;flex-direction:column'> 6 <view style='margin:30rpx 44rpx;float:left;display:flex;flex-direction:column'>
7 <text class=' text_333_40 float_left'>{{item.legal_entity}}</text> 7 <text class=' text_333_40 float_left'>{{item.legal_entity}}</text>
8 - <view wx:if="{{item.employee_status=='active'&&item.addition_items.length<1&&item.status=='init'}}" class='view_godeclare_wrap' bindtap='godeclare' id='{{idx01}}'> 8 + <view wx:if="{{item.employee_status!='inactive'&&item.addition_items.length<1&&item.status=='init'}}" class='view_godeclare_wrap' bindtap='godeclare' id='{{idx01}}'>
9 <!-- <view wx:if="{{item.status=='to_declare'}}" class='view_godeclare_wrap' bindtap='godeclare' id='{{idx01}}'> --> 9 <!-- <view wx:if="{{item.status=='to_declare'}}" class='view_godeclare_wrap' bindtap='godeclare' id='{{idx01}}'> -->
10 立即申报 10 立即申报
11 </view> 11 </view>
@@ -94,6 +94,7 @@ Page({ @@ -94,6 +94,7 @@ Page({
94 return 94 return
95 } 95 }
96 var Authorization = app.globalData.Authorization; 96 var Authorization = app.globalData.Authorization;
  97 + console.log("Authorization", Authorization)
97 wx.request({ 98 wx.request({
98 url: baseUrl + 'chatbot/v1/chats', 99 url: baseUrl + 'chatbot/v1/chats',
99 data: { 100 data: {
@@ -180,9 +181,9 @@ Page({ @@ -180,9 +181,9 @@ Page({
180 getChatinfo: function() { 181 getChatinfo: function() {
181 var that = this; 182 var that = this;
182 var Authorization = app.globalData.Authorization; 183 var Authorization = app.globalData.Authorization;
  184 + console.log("Authorization", Authorization)
183 wx.request({ 185 wx.request({
184 url: baseUrl + 'chatbot/v1/chats', 186 url: baseUrl + 'chatbot/v1/chats',
185 - data: {},  
186 method: "GET", 187 method: "GET",
187 header: { 188 header: {
188 'content-type': 'application/json', 189 'content-type': 'application/json',
注册登录 后发表评论