apply-clients 3.3.216 → 3.4.1

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 (96) hide show
  1. package/android.html +23 -23
  2. package/index.html +33 -33
  3. package/package.json +3 -3
  4. package/src/AndroidApp.vue +35 -30
  5. package/src/App.vue +20 -20
  6. package/src/android.js +21 -21
  7. package/src/apply.js +81 -90
  8. package/src/applyAndroid.js +1 -23
  9. package/src/components/android/AppOnetomany.vue +301 -285
  10. package/src/components/android/AppServiceView.vue +566 -570
  11. package/src/components/android/AppSign.vue +142 -142
  12. package/src/components/android/AppTakePic.vue +143 -144
  13. package/src/components/android/Process/AppExplorationUser.vue +320 -270
  14. package/src/components/android/Process/AppServiceControl.vue +757 -686
  15. package/src/components/android/Process/Processes/AppInstallationDetails.vue +456 -466
  16. package/src/components/android/ProgressReport/ProgressReportDetail.vue +64 -0
  17. package/src/components/android/ProgressReport/ProgressReportList.vue +209 -0
  18. package/src/components/android/Supervisory/AppProcessSupervisory.vue +73 -152
  19. package/src/components/android/Supervisory/AppSupervisoryCart.vue +121 -115
  20. package/src/components/android/TaskGraph.vue +125 -0
  21. package/src/components/product/ApplyCharge/ApplyChargeList.vue +36 -50
  22. package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +3 -3
  23. package/src/components/product/Function/InstallFunction.vue +125 -122
  24. package/src/components/product/Function/InstallInfoSelect.vue +292 -318
  25. package/src/components/product/Function/Service/FunctionServiceControl.vue +222 -254
  26. package/src/components/product/Function/StopApplyCrrdList.vue +176 -0
  27. package/src/components/product/Function/functions/ApplyRecordCancel.vue +102 -0
  28. package/src/components/product/Function/functions/StopInstall.vue +106 -0
  29. package/src/components/product/Onetomany.vue +377 -296
  30. package/src/components/product/Order/OrderApply.vue +30 -30
  31. package/src/components/product/Order/OrderApplyList.vue +78 -67
  32. package/src/components/product/Order/OrderMessage.vue +11 -87
  33. package/src/components/product/Process/ExplorationSelect.vue +410 -369
  34. package/src/components/product/Process/ExplorationUser.vue +138 -128
  35. package/src/components/product/Process/Processes/InstallationDetails.vue +592 -504
  36. package/src/components/product/Process/Processes/Print/img/10101.png +0 -0
  37. package/src/components/product/Process/Processes/Print/img/1010109.png +0 -0
  38. package/src/components/product/Process/Processes/Print/img/1010110.png +0 -0
  39. package/src/components/product/Process/Processes/Print/img/1010111.png +0 -0
  40. package/src/components/product/Process/Processes/Print/img/1010112.png +0 -0
  41. package/src/components/product/Process/Processes/Print/printCharge.vue +142 -0
  42. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +207 -181
  43. package/src/components/product/Process/Processes/chargeManagement.vue +639 -638
  44. package/src/components/product/Process/Processes/devicesManagement.vue +22 -2
  45. package/src/components/product/Process/Processes/selectApply.vue +1 -1
  46. package/src/components/product/Process/Service/ServiceControl.vue +1254 -883
  47. package/src/components/product/Process/Service/ShowBackReason.vue +33 -0
  48. package/src/components/product/ServiceView.vue +631 -741
  49. package/src/components/product/Stop/StopApply.vue +103 -103
  50. package/src/components/product/Stop/StopApplyList.vue +269 -254
  51. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +186 -517
  52. package/src/components/product/Supervisory/SupervisoryControl.vue +100 -108
  53. package/src/components/product/Supervisory/SupervisoryList.vue +233 -253
  54. package/src/components/product/Supervisory/SupervisoryhCart.vue +107 -124
  55. package/src/components/product/VueUtils/ApplyUpload.vue +273 -264
  56. package/src/components/product/VueUtils/HighMeter.vue +208 -0
  57. package/src/expandcssAndroid.less +1034 -517
  58. package/src/filiale/yuchuan/android/Process/AppServiceControl.vue +548 -414
  59. package/src/filiale/yuchuan/android/Process/Processes/AppInstallationDetails.vue +754 -456
  60. package/src/filiale/yuchuan/android/Task/Survey/SurveyTsak.vue +60 -0
  61. package/src/filiale/yuchuan/android.js +7 -8
  62. package/src/filiale/yuchuan/pc/Order/OrderApply.vue +528 -517
  63. package/src/filiale/yuchuan/pc/Order/OrderApplyList.vue +343 -343
  64. package/src/filiale/yuchuan/pc/Process/ExplorationSelect.vue +270 -231
  65. package/src/filiale/yuchuan/pc/Process/ExplorationUser.vue +147 -131
  66. package/src/filiale/yuchuan/pc/Process/Processes/ApplyMapCom.vue +66 -0
  67. package/src/filiale/yuchuan/pc/Process/Processes/InstallationDetails.vue +759 -0
  68. package/src/filiale/yuchuan/pc/Process/Processes/chargeManagement.vue +470 -0
  69. package/src/filiale/yuchuan/pc/Process/Service/ServiceControl.vue +879 -517
  70. package/src/filiale/yuchuan/pc.js +11 -13
  71. package/src/main.js +23 -23
  72. package/src/components/android/Function/AppFunctionServiceControl.vue +0 -329
  73. package/src/components/android/Function/AppInstallFunction.vue +0 -330
  74. package/src/components/android/Process/Processes/AppBuildSign.vue +0 -47
  75. package/src/components/android/Process/Processes/AppChargeManagement.vue +0 -468
  76. package/src/components/android/Process/Processes/AppDevicesManagement.vue +0 -490
  77. package/src/components/android/Process/Processes/AppSupplementalAgreement.vue +0 -297
  78. package/src/components/android/Process/Processes/AppjiaSign.vue +0 -47
  79. package/src/components/android/Process/Processes/AppjiafangSign.vue +0 -47
  80. package/src/components/android/Process/Processes/ApptechnologySign.vue +0 -47
  81. package/src/components/image/dwg.jpg +0 -0
  82. package/src/components/image/yasuobao.jpg +0 -0
  83. package/src/components/product/Function/Inform.vue +0 -73
  84. package/src/components/product/Function/MarketSurvey.vue +0 -81
  85. package/src/components/product/Process/Processes/printCharge.vue +0 -121
  86. package/src/components/product/Process/ShowBackReason.vue +0 -33
  87. package/src/components/product/Supervisory/Service/printChargeNode.vue +0 -873
  88. package/src/components/product/VueUtils/GaoPaiYi/HighMeter.vue +0 -1090
  89. package/src/components/product/VueUtils/ToolsPage.vue +0 -51
  90. package/src/components/product/VueUtils/Tree.vue +0 -330
  91. package/src/filiale/wuan/android.js +0 -0
  92. package/src/filiale/wuan/pc.js +0 -4
  93. package/src/filiale/yuchuan/android/AppServiceView.vue +0 -599
  94. package/src/filiale/yuchuan/android/Reserve/ApplyReserve.vue +0 -200
  95. package/src/filiale/yuchuan/android/SiteSurvey/TaskGraph.vue +0 -137
  96. package/src/filiale/yuchuan/pc/Process/Processes/MapCom.vue +0 -51
