apply-clients 3.4.14 → 3.4.16

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.
Files changed (23) hide show
  1. package/build/dev-server.js +2 -2
  2. package/package.json +1 -1
  3. package/src/AndroidApp.vue +18 -18
  4. package/src/android.js +21 -21
  5. package/src/applyAndroid.js +53 -46
  6. package/src/components/product/Process/Service/ServiceControl.vue +1 -0
  7. package/src/filiale/guangxi/android/Process/AppExplorationUser.vue +503 -0
  8. package/src/filiale/guangxi/android/Process/AppServiceControl.vue +1708 -0
  9. package/src/filiale/guangxi/android/Process/Processes/AppAddMaterialScience.vue +457 -0
  10. package/src/filiale/guangxi/android/Process/Processes/AppBuildSign.vue +46 -0
  11. package/src/filiale/guangxi/android/Process/Processes/AppChargeManagement.vue +637 -0
  12. package/src/filiale/guangxi/android/Process/Processes/AppDevicesManagement.vue +519 -0
  13. package/src/filiale/guangxi/android/Process/Processes/AppInstallationDetails.vue +482 -0
  14. package/src/filiale/guangxi/android/Process/Processes/AppServiceView.vue +766 -0
  15. package/src/filiale/guangxi/android/Process/Processes/AppSupplementalAgreement.vue +298 -0
  16. package/src/filiale/guangxi/android/Process/Processes/selectApply.vue +250 -0
  17. package/src/filiale/guangxi/android/Process/Processes/selectUserinfo.vue +182 -0
  18. package/src/filiale/guangxi/android.js +6 -14
  19. package/src/filiale/guangxi/pc/Process/Service/ServiceControl.vue +23 -1
  20. package/src/filiale/guangxi/pc/Process/Service/SupervisoryServiceControl.vue +7 -0
  21. package/src/filiale/guangxi/pc/Process/Service/addMaterialScience.vue +434 -0
  22. package/src/filiale/guangxi/pc.js +3 -1
  23. package/src/main.js +3 -3
@@ -0,0 +1,182 @@
1
+ <template>
2
+ <div style="margin-bottom: 20px" class="form-group select-overspread">
3
+ <label class="control-label-justify control-label col-sm-3">选择用户</label>
4
+ <div class="col-sm-5" >
5
+ <button class="button_search button_spacing" type="button" style="width: max-content;position: absolute" @click="openSelect" :disabled="mark === 1">选择</button>
6
+ </div>
7
+ </div>
8
+
9
+ <modal v-if="showselect" :show.sync="showselect" width="100%" title="用户信息" v-ref:modal large backdrop="false">
10
+ <article slot="modal-body" class="modal-body" style="height: 600px!important;">
11
+ <criteria-paged :model="model" v-ref:cp>
12
+ <criteria partial='criteria' @condition-changed='$parent.$parent.searchCondition' v-ref:cri>
13
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
14
+ <div class="row">
15
+ <div class="form-group col-sm-3">
16
+ <label class="font_normal_body">客户编号:</label>
17
+ <input type="text" style="width:60%" class="input_search" placeholder='客户编号' v-model="model.f_userinfo_code"
18
+ v-on:keyup.enter="search"
19
+ condition="ui.f_userinfo_code = '{}'">
20
+ </div>
21
+ <div class="form-group col-sm-3">
22
+ <label class="font_normal_body">客户名称:</label>
23
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
24
+ v-on:keyup.enter="search" condition="ui.f_user_name like '%{}%'" placeholder='客户名称'>
25
+ </div>
26
+ <div class="form-group col-sm-3">
27
+ <label class="font_normal_body">客户电话:</label>
28
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
29
+ v-on:keyup.enter="search" condition="ui.f_user_phone = '{}'" placeholder='客户电话'>
30
+ </div>
31
+
32
+ <div class="form-group col-sm-3 button-range">
33
+ <button class="button_search button_spacing" @click.prevent="search" v-el:cx>查询</button>
34
+ <button class="button_clear button_spacing" @click.prevent="$parent.$parent.$parent.clear()">清空</button>
35
+ <div
36
+ :class="{'button_shrink_top':$parent.$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.$parent.criteriaShow}"
37
+ @click="$parent.$parent.$parent.criteriaShow = !$parent.$parent.$parent.criteriaShow"
38
+ class="button_spacing"
39
+ style="float: right">
40
+ </div>
41
+ </div>
42
+ </div>
43
+ <div class="row" v-show="$parent.$parent.$parent.criteriaShow">
44
+ <div class="form-group col-sm-3">
45
+ <label class="font_normal_body">客户地址:</label>
46
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
47
+ v-on:keyup.enter="search" condition="ua.f_address like '%{}%'" placeholder='客户地址'>
48
+ </div>
49
+ </div>
50
+ </div>
51
+ </criteria>
52
+ <data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy" style="height: 100%">
53
+ <template partial='head'>
54
+ <tr>
55
+ <th style="white-space: nowrap;">序号</th>
56
+ <th style="white-space: nowrap;">客户编号</th>
57
+ <th style="white-space: nowrap;">客户名称</th>
58
+ <th style="white-space: nowrap;">客户电话</th>
59
+ <th style="white-space: nowrap;">地址信息</th>
60
+ <th style="white-space: nowrap;">选择</th>
61
+ </tr>
62
+ </template>
63
+ <template partial='body'>
64
+ <tr >
65
+ <td style="text-align: center;">
66
+ <nobr><font>{{$index+1}}</font></nobr>
67
+ </td>
68
+ <td style="text-align: center;">
69
+ <nobr><font>{{ row.f_userinfo_code }}</font></nobr>
70
+ </td>
71
+ <td style="text-align: center;">
72
+ <nobr><font>{{ row.f_user_name }}</font></nobr>
73
+ </td>
74
+ <td style="text-align: center;">
75
+ <nobr><font>{{ row.f_user_phone }}</font></nobr>
76
+ </td>
77
+ <td style="text-align: center;">
78
+ <nobr><font>{{ row.f_address }}</font></nobr>
79
+ </td>
80
+ <td style="text-align: center;">
81
+ <nobr><font>
82
+ <button type="button" name="button" class="button_export" @click.prevent="$parent.$parent.$parent.$parent.select(row)">确认选择</button>
83
+ </font></nobr>
84
+ </td>
85
+ </tr>
86
+ </template>
87
+ </data-grid>
88
+ </criteria-paged>
89
+ </article>
90
+ <footer slot="modal-footer" class="modal-footer">
91
+ </footer>
92
+ </modal>
93
+ </template>
94
+ <script>
95
+ import {PagedList} from 'vue-client'
96
+ import Vue from 'vue'
97
+
98
+ export default {
99
+ title: '收费管理',
100
+ props: {
101
+ selectdata: {
102
+ type: Object
103
+ },
104
+ mark: {
105
+ type: Number,
106
+ default: 0
107
+ }
108
+ },
109
+ data () {
110
+ return {
111
+ showselect: false,
112
+ model: new PagedList(`${this.$androidUtil.getProxyUrl()}/rs/sql/applyGetUserinfos`, 20, null),
113
+ criteriaShow: false
114
+ }
115
+ },
116
+ ready () {
117
+ },
118
+ methods: {
119
+ select (row) {
120
+ this.$dispatch('selectUserinfo', row)
121
+
122
+ this.showselect = false
123
+ },
124
+ searchCondition (args) {
125
+ args.condition = `${args.condition} and ui.f_filialeid = '${Vue.user.orgid}'`
126
+
127
+ this.model.search(args.condition, args.model)
128
+ },
129
+ clear () {
130
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
131
+ this.$refs.cp.$refs.cri.model[key] = null
132
+ })
133
+ },
134
+ openSelect () {
135
+ this.showselect = true
136
+ setTimeout(() => {
137
+ this.$refs.cp.$refs.cri.search()
138
+ }, 100)
139
+ }
140
+ },
141
+ events: {
142
+ },
143
+ computed: {
144
+ },
145
+ watch: {
146
+ }
147
+ }
148
+ </script>
149
+ <style scoped>
150
+ .control-label-justify {
151
+ display: inline-block;
152
+ vertical-align: top;
153
+ width: 110px;
154
+ text-align: justify;
155
+ font-family: PingFang-SC-Bold;
156
+ }
157
+
158
+ .control-label-justify::after {
159
+ content: "";
160
+ display: inline-block;
161
+ width: 100%;
162
+ overflow: hidden;
163
+ height: 0;
164
+ }
165
+ .input_view{
166
+ padding: 8px;
167
+ background-color: #ffffff;
168
+ border-radius: 2px;
169
+ border: solid 1px #c7c7c7!important;
170
+ color: #333333!important;
171
+ font-size: 15px!important;
172
+ }
173
+
174
+ .input_view[readonly]{
175
+ border: 1px solid #DDD!important;
176
+ color:#ACA899!important;
177
+ }
178
+ .input_view:disabled{
179
+ border: 1px solid #DDD!important;
180
+ color:#ACA899!important;
181
+ }
182
+ </style>
@@ -1,14 +1,6 @@
1
- let specialComp = {
2
- 'app-service-control': (resolve) => { require(['./android/Process/AppServiceControl'], resolve) },
3
- 'app-installation-details': (resolve) => { require(['./android/Process/Processes/AppInstallationDetails'], resolve) },
4
- 'app-installation-details-civil': (resolve) => { require(['./android/Process/Processes/AppInstallationDetailsCivil'], resolve) },
5
- 'survey-tsak': (resolve) => { require(['./android/Task/Survey/SurveyTsak'], resolve) },
6
- 'build-tsak': (resolve) => { require(['./android/Task/Build/BuildTsak'], resolve) },
7
-
8
- 'app-sign-task': (resolve) => { require(['./android/Sign/AppSignTask'], resolve) },
9
- 'build-sign': (resolve) => { require(['./android/Sign/BuildSign'], resolve) },
10
- 'design-sign': (resolve) => { require(['./android/Sign/DesignSign'], resolve) },
11
- 'construct-sign': (resolve) => { require(['./android/Sign/ConstructSign'], resolve) },
12
- 'supervisor-sign': (resolve) => { require(['./android/Sign/SupervisorSign'], resolve) }
13
- }
14
- exports.specialComp = specialComp
1
+ let specialComp = {
2
+
3
+ 'app-add-material-science': (resolve) => { require(['./android/Process/Processes/AppAddMaterialScience'], resolve) },
4
+ 'app-service-view': (resolve) => { require(['./android/Process/Processes/AppServiceView'], resolve) }
5
+ }
6
+ exports.specialComp = specialComp
@@ -41,9 +41,31 @@
41
41
  },
42
42
  ready () {
43
43
  this.refurbish()
44
- // this.ceshi()
44
+ this.servicer()
45
+
45
46
  },
46
47
  methods: {
48
+ async servicer(){
49
+ debugger
50
+ let data = {
51
+ tablename: 't_user',
52
+ condition: `1=1`
53
+ }
54
+ let http = new HttpResetClass()
55
+ let res = await http.load(
56
+ 'POST',
57
+ `rs/sql/singleTable`,
58
+ {data: data},
59
+ {resolveMsg: null, rejectMsg: '服务人查询失败!!!'}
60
+ )
61
+ debugger
62
+ this.setLabelOptions('服务人', res.data.map(item => {
63
+ return {
64
+ label: item.name,
65
+ value: item.name
66
+ }
67
+ }))
68
+ },
47
69
  async ceshi(){
48
70
  for (let i = 0; i < this.show_data.fields.length; i++) {
49
71
  //新用户时处理逻辑
@@ -256,6 +256,12 @@
256
256
  this.$nextTick(() => {
257
257
  this.showview = true
258
258
  })
259
+ this.show_data.stairPrice=this.show_data.f_price_name
260
+ for (const item of this.show_data.fields) {
261
+ if(item.label==='气价名称'){
262
+ item.value=this.show_data.f_price_name
263
+ }
264
+ }
259
265
  },
260
266
  // 金额转大写
261
267
  smalltoBIG(n) {
@@ -494,6 +500,7 @@
494
500
  })
495
501
  },
496
502
  async getPrice (f_price_id) {
503
+ debugger
497
504
  console.log('=======================')
498
505
  console.log(f_price_id)
499
506