apply-clients 3.3.16 → 3.3.17

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 (57) hide show
  1. package/index.html +33 -33
  2. package/package.json +1 -1
  3. package/src/AndroidApp.vue +30 -30
  4. package/src/android.js +21 -21
  5. package/src/apply.js +3 -6
  6. package/src/applyAndroid.js +35 -35
  7. package/src/components/android/AppOnetomany.vue +285 -285
  8. package/src/components/android/AppServiceView.vue +570 -570
  9. package/src/components/android/AppTakePic.vue +143 -143
  10. package/src/components/android/Function/AppFunctionServiceControl.vue +329 -329
  11. package/src/components/android/Function/AppInstallFunction.vue +327 -327
  12. package/src/components/android/Process/AppExplorationUser.vue +268 -268
  13. package/src/components/android/Process/AppServiceControl.vue +711 -686
  14. package/src/components/android/Process/Processes/AppChargeManagement.vue +468 -468
  15. package/src/components/android/Process/Processes/AppDevicesManagement.vue +490 -490
  16. package/src/components/android/Process/Processes/AppInstallationDetails.vue +466 -466
  17. package/src/components/android/Process/Processes/AppSupplementalAgreement.vue +297 -297
  18. package/src/components/android/Supervisory/AppProcessSupervisory.vue +261 -261
  19. package/src/components/android/Supervisory/AppSupervisoryCart.vue +115 -115
  20. package/src/components/product/ApplyCharge/ApplyChargeList.vue +265 -265
  21. package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +30 -30
  22. package/src/components/product/Function/InstallFunction.vue +122 -122
  23. package/src/components/product/Function/InstallInfoSelect.vue +289 -289
  24. package/src/components/product/Function/Service/FunctionServiceControl.vue +254 -254
  25. package/src/components/product/Onetomany.vue +296 -296
  26. package/src/components/product/Order/OrderApply.vue +47 -47
  27. package/src/components/product/Order/OrderApplyList.vue +62 -62
  28. package/src/components/product/Order/OrderMessage.vue +237 -237
  29. package/src/components/product/Process/ExplorationSelect.vue +145 -143
  30. package/src/components/product/Process/ExplorationUser.vue +128 -128
  31. package/src/components/product/Process/Processes/InstallationDetails.vue +421 -352
  32. package/src/components/product/Process/Processes/Print/img/10101.png +0 -0
  33. package/src/components/product/Process/Processes/Print/img/1010109.png +0 -0
  34. package/src/components/product/Process/Processes/Print/img/1010110.png +0 -0
  35. package/src/components/product/Process/Processes/Print/img/1010111.png +0 -0
  36. package/src/components/product/Process/Processes/Print/img/1010112.png +0 -0
  37. package/src/components/product/Process/Processes/{printCharge.vue → Print/printCharge.vue} +139 -121
  38. package/src/components/product/Process/Processes/Print/printRefund.vue +193 -0
  39. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +181 -181
  40. package/src/components/product/Process/Processes/chargeManagement.vue +639 -639
  41. package/src/components/product/Process/Processes/devicesManagement.vue +458 -458
  42. package/src/components/product/Process/Processes/selectApply.vue +250 -250
  43. package/src/components/product/Process/Processes/selectUserinfo.vue +182 -182
  44. package/src/components/product/Process/Processes/supplementalAgreement.vue +298 -298
  45. package/src/components/product/Process/Service/ServiceControl.vue +916 -810
  46. package/src/components/product/Process/ShowBackReason.vue +33 -33
  47. package/src/components/product/ServiceView.vue +301 -307
  48. package/src/components/product/Stop/StopApplyList.vue +254 -254
  49. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +512 -517
  50. package/src/components/product/Supervisory/SupervisoryControl.vue +100 -100
  51. package/src/components/product/Supervisory/SupervisoryList.vue +226 -226
  52. package/src/components/product/Supervisory/SupervisoryhCart.vue +124 -124
  53. package/src/components/product/VueUtils/ApplyUpload.vue +262 -262
  54. package/src/components/product/VueUtils/GaoPaiYi/HighMeter.vue +1090 -1090
  55. package/src/main.js +23 -23
  56. package/src/components/product/Function/Inform.vue +0 -74
  57. package/src/components/product/Function/MarketSurvey.vue +0 -80
