提交 b5ce880dc5319c831e6243a0da5e7d0f24f0be73

作者 wangyu
1 个父辈 2c0eeb6d

优化

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