apply-clients 3.5.5-3 → 3.5.5-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 (61) hide show
  1. package/build/dev-server.js +5 -9
  2. package/package.json +1 -1
  3. package/src/App.vue +25 -25
  4. package/src/apply.js +141 -141
  5. package/src/components/android/AppTakePic.vue +182 -182
  6. package/src/components/product/Function/Service/FunctionServiceControl.vue +497 -497
  7. package/src/components/product/Material/MaterialDetailed.vue +268 -268
  8. package/src/components/product/MaterialsManage/MaterialsBase.vue +181 -181
  9. package/src/components/product/MaterialsManage/MaterialsManage.vue +60 -60
  10. package/src/components/product/Process/Processes/contractModel.vue +458 -458
  11. package/src/components/product/ServiceView.vue +1028 -1028
  12. package/src/components/product/Supervisory/SupervisoryList.vue +452 -452
  13. package/src/filiale/dingcheng/pc/SupervisoryList.vue +441 -441
  14. package/src/filiale/fugou/android/AppAddMaterialScience.vue +440 -440
  15. package/src/filiale/fugou/android/AppDevicesManagement.vue +519 -519
  16. package/src/filiale/fugou/android/AppInstallationDetails.vue +541 -541
  17. package/src/filiale/fugou/android/AppServiceControl.vue +1836 -1836
  18. package/src/filiale/fugou/android/printCharge.vue +162 -162
  19. package/src/filiale/fugou/android.js +16 -16
  20. package/src/filiale/fugou/pc/ExplorationSelect.vue +525 -525
  21. package/src/filiale/fugou/pc/ServiceControl.vue +1705 -1705
  22. package/src/filiale/fugou/pc/ServiceView.vue +941 -941
  23. package/src/filiale/fugou/pc/devicesManagement.vue +483 -483
  24. package/src/filiale/fugou/pc/printChargepc.vue +148 -148
  25. package/src/filiale/gongyi/android/AppAddMaterialScience.vue +493 -493
  26. package/src/filiale/gongyi/android/AppDisclosurerecord.vue +214 -214
  27. package/src/filiale/gongyi/android/AppInstallationDetails.vue +500 -500
  28. package/src/filiale/gongyi/android/AppLegacyIssues.vue +309 -309
  29. package/src/filiale/gongyi/android/AppSign.vue +170 -170
  30. package/src/filiale/gongyi/android/AppSupplementalAgreement.vue +298 -298
  31. package/src/filiale/gongyi/android.js +18 -18
  32. package/src/filiale/gongyi/pc/ApplyUpload.vue +371 -371
  33. package/src/filiale/gongyi/pc/PcAddLogs.vue +221 -221
  34. package/src/filiale/gongyi/pc/PcDisclosurerecord.vue +218 -218
  35. package/src/filiale/gongyi/pc/PcLegacyIssues.vue +309 -309
  36. package/src/filiale/gongyi/pc/SupervisoryServiceControl.vue +894 -894
  37. package/src/filiale/gongyi/pc/SupervisoryServiceView.vue +1005 -1005
  38. package/src/filiale/gongyi/pc/addMaterialScience.vue +575 -575
  39. package/src/filiale/gongyi/pc/chargeManagement.vue +765 -765
  40. package/src/filiale/gongyi/pc/supplementalAgreement.vue +277 -277
  41. package/src/filiale/gongyi/pc.js +24 -24
  42. package/src/filiale/hongda/pc/SupervisoryList.vue +422 -422
  43. package/src/filiale/jingyang/pc/SupervisoryList.vue +459 -459
  44. package/src/filiale/qianneng/android/AppChargeManagement.vue +686 -686
  45. package/src/filiale/qianneng/android.js +15 -15
  46. package/src/filiale/qianneng/pc/ApplyMaterialDetailed.vue +261 -261
  47. package/src/filiale/qianneng/pc/InstallFunction.vue +188 -188
  48. package/src/filiale/qianneng/pc.js +29 -29
  49. package/src/filiale/ruihua/pc/ServiceControl.vue +1966 -1966
  50. package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +520 -520
  51. package/src/filiale/yangchunboneng/android/AppDevicesManagement.vue +645 -645
  52. package/src/filiale/yangchunboneng/android/AppServiceControl.vue +1703 -1706
  53. package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +547 -547
  54. package/src/filiale/yangchunboneng/pc/ServiceControl.vue +2112 -2115
  55. package/src/filiale/yangchunboneng/pc/ServiceView.vue +1007 -1007
  56. package/src/filiale/yangchunboneng/pc/SupervisoryList.vue +605 -605
  57. package/src/filiale/yangchunboneng/pc/SupervisoryListNew.vue +683 -683
  58. package/src/filiale/yangchunboneng/pc/chargeManagement.vue +1052 -1052
  59. package/src/filiale/yangchunboneng/pc/devicesManagement.vue +574 -574
  60. package/src/main.js +3 -3
  61. package/~/chatbot/main.py +0 -57
