apply-clients 3.5.4-8 → 3.5.4-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 (103) hide show
  1. package/build/dev-server.js +6 -2
  2. package/package.json +2 -2
  3. package/src/App.vue +4 -4
  4. package/src/apply.js +2 -3
  5. package/src/applyAndroid.js +2 -0
  6. package/src/assets//344/270/213/350/275/275.png +0 -0
  7. package/src/components/android/AppCheckTakePic.vue +168 -0
  8. package/src/components/android/Process/AppServiceControl.vue +4 -0
  9. package/src/components/android/Process/Processes/AppChargeManagementNew.vue +637 -0
  10. package/src/components/image/dxf.png +0 -0
  11. package/src/components/product/Function/Service/FunctionServiceControl.vue +1 -1
  12. package/src/components/product/Material/MaterialDetailed.vue +268 -268
  13. package/src/components/product/MaterialsManage/MaterialsBase.vue +5 -1
  14. package/src/components/product/MaterialsManage/MaterialsManage.vue +2 -2
  15. package/src/components/product/PcZhihuanManagement.vue +160 -0
  16. package/src/components/product/Process/ExplorationSelect.vue +4 -1
  17. package/src/components/product/Process/ExplorationUser.vue +1 -0
  18. package/src/components/product/Process/Processes/chargeManagement.vue +1 -1
  19. package/src/components/product/ServiceView.vue +22 -1
  20. package/src/components/product/Supervisory/SupervisoryControl.vue +1 -0
  21. package/src/filiale/baiyin/android/AppServiceControl.vue +1762 -0
  22. package/src/filiale/baiyin/android/ByAddMaterialScience.vue +823 -0
  23. package/src/filiale/baiyin/android/ByDeviceManagement.vue +916 -0
  24. package/src/filiale/baiyin/android.js +8 -0
  25. package/src/filiale/fugou/android/AppAddMaterialScience.vue +448 -0
  26. package/src/filiale/fugou/android/AppAddReplacement.vue +341 -0
  27. package/src/filiale/fugou/android/AppChargeManagement.vue +739 -625
  28. package/src/filiale/fugou/android/AppDevicesManagement.vue +519 -0
  29. package/src/filiale/fugou/android/AppInstallationDetails.vue +541 -0
  30. package/src/filiale/fugou/android/AppServiceControl.vue +38 -5
  31. package/src/filiale/fugou/android/AppZhihuanManagement.vue +191 -0
  32. package/src/filiale/fugou/android.js +7 -1
  33. package/src/filiale/fugou/pc/AddReplacement.vue +340 -0
  34. package/src/filiale/fugou/pc/ExplorationSelect.vue +525 -0
  35. package/src/filiale/fugou/pc/InstallationDetails.vue +54 -43
  36. package/src/filiale/fugou/pc/ServiceControl.vue +125 -379
  37. package/src/filiale/fugou/pc/ServiceView.vue +941 -0
  38. package/src/filiale/fugou/pc/addMaterialScience.vue +481 -0
  39. package/src/filiale/fugou/pc/addressAndUserinfoManagement.vue +216 -0
  40. package/src/filiale/fugou/pc/devicesManagement.vue +483 -0
  41. package/src/filiale/fugou/pc.js +13 -7
  42. package/src/filiale/gongyi/android/AppAddMaterialScience.vue +493 -481
  43. package/src/filiale/gongyi/android/AppDisclosurerecord.vue +214 -0
  44. package/src/filiale/gongyi/android/AppInstallationDetails.vue +15 -10
  45. package/src/filiale/gongyi/android/AppLegacyIssues.vue +309 -0
  46. package/src/filiale/gongyi/android/AppSign.vue +16 -3
  47. package/src/filiale/gongyi/android/AppSupplementalAgreement.vue +298 -0
  48. package/src/filiale/gongyi/android.js +3 -0
  49. package/src/filiale/gongyi/pc/ApplyUpload.vue +31 -39
  50. package/src/filiale/gongyi/pc/PcAddLogs.vue +12 -4
  51. package/src/filiale/gongyi/pc/PcDisclosurerecord.vue +218 -0
  52. package/src/filiale/gongyi/pc/PcLegacyIssues.vue +309 -0
  53. package/src/filiale/gongyi/pc/SupervisoryServiceControl.vue +1 -1
  54. package/src/filiale/gongyi/pc/SupervisoryServiceView.vue +1005 -0
  55. package/src/filiale/gongyi/pc/addMaterialScience.vue +43 -7
  56. package/src/filiale/gongyi/pc/chargeManagement.vue +765 -0
  57. package/src/filiale/gongyi/pc/supplementalAgreement.vue +277 -0
  58. package/src/filiale/gongyi/pc.js +6 -1
  59. package/src/filiale/hongda/pc/SupervisoryList.vue +13 -0
  60. package/src/filiale/jinhuang/pc/ServiceControl.vue +1925 -0
  61. package/src/filiale/jinhuang/pc/chargeManagementNew.vue +589 -0
  62. package/src/filiale/jinhuang/pc.js +7 -0
  63. package/src/filiale/qianneng/android/AppChargeManagement.vue +686 -0
  64. package/src/filiale/qianneng/android/AppExplorationUser.vue +490 -490
  65. package/src/filiale/qianneng/android/AppInstallationDetails.vue +541 -541
  66. package/src/filiale/qianneng/android.js +15 -14
  67. package/src/filiale/qianneng/pc/ApplyUpload.vue +5 -4
  68. package/src/filiale/qianneng/pc/Applybatchdispatch.vue +704 -704
  69. package/src/filiale/qianneng/pc/Applydetail.vue +378 -383
  70. package/src/filiale/qianneng/pc/InstallFunction.vue +188 -188
  71. package/src/filiale/qianneng/pc/InstallationDetails.vue +614 -587
  72. package/src/filiale/qianneng/pc/ServiceControl.vue +1384 -1384
  73. package/src/filiale/qianneng/pc/printactivatecard.vue +311 -311
  74. package/src/filiale/ruihua/pc/ServiceControl.vue +20 -0
  75. package/src/filiale/ruihua/pc/printVentilation.vue +21 -6
  76. package/src/filiale/shexian/android/AppServiceControl.vue +12 -2
  77. package/src/filiale/shexian/android/AppTakePic.vue +15 -55
  78. package/src/filiale/siyangRH/android/AppAddMaterialScience.vue +0 -2
  79. package/src/filiale/siyangRH/pc/ApplyUpload.vue +324 -324
  80. package/src/filiale/siyangRH/pc/chargeManagement.vue +810 -0
  81. package/src/filiale/siyangRH/pc.js +1 -0
  82. package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +527 -511
  83. package/src/filiale/yangchunboneng/android/AppDevicesManagement.vue +639 -609
  84. package/src/filiale/yangchunboneng/android/AppExplorationUser.vue +12 -0
  85. package/src/filiale/yangchunboneng/android/AppInstallationMaterial.vue +956 -961
  86. package/src/filiale/yangchunboneng/android/AppServiceControl.vue +1681 -1648
  87. package/src/filiale/yangchunboneng/android/AppSuperServiceControl.vue +1 -1
  88. package/src/filiale/yangchunboneng/android/AppUpload.vue +78 -9
  89. package/src/filiale/yangchunboneng/android/MaterIialOne.vue +31 -19
  90. package/src/filiale/yangchunboneng/android.js +1 -1
  91. package/src/filiale/yangchunboneng/pc/ApplyUpload.vue +235 -218
  92. package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +548 -508
  93. package/src/filiale/yangchunboneng/pc/ExplorationUser.vue +191 -0
  94. package/src/filiale/yangchunboneng/pc/ServiceControl.vue +2075 -1871
  95. package/src/filiale/yangchunboneng/pc/SupervisoryControlNew.vue +142 -0
  96. package/src/filiale/yangchunboneng/pc/SupervisoryList.vue +69 -14
  97. package/src/filiale/yangchunboneng/pc/SupervisoryListNew.vue +628 -0
  98. package/src/filiale/yangchunboneng/pc/SupervisoryServiceControl.vue +902 -0
  99. package/src/filiale/yangchunboneng/pc/SupervisoryServiceControlNew.vue +901 -0
  100. package/src/filiale/yangchunboneng/pc/SupervisoryServiceView.vue +1117 -0
  101. package/src/filiale/yangchunboneng/pc/chargeManagement.vue +1059 -960
  102. package/src/filiale/yangchunboneng/pc.js +7 -1
  103. package/src/main.js +1 -1
