Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ximai
mes-ui
Commits
502c6b68
Commit
502c6b68
authored
Jan 14, 2025
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
作业端版本更新
parent
c097f6a3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
0 deletions
+29
-0
index.vue
src/views/system/version/index.vue
+29
-0
No files found.
src/views/system/version/index.vue
View file @
502c6b68
...
...
@@ -17,6 +17,18 @@
@
keyup
.
enter
.
native=
"handleQuery"
/>
</el-form-item>
<el-form-item
label=
"appName"
prop=
"url"
>
<el-select
style=
"width: 100%;"
v-model=
"queryParams.appName"
>
<el-option
label=
"mesPad"
value=
"mesPad"
></el-option>
<el-option
label=
"erpScan"
value=
"erpScan"
></el-option>
</el-select>
</el-form-item>
<el-form-item>
<el-button
type=
"primary"
icon=
"el-icon-search"
size=
"mini"
@
click=
"handleQuery"
>
{{
$t
(
'common.search'
)
}}
</el-button>
<el-button
icon=
"el-icon-refresh"
size=
"mini"
@
click=
"resetQuery"
>
{{
$t
(
'common.reset'
)
}}
</el-button>
...
...
@@ -64,6 +76,7 @@
<el-table-column
:label=
"$t('下载版本')"
align=
"center"
prop=
"version"
/>
<el-table-column
:label=
"$t('下载地址')"
align=
"center"
prop=
"url"
show-overflow-tooltip
/>
<el-table-column
:label=
"$t('更新描述')"
align=
"center"
prop=
"updateDesc"
/>
<el-table-column
label=
"appName"
align=
"center"
prop=
"appName"
/>
<el-table-column
:label=
"$t('最新版本')"
align=
"center"
prop=
"lastVersion"
>
<template
slot-scope=
"scope"
>
{{
scope
.
row
.
lastVersion
?
$t
(
'否'
)
:
$t
(
'是'
)
}}
...
...
@@ -122,6 +135,18 @@
</el-upload>
</el-input>
</el-form-item>
<el-form-item
label=
"appName"
prop=
"updateDesc"
>
<el-select
style=
"width: 100%;"
v-model=
"queryParams.appName"
>
<el-option
label=
"mesPad"
value=
"mesPad"
></el-option>
<el-option
label=
"erpScan"
value=
"erpScan"
></el-option>
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('更新描述')"
prop=
"updateDesc"
>
<el-input
v-model=
"form.updateDesc"
/>
</el-form-item>
...
...
@@ -173,11 +198,13 @@
queryParams
:
{
pageNum
:
1
,
pageSize
:
10
,
appName
:
"mesPad"
,
version
:
null
,
url
:
null
,
updateState
:
null
,
updateDesc
:
null
,
lastVersion
:
0
,
update_state
:
0
},
// 表单参数
form
:
{
version
:
''
,
url
:
''
,
appName
:
"mesPad"
,
updateDesc
:
''
,
lastVersion
:
0
},
...
...
@@ -243,6 +270,7 @@
version
:
''
,
url
:
''
,
updateDesc
:
''
,
appName
:
"mesPad"
,
lastVersion
:
0
};
this
.
resetForm
(
"form"
);
...
...
@@ -277,6 +305,7 @@
row
=
this
.
configList
.
find
(
v
=>
v
.
id
===
this
.
ids
[
0
])
}
this
.
form
=
JSON
.
parse
(
JSON
.
stringify
(
row
));
if
(
!
this
.
form
.
appName
)
this
.
form
.
appName
=
"mesPad"
this
.
form
.
lastVersion
=
row
.
lastVersion
this
.
open
=
true
;
this
.
title
=
this
.
$t
(
'修改作业端版本记录'
);
...
...
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