@@ -1,298 +1,298 @@
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">
81
- <label class="col-sm-2 control-label">合同编号:</label>
82
- <div class="col-sm-10">
83
- <input type="text"
84
- class="form-control input_view"
85
- style="width: 100%"
86
- readonly
87
- :value="selectdata.f_contract_number"
88
- v-model="contract.f_contract_number" />
89
- </div>
90
- </div>
91
- <div class="form-group col-sm-12" :class="[$v.f_contract_type.required ? 'has-error' : '']">
92
- <label class="col-sm-2 control-label">合同类型:</label>
93
- <div class="col-sm-10">
94
- <input type="text" v-show="false"
95
- class="form-control input_view"
96
- v-validate:f_contract_type = "['required']"
97
- v-model="contract.f_contract_type" />
98
- <input-select
99
- class="select select_list"
100
- :value.sync="contract.f_contract_type"
101
- v-model="contract.f_contract_type"
102
- :options="contractType"
103
- :valueSingle="true"></input-select>
104
- </div>
105
- </div>
106
- <div class="form-group col-sm-12" :class="[$v.f_contract_money.required ? 'has-error' : '']">
107
- <label class="col-sm-2 control-label">合同金额:</label>
108
- <div class="col-sm-10">
109
- <input type="number" style="width: 100%"
110
- class="form-control input_view"
111
- v-validate:f_contract_money = "['required']"
112
- v-model="contract.f_contract_money" />
113
- </div>
114
- </div>
115
- <div class="form-group col-sm-12">
116
- <label class="col-sm-2 control-label">备注:</label>
117
- <div class="col-sm-10">
118
- <input type="text"
119
- class="form-control input_view"
120
- style="width: 100%"
121
- v-model="contract.f_remarks" />
122
- </div>
123
- </div>
124
- </article>
125
- <footer slot="modal-footer" class="modal-footer">
126
- <button type="button" class="btn btn-primary" :disabled='!$v.valid' @click="saveContract()">新增协议</button>
127
- </footer>
128
- </modal>
129
-
130
- <modal v-if="showInvalid" :show.sync="showInvalid" v-ref:modal :large="true" :backdrop="false" title="作废协议">
131
- <header slot="modal-header" class="modal-header">
132
- <button type="button" class="close" @click="closeModal"><span>&times;</span></button>
133
- <h4 class="modal-title">作废协议</h4>
134
- </header>
135
- <article slot="modal-body" class="modal-body clearfix">
136
- <div class="form-group col-sm-12">
137
- <label class="col-sm-2 control-label">合同编号:</label>
138
- <div class="col-sm-10">
139
- <input type="text"
140
- class="form-control input_view"
141
- style="width: 100%"
142
- readonly
143
- v-model="contract.f_contract_number" />
144
- </div>
145
- </div>
146
- <div class="form-group col-sm-12">
147
- <label class="col-sm-2 control-label">合同类型:</label>
148
- <div class="col-sm-10">
149
- <input type="text"
150
- class="form-control input_view"
151
- style="width: 100%"
152
- readonly
153
- v-model="contract.f_contract_type" />
154
- </div>
155
- </div>
156
- <div class="form-group col-sm-12">
157
- <label class="col-sm-2 control-label">合同金额:</label>
158
- <div class="col-sm-10">
159
- <input type="text"
160
- class="form-control input_view"
161
- style="width: 100%"
162
- readonly
163
- v-model="contract.f_contract_money" />
164
- </div>
165
- </div>
166
- <div class="form-group col-sm-12">
167
- <label class="col-sm-2 control-label">提交人员:</label>
168
- <div class="col-sm-10">
169
- <input type="text"
170
- class="form-control input_view"
171
- style="width: 100%"
172
- readonly
173
- v-model="contract.f_operator" />
174
- </div>
175
- </div>
176
- <div class="form-group col-sm-12" :class="[$v.f_void_remarks.required ? 'has-error' : '']">
177
- <label class="col-sm-2 control-label">作废原因:</label>
178
- <div class="col-sm-10">
179
- <input type="text" style="width: 100%"
180
- class="form-control input_view"
181
- v-validate:f_void_remarks = "['required']"
182
- v-model="contract.f_void_remarks" />
183
- </div>
184
- </div>
185
- </article>
186
- <footer slot="modal-footer" class="modal-footer">
187
- <button type="button" class="btn btn-primary" :disabled='!$v.valid' @click="invalidContract()">确认作废</button>
188
- </footer>
189
- </modal>
190
- </validator>
191
- </div>
192
- </template>
193
- <script>
194
- import {getNowDate,isEmpty} from '../../../Util'
195
- import {PagedList} from 'vue-client'
196
- import {HttpResetClass} from 'vue-client'
197
- export default {
198
- title: '补充协议',
199
- props: {
200
- selectdata: {
201
- type: Object
202
- },
203
- mark: {
204
- type: Number,
205
- default: 0
206
- }
207
- },
208
- data () {
209
- return {
210
- showSupplement: false,
211
- showInvalid: false,
212
- model: {
213
- data: null
214
- },
215
- contract: {}
216
- }
217
- },
218
- ready () {
219
- this.search()
220
- },
221
- methods: {
222
- async invalidContract() {
223
- let http = new HttpResetClass()
224
- let data = {
225
- selectdata: this.selectdata,
226
- user: this.$login.f,
227
- contract: this.contract
228
- }
229
- let res = await http.load('POST', 'rs/logic/deleteApplyContract', {data: data}, {
230
- resolveMsg: null,
231
- rejectMsg: '作废失败'
232
- })
233
- this.$dispatch('breakControl', this.selectdata)
234
- },
235
- showInvalidModal(row) {
236
- this.contract = row
237
- this.showInvalid = true
238
- },
239
- async saveContract() {
240
- if (isEmpty(this.selectdata.f_contract_money)) {
241
- this.$showAlert('请先录入主合同金额!!!', 'warning', 3000)
242
- return
243
- }
244
- let http = new HttpResetClass()
245
- let data = {
246
- contract: this.contract,
247
- user: this.$login.f,
248
- selectdata: this.selectdata
249
- }
250
- let res = await http.load('POST', 'rs/logic/addApplyContract', {data: data}, {
251
- resolveMsg: null,
252
- rejectMsg: '添加失败'
253
- })
254
- this.$dispatch('breakControl', this.selectdata)
255
- },
256
- async search () {
257
- let http = new HttpResetClass()
258
- let data = {
259
- tablename: 't_contract',
260
- condition: `f_process_id = '${this.selectdata.f_process_id}'`
261
- }
262
- let res = await http.load('POST', 'rs/sql/singleTable', {data: data}, {
263
- resolveMsg: null,
264
- rejectMsg: '补充协议查询失败'
265
- })
266
- this.model.data = res.data
267
- },
268
- closeModal() {
269
- this.showSupplement = false
270
- this.showInvalid = false
271
- this.contract = {}
272
- this.search()
273
- }
274
- },
275
- events: {
276
- },
277
- computed: {
278
- contractType () {
279
- return this.$appdata.getParam('合同类型')
280
- }
281
- },
282
- watch: {
283
- }
284
- }
285
- </script>
286
- <style scoped>
287
- .textNoLineBreak {
288
- white-space: nowrap;
289
- }
290
- .head-but{
291
- margin-left: 5px;
292
- height: 34px;
293
- /*background-color: #6aa6e2;*/
294
- border-radius: 4px;
295
- font-family: PingFang;
296
- color: #ffffff;
297
- }
298
- </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">
81
+ <label class="col-sm-2 control-label">合同编号:</label>
82
+ <div class="col-sm-10">
83
+ <input type="text"
84
+ class="form-control input_view"
85
+ style="width: 100%"
86
+ readonly
87
+ :value="selectdata.f_contract_number"
88
+ v-model="contract.f_contract_number" />
89
+ </div>
90
+ </div>
91
+ <div class="form-group col-sm-12" :class="[$v.f_contract_type.required ? 'has-error' : '']">
92
+ <label class="col-sm-2 control-label">合同类型:</label>
93
+ <div class="col-sm-10">
94
+ <input type="text" v-show="false"
95
+ class="form-control input_view"
96
+ v-validate:f_contract_type = "['required']"
97
+ v-model="contract.f_contract_type" />
98
+ <input-select
99
+ class="select select_list"
100
+ :value.sync="contract.f_contract_type"
101
+ v-model="contract.f_contract_type"
102
+ :options="contractType"
103
+ :valueSingle="true"></input-select>
104
+ </div>
105
+ </div>
106
+ <div class="form-group col-sm-12" :class="[$v.f_contract_money.required ? 'has-error' : '']">
107
+ <label class="col-sm-2 control-label">合同金额:</label>
108
+ <div class="col-sm-10">
109
+ <input type="number" style="width: 100%"
110
+ class="form-control input_view"
111
+ v-validate:f_contract_money = "['required']"
112
+ v-model="contract.f_contract_money" />
113
+ </div>
114
+ </div>
115
+ <div class="form-group col-sm-12">
116
+ <label class="col-sm-2 control-label">备注:</label>
117
+ <div class="col-sm-10">
118
+ <input type="text"
119
+ class="form-control input_view"
120
+ style="width: 100%"
121
+ v-model="contract.f_remarks" />
122
+ </div>
123
+ </div>
124
+ </article>
125
+ <footer slot="modal-footer" class="modal-footer">
126
+ <button type="button" class="btn btn-primary" :disabled='!$v.valid' @click="saveContract()">新增协议</button>
127
+ </footer>
128
+ </modal>
129
+
130
+ <modal v-if="showInvalid" :show.sync="showInvalid" v-ref:modal :large="true" :backdrop="false" title="作废协议">
131
+ <header slot="modal-header" class="modal-header">
132
+ <button type="button" class="close" @click="closeModal"><span>&times;</span></button>
133
+ <h4 class="modal-title">作废协议</h4>
134
+ </header>
135
+ <article slot="modal-body" class="modal-body clearfix">
136
+ <div class="form-group col-sm-12">
137
+ <label class="col-sm-2 control-label">合同编号:</label>
138
+ <div class="col-sm-10">
139
+ <input type="text"
140
+ class="form-control input_view"
141
+ style="width: 100%"
142
+ readonly
143
+ v-model="contract.f_contract_number" />
144
+ </div>
145
+ </div>
146
+ <div class="form-group col-sm-12">
147
+ <label class="col-sm-2 control-label">合同类型:</label>
148
+ <div class="col-sm-10">
149
+ <input type="text"
150
+ class="form-control input_view"
151
+ style="width: 100%"
152
+ readonly
153
+ v-model="contract.f_contract_type" />
154
+ </div>
155
+ </div>
156
+ <div class="form-group col-sm-12">
157
+ <label class="col-sm-2 control-label">合同金额:</label>
158
+ <div class="col-sm-10">
159
+ <input type="text"
160
+ class="form-control input_view"
161
+ style="width: 100%"
162
+ readonly
163
+ v-model="contract.f_contract_money" />
164
+ </div>
165
+ </div>
166
+ <div class="form-group col-sm-12">
167
+ <label class="col-sm-2 control-label">提交人员:</label>
168
+ <div class="col-sm-10">
169
+ <input type="text"
170
+ class="form-control input_view"
171
+ style="width: 100%"
172
+ readonly
173
+ v-model="contract.f_operator" />
174
+ </div>
175
+ </div>
176
+ <div class="form-group col-sm-12" :class="[$v.f_void_remarks.required ? 'has-error' : '']">
177
+ <label class="col-sm-2 control-label">作废原因:</label>
178
+ <div class="col-sm-10">
179
+ <input type="text" style="width: 100%"
180
+ class="form-control input_view"
181
+ v-validate:f_void_remarks = "['required']"
182
+ v-model="contract.f_void_remarks" />
183
+ </div>
184
+ </div>
185
+ </article>
186
+ <footer slot="modal-footer" class="modal-footer">
187
+ <button type="button" class="btn btn-primary" :disabled='!$v.valid' @click="invalidContract()">确认作废</button>
188
+ </footer>
189
+ </modal>
190
+ </validator>
191
+ </div>
192
+ </template>
193
+ <script>
194
+ import {getNowDate,isEmpty} from '../../../Util'
195
+ import {PagedList} from 'vue-client'
196
+ import {HttpResetClass} from 'vue-client'
197
+ export default {
198
+ title: '补充协议',
199
+ props: {
200
+ selectdata: {
201
+ type: Object
202
+ },
203
+ mark: {
204
+ type: Number,
205
+ default: 0
206
+ }
207
+ },
208
+ data () {
209
+ return {
210
+ showSupplement: false,
211
+ showInvalid: false,
212
+ model: {
213
+ data: null
214
+ },
215
+ contract: {}
216
+ }
217
+ },
218
+ ready () {
219
+ this.search()
220
+ },
221
+ methods: {
222
+ async invalidContract() {
223
+ let http = new HttpResetClass()
224
+ let data = {
225
+ selectdata: this.selectdata,
226
+ user: this.$login.f,
227
+ contract: this.contract
228
+ }
229
+ let res = await http.load('POST', 'rs/logic/deleteApplyContract', {data: data}, {
230
+ resolveMsg: null,
231
+ rejectMsg: '作废失败'
232
+ })
233
+ this.$dispatch('breakControl', this.selectdata)
234
+ },
235
+ showInvalidModal(row) {
236
+ this.contract = row
237
+ this.showInvalid = true
238
+ },
239
+ async saveContract() {
240
+ if (isEmpty(this.selectdata.f_contract_money)) {
241
+ this.$showAlert('请先录入主合同金额!!!', 'warning', 3000)
242
+ return
243
+ }
244
+ let http = new HttpResetClass()
245
+ let data = {
246
+ contract: this.contract,
247
+ user: this.$login.f,
248
+ selectdata: this.selectdata
249
+ }
250
+ let res = await http.load('POST', 'rs/logic/addApplyContract', {data: data}, {
251
+ resolveMsg: null,
252
+ rejectMsg: '添加失败'
253
+ })
254
+ this.$dispatch('breakControl', this.selectdata)
255
+ },
256
+ async search () {
257
+ let http = new HttpResetClass()
258
+ let data = {
259
+ tablename: 't_contract',
260
+ condition: `f_process_id = '${this.selectdata.f_process_id}'`
261
+ }
262
+ let res = await http.load('POST', 'rs/sql/singleTable', {data: data}, {
263
+ resolveMsg: null,
264
+ rejectMsg: '补充协议查询失败'
265
+ })
266
+ this.model.data = res.data
267
+ },
268
+ closeModal() {
269
+ this.showSupplement = false
270
+ this.showInvalid = false
271
+ this.contract = {}
272
+ this.search()
273
+ }
274
+ },
275
+ events: {
276
+ },
277
+ computed: {
278
+ contractType () {
279
+ return this.$appdata.getParam('合同类型')
280
+ }
281
+ },
282
+ watch: {
283
+ }
284
+ }
285
+ </script>
286
+ <style scoped>
287
+ .textNoLineBreak {
288
+ white-space: nowrap;
289
+ }
290
+ .head-but{
291
+ margin-left: 5px;
292
+ height: 34px;
293
+ /*background-color: #6aa6e2;*/
294
+ border-radius: 4px;
295
+ font-family: PingFang;
296
+ color: #ffffff;
297
+ }
298
+ </style>