@@ -1,221 +1,221 @@
1
- <template>
2
- <div>
3
- <data-grid :model="onetomany" class="list_area table_sy">
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
- <th class="textNoLineBreak" >
11
- <button v-if="$parent.$parent.mark === 0" type="button" class="btn btn-primary" @click="$parent.$parent.openMaterialModal()">添加日志
12
- </button>
13
- </th>
14
- </tr>
15
- </template>
16
- <template partial='body'>
17
- <tr>
18
- <td style="text-align: center;">
19
- <nobr>{{row.f_operator}}</nobr>
20
- </td>
21
- <td style="text-align: center;">
22
- <nobr>{{row.f_operation_date}}</nobr>
23
- </td>
24
- <td style="text-align: center;">
25
- <nobr>{{row.f_log_type}}</nobr>
26
- </td>
27
- <td style="text-align: center;">
28
- <nobr>{{ row.f_log_content.length > 20 ? row.f_log_content.substring(0, 50) + '...' : row.f_log_content }}</nobr>
29
- </td>
30
- <td style="text-align: center;">
31
- <button v-if="$parent.$parent.mark === 0" type="button" class="button_delete button_spacing" @click="$parent.$parent.deletelogs(row)">删除
32
- </button>
33
- <button v-if="$parent.$parent.mark === 0" type="button" class="button_delete button_spacing" @click="$parent.$parent.look(row)">查看
34
- </button>
35
- </td>
36
- </tr>
37
- </template>
38
- </data-grid>
39
- <modal v-if="showMaterialModal" :show.sync="showMaterialModal" v-ref:modal :large="true"
40
- :backdrop="false" :title="title">
41
- <header slot="modal-header" class="modal-header">
42
- <button type="button" class="close" @click="closeMaterials"><span>&times;</span></button>
43
- <h4 class="modal-title">{{title}}</h4>
44
- </header>
45
- <article slot="modal-body" class="modal-body clearfix">
46
- <div v-for="(i,item) in materials" class="form-group col-sm-12 panel panel-info">
47
- <div class="row">
48
- <div class="form-group col-sm-4">
49
- <label class="col-sm-4 control-label">日志类型:</label>
50
- <div class="col-sm-4">
51
- <input-select
52
- class="select select_list"
53
- :value.sync="item.f_log_type"
54
- v-model="item.f_log_type"
55
- :options="logOptions"
56
- :disable="mark === 1"
57
- :valueSingle="true"></input-select>
58
- </div>
59
- </div>
60
- <div class="form-group col-sm-6">
61
- <label class="col-sm-4 control-label">内容:</label>
62
- <textarea
63
- class="form-control"
64
- v-model="item.f_log_content"
65
- rows="3"
66
- :readonly="mark === 1"
67
- ></textarea>
68
- </div>
69
- </div>
70
-
71
-
72
- </div>
73
- </article>
74
- <footer slot="modal-footer" class="modal-footer">
75
- <template v-if="mark!== 1">
76
- <button type="button" class="btn btn-primary" v-if="title==='新增'" @click="addlogs()"
77
- :disabled="!$v.valid">确认
78
- </button>
79
- <button type="button" class="btn btn-primary" v-if="title==='查看'" @click="changelogs()"
80
- :disabled="!$v.valid">修改
81
- </button>
82
- </template>
83
- </footer>
84
- </modal>
85
- </div>
86
- </template>
87
-
88
- <script>
89
- import {HttpResetClass} from 'vue-client'
90
-
91
- export default {
92
- name: 'addlogs',
93
- props: {
94
- selectdata: {
95
- type: Object
96
- },
97
- mark: {
98
- type: Number,
99
- default: 0
100
- }
101
- },
102
- data() {
103
- return {
104
- onetomany: {
105
- rows: []
106
- },
107
- logOptions: this.$appdata.getParam('日志类型'),
108
- title: '新增',
109
- showMaterialModal: false,
110
- materials: [
111
- {
112
-
113
- }
114
- ],
115
- meterialOptions: [],
116
- row: {},
117
- bjqChecklag:[],
118
- fmaterialname:{}
119
- }
120
- },
121
- ready() {
122
- this.getOnetoManyData()
123
- },
124
- methods: {
125
- look(row){
126
- this.title = '查看'
127
- this.materials = [
128
- {
129
- id: row.id,
130
- f_log_type:row.f_log_type,
131
- f_log_content:row.f_log_content
132
- }
133
- ],
134
- this.showMaterialModal = true
135
- },
136
-
137
- changelogs(){
138
- let http = new HttpResetClass()
139
- let data = {
140
- data: {
141
- id: this.materials[0].id,
142
- f_process_id:this.selectdata.f_process_id,
143
- f_log_type:this.materials[0].f_log_type,
144
- f_log_content:this.materials[0].f_log_content,
145
- user:this.$login.f
146
- }
147
- }
148
- http.load(
149
- 'POST',
150
- `/rs/logic/addLogs`,
151
- data,
152
- {resolveMsg: '修改成功', rejectMsg: '添加失败'}
153
- ).then(res => {
154
- this.closeMaterials()
155
- })
156
- },
157
- addlogs(){
158
- let http = new HttpResetClass()
159
- let data = {
160
- data: {
161
- f_process_id:this.selectdata.f_process_id,
162
- f_log_type:this.materials[0].f_log_type,
163
- f_log_content:this.materials[0].f_log_content,
164
- user:this.$login.f
165
- }
166
- }
167
- http.load(
168
- 'POST',
169
- `/rs/logic/addLogs`,
170
- data,
171
- {resolveMsg: '添加成功', rejectMsg: '添加失败'}
172
- ).then(res => {
173
- this.closeMaterials()
174
- })
175
- },
176
- deletelogs(row){
177
- this.$showMessage('删除后不可恢复,确认删除吗?', ['confirm', 'cancel']).then((res) => {
178
- if (res === 'confirm') {
179
- this.$resetdelete('rs/entity/t_logs_apply', {id: row.id}, {resolveMsg: '删除成功', rejectMsg: '删除失败'}).then((res) => {
180
- this.getOnetoManyData()
181
- })
182
- }
183
- })
184
- },
185
- async getOnetoManyData () {
186
- let http = new HttpResetClass()
187
- let data = {
188
- tablename: `t_logs_apply`,
189
- condition: `f_process_id='${this.selectdata.f_process_id}'`
190
- }
191
- let res = await http.load(
192
- 'POST',
193
- `/rs/sql/apply_singleTable?aaa=123`,
194
- {data: data},
195
- {resolveMsg: null, rejectMsg: 'onetomany查询失败'}
196
- )
197
- this.onetomany.rows = res.data
198
- },
199
- async openMaterialModal() {
200
- this.title = '新增'
201
- this.materials = [
202
- {
203
- f_log_type:'',
204
- f_logs_content:''
205
- }
206
- ],
207
- this.showMaterialModal = true
208
- },
209
-
210
- closeMaterials() {
211
- this.getOnetoManyData()
212
- this.showMaterialModal = false
213
- }
214
- }
215
- }
216
-
217
- </script>
218
-
219
- <style scoped>
220
-
221
- </style>
1
+ <template>
2
+ <div>
3
+ <data-grid :model="onetomany" class="list_area table_sy">
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
+ <th class="textNoLineBreak" >
11
+ <button v-if="$parent.$parent.mark === 0" type="button" class="btn btn-primary" @click="$parent.$parent.openMaterialModal()">添加日志
12
+ </button>
13
+ </th>
14
+ </tr>
15
+ </template>
16
+ <template partial='body'>
17
+ <tr>
18
+ <td style="text-align: center;">
19
+ <nobr>{{row.f_operator}}</nobr>
20
+ </td>
21
+ <td style="text-align: center;">
22
+ <nobr>{{row.f_operation_date}}</nobr>
23
+ </td>
24
+ <td style="text-align: center;">
25
+ <nobr>{{row.f_log_type}}</nobr>
26
+ </td>
27
+ <td style="text-align: center;">
28
+ <nobr>{{ row.f_log_content.length > 20 ? row.f_log_content.substring(0, 50) + '...' : row.f_log_content }}</nobr>
29
+ </td>
30
+ <td style="text-align: center;">
31
+ <button v-if="$parent.$parent.mark === 0" type="button" class="button_delete button_spacing" @click="$parent.$parent.deletelogs(row)">删除
32
+ </button>
33
+ <button v-if="$parent.$parent.mark === 0" type="button" class="button_delete button_spacing" @click="$parent.$parent.look(row)">查看
34
+ </button>
35
+ </td>
36
+ </tr>
37
+ </template>
38
+ </data-grid>
39
+ <modal v-if="showMaterialModal" :show.sync="showMaterialModal" v-ref:modal :large="true"
40
+ :backdrop="false" :title="title">
41
+ <header slot="modal-header" class="modal-header">
42
+ <button type="button" class="close" @click="closeMaterials"><span>&times;</span></button>
43
+ <h4 class="modal-title">{{title}}</h4>
44
+ </header>
45
+ <article slot="modal-body" class="modal-body clearfix">
46
+ <div v-for="(i,item) in materials" class="form-group col-sm-12 panel panel-info">
47
+ <div class="row">
48
+ <div class="form-group col-sm-4">
49
+ <label class="col-sm-4 control-label">日志类型:</label>
50
+ <div class="col-sm-4">
51
+ <input-select
52
+ class="select select_list"
53
+ :value.sync="item.f_log_type"
54
+ v-model="item.f_log_type"
55
+ :options="logOptions"
56
+ :disable="mark === 1"
57
+ :valueSingle="true"></input-select>
58
+ </div>
59
+ </div>
60
+ <div class="form-group col-sm-6">
61
+ <label class="col-sm-4 control-label">内容:</label>
62
+ <textarea
63
+ class="form-control"
64
+ v-model="item.f_log_content"
65
+ rows="3"
66
+ :readonly="mark === 1"
67
+ ></textarea>
68
+ </div>
69
+ </div>
70
+
71
+
72
+ </div>
73
+ </article>
74
+ <footer slot="modal-footer" class="modal-footer">
75
+ <template v-if="mark!== 1">
76
+ <button type="button" class="btn btn-primary" v-if="title==='新增'" @click="addlogs()"
77
+ :disabled="!$v.valid">确认
78
+ </button>
79
+ <button type="button" class="btn btn-primary" v-if="title==='查看'" @click="changelogs()"
80
+ :disabled="!$v.valid">修改
81
+ </button>
82
+ </template>
83
+ </footer>
84
+ </modal>
85
+ </div>
86
+ </template>
87
+
88
+ <script>
89
+ import {HttpResetClass} from 'vue-client'
90
+
91
+ export default {
92
+ name: 'addlogs',
93
+ props: {
94
+ selectdata: {
95
+ type: Object
96
+ },
97
+ mark: {
98
+ type: Number,
99
+ default: 0
100
+ }
101
+ },
102
+ data() {
103
+ return {
104
+ onetomany: {
105
+ rows: []
106
+ },
107
+ logOptions: this.$appdata.getParam('日志类型'),
108
+ title: '新增',
109
+ showMaterialModal: false,
110
+ materials: [
111
+ {
112
+
113
+ }
114
+ ],
115
+ meterialOptions: [],
116
+ row: {},
117
+ bjqChecklag:[],
118
+ fmaterialname:{}
119
+ }
120
+ },
121
+ ready() {
122
+ this.getOnetoManyData()
123
+ },
124
+ methods: {
125
+ look(row){
126
+ this.title = '查看'
127
+ this.materials = [
128
+ {
129
+ id: row.id,
130
+ f_log_type:row.f_log_type,
131
+ f_log_content:row.f_log_content
132
+ }
133
+ ],
134
+ this.showMaterialModal = true
135
+ },
136
+
137
+ changelogs(){
138
+ let http = new HttpResetClass()
139
+ let data = {
140
+ data: {
141
+ id: this.materials[0].id,
142
+ f_process_id:this.selectdata.f_process_id,
143
+ f_log_type:this.materials[0].f_log_type,
144
+ f_log_content:this.materials[0].f_log_content,
145
+ user:this.$login.f
146
+ }
147
+ }
148
+ http.load(
149
+ 'POST',
150
+ `/rs/logic/addLogs`,
151
+ data,
152
+ {resolveMsg: '修改成功', rejectMsg: '添加失败'}
153
+ ).then(res => {
154
+ this.closeMaterials()
155
+ })
156
+ },
157
+ addlogs(){
158
+ let http = new HttpResetClass()
159
+ let data = {
160
+ data: {
161
+ f_process_id:this.selectdata.f_process_id,
162
+ f_log_type:this.materials[0].f_log_type,
163
+ f_log_content:this.materials[0].f_log_content,
164
+ user:this.$login.f
165
+ }
166
+ }
167
+ http.load(
168
+ 'POST',
169
+ `/rs/logic/addLogs`,
170
+ data,
171
+ {resolveMsg: '添加成功', rejectMsg: '添加失败'}
172
+ ).then(res => {
173
+ this.closeMaterials()
174
+ })
175
+ },
176
+ deletelogs(row){
177
+ this.$showMessage('删除后不可恢复,确认删除吗?', ['confirm', 'cancel']).then((res) => {
178
+ if (res === 'confirm') {
179
+ this.$resetdelete('rs/entity/t_logs_apply', {id: row.id}, {resolveMsg: '删除成功', rejectMsg: '删除失败'}).then((res) => {
180
+ this.getOnetoManyData()
181
+ })
182
+ }
183
+ })
184
+ },
185
+ async getOnetoManyData () {
186
+ let http = new HttpResetClass()
187
+ let data = {
188
+ tablename: `t_logs_apply`,
189
+ condition: `f_process_id='${this.selectdata.f_process_id}'`
190
+ }
191
+ let res = await http.load(
192
+ 'POST',
193
+ `/rs/sql/apply_singleTable?aaa=123`,
194
+ {data: data},
195
+ {resolveMsg: null, rejectMsg: 'onetomany查询失败'}
196
+ )
197
+ this.onetomany.rows = res.data
198
+ },
199
+ async openMaterialModal() {
200
+ this.title = '新增'
201
+ this.materials = [
202
+ {
203
+ f_log_type:'',
204
+ f_logs_content:''
205
+ }
206
+ ],
207
+ this.showMaterialModal = true
208
+ },
209
+
210
+ closeMaterials() {
211
+ this.getOnetoManyData()
212
+ this.showMaterialModal = false
213
+ }
214
+ }
215
+ }
216
+
217
+ </script>
218
+
219
+ <style scoped>
220
+
221
+ </style>