apply-clients 3.5.4-67 → 3.5.4-68

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 (44) hide show
  1. package/build/dev-server.js +7 -19
  2. package/package.json +1 -1
  3. package/src/App.vue +25 -25
  4. package/src/components/product/Function/Service/FunctionServiceControl.vue +497 -497
  5. package/src/components/product/MaterialsManage/MaterialsBase.vue +181 -181
  6. package/src/components/product/MaterialsManage/MaterialsManage.vue +60 -60
  7. package/src/components/product/Process/Processes/chargeManagement.vue +656 -656
  8. package/src/components/product/ServiceView.vue +1026 -1026
  9. package/src/components/product/Supervisory/SupervisoryControl.vue +141 -141
  10. package/src/components/product/Supervisory/SupervisoryList.vue +452 -452
  11. package/src/filiale/gongyi/android/AppDisclosurerecord.vue +214 -214
  12. package/src/filiale/gongyi/android/AppInstallationDetails.vue +500 -500
  13. package/src/filiale/gongyi/android/AppLegacyIssues.vue +309 -309
  14. package/src/filiale/gongyi/android/AppSign.vue +170 -170
  15. package/src/filiale/gongyi/android/AppSupplementalAgreement.vue +298 -298
  16. package/src/filiale/gongyi/android.js +18 -18
  17. package/src/filiale/gongyi/pc/ApplyUpload.vue +371 -371
  18. package/src/filiale/gongyi/pc/PcAddLogs.vue +221 -221
  19. package/src/filiale/gongyi/pc/PcDisclosurerecord.vue +218 -218
  20. package/src/filiale/gongyi/pc/PcLegacyIssues.vue +309 -309
  21. package/src/filiale/gongyi/pc/SupervisoryServiceControl.vue +894 -894
  22. package/src/filiale/gongyi/pc/SupervisoryServiceView.vue +1005 -1005
  23. package/src/filiale/gongyi/pc/addMaterialScience.vue +575 -575
  24. package/src/filiale/gongyi/pc/chargeManagement.vue +765 -765
  25. package/src/filiale/gongyi/pc/supplementalAgreement.vue +277 -277
  26. package/src/filiale/gongyi/pc.js +24 -24
  27. package/src/filiale/hongda/pc/SupervisoryList.vue +422 -422
  28. package/src/filiale/yangchunboneng/android/AppExplorationUser.vue +518 -518
  29. package/src/filiale/yangchunboneng/android/AppInstallationMaterial.vue +1085 -1081
  30. package/src/filiale/yangchunboneng/android/AppSuperServiceControl.vue +1524 -1524
  31. package/src/filiale/yangchunboneng/android/AppUpload.vue +205 -205
  32. package/src/filiale/yangchunboneng/android/MaterIialOne.vue +156 -156
  33. package/src/filiale/yangchunboneng/android.js +20 -20
  34. package/src/filiale/yangchunboneng/pc/ApplyUpload.vue +392 -392
  35. package/src/filiale/yangchunboneng/pc/ExplorationUser.vue +191 -191
  36. package/src/filiale/yangchunboneng/pc/InstallInfoSelect.vue +365 -365
  37. package/src/filiale/yangchunboneng/pc/SupervisoryControlNew.vue +142 -142
  38. package/src/filiale/yangchunboneng/pc/SupervisoryList.vue +590 -590
  39. package/src/filiale/yangchunboneng/pc/SupervisoryListNew.vue +628 -628
  40. package/src/filiale/yangchunboneng/pc/SupervisoryServiceControl.vue +902 -902
  41. package/src/filiale/yangchunboneng/pc/SupervisoryServiceControlNew.vue +901 -901
  42. package/src/filiale/yangchunboneng/pc/SupervisoryServiceView.vue +1117 -1117
  43. package/src/filiale/yangchunboneng/pc.js +24 -24
  44. package/src/main.js +1 -1
@@ -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>