apply-clients 3.0.10-185 → 3.0.10-189

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-185",
3
+ "version": "3.0.10-189",
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
  }
package/src/apply.js CHANGED
@@ -167,4 +167,6 @@ export default function () {
167
167
  Vue.component('payment-record', (resolve) => { require(['./components/product/ReportForm/PaymentRecordBad'], resolve) })
168
168
  // 打款记录明细卡片
169
169
  Vue.component('payment-record-too-bad', (resolve) => { require(['./components/product/ReportForm/PaymentRecordTooBad'], resolve) })
170
+
171
+ Vue.component('apply-upload', (resolve) => { require(['./components/product/VueUtils/ApplyUpload'], resolve) })
170
172
  }
Binary file
Binary file
Binary file
@@ -20,10 +20,17 @@
20
20
  :edit = "true">
21
21
  </record-message>
22
22
  </tab>
23
- <!-- <tab header='附件' style="background-color :#f6f6f6">-->
24
- <!-- <upload v-ref:file :blodid = "selectdata.f_process_id" :isusetype = "true" :isremark = "true" :defname="selectdata.defname"></upload>-->
25
- <!-- &lt;!&ndash;<customer-file v-ref:file :selectdata="selectdata"></customer-file>&ndash;&gt;-->
26
- <!-- </tab>-->
23
+ <tab header='附件' style="background-color :#f6f6f6">
24
+ <apply-upload :blodid="selectdata.f_process_id"
25
+ :isupload = "true"
26
+ :isdelete="true"
27
+ :isusetype="true"
28
+ :isremark = "true"
29
+ :takeimg="false"
30
+ :issearch="true"
31
+ :defname="selectdata.defname">
32
+ </apply-upload>
33
+ </tab>
27
34
 
28
35
  </tabset>
29
36
  </div>
@@ -1350,6 +1350,7 @@
1350
1350
  // if (this.show_data.fields[i].label === '用气性质') {
1351
1351
  let http = new HttpResetClass()
1352
1352
  let condition = "f_orgid = '" + this.$login.f.orgid + "'"
1353
+ // let condition = "1=1"
1353
1354
  let res = await http.load('POST', 'rs/sql/singleTable', {
1354
1355
  data: {
1355
1356
  tablename: 't_stairprice',
@@ -2813,6 +2814,78 @@
2813
2814
  // return
2814
2815
  // }
2815
2816
  // }
2817
+ //-------------------------------勘察结果 (成功)推送---------------------------------------------
2818
+ debugger
2819
+ if (model.button.button_name === '提交' && this.selectdata.defname == '现场勘察' && this.selectdata.f_order_id !='' && this.selectdata.f_order_id !=null){
2820
+ debugger
2821
+ let http = new HttpResetClass()
2822
+ let data = {
2823
+ f_entry_name: model.f_entry_name,
2824
+ f_user_name: model.f_user_name,
2825
+ f_order_id: this.selectdata.f_order_id,
2826
+ f_phone:model.f_phone,
2827
+ f_address:model.f_address,
2828
+ f_orgid:this.selectdata.f_orgid
2829
+ }
2830
+ let res = await http.load('POST', 'rs/logic/pushinformation', {data: data}, {
2831
+ resolveMsg: null,
2832
+ rejectMsg: "推送失败"
2833
+ })
2834
+ }
2835
+ //-------------------------------勘察结果 (失败) 推送---------------------------------------------
2836
+ if (model.button.button_name === '退回' && this.selectdata.defname == '现场勘察' && this.selectdata.f_order_id !='' && this.selectdata.f_order_id !=null){
2837
+ debugger
2838
+ let http = new HttpResetClass()
2839
+ let data = {
2840
+ f_back_reason: this.selectdata.f_back_reason,
2841
+ f_entry_name: model.f_entry_name,
2842
+ f_user_name: model.f_user_name,
2843
+ f_order_id: this.selectdata.f_order_id,
2844
+ f_phone:model.f_phone,
2845
+ f_address:model.f_address,
2846
+ f_orgid:this.selectdata.f_orgid
2847
+ }
2848
+ let res = await http.load('POST', 'rs/logic/pushinformationNo', {data: data}, {
2849
+ resolveMsg: null,
2850
+ rejectMsg: "推送失败"
2851
+ })
2852
+ }
2853
+ debugger
2854
+ //-------------------------------预约通气 推送(安装信息)---------------------------------------------
2855
+ if (model.button.button_name === '提交' && this.selectdata.defname == '安装施工'&& this.selectdata.f_order_id !='' && this.selectdata.f_order_id !=null){
2856
+ debugger
2857
+ let http = new HttpResetClass()
2858
+ let data = {
2859
+ f_production_date: model.f_production_date,
2860
+ f_query_result: model.f_query_result,
2861
+ f_order_id: this.selectdata.f_order_id,
2862
+ f_user_name:model.f_user_name,
2863
+ f_orgid:this.selectdata.f_orgid
2864
+ }
2865
+ let res = await http.load('POST', 'rs/logic/installPush', {data: data}, {
2866
+ resolveMsg: null,
2867
+ rejectMsg: "推送失败"
2868
+ })
2869
+ }
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
+
2816
2889
  if (model.button.button_name === '提交' && this.selectdata.defname == '用户建档'){
2817
2890
  if(model.f_apply_type == '新用户'){
2818
2891
  let http = new HttpResetClass()