apply-clients 7.1.32 → 7.1.35

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.
@@ -1,208 +1,208 @@
1
- <template>
2
- <div class="col-sm-12">
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 class="row">
7
- <div class="form-group col-sm-4">
8
- <label class="font_normal_body">项目名称/客户名称/联系人:</label>
9
- <input type="text" class="input_search" v-model="model.f_user_name"
10
- v-on:keyup.enter="search" condition=" (f_entry_name like '%{}%' or f_user_name like '%{}%' or f_contact like '%{}%') " placeholder='三选一输入'>
11
- </div>
12
- <div class="form-group col-sm-3">
13
- <label class="font_normal_body">报建编号:</label>
14
- <input type="text" class="input_search" placeholder='报建编号' v-model="model.f_apply_num"
15
- v-on:keyup.enter="search"
16
- condition="f_apply_num = '{}'">
17
- </div>
18
- <div class="form-group col-sm-3">
19
- <label class="font_normal_body">合同编号:</label>
20
- <input type="text" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
21
- v-on:keyup.enter="search"
22
- condition="f_contract_number = '{}'">
23
- </div>
24
- <div class="form-group col-sm-2 button-range">
25
- <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
26
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
27
- <div
28
- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
29
- @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
30
- class="button_spacing"
31
- style="float: right">
32
- </div>
33
- </div>
34
- </div>
35
- <div class="row" v-show="$parent.$parent.criteriaShow">
36
- <div class="form-group col-sm-3">
37
- <label class="font_normal_body">报建类型:</label>
38
- <v-select
39
- v-model="model.f_apply_type"
40
- placeholder='报建类型'
41
- condition="f_apply_type like '%{}%'"
42
- :value.sync="model.f_apply_type"
43
- :options='$parent.$parent.applytype'
44
- class="select select_list"
45
- :value-single="true"
46
- @change="$parent.$parent.applyTypeChange()"
47
- close-on-select ></v-select>
48
- </div>
49
- <div class="form-group col-sm-3">
50
- <label class="font_normal_body">办理环节:</label>
51
- <v-select
52
- v-model="model.defname"
53
- placeholder='办理环节'
54
- condition="defname = '{}'"
55
- :value.sync="model.defname"
56
- :options='$parent.$parent.defnames'
57
- class="select select_list"
58
- :value-single="true"
59
- close-on-select ></v-select>
60
- </div>
61
- <div class="form-group col-sm-3">
62
- <label class="font_normal_body">联系电话:</label>
63
- <input type="text" class="input_search" placeholder='联系电话' v-model="model.f_phone"
64
- v-on:keyup.enter="search"
65
- condition="f_phone like '%{}%'">
66
- </div>
67
- <div class="form-group col-sm-3">
68
- <label class="font_normal_body">用户地址:</label>
69
- <input type="text" class="input_search" placeholder='用户地址' v-model="model.f_address"
70
- v-on:keyup.enter="search"
71
- condition="f_address like '%{}%'">
72
- </div>
73
- <div class="form-group col-sm-3">
74
- <label for="startDate" class="font_normal_body">开始时间:</label>
75
- <datepicker id="startDate" placeholder="开始日期"
76
- style="width: 60%!important;"
77
- v-model="model.startDate"
78
- :value.sync="model.startDate"
79
- :format="'yyyy-MM-dd HH:mm:ss'"
80
- :show-reset-button="true"
81
- condition="f_apply_date >= '{}'">
82
- </datepicker>
83
- </div>
84
- <div class="form-group col-sm-3">
85
- <label for="endDate" class="font_normal_body">结束时间:</label>
86
- <datepicker id="endDate" placeholder="结束日期"
87
- style="width: 60%!important;"
88
- v-model="model.endDate"
89
- :value.sync="model.endDate"
90
- :format="'yyyy-MM-dd HH:mm:ss'"
91
- :show-reset-button="true"
92
- condition="f_apply_date <= '{}'">
93
- </datepicker>
94
- </div>
95
- </div>
96
- </div>
97
- </criteria>
98
- <data-grid v-if="$parent.showData" :model="model" partial='list' v-ref:grid class="list_area table_sy">
99
- <template partial='head'>
100
- <tr>
101
- <th style="white-space: nowrap;">序号</th>
102
- <th style="white-space: nowrap;">报建编号</th>
103
- <th style="white-space: nowrap;">项目名称/客户名称/联系人</th>
104
- <th style="white-space: nowrap;">合同编号</th>
105
- <th style="white-space: nowrap;">电话</th>
106
- <th style="white-space: nowrap;">地址</th>
107
- <th style="white-space: nowrap;">报建类型</th>
108
- <th style="white-space: nowrap;">办理环节</th>
109
- <th style="white-space: nowrap;">流程状态</th>
110
- <th style="white-space: nowrap;">报建日期</th>
111
- </tr>
112
- </template>
113
- <template partial='body'>
114
- <tr>
115
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
116
- <nobr>{{$index+1}}</nobr>
117
- </td>
118
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
119
- <nobr>{{row.f_apply_num}}</nobr>
120
- </td>
121
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
122
- <nobr>{{row.f_entry_name}}/{{row.f_user_name}}/{{row.f_contact}}</nobr>
123
- </td>
124
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
125
- <nobr>{{row.f_contract_number}}</nobr>
126
- </td>
127
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
128
- <nobr>{{row.f_phone}}</nobr>
129
- </td>
130
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
131
- <nobr>{{row.f_address}}</nobr>
132
- </td>
133
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
134
- <nobr>{{row.f_apply_type}}</nobr>
135
- </td>
136
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
137
- <nobr>{{row.defname}}</nobr>
138
- </td>
139
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
140
- <nobr>{{row.f_sub_state}}</nobr>
141
- </td>
142
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
143
- <nobr>{{row.f_apply_date}}</nobr>
144
- </td>
145
- </tr>
146
- </template>
147
- </data-grid>
148
- </criteria-paged>
149
- </div>
150
- </template>
151
- <script>
152
- import {PagedList} from 'vue-client'
153
- import {HttpResetClass} from 'vue-client'
154
- import {isEmpty} from '../../Util'
155
- export default {
156
- title: '勘探详情',
157
- props: ['showData'],
158
- data () {
159
- return {
160
- applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
161
- model: new PagedList('rs/sql/supervisory', 20, {
162
- data: {
163
- id: `${this.$login.f.name}`,
164
- orgid: this.$login.f.f_orgids
165
- }
166
- }),
167
- defnames: [{label: '全部', value: ''}], // 流程节点
168
- criteriaShow: false
169
- }
170
- },
171
- ready () {
172
- // 调用查询
173
- this.search()
174
- },
175
- events: {
176
- },
177
- methods: {
178
- // 查询
179
- search () {
180
- this.$dispatch('search')
181
- },
182
- clear () {
183
- Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
184
- this.$refs.cp.$refs.cri.model[key] = []
185
- })
186
- },
187
- applyTypeChange () {
188
- if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
189
- let http = new HttpResetClass()
190
- http.load('POST', 'rs/logic/getDefnameByType', {
191
- f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type
192
- }, {resolveMsg: null, rejectMsg: null}).then((res) => {
193
- this.defnames = [{label: '全部', value: ''}, ...res.data]
194
- })
195
- } else {
196
- this.defnames = [{label: '全部', value: ''}]
197
- }
198
- },
199
- check (val) {
200
- this.$dispatch('apply', val)
201
- }
202
- },
203
- computed: {
204
- }
205
- }
206
- </script>
207
- <style scoped>
208
- </style>
1
+ <template>
2
+ <div class="col-sm-12">
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 class="row">
7
+ <div class="form-group col-sm-4">
8
+ <label class="font_normal_body">项目名称/客户名称/联系人:</label>
9
+ <input type="text" class="input_search" v-model="model.f_user_name"
10
+ v-on:keyup.enter="search" condition=" (f_entry_name like '%{}%' or f_user_name like '%{}%' or f_contact like '%{}%') " placeholder='三选一输入'>
11
+ </div>
12
+ <div class="form-group col-sm-3">
13
+ <label class="font_normal_body">报建编号:</label>
14
+ <input type="text" class="input_search" placeholder='报建编号' v-model="model.f_apply_num"
15
+ v-on:keyup.enter="search"
16
+ condition="f_apply_num = '{}'">
17
+ </div>
18
+ <div class="form-group col-sm-3">
19
+ <label class="font_normal_body">合同编号:</label>
20
+ <input type="text" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
21
+ v-on:keyup.enter="search"
22
+ condition="f_contract_number = '{}'">
23
+ </div>
24
+ <div class="form-group col-sm-2 button-range">
25
+ <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
26
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
27
+ <div
28
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
29
+ @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
30
+ class="button_spacing"
31
+ style="float: right">
32
+ </div>
33
+ </div>
34
+ </div>
35
+ <div class="row" v-show="$parent.$parent.criteriaShow">
36
+ <div class="form-group col-sm-3">
37
+ <label class="font_normal_body">报建类型:</label>
38
+ <v-select
39
+ v-model="model.f_apply_type"
40
+ placeholder='报建类型'
41
+ condition="f_apply_type like '%{}%'"
42
+ :value.sync="model.f_apply_type"
43
+ :options='$parent.$parent.applytype'
44
+ class="select select_list"
45
+ :value-single="true"
46
+ @change="$parent.$parent.applyTypeChange()"
47
+ close-on-select ></v-select>
48
+ </div>
49
+ <div class="form-group col-sm-3">
50
+ <label class="font_normal_body">办理环节:</label>
51
+ <v-select
52
+ v-model="model.defname"
53
+ placeholder='办理环节'
54
+ condition="defname = '{}'"
55
+ :value.sync="model.defname"
56
+ :options='$parent.$parent.defnames'
57
+ class="select select_list"
58
+ :value-single="true"
59
+ close-on-select ></v-select>
60
+ </div>
61
+ <div class="form-group col-sm-3">
62
+ <label class="font_normal_body">联系电话:</label>
63
+ <input type="text" class="input_search" placeholder='联系电话' v-model="model.f_phone"
64
+ v-on:keyup.enter="search"
65
+ condition="f_phone like '%{}%'">
66
+ </div>
67
+ <div class="form-group col-sm-3">
68
+ <label class="font_normal_body">用户地址:</label>
69
+ <input type="text" class="input_search" placeholder='用户地址' v-model="model.f_address"
70
+ v-on:keyup.enter="search"
71
+ condition="f_address like '%{}%'">
72
+ </div>
73
+ <div class="form-group col-sm-3">
74
+ <label for="startDate" class="font_normal_body">开始时间:</label>
75
+ <datepicker id="startDate" placeholder="开始日期"
76
+ style="width: 60%!important;"
77
+ v-model="model.startDate"
78
+ :value.sync="model.startDate"
79
+ :format="'yyyy-MM-dd HH:mm:ss'"
80
+ :show-reset-button="true"
81
+ condition="f_apply_date >= '{}'">
82
+ </datepicker>
83
+ </div>
84
+ <div class="form-group col-sm-3">
85
+ <label for="endDate" class="font_normal_body">结束时间:</label>
86
+ <datepicker id="endDate" placeholder="结束日期"
87
+ style="width: 60%!important;"
88
+ v-model="model.endDate"
89
+ :value.sync="model.endDate"
90
+ :format="'yyyy-MM-dd HH:mm:ss'"
91
+ :show-reset-button="true"
92
+ condition="f_apply_date <= '{}'">
93
+ </datepicker>
94
+ </div>
95
+ </div>
96
+ </div>
97
+ </criteria>
98
+ <data-grid v-if="$parent.showData" :model="model" partial='list' v-ref:grid class="list_area table_sy">
99
+ <template partial='head'>
100
+ <tr>
101
+ <th style="white-space: nowrap;">序号</th>
102
+ <th style="white-space: nowrap;">报建编号</th>
103
+ <th style="white-space: nowrap;">项目名称/客户名称/联系人</th>
104
+ <th style="white-space: nowrap;">合同编号</th>
105
+ <th style="white-space: nowrap;">电话</th>
106
+ <th style="white-space: nowrap;">地址</th>
107
+ <th style="white-space: nowrap;">报建类型</th>
108
+ <th style="white-space: nowrap;">办理环节</th>
109
+ <th style="white-space: nowrap;">流程状态</th>
110
+ <th style="white-space: nowrap;">报建日期</th>
111
+ </tr>
112
+ </template>
113
+ <template partial='body'>
114
+ <tr>
115
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
116
+ <nobr>{{$index+1}}</nobr>
117
+ </td>
118
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
119
+ <nobr>{{row.f_apply_num}}</nobr>
120
+ </td>
121
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
122
+ <nobr>{{row.f_entry_name}}/{{row.f_user_name}}/{{row.f_contact}}</nobr>
123
+ </td>
124
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
125
+ <nobr>{{row.f_contract_number}}</nobr>
126
+ </td>
127
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
128
+ <nobr>{{row.f_phone}}</nobr>
129
+ </td>
130
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
131
+ <nobr>{{row.f_address}}</nobr>
132
+ </td>
133
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
134
+ <nobr>{{row.f_apply_type}}</nobr>
135
+ </td>
136
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
137
+ <nobr>{{row.defname}}</nobr>
138
+ </td>
139
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
140
+ <nobr>{{row.f_sub_state}}</nobr>
141
+ </td>
142
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
143
+ <nobr>{{row.f_apply_date}}</nobr>
144
+ </td>
145
+ </tr>
146
+ </template>
147
+ </data-grid>
148
+ </criteria-paged>
149
+ </div>
150
+ </template>
151
+ <script>
152
+ import {PagedList} from 'vue-client'
153
+ import {HttpResetClass} from 'vue-client'
154
+ import {isEmpty} from '../../Util'
155
+ export default {
156
+ title: '勘探详情',
157
+ props: ['showData'],
158
+ data () {
159
+ return {
160
+ applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
161
+ model: new PagedList('rs/sql/supervisory', 20, {
162
+ data: {
163
+ id: `${this.$login.f.name}`,
164
+ orgid: this.$login.f.f_orgids
165
+ }
166
+ }),
167
+ defnames: [{label: '全部', value: ''}], // 流程节点
168
+ criteriaShow: false
169
+ }
170
+ },
171
+ ready () {
172
+ // 调用查询
173
+ this.search()
174
+ },
175
+ events: {
176
+ },
177
+ methods: {
178
+ // 查询
179
+ search () {
180
+ this.$dispatch('search')
181
+ },
182
+ clear () {
183
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
184
+ this.$refs.cp.$refs.cri.model[key] = []
185
+ })
186
+ },
187
+ applyTypeChange () {
188
+ if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
189
+ let http = new HttpResetClass()
190
+ http.load('POST', 'rs/logic/getDefnameByType', {
191
+ f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type
192
+ }, {resolveMsg: null, rejectMsg: null}).then((res) => {
193
+ this.defnames = [{label: '全部', value: ''}, ...res.data]
194
+ })
195
+ } else {
196
+ this.defnames = [{label: '全部', value: ''}]
197
+ }
198
+ },
199
+ check (val) {
200
+ this.$dispatch('apply', val)
201
+ }
202
+ },
203
+ computed: {
204
+ }
205
+ }
206
+ </script>
207
+ <style scoped>
208
+ </style>
@@ -1,103 +1,103 @@
1
- <template>
2
- <div style="overflow: auto;background-color: #FFFFFF;margin-top: 20px">
3
- <div class="row" v-for="(i,row) in defnames">
4
- <div :class="row.id === selectdata.actid ? 'item selectIndex' : 'item'" @click="getdefname(row)" >
5
- {{row.defname}}
6
- <br>
7
- {{i === (defnames.length) - 1 ? row.sendtime : row.finishtime}}
8
- </div>
9
- <div class="arrow glyphicon glyphicon-menu-down" v-if="i != defnames.length-1" aria-hidden="true"></div>
10
- </div>
11
- </div>
12
- </template>
13
-
14
- <script>
15
- import {HttpResetClass} from 'vue-client'
16
- export default {
17
- title: "流程节点",
18
- props:['selectdata'],
19
- data(){
20
- return{
21
- defnames: [] // 所有节点
22
- }
23
- },
24
- created () {
25
- this.initial()
26
- },
27
- methods :{
28
- async initial() {
29
- // 获取流程节点信息
30
- let http = new HttpResetClass()
31
- let temp = []
32
- if(this.selectdata && this.selectdata.f_process_id){
33
- let res = await http.load('POST','rs/sql/getAllNode',{data:{processid: this.selectdata.f_process_id}},{resolveMsg:null, rejectMsg:null})
34
- //循环去除回退导致重复的节点
35
- // for (let i = 0; i < res.data.length; i++) {
36
- // let flag = true
37
- // for (let j = 0; j < temp.length; j++) {
38
- // if (res.data[i].defname === temp[j].defname) {
39
- // flag = false
40
- // }
41
- // }
42
- // if(flag){
43
- // temp.push(res.data[i])
44
- // }
45
- // }
46
- this.defnames = res.data
47
- }
48
- },
49
- //点击获取节点名
50
- getdefname(row){
51
- if(row.defname === this.$workflow_vue.start_activity){
52
- row = Object.assign({},this.selectdata,row)
53
- this.$dispatch('apply', row)
54
- }else if(this.check(row.actorexpression)){
55
- row = Object.assign({},this.selectdata,row)
56
- this.$dispatch('apply', row)
57
- }else{
58
- this.$showMessage("对不起,您没有查看此节点的权限!")
59
- }
60
- },
61
- // 检测是否有权限
62
- check(actorexpression){
63
- let sign = actorexpression.charAt(0)
64
- let str = actorexpression.substring(2,actorexpression.length-1)
65
- let flag = false
66
- if (sign === 'D' && this.$login.f.f_department_name.includes(str)) {
67
- flag = true
68
- }
69
- if (sign === 'R' && this.$login.f.rolesnames.includes(str)) {
70
- flag = true
71
- }
72
- if (sign === 'P' && this.$login.f.id.includes(str)) {
73
- flag = true
74
- }
75
- return flag
76
- }
77
- },
78
- watch:{
79
- }
80
- }
81
- </script>
82
-
83
- <style scoped>
84
- .row{
85
- text-align: center;
86
- height: auto;
87
- margin-right: 20px;
88
- }
89
- .item{
90
- border-radius: 2em;
91
- border: 1px solid silver;
92
- line-height: 25px;
93
- }
94
- .arrow{
95
- width: 100%;
96
- color: #5ac0d9;
97
- font-weight: bold;
98
- }
99
- .selectIndex{
100
- background-color: #5ac0d9;
101
- color: #ffffff;
102
- }
103
- </style>
1
+ <template>
2
+ <div style="overflow: auto;background-color: #FFFFFF;margin-top: 20px">
3
+ <div class="row" v-for="(i,row) in defnames">
4
+ <div :class="row.id === selectdata.actid ? 'item selectIndex' : 'item'" @click="getdefname(row)" >
5
+ {{row.defname}}
6
+ <br>
7
+ {{i === (defnames.length) - 1 ? row.sendtime : row.finishtime}}
8
+ </div>
9
+ <div class="arrow glyphicon glyphicon-menu-down" v-if="i != defnames.length-1" aria-hidden="true"></div>
10
+ </div>
11
+ </div>
12
+ </template>
13
+
14
+ <script>
15
+ import {HttpResetClass} from 'vue-client'
16
+ export default {
17
+ title: "流程节点",
18
+ props:['selectdata'],
19
+ data(){
20
+ return{
21
+ defnames: [] // 所有节点
22
+ }
23
+ },
24
+ created () {
25
+ this.initial()
26
+ },
27
+ methods :{
28
+ async initial() {
29
+ // 获取流程节点信息
30
+ let http = new HttpResetClass()
31
+ let temp = []
32
+ if(this.selectdata && this.selectdata.f_process_id){
33
+ let res = await http.load('POST','rs/sql/getAllNode',{data:{processid: this.selectdata.f_process_id}},{resolveMsg:null, rejectMsg:null})
34
+ //循环去除回退导致重复的节点
35
+ // for (let i = 0; i < res.data.length; i++) {
36
+ // let flag = true
37
+ // for (let j = 0; j < temp.length; j++) {
38
+ // if (res.data[i].defname === temp[j].defname) {
39
+ // flag = false
40
+ // }
41
+ // }
42
+ // if(flag){
43
+ // temp.push(res.data[i])
44
+ // }
45
+ // }
46
+ this.defnames = res.data
47
+ }
48
+ },
49
+ //点击获取节点名
50
+ getdefname(row){
51
+ if(row.defname === this.$workflow_vue.start_activity){
52
+ row = Object.assign({},this.selectdata,row)
53
+ this.$dispatch('apply', row)
54
+ }else if(this.check(row.actorexpression)){
55
+ row = Object.assign({},this.selectdata,row)
56
+ this.$dispatch('apply', row)
57
+ }else{
58
+ this.$showMessage("对不起,您没有查看此节点的权限!")
59
+ }
60
+ },
61
+ // 检测是否有权限
62
+ check(actorexpression){
63
+ let sign = actorexpression.charAt(0)
64
+ let str = actorexpression.substring(2,actorexpression.length-1)
65
+ let flag = false
66
+ if (sign === 'D' && this.$login.f.f_department_name.includes(str)) {
67
+ flag = true
68
+ }
69
+ if (sign === 'R' && this.$login.f.rolesnames.includes(str)) {
70
+ flag = true
71
+ }
72
+ if (sign === 'P' && this.$login.f.id.includes(str)) {
73
+ flag = true
74
+ }
75
+ return flag
76
+ }
77
+ },
78
+ watch:{
79
+ }
80
+ }
81
+ </script>
82
+
83
+ <style scoped>
84
+ .row{
85
+ text-align: center;
86
+ height: auto;
87
+ margin-right: 20px;
88
+ }
89
+ .item{
90
+ border-radius: 2em;
91
+ border: 1px solid silver;
92
+ line-height: 25px;
93
+ }
94
+ .arrow{
95
+ width: 100%;
96
+ color: #5ac0d9;
97
+ font-weight: bold;
98
+ }
99
+ .selectIndex{
100
+ background-color: #5ac0d9;
101
+ color: #ffffff;
102
+ }
103
+ </style>