apply-clients 3.5.4-73 → 3.5.4-75

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 (33) hide show
  1. package/build/dev-server.js +10 -7
  2. package/package.json +1 -1
  3. package/src/apply.js +137 -137
  4. package/src/components/android/AppCheckTakePic.vue +168 -168
  5. package/src/components/android/Process/AppServiceControl.vue +1755 -1755
  6. package/src/components/product/PcZhihuanManagement.vue +160 -160
  7. package/src/components/product/Supervisory/SupervisoryControl.vue +141 -141
  8. package/src/components/product/Supervisory/SupervisoryList.vue +452 -452
  9. package/src/filiale/fugou/android/AppAddMaterialScience.vue +448 -442
  10. package/src/filiale/fugou/android/AppServiceControl.vue +1843 -1827
  11. package/src/filiale/fugou/android/AppZhihuanManagement.vue +191 -191
  12. package/src/filiale/fugou/pc/InstallationDetails.vue +646 -647
  13. package/src/filiale/fugou/pc/ServiceControl.vue +1704 -1702
  14. package/src/filiale/fugou/pc/addMaterialScience.vue +481 -482
  15. package/src/filiale/fugou/pc/addressAndUserinfoManagement.vue +216 -0
  16. package/src/filiale/fugou/pc.js +11 -10
  17. package/src/filiale/yangchunboneng/android/AppExplorationUser.vue +518 -518
  18. package/src/filiale/yangchunboneng/android/AppInstallationMaterial.vue +1087 -1085
  19. package/src/filiale/yangchunboneng/android/AppSuperServiceControl.vue +1524 -1524
  20. package/src/filiale/yangchunboneng/android/AppUpload.vue +205 -205
  21. package/src/filiale/yangchunboneng/android/MaterIialOne.vue +156 -156
  22. package/src/filiale/yangchunboneng/android.js +20 -20
  23. package/src/filiale/yangchunboneng/pc/ApplyUpload.vue +392 -392
  24. package/src/filiale/yangchunboneng/pc/ExplorationUser.vue +191 -191
  25. package/src/filiale/yangchunboneng/pc/InstallInfoSelect.vue +365 -365
  26. package/src/filiale/yangchunboneng/pc/SupervisoryControlNew.vue +142 -142
  27. package/src/filiale/yangchunboneng/pc/SupervisoryList.vue +590 -590
  28. package/src/filiale/yangchunboneng/pc/SupervisoryListNew.vue +628 -628
  29. package/src/filiale/yangchunboneng/pc/SupervisoryServiceControl.vue +902 -902
  30. package/src/filiale/yangchunboneng/pc/SupervisoryServiceControlNew.vue +901 -901
  31. package/src/filiale/yangchunboneng/pc/SupervisoryServiceView.vue +1117 -1117
  32. package/src/filiale/yangchunboneng/pc.js +24 -24
  33. package/src/main.js +1 -2
