system-phone 1.2.140 → 1.2.141

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "system-phone",
3
- "version": "1.2.140",
3
+ "version": "1.2.141",
4
4
  "description": "手机模块 前端组件",
5
5
  "author": "何宁社 <524395609@qq.com>",
6
6
  "license": "ISC",
@@ -1,419 +1,420 @@
1
- <template>
2
- <div class="nav-bgcolor">
3
- <div class="auto">
4
- <div class="row nav-bgcolor" >
5
- <div class="col-xs-6 manbiankuang" v-for="tab in tabs" @click="gotopage(tab.link,tab.name)">
6
- <img class="imgs" :src="imgback(tab.name)">
7
- <div class="badge"
8
- v-show="isshowTag&&tab.num&&tab.num>0"
9
- ><div class="badge-content">{{tab.num>99?'99+':tab.num}}</div></div>
10
- <p></p>
11
- <p class="pagesfoot">{{tab.name}}</p>
12
-
13
- <!--<p class="pagesfoot">{{tab.name}}&nbsp;{{tab.icon}}</p>-->
14
- <p></p>
15
- </div>
16
- </div>
17
- <!--<div class="row" style="overflow:auto;">-->
18
- <!--<repair-first v-show="componentName == 'repair-first'" worktype="报修单" :sourcet="sourcet" tabname="维修待办" v-on:changesum="changesum"></repair-first>-->
19
- <!--<zhihuan-first v-show="componentName == 'zhihuan-first'" worktype="置换通气单" :sourcet="sourcet" tabname="置换待办" v-on:changesum="changesum"></zhihuan-first>-->
20
- <!--</div>-->
21
- </div>
22
- <validator name="v">
23
- <modal
24
- v-if="showModal"
25
- :show.sync="showModal"
26
- backdrop="false"
27
- title="工程类型"
28
- cancel-text="取消"
29
- ok-text="确认"
30
- :callback="apply"
31
- >
32
- <div class="form-horizontal" slot="modal-body">
33
- <div class="row form-group app-input" style="margin: 10px auto">
34
- <label class="">报建类型:</label>
35
- <div class="col-sm-8">
36
- <v-select
37
- v-model="applyType"
38
- placeholder='请选择需要发起的工程类型'
39
- :value.sync="applyType"
40
- :options='applyTypes'
41
- :value-single="true"
42
- class="select select_list"
43
- :search="false"
44
- close-on-select ></v-select>
45
- </div>
46
- </div>
47
- </div>
48
- </modal>
49
- </validator>
50
- </div>
51
- </template>
52
-
53
- <script scoped>
54
- import Vue from 'vue'
55
- import * as Util from '../Util'
56
- import {HttpResetClass} from "vue-client";
57
- export default {
58
- title: '待办工作导航',
59
- data() {
60
- return {
61
- titleName: '待办工作',
62
- showModal: false,
63
- isMenu: true,
64
- isshowTag:false,
65
- tabs: [],
66
- text: '导航组件this',
67
- beforeName: '待办工作',
68
- componentName: 'repair-first',
69
- sourcet: '竖屏',
70
- applyType: '', // 报建类型
71
- // applyTypes:this.$appdata.getParam("手机报建类型"),
72
- applyTypes: [{label: '散户报建', value: '散户报建'}, {label: '工商户报建', value: '工商户报建'}, {
73
- label: '团购报建',
74
- value: '团购报建'
75
- }, {label: '改管报建', value: '改管报建'}, {label: '增容报建', value: '增容报建'}, {
76
- label: '退款报建',
77
- value: '退款报建'
78
- }, {label: '团购转散户', value: '团购转散户'}, {label: '报警器报建', value: '报警器报建'}, {label: '工商业报警器报建', value: '工商业报警器报建'}],
79
-
80
- }
81
- },
82
- ready () {
83
- // this.getModelSum()
84
- if(Vue.config.telephone&&Vue.config.telephone.TipConfig&&Vue.config.telephone.TipConfig.data){
85
- this.isshowTag = true
86
- this.getTabs()
87
- }else{
88
- this.getNoTagTabs()
89
- }
90
-
91
- },
92
-
93
- methods: {
94
- click (row) {
95
- let _this = this
96
- this.$dispatch('gotoson', {
97
- _this: _this,
98
- title: row.defname,
99
- safe: true
100
- })
101
- this.$goto('app-service-control', {selectdata: row})
102
- },
103
- async getProcessId(processname) {
104
- let data = {
105
- workname: processname
106
- }
107
- let http = new HttpResetClass()
108
- let res = await http.load(
109
- 'POST',
110
- `${this.$androidUtil.getProxyUrl()}/rs/logic/getProcessId`,
111
- {data: data},
112
- {resolveMsg: null, rejectMsg: '流程标识获取失败!!!'}
113
- )
114
-
115
- return res.data
116
- },
117
- async apply () {
118
- if (this.applyType === '' || this.applyType === null) {
119
- this.$showAlert('请选择需要发起的类型', 'warning', 3000)
120
- return
121
- }
122
- let data = {
123
- f_apply_type: this.applyType
124
- }
125
- if (this.applyType === '散户报建') {
126
- data.processname = '散户报建流程'
127
- data.defname = '报装申请'
128
- } else if (this.applyType === '工商户报建') {
129
- data.processname = '工商户报建流程'
130
- data.defname = '报装申请'
131
- } else if (this.applyType === '改管报建') {
132
- data.processname = '改管报建流程'
133
- data.defname = '报装申请'
134
- } else if (this.applyType === '增容报建') {
135
- data.processname = '增容报建流程'
136
- data.defname = '报装申请'
137
- } else if (this.applyType === '团购报建') {
138
- data.processname = '团购报建流程'
139
- data.defname = '报装申请'
140
- } else if (this.applyType === '退款报建') {
141
- data.processname = '退款报建流程'
142
- data.defname = '终止报建'
143
- } else if (this.applyType === '团购转散户') {
144
- data.processname = '团购转散户报建流程'
145
- data.defname = '信息确认'
146
- }else if (this.applyType === '报警器报建') {
147
- data.processname = '报警器报建流程'
148
- data.defname = '报装申请'
149
- }else if (this.applyType === '工商业报警器报建') {
150
- data.processname = '工商业报警器报建流程'
151
- data.defname = '报装申请'
152
- } else {
153
- this.$showMessage('暂无此类报装')
154
- return
155
- }
156
-
157
- data.f_sub_state = "新增"
158
- data.f_apply_source = "线下发起"
159
- data.f_process_id = await this.getProcessId(data.processname)
160
-
161
- // 调用ExplorationUser事件
162
-
163
- this.click(data)
164
- this.applyType = null
165
- this.showModal = false
166
- },
167
- // 查询本地所有待办
168
- getModelSum(){
169
- for(var i = 0;i<this.tabs.length;i++){
170
- if(this.tabs[i].link == 'zhihuan-first' ){
171
- this.getZhihuan()
172
- }
173
- if(this.tabs[i].link == 'repair-first' ){
174
- this.getRepair()
175
- }
176
- if(this.tabs[i].link == 'current-create' ){
177
- this.getSafeCheck()
178
- }
179
- }
180
-
181
- },
182
- getRepair(){
183
- var _this = this;
184
- this.timeoutRepair = window.setInterval(function() {
185
- let result = _this.$androidUtil.path({'alias':`getServiceMobile`,'data':{condition:'1 = 1'}})
186
- if (result.code === 200) {
187
- console.log('查询得到的代办2' + JSON.stringify(result))
188
- var crv = {
189
- title: '维修待办',
190
- sum: result.data.length
191
- }
192
- _this.changesum(crv)
193
- }
194
- }, 6000)
195
- },
196
- getSafeCheck(){
197
- var _this = this;
198
- this.timeoutRepair = window.setInterval(function() {
199
- let result = _this.$androidUtil.path({'alias':`safecheckGetServiceMobile`,'data':{condition:'1 = 1'}})
200
- if (result.code === 200) {
201
- console.log('查询得到的安检代办' + JSON.stringify(result))
202
- var crv = {
203
- title: '安检待办',
204
- sum: result.data.length
205
- }
206
- _this.changesum(crv)
207
- }
208
- }, 6000)
209
- },
210
- getZhihuan(){
211
- var _this = this;
212
- this.timeoutZhihuan = window.setInterval(function() {
213
- let result = _this.$androidUtil.path({'alias':`getSubstitMobile`,'data':{condition:'1 = 1'}})
214
- if (result.code === 200) {
215
- console.log('查询得到的代办2' + JSON.stringify(result))
216
- var crv = {
217
- title: '置换待办',
218
- sum: result.data.length
219
- }
220
- _this.changesum(crv)
221
- }
222
- }, 6000)
223
- },
224
- changesum(titdata){
225
- for(var i = 0;i<this.tabs.length;i++){
226
- if(this.tabs[i].name == titdata.title){
227
- this.tabs[i].icon = titdata.sum + '单'
228
- console.log(JSON.stringify(this.tabs[i].icon))
229
- return
230
- }
231
- }
232
- },
233
- getNoTagTabs(){
234
- for(let funs in Vue.functions){
235
- if(Vue.functions[funs].link == 'attend-manage'){
236
- this.$set('tabs',Vue.functions[funs].children)
237
- }
238
- }
239
- },
240
- async getTabs(){
241
- const config = Vue.config.telephone.TipConfig.data
242
- const user = Vue.user
243
- console.log("Vue.android"+Vue.android)
244
- if(Vue.android){
245
- const result = this.$androidUtil.syncBzLogic("TipConfig",{data:{config,user}})
246
- if(result.code === 200){
247
- for(let funs in Vue.functions){
248
- if(Vue.functions[funs].link == 'attend-manage'){
249
- Vue.functions[funs].children.forEach(res=>{
250
- console.log(res)
251
- result.result.forEach(ress=>{
252
- if(res.link === ress.link){
253
- res.num=ress.num
254
- }
255
- })
256
- })
257
- this.$set('tabs',Vue.functions[funs].children)
258
- }
259
- }
260
- }else{
261
- for(let funs in Vue.functions){
262
- if(Vue.functions[funs].link == 'attend-manage'){
263
- this.$set('tabs',Vue.functions[funs].children)
264
- }
265
- }
266
- }
267
- }else{
268
- const result = {"code":200,"result":[{"link":"repair-first","num":50},{"link":"current-create","num":30}]}
269
- if(result.code === 200){
270
- for(let funs in Vue.functions){
271
- if(Vue.functions[funs].link == 'attend-manage'){
272
- Vue.functions[funs].children.forEach(res=>{
273
- console.log(res)
274
- result.result.forEach(ress=>{
275
- if(res.link === ress.link){
276
- res.num=ress.num
277
- }
278
- })
279
- })
280
- this.$set('tabs',Vue.functions[funs].children)
281
- }
282
- }
283
- }else{
284
-
285
- }
286
-
287
- }
288
-
289
- },
290
- imgback(val){
291
- return require('../assets/'+val+'.png')
292
- },
293
- // 返回主界面
294
- back(){
295
- this.titleName = '主界面'
296
- this.isMenu = true
297
-
298
- },
299
- gotopage(param,title) {
300
- if(title === '工程发起'){
301
- this.showModal = !this.showModal
302
- }else{
303
- console.log('进入子组件')
304
- var prpdata = {
305
- _this:this,
306
- title:title,
307
- safe:false
308
- }
309
- this.$dispatch('gotoson',prpdata)
310
- this.$goto(param,{sourcet:'竖屏',tabname:title})
311
- }
312
- },
313
- mute () {
314
- HostApp.mute()
315
- }
316
- },
317
- }
318
- </script>
319
- <style lang="less">
320
- .badge-content{
321
- color: #fff;
322
- box-sizing: border-box;
323
- min-width: 8px;
324
- font-size: 9px;
325
- line-height: 12px;
326
- white-space: nowrap;
327
- font-weight: 400;
328
- text-align: center;
329
- }
330
- .badge{
331
- top: 6px;
332
- position: absolute;
333
- max-height: 13px;
334
- min-height: 8px;
335
- //transform: translate(50%,-50%);
336
- right:0;
337
- display: inline-flex;
338
- vertical-align: middle;
339
- box-sizing: content-box;
340
- border-radius: 100px;
341
- background-color: red;
342
- }
343
- .app-input {
344
- label {
345
- float: left;
346
- }
347
- .select {
348
- button {
349
- border: none;
350
- outline: none;
351
- text-align: left;
352
- .btn-placeholder {
353
- color: #ACA899
354
- }
355
- }
356
- }
357
- .datepicker {
358
- .form-control:focus {
359
- border: none!important;
360
- outline: none!important;
361
- -webkit-box-shadow: none;
362
- box-shadow: none;
363
- }
364
- }
365
- }
366
- .tab-befor-img {
367
- content: '';
368
- background-size: 30px;
369
- display: inline-block;
370
- margin-right: 8px;
371
- height: 30px;
372
- width: 30px;
373
- vertical-align: -35%;
374
- }
375
- .pageskuang{
376
- vertical-align:middle;
377
- display:table-cell;
378
- width: 32%;
379
- top:-50%;
380
- margin-top: 1%;
381
- margin-left: 1%;
382
- border:1px solid #e3e3e3;
383
- text-align: center;
384
- background-color: #ffffff;
385
- }
386
- .pgesfoot{
387
- font-size: 14px;
388
- color: #666666;
389
- /* font-family: "Pingfhs";*/
390
- }
391
- .imgs{
392
- width: 35px;
393
- margin-top: 15px;
394
- }
395
- .pages-bgcolor{
396
- text-align: center;
397
- background-color: #f0f0ef;
398
- }
399
- img[src=""],img:not([src]){
400
- opacity: 0;
401
- border:none;
402
- visibility: hidden;
403
- max-width: none;
404
- }
405
-
406
- .manbiankuang{
407
- width: 44%;
408
- margin-top: 15px;
409
- margin-left: 4%;
410
- border:1px solid #e3e3e3;
411
- border-radius:10px 10px 10px 10px;
412
- text-align: center;
413
- background-color: #ffffff;
414
- }
415
-
416
- .nav-bgcolor{
417
- background-color: #ffffff;
418
- }
419
- </style>
1
+ <template>
2
+ <div class="nav-bgcolor">
3
+ <div class="auto">
4
+ <div class="row nav-bgcolor" >
5
+ <div class="col-xs-6 manbiankuang" v-for="tab in tabs" @click="gotopage(tab.link,tab.name)">
6
+ <img class="imgs" :src="imgback(tab.name)">
7
+ <div class="badge"
8
+ v-show="isshowTag&&tab.num&&tab.num>0"
9
+ ><div class="badge-content">{{tab.num>99?'99+':tab.num}}</div></div>
10
+ <p></p>
11
+ <p class="pagesfoot">{{tab.name}}</p>
12
+
13
+ <!--<p class="pagesfoot">{{tab.name}}&nbsp;{{tab.icon}}</p>-->
14
+ <p></p>
15
+ </div>
16
+ </div>
17
+ <!--<div class="row" style="overflow:auto;">-->
18
+ <!--<repair-first v-show="componentName == 'repair-first'" worktype="报修单" :sourcet="sourcet" tabname="维修待办" v-on:changesum="changesum"></repair-first>-->
19
+ <!--<zhihuan-first v-show="componentName == 'zhihuan-first'" worktype="置换通气单" :sourcet="sourcet" tabname="置换待办" v-on:changesum="changesum"></zhihuan-first>-->
20
+ <!--</div>-->
21
+ </div>
22
+ <validator name="v">
23
+ <modal
24
+ v-if="showModal"
25
+ :show.sync="showModal"
26
+ backdrop="false"
27
+ title="工程类型"
28
+ cancel-text="取消"
29
+ ok-text="确认"
30
+ :callback="apply"
31
+ >
32
+ <div class="form-horizontal" slot="modal-body">
33
+ <div class="row form-group app-input" style="margin: 10px auto">
34
+ <label class="">报建类型:</label>
35
+ <div class="col-sm-8">
36
+ <v-select
37
+ v-model="applyType"
38
+ placeholder='请选择需要发起的工程类型'
39
+ :value.sync="applyType"
40
+ :options='applyTypes'
41
+ :value-single="true"
42
+ class="select select_list"
43
+ :search="false"
44
+ close-on-select ></v-select>
45
+ </div>
46
+ </div>
47
+ </div>
48
+ </modal>
49
+ </validator>
50
+ </div>
51
+ </template>
52
+
53
+ <script scoped>
54
+ import Vue from 'vue'
55
+ import * as Util from '../Util'
56
+ import {HttpResetClass} from "vue-client";
57
+ export default {
58
+ title: '待办工作导航',
59
+ data() {
60
+ return {
61
+ titleName: '待办工作',
62
+ showModal: false,
63
+ isMenu: true,
64
+ isshowTag:false,
65
+ tabs: [],
66
+ text: '导航组件this',
67
+ beforeName: '待办工作',
68
+ componentName: 'repair-first',
69
+ sourcet: '竖屏',
70
+ applyType: '', // 报建类型
71
+ // applyTypes:this.$appdata.getParam("手机报建类型"),
72
+ applyTypes: [{label: '散户报建', value: '散户报建'}, {label: '工商户报建', value: '工商户报建'}, {
73
+ label: '团购报建',
74
+ value: '团购报建'
75
+ }, {label: '改管报建', value: '改管报建'}, {label: '增容报建', value: '增容报建'}, {
76
+ label: '退款报建',
77
+ value: '退款报建'
78
+ }, {label: '团购转散户', value: '团购转散户'}, {label: '报警器报建', value: '报警器报建'}, {label: '工商业报警器报建', value: '工商业报警器报建'}],
79
+
80
+ }
81
+ },
82
+ ready () {
83
+ // this.getModelSum()
84
+ if(Vue.config.telephone&&Vue.config.telephone.TipConfig&&Vue.config.telephone.TipConfig.data){
85
+ this.isshowTag = true
86
+ this.getTabs()
87
+ }else{
88
+ this.getNoTagTabs()
89
+ }
90
+
91
+ },
92
+
93
+ methods: {
94
+ click (row) {
95
+ row.laiyuan='工程发起'
96
+ let _this = this
97
+ this.$dispatch('gotoson', {
98
+ _this: _this,
99
+ title: row.defname,
100
+ safe: true
101
+ })
102
+ this.$goto('app-service-control', {selectdata: row})
103
+ },
104
+ async getProcessId(processname) {
105
+ let data = {
106
+ workname: processname
107
+ }
108
+ let http = new HttpResetClass()
109
+ let res = await http.load(
110
+ 'POST',
111
+ `${this.$androidUtil.getProxyUrl()}/rs/logic/getProcessId`,
112
+ {data: data},
113
+ {resolveMsg: null, rejectMsg: '流程标识获取失败!!!'}
114
+ )
115
+
116
+ return res.data
117
+ },
118
+ async apply () {
119
+ if (this.applyType === '' || this.applyType === null) {
120
+ this.$showAlert('请选择需要发起的类型', 'warning', 3000)
121
+ return
122
+ }
123
+ let data = {
124
+ f_apply_type: this.applyType
125
+ }
126
+ if (this.applyType === '散户报建') {
127
+ data.processname = '散户报建流程'
128
+ data.defname = '报装申请'
129
+ } else if (this.applyType === '工商户报建') {
130
+ data.processname = '工商户报建流程'
131
+ data.defname = '报装申请'
132
+ } else if (this.applyType === '改管报建') {
133
+ data.processname = '改管报建流程'
134
+ data.defname = '报装申请'
135
+ } else if (this.applyType === '增容报建') {
136
+ data.processname = '增容报建流程'
137
+ data.defname = '报装申请'
138
+ } else if (this.applyType === '团购报建') {
139
+ data.processname = '团购报建流程'
140
+ data.defname = '报装申请'
141
+ } else if (this.applyType === '退款报建') {
142
+ data.processname = '退款报建流程'
143
+ data.defname = '终止报建'
144
+ } else if (this.applyType === '团购转散户') {
145
+ data.processname = '团购转散户报建流程'
146
+ data.defname = '信息确认'
147
+ }else if (this.applyType === '报警器报建') {
148
+ data.processname = '报警器报建流程'
149
+ data.defname = '报装申请'
150
+ }else if (this.applyType === '工商业报警器报建') {
151
+ data.processname = '工商业报警器报建流程'
152
+ data.defname = '报装申请'
153
+ } else {
154
+ this.$showMessage('暂无此类报装')
155
+ return
156
+ }
157
+
158
+ data.f_sub_state = "新增"
159
+ data.f_apply_source = "线下发起"
160
+ data.f_process_id = await this.getProcessId(data.processname)
161
+
162
+ // 调用ExplorationUser事件
163
+
164
+ this.click(data)
165
+ this.applyType = null
166
+ this.showModal = false
167
+ },
168
+ // 查询本地所有待办
169
+ getModelSum(){
170
+ for(var i = 0;i<this.tabs.length;i++){
171
+ if(this.tabs[i].link == 'zhihuan-first' ){
172
+ this.getZhihuan()
173
+ }
174
+ if(this.tabs[i].link == 'repair-first' ){
175
+ this.getRepair()
176
+ }
177
+ if(this.tabs[i].link == 'current-create' ){
178
+ this.getSafeCheck()
179
+ }
180
+ }
181
+
182
+ },
183
+ getRepair(){
184
+ var _this = this;
185
+ this.timeoutRepair = window.setInterval(function() {
186
+ let result = _this.$androidUtil.path({'alias':`getServiceMobile`,'data':{condition:'1 = 1'}})
187
+ if (result.code === 200) {
188
+ console.log('查询得到的代办2' + JSON.stringify(result))
189
+ var crv = {
190
+ title: '维修待办',
191
+ sum: result.data.length
192
+ }
193
+ _this.changesum(crv)
194
+ }
195
+ }, 6000)
196
+ },
197
+ getSafeCheck(){
198
+ var _this = this;
199
+ this.timeoutRepair = window.setInterval(function() {
200
+ let result = _this.$androidUtil.path({'alias':`safecheckGetServiceMobile`,'data':{condition:'1 = 1'}})
201
+ if (result.code === 200) {
202
+ console.log('查询得到的安检代办' + JSON.stringify(result))
203
+ var crv = {
204
+ title: '安检待办',
205
+ sum: result.data.length
206
+ }
207
+ _this.changesum(crv)
208
+ }
209
+ }, 6000)
210
+ },
211
+ getZhihuan(){
212
+ var _this = this;
213
+ this.timeoutZhihuan = window.setInterval(function() {
214
+ let result = _this.$androidUtil.path({'alias':`getSubstitMobile`,'data':{condition:'1 = 1'}})
215
+ if (result.code === 200) {
216
+ console.log('查询得到的代办2' + JSON.stringify(result))
217
+ var crv = {
218
+ title: '置换待办',
219
+ sum: result.data.length
220
+ }
221
+ _this.changesum(crv)
222
+ }
223
+ }, 6000)
224
+ },
225
+ changesum(titdata){
226
+ for(var i = 0;i<this.tabs.length;i++){
227
+ if(this.tabs[i].name == titdata.title){
228
+ this.tabs[i].icon = titdata.sum + '单'
229
+ console.log(JSON.stringify(this.tabs[i].icon))
230
+ return
231
+ }
232
+ }
233
+ },
234
+ getNoTagTabs(){
235
+ for(let funs in Vue.functions){
236
+ if(Vue.functions[funs].link == 'attend-manage'){
237
+ this.$set('tabs',Vue.functions[funs].children)
238
+ }
239
+ }
240
+ },
241
+ async getTabs(){
242
+ const config = Vue.config.telephone.TipConfig.data
243
+ const user = Vue.user
244
+ console.log("Vue.android"+Vue.android)
245
+ if(Vue.android){
246
+ const result = this.$androidUtil.syncBzLogic("TipConfig",{data:{config,user}})
247
+ if(result.code === 200){
248
+ for(let funs in Vue.functions){
249
+ if(Vue.functions[funs].link == 'attend-manage'){
250
+ Vue.functions[funs].children.forEach(res=>{
251
+ console.log(res)
252
+ result.result.forEach(ress=>{
253
+ if(res.link === ress.link){
254
+ res.num=ress.num
255
+ }
256
+ })
257
+ })
258
+ this.$set('tabs',Vue.functions[funs].children)
259
+ }
260
+ }
261
+ }else{
262
+ for(let funs in Vue.functions){
263
+ if(Vue.functions[funs].link == 'attend-manage'){
264
+ this.$set('tabs',Vue.functions[funs].children)
265
+ }
266
+ }
267
+ }
268
+ }else{
269
+ const result = {"code":200,"result":[{"link":"repair-first","num":50},{"link":"current-create","num":30}]}
270
+ if(result.code === 200){
271
+ for(let funs in Vue.functions){
272
+ if(Vue.functions[funs].link == 'attend-manage'){
273
+ Vue.functions[funs].children.forEach(res=>{
274
+ console.log(res)
275
+ result.result.forEach(ress=>{
276
+ if(res.link === ress.link){
277
+ res.num=ress.num
278
+ }
279
+ })
280
+ })
281
+ this.$set('tabs',Vue.functions[funs].children)
282
+ }
283
+ }
284
+ }else{
285
+
286
+ }
287
+
288
+ }
289
+
290
+ },
291
+ imgback(val){
292
+ return require('../assets/'+val+'.png')
293
+ },
294
+ // 返回主界面
295
+ back(){
296
+ this.titleName = '主界面'
297
+ this.isMenu = true
298
+
299
+ },
300
+ gotopage(param,title) {
301
+ if(title === '工程发起'){
302
+ this.showModal = !this.showModal
303
+ }else{
304
+ console.log('进入子组件')
305
+ var prpdata = {
306
+ _this:this,
307
+ title:title,
308
+ safe:false
309
+ }
310
+ this.$dispatch('gotoson',prpdata)
311
+ this.$goto(param,{sourcet:'竖屏',tabname:title})
312
+ }
313
+ },
314
+ mute () {
315
+ HostApp.mute()
316
+ }
317
+ },
318
+ }
319
+ </script>
320
+ <style lang="less">
321
+ .badge-content{
322
+ color: #fff;
323
+ box-sizing: border-box;
324
+ min-width: 8px;
325
+ font-size: 9px;
326
+ line-height: 12px;
327
+ white-space: nowrap;
328
+ font-weight: 400;
329
+ text-align: center;
330
+ }
331
+ .badge{
332
+ top: 6px;
333
+ position: absolute;
334
+ max-height: 13px;
335
+ min-height: 8px;
336
+ //transform: translate(50%,-50%);
337
+ right:0;
338
+ display: inline-flex;
339
+ vertical-align: middle;
340
+ box-sizing: content-box;
341
+ border-radius: 100px;
342
+ background-color: red;
343
+ }
344
+ .app-input {
345
+ label {
346
+ float: left;
347
+ }
348
+ .select {
349
+ button {
350
+ border: none;
351
+ outline: none;
352
+ text-align: left;
353
+ .btn-placeholder {
354
+ color: #ACA899
355
+ }
356
+ }
357
+ }
358
+ .datepicker {
359
+ .form-control:focus {
360
+ border: none!important;
361
+ outline: none!important;
362
+ -webkit-box-shadow: none;
363
+ box-shadow: none;
364
+ }
365
+ }
366
+ }
367
+ .tab-befor-img {
368
+ content: '';
369
+ background-size: 30px;
370
+ display: inline-block;
371
+ margin-right: 8px;
372
+ height: 30px;
373
+ width: 30px;
374
+ vertical-align: -35%;
375
+ }
376
+ .pageskuang{
377
+ vertical-align:middle;
378
+ display:table-cell;
379
+ width: 32%;
380
+ top:-50%;
381
+ margin-top: 1%;
382
+ margin-left: 1%;
383
+ border:1px solid #e3e3e3;
384
+ text-align: center;
385
+ background-color: #ffffff;
386
+ }
387
+ .pgesfoot{
388
+ font-size: 14px;
389
+ color: #666666;
390
+ /* font-family: "Pingfhs";*/
391
+ }
392
+ .imgs{
393
+ width: 35px;
394
+ margin-top: 15px;
395
+ }
396
+ .pages-bgcolor{
397
+ text-align: center;
398
+ background-color: #f0f0ef;
399
+ }
400
+ img[src=""],img:not([src]){
401
+ opacity: 0;
402
+ border:none;
403
+ visibility: hidden;
404
+ max-width: none;
405
+ }
406
+
407
+ .manbiankuang{
408
+ width: 44%;
409
+ margin-top: 15px;
410
+ margin-left: 4%;
411
+ border:1px solid #e3e3e3;
412
+ border-radius:10px 10px 10px 10px;
413
+ text-align: center;
414
+ background-color: #ffffff;
415
+ }
416
+
417
+ .nav-bgcolor{
418
+ background-color: #ffffff;
419
+ }
420
+ </style>