@@ -0,0 +1,142 @@
1
+ <template>
2
+ <style id="printChargeStyle">
3
+ td{
4
+ height: 30px;
5
+ text-align: center;
6
+ }
7
+ table{
8
+ margin: auto;
9
+ /*width: 100%;*/
10
+ border-collapse:collapse;
11
+ border: 1px solid black;
12
+ }
13
+ h1,h2,h3,h4,h5,h6 {
14
+ text-align: center;
15
+ }
16
+ .orgs {
17
+ border-bottom: 2px solid;
18
+ padding: 5px;
19
+ }
20
+ .date {
21
+ float: left;
22
+ padding-left: 10px;
23
+ }
24
+ .status {
25
+ float: right;
26
+ padding-right: 10px;
27
+ }
28
+ .seal {
29
+ position: absolute;
30
+ right: 100px;
31
+ top: 120px;
32
+ width: 150px;
33
+ height: 150px;
34
+ /*opacity: 0.5;*/
35
+ z-index: -1;
36
+ }
37
+ </style>
38
+ <div id="printCharge">
39
+ <h4>
40
+ <span class="orgs">
41
+ {{orgs}}统一收据
42
+ </span>
43
+ </h4>
44
+ <table border="1" width="100%">
45
+ <tr>
46
+ <td colspan="2" style="border: none">
47
+ 开票日期:{{ new Date().Format('yyyy年MM月dd日') }}
48
+ </td>
49
+ <td colspan="2" style="border: none">
50
+ 收据编码:{{ charge.f_charge_number }}
51
+ </td>
52
+ <td colspan="2" style="border: none">
53
+ 状态:{{ charge.f_charge_status }}
54
+ </td>
55
+ </tr>
56
+ <tr>
57
+ <td style="width: 17%">用户姓名</td>
58
+ <td colspan="2" style="width: 33%">{{ selectdata.f_user_name }}</td>
59
+ <td style="width: 17%">用户编号</td>
60
+ <td colspan="2" style="width: 33%">{{ selectdata.f_userinfo_code }}</td>
61
+ </tr>
62
+ <tr>
63
+ <td>用户地址</td>
64
+ <td colspan="5">{{ selectdata.f_address }}</td>
65
+ </tr>
66
+ <tr>
67
+ <td>收款项目</td>
68
+ <td colspan="2">{{ charge.f_payment_term }}</td>
69
+ <td>收款方式</td>
70
+ <td colspan="2">{{ charge.f_payment_method }}</td>
71
+ </tr>
72
+ <tr>
73
+ <td>金额</td>
74
+ <td colspan="2">{{ charge.f_charge_money }}</td>
75
+ <td>金额大写</td>
76
+ <td colspan="2">{{ charge.f_amount_words }}</td>
77
+ </tr>
78
+ <tr>
79
+ <td>收款人</td>
80
+ <td colspan="2">{{ charge.f_charge_collectors }}</td>
81
+ <td>销售方(章)</td>
82
+ <td colspan="2"></td>
83
+ </tr>
84
+ <tr>
85
+ <td>备&emsp;&emsp;注</td>
86
+ <td colspan="5">{{ charge.f_charge_remarks }}</td>
87
+ </tr>
88
+ <tr>
89
+ <td colspan="6">
90
+ 请持此收据到{{orgs}}营业厅换取发票
91
+ </td>
92
+ </tr>
93
+ </table>
94
+ <img class="seal" border="0" :src="src" alt="">
95
+ </div>
96
+
97
+ <print-element v-show="false" v-ref:print id='printCharge' styleid='printChargeStyle'
98
+ top='20' left='30' width='100%' height='100%'>
99
+ </print-element>
100
+ </template>
101
+
102
+ <script>
103
+ import { isEmpty } from '../../../../Util'
104
+ Date.prototype.Format = function (fmt) {
105
+ var o = {
106
+ "M+": this.getMonth() + 1, //月份
107
+ "d+": this.getDate(), //日
108
+ "H+": this.getHours(), //小时
109
+ "m+": this.getMinutes(), //分
110
+ "s+": this.getSeconds(), //秒
111
+ "q+": Math.floor((this.getMonth() + 3) / 3), //季度
112
+ "S": this.getMilliseconds() //毫秒
113
+ };
114
+ if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
115
+ for (var k in o)
116
+ if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
117
+ return fmt;
118
+ }
119
+ export default {
120
+ title: '打印收费票据',
121
+ props: ['selectdata', 'charge'],
122
+ data () {
123
+ return {}
124
+ },
125
+ ready () {
126
+ },
127
+ methods: {
128
+ },
129
+ computed: {
130
+ orgs () {
131
+ return this.$login.f.orgs
132
+ },
133
+ src () {
134
+ return require(`./img/${this.$login.f.number}.png`)
135
+ }
136
+ }
137
+ }
138
+ </script>
139
+
140
+ <style scoped>
141
+
142
+ </style>
@@ -1,181 +1,207 @@
1
- <template>
2
- <div class="col-sm-12" style="margin: 20px 0px;">
3
- <criteria-paged :model="model" v-ref:cp>
4
- <criteria partial='criteria' @condition-changed='search' v-ref:cri>
5
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
- </div>
7
- </criteria>
8
- <data-grid :model="model" v-ref:grid partial='list' class="list_area table_sy" style="padding: 0px">
9
- <template partial='head'>
10
- <tr>
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">详细地址</th>
17
- <th class="textNoLineBreak">地址状态</th>
18
- <th class="textNoLineBreak">客户编号</th>
19
- <th class="textNoLineBreak">用户姓名</th>
20
- <th class="textNoLineBreak">电话</th>
21
- <th class="textNoLineBreak">证件类型</th>
22
- <th class="textNoLineBreak">证件号码</th>
23
- <th class="textNoLineBreak">时间</th>
24
- <th class="textNoLineBreak">
25
- <button type="button" class="btn btn-info head-but"
26
- :disabled="$parent.$parent.$parent.mark === 1"
27
- @click="$parent.$parent.$parent.showFileModal()">导入</button>
28
- <a type="button" class="btn btn-info head-but"
29
- href="/apply/download/excel/批量导入.xlsx" download>模板下载</a>
30
- </th>
31
- </tr>
32
- </template>
33
- <template partial='body'>
34
- <tr>
35
- <td style="text-align: center;">
36
- <nobr>{{$index+1}}</nobr>
37
- </td>
38
- <td style="text-align: center;">
39
- <nobr>{{row.f_pcd}}</nobr>
40
- </td>
41
- <td style="text-align: center;">
42
- <nobr>{{row.f_slice_area}}</nobr>
43
- </td>
44
- <td style="text-align: center;">
45
- <nobr>{{row.f_street}}</nobr>
46
- </td>
47
- <td style="text-align: center;">
48
- <nobr>{{row.f_residential_area}}</nobr>
49
- </td>
50
- <td style="text-align: center;">
51
- <nobr>{{row.f_address}}</nobr>
52
- </td>
53
- <td style="text-align: center;">
54
- <nobr>{{row.f_address_state}}</nobr>
55
- </td>
56
- <td style="text-align: center;">
57
- <nobr>{{row.f_userinfo_code}}</nobr>
58
- </td>
59
- <td style="text-align: center;">
60
- <nobr>{{row.f_user_name}}</nobr>
61
- </td>
62
- <td style="text-align: center;">
63
- <nobr>{{row.f_user_phone}}</nobr>
64
- </td>
65
- <td style="text-align: center;">
66
- <nobr>{{row.f_credentials}}</nobr>
67
- </td>
68
- <td style="text-align: center;">
69
- <nobr>{{row.f_idnumber}}</nobr>
70
- </td>
71
- <td style="text-align: center;">
72
- <nobr>{{row.f_create_date}}</nobr>
73
- </td>
74
- <td style="text-align: center;">
75
- <nobr>
76
-
77
- </nobr>
78
- </td>
79
- </tr>
80
- </template>
81
- </data-grid>
82
- </criteria-paged>
83
- </div>
84
- <modal :show.sync="showFile" v-ref:modal backdrop="true" title="选择文件">
85
- <header slot="modal-header" class="modal-header">
86
- <button type="button" class="close" @click="closeFile"><span>&times;</span></button>
87
- <h4 class="modal-title">选择文件</h4>
88
- </header>
89
- <article slot="modal-body" class="modal-body">
90
- <div class="form-group">
91
- <file-upload class="my-file-uploader" name="useraddressUploadFile" action="rs/file/uploadFile" tagname="确定" multiple v-ref:file></file-upload>
92
- </div>
93
- </article>
94
- <footer slot="modal-footer" class="modal-footer"></footer>
95
- </modal>
96
- </template>
97
- <script>
98
- import {PagedList} from 'vue-client'
99
- import {HttpResetClass} from 'vue-client'
100
-
101
- export default {
102
- title: '地址管理',
103
- props: {
104
- selectdata: {
105
- type: Object
106
- },
107
- mark: {
108
- type: Number,
109
- default: 0 // 0:正常 1:禁用 2:追加用户
110
- }
111
- },
112
- data () {
113
- return {
114
- showFile: false,
115
- model: new PagedList('rs/sql/getAddressAanUserinfo', 20, {
116
- data: {
117
- f_filialeid: this.$login.f.orgid,
118
- f_process_id: this.selectdata.f_process_id
119
- }
120
- })
121
- }
122
- },
123
- ready () {
124
- this.search()
125
- },
126
- methods: {
127
- showFileModal() {
128
- this.showFile = !this.showFile
129
- },
130
- async search () {
131
- this.$refs.cp.$refs.cri.search()
132
- },
133
- // 关闭文件上传对话框
134
- closeFile() {
135
- this.showFile = false
136
- // 将选的文件清空
137
- this.$refs.file.$el.querySelector('input').value = ''
138
- this.search()
139
- }
140
- },
141
- events: {
142
- async 'onFileUpload'(file, result) {
143
- let data = {
144
- selectdata: this.selectdata,
145
- filepath: result.f_downloadpath,
146
- user: this.$login.f,
147
- mark: this.mark
148
- }
149
- let res = await this.$resetpost(`rs/logic/importAddressAndUserinfo`, {data:data}, {resolveMsg: null, rejectMsg: '导入失败!!!', silent: true}, 0)
150
- this.closeFile()
151
- }
152
- },
153
- computed: {
154
- },
155
- watch: {
156
- 'model.count': {
157
- handler: function () {
158
- for (let i = 0; i < this.selectdata.fields.length; i++) {
159
- if (this.selectdata.fields[i].label === '户数') {
160
- console.log(this.model.count)
161
- this.selectdata.fields[i].value = this.model.count
162
- }
163
- }
164
- }
165
- }
166
- }
167
- }
168
- </script>
169
- <style scoped>
170
- .textNoLineBreak {
171
- white-space: nowrap;
172
- }
173
- .head-but{
174
- margin-left: 5px;
175
- height: 34px;
176
- /*background-color: #6aa6e2;*/
177
- border-radius: 4px;
178
- font-family: PingFang;
179
- color: #ffffff;
180
- }
181
- </style>
1
+ <template>
2
+ <work-busy :is-busy="showWork" v-show="showWork"></work-busy>
3
+
4
+ <div class="col-sm-12" style="margin: 20px 0px;">
5
+ <criteria-paged :model="model" v-ref:cp>
6
+ <criteria partial='criteria' @condition-changed='search' v-ref:cri>
7
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
8
+ </div>
9
+ </criteria>
10
+ <data-grid :model="model" v-ref:grid partial='list' class="list_area table_sy" style="padding: 0px">
11
+ <template partial='head'>
12
+ <tr>
13
+ <th class="textNoLineBreak">序号</th>
14
+ <th class="textNoLineBreak">区/县</th>
15
+ <th class="textNoLineBreak">片区</th>
16
+ <th class="textNoLineBreak">街道</th>
17
+ <th class="textNoLineBreak">小区</th>
18
+ <th class="textNoLineBreak">详细地址</th>
19
+ <th class="textNoLineBreak">地址状态</th>
20
+ <th class="textNoLineBreak">客户编号</th>
21
+ <th class="textNoLineBreak">用户姓名</th>
22
+ <th class="textNoLineBreak">电话</th>
23
+ <th class="textNoLineBreak">证件类型</th>
24
+ <th class="textNoLineBreak">证件号码</th>
25
+ <th class="textNoLineBreak">时间</th>
26
+ <th class="textNoLineBreak">
27
+ <button type="button" class="btn btn-info head-but"
28
+ :disabled="$parent.$parent.$parent.mark === 1"
29
+ @click="$parent.$parent.$parent.showFileModal()">导入</button>
30
+ <a type="button" class="btn btn-info head-but"
31
+ href="/apply/download/excel/批量导入.xlsx" download>模板下载</a>
32
+ </th>
33
+ </tr>
34
+ </template>
35
+ <template partial='body'>
36
+ <tr>
37
+ <td style="text-align: center;">
38
+ <nobr>{{$index+1}}</nobr>
39
+ </td>
40
+ <td style="text-align: center;">
41
+ <nobr>{{row.f_pcd}}</nobr>
42
+ </td>
43
+ <td style="text-align: center;">
44
+ <nobr>{{row.f_slice_area}}</nobr>
45
+ </td>
46
+ <td style="text-align: center;">
47
+ <nobr>{{row.f_street}}</nobr>
48
+ </td>
49
+ <td style="text-align: center;">
50
+ <nobr>{{row.f_residential_area}}</nobr>
51
+ </td>
52
+ <td style="text-align: center;">
53
+ <nobr>{{row.f_address}}</nobr>
54
+ </td>
55
+ <td style="text-align: center;">
56
+ <nobr>{{row.f_address_state}}</nobr>
57
+ </td>
58
+ <td style="text-align: center;">
59
+ <nobr>{{row.f_userinfo_code}}</nobr>
60
+ </td>
61
+ <td style="text-align: center;">
62
+ <nobr>{{row.f_user_name}}</nobr>
63
+ </td>
64
+ <td style="text-align: center;">
65
+ <nobr>{{row.f_user_phone}}</nobr>
66
+ </td>
67
+ <td style="text-align: center;">
68
+ <nobr>{{row.f_credentials}}</nobr>
69
+ </td>
70
+ <td style="text-align: center;">
71
+ <nobr>{{row.f_idnumber}}</nobr>
72
+ </td>
73
+ <td style="text-align: center;">
74
+ <nobr>{{row.f_create_date}}</nobr>
75
+ </td>
76
+ <td style="text-align: center;">
77
+ <nobr>
78
+
79
+ </nobr>
80
+ </td>
81
+ </tr>
82
+ </template>
83
+ </data-grid>
84
+ </criteria-paged>
85
+ </div>
86
+ <modal :show.sync="showFile" v-ref:modal backdrop="true" title="选择文件">
87
+ <header slot="modal-header" class="modal-header">
88
+ <button type="button" class="close" @click="closeFile"><span>&times;</span></button>
89
+ <h4 class="modal-title">选择文件</h4>
90
+ </header>
91
+ <article slot="modal-body" class="modal-body">
92
+ <div class="form-group">
93
+ <file-upload class="my-file-uploader" name="useraddressUploadFile" action="rs/file/uploadFile" tagname="确定" multiple v-ref:file></file-upload>
94
+ </div>
95
+ </article>
96
+ <footer slot="modal-footer" class="modal-footer"></footer>
97
+ </modal>
98
+ </template>
99
+ <script>
100
+ import {PagedList} from 'vue-client'
101
+ import {HttpResetClass} from 'vue-client'
102
+
103
+ export default {
104
+ title: '地址管理',
105
+ props: {
106
+ selectdata: {
107
+ type: Object
108
+ },
109
+ mark: {
110
+ type: Number,
111
+ default: 0 // 0:正常 1:禁用
112
+ }
113
+ },
114
+ data () {
115
+ return {
116
+ showFile: false,
117
+ model: new PagedList('rs/sql/getAddressAanUserinfo', 20, {
118
+ data: {
119
+ f_filialeid: this.$login.f.orgid,
120
+ f_process_id: this.selectdata.f_process_id
121
+ }
122
+ }),
123
+ showWork: false
124
+ }
125
+ },
126
+ ready () {
127
+ this.search()
128
+ },
129
+ methods: {
130
+ showFileModal() {
131
+ this.showFile = !this.showFile
132
+ },
133
+ async search () {
134
+ this.$refs.cp.$refs.cri.search()
135
+ },
136
+ // 关闭文件上传对话框
137
+ closeFile() {
138
+ this.showWork = false
139
+ this.showFile = false
140
+ // 将选的文件清空
141
+ this.$refs.file.$el.querySelector('input').value = ''
142
+ this.search()
143
+ }
144
+ },
145
+ events: {
146
+ 'beforeFileUpload' (file) {
147
+ this.showWork = true
148
+ },
149
+ async 'onFileUpload'(file, result) {
150
+ let data = {
151
+ selectdata: this.selectdata,
152
+ filepath: result.f_downloadpath,
153
+ user: this.$login.f,
154
+ mark: this.mark
155
+ }
156
+
157
+ try {
158
+ let res = await this.$resetpost(`rs/logic/importAddressAndUserinfo`, {data: data}, {
159
+ resolveMsg: null,
160
+ rejectMsg: '导入失败!!!',
161
+ silent: true
162
+ }, 0)
163
+ } catch (e) {
164
+ // this.closeFile()
165
+ } finally {
166
+ this.closeFile()
167
+ }
168
+
169
+ }
170
+ },
171
+ computed: {
172
+ },
173
+ watch: {
174
+ 'model.count': {
175
+ handler: function () {
176
+ if (this.model.count != this.selectdata.f_apply_count) {
177
+ console.log(this.model.count)
178
+ console.log(this.selectdata.f_apply_count)
179
+ console.log(this.model.count !== this.selectdata.f_apply_count)
180
+ this.selectdata.f_apply_count = this.model.count
181
+
182
+ this.$resetpost(
183
+ 'rs/entity/t_apply',
184
+ this.selectdata,
185
+ {resolveMsg: null, rejectMsg: '数据更新失败!!!'}
186
+ ).then(res => {
187
+ this.$dispatch('breakControl', this.selectdata)
188
+ })
189
+ }
190
+ }
191
+ }
192
+ }
193
+ }
194
+ </script>
195
+ <style scoped>
196
+ .textNoLineBreak {
197
+ white-space: nowrap;
198
+ }
199
+ .head-but{
200
+ margin-left: 5px;
201
+ height: 34px;
202
+ /*background-color: #6aa6e2;*/
203
+ border-radius: 4px;
204
+ font-family: PingFang;
205
+ color: #ffffff;
206
+ }
207
+ </style>