Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
罗超
confucius
Commits
4aec8121
Commit
4aec8121
authored
Dec 29, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
c7884d55
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
566 additions
and
545 deletions
+566
-545
index.js
src/api/system/index.js
+4
-0
school-form.vue
src/components/school/schoolarea/school-form.vue
+6
-2
dept-form.vue
src/components/system/dept-form.vue
+5
-5
menu-form.vue
src/components/system/menu-form.vue
+5
-5
menufunction-form.vue
src/components/system/menufunction-form.vue
+5
-5
role-form.vue
src/components/system/role-form.vue
+1
-1
japaneseTrain.vue
src/pages/sale/japaneseTrain.vue
+535
-519
dept.vue
src/pages/system/dept.vue
+1
-1
menu.vue
src/pages/system/menu.vue
+2
-3
post.vue
src/pages/system/post.vue
+1
-2
role.vue
src/pages/system/role.vue
+1
-2
No files found.
src/api/system/index.js
View file @
4aec8121
...
@@ -57,6 +57,10 @@ export function getMenuLevelList() {
...
@@ -57,6 +57,10 @@ export function getMenuLevelList() {
*/
*/
export
function
getDeptTierList
()
{
export
function
getDeptTierList
()
{
var
deptTierOpts
=
[{
var
deptTierOpts
=
[{
label
:
'不限'
,
value
:
0
},
{
label
:
'1级'
,
label
:
'1级'
,
value
:
1
value
:
1
},
},
...
...
src/components/school/schoolarea/school-form.vue
View file @
4aec8121
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
<div
class=
"row wrap"
>
<div
class=
"row wrap"
>
<q-input
filled
stack-label
maxlength=
"20"
:dense=
"false"
v-model=
"objOption.SName"
ref=
"SName"
<q-input
filled
stack-label
maxlength=
"20"
:dense=
"false"
v-model=
"objOption.SName"
ref=
"SName"
class=
"col-6 q-pr-lg q-pb-lg"
label=
"校区名称"
:rules=
"[val => !!val || '请填写校区名称']"
/>
class=
"col-6 q-pr-lg q-pb-lg"
label=
"校区名称"
:rules=
"[val => !!val || '请填写校区名称']"
/>
<q-input
filled
stack-label
maxlength=
"
2
0"
:dense=
"false"
v-model=
"objOption.SAddress"
ref=
"SAddress"
<q-input
filled
stack-label
maxlength=
"
10
0"
:dense=
"false"
v-model=
"objOption.SAddress"
ref=
"SAddress"
class=
"col-6 q-pb-lg"
label=
"校区地址"
:rules=
"[val => !!val || '请填写校区地址']"
/>
class=
"col-6 q-pb-lg"
label=
"校区地址"
:rules=
"[val => !!val || '请填写校区地址']"
/>
<q-select
class=
"col-6 q-pb-lg q-pr-lg"
clearable
filled
stack-label
use-input
option-value=
"Id"
<q-select
class=
"col-6 q-pb-lg q-pr-lg"
clearable
filled
stack-label
use-input
option-value=
"Id"
option-label=
"EmployeeName"
v-model=
"objOption.ManagerId"
ref=
"ManagerId"
:options=
"EmployeeList"
option-label=
"EmployeeName"
v-model=
"objOption.ManagerId"
ref=
"ManagerId"
:options=
"EmployeeList"
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
</q-select>
</q-select>
<q-input
filled
stack-label
maxlength=
"20"
:dense=
"false"
v-model=
"objOption.SLinkTel"
ref=
"SLinkTel"
<q-input
filled
stack-label
maxlength=
"20"
:dense=
"false"
v-model=
"objOption.SLinkTel"
ref=
"SLinkTel"
class=
"col-6 q-pb-lg"
label=
"校区联系电话"
:rules=
"[val => !!val || '请填写校区联系电话']"
/>
class=
"col-6 q-pb-lg"
label=
"校区联系电话"
:rules=
"[val => !!val || '请填写校区联系电话']"
/>
<q-input
filled
stack-label
maxlength=
"
2
0"
:dense=
"false"
v-model=
"objOption.Remark"
<q-input
filled
stack-label
maxlength=
"
10
0"
:dense=
"false"
v-model=
"objOption.Remark"
class=
"col-6 q-pb-lg q-pr-lg"
label=
"校区备注"
/>
class=
"col-6 q-pb-lg q-pr-lg"
label=
"校区备注"
/>
<selectTree
v-if=
"DeptList&&DeptList.length>0"
:treeData=
'DeptList'
:defaultArray=
"returnString"
<selectTree
v-if=
"DeptList&&DeptList.length>0"
:treeData=
'DeptList'
:defaultArray=
"returnString"
nodeKey=
"DeptId"
:multiple=
"false"
labelKey=
"DeptName"
childrenKey=
"ChildList"
tipText=
"上级部门"
nodeKey=
"DeptId"
:multiple=
"false"
labelKey=
"DeptName"
childrenKey=
"ChildList"
tipText=
"上级部门"
...
@@ -155,6 +155,10 @@
...
@@ -155,6 +155,10 @@
if
(
res
.
Code
==
1
)
{
if
(
res
.
Code
==
1
)
{
var
jsonData
=
res
.
Data
;
var
jsonData
=
res
.
Data
;
if
(
jsonData
&&
jsonData
.
length
>
0
)
{
if
(
jsonData
&&
jsonData
.
length
>
0
)
{
jsonData
.
unshift
({
Id
:
0
,
EmployeeName
:
"请选择"
});
this
.
AllemployeeList
=
JSON
.
parse
(
JSON
.
stringify
(
jsonData
));
this
.
AllemployeeList
=
JSON
.
parse
(
JSON
.
stringify
(
jsonData
));
this
.
EmployeeList
=
JSON
.
parse
(
JSON
.
stringify
(
jsonData
));;
this
.
EmployeeList
=
JSON
.
parse
(
JSON
.
stringify
(
jsonData
));;
}
}
...
...
src/components/system/dept-form.vue
View file @
4aec8121
...
@@ -32,9 +32,9 @@
...
@@ -32,9 +32,9 @@
</q-item>
</q-item>
</
template
>
</
template
>
</q-select>
</q-select>
<q-input
filled
stack-label
maxlength=
"
5
0"
:dense=
"false"
v-model=
"objOption.DeptTel"
ref=
"DeptTel"
<q-input
filled
stack-label
maxlength=
"
3
0"
:dense=
"false"
v-model=
"objOption.DeptTel"
ref=
"DeptTel"
class=
"col-6 q-pr-lg q-pb-lg"
label=
"部门电话"
/>
class=
"col-6 q-pr-lg q-pb-lg"
label=
"部门电话"
/>
<q-input
filled
stack-label
maxlength=
"
5
0"
:dense=
"false"
v-model=
"objOption.DeptSort"
ref=
"DeptSort"
<q-input
filled
stack-label
maxlength=
"
1
0"
:dense=
"false"
v-model=
"objOption.DeptSort"
ref=
"DeptSort"
class=
"col-6 q-pr-lg q-pb-lg"
label=
"排序"
/>
class=
"col-6 q-pr-lg q-pb-lg"
label=
"排序"
/>
<q-select
filled
stack-label
option-value=
"value"
option-label=
"label"
v-model=
"objOption.IsCompany "
<q-select
filled
stack-label
option-value=
"value"
option-label=
"label"
v-model=
"objOption.IsCompany "
ref=
"DeptTier"
:options=
"IsCompanyL"
label=
"是否校区"
:dense=
"false"
class=
"col-6 q-pr-lg q-pb-lg"
emit-value
ref=
"DeptTier"
:options=
"IsCompanyL"
label=
"是否校区"
:dense=
"false"
class=
"col-6 q-pr-lg q-pb-lg"
emit-value
...
@@ -228,7 +228,7 @@
...
@@ -228,7 +228,7 @@
this
.
objOption
.
DeptTier
=
res
.
Data
.
DeptTier
;
this
.
objOption
.
DeptTier
=
res
.
Data
.
DeptTier
;
this
.
objOption
.
School_Id
=
res
.
Data
.
School_Id
;
this
.
objOption
.
School_Id
=
res
.
Data
.
School_Id
;
this
.
tempManager
=
res
.
Data
.
ManagerList
;
this
.
tempManager
=
res
.
Data
.
ManagerList
;
this
.
tempPost
=
res
.
Data
.
ChoosePostList
;
this
.
tempPost
=
res
.
Data
.
ChoosePostList
;
})
})
this
.
optionTitle
=
"修改部门信息"
this
.
optionTitle
=
"修改部门信息"
}
else
{
}
else
{
...
@@ -243,7 +243,7 @@
...
@@ -243,7 +243,7 @@
this
.
objOption
.
DeptTier
=
0
;
this
.
objOption
.
DeptTier
=
0
;
this
.
objOption
.
School_Id
=
0
;
this
.
objOption
.
School_Id
=
0
;
this
.
tempManager
=
[];
this
.
tempManager
=
[];
this
.
tempPost
=
[];
this
.
tempPost
=
[];
}
}
},
},
//关闭弹窗
//关闭弹窗
...
@@ -273,7 +273,7 @@
...
@@ -273,7 +273,7 @@
//去掉第一个字符
//去掉第一个字符
tempStr
=
tempStr
.
substr
(
1
);
tempStr
=
tempStr
.
substr
(
1
);
}
}
this
.
objOption
.
ChoosePostList
=
this
.
tempPost
;
this
.
objOption
.
ChoosePostList
=
this
.
tempPost
;
this
.
objOption
.
ManagerIds
=
tempStr
;
this
.
objOption
.
ManagerIds
=
tempStr
;
saveDeptInfo
(
this
.
objOption
).
then
(
res
=>
{
saveDeptInfo
(
this
.
objOption
).
then
(
res
=>
{
this
.
saveLoading
=
false
this
.
saveLoading
=
false
...
...
src/components/system/menu-form.vue
View file @
4aec8121
...
@@ -15,16 +15,16 @@
...
@@ -15,16 +15,16 @@
<q-toggle
size=
"md"
label=
"固定用户中心"
color=
"primary"
:false-value=
"0"
:true-value=
"1"
<q-toggle
size=
"md"
label=
"固定用户中心"
color=
"primary"
:false-value=
"0"
:true-value=
"1"
v-model=
"objOption.IsUserCenter"
/>
v-model=
"objOption.IsUserCenter"
/>
</div>
</div>
<q-select
class=
"col-6 q-p
b
-lg"
v-model=
"objOption.MenuType"
:options=
"MenuTypeOpts"
emit-value
map-options
<q-select
class=
"col-6 q-p
r
-lg"
v-model=
"objOption.MenuType"
:options=
"MenuTypeOpts"
emit-value
map-options
label=
"菜单类型"
@
input=
"queryMenuList()"
/>
label=
"菜单类型"
@
input=
"queryMenuList()"
/>
<q-select
class=
"col-6 q-pb-lg"
v-if=
"objOption.IsUserCenter==0"
v-model=
"objOption.MenuLevel"
:options=
"MenuLevelOpts"
emit-value
map-options
<q-select
class=
"col-6 q-p
r-lg q-p
b-lg"
v-if=
"objOption.IsUserCenter==0"
v-model=
"objOption.MenuLevel"
:options=
"MenuLevelOpts"
emit-value
map-options
label=
"菜单等级"
@
input=
"queryMenuList()"
/>
label=
"菜单等级"
@
input=
"queryMenuList()"
/>
<q-select
v-if=
"objOption.IsUserCenter==0"
:option-value=
"(item) => item === null ? null : item.MenuId"
option-label=
"MenuName"
<q-select
v-if=
"objOption.IsUserCenter==0"
:option-value=
"(item) => item === null ? null : item.MenuId"
option-label=
"MenuName"
v-model=
"objOption.ParentId"
:options=
"MenuList"
label=
"上级菜单"
:dense=
"false"
emit-value
map-options
v-model=
"objOption.ParentId"
:options=
"MenuList"
label=
"上级菜单"
:dense=
"false"
emit-value
map-options
class=
"col-6 q-p
b
-lg"
/>
class=
"col-6 q-p
r
-lg"
/>
<q-input
stack-label
maxlength=
"
5
0"
:dense=
"false"
v-model=
"objOption.MenuIcon"
class=
"col-6 q-pr-lg q-pb-lg"
<q-input
stack-label
maxlength=
"
6
0"
:dense=
"false"
v-model=
"objOption.MenuIcon"
class=
"col-6 q-pr-lg q-pb-lg"
label=
"图标"
/>
label=
"图标"
/>
<q-input
filled
stack-label
maxlength=
"
5
0"
:dense=
"false"
v-model=
"objOption.SortNum"
<q-input
filled
stack-label
maxlength=
"
1
0"
:dense=
"false"
v-model=
"objOption.SortNum"
class=
"col-6 q-pr-lg q-pb-lg"
label=
"排序"
/>
class=
"col-6 q-pr-lg q-pb-lg"
label=
"排序"
/>
<div
class=
"col-6 q-pr-lg q-pb-lg q-pt-lg"
>
<div
class=
"col-6 q-pr-lg q-pb-lg q-pt-lg"
>
<q-toggle
size=
"md"
label=
"状态"
color=
"primary"
:false-value=
"1"
:true-value=
"0"
<q-toggle
size=
"md"
label=
"状态"
color=
"primary"
:false-value=
"1"
:true-value=
"0"
...
...
src/components/system/menufunction-form.vue
View file @
4aec8121
...
@@ -9,9 +9,9 @@
...
@@ -9,9 +9,9 @@
<div
class=
"row wrap"
>
<div
class=
"row wrap"
>
<q-input
filled
stack-label
maxlength=
"20"
:dense=
"false"
v-model=
"objOption.FunctionName"
ref=
"FunctionName"
<q-input
filled
stack-label
maxlength=
"20"
:dense=
"false"
v-model=
"objOption.FunctionName"
ref=
"FunctionName"
class=
"col-6 q-pr-lg q-pb-lg"
label=
"功能名称"
:rules=
"[val => !!val || '请填写功能名称']"
/>
class=
"col-6 q-pr-lg q-pb-lg"
label=
"功能名称"
:rules=
"[val => !!val || '请填写功能名称']"
/>
<q-input
filled
stack-label
maxlength=
"
100
"
:dense=
"false"
v-model=
"objOption.FunctionCode"
ref=
"FunctionCode"
<q-input
filled
stack-label
maxlength=
"
25
"
:dense=
"false"
v-model=
"objOption.FunctionCode"
ref=
"FunctionCode"
class=
"col-6 q-pr-lg q-pb-lg"
label=
"功能编码"
/>
class=
"col-6 q-pr-lg q-pb-lg"
label=
"功能编码"
/>
<q-input
filled
stack-label
maxlength=
"
2
00"
:dense=
"false"
v-model=
"objOption.Remarks"
ref=
"Remarks"
<q-input
filled
stack-label
maxlength=
"
1
00"
:dense=
"false"
v-model=
"objOption.Remarks"
ref=
"Remarks"
class=
"col-6 q-pr-lg q-pb-lg"
label=
"功能备注"
/>
class=
"col-6 q-pr-lg q-pb-lg"
label=
"功能备注"
/>
<div
class=
"col-6 q-pr-lg q-pb-lg q-pt-lg"
>
<div
class=
"col-6 q-pr-lg q-pb-lg q-pt-lg"
>
<q-toggle
size=
"md"
label=
"状态"
color=
"primary"
:false-value=
"1"
:true-value=
"0"
<q-toggle
size=
"md"
label=
"状态"
color=
"primary"
:false-value=
"1"
:true-value=
"0"
...
@@ -40,9 +40,9 @@
...
@@ -40,9 +40,9 @@
type
:
Object
,
type
:
Object
,
default
:
null
default
:
null
},
},
paramObj
:{
paramObj
:
{
type
:
Number
,
type
:
String
,
default
:
0
default
:
"0"
}
}
},
},
data
()
{
data
()
{
...
...
src/components/system/role-form.vue
View file @
4aec8121
...
@@ -157,7 +157,7 @@
...
@@ -157,7 +157,7 @@
<div
class=
"text-caption q-mb-lg text-dark-6"
>
<div
class=
"text-caption q-mb-lg text-dark-6"
>
<span
class=
"role_Line"
></span>
角色信息
</div>
<span
class=
"role_Line"
></span>
角色信息
</div>
<div
class=
"row wrap"
>
<div
class=
"row wrap"
>
<q-input
filled
stack-label
maxlength=
"
5
0"
:dense=
"false"
v-model=
"objOption.RoleName"
ref=
"RoleName"
<q-input
filled
stack-label
maxlength=
"
2
0"
:dense=
"false"
v-model=
"objOption.RoleName"
ref=
"RoleName"
class=
"col-6 q-pr-lg q-pb-lg"
label=
"角色名称"
:rules=
"[val => !!val || '请填写角色名称']"
/>
class=
"col-6 q-pr-lg q-pb-lg"
label=
"角色名称"
:rules=
"[val => !!val || '请填写角色名称']"
/>
</div>
</div>
</div>
</div>
...
...
src/pages/sale/japaneseTrain.vue
View file @
4aec8121
This diff is collapsed.
Click to expand it.
src/pages/system/dept.vue
View file @
4aec8121
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
</div>
</div>
<div
class=
"col"
>
<div
class=
"col"
>
<q-input
@
change=
"resetSearch"
clearable
standout=
"bg-primary text-white"
v-model=
"msg.DeptName"
<q-input
@
change=
"resetSearch"
clearable
standout=
"bg-primary text-white"
v-model=
"msg.DeptName"
label=
"部门名称"
/>
label=
"部门名称"
maxlength=
"20"
/>
</div>
</div>
<div
class=
"col"
>
<div
class=
"col"
>
<q-select
@
input=
"resetSearch"
filled
stack-label
option-value=
"value"
option-label=
"label"
<q-select
@
input=
"resetSearch"
filled
stack-label
option-value=
"value"
option-label=
"label"
...
...
src/pages/system/menu.vue
View file @
4aec8121
...
@@ -4,11 +4,11 @@
...
@@ -4,11 +4,11 @@
<div
class=
"col row wrap q-mr-lg q-col-gutter-md"
>
<div
class=
"col row wrap q-mr-lg q-col-gutter-md"
>
<div
class=
"col-3"
>
<div
class=
"col-3"
>
<q-input
@
change=
"resetSearch"
clearable
standout=
"bg-primary text-white"
class=
"col-6 q-pr-lg q-pr-lg"
v-model=
"msg.MenuName"
<q-input
@
change=
"resetSearch"
clearable
standout=
"bg-primary text-white"
class=
"col-6 q-pr-lg q-pr-lg"
v-model=
"msg.MenuName"
label=
"菜单名称"
/>
label=
"菜单名称"
maxlength=
"20"
@
clear=
"resetSearch"
/>
</div>
</div>
<div
class=
"col-3"
>
<div
class=
"col-3"
>
<q-input
@
change=
"resetSearch"
clearable
standout=
"bg-primary text-white"
class=
"col-6 q-pr-lg q-pr-lg"
v-model=
"msg.MenuUrl"
<q-input
@
change=
"resetSearch"
clearable
standout=
"bg-primary text-white"
class=
"col-6 q-pr-lg q-pr-lg"
v-model=
"msg.MenuUrl"
label=
"菜单地址"
/>
label=
"菜单地址"
maxlength=
"20"
@
clear=
"resetSearch"
/>
</div>
</div>
<div
class=
"col-3"
>
<div
class=
"col-3"
>
<q-select
@
input=
"resetSearch"
standout=
"bg-primary text-white"
v-model=
"msg.MenuType"
class=
"col-6 q-pr-lg q-pr-lg"
:options=
"MenuTypeOpts"
<q-select
@
input=
"resetSearch"
standout=
"bg-primary text-white"
v-model=
"msg.MenuType"
class=
"col-6 q-pr-lg q-pr-lg"
:options=
"MenuTypeOpts"
...
@@ -59,7 +59,6 @@
...
@@ -59,7 +59,6 @@
</div>
</div>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
{
import
{
getMenuPage
,
getMenuPage
,
...
...
src/pages/system/post.vue
View file @
4aec8121
...
@@ -4,14 +4,13 @@
...
@@ -4,14 +4,13 @@
<div
class=
"col row wrap q-mr-lg q-col-gutter-md"
>
<div
class=
"col row wrap q-mr-lg q-col-gutter-md"
>
<div
class=
"col-3"
>
<div
class=
"col-3"
>
<q-input
@
change=
"resetSearch"
clearable
standout=
"bg-primary text-white"
v-model=
"msg.PostName"
<q-input
@
change=
"resetSearch"
clearable
standout=
"bg-primary text-white"
v-model=
"msg.PostName"
label=
"岗位名称"
/>
label=
"岗位名称"
maxlength=
"20"
/>
</div>
</div>
<div
class=
"col-3"
>
<div
class=
"col-3"
>
<q-select
@
input=
"resetSearch"
standout=
"bg-primary text-white"
v-model=
"msg.Status"
:options=
"ShowOpts"
<q-select
@
input=
"resetSearch"
standout=
"bg-primary text-white"
v-model=
"msg.Status"
:options=
"ShowOpts"
emit-value
map-options
label=
"状态"
/>
emit-value
map-options
label=
"状态"
/>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"page-content"
>
<div
class=
"page-content"
>
<q-table
:pagination=
"msg"
:loading=
"loading"
no-data-label=
"暂无相关数据"
flat
class=
"sticky-tow-column-table"
<q-table
:pagination=
"msg"
:loading=
"loading"
no-data-label=
"暂无相关数据"
flat
class=
"sticky-tow-column-table"
...
...
src/pages/system/role.vue
View file @
4aec8121
...
@@ -4,14 +4,13 @@
...
@@ -4,14 +4,13 @@
<div
class=
"col row wrap q-mr-lg q-col-gutter-md"
>
<div
class=
"col row wrap q-mr-lg q-col-gutter-md"
>
<div
class=
"col-3"
>
<div
class=
"col-3"
>
<q-input
@
change=
"resetSearch"
clearable
standout=
"bg-primary text-white"
v-model=
"msg.RoleName"
<q-input
@
change=
"resetSearch"
clearable
standout=
"bg-primary text-white"
v-model=
"msg.RoleName"
label=
"角色名称"
/>
label=
"角色名称"
maxlength=
"20"
/>
</div>
</div>
<div
class=
"col-3"
>
<div
class=
"col-3"
>
<q-select
@
input=
"resetSearch"
standout=
"bg-primary text-white"
v-model=
"msg.Status"
:options=
"ShowOpts"
<q-select
@
input=
"resetSearch"
standout=
"bg-primary text-white"
v-model=
"msg.Status"
:options=
"ShowOpts"
emit-value
map-options
label=
"状态"
/>
emit-value
map-options
label=
"状态"
/>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"page-content"
>
<div
class=
"page-content"
>
<q-table
:pagination=
"msg"
:loading=
"loading"
no-data-label=
"暂无相关数据"
flat
class=
"sticky-tow-column-table"
<q-table
:pagination=
"msg"
:loading=
"loading"
no-data-label=
"暂无相关数据"
flat
class=
"sticky-tow-column-table"
...
...
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