apply-clients 3.5.4-87 → 3.5.4-89

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 (62) hide show
  1. package/app/src/main/java/com/example/phonechatbot/MainActivity.java +50 -0
  2. package/build/dev-server.js +9 -5
  3. package/package.json +3 -3
  4. package/src/App.vue +3 -3
  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/ServiceView.vue +1026 -1026
  11. package/src/components/product/Supervisory/SupervisoryList.vue +452 -452
  12. package/src/filiale/baiyin/android/ByAddMaterialScience.vue +824 -824
  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 +1845 -1845
  18. package/src/filiale/fugou/android/AppZhihuanManagement.vue +197 -197
  19. package/src/filiale/fugou/android/printCharge.vue +162 -162
  20. package/src/filiale/fugou/android.js +16 -16
  21. package/src/filiale/fugou/pc/ExplorationSelect.vue +525 -525
  22. package/src/filiale/fugou/pc/ServiceControl.vue +1705 -1705
  23. package/src/filiale/fugou/pc/ServiceView.vue +941 -941
  24. package/src/filiale/fugou/pc/chargeReport.vue +143 -0
  25. package/src/filiale/fugou/pc/devicesManagement.vue +483 -483
  26. package/src/filiale/fugou/pc/printChargepc.vue +148 -148
  27. package/src/filiale/fugou/pc.js +15 -14
  28. package/src/filiale/gongyi/android/AppAddMaterialScience.vue +493 -493
  29. package/src/filiale/gongyi/android/AppDisclosurerecord.vue +214 -214
  30. package/src/filiale/gongyi/android/AppInstallationDetails.vue +500 -500
  31. package/src/filiale/gongyi/android/AppLegacyIssues.vue +309 -309
  32. package/src/filiale/gongyi/android/AppSign.vue +170 -170
  33. package/src/filiale/gongyi/android/AppSupplementalAgreement.vue +298 -298
  34. package/src/filiale/gongyi/android.js +18 -18
  35. package/src/filiale/gongyi/pc/ApplyUpload.vue +371 -371
  36. package/src/filiale/gongyi/pc/PcAddLogs.vue +221 -221
  37. package/src/filiale/gongyi/pc/PcDisclosurerecord.vue +218 -218
  38. package/src/filiale/gongyi/pc/PcLegacyIssues.vue +309 -309
  39. package/src/filiale/gongyi/pc/SupervisoryServiceControl.vue +894 -894
  40. package/src/filiale/gongyi/pc/SupervisoryServiceView.vue +1005 -1005
  41. package/src/filiale/gongyi/pc/addMaterialScience.vue +575 -575
  42. package/src/filiale/gongyi/pc/chargeManagement.vue +765 -765
  43. package/src/filiale/gongyi/pc/supplementalAgreement.vue +277 -277
  44. package/src/filiale/gongyi/pc.js +24 -24
  45. package/src/filiale/hongda/pc/SupervisoryList.vue +422 -422
  46. package/src/filiale/jingyang/pc/SupervisoryList.vue +459 -459
  47. package/src/filiale/qianneng/android/AppChargeManagement.vue +686 -686
  48. package/src/filiale/qianneng/android.js +15 -15
  49. package/src/filiale/qianneng/pc/ApplyMaterialDetailed.vue +261 -261
  50. package/src/filiale/qianneng/pc/Applydetail.vue +378 -378
  51. package/src/filiale/qianneng/pc/InstallFunction.vue +188 -188
  52. package/src/filiale/qianneng/pc.js +29 -29
  53. package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +527 -527
  54. package/src/filiale/yangchunboneng/android/AppDevicesManagement.vue +639 -639
  55. package/src/filiale/yangchunboneng/android/AppServiceControl.vue +1681 -1681
  56. package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +548 -548
  57. package/src/filiale/yangchunboneng/pc/ServiceControl.vue +2075 -2075
  58. package/src/filiale/yangchunboneng/pc/SupervisoryList.vue +590 -590
  59. package/src/filiale/yangchunboneng/pc/SupervisoryListNew.vue +628 -628
  60. package/src/filiale/yangchunboneng/pc/chargeManagement.vue +1059 -1059
  61. package/src/main.js +3 -3
  62. package/~/chatbot/main.py +57 -0
