Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
罗超
SuperMan
Commits
6f2a6f67
Commit
6f2a6f67
authored
Jun 30, 2023
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
76990c04
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
33 deletions
+25
-33
departmentManagement.vue
src/components/administrative/departmentManagement.vue
+5
-15
userManagement.vue
src/components/administrative/userManagement.vue
+20
-18
No files found.
src/components/administrative/departmentManagement.vue
View file @
6f2a6f67
...
...
@@ -88,7 +88,7 @@
<li>
<span><em>
{{
$t
(
'admin.admin_company'
)
}}
</em>
<el-select
filterable
:disabled=
"msg.IsParentCompany==2"
v-model=
'msg.RB_Branch_Id'
:placeholder=
"$t('pub.unlimitedSel')"
>
:placeholder=
"$t('pub.unlimitedSel')"
clearable
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'-1'
></el-option>
<el-option
v-for=
'item in companyList'
:label=
'item.BName'
:value=
'item.Id'
:key=
"item.Id"
>
</el-option>
...
...
@@ -757,7 +757,9 @@
this
.
companyMsg
.
RB_Branch_Id
=
userInfo
.
RB_Branch_id
;
//公司
this
.
msg
.
RB_Branch_Id
=
userInfo
.
RB_Branch_id
;
//公司
this
.
msg
.
IsParentCompany
=
userInfo
.
IsParentCompany
;
//是否为总公司
if
(
userInfo
.
RB_Branch_id
==
49
)
{
this
.
msg
.
IsParentCompany
=
1
;
}
this
.
getList
();
this
.
getCompany
();
this
.
getDepartment
();
...
...
@@ -767,18 +769,7 @@
this
.
getAllDepartment
()
},
filters
:
{
// tierFormat(value){
// if(value=='1')
// return '一级'
// if(value=='2')
// return '二级'
// if(value=='3')
// return '三级'
// if(value=='4')
// return '四级'
// if(value=='5')
// return '五级'
// }
},
methods
:
{
setIsLeave
(
Id
)
{
...
...
@@ -811,7 +802,6 @@
this
.
getPostMsg
.
RB_Branch_Id
=
this
.
addMsg1
.
RB_Branch_id
;
this
.
getPostMsg
.
RB_Department_Id
=
this
.
addMsg1
.
RB_Department_Id
this
.
getPost1
()
},
getPost1
()
{
//岗位
this
.
apipost
(
'admin_get_PostGetList'
,
this
.
getPostMsg
,
res
=>
{
...
...
src/components/administrative/userManagement.vue
View file @
6f2a6f67
...
...
@@ -25,7 +25,7 @@
<li>
<span><em>
{{
$t
(
"system.table_company"
)
}}
</em>
<el-select
filterable
:disabled=
"msg.IsParentCompany == 2"
v-model=
"msg.RB_Branch_id"
@
change=
"linkageDepartment()"
>
@
change=
"linkageDepartment()"
clearable
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
"-1"
></el-option>
<el-option
v-for=
"item in companyList"
:label=
"item.BName"
:value=
"item.Id"
:key=
"item.Id"
>
</el-option>
...
...
@@ -138,8 +138,9 @@
"
></el-button>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('adm.adm_bindaccountinfo')"
placement=
"top"
>
<el-button
v-if=
"qjGroupId==userInfo.RB_Group_id || F_Finance_Create"
type=
"primary"
class=
"zidingyiFz"
icon=
"iconfont icon-bangdingzhagnhuxinxi"
circle
@
click=
"goUrl('empBankAccount', item.EmployeeId)"
></el-button>
<el-button
v-if=
"qjGroupId==userInfo.RB_Group_id || F_Finance_Create"
type=
"primary"
class=
"zidingyiFz"
icon=
"iconfont icon-bangdingzhagnhuxinxi"
circle
@
click=
"goUrl('empBankAccount', item.EmployeeId)"
>
</el-button>
</el-tooltip>
<el-tooltip
v-if=
"isSelectFinaceJJ"
class=
"item"
effect=
"dark"
content=
"单据交接"
placement=
"top"
>
<el-button
type=
"primary"
class=
"zidingyiFz"
icon=
"iconfont icon-zhuanhuan2"
circle
...
...
@@ -301,7 +302,8 @@
<tr>
<td>
<el-form-item
:label=
"$t('system.table_phone')"
prop=
"EmMobile"
>
<el-input
class=
"w217"
type=
"text"
maxlength=
"20"
v-model=
"addMsg.EmMobile"
:placeholder=
"$t('pub.pleaseImport')"
>
<el-input
class=
"w217"
type=
"text"
maxlength=
"20"
v-model=
"addMsg.EmMobile"
:placeholder=
"$t('pub.pleaseImport')"
>
</el-input>
</el-form-item>
</td>
...
...
@@ -386,9 +388,9 @@
};
return
{
qjGroupId
:
-
1
,
F_Finance_Create
:
false
,
//制单权限
userInfo
:{},
qjGroupId
:
-
1
,
F_Finance_Create
:
false
,
//制单权限
userInfo
:
{},
UseNum
:
0
,
TotalNum
:
0
,
leaveBtn
:
""
,
...
...
@@ -563,9 +565,9 @@
},
mounted
()
{
let
userInfo
=
this
.
getLocalStorage
();
this
.
userInfo
=
this
.
getLocalStorage
();
this
.
userInfo
=
this
.
getLocalStorage
();
this
.
GetSupperOrderEditAuth
();
this
.
qjGroupId
=
this
.
QjGroupId
();
this
.
qjGroupId
=
this
.
QjGroupId
();
this
.
getPostMsg
.
RB_Group_Id
=
this
.
getCompanyMsg
.
RB_Group_Id
=
this
.
getDepartmentMsg
.
RB_Group_Id
=
this
.
addMsg
.
RB_Group_id
=
this
.
msg
.
RB_Group_id
=
userInfo
.
RB_Group_id
;
//集团
...
...
@@ -602,16 +604,16 @@
methods
:
{
GetSupperOrderEditAuth
()
{
var
actionCodeNew
=
this
.
$AuthCode
.
F_Finance_Create
;
// 制单权限
this
.
CheckUserAuth
(
actionCodeNew
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
&&
res
.
data
.
data
==
1
)
{
this
.
F_Finance_Create
=
true
;
}
});
var
actionCodeNew
=
this
.
$AuthCode
.
F_Finance_Create
;
},
// 制单权限
this
.
CheckUserAuth
(
actionCodeNew
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
&&
res
.
data
.
data
==
1
)
{
this
.
F_Finance_Create
=
true
;
}
});
},
getTotalNum
()
{
this
.
apipost
(
"admin_get_GetGroupEmployeeNum"
,
{},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment