apply-clients 6.0.1 → 6.0.4

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 (43) hide show
  1. package/build/dev-server.js +72 -72
  2. package/package.json +1 -1
  3. package/src/apply.js +219 -219
  4. package/src/components/apply/base/rightview/InstallCardList2.vue +267 -268
  5. package/src/components/apply/base/rightview/carddetail/BuildFeeDetail2.vue +77 -77
  6. package/src/components/apply/base/rightview/carddetail/ChangeFeeDetail2.vue +116 -116
  7. package/src/components/apply/base/rightview/carddetail/ReduceFeeDetail2.vue +77 -77
  8. package/src/components/build/Install/ExplorationSelect.vue +308 -308
  9. package/src/components/build/Install/ExplorationUser.vue +315 -315
  10. package/src/components/build/Install/InstallFee/AddContract.vue +257 -257
  11. package/src/components/build/Install/InstallFee/InstallFee.vue +929 -929
  12. package/src/components/build/Install/InstallFee/InstallInfoSelect.vue +232 -232
  13. package/src/components/build/Install/InstallFee/PreparationFee.vue +223 -223
  14. package/src/components/build/Install/InstallFee/PrestoreFee.vue +630 -630
  15. package/src/components/build/Install/Process/CustomerBuildingMessage.vue +251 -251
  16. package/src/components/build/Install/Process/CustomerEquipmentMessage.vue +172 -172
  17. package/src/components/build/Install/Process/CustomerEssentialInfo.vue +1 -1
  18. package/src/components/build/Install/Process/CustomerFile.vue +423 -423
  19. package/src/components/build/Install/Process/CustomerMaterialMessage.vue +414 -414
  20. package/src/components/build/Install/Process/CustomerRecordMessage.vue +10 -10
  21. package/src/components/build/Install/Process/FeeNormeAndContratSigne.vue +376 -376
  22. package/src/components/build/Install/Process/MeterType.vue +379 -379
  23. package/src/components/build/Install/Process/PlaceControler.vue +304 -304
  24. package/src/components/build/Install/Process/boneng/qbj_placecontroler.vue +1 -1
  25. package/src/components/build/Install/Process/zhongran/ZR_Construction.vue +388 -388
  26. package/src/components/build/Install/Process/zhongran/ZR_CustomerEssentialInfo.vue +1 -1
  27. package/src/components/build/Install/Process/zhongran/ZR_MaterialPlan.vue +259 -259
  28. package/src/components/build/Install/Process/zhongran/ZR_MaterialPlanExamine.vue +243 -243
  29. package/src/components/build/Install/Process/zhongran/ZR_PlaceControler.vue +426 -426
  30. package/src/components/build/Install/Process/zhongran/ZR_PlaceControler_print.vue +187 -187
  31. package/src/components/build/Install/Process/zhongran/ZR_TestDesign.vue +441 -441
  32. package/src/components/build/Install/ProcessInfo/ApplyRecordCancel.vue +135 -135
  33. package/src/components/build/Install/bill/BillGZKMakeInfo.vue +58 -58
  34. package/src/components/build/Install/bill/BillQRKMakeInfo.vue +79 -79
  35. package/src/components/build/Install/bill/BillXSDMakeInfo.vue +206 -206
  36. package/src/components/build/Install/monitor/SupervisoryControl.vue +178 -178
  37. package/src/main.js +25 -25
  38. package/.gradle/3.5.1/file-changes/last-build.bin +0 -0
  39. package/.gradle/3.5.1/taskHistory/taskHistory.lock +0 -0
  40. package/.gradle/buildOutputCleanup/built.bin +0 -0
  41. package/.gradle/buildOutputCleanup/cache.properties +0 -2
  42. package/.gradle/buildOutputCleanup/cache.properties.lock +0 -1
  43. package/yarn.lock +0 -8074