@@ -0,0 +1,218 @@
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">
10
+ <button v-if="$parent.$parent.mark === 0" type="button" class="btn btn-primary" @click="$parent.$parent.openMaterialModal()">添加
11
+ </button>
12
+ </th>
13
+ </tr>
14
+ </template>
15
+ <template partial='body'>
16
+ <tr>
17
+ <td style="text-align: center;">
18
+ <nobr>{{row.f_operator}}</nobr>
19
+ </td>
20
+ <td style="text-align: center;">
21
+ <nobr>{{row.f_operation_date}}</nobr>
22
+ </td>
23
+ <td style="text-align: center;">
24
+ <nobr>{{ row.f_log_content.length > 20 ? row.f_log_content.substring(0, 50) + '...' : row.f_log_content }}</nobr>
25
+ </td>
26
+ <td style="text-align: center;">
27
+ <button v-if="$parent.$parent.mark === 0" type="button" class="button_delete button_spacing" @click="$parent.$parent.deletelogs(row)">删除
28
+ </button>
29
+ <button v-if="$parent.$parent.mark === 0" type="button" class="button_delete button_spacing" @click="$parent.$parent.look(row)">查看
30
+ </button>
31
+ </td>
32
+ </tr>
33
+ </template>
34
+ </data-grid>
35
+ <modal v-if="showMaterialModal" :show.sync="showMaterialModal" v-ref:modal :large="true"
36
+ :backdrop="false" :title="title">
37
+ <header slot="modal-header" class="modal-header">
38
+ <button type="button" class="close" @click="closeMaterials"><span>&times;</span></button>
39
+ <h4 class="modal-title">{{title}}</h4>
40
+ </header>
41
+ <article slot="modal-body" class="modal-body clearfix">
42
+ <div v-for="(i,item) in materials" class="form-group col-sm-12 panel panel-info">
43
+ <div class="row">
44
+ <div class="form-group col-sm-6">
45
+ <label class="col-sm-4 control-label">内容:</label>
46
+ <textarea
47
+ class="form-control"
48
+ v-model="item.f_log_content"
49
+ rows="3"
50
+ :readonly="mark === 1"
51
+ ></textarea>
52
+ </div>
53
+ </div>
54
+
55
+ </div>
56
+ </article>
57
+ <footer slot="modal-footer" class="modal-footer">
58
+ <template v-if="mark!== 1">
59
+ <button type="button" class="btn btn-primary" v-if="title==='新增'" @click="addlogs()"
60
+ :disabled="!$v.valid">确认
61
+ </button>
62
+ <button type="button" class="btn btn-primary" v-if="title==='查看'" @click="changelogs()"
63
+ :disabled="!$v.valid">修改
64
+ </button>
65
+ </template>
66
+ </footer>
67
+ </modal>
68
+ </div>
69
+ </template>
70
+
71
+ <script>
72
+ import {HttpResetClass} from 'vue-client'
73
+
74
+ export default {
75
+ name: '交底记录',
76
+ props: {
77
+ selectdata: {
78
+ type: Object
79
+ } ,
80
+ mark: {
81
+ type: Number,
82
+ default: 0
83
+ }
84
+ },
85
+ data() {
86
+ return {
87
+ onetomany: {
88
+ rows: []
89
+ },
90
+ title: '新增',
91
+ showMaterialModal: false,
92
+ materials: [
93
+ {
94
+
95
+ }
96
+ ],
97
+ meterialOptions: [],
98
+ row: {},
99
+ bjqChecklag:[],
100
+ fmaterialname:{}
101
+ }
102
+ },
103
+ ready() {
104
+ this.getOnetoManyData()
105
+ },
106
+ methods: {
107
+ look(row){
108
+ this.title = '查看'
109
+ this.materials = [
110
+ {
111
+ id: row.id,
112
+ f_log_content:row.f_log_content
113
+ }
114
+ ],
115
+ this.showMaterialModal = true
116
+ },
117
+
118
+ changelogs(){
119
+ let http = new HttpResetClass()
120
+ let s={
121
+ id:this.materials[0].id,
122
+ f_process_id:this.selectdata.f_process_id,
123
+ f_operation_date:new Date().Format('yyyy-MM-dd HH:mm:ss'),
124
+ f_log_content:this.materials[0].f_log_content,
125
+ f_operator:this.$login.f.name,
126
+ f_operator_id:this.$login.f.id
127
+ }
128
+ let data = {
129
+ tableName:'t_tisclosure_record',
130
+ model:s
131
+ }
132
+ http.load(
133
+ 'POST',
134
+ `/rs/logic/entitySingleTable`,
135
+ data,
136
+ {resolveMsg: '修改成功', rejectMsg: '添加失败'}
137
+ ).then(res => {
138
+ this.closeMaterials()
139
+ })
140
+ },
141
+ addlogs(){
142
+ let http = new HttpResetClass()
143
+ let s={
144
+ f_process_id:this.selectdata.f_process_id,
145
+ f_operation_date:new Date().Format('yyyy-MM-dd HH:mm:ss'),
146
+ f_log_content:this.materials[0].f_log_content,
147
+ f_operator:this.$login.f.name,
148
+ f_operator_id:this.$login.f.id
149
+ }
150
+ let data = {
151
+ tableName:'t_tisclosure_record',
152
+ model:s
153
+ }
154
+ http.load(
155
+ 'POST',
156
+ `/rs/logic/entitySingleTable`,
157
+ data,
158
+ {resolveMsg: '添加成功', rejectMsg: '添加失败'}
159
+ ).then(res => {
160
+ this.closeMaterials()
161
+ })
162
+ },
163
+ deletelogs(row){
164
+ let http = new HttpResetClass()
165
+ this.$showMessage('删除后不可恢复,确认删除吗?', ['confirm', 'cancel']).then((res) => {
166
+ if (res === 'confirm') {
167
+ let data = {
168
+ tableName:'t_tisclosure_record',
169
+ id:row.id
170
+ }
171
+ http.load(
172
+ 'POST',
173
+ `/rs/logic/delentitySingleTable`,
174
+ data,
175
+ {resolveMsg: '删除成功', rejectMsg: '删除失败'}
176
+ ).then(res => {
177
+ this.getOnetoManyData()
178
+ })
179
+ }
180
+ })
181
+ },
182
+ async getOnetoManyData () {
183
+ let http = new HttpResetClass()
184
+ let data = {
185
+ tablename: `t_tisclosure_record`,
186
+ condition: `f_process_id='${this.selectdata.f_process_id}'`
187
+ }
188
+ let res = await http.load(
189
+ 'POST',
190
+ `/rs/sql/apply_singleTable?aaa=123`,
191
+ {data: data},
192
+ {resolveMsg: null, rejectMsg: 'onetomany查询失败'}
193
+ )
194
+ this.onetomany.rows = res.data
195
+ },
196
+ async openMaterialModal() {
197
+ this.title = '新增'
198
+ this.materials = [
199
+ {
200
+ f_log_type:'',
201
+ f_logs_content:''
202
+ }
203
+ ],
204
+ this.showMaterialModal = true
205
+ },
206
+
207
+ closeMaterials() {
208
+ this.getOnetoManyData()
209
+ this.showMaterialModal = false
210
+ }
211
+ }
212
+ }
213
+
214
+ </script>
215
+
216
+ <style scoped>
217
+
218
+ </style>
@@ -0,0 +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>
@@ -2,7 +2,7 @@
2
2
  <div class="auto clearfix">
3
3
  <show-back-reason :selectdata="show_data"></show-back-reason>
4
4
  </div>
5
- <service-view v-ref:service_show :data="show_data" v-if="showview"></service-view>
5
+ <supervisory-service-view v-ref:service_show :data="show_data" v-if="showview" ></supervisory-service-view>
6
6
  </template>
7
7
  <script>
8
8
  import Vue from 'vue'