Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
device-new-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
device-new-platform
Commits
c8836ebe
Commit
c8836ebe
authored
Feb 04, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改站点请求地址
parent
200f8d03
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
device-manager-ui/admin/src/components/FileUpload.vue
device-manager-ui/admin/src/components/FileUpload.vue
+5
-1
device-manager-ui/admin/src/views/product/version/drawershow.vue
...manager-ui/admin/src/views/product/version/drawershow.vue
+2
-1
No files found.
device-manager-ui/admin/src/components/FileUpload.vue
View file @
c8836ebe
...
...
@@ -130,6 +130,10 @@ export default {
},
},
methods
:
{
refresh
(
data
)
{
this
.
fileList
=
data
;
},
// 上传前校检格式和大小
handleBeforeUpload
(
file
)
{
// 校检文件类型
...
...
@@ -212,4 +216,4 @@ export default {
.ele-upload-list__item-content-action
.el-link
{
margin-right
:
5px
;
}
</
style
>
\ No newline at end of file
</
style
>
device-manager-ui/admin/src/views/product/version/drawershow.vue
View file @
c8836ebe
...
...
@@ -8,7 +8,7 @@
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"120px"
>
<el-row>
<Field
label=
"产品类型"
:span=
"20"
prop=
"productId"
type=
"select"
:enumData=
"dict.productId"
v-model=
"form.productId"
placeholder=
"请选择产品"
/>
<Field
label=
"文件地址"
:span=
"20"
prop=
"filePath"
><fileUpload
v-model=
"form.filePath"
prePath=
"/file/uploadfile"
/></Field>
<Field
label=
"文件地址"
:span=
"20"
prop=
"filePath"
><fileUpload
ref=
"fileUpload"
v-model=
"form.filePath"
prePath=
"/file/uploadfile"
/></Field>
<Field
label=
"版本号"
:span=
"20"
prop=
"version"
type=
"num"
v-model=
"form.version"
placeholder=
"请输入版本号"
/>
<Field
label=
"备注信息"
:span=
"20"
prop=
"remark"
v-model=
"form.remark"
type=
"textarea"
placeholder=
"请输入备注信息"
/>
...
...
@@ -62,6 +62,7 @@
methods
:
{
/** 编辑 */
edit
(
row
)
{
this
.
$refs
.
fileUpload
.
refresh
([])
this
.
reset
()
this
.
query
=
{
id
:
row
.
id
};
this
.
urls
.
currUrl
=
"
product/version/edit
"
;
...
...
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