Browse Source

签名前面加按钮

zhanghongrui 2 years ago
parent
commit
0207ed2395
3 changed files with 23 additions and 19 deletions
  1. 2 2
      base/httputil.js
  2. 13 11
      pages/xqzggzs/xqzggzs.wxml
  3. 8 6
      pages/xqzggzs2/xqzggzs2.wxml

+ 2 - 2
base/httputil.js

@@ -1,7 +1,7 @@
 // let BASE_Server = "http://127.0.0.1:8329"
 
-  let BASE_Server = "https://192.168.1.100:18080"
-//let BASE_Server = "https://sookajs.top:18080"
+//  let BASE_Server = "https://192.168.1.100:18080"
+let BASE_Server = "https://sookajs.top:18080"
 
 
 

+ 13 - 11
pages/xqzggzs/xqzggzs.wxml

@@ -2,30 +2,32 @@
 <view class="container">
   <!-- <view class="zg_bh" wx:if="false"><text>编号:</text><input type="number" style="width: 400rpx;"  disabled="disabled"/></view> -->
   <text class="con_tit mar_top">复查意见告知书</text>
-  <view class="flex_row text_ind mar_top2 ">本机关于 <text type="text" style="width: 250rpx;color: red;" >{{gzsTime}}</text> ,对你单位做出了隐患限期整改告知书(编号:<text type="text" style="width: 250rpx;" >{{yhzggzsCode}}</text>),经对你单位整改情况进行复查,提出如下意见:</view>
+  <view class="flex_row text_ind mar_top2 ">本机关于 <text type="text" style="width: 250rpx;color: red;">{{gzsTime}}</text> ,对你单位做出了隐患限期整改告知书(编号:<text type="text" style="width: 250rpx;">{{yhzggzsCode}}</text>),经对你单位整改情况进行复查,提出如下意见:</view>
   <textarea bindinput="bindInputOpinionArea"></textarea>
-  <view class="flex_row text_ind">现告知你单位对上述问题于 <text type="text" style="width: 100rpx;color: red;" >{{lasttime}}</text> 前整改完毕,达到有关法律法规规章和标准规定的要求。由此造成应当采取措施,确保安全生产。</view>
+  <view class="flex_row text_ind">现告知你单位对上述问题于 <text type="text" style="width: 100rpx;color: red;">{{lasttime}}</text> 前整改完毕,达到有关法律法规规章和标准规定的要求。由此造成应当采取措施,确保安全生产。</view>
   <view class="flex_row text_ind">逾期未整改或在整改过程中存在安全生产违法行为的,我单位将提报相关执法部门进行依法查处。</view>
   <view class="flex_row text_ind">如果对本告知内容有异议,可向<input type="text" style="width: 150rpx;" bindinput="bindInputCompany" />咨询或说明情况,也可通过12350安全生产举报电话进行反映。在没有新书面告知前,本告知要求不停止执行,法律另有规定的除外。</view>
 
   <view class="flex_row mar_top">检查人员:{{nickname}}</view>
   <view class="flex_row mar_top">
-    <text>检查人员编号:</text><input type="text" style="width: 400rpx;" bindinput="bindInputJianChaNumber"/>
+    <text>检查人员编号:</text><input type="text" style="width: 400rpx;" bindinput="bindInputJianChaNumber" />
   </view>
   <view class="flex_row mar_top txt_vi">
-    <text bindtap="bindQianming">监督人员(签名):</text>
-    <text class="te_k">点击签名</text>
-    <image wx:if="{{qianming != undefined && qianming != null}}" src="{{qianming}}" class="qm_img"></image>
+    <text>监督人员(签名):</text>
+    <text class="te_k" wx:if="{{qianming == undefined || qianming == null}}" bindtap="bindQianming">点击签名</text>
+    <!-- ="{{qianming != undefined && qianming != null}}"  -->
+    <image wx:else src="{{qianming}}" class="qm_img" bindtap="bindQianming"></image>
   </view>
   <view class="flex_row mar_top">
