apply-clients 3.5.5-6 → 3.5.5-7

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 (63) hide show
  1. package/build/dev-server.js +9 -5
  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 +454 -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/fugou/pc.js +16 -17
  26. package/src/filiale/gongyi/android/AppAddMaterialScience.vue +493 -493
  27. package/src/filiale/gongyi/android/AppDisclosurerecord.vue +214 -214
  28. package/src/filiale/gongyi/android/AppInstallationDetails.vue +500 -500
  29. package/src/filiale/gongyi/android/AppLegacyIssues.vue +309 -309
  30. package/src/filiale/gongyi/android/AppSign.vue +170 -170
  31. package/src/filiale/gongyi/android/AppSupplementalAgreement.vue +298 -298
  32. package/src/filiale/gongyi/android.js +18 -18
  33. package/src/filiale/gongyi/pc/ApplyUpload.vue +371 -371
  34. package/src/filiale/gongyi/pc/PcAddLogs.vue +221 -221
  35. package/src/filiale/gongyi/pc/PcDisclosurerecord.vue +218 -218
  36. package/src/filiale/gongyi/pc/PcLegacyIssues.vue +309 -309
  37. package/src/filiale/gongyi/pc/SupervisoryServiceControl.vue +894 -894
  38. package/src/filiale/gongyi/pc/SupervisoryServiceView.vue +1005 -1005
  39. package/src/filiale/gongyi/pc/addMaterialScience.vue +575 -575
  40. package/src/filiale/gongyi/pc/chargeManagement.vue +765 -765
  41. package/src/filiale/gongyi/pc/supplementalAgreement.vue +277 -277
  42. package/src/filiale/gongyi/pc.js +24 -24
  43. package/src/filiale/hongda/pc/SupervisoryList.vue +422 -422
  44. package/src/filiale/jingyang/pc/SupervisoryList.vue +459 -459
  45. package/src/filiale/qianneng/android/AppChargeManagement.vue +686 -686
  46. package/src/filiale/qianneng/android.js +15 -15
  47. package/src/filiale/qianneng/pc/ApplyMaterialDetailed.vue +261 -261
  48. package/src/filiale/qianneng/pc/InstallFunction.vue +188 -188
  49. package/src/filiale/qianneng/pc.js +29 -29
  50. package/src/filiale/ruihua/pc/ServiceControl.vue +1966 -1966
  51. package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +520 -520
  52. package/src/filiale/yangchunboneng/android/AppDevicesManagement.vue +645 -645
  53. package/src/filiale/yangchunboneng/android/AppServiceControl.vue +1703 -1703
  54. package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +547 -547
  55. package/src/filiale/yangchunboneng/pc/ServiceControl.vue +2112 -2112
  56. package/src/filiale/yangchunboneng/pc/ServiceView.vue +1007 -1007
  57. package/src/filiale/yangchunboneng/pc/SupervisoryList.vue +605 -605
  58. package/src/filiale/yangchunboneng/pc/SupervisoryListNew.vue +683 -683
  59. package/src/filiale/yangchunboneng/pc/chargeManagement.vue +1053 -1053
  60. package/src/filiale/yangchunboneng/pc/devicesManagement.vue +574 -574
  61. package/src/main.js +3 -3
  62. package/~/chatbot/main.py +57 -0
  63. package/src/filiale/fugou/pc/SupervisoryServiceControl.vue +0 -881
