apply-clients 3.5.5-8 → 3.5.5-80

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 (90) hide show
  1. package/build/dev-server.js +5 -13
  2. package/package.json +6 -4
  3. package/src/App.vue +25 -25
  4. package/src/apply.js +141 -141
  5. package/src/components/QXClient.js +333 -0
  6. package/src/components/SignTools.js +65 -0
  7. package/src/components/android/Process/AppChargeList.vue +8 -0
  8. package/src/components/android/Process/AppExplorationUser.vue +1 -2
  9. package/src/components/product/Function/Service/FunctionServiceControl.vue +497 -497
  10. package/src/components/product/Install/ContractCharge.vue +3 -3
  11. package/src/components/product/MaterialsManage/MaterialsBase.vue +181 -181
  12. package/src/components/product/MaterialsManage/MaterialsManage.vue +60 -60
  13. package/src/components/product/Process/Processes/contractModel.vue +436 -424
  14. package/src/components/product/Supervisory/SupervisoryList.vue +452 -452
  15. package/src/filiale/baiyin/android/ByAddMaterialScience.vue +2 -0
  16. package/src/filiale/dingcheng/pc/SupervisoryList.vue +441 -441
  17. package/src/filiale/fugou/android/AppAddMaterialScience.vue +20 -16
  18. package/src/filiale/fugou/android/AppAddReplacement.vue +512 -341
  19. package/src/filiale/fugou/android/AppDevicesManagement.vue +3 -1
  20. package/src/filiale/fugou/android/AppExplorationUser.vue +3 -3
  21. package/src/filiale/fugou/android/AppInstallationDetails.vue +2 -1
  22. package/src/filiale/fugou/android/AppServiceControl.vue +11 -7
  23. package/src/filiale/fugou/android/AppZhihuanManagement.vue +3 -1
  24. package/src/filiale/fugou/pc/AddReplacement.vue +511 -340
  25. package/src/filiale/fugou/pc/ApplyChargeList.vue +487 -480
  26. package/src/filiale/fugou/pc/Applybatchdispatch.vue +754 -0
  27. package/src/filiale/fugou/pc/ExplorationSelect.vue +3 -4
  28. package/src/filiale/fugou/pc/ServiceControl.vue +1720 -1705
  29. package/src/filiale/fugou/pc/StopApplyList.vue +291 -0
  30. package/src/filiale/fugou/pc/addressAndUserinfoManagement.vue +1 -1
  31. package/src/filiale/fugou/pc/chargeReport.vue +87 -15
  32. package/src/filiale/fugou/pc/devicesManagement.vue +1 -0
  33. package/src/filiale/fugou/pc.js +19 -17
  34. package/src/filiale/gongyi/android/AppDisclosurerecord.vue +214 -214
  35. package/src/filiale/gongyi/android/AppInstallationDetails.vue +500 -500
  36. package/src/filiale/gongyi/android/AppLegacyIssues.vue +309 -309
  37. package/src/filiale/gongyi/android/AppSign.vue +170 -170
  38. package/src/filiale/gongyi/android/AppSupplementalAgreement.vue +298 -298
  39. package/src/filiale/gongyi/android.js +18 -18
  40. package/src/filiale/gongyi/pc/ApplyUpload.vue +371 -371
  41. package/src/filiale/gongyi/pc/PcAddLogs.vue +221 -221
  42. package/src/filiale/gongyi/pc/PcDisclosurerecord.vue +218 -218
  43. package/src/filiale/gongyi/pc/PcLegacyIssues.vue +309 -309
  44. package/src/filiale/gongyi/pc/SupervisoryServiceControl.vue +894 -894
  45. package/src/filiale/gongyi/pc/SupervisoryServiceView.vue +1005 -1005
  46. package/src/filiale/gongyi/pc/addMaterialScience.vue +575 -575
  47. package/src/filiale/gongyi/pc/chargeManagement.vue +765 -765
  48. package/src/filiale/gongyi/pc/supplementalAgreement.vue +277 -277
  49. package/src/filiale/gongyi/pc.js +24 -24
  50. package/src/filiale/hongda/pc/SupervisoryList.vue +422 -422
  51. package/src/filiale/jingyang/pc/SupervisoryList.vue +459 -459
  52. package/src/filiale/jinhuang/android/AppAddMaterialScience.vue +635 -0
  53. package/src/filiale/jinhuang/android.js +6 -0
  54. package/src/filiale/jinhuang/pc/ContractList.vue +220 -0
  55. package/src/filiale/jinhuang/pc/ExplorationSelect.vue +523 -0
  56. package/src/filiale/jinhuang/pc/ServiceControl.vue +7 -0
  57. package/src/filiale/jinhuang/pc/addMaterialScience.vue +638 -0
  58. package/src/filiale/jinhuang/pc/addressAndUserinfoManagement.vue +41 -1
  59. package/src/filiale/jinhuang/pc.js +3 -0
  60. package/src/filiale/qianneng/android/AppServiceView.vue +13 -13
  61. package/src/filiale/qianneng/pc/ApplyMaterialDetailed.vue +1 -1
  62. package/src/filiale/qianneng/pc/Applybatchdispatch.vue +8 -5
  63. package/src/filiale/qianneng/pc/Applydetail.vue +1 -1
  64. package/src/filiale/qianneng/pc/FunctionServiceControl.vue +10 -3
  65. package/src/filiale/qianneng/pc/ServiceControl.vue +8 -3
  66. package/src/filiale/ruihua/pc/ServiceControl.vue +2 -1
  67. package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +11 -4
  68. package/src/filiale/yangchunboneng/android/AppContractCharge.vue +3 -3
  69. package/src/filiale/yangchunboneng/android/AppExplorationUser.vue +72 -5
  70. package/src/filiale/yangchunboneng/android/AppInstallationMaterial.vue +30 -1
  71. package/src/filiale/yangchunboneng/android/AppProcessSupervisory.vue +331 -0
  72. package/src/filiale/yangchunboneng/android/AppServiceControl.vue +219 -43
  73. package/src/filiale/yangchunboneng/android/MaterIialOne.vue +21 -1
  74. package/src/filiale/yangchunboneng/android.js +2 -1
  75. package/src/filiale/yangchunboneng/pc/ApplyChargeList.vue +32 -4
  76. package/src/filiale/yangchunboneng/pc/ApplyUpload.vue +3 -3
  77. package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +114 -49
  78. package/src/filiale/yangchunboneng/pc/ServiceControl.vue +4 -2
  79. package/src/filiale/yangchunboneng/pc/StopApplyList.vue +294 -0
  80. package/src/filiale/yangchunboneng/pc/SupervisoryControl.vue +141 -0
  81. package/src/filiale/yangchunboneng/pc/SupervisoryList.vue +54 -42
  82. package/src/filiale/yangchunboneng/pc/SupervisoryListNew.vue +5 -1
  83. package/src/filiale/yangchunboneng/pc/SupervisoryServiceView.vue +1 -1
  84. package/src/filiale/yangchunboneng/pc/buildOrderList.vue +411 -0
  85. package/src/filiale/yangchunboneng/pc/chargeManagement.vue +5 -1
  86. package/src/filiale/yangchunboneng/pc/constructionInfo.vue +84 -0
  87. package/src/filiale/yangchunboneng/pc/printBuildOrder.vue +175 -0
  88. package/src/filiale/yangchunboneng/pc.js +6 -1
  89. package/src/main.js +1 -1
  90. package/~/chatbot/main.py +0 -57
@@ -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>