Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
intelligent_station_web
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
张伯涛
intelligent_station_web
Commits
c4a55e24
Commit
c4a55e24
authored
Aug 07, 2024
by
munan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
系统设置
parent
05638514
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
20 deletions
+17
-20
busStudentInfo.js
src/api/busStudentInfo.js
+1
-1
index.vue
src/views/busStudentInfo/index.vue
+1
-0
index.vue
src/views/system/sysSettings/index.vue
+15
-19
No files found.
src/api/busStudentInfo.js
View file @
c4a55e24
...
...
@@ -43,7 +43,7 @@ export function updateBusStudentInfo(data) {
const
businessId
=
data
.
businessId
data
=
Qs
.
stringify
(
data
)
return
request
({
url
:
'/busstudentinfo/update/'
+
businessId
,
url
:
'/busstudentinfo/update/'
+
businessId
,
method
:
'put'
,
data
})
...
...
src/views/busStudentInfo/index.vue
View file @
c4a55e24
...
...
@@ -407,6 +407,7 @@ export default {
})
}
else
{
addBusStudentInfo
(
this
.
form
).
then
(
response
=>
{
console
.
log
(
this
.
form
)
if
(
response
.
code
===
200
)
{
this
.
msgSuccess
(
'新增成功'
)
this
.
open
=
false
...
...
src/views/system/sysSettings/index.vue
View file @
c4a55e24
<
template
>
<div
class=
"app-container"
>
<div
v-if=
"themeType == '8'"
class=
"tableTitle"
>
系统设置列表
</div>
<div
class=
"search"
>
<el-form
ref=
"queryForm"
style=
"padding: 0 0 0 10px"
:model=
"queryParams"
:inline=
"true"
>
<el-form-item
label=
"系统名称"
prop=
"systemName"
>
...
...
@@ -105,9 +106,8 @@
</div>
</el-form>
</div>
<div
class=
"placeholder"
/>
<div
style=
"padding:5px 10px"
>
<div
class=
"mb12 font-small-bold
"
>
系统设置列表
</div>
<div
v-if=
"themeType !== '8'"
class=
"tableTitle
"
>
系统设置列表
</div>
<el-table
v-loading=
"loading"
border
:data=
"sysSettingsList"
>
<el-table-column
type=
"index"
label=
"序号"
width=
"55"
align=
"center"
/>
<el-table-column
label=
"系统名称"
prop=
"systemName"
:show-overflow-tooltip=
"true"
>
...
...
@@ -133,7 +133,7 @@
</el-table-column>
<el-table-column
label=
"系统版本"
prop=
"systemVersion"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
systemVersion
||
'
-
'
}}
{{
scope
.
row
.
systemVersion
||
'
23H2
'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"系统license"
prop=
"systemLicense"
:show-overflow-tooltip=
"true"
>
...
...
@@ -143,27 +143,27 @@
</el-table-column>
<el-table-column
label=
"系统编码"
prop=
"systemSn"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
systemSn
||
'
-
'
}}
{{
scope
.
row
.
systemSn
||
'
GB2312
'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"过期时间"
prop=
"systemExpire"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
systemExpire
|
transformDateByFormat
(
'
YYYY-MM-DD
'
)
}}
</span>
<span>
{{
scope
.
row
.
systemExpire
|
transformDateByFormat
(
'
2024-08-01 18:00:00
'
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"授权服务器数量"
prop=
"systemAuthHost"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
systemAuthHost
||
'
-
'
}}
{{
scope
.
row
.
systemAuthHost
||
'
1
'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"授权数量"
prop=
"systemAuthGpu"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
systemAuthGpu
||
'
-
'
}}
{{
scope
.
row
.
systemAuthGpu
||
'
1
'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"网卡编码"
prop=
"systemRj49"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
systemRj49
||
'
-
'
}}
{{
scope
.
row
.
systemRj49
||
'
e01
'
}}
</
template
>
</el-table-column>
<el-table-column
width=
"120"
label=
"状态"
prop=
"flag"
>
...
...
@@ -177,11 +177,6 @@
/>
</
template
>
</el-table-column>
<el-table-column
label=
"备注"
prop=
"remarks"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
remarks
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"操作"
class-name=
"small-padding fixed-width"
width=
"200px"
>
<
template
slot-scope=
"scope"
>
<el-button
...
...
@@ -229,18 +224,18 @@
</el-upload>
</el-form-item>
<el-form-item
label=
"系统版本"
prop=
"systemVersion"
>
<el-input
v-model
.
trim=
"form.systemVersion"
show-word-limit
:maxlength=
"50"
placeholder=
"23H2"
disabled
/>
<el-input
v-model
.
trim=
"form.systemVersion"
show-word-limit
:maxlength=
"50"
placeholder=
"23H2"
readonly
/>
</el-form-item>
<el-form-item
label=
"系统编码"
prop=
"systemSn"
>
<el-input
v-model
.
trim=
"form.systemSn"
show-word-limit
:maxlength=
"32"
placeholder=
"GB2312"
disabled
/>
<el-input
v-model
.
trim=
"form.systemSn"
show-word-limit
:maxlength=
"32"
placeholder=
"GB2312"
readonly
/>
</el-form-item>
<el-form-item
label=
"过期时间"
prop=
"systemExpire"
>
<el-date-picker
v-model=
"form.systemExpire"
value-format=
"yyyy-MM-dd"
value-format=
"yyyy-MM-dd
hh:mm:ss
"
type=
"date"
placeholder=
"2024.08.01"
disabled=
"2024.08.01"
>
placeholder=
"2024.08.01
18:00:00
"
readonly
>
</el-date-picker>
</el-form-item>
<el-form-item
label=
"授权服务器数量"
prop=
"systemAuthHost"
>
...
...
@@ -250,7 +245,7 @@
<el-input-number
v-model
.
trim=
"form.systemAuthGpu"
controls-position=
"right"
:min=
"0"
disabled
/>
</el-form-item>
<el-form-item
label=
"网卡编码"
prop=
"systemRj49"
>
<el-input
v-model
.
trim=
"form.systemRj49"
show-word-limit
:maxlength=
"32"
placeholder=
"e01 "
disabled
/>
<el-input
v-model
.
trim=
"form.systemRj49"
show-word-limit
:maxlength=
"32"
placeholder=
"e01 "
readonly
/>
</el-form-item>
<el-form-item
label=
"状态"
>
<el-radio-group
v-model=
"form.flag"
>
...
...
@@ -326,6 +321,7 @@ export default {
form
:
{},
// 表单校验
rules
:
{
systemName
:[{
type
:
'string'
,
required
:
true
,
message
:
"系统名称必填"
,
trigger
:
'blur'
}],
}
}
},
...
...
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