diff --git a/public/config.js b/public/config.js
index 0fef28f..0991f31 100644
--- a/public/config.js
+++ b/public/config.js
@@ -4,7 +4,7 @@
const APP_CONFIG = {
//标题
- //APP_NAME: "SCUI",
+ APP_NAME: "寄托天下",
//接口地址,如遇跨域需使用nginx代理
- //API_URL: "https://www.fastmock.site/mock/5039c4361c39a7e3252c5b55971f1bd3/api"
+ // API_URL: "https://www.fastmock.site/mock/5039c4361c39a7e3252c5b55971f1bd3/api"
}
diff --git a/public/img/auth_banner.jpg b/public/img/auth_banner.jpg
deleted file mode 100644
index 449b0ad..0000000
Binary files a/public/img/auth_banner.jpg and /dev/null differ
diff --git a/src/api/model/app.js b/src/api/model/app.js
index 2957a2a..78c0cff 100644
--- a/src/api/model/app.js
+++ b/src/api/model/app.js
@@ -1,6 +1,9 @@
import http from "@/utils/request"
export default {
apartment: {
+ delete: async function(params) {
+ return await http.get('/app/apartment/delete', params);
+ },
lists: {
url: `/app/apartment/lists`,
name: "获取公域列表",
diff --git a/src/views/app/apartment/images.vue b/src/views/app/apartment/images.vue
index b66ae91..934b3f3 100644
--- a/src/views/app/apartment/images.vue
+++ b/src/views/app/apartment/images.vue
@@ -1,5 +1,5 @@
-
+
@@ -29,11 +29,12 @@
this.visible = true;
return this;
},
- //表单提交方法
- async submit(){
- this.$emit('success', this.data)
+ close(){
this.visible = false;
- this.$message.success("操作成功")
+ },
+ //表单提交方法
+ submit(){
+ this.$emit('success', this.data, this)
},
//表单注入数据
setData(o){
diff --git a/src/views/app/apartment/index.vue b/src/views/app/apartment/index.vue
index 4517695..84107f1 100644
--- a/src/views/app/apartment/index.vue
+++ b/src/views/app/apartment/index.vue
@@ -59,21 +59,21 @@
-
-
-
+
+
+