@@ -1,309 +1,309 @@
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">处理时间</th>
11
- <th class="textNoLineBreak">处理方式</th>
12
- <th class="textNoLineBreak">
13
- <button :readonly="mark !== 1" type="button" class="btn btn-primary" @click="$parent.$parent.openMaterialModal()">添加
14
- </button>
15
- </th>
16
- </tr>
17
- </template>
18
- <template partial='body'>
19
- <tr>
20
- <td style="text-align: center;">
21
- <nobr>{{row.f_operator}}</nobr>
22
- </td>
23
- <td style="text-align: center;">
24
- <nobr>{{row.f_operation_date}}</nobr>
25
- </td>
26
- <td style="text-align: center;">
27
- <nobr>{{ row.f_log_content.length > 20 ? row.f_log_content.substring(0, 50) + '...' : row.f_log_content }}</nobr>
28
- </td>
29
- <td style="text-align: center;">
30
- <nobr>{{row.f_dispose_person}}</nobr>
31
- </td>
32
- <td style="text-align: center;">
33
- <nobr>{{row.f_dispose_time}}</nobr>
34
- </td>
35
- <td style="text-align: center;">
36
- <nobr>{{row.f_dispose_manner}}</nobr>
37
- </td>
38
- <td style="text-align: center;">
39
- <button v-if="$parent.$parent.mark === 0" type="button" class="button_delete button_spacing" @click="$parent.$parent.Dispose(row)">处理
40
- </button>
41
- <button v-if="$parent.$parent.mark === 0" type="button" class="button_delete button_spacing" @click="$parent.$parent.deletelogs(row)">删除
42
- </button>
43
- <button v-if="$parent.$parent.mark === 0" type="button" class="button_delete button_spacing" @click="$parent.$parent.look(row)">查看
44
- </button>
45
- </td>
46
- </tr>
47
- </template>
48
- </data-grid>
49
- <modal v-if="showMaterialModal" :show.sync="showMaterialModal" v-ref:modal :large="true"
50
- :backdrop="false" :title="title">
51
- <header slot="modal-header" class="modal-header">
52
- <button type="button" class="close" @click="closeMaterials"><span>&times;</span></button>
53
- <h4 class="modal-title">{{title}}</h4>
54
- </header>
55
- <article slot="modal-body" class="modal-body clearfix">
56
- <div v-for="(i,item) in materials" class="form-group col-sm-12 panel panel-info">
57
- <div class="row">
58
- <div class="form-group col-sm-6">
59
- <label class="col-sm-4 control-label">遗留问题:</label>
60
- <textarea
61
- class="form-control"
62
- v-model="item.f_log_content"
63
- rows="3"
64
- ></textarea>
65
- </div>
66
- </div>
67
-
68
- </div>
69
- </article>
70
- <footer slot="modal-footer" class="modal-footer">
71
- <template v-if="mark!== 1">
72
- <button type="button" class="btn btn-primary" v-if="title==='新增'" @click="addlogs()"
73
- :disabled="!$v.valid">确认
74
- </button>
75
- <button type="button" class="btn btn-primary" v-if="title==='查看'" @click="changelogs()"
76
- :disabled="!$v.valid">修改
77
- </button>
78
- </template>
79
- </footer>
80
- </modal>
81
- <modal v-if="showdispose" :show.sync="showdispose" v-ref:modal :large="true"
82
- :backdrop="false" :title="title">
83
- <header slot="modal-header" class="modal-header">
84
- <button type="button" class="close" @click="closeMaterials"><span>&times;</span></button>
85
- <h4 class="modal-title">{{title}}</h4>
86
- </header>
87
- <article slot="modal-body" class="modal-body clearfix">
88
- <div v-for="(i,item) in content" class="form-group col-sm-12 panel panel-info">
89
- <div class="row">
90
- <div class="form-group col-sm-6" >
91
- <label class="col-sm-4 control-label">是否处理:</label>
92
- <div class="col-sm-8">
93
- <input-select
94
- class="select select_list"
95
- :value.sync="item.f_is_dispose"
96
- v-model="item.f_is_dispose"
97
- :options="Options"
98
- :valueSingle="true"></input-select>
99
- </div>
100
- </div>
101
- <div class="form-group col-sm-6" >
102
- <label class="col-sm-4 control-label">处理结果:</label>
103
- <div class="col-sm-8">
104
- <input v-model="item.f_dispose_manner"></input>
105
- </div>
106
- </div>
107
- </div>
108
- </div>
109
- </article>
110
- <footer slot="modal-footer" class="modal-footer">
111
- <button type="button" class="btn btn-primary" @click="Confirmdispose()"
112
- >确认
113
- </button>
114
- </footer>
115
- </modal>
116
- </div>
117
- </template>
118
-
119
- <script>
120
- import {HttpResetClass} from 'vue-client'
121
- import Vue from "vue";
122
-
123
- export default {
124
- name: '遗留问题',
125
- props: {
126
- selectdata: {
127
- type: Object
128
- },
129
- mark: {
130
- type: Number,
131
- default: 0
132
- }
133
- },
134
- data() {
135
- return {
136
- onetomany: {
137
- rows: []
138
- },
139
- disOptions: this.$appdata.getParam('遗留问题处理'),
140
- Options: [ {label: '是', value: '是'},{label: '否', value: '否'} ],
141
- title: '新增',
142
- showdispose: false,
143
- showMaterialModal: false,
144
- materials: [
145
- {
146
-
147
- }
148
- ],
149
- content: [
150
- {
151
-
152
- }
153
- ],
154
- meterialOptions: [],
155
- row: {},
156
- bjqChecklag:[],
157
- fmaterialname:{}
158
- }
159
- },
160
- ready() {
161
- this.getOnetoManyData()
162
- },
163
- methods: {
164
- look(row){
165
- this.title = '查看'
166
- this.materials = [
167
- {
168
- id: row.id,
169
- f_log_content:row.f_log_content
170
- }
171
- ],
172
- this.showMaterialModal= true
173
- },
174
- Confirmdispose(){
175
- let http = new HttpResetClass()
176
- let s={
177
- id:this.content[0].id,
178
- f_process_id:this.selectdata.f_process_id,
179
- f_dispose_time:new Date().Format('yyyy-MM-dd HH:mm:ss'),
180
- f_dispose_person:this.$login.f.name,
181
- f_dispose_manner:this.content[0].f_dispose_manner,
182
- f_is_dispose:this.content[0].f_is_dispose
183
- }
184
- let data = {
185
- tableName:'t_legacy_issues',
186
- model:s
187
- }
188
- http.load(
189
- 'POST',
190
- `${this.$androidUtil.getProxyUrl()}/rs/logic/entitySingleTable`,
191
- data,
192
- {resolveMsg: '修改成功', rejectMsg: '添加失败'}
193
- ).then(res => {
194
- this.closeMaterials()
195
- })
196
- },
197
- Dispose(row){
198
- this.title = '处理'
199
- this.content = [
200
- {
201
- id: row.id,
202
- f_log_content:row.f_log_content,
203
- f_is_dispose:'',
204
- f_dispose_manner:''
205
- }
206
- ],
207
- this.showdispose = true
208
- },
209
- changelogs(){
210
- let http = new HttpResetClass()
211
- let s={
212
- id:this.materials[0].id,
213
- f_process_id:this.selectdata.f_process_id,
214
- f_operation_date:new Date().Format('yyyy-MM-dd HH:mm:ss'),
215
- f_log_content:this.materials[0].f_log_content,
216
- f_operator:this.$login.f.name,
217
- f_operator_id:this.$login.f.id
218
- }
219
- let data = {
220
- tableName:'t_legacy_issues',
221
- model:s
222
- }
223
- http.load(
224
- 'POST',
225
- `${this.$androidUtil.getProxyUrl()}/rs/logic/entitySingleTable`,
226
- data,
227
- {resolveMsg: '修改成功', rejectMsg: '添加失败'}
228
- ).then(res => {
229
- this.closeMaterials()
230
- })
231
- },
232
- addlogs(){
233
- let http = new HttpResetClass()
234
- let s={
235
- f_process_id:this.selectdata.f_process_id,
236
- f_operation_date:new Date().Format('yyyy-MM-dd HH:mm:ss'),
237
- f_log_content:this.materials[0].f_log_content,
238
- f_operator:this.$login.f.name,
239
- f_operator_id:this.$login.f.id
240
- }
241
- let data = {
242
- tableName:'t_legacy_issues',
243
- model:s
244
- }
245
- http.load(
246
- 'POST',
247
- `${this.$androidUtil.getProxyUrl()}/rs/logic/entitySingleTable`,
248
- data,
249
- {resolveMsg: '添加成功', rejectMsg: '添加失败'}
250
- ).then(res => {
251
- this.closeMaterials()
252
- })
253
- },
254
- deletelogs(row){
255
- let http = new HttpResetClass()
256
- this.$showMessage('删除后不可恢复,确认删除吗?', ['confirm', 'cancel']).then((res) => {
257
- if (res === 'confirm') {
258
- let data = {
259
- tableName:'t_legacy_issues',
260
- id:row.id
261
- }
262
- http.load(
263
- 'POST',
264
- `${this.$androidUtil.getProxyUrl()}/rs/logic/delentitySingleTable`,
265
- data,
266
- {resolveMsg: '删除成功', rejectMsg: '删除失败'}
267
- ).then(res => {
268
- this.getOnetoManyData()
269
- })
270
- }
271
- })
272
- },
273
- async getOnetoManyData () {
274
- let http = new HttpResetClass()
275
- let data = {
276
- tablename: `t_legacy_issues`,
277
- condition: `f_process_id='${this.selectdata.f_process_id}'`
278
- }
279
- let res = await http.load(
280
- 'POST',
281
- `${this.$androidUtil.getProxyUrl()}/rs/sql/apply_singleTable?aaa=123`,
282
- {data: data},
283
- {resolveMsg: null, rejectMsg: 'onetomany查询失败'}
284
- )
285
- this.onetomany.rows = res.data
286
- },
287
- async openMaterialModal() {
288
- this.title = '新增'
289
- this.materials = [
290
- {
291
- f_log_type:'',
292
- f_logs_content:''
293
- }
294
- ],
295
- this.showMaterialModal = true
296
- },
297
- closeMaterials() {
298
- this.showdispose= false
299
- this.getOnetoManyData()
300
- this.showMaterialModal = false
301
- }
302
- }
303
- }
304
-
305
- </script>
306
-
307
- <style scoped>
308
-
309
- </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">处理时间</th>
11
+ <th class="textNoLineBreak">处理方式</th>
12
+ <th class="textNoLineBreak">
13
+ <button :readonly="mark !== 1" type="button" class="btn btn-primary" @click="$parent.$parent.openMaterialModal()">添加
14
+ </button>
15
+ </th>
16
+ </tr>
17
+ </template>
18
+ <template partial='body'>
19
+ <tr>
20
+ <td style="text-align: center;">
21
+ <nobr>{{row.f_operator}}</nobr>
22
+ </td>
23
+ <td style="text-align: center;">
24
+ <nobr>{{row.f_operation_date}}</nobr>
25
+ </td>
26
+ <td style="text-align: center;">
27
+ <nobr>{{ row.f_log_content.length > 20 ? row.f_log_content.substring(0, 50) + '...' : row.f_log_content }}</nobr>
28
+ </td>
29
+ <td style="text-align: center;">
30
+ <nobr>{{row.f_dispose_person}}</nobr>
31
+ </td>
32
+ <td style="text-align: center;">
33
+ <nobr>{{row.f_dispose_time}}</nobr>
34
+ </td>
35
+ <td style="text-align: center;">
36
+ <nobr>{{row.f_dispose_manner}}</nobr>
37
+ </td>
38
+ <td style="text-align: center;">
39
+ <button v-if="$parent.$parent.mark === 0" type="button" class="button_delete button_spacing" @click="$parent.$parent.Dispose(row)">处理
40
+ </button>
41
+ <button v-if="$parent.$parent.mark === 0" type="button" class="button_delete button_spacing" @click="$parent.$parent.deletelogs(row)">删除
42
+ </button>
43
+ <button v-if="$parent.$parent.mark === 0" type="button" class="button_delete button_spacing" @click="$parent.$parent.look(row)">查看
44
+ </button>
45
+ </td>
46
+ </tr>
47
+ </template>
48
+ </data-grid>
49
+ <modal v-if="showMaterialModal" :show.sync="showMaterialModal" v-ref:modal :large="true"
50
+ :backdrop="false" :title="title">
51
+ <header slot="modal-header" class="modal-header">
52
+ <button type="button" class="close" @click="closeMaterials"><span>&times;</span></button>
53
+ <h4 class="modal-title">{{title}}</h4>
54
+ </header>
55
+ <article slot="modal-body" class="modal-body clearfix">
56
+ <div v-for="(i,item) in materials" class="form-group col-sm-12 panel panel-info">
57
+ <div class="row">
58
+ <div class="form-group col-sm-6">
59
+ <label class="col-sm-4 control-label">遗留问题:</label>
60
+ <textarea
61
+ class="form-control"
62
+ v-model="item.f_log_content"
63
+ rows="3"
64
+ ></textarea>
65
+ </div>
66
+ </div>
67
+
68
+ </div>
69
+ </article>
70
+ <footer slot="modal-footer" class="modal-footer">
71
+ <template v-if="mark!== 1">
72
+ <button type="button" class="btn btn-primary" v-if="title==='新增'" @click="addlogs()"
73
+ :disabled="!$v.valid">确认
74
+ </button>
75
+ <button type="button" class="btn btn-primary" v-if="title==='查看'" @click="changelogs()"
76
+ :disabled="!$v.valid">修改
77
+ </button>
78
+ </template>
79
+ </footer>
80
+ </modal>
81
+ <modal v-if="showdispose" :show.sync="showdispose" v-ref:modal :large="true"
82
+ :backdrop="false" :title="title">
83
+ <header slot="modal-header" class="modal-header">
84
+ <button type="button" class="close" @click="closeMaterials"><span>&times;</span></button>
85
+ <h4 class="modal-title">{{title}}</h4>
86
+ </header>
87
+ <article slot="modal-body" class="modal-body clearfix">
88
+ <div v-for="(i,item) in content" class="form-group col-sm-12 panel panel-info">
89
+ <div class="row">
90
+ <div class="form-group col-sm-6" >
91
+ <label class="col-sm-4 control-label">是否处理:</label>
92
+ <div class="col-sm-8">
93
+ <input-select
94
+ class="select select_list"
95
+ :value.sync="item.f_is_dispose"
96
+ v-model="item.f_is_dispose"
97
+ :options="Options"
98
+ :valueSingle="true"></input-select>
99
+ </div>
100
+ </div>
101
+ <div class="form-group col-sm-6" >
102
+ <label class="col-sm-4 control-label">处理结果:</label>
103
+ <div class="col-sm-8">
104
+ <input v-model="item.f_dispose_manner"></input>
105
+ </div>
106
+ </div>
107
+ </div>
108
+ </div>
109
+ </article>
110
+ <footer slot="modal-footer" class="modal-footer">
111
+ <button type="button" class="btn btn-primary" @click="Confirmdispose()"
112
+ >确认
113
+ </button>
114
+ </footer>
115
+ </modal>
116
+ </div>
117
+ </template>
118
+
119
+ <script>
120
+ import {HttpResetClass} from 'vue-client'
121
+ import Vue from "vue";
122
+
123
+ export default {
124
+ name: '遗留问题',
125
+ props: {
126
+ selectdata: {
127
+ type: Object
128
+ },
129
+ mark: {
130
+ type: Number,
131
+ default: 0
132
+ }
133
+ },
134
+ data() {
135
+ return {
136
+ onetomany: {
137
+ rows: []
138
+ },
139
+ disOptions: this.$appdata.getParam('遗留问题处理'),
140
+ Options: [ {label: '是', value: '是'},{label: '否', value: '否'} ],
141
+ title: '新增',
142
+ showdispose: false,
143
+ showMaterialModal: false,
144
+ materials: [
145
+ {
146
+
147
+ }
148
+ ],
149
+ content: [
150
+ {
151
+
152
+ }
153
+ ],
154
+ meterialOptions: [],
155
+ row: {},
156
+ bjqChecklag:[],
157
+ fmaterialname:{}
158
+ }
159
+ },
160
+ ready() {
161
+ this.getOnetoManyData()
162
+ },
163
+ methods: {
164
+ look(row){
165
+ this.title = '查看'
166
+ this.materials = [
167
+ {
168
+ id: row.id,
169
+ f_log_content:row.f_log_content
170
+ }
171
+ ],
172
+ this.showMaterialModal= true
173
+ },
174
+ Confirmdispose(){
175
+ let http = new HttpResetClass()
176
+ let s={
177
+ id:this.content[0].id,
178
+ f_process_id:this.selectdata.f_process_id,
179
+ f_dispose_time:new Date().Format('yyyy-MM-dd HH:mm:ss'),
180
+ f_dispose_person:this.$login.f.name,
181
+ f_dispose_manner:this.content[0].f_dispose_manner,
182
+ f_is_dispose:this.content[0].f_is_dispose
183
+ }
184
+ let data = {
185
+ tableName:'t_legacy_issues',
186
+ model:s
187
+ }
188
+ http.load(
189
+ 'POST',
190
+ `${this.$androidUtil.getProxyUrl()}/rs/logic/entitySingleTable`,
191
+ data,
192
+ {resolveMsg: '修改成功', rejectMsg: '添加失败'}
193
+ ).then(res => {
194
+ this.closeMaterials()
195
+ })
196
+ },
197
+ Dispose(row){
198
+ this.title = '处理'
199
+ this.content = [
200
+ {
201
+ id: row.id,
202
+ f_log_content:row.f_log_content,
203
+ f_is_dispose:'',
204
+ f_dispose_manner:''
205
+ }
206
+ ],
207
+ this.showdispose = true
208
+ },
209
+ changelogs(){
210
+ let http = new HttpResetClass()
211
+ let s={
212
+ id:this.materials[0].id,
213
+ f_process_id:this.selectdata.f_process_id,
214
+ f_operation_date:new Date().Format('yyyy-MM-dd HH:mm:ss'),
215
+ f_log_content:this.materials[0].f_log_content,
216
+ f_operator:this.$login.f.name,
217
+ f_operator_id:this.$login.f.id
218
+ }
219
+ let data = {
220
+ tableName:'t_legacy_issues',
221
+ model:s
222
+ }
223
+ http.load(
224
+ 'POST',
225
+ `${this.$androidUtil.getProxyUrl()}/rs/logic/entitySingleTable`,
226
+ data,
227
+ {resolveMsg: '修改成功', rejectMsg: '添加失败'}
228
+ ).then(res => {
229
+ this.closeMaterials()
230
+ })
231
+ },
232
+ addlogs(){
233
+ let http = new HttpResetClass()
234
+ let s={
235
+ f_process_id:this.selectdata.f_process_id,
236
+ f_operation_date:new Date().Format('yyyy-MM-dd HH:mm:ss'),
237
+ f_log_content:this.materials[0].f_log_content,
238
+ f_operator:this.$login.f.name,
239
+ f_operator_id:this.$login.f.id
240
+ }
241
+ let data = {
242
+ tableName:'t_legacy_issues',
243
+ model:s
244
+ }
245
+ http.load(
246
+ 'POST',
247
+ `${this.$androidUtil.getProxyUrl()}/rs/logic/entitySingleTable`,
248
+ data,
249
+ {resolveMsg: '添加成功', rejectMsg: '添加失败'}
250
+ ).then(res => {
251
+ this.closeMaterials()
252
+ })
253
+ },
254
+ deletelogs(row){
255
+ let http = new HttpResetClass()
256
+ this.$showMessage('删除后不可恢复,确认删除吗?', ['confirm', 'cancel']).then((res) => {
257
+ if (res === 'confirm') {
258
+ let data = {
259
+ tableName:'t_legacy_issues',
260
+ id:row.id
261
+ }
262
+ http.load(
263
+ 'POST',
264
+ `${this.$androidUtil.getProxyUrl()}/rs/logic/delentitySingleTable`,
265
+ data,
266
+ {resolveMsg: '删除成功', rejectMsg: '删除失败'}
267
+ ).then(res => {
268
+ this.getOnetoManyData()
269
+ })
270
+ }
271
+ })
272
+ },
273
+ async getOnetoManyData () {
274
+ let http = new HttpResetClass()
275
+ let data = {
276
+ tablename: `t_legacy_issues`,
277
+ condition: `f_process_id='${this.selectdata.f_process_id}'`
278
+ }
279
+ let res = await http.load(
280
+ 'POST',
281
+ `${this.$androidUtil.getProxyUrl()}/rs/sql/apply_singleTable?aaa=123`,
282
+ {data: data},
283
+ {resolveMsg: null, rejectMsg: 'onetomany查询失败'}
284
+ )
285
+ this.onetomany.rows = res.data
286
+ },
287
+ async openMaterialModal() {
288
+ this.title = '新增'
289
+ this.materials = [
290
+ {
291
+ f_log_type:'',
292
+ f_logs_content:''
293
+ }
294
+ ],
295
+ this.showMaterialModal = true
296
+ },
297
+ closeMaterials() {
298
+ this.showdispose= false
299
+ this.getOnetoManyData()
300
+ this.showMaterialModal = false
301
+ }
302
+ }
303
+ }
304
+
305
+ </script>
306
+
307
+ <style scoped>
308
+
309
+ </style>