Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gdtel-gztel-school-center-ui
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴学德
gdtel-gztel-school-center-ui
Commits
04196426
Commit
04196426
authored
Mar 06, 2020
by
吴学德
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改ng配置文件
parent
b1eac862
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
48 additions
and
8 deletions
+48
-8
deploy/prod/winsun-docker-application-list/gdtel-gztel-school-center/ui/nginx/config/ui.conf
+2
-2
src/views/school-center/packageManagement/package.vue
+43
-3
src/views/system/systemUser.vue
+3
-3
No files found.
deploy/prod/winsun-docker-application-list/gdtel-gztel-school-center/ui/nginx/config/ui.conf
View file @
04196426
...
@@ -16,8 +16,8 @@
...
@@ -16,8 +16,8 @@
location
/
auth
{
location
/
auth
{
proxy_pass
http
://
gateway
:
10001
/
auth
;
proxy_pass
http
://
gateway
:
10001
/
auth
;
}
}
location
/
jyyy
{
location
/
schoolcenter
{
proxy_pass
http
://
gateway
:
10001
/
jyyy
;
proxy_pass
http
://
gateway
:
10001
/
schoolcenter
;
}
}
error_page
500
502
503
504
/
50
x
.
html
;
error_page
500
502
503
504
/
50
x
.
html
;
...
...
src/views/school-center/packageManagement/package.vue
View file @
04196426
...
@@ -74,7 +74,21 @@
...
@@ -74,7 +74,21 @@
<a-input
placeholder=
"简介"
v-decorator=
"[ 'explains', {rules: [{ required: true, message: '简介不能为空!' ,whitespace:true}]}]"
></a-input>
<a-input
placeholder=
"简介"
v-decorator=
"[ 'explains', {rules: [{ required: true, message: '简介不能为空!' ,whitespace:true}]}]"
></a-input>
</a-form-item>
</a-form-item>
<a-form-item
:labelCol=
"{span: 6}"
:wrapperCol=
"{span: 8, offset: 1}"
label=
"背景图"
>
<a-form-item
:labelCol=
"{span: 6}"
:wrapperCol=
"{span: 8, offset: 1}"
label=
"背景图"
>
<img
style=
"width: 150px"
>
<a-upload
action=
"https://www.mocky.io/v2/5cc8019d300000980a055e76"
listType=
"picture-card"
:fileList=
"fileList"
@
preview=
"handlePreview"
@
change=
"handleChange"
>
<div>
<a-icon
type=
"plus"
/>
<div
class=
"ant-upload-text"
>
<span
v-if=
"fileList.length==0"
>
上传背景图
</span>
<span
v-if=
"fileList.length>0"
>
更换背景图
</span>
</div>
</div>
</a-upload>
<a-modal
:visible=
"previewVisible"
:footer=
"null"
@
cancel=
"handleCancel"
>
<img
alt=
"example"
style=
"width: 100%"
:src=
"previewImage"
/>
</a-modal>
</a-form-item>
</a-form-item>
<a-form-item
:labelCol=
"{span: 6}"
:wrapperCol=
"{span: 8, offset: 1}"
label=
"小图"
>
<a-form-item
:labelCol=
"{span: 6}"
:wrapperCol=
"{span: 8, offset: 1}"
label=
"小图"
>
<img
style=
"width: 150px"
>
<img
style=
"width: 150px"
>
...
@@ -95,6 +109,12 @@
...
@@ -95,6 +109,12 @@
},
},
data
:
function
()
{
data
:
function
()
{
return
{
return
{
previewVisible
:
false
,
previewImage
:
''
,
fileList
:
[
],
Formtable
:
this
.
$form
.
createForm
(
this
,
{
name
:
'Formtable'
}),
Formtable
:
this
.
$form
.
createForm
(
this
,
{
name
:
'Formtable'
}),
//输入框列表
//输入框列表
autoCompleteResult
:[],
autoCompleteResult
:[],
...
@@ -159,6 +179,27 @@
...
@@ -159,6 +179,27 @@
}
}
},
},
methods
:{
methods
:{
//生成随机数
guid
()
{
return
'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'
.
replace
(
/
[
xy
]
/g
,
function
(
c
)
{
var
r
=
Math
.
random
()
*
16
|
0
,
v
=
c
==
'x'
?
r
:
(
r
&
0x3
|
0x8
);
return
v
.
toString
(
16
);
});
},
handleCancel
()
{
this
.
previewVisible
=
false
;
},
handlePreview
(
file
)
{
this
.
previewImage
=
file
.
url
||
file
.
thumbUrl
;
this
.
previewVisible
=
true
;
},
handleChange
({
fileList
})
{
console
.
log
(
fileList
)
this
.
fileList
=
fileList
;
},
search
()
{
search
()
{
this
.
$refs
.
table
.
refresh
({
search
:
true
})
this
.
$refs
.
table
.
refresh
({
search
:
true
})
},
},
...
@@ -273,4 +314,4 @@
...
@@ -273,4 +314,4 @@
<
style
scoped
>
<
style
scoped
>
</
style
>
</
style
>
\ No newline at end of file
src/views/system/systemUser.vue
View file @
04196426
...
@@ -32,8 +32,8 @@
...
@@ -32,8 +32,8 @@
<a-col
:md=
"6"
:sm=
"24"
>
<a-col
:md=
"6"
:sm=
"24"
>
<a-form-item
label=
"使用状态"
>
<a-form-item
label=
"使用状态"
>
<a-select
v-model=
"queryParams.status"
placeholder=
"请选择"
default-value=
"
0
"
>
<a-select
v-model=
"queryParams.status"
placeholder=
"请选择"
default-value=
"
1
"
>
<a-select-option
value=
""
>
全部
</a-select-option
>
<!--
<a-select-option
value=
"1,2,3"
>
全部
</a-select-option>
--
>
<a-select-option
value=
"1"
>
正常
</a-select-option>
<a-select-option
value=
"1"
>
正常
</a-select-option>
<a-select-option
value=
"2"
>
冻结
</a-select-option>
<a-select-option
value=
"2"
>
冻结
</a-select-option>
<a-select-option
value=
"3"
>
已失效
</a-select-option>
<a-select-option
value=
"3"
>
已失效
</a-select-option>
...
@@ -287,7 +287,7 @@ export default {
...
@@ -287,7 +287,7 @@ export default {
//查询条件
//查询条件
queryParams
:
{
queryParams
:
{
account
:
''
,
account
:
''
,
status
:
""
,
status
:
"
1
"
,
deptid
:
""
,
deptid
:
""
,
name
:
""
,
name
:
""
,
phone
:
""
phone
:
""
...
...
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