-    <text>监督人员编号:</text><input type="text" style="width: 400rpx;" bindinput="bindInputJianDuNumber"/>
+    <text>监督人员编号:</text><input type="text" style="width: 400rpx;" bindinput="bindInputJianDuNumber" />
   </view>
   <view class="flex_row mar_top txt_vi">
-    <text bindtap="bindQianming1">被复查单位负责人(签名):</text>
-    <text class="te_k">点击签名</text>
-    <image wx:if="{{qianming1 != undefined && qianming1 != null}}" src="{{qianming1}}" class="qm_img"></image>
+    <text>被复查单位负责人(签名):</text>
+    <text class="te_k" wx:if="{{qianming1 == undefined || qianming1 == null}}" bindtap="bindQianming1">点击签名</text>
+    <!-- {{qianming1 != undefined && qianming1 != null}} -->
+    <image wx:else src="{{qianming1}}" class="qm_img" bindtap="bindQianming1"></image>
   </view>
-  <view class="flex_row mar_top" style="text-align: right;"><text type="text" style="width: 370rpx;" >{{deptName}}</text>部门</view>
+  <view class="flex_row mar_top" style="text-align: right;"><text type="text" style="width: 370rpx;">{{deptName}}</text>部门</view>
   <!-- <view class="flex_row mar_top2" style="text-align: right;"><input type="number" style="width: 100rpx;" />年<input type="number" style="width: 100rpx;" />月<input type="number" style="width: 100rpx;" />日</view> -->
   <view class="flex_row mar_top" style="text-align: right;"><text type="text" style="width: 340rpx;" />{{time}}</view>
 

+ 8 - 6
pages/xqzggzs2/xqzggzs2.wxml

@@ -11,14 +11,16 @@
   <view class="flex_row text_ind">如果对本告知内容有异议,可向<input type="text" style="width: 150rpx;" bindinput="bindViewInputCompany" />咨询或说明情况,也可通过12350安全生产举报电话进行反映。在没有新书面告知前,本告知要求不停止执行,法律另有规定的除外。</view>
   <view class="flex_row mar_top">检查人员:<text style="margin-right: 30rpx;">{{pageData.nickName}}</text></view>
   <view class="flex_row mar_top">检查人员编号:<input type="text" style="width: 400rpx;" maxlength="15" bindinput="bindViewInputNumber" /></view>
-  <view class="flex_row mar_top2 txt_vi" bindtap="bindQianming"><text>监督人员(签名):</text>
-    <text class="te_k">点击签名</text>
-    <image wx:if="{{qianming != undefined && qianming != null}}" src="{{qianming}}" class="qm_img"></image>
+  <view class="flex_row mar_top2 txt_vi" ><text>监督人员(签名):</text>
+    <text class="te_k" wx:if="{{qianming == undefined || qianming == null}}" bindtap="bindQianming">点击签名</text>
+    <!-- ="{{qianming != undefined && qianming != null}}" -->
+    <image wx:else src="{{qianming}}" class="qm_img" bindtap="bindQianming"></image>
   </view>
   <view class="flex_row mar_top">监督人员编号:<input type="text" style="width: 400rpx;" maxlength="15" bindinput="bindViewInputNumber1" /></view>
-  <view class="flex_row mar_top2 txt_vi" bindtap="bindQianming1"><text>被复查单位负责人(签名):</text>
-    <text class="te_k">点击签名</text>
-    <image wx:if="{{qianming1 != undefined && qianming1 != null}}" src="{{qianming1}}" class="qm_img"></image>
+  <view class="flex_row mar_top2 txt_vi" ><text>被复查单位负责人(签名):</text>
+    <text class="te_k" wx:if="{{qianming1 == undefined || qianming1 == null}}" bindtap="bindQianming1">点击签名</text>
+    <!-- ="{{qianming1 != undefined && qianming1 != null}}" -->
+    <image wx:else src="{{qianming1}}" class="qm_img" bindtap="bindQianming1"></image>
   </view>
   <view class="flex_row mar_top2" style="text-align: right;"><text type="text" style="width: 340rpx;" />部门:{{pageData.deptName}}</view>
   <view class="flex_row mar_top2" style="text-align: right;"><text type="text" style="width: 340rpx;" />{{time}}</view>