Commit 601c9192 authored by 姬鋆屾's avatar 姬鋆屾

feated:添加图片管理模块,做名片背景相关功能

parent 40aca4d2
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
><imageUpload ><imageUpload
v-model="form.url" v-model="form.url"
prePath="/file/preview" prePath="/file/preview"
:slotP="'请上传 62*62px 的2MB以内的图片'" :slotP="'请上传2MB以内的图片'"
/> />
</Field> </Field>
</el-row> </el-row>
...@@ -85,8 +85,8 @@ export default { ...@@ -85,8 +85,8 @@ export default {
/** 新增 */ /** 新增 */
add(row) { add(row) {
this.reset(); this.reset();
this.getData();
this.urls.currUrl = "resourceImage/add"; this.urls.currUrl = "resourceImage/add";
this.getData();
this.pageInfo.type = "add"; this.pageInfo.type = "add";
this.title = "新增名片背景"; this.title = "新增名片背景";
}, },
...@@ -94,8 +94,8 @@ export default { ...@@ -94,8 +94,8 @@ export default {
view(row) { view(row) {
this.reset(); this.reset();
this.query = { id: row.id }; this.query = { id: row.id };
this.getData();
this.urls.currUrl = "resourceImage/view"; this.urls.currUrl = "resourceImage/view";
this.getData();
this.pageInfo.type = "view"; this.pageInfo.type = "view";
this.title = "名片背景详细"; this.title = "名片背景详细";
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment