apply-clients 3.5.4-65 → 3.5.4-67

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 (49) hide show
  1. package/build/dev-server.js +9 -5
  2. package/package.json +1 -1
  3. package/src/App.vue +5 -5
  4. package/src/components/product/Function/Service/FunctionServiceControl.vue +497 -497
  5. package/src/components/product/Material/MaterialDetailed.vue +268 -268
  6. package/src/components/product/MaterialsManage/MaterialsBase.vue +181 -181
  7. package/src/components/product/MaterialsManage/MaterialsManage.vue +60 -60
  8. package/src/components/product/Process/Processes/chargeManagement.vue +656 -656
  9. package/src/components/product/ServiceView.vue +1026 -1025
  10. package/src/filiale/fugou/android/AppAddMaterialScience.vue +442 -442
  11. package/src/filiale/fugou/android/AppChargeManagement.vue +739 -739
  12. package/src/filiale/fugou/android/AppDevicesManagement.vue +519 -519
  13. package/src/filiale/fugou/android.js +14 -14
  14. package/src/filiale/fugou/pc/ExplorationSelect.vue +515 -515
  15. package/src/filiale/fugou/pc/InstallationDetails.vue +647 -647
  16. package/src/filiale/fugou/pc/ServiceControl.vue +1702 -1702
  17. package/src/filiale/fugou/pc/addMaterialScience.vue +482 -482
  18. package/src/filiale/fugou/pc/devicesManagement.vue +483 -483
  19. package/src/filiale/fugou/pc.js +10 -10
  20. package/src/filiale/gongyi/android/AppAddMaterialScience.vue +493 -493
  21. package/src/filiale/gongyi/android/AppDisclosurerecord.vue +214 -214
  22. package/src/filiale/gongyi/android/AppInstallationDetails.vue +500 -500
  23. package/src/filiale/gongyi/android/AppLegacyIssues.vue +309 -309
  24. package/src/filiale/gongyi/android/AppSign.vue +170 -157
  25. package/src/filiale/gongyi/android/AppSupplementalAgreement.vue +298 -298
  26. package/src/filiale/gongyi/android.js +18 -18
  27. package/src/filiale/gongyi/pc/ApplyUpload.vue +371 -378
  28. package/src/filiale/gongyi/pc/PcAddLogs.vue +221 -217
  29. package/src/filiale/gongyi/pc/PcDisclosurerecord.vue +218 -218
  30. package/src/filiale/gongyi/pc/PcLegacyIssues.vue +309 -314
  31. package/src/filiale/gongyi/pc/SupervisoryServiceControl.vue +894 -894
  32. package/src/filiale/gongyi/pc/SupervisoryServiceView.vue +1005 -1005
  33. package/src/filiale/gongyi/pc/addMaterialScience.vue +575 -564
  34. package/src/filiale/gongyi/pc/chargeManagement.vue +765 -763
  35. package/src/filiale/gongyi/pc/supplementalAgreement.vue +277 -277
  36. package/src/filiale/gongyi/pc.js +24 -24
  37. package/src/filiale/hongda/pc/SupervisoryList.vue +422 -422
  38. package/src/filiale/qianneng/android/AppChargeManagement.vue +686 -686
  39. package/src/filiale/qianneng/android.js +15 -15
  40. package/src/filiale/qianneng/pc/Applydetail.vue +378 -378
  41. package/src/filiale/qianneng/pc/InstallFunction.vue +188 -188
  42. package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +526 -526
  43. package/src/filiale/yangchunboneng/android/AppDevicesManagement.vue +639 -639
  44. package/src/filiale/yangchunboneng/android/AppInstallationMaterial.vue +2 -0
  45. package/src/filiale/yangchunboneng/android/AppServiceControl.vue +1681 -1681
  46. package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +548 -548
  47. package/src/filiale/yangchunboneng/pc/ServiceControl.vue +2075 -2075
  48. package/src/filiale/yangchunboneng/pc/chargeManagement.vue +1058 -1058
  49. package/src/main.js +3 -3
@@ -1,218 +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>
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>