apply-clients 3.5.5-7 → 3.5.5-71

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 (83) hide show
  1. package/build/dev-server.js +4 -12
  2. package/package.json +5 -3
  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 -1
  9. package/src/components/product/Function/Service/FunctionServiceControl.vue +497 -497
  10. package/src/components/product/MaterialsManage/MaterialsBase.vue +181 -181
  11. package/src/components/product/MaterialsManage/MaterialsManage.vue +60 -60
  12. package/src/components/product/Process/Processes/contractModel.vue +436 -454
  13. package/src/components/product/Supervisory/SupervisoryList.vue +452 -452
  14. package/src/filiale/baiyin/android/ByAddMaterialScience.vue +2 -0
  15. package/src/filiale/dingcheng/pc/SupervisoryList.vue +441 -441
  16. package/src/filiale/fugou/android/AppAddMaterialScience.vue +20 -16
  17. package/src/filiale/fugou/android/AppDevicesManagement.vue +3 -1
  18. package/src/filiale/fugou/android/AppExplorationUser.vue +2 -2
  19. package/src/filiale/fugou/android/AppInstallationDetails.vue +2 -1
  20. package/src/filiale/fugou/android/AppServiceControl.vue +11 -7
  21. package/src/filiale/fugou/android/AppZhihuanManagement.vue +3 -1
  22. package/src/filiale/fugou/pc/ApplyChargeList.vue +4 -0
  23. package/src/filiale/fugou/pc/ExplorationSelect.vue +3 -4
  24. package/src/filiale/fugou/pc/ServiceControl.vue +19 -10
  25. package/src/filiale/fugou/pc/StopApplyList.vue +291 -0
  26. package/src/filiale/fugou/pc/SupervisoryServiceControl.vue +881 -0
  27. package/src/filiale/fugou/pc/addressAndUserinfoManagement.vue +1 -1
  28. package/src/filiale/fugou/pc/chargeReport.vue +87 -15
  29. package/src/filiale/fugou/pc/devicesManagement.vue +1 -0
  30. package/src/filiale/fugou/pc.js +3 -1
  31. package/src/filiale/gongyi/android/AppDisclosurerecord.vue +214 -214
  32. package/src/filiale/gongyi/android/AppInstallationDetails.vue +500 -500
  33. package/src/filiale/gongyi/android/AppLegacyIssues.vue +309 -309
  34. package/src/filiale/gongyi/android/AppSign.vue +170 -170
  35. package/src/filiale/gongyi/android/AppSupplementalAgreement.vue +298 -298
  36. package/src/filiale/gongyi/android.js +18 -18
  37. package/src/filiale/gongyi/pc/ApplyUpload.vue +371 -371
  38. package/src/filiale/gongyi/pc/PcAddLogs.vue +221 -221
  39. package/src/filiale/gongyi/pc/PcDisclosurerecord.vue +218 -218
  40. package/src/filiale/gongyi/pc/PcLegacyIssues.vue +309 -309
  41. package/src/filiale/gongyi/pc/SupervisoryServiceControl.vue +894 -894
  42. package/src/filiale/gongyi/pc/SupervisoryServiceView.vue +1005 -1005
  43. package/src/filiale/gongyi/pc/addMaterialScience.vue +575 -575
  44. package/src/filiale/gongyi/pc/chargeManagement.vue +765 -765
  45. package/src/filiale/gongyi/pc/supplementalAgreement.vue +277 -277
  46. package/src/filiale/gongyi/pc.js +24 -24
  47. package/src/filiale/hongda/pc/SupervisoryList.vue +422 -422
  48. package/src/filiale/jingyang/pc/SupervisoryList.vue +459 -459
  49. package/src/filiale/jinhuang/android/AppAddMaterialScience.vue +635 -0
  50. package/src/filiale/jinhuang/android.js +6 -0
  51. package/src/filiale/jinhuang/pc/ContractList.vue +220 -0
  52. package/src/filiale/jinhuang/pc/ExplorationSelect.vue +497 -0
  53. package/src/filiale/jinhuang/pc/ServiceControl.vue +7 -0
  54. package/src/filiale/jinhuang/pc/addMaterialScience.vue +638 -0
  55. package/src/filiale/jinhuang/pc/addressAndUserinfoManagement.vue +41 -1
  56. package/src/filiale/jinhuang/pc.js +3 -0
  57. package/src/filiale/qianneng/android/AppServiceView.vue +13 -13
  58. package/src/filiale/qianneng/pc/ApplyMaterialDetailed.vue +1 -1
  59. package/src/filiale/qianneng/pc/Applydetail.vue +1 -1
  60. package/src/filiale/qianneng/pc/FunctionServiceControl.vue +10 -3
  61. package/src/filiale/qianneng/pc/ServiceControl.vue +8 -3
  62. package/src/filiale/ruihua/pc/ServiceControl.vue +2 -1
  63. package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +527 -520
  64. package/src/filiale/yangchunboneng/android/AppExplorationUser.vue +72 -5
  65. package/src/filiale/yangchunboneng/android/AppInstallationMaterial.vue +30 -1
  66. package/src/filiale/yangchunboneng/android/AppProcessSupervisory.vue +331 -0
  67. package/src/filiale/yangchunboneng/android/AppServiceControl.vue +217 -43
  68. package/src/filiale/yangchunboneng/android/MaterIialOne.vue +21 -1
  69. package/src/filiale/yangchunboneng/android.js +21 -20
  70. package/src/filiale/yangchunboneng/pc/ApplyChargeList.vue +32 -4
  71. package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +612 -547
  72. package/src/filiale/yangchunboneng/pc/ServiceControl.vue +2 -2
  73. package/src/filiale/yangchunboneng/pc/StopApplyList.vue +294 -0
  74. package/src/filiale/yangchunboneng/pc/SupervisoryList.vue +54 -42
  75. package/src/filiale/yangchunboneng/pc/SupervisoryListNew.vue +5 -1
  76. package/src/filiale/yangchunboneng/pc/SupervisoryServiceView.vue +1 -1
  77. package/src/filiale/yangchunboneng/pc/buildOrderList.vue +337 -0
  78. package/src/filiale/yangchunboneng/pc/chargeManagement.vue +5 -1
  79. package/src/filiale/yangchunboneng/pc/constructionInfo.vue +84 -0
  80. package/src/filiale/yangchunboneng/pc/printBuildOrder.vue +175 -0
  81. package/src/filiale/yangchunboneng/pc.js +5 -1
  82. package/src/main.js +23 -23
  83. package/~/chatbot/main.py +0 -57