@@ -1,172 +1,172 @@
1
- <template>
2
- <div class="flex-row flex-deviceinfo">
3
- <div class="flex-row flex-two-info panel panel-default" v-for="row in devicesinfo">
4
- <avatar-upload :img-src.sync="row.img.content" :filename.sync="row.img.filename "></avatar-upload>
5
- <form class="form-horizontal" style="flex: 1;">
6
- <div class="form-group auto" style="margin-top: 10px;margin-left: 10px;">
7
- <div class="col-sm-6" style="padding-right: 5px;" id=userfiles-useDevInf-设备类型>
8
- <v-select :is-all-line="true" :value.sync="row.f_devices_type" v-model="row.f_devices_type"
9
- :options='devicetypes' placeholder='设备类型'
10
- close-on-select></v-select>
11
- </div>
12
- <div class="col-sm-6" style="padding-right: 5px;">
13
- <input type="text" class="form-control" v-else v-model="row.f_devices_no" placeholder='设备编号' v-next-el="{id: $index+'brand'}" >
14
- </div>
15
- </div>
16
- <div class="form-group auto" style="margin-left: 10px;">
17
- <div class="col-sm-6" style="padding-right: 5px;">
18
- <input type="text" class="form-control" v-model="row.f_brand" placeholder='设备品牌' v-next-el="{id: $index+'devicesmodel'}" :id="$index+'brand'">
19
- </div>
20
- <div class="col-sm-6" style="padding-right: 5px;">
21
- <input type="text" class="form-control" v-model="row.f_devices_model" placeholder='设备型号' :id="$index+'devicesmodel'">
22
- </div>
23
- </div>
24
- <div class="form-group auto" style="margin-left: 10px;">
25
- <div class="col-sm-6" style="padding-right: 5px;">
26
- <input type="number" class="form-control" v-model="row.f_devices_num" placeholder='设备数量' :id="$index+'devicesnum'">
27
- </div>
28
- <div class="col-sm-6" style="padding-right: 5px;">
29
- <input type="text" class="form-control" v-model="row.f_userinfo_id" placeholder='户档案编号' >
30
- </div>
31
- <div class="col-sm-6" style="padding-right: 5px;">
32
- <!--<input type="text" v-show="false" v-model="$refs.installtime.value"-->
33
- <!--v-validate:installtime='{required: true}'/>-->
34
- <!--<datepicker-->
35
- <!--v-model="row.f_install_date" v-ref:installtime-->
36
- <!--:disabled-days-of-Week="[]"-->
37
- <!--:value.sync="row.f_install_date"-->
38
- <!--:show-reset-button="reset"-->
39
- <!--:format="'yyyy-MM-dd'" readonly="readonly">-->
40
- <!--</datepicker>-->
41
- </div>
42
- </div>
43
- <div class="form-group auto" style="margin-left: 10px;">
44
- <div class="col-sm-6 " style="padding-right: 5px;">
45
- <button type="button" @click="deleteDevice($index, row)" class="btn btn-primary" v-show="edit">
46
- 删除
47
- </button>
48
- </div>
49
- <div class="col-sm-6 " style="padding-right: 5px;" v-if="!row.id">
50
- <button type="button" @click="confirm(row,$index)" class="btn btn-primary" v-show="edit">
51
- 提交
52
- </button>
53
- </div>
54
- </div>
55
- </form>
56
- <!--<img :src="imgdelete" alt="图片加载失败" class="img-rounded" style="width: 60px;padding: 20px;margin-left: -15px;cursor: pointer;"-->
57
- <!--@click="deleteDevice($index, row)" v-if="row.f_devices_state !== '有效'">-->
58
- </div>
59
- <div class="panel panel-default flex-two-info text-center" style="line-height: 164px;">
60
- <img :src="imgadd" alt="图片加载失败" class="img-rounded" style="width: 60px;padding: 10px;cursor: pointer;" @click="addDevice()">
61
- </div>
62
- </div>
63
- </template>
64
-
65
- <script>
66
- import {HttpResetClass} from 'vue-client'
67
- export default {
68
- title: '设备信息',
69
- data () {
70
- return {
71
- devicetypes: this.$appdata.getParam('设备类型'),
72
- flagg: true,
73
- devicesinfo:[],
74
- userinfoid:'',
75
- imgdelete: 'images/mainicon/deletedevice.png',
76
- imgadd: 'images/mainicon/adddevice.png'
77
- }
78
- },
79
- props: ['selectdata','edit'],
80
- ready() {
81
- // 获取数据
82
- this.load()
83
- },
84
- methods: {
85
- load() {
86
- if (!this.selectdata)
87
- return
88
- let data = {
89
- tablename: 't_devices',
90
- condition: 'f_process_id=' + '\'' + String(this.selectdata.f_process_id) + '\''
91
- }
92
- this.$resetpost('rs/sql/singleTable', {data: data}, {resolveMsg: null, rejectMsg: '查询失败'})
93
- .then((res) => {
94
- this.devicesinfo = []
95
- this.devicesinfo = res.data
96
- })
97
- },
98
- confirm(row, index) {
99
- //提交前先判断填写的户档案编号是否存在
100
- this.$resetpost('rs/sql/findUserInfo', {data:{f_userinfo_id:row.f_userinfo_id,process_id:this.selectdata.f_process_id}}).then((res) => {
101
- if(res.data.length > 0){
102
- row.f_process_id = this.selectdata.f_process_id
103
- row.f_devices_state = '正常'
104
- if(row.f_devices_type == '[]'){
105
- delete row.f_devices_type
106
- }else{
107
- row.f_devices_type = row.f_devices_type[0]
108
- }
109
- let data ={
110
- tablename:'t_devices',
111
- parameters:row
112
- }
113
- if(!(row.f_brand&&row.f_devices_model&&row.f_devices_num)){
114
- this.$showMessage("请检查设备品牌,设备型号,设备数量是否填写")
115
-
116
- }else{
117
- this.$resetpost('rs/logic/saveentity', {data:data},{
118
- resolveMsg: null,
119
- rejectMsg: '添加失败!'
120
- }).then((res) => {
121
- this.flagg = false
122
- // 如果没有id,需要在数组中添加
123
- this.load()
124
- this.$showMessage("添加成功!")
125
- })
126
- }
127
- }else {
128
- this.$showMessage("不存在的户档案编号!")
129
- }
130
- })
131
-
132
- },
133
- deleteDevice (index, row) {
134
- // this.devicesinfo.splice(index, 1)
135
- if (!row.id) {
136
- // 没有id 从数组里删除
137
- this.devicesinfo.splice(index, 1)
138
- } else {
139
- this.$showMessage('删除后不可恢复,确认删除吗?', ['confirm', 'cancel']).then((res) => {
140
- if (res === 'confirm') {
141
- let http = new HttpResetClass()
142
- http.load('DELETE',`rs/entity/t_devices/${row.id}`).then((res) => {
143
- this.load()
144
- })
145
- }
146
- })
147
- }
148
- },
149
- addDevice () {
150
- this.devicesinfo.push({
151
- f_devices_type: '',
152
- f_userinfo_id: this.userinfoid
153
- // f_install_date: this.$login.toStandardTimeString()
154
- })
155
- },
156
- },
157
-
158
- }
159
- </script>
160
- <style lang="less">
161
- .flex-deviceinfo {
162
- padding: 0px 20px;
163
- justify-content: space-between;
164
- height: auto;
165
- flex-wrap: wrap;
166
- }
167
- .flex-two-info {
168
- margin-bottom: 10px;
169
- align-items: center;
170
- width: 48%;
171
- }
172
- </style>
1
+ <template>
2
+ <div class="flex-row flex-deviceinfo">
3
+ <div class="flex-row flex-two-info panel panel-default" v-for="row in devicesinfo">
4
+ <avatar-upload :img-src.sync="row.img.content" :filename.sync="row.img.filename "></avatar-upload>
5
+ <form class="form-horizontal" style="flex: 1;">
6
+ <div class="form-group auto" style="margin-top: 10px;margin-left: 10px;">
7
+ <div class="col-sm-6" style="padding-right: 5px;" id=userfiles-useDevInf-设备类型>
8
+ <v-select :is-all-line="true" :value.sync="row.f_devices_type" v-model="row.f_devices_type"
9
+ :options='devicetypes' placeholder='设备类型'
10
+ close-on-select></v-select>
11
+ </div>
12
+ <div class="col-sm-6" style="padding-right: 5px;">
13
+ <input type="text" class="form-control" v-else v-model="row.f_devices_no" placeholder='设备编号' v-next-el="{id: $index+'brand'}" >
14
+ </div>
15
+ </div>
16
+ <div class="form-group auto" style="margin-left: 10px;">
17
+ <div class="col-sm-6" style="padding-right: 5px;">
18
+ <input type="text" class="form-control" v-model="row.f_brand" placeholder='设备品牌' v-next-el="{id: $index+'devicesmodel'}" :id="$index+'brand'">
19
+ </div>
20
+ <div class="col-sm-6" style="padding-right: 5px;">
21
+ <input type="text" class="form-control" v-model="row.f_devices_model" placeholder='设备型号' :id="$index+'devicesmodel'">
22
+ </div>
23
+ </div>
24
+ <div class="form-group auto" style="margin-left: 10px;">
25
+ <div class="col-sm-6" style="padding-right: 5px;">
26
+ <input type="number" class="form-control" v-model="row.f_devices_num" placeholder='设备数量' :id="$index+'devicesnum'">
27
+ </div>
28
+ <div class="col-sm-6" style="padding-right: 5px;">
29
+ <input type="text" class="form-control" v-model="row.f_userinfo_id" placeholder='户档案编号' >
30
+ </div>
31
+ <div class="col-sm-6" style="padding-right: 5px;">
32
+ <!--<input type="text" v-show="false" v-model="$refs.installtime.value"-->
33
+ <!--v-validate:installtime='{required: true}'/>-->
34
+ <!--<datepicker-->
35
+ <!--v-model="row.f_install_date" v-ref:installtime-->
36
+ <!--:disabled-days-of-Week="[]"-->
37
+ <!--:value.sync="row.f_install_date"-->
38
+ <!--:show-reset-button="reset"-->
39
+ <!--:format="'yyyy-MM-dd'" readonly="readonly">-->
40
+ <!--</datepicker>-->
41
+ </div>
42
+ </div>
43
+ <div class="form-group auto" style="margin-left: 10px;">
44
+ <div class="col-sm-6 " style="padding-right: 5px;">
45
+ <button type="button" @click="deleteDevice($index, row)" class="btn btn-primary" v-show="edit">
46
+ 删除
47
+ </button>
48
+ </div>
49
+ <div class="col-sm-6 " style="padding-right: 5px;" v-if="!row.id">
50
+ <button type="button" @click="confirm(row,$index)" class="btn btn-primary" v-show="edit">
51
+ 提交
52
+ </button>
53
+ </div>
54
+ </div>
55
+ </form>
56
+ <!--<img :src="imgdelete" alt="图片加载失败" class="img-rounded" style="width: 60px;padding: 20px;margin-left: -15px;cursor: pointer;"-->
57
+ <!--@click="deleteDevice($index, row)" v-if="row.f_devices_state !== '有效'">-->
58
+ </div>
59
+ <div class="panel panel-default flex-two-info text-center" style="line-height: 164px;">
60
+ <img :src="imgadd" alt="图片加载失败" class="img-rounded" style="width: 60px;padding: 10px;cursor: pointer;" @click="addDevice()">
61
+ </div>
62
+ </div>
63
+ </template>
64
+
65
+ <script>
66
+ import {HttpResetClass} from 'vue-client'
67
+ export default {
68
+ title: '设备信息',
69
+ data () {
70
+ return {
71
+ devicetypes: this.$appdata.getParam('设备类型'),
72
+ flagg: true,
73
+ devicesinfo:[],
74
+ userinfoid:'',
75
+ imgdelete: 'images/mainicon/deletedevice.png',
76
+ imgadd: 'images/mainicon/adddevice.png'
77
+ }
78
+ },
79
+ props: ['selectdata','edit'],
80
+ ready() {
81
+ // 获取数据
82
+ this.load()
83
+ },
84
+ methods: {
85
+ load() {
86
+ if (!this.selectdata)
87
+ return
88
+ let data = {
89
+ tablename: 't_devices',
90
+ condition: 'f_process_id=' + '\'' + String(this.selectdata.f_process_id) + '\''
91
+ }
92
+ this.$resetpost('rs/sql/applysingleTable', {data: data}, {resolveMsg: null, rejectMsg: '查询失败'})
93
+ .then((res) => {
94
+ this.devicesinfo = []
95
+ this.devicesinfo = res.data
96
+ })
97
+ },
98
+ confirm(row, index) {
99
+ //提交前先判断填写的户档案编号是否存在
100
+ this.$resetpost('rs/sql/findUserInfo', {data:{f_userinfo_id:row.f_userinfo_id,process_id:this.selectdata.f_process_id}}).then((res) => {
101
+ if(res.data.length > 0){
102
+ row.f_process_id = this.selectdata.f_process_id
103
+ row.f_devices_state = '正常'
104
+ if(row.f_devices_type == '[]'){
105
+ delete row.f_devices_type
106
+ }else{
107
+ row.f_devices_type = row.f_devices_type[0]
108
+ }
109
+ let data ={
110
+ tablename:'t_devices',
111
+ parameters:row
112
+ }
113
+ if(!(row.f_brand&&row.f_devices_model&&row.f_devices_num)){
114
+ this.$showMessage("请检查设备品牌,设备型号,设备数量是否填写")
115
+
116
+ }else{
117
+ this.$resetpost('rs/logic/saveentity', {data:data},{
118
+ resolveMsg: null,
119
+ rejectMsg: '添加失败!'
120
+ }).then((res) => {
121
+ this.flagg = false
122
+ // 如果没有id,需要在数组中添加
123
+ this.load()
124
+ this.$showMessage("添加成功!")
125
+ })
126
+ }
127
+ }else {
128
+ this.$showMessage("不存在的户档案编号!")
129
+ }
130
+ })
131
+
132
+ },
133
+ deleteDevice (index, row) {
134
+ // this.devicesinfo.splice(index, 1)
135
+ if (!row.id) {
136
+ // 没有id 从数组里删除
137
+ this.devicesinfo.splice(index, 1)
138
+ } else {
139
+ this.$showMessage('删除后不可恢复,确认删除吗?', ['confirm', 'cancel']).then((res) => {
140
+ if (res === 'confirm') {
141
+ let http = new HttpResetClass()
142
+ http.load('DELETE',`rs/entity/t_devices/${row.id}`).then((res) => {
143
+ this.load()
144
+ })
145
+ }
146
+ })
147
+ }
148
+ },
149
+ addDevice () {
150
+ this.devicesinfo.push({
151
+ f_devices_type: '',
152
+ f_userinfo_id: this.userinfoid
153
+ // f_install_date: this.$login.toStandardTimeString()
154
+ })
155
+ },
156
+ },
157
+
158
+ }
159
+ </script>
160
+ <style lang="less">
161
+ .flex-deviceinfo {
162
+ padding: 0px 20px;
163
+ justify-content: space-between;
164
+ height: auto;
165
+ flex-wrap: wrap;
166
+ }
167
+ .flex-two-info {
168
+ margin-bottom: 10px;
169
+ align-items: center;
170
+ width: 48%;
171
+ }
172
+ </style>
@@ -229,7 +229,7 @@
229
229
  this.$showMessage("请选择用户类型")
230
230
  }
231
231
  else {
232
- this.model.f_apply_type = this.model.f_apply_type + "流程"
232
+ this.model.f_apply_type = this.model.f_apply_type
233
233
  let fileInfoData = this.$parent.$parent.$parent.$parent.$refs.file.fileInfoData
234
234
  let recordmessage = this.$parent.$parent.$parent.$parent.$refs.record.model.rows
235
235
  let materialmessage = this.$parent.$parent.$parent.$parent.$refs.material.model.rows