apply-clients 3.0.10-187 → 3.0.10-190

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apply-clients",
3
- "version": "3.0.10-187",
3
+ "version": "3.0.10-190",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -37,6 +37,7 @@
37
37
  "vue-bubble": "^1.0.3"
38
38
  },
39
39
  "devDependencies": {
40
+ "axios": "0.15.3",
40
41
  "babel-core": "^6.0.0",
41
42
  "babel-loader": "^6.0.0",
42
43
  "babel-plugin-transform-runtime": "^6.0.0",
@@ -107,7 +108,6 @@
107
108
  "webpack-dev-middleware": "^1.4.0",
108
109
  "webpack-hot-middleware": "^2.6.0",
109
110
  "webpack-merge": "^0.8.3",
110
- "weixin-js-sdk": "^1.2.0",
111
- "axios": "0.15.3"
111
+ "weixin-js-sdk": "^1.2.0"
112
112
  }
113
113
  }
@@ -2815,7 +2815,9 @@
2815
2815
  // }
2816
2816
  // }
2817
2817
  //-------------------------------勘察结果 (成功)推送---------------------------------------------
2818
- if (model.button.button_name === '提交' && this.selectdata.defname == '现场勘察'){
2818
+ debugger
2819
+ if (model.button.button_name === '提交' && this.selectdata.defname == '现场勘察' && this.selectdata.f_order_id !='' && this.selectdata.f_order_id !=null){
2820
+ debugger
2819
2821
  let http = new HttpResetClass()
2820
2822
  let data = {
2821
2823
  f_entry_name: model.f_entry_name,
@@ -2831,9 +2833,11 @@
2831
2833
  })
2832
2834
  }
2833
2835
  //-------------------------------勘察结果 (失败) 推送---------------------------------------------
2834
- if (model.button.button_name === '退回' && this.selectdata.defname == '现场勘察'){
2836
+ if (model.button.button_name === '退回' && this.selectdata.defname == '现场勘察' && this.selectdata.f_order_id !='' && this.selectdata.f_order_id !=null){
2837
+ debugger
2835
2838
  let http = new HttpResetClass()
2836
2839
  let data = {
2840
+ f_back_reason: model.f_back_reason,
2837
2841
  f_entry_name: model.f_entry_name,
2838
2842
  f_user_name: model.f_user_name,
2839
2843
  f_order_id: this.selectdata.f_order_id,
@@ -2848,7 +2852,7 @@
2848
2852
  }
2849
2853
  debugger
2850
2854
  //-------------------------------预约通气 推送(安装信息)---------------------------------------------
2851
- if (model.button.button_name === '提交' && this.selectdata.defname == '安装施工'){
2855
+ if (model.button.button_name === '提交' && this.selectdata.defname == '安装施工'&& this.selectdata.f_order_id !='' && this.selectdata.f_order_id !=null){
2852
2856
  debugger
2853
2857
  let http = new HttpResetClass()
2854
2858
  let data = {
@@ -2864,6 +2868,24 @@
2864
2868
  })
2865
2869
  }
2866
2870
 
2871
+
2872
+ //-------------------------------通气成功 推送(安装信息)---------------------------------------------
2873
+ if (model.button.button_name === '提交' && this.selectdata.defname == '通气'&& this.selectdata.f_order_id !='' && this.selectdata.f_order_id !=null){
2874
+ debugger
2875
+ let http = new HttpResetClass()
2876
+ let data = {
2877
+ f_production_date: model.f_production_date,
2878
+ f_query_result: model.f_query_result,
2879
+ f_order_id: this.selectdata.f_order_id,
2880
+ f_user_name:model.f_user_name,
2881
+ f_orgid:this.selectdata.f_orgid
2882
+ }
2883
+ let res = await http.load('POST','rs/logic/pushContract', {data: data}, {
2884
+ resolveMsg: null,
2885
+ rejectMsg: "推送失败"
2886
+ })
2887
+ }
2888
+
2867
2889
  if (model.button.button_name === '提交' && this.selectdata.defname == '用户建档'){
2868
2890
  if(model.f_apply_type == '新用户'){
2869
2891
  let http = new HttpResetClass()