@@ -1,277 +1,277 @@
1
- <template>
2
- <div class="col-sm-12" style="margin: 20px 0px;">
3
- <data-grid :model="model" v-ref:grid class="list_area table_sy" style="padding: 0px">
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">状态</th>
13
- <th class="textNoLineBreak">作废人员</th>
14
- <th class="textNoLineBreak">作废时间</th>
15
- <th class="textNoLineBreak">作废原因</th>
16
- <th class="textNoLineBreak">
17
- <button
18
- type="button"
19
- class="btn btn-info head-but"
20
- :disabled="$parent.$parent.mark === 1"
21
- @click="$parent.$parent.showSupplement = !$parent.$parent.showSupplement"
22
- >补充协议</button>
23
- </th>
24
- </tr>
25
- </template>
26
- <template partial='body'>
27
- <tr>
28
- <td style="text-align: center;">
29
- <nobr>{{$index+1}}</nobr>
30
- </td>
31
- <td style="text-align: center;">
32
- <nobr>{{row.f_contract_type}}</nobr>
33
- </td>
34
- <td style="text-align: center;">
35
- <nobr>{{row.f_contract_money}}</nobr>
36
- </td>
37
- <td style="text-align: center;">
38
- <nobr>{{row.f_contract_time}}</nobr>
39
- </td>
40
- <td style="text-align: center;">
41
- <nobr>{{row.f_operator}}</nobr>
42
- </td>
43
- <td style="text-align: center;">
44
- <nobr>{{row.f_remarks}}</nobr>
45
- </td>
46
- <td style="text-align: center;">
47
- <nobr>{{row.f_contract_status}}</nobr>
48
- </td>
49
- <td style="text-align: center;">
50
- <nobr>{{row.f_void_staff}}</nobr>
51
- </td>
52
- <td style="text-align: center;">
53
- <nobr>{{row.f_void_date}}</nobr>
54
- </td>
55
- <td style="text-align: center;">
56
- <nobr>{{row.f_void_remarks}}</nobr>
57
- </td>
58
- <td style="text-align: center;">
59
- <nobr>
60
- <button
61
- type="button"
62
- name="button"
63
- class="btn btn-link"
64
- :disabled="$parent.$parent.mark === 1 || row.f_contract_status === '作废'"
65
- @click="$parent.$parent.showInvalidModal(row)"
66
- >作废</button>
67
- </nobr>
68
- </td>
69
- </tr>
70
- </template>
71
- </data-grid>
72
-
73
- <validator name="v">
74
- <modal v-if="showSupplement" :show.sync="showSupplement" v-ref:modal :large="true" :backdrop="false">
75
- <header slot="modal-header" class="modal-header">
76
- <button type="button" class="close" @click="closeModal"><span>&times;</span></button>
77
- <h4 class="modal-title">协议明细</h4>
78
- </header>
79
- <article slot="modal-body" class="modal-body clearfix">
80
- <div class="form-group col-sm-12" :class="[$v.f_contract_type.required ? 'has-error' : '']">
81
- <label class="col-sm-2 control-label">合同类型:</label>
82
- <div class="col-sm-10">
83
- <input type="text" v-show="false"
84
- class="form-control input_view"
85
- v-validate:f_contract_type = "['required']"
86
- v-model="contract.f_contract_type" />
87
- <input-select
88
- class="select select_list"
89
- :value.sync="contract.f_contract_type"
90
- v-model="contract.f_contract_type"
91
- :options="contractType"
92
- :valueSingle="true"></input-select>
93
- </div>
94
- </div>
95
- <div class="form-group col-sm-12" :class="[$v.f_contract_money.required ? 'has-error' : '']">
96
- <label class="col-sm-2 control-label">合同金额:</label>
97
- <div class="col-sm-10">
98
- <input type="number" style="width: 100%"
99
- class="form-control input_view"
100
- v-validate:f_contract_money = "['required']"
101
- v-model="contract.f_contract_money" />
102
- </div>
103
- </div>
104
- <div class="form-group col-sm-12">
105
- <label class="col-sm-2 control-label">备注:</label>
106
- <div class="col-sm-10">
107
- <input type="text"
108
- class="form-control input_view"
109
- style="width: 100%"
110
- v-model="contract.f_remarks" />
111
- </div>
112
- </div>
113
- </article>
114
- <footer slot="modal-footer" class="modal-footer">
115
- <button type="button" class="btn btn-primary" :disabled='!$v.valid' @click="saveContract()">新增协议</button>
116
- </footer>
117
- </modal>
118
-
119
- <modal v-if="showInvalid" :show.sync="showInvalid" v-ref:modal :large="true" :backdrop="false" title="作废协议">
120
- <header slot="modal-header" class="modal-header">
121
- <button type="button" class="close" @click="closeModal"><span>&times;</span></button>
122
- <h4 class="modal-title">作废协议</h4>
123
- </header>
124
- <article slot="modal-body" class="modal-body clearfix">
125
- <div class="form-group col-sm-12">
126
- <label class="col-sm-2 control-label">合同类型:</label>
127
- <div class="col-sm-10">
128
- <input type="text"
129
- class="form-control input_view"
130
- style="width: 100%"
131
- readonly
132
- v-model="contract.f_contract_type" />
133
- </div>
134
- </div>
135
- <div class="form-group col-sm-12">
136
- <label class="col-sm-2 control-label">合同金额:</label>
137
- <div class="col-sm-10">
138
- <input type="text"
139
- class="form-control input_view"
140
- style="width: 100%"
141
- readonly
142
- v-model="contract.f_contract_money" />
143
- </div>
144
- </div>
145
- <div class="form-group col-sm-12">
146
- <label class="col-sm-2 control-label">提交人员:</label>
147
- <div class="col-sm-10">
148
- <input type="text"
149
- class="form-control input_view"
150
- style="width: 100%"
151
- readonly
152
- v-model="contract.f_operator" />
153
- </div>
154
- </div>
155
- <div class="form-group col-sm-12" :class="[$v.f_void_remarks.required ? 'has-error' : '']">
156
- <label class="col-sm-2 control-label">作废原因:</label>
157
- <div class="col-sm-10">
158
- <input type="text" style="width: 100%"
159
- class="form-control input_view"
160
- v-validate:f_void_remarks = "['required']"
161
- v-model="contract.f_void_remarks" />
162
- </div>
163
- </div>
164
- </article>
165
- <footer slot="modal-footer" class="modal-footer">
166
- <button type="button" class="btn btn-primary" :disabled='!$v.valid' @click="invalidContract()">确认作废</button>
167
- </footer>
168
- </modal>
169
- </validator>
170
- </div>
171
- </template>
172
- <script>
173
- import {getNowDate,isEmpty} from "../../../components/Util";
174
- import {PagedList} from 'vue-client'
175
- import {HttpResetClass} from 'vue-client'
176
- export default {
177
- title: '补充协议',
178
- props: {
179
- selectdata: {
180
- type: Object
181
- },
182
- mark: {
183
- type: Number,
184
- default: 0
185
- }
186
- },
187
- data () {
188
- return {
189
- showSupplement: false,
190
- showInvalid: false,
191
- model: {
192
- data: null
193
- },
194
- contract: {}
195
- }
196
- },
197
- ready () {
198
- this.search()
199
- },
200
- methods: {
201
- async invalidContract() {
202
- let http = new HttpResetClass()
203
- let data = {
204
- selectdata: this.selectdata,
205
- user: this.$login.f,
206
- contract: this.contract
207
- }
208
- let res = await http.load('POST', 'rs/logic/deleteApplyContract', {data: data}, {
209
- resolveMsg: null,
210
- rejectMsg: '作废失败'
211
- })
212
- this.$dispatch('breakControl', this.selectdata)
213
- },
214
- showInvalidModal(row) {
215
- this.contract = row
216
- this.showInvalid = true
217
- },
218
- async saveContract() {
219
- if (isEmpty(this.selectdata.f_contract_money)) {
220
- this.$showAlert('请先录入主合同金额!!!', 'warning', 3000)
221
- return
222
- }
223
- let http = new HttpResetClass()
224
- let data = {
225
- contract: this.contract,
226
- user: this.$login.f,
227
- selectdata: this.selectdata
228
- }
229
- let res = await http.load('POST', 'rs/logic/addApplyContract', {data: data}, {
230
- resolveMsg: null,
231
- rejectMsg: '添加失败'
232
- })
233
- this.$dispatch('breakControl', this.selectdata)
234
- },
235
- async search () {
236
- let http = new HttpResetClass()
237
- let data = {
238
- tablename: 't_contract',
239
- condition: `f_process_id = '${this.selectdata.f_process_id}'`
240
- }
241
- let res = await http.load('POST', 'rs/sql/apply_singleTable', {data: data}, {
242
- resolveMsg: null,
243
- rejectMsg: '补充协议查询失败'
244
- })
245
- this.model.data = res.data
246
- },
247
- closeModal() {
248
- this.showSupplement = false
249
- this.showInvalid = false
250
- this.contract = {}
251
- this.search()
252
- }
253
- },
254
- events: {
255
- },
256
- computed: {
257
- contractType () {
258
- return this.$appdata.getParam('合同类型')
259
- }
260
- },
261
- watch: {
262
- }
263
- }
264
- </script>
265
- <style scoped>
266
- .textNoLineBreak {
267
- white-space: nowrap;
268
- }
269
- .head-but{
270
- margin-left: 5px;
271
- height: 34px;
272
- /*background-color: #6aa6e2;*/
273
- border-radius: 4px;
274
- font-family: PingFang;
275
- color: #ffffff;
276
- }
277
- </style>
1
+ <template>
2
+ <div class="col-sm-12" style="margin: 20px 0px;">
3
+ <data-grid :model="model" v-ref:grid class="list_area table_sy" style="padding: 0px">
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">状态</th>
13
+ <th class="textNoLineBreak">作废人员</th>
14
+ <th class="textNoLineBreak">作废时间</th>
15
+ <th class="textNoLineBreak">作废原因</th>
16
+ <th class="textNoLineBreak">
17
+ <button
18
+ type="button"
19
+ class="btn btn-info head-but"
20
+ :disabled="$parent.$parent.mark === 1"
21
+ @click="$parent.$parent.showSupplement = !$parent.$parent.showSupplement"
22
+ >补充协议</button>
23
+ </th>
24
+ </tr>
25
+ </template>
26
+ <template partial='body'>
27
+ <tr>
28
+ <td style="text-align: center;">
29
+ <nobr>{{$index+1}}</nobr>
30
+ </td>
31
+ <td style="text-align: center;">
32
+ <nobr>{{row.f_contract_type}}</nobr>
33
+ </td>
34
+ <td style="text-align: center;">
35
+ <nobr>{{row.f_contract_money}}</nobr>
36
+ </td>
37
+ <td style="text-align: center;">
38
+ <nobr>{{row.f_contract_time}}</nobr>
39
+ </td>
40
+ <td style="text-align: center;">
41
+ <nobr>{{row.f_operator}}</nobr>
42
+ </td>
43
+ <td style="text-align: center;">
44
+ <nobr>{{row.f_remarks}}</nobr>
45
+ </td>
46
+ <td style="text-align: center;">
47
+ <nobr>{{row.f_contract_status}}</nobr>
48
+ </td>
49
+ <td style="text-align: center;">
50
+ <nobr>{{row.f_void_staff}}</nobr>
51
+ </td>
52
+ <td style="text-align: center;">
53
+ <nobr>{{row.f_void_date}}</nobr>
54
+ </td>
55
+ <td style="text-align: center;">
56
+ <nobr>{{row.f_void_remarks}}</nobr>
57
+ </td>
58
+ <td style="text-align: center;">
59
+ <nobr>
60
+ <button
61
+ type="button"
62
+ name="button"
63
+ class="btn btn-link"
64
+ :disabled="$parent.$parent.mark === 1 || row.f_contract_status === '作废'"
65
+ @click="$parent.$parent.showInvalidModal(row)"
66
+ >作废</button>
67
+ </nobr>
68
+ </td>
69
+ </tr>
70
+ </template>
71
+ </data-grid>
72
+
73
+ <validator name="v">
74
+ <modal v-if="showSupplement" :show.sync="showSupplement" v-ref:modal :large="true" :backdrop="false">
75
+ <header slot="modal-header" class="modal-header">
76
+ <button type="button" class="close" @click="closeModal"><span>&times;</span></button>
77
+ <h4 class="modal-title">协议明细</h4>
78
+ </header>
79
+ <article slot="modal-body" class="modal-body clearfix">
80
+ <div class="form-group col-sm-12" :class="[$v.f_contract_type.required ? 'has-error' : '']">
81
+ <label class="col-sm-2 control-label">合同类型:</label>
82
+ <div class="col-sm-10">
83
+ <input type="text" v-show="false"
84
+ class="form-control input_view"
85
+ v-validate:f_contract_type = "['required']"
86
+ v-model="contract.f_contract_type" />
87
+ <input-select
88
+ class="select select_list"
89
+ :value.sync="contract.f_contract_type"
90
+ v-model="contract.f_contract_type"
91
+ :options="contractType"
92
+ :valueSingle="true"></input-select>
93
+ </div>
94
+ </div>
95
+ <div class="form-group col-sm-12" :class="[$v.f_contract_money.required ? 'has-error' : '']">
96
+ <label class="col-sm-2 control-label">合同金额:</label>
97
+ <div class="col-sm-10">
98
+ <input type="number" style="width: 100%"
99
+ class="form-control input_view"
100
+ v-validate:f_contract_money = "['required']"
101
+ v-model="contract.f_contract_money" />
102
+ </div>
103
+ </div>
104
+ <div class="form-group col-sm-12">
105
+ <label class="col-sm-2 control-label">备注:</label>
106
+ <div class="col-sm-10">
107
+ <input type="text"
108
+ class="form-control input_view"
109
+ style="width: 100%"
110
+ v-model="contract.f_remarks" />
111
+ </div>
112
+ </div>
113
+ </article>
114
+ <footer slot="modal-footer" class="modal-footer">
115
+ <button type="button" class="btn btn-primary" :disabled='!$v.valid' @click="saveContract()">新增协议</button>
116
+ </footer>
117
+ </modal>
118
+
119
+ <modal v-if="showInvalid" :show.sync="showInvalid" v-ref:modal :large="true" :backdrop="false" title="作废协议">
120
+ <header slot="modal-header" class="modal-header">
121
+ <button type="button" class="close" @click="closeModal"><span>&times;</span></button>
122
+ <h4 class="modal-title">作废协议</h4>
123
+ </header>
124
+ <article slot="modal-body" class="modal-body clearfix">
125
+ <div class="form-group col-sm-12">
126
+ <label class="col-sm-2 control-label">合同类型:</label>
127
+ <div class="col-sm-10">
128
+ <input type="text"
129
+ class="form-control input_view"
130
+ style="width: 100%"
131
+ readonly
132
+ v-model="contract.f_contract_type" />
133
+ </div>
134
+ </div>
135
+ <div class="form-group col-sm-12">
136
+ <label class="col-sm-2 control-label">合同金额:</label>
137
+ <div class="col-sm-10">
138
+ <input type="text"
139
+ class="form-control input_view"
140
+ style="width: 100%"
141
+ readonly
142
+ v-model="contract.f_contract_money" />
143
+ </div>
144
+ </div>
145
+ <div class="form-group col-sm-12">
146
+ <label class="col-sm-2 control-label">提交人员:</label>
147
+ <div class="col-sm-10">
148
+ <input type="text"
149
+ class="form-control input_view"
150
+ style="width: 100%"
151
+ readonly
152
+ v-model="contract.f_operator" />
153
+ </div>
154
+ </div>
155
+ <div class="form-group col-sm-12" :class="[$v.f_void_remarks.required ? 'has-error' : '']">
156
+ <label class="col-sm-2 control-label">作废原因:</label>
157
+ <div class="col-sm-10">
158
+ <input type="text" style="width: 100%"
159
+ class="form-control input_view"
160
+ v-validate:f_void_remarks = "['required']"
161
+ v-model="contract.f_void_remarks" />
162
+ </div>
163
+ </div>
164
+ </article>
165
+ <footer slot="modal-footer" class="modal-footer">
166
+ <button type="button" class="btn btn-primary" :disabled='!$v.valid' @click="invalidContract()">确认作废</button>
167
+ </footer>
168
+ </modal>
169
+ </validator>
170
+ </div>
171
+ </template>
172
+ <script>
173
+ import {getNowDate,isEmpty} from "../../../components/Util";
174
+ import {PagedList} from 'vue-client'
175
+ import {HttpResetClass} from 'vue-client'
176
+ export default {
177
+ title: '补充协议',
178
+ props: {
179
+ selectdata: {
180
+ type: Object
181
+ },
182
+ mark: {
183
+ type: Number,
184
+ default: 0
185
+ }
186
+ },
187
+ data () {
188
+ return {
189
+ showSupplement: false,
190
+ showInvalid: false,
191
+ model: {
192
+ data: null
193
+ },
194
+ contract: {}
195
+ }
196
+ },
197
+ ready () {
198
+ this.search()
199
+ },
200
+ methods: {
201
+ async invalidContract() {
202
+ let http = new HttpResetClass()
203
+ let data = {
204
+ selectdata: this.selectdata,
205
+ user: this.$login.f,
206
+ contract: this.contract
207
+ }
208
+ let res = await http.load('POST', 'rs/logic/deleteApplyContract', {data: data}, {
209
+ resolveMsg: null,
210
+ rejectMsg: '作废失败'
211
+ })
212
+ this.$dispatch('breakControl', this.selectdata)
213
+ },
214
+ showInvalidModal(row) {
215
+ this.contract = row
216
+ this.showInvalid = true
217
+ },
218
+ async saveContract() {
219
+ if (isEmpty(this.selectdata.f_contract_money)) {
220
+ this.$showAlert('请先录入主合同金额!!!', 'warning', 3000)
221
+ return
222
+ }
223
+ let http = new HttpResetClass()
224
+ let data = {
225
+ contract: this.contract,
226
+ user: this.$login.f,
227
+ selectdata: this.selectdata
228
+ }
229
+ let res = await http.load('POST', 'rs/logic/addApplyContract', {data: data}, {
230
+ resolveMsg: null,
231
+ rejectMsg: '添加失败'
232
+ })
233
+ this.$dispatch('breakControl', this.selectdata)
234
+ },
235
+ async search () {
236
+ let http = new HttpResetClass()
237
+ let data = {
238
+ tablename: 't_contract',
239
+ condition: `f_process_id = '${this.selectdata.f_process_id}'`
240
+ }
241
+ let res = await http.load('POST', 'rs/sql/apply_singleTable', {data: data}, {
242
+ resolveMsg: null,
243
+ rejectMsg: '补充协议查询失败'
244
+ })
245
+ this.model.data = res.data
246
+ },
247
+ closeModal() {
248
+ this.showSupplement = false
249
+ this.showInvalid = false
250
+ this.contract = {}
251
+ this.search()
252
+ }
253
+ },
254
+ events: {
255
+ },
256
+ computed: {
257
+ contractType () {
258
+ return this.$appdata.getParam('合同类型')
259
+ }
260
+ },
261
+ watch: {
262
+ }
263
+ }
264
+ </script>
265
+ <style scoped>
266
+ .textNoLineBreak {
267
+ white-space: nowrap;
268
+ }
269
+ .head-but{
270
+ margin-left: 5px;
271
+ height: 34px;
272
+ /*background-color: #6aa6e2;*/
273
+ border-radius: 4px;
274
+ font-family: PingFang;
275
+ color: #ffffff;
276
+ }
277
+ </style>
@@ -1,24 +1,24 @@
1
- import Vue from 'vue'
2
-
3
- let specialComp = {
4
- 'service-control': (resolve) => { require(['./pc/ServiceControl'], resolve) },
5
- // 已完成的流程需要能够上传附件
6
- 'supervisory-control': (resolve) => { require(['./pc/SupervisoryControl'], resolve) },
7
- // 删除附件需要权限
8
- 'apply-upload': (resolve) => { require(['./pc/ApplyUpload'], resolve) },
9
- // 签到记录
10
- 'check-records': (resolve) => { require(['./pc/CheckRecords'], resolve) },
11
- 'add-material-science': (resolve) => { require(['./pc/addMaterialScience.vue'], resolve) },
12
- 'check-records-list': (resolve) => { require(['./pc/CheckRecordsList'], resolve) },
13
- 'hidden-trouble': (resolve) => { require(['./pc/HiddenTrouble'], resolve) },
14
- 'exploration-user': (resolve) => { require(['./pc/ExplorationUser'], resolve) },
15
- 'exploration-select': (resolve) => { require(['./pc/ExplorationSelect'], resolve) },
16
- 'supervisory-service-control': (resolve) => { require(['./pc/SupervisoryServiceControl'], resolve) },
17
- 'supervisory-service-view': (resolve) => { require(['./pc/SupervisoryServiceView'], resolve) },
18
- 'pc-add-logs': (resolve) => { require(['./pc/PcAddLogs'], resolve) },
19
- 'apply-charge-management': (resolve) => { require(['./pc/chargeManagement'], resolve) },
20
- 'pc-disclosure-record': (resolve) => { require(['./pc/PcDisclosurerecord'], resolve) },
21
- 'pc-legacy-issues': (resolve) => { require(['./pc/PcLegacyIssues'], resolve) },
22
- 'supplemental-agreement': (resolve) => { require(['./pc/supplementalAgreement'], resolve) }
23
- }
24
- exports.specialComp = specialComp
1
+ import Vue from 'vue'
2
+
3
+ let specialComp = {
4
+ 'service-control': (resolve) => { require(['./pc/ServiceControl'], resolve) },
5
+ // 已完成的流程需要能够上传附件
6
+ 'supervisory-control': (resolve) => { require(['./pc/SupervisoryControl'], resolve) },
7
+ // 删除附件需要权限
8
+ 'apply-upload': (resolve) => { require(['./pc/ApplyUpload'], resolve) },
9
+ // 签到记录
10
+ 'check-records': (resolve) => { require(['./pc/CheckRecords'], resolve) },
11
+ 'add-material-science': (resolve) => { require(['./pc/addMaterialScience.vue'], resolve) },
12
+ 'check-records-list': (resolve) => { require(['./pc/CheckRecordsList'], resolve) },
13
+ 'hidden-trouble': (resolve) => { require(['./pc/HiddenTrouble'], resolve) },
14
+ 'exploration-user': (resolve) => { require(['./pc/ExplorationUser'], resolve) },
15
+ 'exploration-select': (resolve) => { require(['./pc/ExplorationSelect'], resolve) },
16
+ 'supervisory-service-control': (resolve) => { require(['./pc/SupervisoryServiceControl'], resolve) },
17
+ 'supervisory-service-view': (resolve) => { require(['./pc/SupervisoryServiceView'], resolve) },
18
+ 'pc-add-logs': (resolve) => { require(['./pc/PcAddLogs'], resolve) },
19
+ 'apply-charge-management': (resolve) => { require(['./pc/chargeManagement'], resolve) },
20
+ 'pc-disclosure-record': (resolve) => { require(['./pc/PcDisclosurerecord'], resolve) },
21
+ 'pc-legacy-issues': (resolve) => { require(['./pc/PcLegacyIssues'], resolve) },
22
+ 'supplemental-agreement': (resolve) => { require(['./pc/supplementalAgreement'], resolve) }
23
+ }
24
+ exports.specialComp = specialComp