apply-clients 3.5.5-1 → 3.5.5-3

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 (61) hide show
  1. package/build/dev-server.js +9 -5
  2. package/package.json +1 -1
  3. package/src/App.vue +25 -25
  4. package/src/apply.js +141 -139
  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/Process/Processes/contractModel.vue +458 -0
  11. package/src/components/product/ServiceView.vue +1028 -1028
  12. package/src/components/product/Supervisory/SupervisoryList.vue +452 -452
  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 +1836 -1836
  18. package/src/filiale/fugou/android/printCharge.vue +162 -162
  19. package/src/filiale/fugou/android.js +16 -16
  20. package/src/filiale/fugou/pc/ExplorationSelect.vue +525 -525
  21. package/src/filiale/fugou/pc/ServiceControl.vue +1705 -1705
  22. package/src/filiale/fugou/pc/ServiceView.vue +941 -941
  23. package/src/filiale/fugou/pc/devicesManagement.vue +483 -483
  24. package/src/filiale/fugou/pc/printChargepc.vue +148 -148
  25. package/src/filiale/gongyi/android/AppAddMaterialScience.vue +493 -493
  26. package/src/filiale/gongyi/android/AppDisclosurerecord.vue +214 -214
  27. package/src/filiale/gongyi/android/AppInstallationDetails.vue +500 -500
  28. package/src/filiale/gongyi/android/AppLegacyIssues.vue +309 -309
  29. package/src/filiale/gongyi/android/AppSign.vue +170 -170
  30. package/src/filiale/gongyi/android/AppSupplementalAgreement.vue +298 -298
  31. package/src/filiale/gongyi/android.js +18 -18
  32. package/src/filiale/gongyi/pc/ApplyUpload.vue +371 -371
  33. package/src/filiale/gongyi/pc/PcAddLogs.vue +221 -221
  34. package/src/filiale/gongyi/pc/PcDisclosurerecord.vue +218 -218
  35. package/src/filiale/gongyi/pc/PcLegacyIssues.vue +309 -309
  36. package/src/filiale/gongyi/pc/SupervisoryServiceControl.vue +894 -894
  37. package/src/filiale/gongyi/pc/SupervisoryServiceView.vue +1005 -1005
  38. package/src/filiale/gongyi/pc/addMaterialScience.vue +575 -575
  39. package/src/filiale/gongyi/pc/chargeManagement.vue +765 -765
  40. package/src/filiale/gongyi/pc/supplementalAgreement.vue +277 -277
  41. package/src/filiale/gongyi/pc.js +24 -24
  42. package/src/filiale/hongda/pc/SupervisoryList.vue +422 -422
  43. package/src/filiale/jingyang/pc/SupervisoryList.vue +459 -459
  44. package/src/filiale/qianneng/android/AppChargeManagement.vue +686 -686
  45. package/src/filiale/qianneng/android.js +15 -15
  46. package/src/filiale/qianneng/pc/ApplyMaterialDetailed.vue +261 -261
  47. package/src/filiale/qianneng/pc/InstallFunction.vue +188 -188
  48. package/src/filiale/qianneng/pc.js +29 -29
  49. package/src/filiale/ruihua/pc/ServiceControl.vue +1 -1
  50. package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +520 -520
  51. package/src/filiale/yangchunboneng/android/AppDevicesManagement.vue +645 -645
  52. package/src/filiale/yangchunboneng/android/AppServiceControl.vue +1706 -1706
  53. package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +547 -547
  54. package/src/filiale/yangchunboneng/pc/ServiceControl.vue +2115 -2115
  55. package/src/filiale/yangchunboneng/pc/ServiceView.vue +1007 -1007
  56. package/src/filiale/yangchunboneng/pc/SupervisoryList.vue +605 -605
  57. package/src/filiale/yangchunboneng/pc/SupervisoryListNew.vue +683 -683
  58. package/src/filiale/yangchunboneng/pc/chargeManagement.vue +1052 -1052
  59. package/src/filiale/yangchunboneng/pc/devicesManagement.vue +574 -574
  60. package/src/main.js +3 -3
  61. package/~/chatbot/main.py +57 -0
