system-clients 3.2.0-3 → 3.2.1-4

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-clients",
3
- "version": "3.2.0-3",
3
+ "version": "3.2.1-4",
4
4
  "description": "系统基础框架",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -1,107 +1,107 @@
1
- <template>
2
- <div>
3
- <validator name="v">
4
- <modal :show.sync="show" v-ref:modal backdrop="false">
5
- <header slot="modal-header" class="modal-header">
6
- <button type="button" class="close" @click="rest"><span>&times;</span></button>
7
- <h4 class="modal-title">修改密码</h4>
8
- </header>
9
- <article slot="modal-body" class="modal-body modifystyle auto form-horizontal">
10
- <div class="has-feedback form-group"
11
- :class="{'has-warning':$v.password.required,'has-error': $v.password.required,
12
- 'has-success':!$v.password.required}">
13
- <label for="password" class="col-sm-4 col-sm-offset-1 control-label">原始密码:&nbsp;&nbsp;</label>
14
- <div class="col-sm-4">
15
- <input type="password" v-model="deliver.password" class="form-control" id="password" v-validate:password="{ required: true}">
16
- <span class="glyphicon glyphicon-ok form-control-feedback" v-if="!$v.password.required"></span>
17
- <span v-if="$v.password.required">不能为空</span>
18
- </div>
19
- </div>
20
- <div class="has-feedback form-group"
21
- :class="{'has-warning':$v.newpassword.required,'has-error':($v.newpassword.strongpassword || $v.newpassword.minlength)&& !$v.newpassword.required && !$v.newpassword.chinesePassword,
22
- 'has-success': !$v.newpassword.required && !$v.newpassword.strongpassword&&!$v.newpassword.minlength && !$v.newpassword.chinesePassword}">
23
- <label for="newpassword" class="col-sm-4 col-sm-offset-1 control-label">新的密码:&nbsp;&nbsp;</label>
24
- <div class="col-sm-4">
25
- <input type="password" v-model="deliver.newpassword" class="form-control" id="newpassword" v-validate:newpassword='{required:true, strongpassword: true, minlength: 6,chinesePassword: true}'>
26
- <span class="glyphicon glyphicon-ok form-control-feedback" v-if="!$v.newpassword.required && !$v.newpassword.minlength && !($v.newpassword.strongpassword && !($v.newpassword.required)) && !($v.newpassword.chinesePassword) "></span>
27
- <span v-if="$v.newpassword.required">不能为空</span>
28
- <span v-if="($v.newpassword.strongpassword||$v.newpassword.minlength) && !($v.newpassword.required&&$v.newpassword.minlength)">密码长度不能小于六位,且必须包含英文大小写、阿拉伯数字、字符</span>
29
- <span v-if="$v.newpassword.chinesePassword">密码不能包含中文</span>
30
- </div>
31
- </div>
32
- <div class="has-feedback form-group"
33
- :class="{'has-warning':$v.affirmpassword.required,'has-error':$v.affirmpassword.equalValid && !($v.affirmpassword.required),
34
- 'has-success': !$v.affirmpassword.required && !($v.affirmpassword.equalValid && !($v.affirmpassword.required))}">
35
- <label for="affirmpassword" class="col-sm-4 col-sm-offset-1 control-label">确认密码:&nbsp;&nbsp;</label>
36
- <div class="col-sm-4">
37
- <input type="password" v-model="deliver.affirmpassword" class="form-control" id="affirmpassword" v-validate:affirmpassword="{ required: true, equalValid: deliver.newpassword }">
38
- <span class="glyphicon glyphicon-ok form-control-feedback" v-if="!$v.affirmpassword.required && !($v.affirmpassword.equalValid && !($v.affirmpassword.required))"></span>
39
- <span v-if="$v.affirmpassword.required">不能为空</span>
40
- <span v-if="$v.affirmpassword.equalValid && !($v.affirmpassword.required)">两次密码不一致 !!</span>
41
- </div>
42
- </div>
43
- </article>
44
-
45
- <footer slot="modal-footer" class="modal-footer">
46
- <button type="button" class="btn btn-success" @click='confirm' :disabled="!$v.valid">确认</button>
47
- <button type="button" class="btn btn-default" @click='rest'>取消</button>
48
- </footer>
49
- </modal>
50
- </validator>
51
- </div>
52
-
53
-
54
- </template>
55
- <script>
56
- import co from 'co'
57
- import validator from '../../plugins/validation';
58
-
59
- let saveGen = function * (self) {
60
- self.deliver.ename = self.functions.ename
61
- // let res = yield self.$post('rs/user/entity', {data: self.deliver})
62
- // let res = yield self.$post('rs/db/modifypassword', {data: self.deliver})
63
- // let res = yield self.$resetpost('/rs/db/modifypwd', {data: self.deliver})
64
- // Util.f.password = self.deliver.newpassword
65
- let res = yield self.$resetpost('/rs/user/modifypwd', {data: self.deliver })
66
- self.$login.f.password = self.deliver.newpassword
67
- if (res.data) {
68
- self.deliver.password = ''
69
- self.deliver.newpassword = ''
70
- self.deliver.affirmpassword = ''
71
- self.show = false
72
- }
73
- }
74
- export default {
75
- title: '系统管理-密码修改',
76
- data () {
77
- return {
78
- deliver: {
79
- password: '',
80
- newpassword: '',
81
- affirmpassword: ''
82
- },
83
- functions: this.$login.f
84
- }
85
- },
86
- props: ['show'],
87
- methods: {
88
- confirm () {
89
- let gen = saveGen(this)
90
- co(gen)
91
- },
92
- rest () {
93
- this.show = false
94
- this.deliver = {password: '', newpassword: '', affirmpassword: ''}
95
- }
96
- }
97
- }
98
- </script>
99
- <style>
100
- /*修改密码body界面样式*/
101
- .modifystyle {
102
- background: #FCFEEE;
103
- }
104
- .modifystyle span{
105
- color: red;
106
- }
107
- </style>
1
+ <template>
2
+ <div>
3
+ <validator name="v">
4
+ <modal :show.sync="show" v-ref:modal backdrop="false">
5
+ <header slot="modal-header" class="modal-header">
6
+ <button type="button" class="close" @click="rest"><span>&times;</span></button>
7
+ <h4 class="modal-title">修改密码</h4>
8
+ </header>
9
+ <article slot="modal-body" class="modal-body modifystyle auto form-horizontal">
10
+ <div class="has-feedback form-group"
11
+ :class="{'has-warning':$v.password.required,'has-error': $v.password.required,
12
+ 'has-success':!$v.password.required}">
13
+ <label for="password" class="col-sm-4 col-sm-offset-1 control-label">原始密码:&nbsp;&nbsp;</label>
14
+ <div class="col-sm-4">
15
+ <input type="password" v-model="deliver.password" class="form-control" id="password" v-validate:password="{ required: true}">
16
+ <span class="glyphicon glyphicon-ok form-control-feedback" v-if="!$v.password.required"></span>
17
+ <span v-if="$v.password.required">不能为空</span>
18
+ </div>
19
+ </div>
20
+ <div class="has-feedback form-group"
21
+ :class="{'has-warning':$v.newpassword.required,'has-error':($v.newpassword.strongpassword || $v.newpassword.minlength)&& !$v.newpassword.required && !$v.newpassword.chinesePassword,
22
+ 'has-success': !$v.newpassword.required && !$v.newpassword.strongpassword&&!$v.newpassword.minlength && !$v.newpassword.chinesePassword}">
23
+ <label for="newpassword" class="col-sm-4 col-sm-offset-1 control-label">新的密码:&nbsp;&nbsp;</label>
24
+ <div class="col-sm-4">
25
+ <input type="password" v-model="deliver.newpassword" class="form-control" id="newpassword" v-validate:newpassword='{required:true, strongpassword: true, minlength: 6,chinesePassword: true}'>
26
+ <span class="glyphicon glyphicon-ok form-control-feedback" v-if="!$v.newpassword.required && !$v.newpassword.minlength && !($v.newpassword.strongpassword && !($v.newpassword.required)) && !($v.newpassword.chinesePassword) "></span>
27
+ <span v-if="$v.newpassword.required">不能为空</span>
28
+ <span v-if="($v.newpassword.strongpassword||$v.newpassword.minlength) && !($v.newpassword.required&&$v.newpassword.minlength)">密码长度不能小于六位,且必须包含英文大小写、阿拉伯数字、字符</span>
29
+ <span v-if="$v.newpassword.chinesePassword">密码不能包含中文</span>
30
+ </div>
31
+ </div>
32
+ <div class="has-feedback form-group"
33
+ :class="{'has-warning':$v.affirmpassword.required,'has-error':$v.affirmpassword.equalValid && !($v.affirmpassword.required),
34
+ 'has-success': !$v.affirmpassword.required && !($v.affirmpassword.equalValid && !($v.affirmpassword.required))}">
35
+ <label for="affirmpassword" class="col-sm-4 col-sm-offset-1 control-label">确认密码:&nbsp;&nbsp;</label>
36
+ <div class="col-sm-4">
37
+ <input type="password" v-model="deliver.affirmpassword" class="form-control" id="affirmpassword" v-validate:affirmpassword="{ required: true, equalValid: deliver.newpassword }">
38
+ <span class="glyphicon glyphicon-ok form-control-feedback" v-if="!$v.affirmpassword.required && !($v.affirmpassword.equalValid && !($v.affirmpassword.required))"></span>
39
+ <span v-if="$v.affirmpassword.required">不能为空</span>
40
+ <span v-if="$v.affirmpassword.equalValid && !($v.affirmpassword.required)">两次密码不一致 !!</span>
41
+ </div>
42
+ </div>
43
+ </article>
44
+
45
+ <footer slot="modal-footer" class="modal-footer">
46
+ <button type="button" class="btn btn-success" @click='confirm' :disabled="!$v.valid">确认</button>
47
+ <button type="button" class="btn btn-default" @click='rest'>取消</button>
48
+ </footer>
49
+ </modal>
50
+ </validator>
51
+ </div>
52
+
53
+
54
+ </template>
55
+ <script>
56
+ import co from 'co'
57
+ import validator from '../../plugins/validation';
58
+
59
+ let saveGen = function * (self) {
60
+ self.deliver.ename = self.functions.ename
61
+ // let res = yield self.$post('rs/user/entity', {data: self.deliver})
62
+ // let res = yield self.$post('rs/db/modifypassword', {data: self.deliver})
63
+ // let res = yield self.$resetpost('/rs/db/modifypwd', {data: self.deliver})
64
+ // Util.f.password = self.deliver.newpassword
65
+ let res = yield self.$resetpost('/rs/user/modifypwd', {data: self.deliver })
66
+ self.$login.f.password = self.deliver.newpassword
67
+ if (res.data) {
68
+ self.deliver.password = ''
69
+ self.deliver.newpassword = ''
70
+ self.deliver.affirmpassword = ''
71
+ self.show = false
72
+ }
73
+ }
74
+ export default {
75
+ title: '系统管理-密码修改',
76
+ data () {
77
+ return {
78
+ deliver: {
79
+ password: '',
80
+ newpassword: '',
81
+ affirmpassword: ''
82
+ },
83
+ functions: this.$login.f
84
+ }
85
+ },
86
+ props: ['show'],
87
+ methods: {
88
+ confirm () {
89
+ let gen = saveGen(this)
90
+ co(gen)
91
+ },
92
+ rest () {
93
+ this.show = false
94
+ this.deliver = {password: '', newpassword: '', affirmpassword: ''}
95
+ }
96
+ }
97
+ }
98
+ </script>
99
+ <style>
100
+ /*修改密码body界面样式*/
101
+ .modifystyle {
102
+ background: #FCFEEE;
103
+ }
104
+ .modifystyle span{
105
+ color: red;
106
+ }
107
+ </style>
@@ -1,198 +1,198 @@
1
- <template>
2
- <div :class="style" v-show="companyshow">
3
- <label class="font_normal_body">公&emsp;&emsp;司</label>
4
- <right-tree @re-res="getorg"
5
- :mustselect="mustselect"
6
- :initresid='initres.org'></right-tree>
7
- </div>
8
- <div :class="style" v-show="departmentshow">
9
- <label class="font_normal_body">部&emsp;&emsp;门</label>
10
- <res-select restype='department' v-ref:department
11
- @res-select="getdep"
12
- :parentresid="depresid"
13
- :initresid='initres.dep'
14
- :mustselect="mustselect"
15
- :is-mul="mul">
16
- </res-select>
17
- </div>
18
- <div :class="style" v-show="operatorshow && (!cascade)">
19
- <label class="font_normal_body">人&emsp;&emsp;员</label>
20
- <res-select restype='user'
21
- @res-select="getuser"
22
- :parentresid="depresid"
23
- :initresid='initres.user'
24
- :mustselect="mustselect"
25
- :is-mul="mul">
26
- </res-select>
27
- </div>
28
- <div :class="style" v-show="operatorshow && cascade">
29
- <label class="font_normal_body">人&emsp;&emsp;员</label>
30
- <res-select restype='user'
31
- @res-select="getuser"
32
- :parentresid="userresid"
33
- :initresid='initres.user'
34
- :mustselect="mustselect"
35
- :is-mul="mul">
36
- </res-select>
37
- </div>
38
- <div :class="style " v-if="sliceareashow" >
39
- <label class="font_normal_body">片&emsp;&emsp;区</label>
40
- <v-select :value.sync="slice_area" v-model="slice_area" @change='getarea'
41
- :options='sliceArea' placeholder='片区/管理站' filer-key="name"
42
- close-on-select v-ref:slice>
43
- </v-select>
44
- </div>
45
- </template>
46
- <script>
47
- import plugin from '../../plugins/GetLoginInfoService'
48
- import { HttpResetClass } from 'vue-client'
49
- export default {
50
- title: '资源选择测试',
51
- props: {
52
- style: {
53
- type: String,
54
- default: 'col-sm-2 form-group'
55
- },
56
- mul: {
57
- type: Boolean,
58
- default: true
59
- },
60
- //初始值
61
- initres: {
62
- type: Object,
63
- default: null,
64
- },
65
- showComponent:{
66
- default:['company','department','operator','slicearea']
67
- },
68
- //人员是否和部门关联
69
- cascade: {
70
- type: Boolean,
71
- default: true
72
- },
73
- selectin: {
74
- type: Boolean,
75
- default: false
76
- }
77
- },
78
- data () {
79
- return {
80
- orgresid:[this.$login.f.orgid],
81
- depresid:[],
82
- userresid:[],
83
- operatorsid: [],
84
- sliceArea: [],
85
- slice_area:[],
86
- companyshow:false,
87
- departmentshow:false,
88
- operatorshow:false,
89
- sliceareashow:false,
90
- mustselect:false,
91
- obj:{
92
- orgnames:[],
93
- depnames:[],
94
- operatornames:[]
95
- }
96
- }
97
- },
98
- ready () {
99
- if(this.$login.r.includes('部门默认选中')&& this.selectin){
100
- this.initres.dep = [this.$login.f.depids]
101
- }
102
- if(this.$login.r.includes('人员默认选中')&& this.selectin){
103
- this.initres.user = [this.$login.f.id]
104
- if(this.$login.r.includes('人员强制选中')){
105
- this.mustselect = true
106
- }
107
- }
108
- this.initComponent();
109
- this.initAreas(this.$login.f.orgid)
110
- },
111
- methods:{
112
- initComponent(){
113
- let self=this;
114
- this.showComponent.find((item)=>{
115
- switch(item){
116
- case 'company': self.companyshow=true; break;
117
- case 'department': self.departmentshow=true; break;
118
- case 'operator': self.operatorshow=true; break;
119
- case 'slicearea': self.sliceareashow=true; break;
120
- }
121
- })
122
- },
123
- // 初始化片区
124
- async initAreas (val) {
125
- if (val) {
126
- let http = new HttpResetClass()
127
- let getAllArea = await http.load('POST', '/rs/search', {
128
- source: 'this.getParentByType($organization$).getAllChildrens().where(row.getType() == $zone$)',
129
- userid: this.$login.f.id
130
- }, {resolveMsg: null, rejectMsg: '获取片区出错!!!'})
131
- let arr = getAllArea.data.filter((res) => {
132
- return res.parentid == val
133
- })
134
- this.sliceArea = []
135
- this.slice_area = []
136
- arr.forEach((res) => {
137
- this.sliceArea.push({label: res.name, value: {name: res.name, code:res.number}})
138
- })
139
- }
140
- },
141
- returnOrg(ids){
142
- let limit = this.$login.r.includes('数据授权限定')
143
-
144
- let condition;
145
- if(this.depresid.length > 0)
146
- condition = " and f_orgid in " + plugin.convertToIn(this.depresid);
147
- else
148
- condition = " and f_orgid = " + this.$login.f.orgid;
149
- if(this.userresid.length > 0){
150
- condition += " and f_depid in " + plugin.convertToIn(this.userresid);
151
- } else {
152
- if (limit) {
153
- let depids = []
154
- for (let row of this.$refs.department.resoptions) {
155
- depids.push(row.value)
156
- }
157
- let depid = depids.length ? plugin.convertToIn(depids) : ('')
158
- condition += " and f_depid in " + depid;
159
- }
160
- }
161
- if(ids && ids.length > 0){
162
- condition += " and f_operatorid in " + plugin.convertToIn(ids);
163
- }
164
- if(this.slice_area.length>0){
165
- condition += " and f_zones = '" + this.slice_area[0].name+"'"
166
- }
167
- this.$dispatch('re-res',condition,this.obj)
168
- },
169
- getorg (obj) {
170
- this.depresid=obj.resids
171
- this.obj.orgnames = obj.res
172
- this.initAreas(obj.resids)
173
- this.returnOrg();
174
- },
175
- getdep(obj,val) {
176
- this.obj.depnames = val
177
- this.userresid=obj
178
- this.returnOrg();
179
- },
180
- getuser(obj,val) {
181
- this.obj.operatornames = val
182
- this.operatorsid = obj
183
- this.returnOrg(obj);
184
- },
185
- getarea(val) {
186
- this.slice_area=val
187
- if(this.operatorsid){
188
- this.returnOrg(this.operatorsid);
189
- }else{
190
- this.returnOrg();
191
- }
192
- }
193
- },
194
- watch: {
195
-
196
- }
197
- }
198
- </script>
1
+ <template>
2
+ <div :class="style" v-show="companyshow">
3
+ <label class="font_normal_body">公&emsp;&emsp;司</label>
4
+ <right-tree @re-res="getorg"
5
+ :mustselect="mustselect"
6
+ :initresid='initres.org'></right-tree>
7
+ </div>
8
+ <div :class="style" v-show="departmentshow">
9
+ <label class="font_normal_body">部&emsp;&emsp;门</label>
10
+ <res-select restype='department' v-ref:department
11
+ @res-select="getdep"
12
+ :parentresid="depresid"
13
+ :initresid='initres.dep'
14
+ :mustselect="mustselect"
15
+ :is-mul="mul">
16
+ </res-select>
17
+ </div>
18
+ <div :class="style" v-show="operatorshow && (!cascade)">
19
+ <label class="font_normal_body">人&emsp;&emsp;员</label>
20
+ <res-select restype='user'
21
+ @res-select="getuser"
22
+ :parentresid="depresid"
23
+ :initresid='initres.user'
24
+ :mustselect="mustselect"
25
+ :is-mul="mul">
26
+ </res-select>
27
+ </div>
28
+ <div :class="style" v-show="operatorshow && cascade">
29
+ <label class="font_normal_body">人&emsp;&emsp;员</label>
30
+ <res-select restype='user'
31
+ @res-select="getuser"
32
+ :parentresid="userresid"
33
+ :initresid='initres.user'
34
+ :mustselect="mustselect"
35
+ :is-mul="mul">
36
+ </res-select>
37
+ </div>
38
+ <div :class="style " v-if="sliceareashow" >
39
+ <label class="font_normal_body">片&emsp;&emsp;区</label>
40
+ <v-select :value.sync="slice_area" v-model="slice_area" @change='getarea'
41
+ :options='sliceArea' placeholder='片区/管理站' filer-key="name"
42
+ close-on-select v-ref:slice>
43
+ </v-select>
44
+ </div>
45
+ </template>
46
+ <script>
47
+ import plugin from '../../plugins/GetLoginInfoService'
48
+ import { HttpResetClass } from 'vue-client'
49
+ export default {
50
+ title: '资源选择测试',
51
+ props: {
52
+ style: {
53
+ type: String,
54
+ default: 'col-sm-2 form-group'
55
+ },
56
+ mul: {
57
+ type: Boolean,
58
+ default: true
59
+ },
60
+ //初始值
61
+ initres: {
62
+ type: Object,
63
+ default: null,
64
+ },
65
+ showComponent:{
66
+ default:['company','department','operator','slicearea']
67
+ },
68
+ //人员是否和部门关联
69
+ cascade: {
70
+ type: Boolean,
71
+ default: true
72
+ },
73
+ selectin: {
74
+ type: Boolean,
75
+ default: false
76
+ }
77
+ },
78
+ data () {
79
+ return {
80
+ orgresid:[this.$login.f.orgid],
81
+ depresid:[],
82
+ userresid:[],
83
+ operatorsid: [],
84
+ sliceArea: [],
85
+ slice_area:[],
86
+ companyshow:false,
87
+ departmentshow:false,
88
+ operatorshow:false,
89
+ sliceareashow:false,
90
+ mustselect:false,
91
+ obj:{
92
+ orgnames:[],
93
+ depnames:[],
94
+ operatornames:[]
95
+ }
96
+ }
97
+ },
98
+ ready () {
99
+ if(this.$login.r.includes('部门默认选中')&& this.selectin){
100
+ this.initres.dep = [this.$login.f.depids]
101
+ }
102
+ if(this.$login.r.includes('人员默认选中')&& this.selectin){
103
+ this.initres.user = [this.$login.f.id]
104
+ if(this.$login.r.includes('人员强制选中')){
105
+ this.mustselect = true
106
+ }
107
+ }
108
+ this.initComponent();
109
+ this.initAreas(this.$login.f.orgid)
110
+ },
111
+ methods:{
112
+ initComponent(){
113
+ let self=this;
114
+ this.showComponent.find((item)=>{
115
+ switch(item){
116
+ case 'company': self.companyshow=true; break;
117
+ case 'department': self.departmentshow=true; break;
118
+ case 'operator': self.operatorshow=true; break;
119
+ case 'slicearea': self.sliceareashow=true; break;
120
+ }
121
+ })
122
+ },
123
+ // 初始化片区
124
+ async initAreas (val) {
125
+ if (val) {
126
+ let http = new HttpResetClass()
127
+ let getAllArea = await http.load('POST', '/rs/search', {
128
+ source: 'this.getParentByType($organization$).getAllChildrens().where(row.getType() == $zone$)',
129
+ userid: this.$login.f.id
130
+ }, {resolveMsg: null, rejectMsg: '获取片区出错!!!'})
131
+ let arr = getAllArea.data.filter((res) => {
132
+ return res.parentid == val
133
+ })
134
+ this.sliceArea = []
135
+ this.slice_area = []
136
+ arr.forEach((res) => {
137
+ this.sliceArea.push({label: res.name, value: {name: res.name, code:res.number}})
138
+ })
139
+ }
140
+ },
141
+ returnOrg(ids){
142
+ let limit = this.$login.r.includes('数据授权限定')
143
+
144
+ let condition;
145
+ if(this.depresid.length > 0)
146
+ condition = " and f_orgid in " + plugin.convertToIn(this.depresid);
147
+ else
148
+ condition = " and f_orgid = " + this.$login.f.orgid;
149
+ if(this.userresid.length > 0){
150
+ condition += " and f_depid in " + plugin.convertToIn(this.userresid);
151
+ } else {
152
+ if (limit) {
153
+ let depids = []
154
+ for (let row of this.$refs.department.resoptions) {
155
+ depids.push(row.value)
156
+ }
157
+ let depid = depids.length ? plugin.convertToIn(depids) : ('')
158
+ condition += " and f_depid in " + depid;
159
+ }
160
+ }
161
+ if(ids && ids.length > 0){
162
+ condition += " and f_operatorid in " + plugin.convertToIn(ids);
163
+ }
164
+ if(this.slice_area.length>0){
165
+ condition += " and f_zones = '" + this.slice_area[0].name+"'"
166
+ }
167
+ this.$dispatch('re-res',condition,this.obj)
168
+ },
169
+ getorg (obj) {
170
+ this.depresid=obj.resids
171
+ this.obj.orgnames = obj.res
172
+ this.initAreas(obj.resids)
173
+ this.returnOrg();
174
+ },
175
+ getdep(obj,val) {
176
+ this.obj.depnames = val
177
+ this.userresid=obj
178
+ this.returnOrg();
179
+ },
180
+ getuser(obj,val) {
181
+ this.obj.operatornames = val
182
+ this.operatorsid = obj
183
+ this.returnOrg(obj);
184
+ },
185
+ getarea(val) {
186
+ this.slice_area=val
187
+ if(this.operatorsid){
188
+ this.returnOrg(this.operatorsid);
189
+ }else{
190
+ this.returnOrg();
191
+ }
192
+ }
193
+ },
194
+ watch: {
195
+
196
+ }
197
+ }
198
+ </script>