@@ -1,191 +1,191 @@
1
- <template>
2
- <div class="col-sm-12" style="margin: 20px 0px;">
3
- <data-grid :model="model" v-ref:grid class="list_area table_sy" style="padding: 0px">
4
- <template partial='head'>
5
- <tr>
6
- <th class="textNoLineBreak">序号</th>
7
- <th class="textNoLineBreak">检查项目</th>
8
- <th class="textNoLineBreak">检查结果</th>
9
- <th class="textNoLineBreak">操作</th>
10
- </tr>
11
- </template>
12
- <template partial='body'>
13
- <tr>
14
- <td style="text-align: center;">
15
- <nobr>{{$index+1}}</nobr>
16
- </td>
17
- <td style="text-align: center;" >
18
- <nobr>{{row.f_check_list}}</nobr>
19
- </td>
20
- <td style="text-align: center;">
21
- <nobr>{{row.f_check_value}}</nobr>
22
- </td>
23
- <td style="text-align: center;">
24
- <nobr>
25
- <button
26
- type="button"
27
- name="button"
28
- class="btn btn-link"
29
- @click="$parent.$parent.showModal(row)"
30
- >修改</button>
31
- </nobr>
32
- </td>
33
- </tr>
34
- </template>
35
- </data-grid>
36
- <validator name="v">
37
- <modal v-if="showCheckModel" :show.sync="showCheckModel" v-ref:modal :large="true" :backdrop="false" title="收费明细">
38
- <header slot="modal-header" class="modal-header">
39
- <button type="button" class="close" @click="closeModal"><span>&times;</span></button>
40
- <h4 class="modal-title">检查明细</h4>
41
- </header>
42
- <article slot="modal-body" class="modal-body clearfix">
43
- <div class="form-group col-sm-12">
44
- <label class="col-sm-2 control-label">检查项目:</label>
45
- <div class="col-sm-10">
46
- <textarea width="100%" rows="3" v-model="checkList.f_check_list"></textarea>
47
- </div>
48
-
49
- </div>
50
- <div class="form-group col-sm-12" >
51
- <label class="col-sm-2 control-label">检查结果:</label>
52
- <div class="col-sm-10">
53
- <input-select
54
- placeholder='请选择' width="100%"
55
- v-model="checkList.f_check_value"
56
- :value.sync="checkList.f_check_value"
57
- :options='item'
58
- class="select select_list"
59
- :value-single="true"
60
- close-on-select ></input-select>
61
- </div>
62
- </div>
63
- <app-check-take-pic
64
- :blobid="selectdata.f_process_id"
65
- :flag="flag"
66
- :defname="selectdata.defname"
67
- :isdelete="true"
68
- :istakepic="true"
69
- :istype="true">
70
- </app-check-take-pic>
71
- </article>
72
- <footer slot="modal-footer" class="modal-footer">
73
- <button type="button" class="btn btn-primary" :disabled='!$v.valid' @click="save()">保存</button>
74
- </footer>
75
- </modal>
76
- </validator>
77
- </div>
78
- </template>
79
- <script>
80
- import {HttpResetClass} from 'vue-client'
81
- import Vue from 'vue'
82
-
83
- export default {
84
- title: '检查项管理',
85
- props: {
86
- selectdata: {
87
- type: Object
88
- },
89
- },
90
- data () {
91
- return {
92
- model: {
93
- data: null
94
- },
95
- flag:0,
96
- showCheckModel: false,
97
- checkList:{},
98
- item: [{label: '是', value: '是'},{label: '否', value: '否'}],
99
- hasList:false,
100
- savelist:[]
101
- }
102
- },
103
- ready () {
104
- this.search()
105
- },
106
- methods: {
107
- async save(){
108
- let res = await this.$resetpost(
109
- `${this.$androidUtil.getProxyUrl()}/apply/rs/entity/t_apply_check`,
110
- this.checkList,
111
- {resolveMsg: null, rejectMsg: '数据保存失败!!!'}
112
- )
113
- if(res){
114
- this.showCheckModel=false
115
- this.search()
116
- }
117
- },
118
- showModal(row){
119
- this.checkList=row
120
- this.flag=this.selectdata.f_apply_num+row.id
121
- this.showCheckModel=true
122
- },
123
- closeModal() {
124
- this.showCheckModel=false
125
- },
126
- //如果是第一次,则新保存检查想到数据库
127
- async saveCheck() {
128
- if (this.hasList === false) {
129
- this.savelist = []
130
- let checkList = this.$appdata.getParam("报建检查项目")
131
- //遍历数组,获取数组中的每一个对象,并获取对象的value
132
- for (let i = 0; i < checkList.length; i++) {
133
- let obj = checkList[i]
134
- let value = obj.value
135
- this.savelist.push(value)
136
- }
137
- //保存到数据库
138
- let http = new HttpResetClass()
139
- let data = {
140
- apply: this.selectdata,
141
- user: Vue.user,
142
- check:this.savelist
143
- }
144
- let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/addApplyCheck`, {data: data}, {
145
- resolveMsg: null,
146
- rejectMsg: '添加失败!!!'
147
- })
148
- }
149
- },
150
- //查询
151
- async search() {
152
- let http = new HttpResetClass()
153
- let data = {
154
- tablename: 't_apply_check',
155
- condition: `f_process_id= '${this.selectdata.f_process_id}'`
156
- }
157
- let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/apply_singleTable`, {data:data}, {
158
- resolveMsg: null,
159
- rejectMsg: '开发商档案查询失败!!!'
160
- })
161
- if(res.data.length>0){
162
- this.model.data=res.data
163
- }else{
164
- this.saveCheck()
165
- }
166
- }
167
- },
168
- events: {
169
- },
170
- computed: {
171
- CheckItems() {
172
- return this.$appdata.getParam("报建检查项目")
173
- }
174
- },
175
- watch: {
176
- }
177
- }
178
- </script>
179
- <style scoped>
180
- .textNoLineBreak {
181
- white-space: nowrap;
182
- }
183
- .head-but{
184
- margin-left: 5px;
185
- height: 34px;
186
- /*background-color: #6aa6e2;*/
187
- border-radius: 4px;
188
- font-family: PingFang;
189
- color: #ffffff;
190
- }
191
- </style>
1
+ <template>
2
+ <div class="col-sm-12" style="margin: 20px 0px;">
3
+ <data-grid :model="model" v-ref:grid class="list_area table_sy" style="padding: 0px">
4
+ <template partial='head'>
5
+ <tr>
6
+ <th class="textNoLineBreak">序号</th>
7
+ <th class="textNoLineBreak">检查项目</th>
8
+ <th class="textNoLineBreak">检查结果</th>
9
+ <th class="textNoLineBreak">操作</th>
10
+ </tr>
11
+ </template>
12
+ <template partial='body'>
13
+ <tr>
14
+ <td style="text-align: center;">
15
+ <nobr>{{$index+1}}</nobr>
16
+ </td>
17
+ <td style="text-align: center;" >
18
+ <nobr>{{row.f_check_list}}</nobr>
19
+ </td>
20
+ <td style="text-align: center;">
21
+ <nobr>{{row.f_check_value}}</nobr>
22
+ </td>
23
+ <td style="text-align: center;">
24
+ <nobr>
25
+ <button
26
+ type="button"
27
+ name="button"
28
+ class="btn btn-link"
29
+ @click="$parent.$parent.showModal(row)"
30
+ >修改</button>
31
+ </nobr>
32
+ </td>
33
+ </tr>
34
+ </template>
35
+ </data-grid>
36
+ <validator name="v">
37
+ <modal v-if="showCheckModel" :show.sync="showCheckModel" v-ref:modal :large="true" :backdrop="false" title="收费明细">
38
+ <header slot="modal-header" class="modal-header">
39
+ <button type="button" class="close" @click="closeModal"><span>&times;</span></button>
40
+ <h4 class="modal-title">检查明细</h4>
41
+ </header>
42
+ <article slot="modal-body" class="modal-body clearfix">
43
+ <div class="form-group col-sm-12">
44
+ <label class="col-sm-2 control-label">检查项目:</label>
45
+ <div class="col-sm-10">
46
+ <textarea width="100%" rows="3" v-model="checkList.f_check_list"></textarea>
47
+ </div>
48
+
49
+ </div>
50
+ <div class="form-group col-sm-12" >
51
+ <label class="col-sm-2 control-label">检查结果:</label>
52
+ <div class="col-sm-10">
53
+ <input-select
54
+ placeholder='请选择' width="100%"
55
+ v-model="checkList.f_check_value"
56
+ :value.sync="checkList.f_check_value"
57
+ :options='item'
58
+ class="select select_list"
59
+ :value-single="true"
60
+ close-on-select ></input-select>
61
+ </div>
62
+ </div>
63
+ <app-check-take-pic
64
+ :blobid="selectdata.f_process_id"
65
+ :flag="flag"
66
+ :defname="selectdata.defname"
67
+ :isdelete="true"
68
+ :istakepic="true"
69
+ :istype="true">
70
+ </app-check-take-pic>
71
+ </article>
72
+ <footer slot="modal-footer" class="modal-footer">
73
+ <button type="button" class="btn btn-primary" :disabled='!$v.valid' @click="save()">保存</button>
74
+ </footer>
75
+ </modal>
76
+ </validator>
77
+ </div>
78
+ </template>
79
+ <script>
80
+ import {HttpResetClass} from 'vue-client'
81
+ import Vue from 'vue'
82
+
83
+ export default {
84
+ title: '检查项管理',
85
+ props: {
86
+ selectdata: {
87
+ type: Object
88
+ },
89
+ },
90
+ data () {
91
+ return {
92
+ model: {
93
+ data: null
94
+ },
95
+ flag:0,
96
+ showCheckModel: false,
97
+ checkList:{},
98
+ item: [{label: '是', value: '是'},{label: '否', value: '否'}],
99
+ hasList:false,
100
+ savelist:[]
101
+ }
102
+ },
103
+ ready () {
104
+ this.search()
105
+ },
106
+ methods: {
107
+ async save(){
108
+ let res = await this.$resetpost(
109
+ `${this.$androidUtil.getProxyUrl()}/apply/rs/entity/t_apply_check`,
110
+ this.checkList,
111
+ {resolveMsg: null, rejectMsg: '数据保存失败!!!'}
112
+ )
113
+ if(res){
114
+ this.showCheckModel=false
115
+ this.search()
116
+ }
117
+ },
118
+ showModal(row){
119
+ this.checkList=row
120
+ this.flag=this.selectdata.f_apply_num+row.id
121
+ this.showCheckModel=true
122
+ },
123
+ closeModal() {
124
+ this.showCheckModel=false
125
+ },
126
+ //如果是第一次,则新保存检查想到数据库
127
+ async saveCheck() {
128
+ if (this.hasList === false) {
129
+ this.savelist = []
130
+ let checkList = this.$appdata.getParam("报建检查项目")
131
+ //遍历数组,获取数组中的每一个对象,并获取对象的value
132
+ for (let i = 0; i < checkList.length; i++) {
133
+ let obj = checkList[i]
134
+ let value = obj.value
135
+ this.savelist.push(value)
136
+ }
137
+ //保存到数据库
138
+ let http = new HttpResetClass()
139
+ let data = {
140
+ apply: this.selectdata,
141
+ user: Vue.user,
142
+ check:this.savelist
143
+ }
144
+ let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/addApplyCheck`, {data: data}, {
145
+ resolveMsg: null,
146
+ rejectMsg: '添加失败!!!'
147
+ })
148
+ }
149
+ },
150
+ //查询
151
+ async search() {
152
+ let http = new HttpResetClass()
153
+ let data = {
154
+ tablename: 't_apply_check',
155
+ condition: `f_process_id= '${this.selectdata.f_process_id}'`
156
+ }
157
+ let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/apply_singleTable`, {data:data}, {
158
+ resolveMsg: null,
159
+ rejectMsg: '检查项查询失败!!!'
160
+ })
161
+ if(res.data.length>0){
162
+ this.model.data=res.data
163
+ }else{
164
+ this.saveCheck()
165
+ }
166
+ }
167
+ },
168
+ events: {
169
+ },
170
+ computed: {
171
+ CheckItems() {
172
+ return this.$appdata.getParam("报建检查项目")
173
+ }
174
+ },
175
+ watch: {
176
+ }
177
+ }
178
+ </script>
179
+ <style scoped>
180
+ .textNoLineBreak {
181
+ white-space: nowrap;
182
+ }
183
+ .head-but{
184
+ margin-left: 5px;
185
+ height: 34px;
186
+ /*background-color: #6aa6e2;*/
187
+ border-radius: 4px;
188
+ font-family: PingFang;
189
+ color: #ffffff;
190
+ }
191
+ </style>