@@ -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 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 type="button" class="button_delete button_spacing" @click="$parent.$parent.Dispose(row)">处理
40
- </button>
41
- <button type="button" class="button_delete button_spacing" @click="$parent.$parent.deletelogs(row)">删除
42
- </button>
43
- <button 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-select
105
- class="select select_list"
106
- :value.sync="item.f_dispose_manner"
107
- v-model="item.f_dispose_manner"
108
- :options="disOptions"
109
- :valueSingle="true"></input-select>
110
- </div>
111
- </div>
112
- </div>
113
- </div>
114
- </article>
115
- <footer slot="modal-footer" class="modal-footer">
116
- <button type="button" class="btn btn-primary" @click="Confirmdispose()"
117
- >确认
118
- </button>
119
- </footer>
120
- </modal>
121
- </div>
122
- </template>
123
-
124
- <script>
125
- import {HttpResetClass} from 'vue-client'
126
-
127
- export default {
128
- name: '遗留问题',
129
- props: {
130
- selectdata: {
131
- type: Object
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:Vue.user.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
- `/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:Vue.user.name,
217
- f_operator_id:Vue.user.id
218
- }
219
- let data = {
220
- tableName:'t_legacy_issues',
221
- model:s
222
- }
223
- http.load(
224
- 'POST',
225
- `/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:Vue.user.name,
239
- f_operator_id:Vue.user.id
240
- }
241
- let data = {
242
- tableName:'t_legacy_issues',
243
- model:s
244
- }
245
- http.load(
246
- 'POST',
247
- `/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
- `/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
- `/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.getOnetoManyData()
299
- this.showMaterialModal = false
300
- this.showdispose= 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 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 type="button" class="button_delete button_spacing" @click="$parent.$parent.Dispose(row)">处理
40
+ </button>
41
+ <button type="button" class="button_delete button_spacing" @click="$parent.$parent.deletelogs(row)">删除
42
+ </button>
43
+ <button 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-select
105
+ class="select select_list"
106
+ :value.sync="item.f_dispose_manner"
107
+ v-model="item.f_dispose_manner"
108
+ :options="disOptions"
109
+ :valueSingle="true"></input-select>
110
+ </div>
111
+ </div>
112
+ </div>
113
+ </div>
114
+ </article>
115
+ <footer slot="modal-footer" class="modal-footer">
116
+ <button type="button" class="btn btn-primary" @click="Confirmdispose()"
117
+ >确认
118
+ </button>
119
+ </footer>
120
+ </modal>
121
+ </div>
122
+ </template>
123
+
124
+ <script>
125
+ import {HttpResetClass} from 'vue-client'
126
+
127
+ export default {
128
+ name: '遗留问题',
129
+ props: {
130
+ selectdata: {
131
+ type: Object
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:Vue.user.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
+ `/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:Vue.user.name,
217
+ f_operator_id:Vue.user.id
218
+ }
219
+ let data = {
220
+ tableName:'t_legacy_issues',
221
+ model:s
222
+ }
223
+ http.load(
224
+ 'POST',
225
+ `/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:Vue.user.name,
239
+ f_operator_id:Vue.user.id
240
+ }
241
+ let data = {
242
+ tableName:'t_legacy_issues',
243
+ model:s
244
+ }
245
+ http.load(
246
+ 'POST',
247
+ `/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
+ `/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
+ `/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.getOnetoManyData()
299
+ this.showMaterialModal = false
300
+ this.showdispose= false
301
+ }
302
+ }
303
+ }
304
+
305
+ </script>
306
+
307
+ <style scoped>
308
+
309
+ </style>