@@ -1,214 +1,214 @@
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 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 type="button" class="button_delete button_spacing" @click="$parent.$parent.deletelogs(row)">删除
28
- </button>
29
- <button 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
- import Vue from "vue";
74
-
75
- export default {
76
- name: '交底记录',
77
- props: {
78
- selectdata: {
79
- type: Object
80
- }
81
- },
82
- data() {
83
- return {
84
- onetomany: {
85
- rows: []
86
- },
87
- title: '新增',
88
- showMaterialModal: false,
89
- materials: [
90
- {
91
-
92
- }
93
- ],
94
- meterialOptions: [],
95
- row: {},
96
- bjqChecklag:[],
97
- fmaterialname:{}
98
- }
99
- },
100
- ready() {
101
- this.getOnetoManyData()
102
- },
103
- methods: {
104
- look(row){
105
- this.title = '查看'
106
- this.materials = [
107
- {
108
- id: row.id,
109
- f_log_content:row.f_log_content
110
- }
111
- ],
112
- this.showMaterialModal = true
113
- },
114
-
115
- changelogs(){
116
- let http = new HttpResetClass()
117
- let s={
118
- id:this.materials[0].id,
119
- f_process_id:this.selectdata.f_process_id,
120
- f_operation_date:new Date().Format('yyyy-MM-dd HH:mm:ss'),
121
- f_log_content:this.materials[0].f_log_content,
122
- f_operator:Vue.user.name,
123
- f_operator_id:Vue.user.id
124
- }
125
- let data = {
126
- tableName:'t_tisclosure_record',
127
- model:s
128
- }
129
- http.load(
130
- 'POST',
131
- `${this.$androidUtil.getProxyUrl()}/rs/logic/entitySingleTable`,
132
- data,
133
- {resolveMsg: '修改成功', rejectMsg: '添加失败'}
134
- ).then(res => {
135
- this.closeMaterials()
136
- })
137
- },
138
- addlogs(){
139
- let http = new HttpResetClass()
140
- let s={
141
- f_process_id:this.selectdata.f_process_id,
142
- f_operation_date:new Date().Format('yyyy-MM-dd HH:mm:ss'),
143
- f_log_content:this.materials[0].f_log_content,
144
- f_operator:Vue.user.name,
145
- f_operator_id:Vue.user.id
146
- }
147
- let data = {
148
- tableName:'t_tisclosure_record',
149
- model:s
150
- }
151
- http.load(
152
- 'POST',
153
- `${this.$androidUtil.getProxyUrl()}/rs/logic/entitySingleTable`,
154
- data,
155
- {resolveMsg: '添加成功', rejectMsg: '添加失败'}
156
- ).then(res => {
157
- this.closeMaterials()
158
- })
159
- },
160
- deletelogs(row){
161
- let http = new HttpResetClass()
162
- this.$showMessage('删除后不可恢复,确认删除吗?', ['confirm', 'cancel']).then((res) => {
163
- if (res === 'confirm') {
164
- let data = {
165
- tableName:'t_tisclosure_record',
166
- id:row.id
167
- }
168
- http.load(
169
- 'POST',
170
- `${this.$androidUtil.getProxyUrl()}/rs/logic/delentitySingleTable`,
171
- data,
172
- {resolveMsg: '删除成功', rejectMsg: '删除失败'}
173
- ).then(res => {
174
- this.getOnetoManyData()
175
- })
176
- }
177
- })
178
- },
179
- async getOnetoManyData () {
180
- let http = new HttpResetClass()
181
- let data = {
182
- tablename: `t_tisclosure_record`,
183
- condition: `f_process_id='${this.selectdata.f_process_id}'`
184
- }
185
- let res = await http.load(
186
- 'POST',
187
- `${this.$androidUtil.getProxyUrl()}/rs/sql/apply_singleTable?aaa=123`,
188
- {data: data},
189
- {resolveMsg: null, rejectMsg: 'onetomany查询失败'}
190
- )
191
- this.onetomany.rows = res.data
192
- },
193
- async openMaterialModal() {
194
- this.title = '新增'
195
- this.materials = [
196
- {
197
- f_logs_content:''
198
- }
199
- ],
200
- this.showMaterialModal = true
201
- },
202
-
203
- closeMaterials() {
204
- this.getOnetoManyData()
205
- this.showMaterialModal = false
206
- }
207
- }
208
- }
209
-
210
- </script>
211
-
212
- <style scoped>
213
-
214
- </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 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 type="button" class="button_delete button_spacing" @click="$parent.$parent.deletelogs(row)">删除
28
+ </button>
29
+ <button 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
+ import Vue from "vue";
74
+
75
+ export default {
76
+ name: '交底记录',
77
+ props: {
78
+ selectdata: {
79
+ type: Object
80
+ }
81
+ },
82
+ data() {
83
+ return {
84
+ onetomany: {
85
+ rows: []
86
+ },
87
+ title: '新增',
88
+ showMaterialModal: false,
89
+ materials: [
90
+ {
91
+
92
+ }
93
+ ],
94
+ meterialOptions: [],
95
+ row: {},
96
+ bjqChecklag:[],
97
+ fmaterialname:{}
98
+ }
99
+ },
100
+ ready() {
101
+ this.getOnetoManyData()
102
+ },
103
+ methods: {
104
+ look(row){
105
+ this.title = '查看'
106
+ this.materials = [
107
+ {
108
+ id: row.id,
109
+ f_log_content:row.f_log_content
110
+ }
111
+ ],
112
+ this.showMaterialModal = true
113
+ },
114
+
115
+ changelogs(){
116
+ let http = new HttpResetClass()
117
+ let s={
118
+ id:this.materials[0].id,
119
+ f_process_id:this.selectdata.f_process_id,
120
+ f_operation_date:new Date().Format('yyyy-MM-dd HH:mm:ss'),
121
+ f_log_content:this.materials[0].f_log_content,
122
+ f_operator:Vue.user.name,
123
+ f_operator_id:Vue.user.id
124
+ }
125
+ let data = {
126
+ tableName:'t_tisclosure_record',
127
+ model:s
128
+ }
129
+ http.load(
130
+ 'POST',
131
+ `${this.$androidUtil.getProxyUrl()}/rs/logic/entitySingleTable`,
132
+ data,
133
+ {resolveMsg: '修改成功', rejectMsg: '添加失败'}
134
+ ).then(res => {
135
+ this.closeMaterials()
136
+ })
137
+ },
138
+ addlogs(){
139
+ let http = new HttpResetClass()
140
+ let s={
141
+ f_process_id:this.selectdata.f_process_id,
142
+ f_operation_date:new Date().Format('yyyy-MM-dd HH:mm:ss'),
143
+ f_log_content:this.materials[0].f_log_content,
144
+ f_operator:Vue.user.name,
145
+ f_operator_id:Vue.user.id
146
+ }
147
+ let data = {
148
+ tableName:'t_tisclosure_record',
149
+ model:s
150
+ }
151
+ http.load(
152
+ 'POST',
153
+ `${this.$androidUtil.getProxyUrl()}/rs/logic/entitySingleTable`,
154
+ data,
155
+ {resolveMsg: '添加成功', rejectMsg: '添加失败'}
156
+ ).then(res => {
157
+ this.closeMaterials()
158
+ })
159
+ },
160
+ deletelogs(row){
161
+ let http = new HttpResetClass()
162
+ this.$showMessage('删除后不可恢复,确认删除吗?', ['confirm', 'cancel']).then((res) => {
163
+ if (res === 'confirm') {
164
+ let data = {
165
+ tableName:'t_tisclosure_record',
166
+ id:row.id
167
+ }
168
+ http.load(
169
+ 'POST',
170
+ `${this.$androidUtil.getProxyUrl()}/rs/logic/delentitySingleTable`,
171
+ data,
172
+ {resolveMsg: '删除成功', rejectMsg: '删除失败'}
173
+ ).then(res => {
174
+ this.getOnetoManyData()
175
+ })
176
+ }
177
+ })
178
+ },
179
+ async getOnetoManyData () {
180
+ let http = new HttpResetClass()
181
+ let data = {
182
+ tablename: `t_tisclosure_record`,
183
+ condition: `f_process_id='${this.selectdata.f_process_id}'`
184
+ }
185
+ let res = await http.load(
186
+ 'POST',
187
+ `${this.$androidUtil.getProxyUrl()}/rs/sql/apply_singleTable?aaa=123`,
188
+ {data: data},
189
+ {resolveMsg: null, rejectMsg: 'onetomany查询失败'}
190
+ )
191
+ this.onetomany.rows = res.data
192
+ },
193
+ async openMaterialModal() {
194
+ this.title = '新增'
195
+ this.materials = [
196
+ {
197
+ f_logs_content:''
198
+ }
199
+ ],
200
+ this.showMaterialModal = true
201
+ },
202
+
203
+ closeMaterials() {
204
+ this.getOnetoManyData()
205
+ this.showMaterialModal = false
206
+ }
207
+ }
208
+ }
209
+
210
+ </script>
211
+
212
+ <style scoped>
213
+
214
+ </style>