diff --git a/src/api/bxg/fish.js b/src/api/bxg/fish.js new file mode 100644 index 0000000..b569d19 --- /dev/null +++ b/src/api/bxg/fish.js @@ -0,0 +1,27 @@ +import request from '@/utils/request' + +export function add(data) { + return request({ + url: '/bxg/api/fish', + method: 'post', + data + }) +} + +export function del(ids) { + return request({ + url: '/bxg/api/fish/', + method: 'delete', + data: ids + }) +} + +export function edit(data) { + return request({ + url: '/bxg/api/fish', + method: 'put', + data + }) +} + +export default { add, edit, del } diff --git a/src/api/bxg/fishImage.js b/src/api/bxg/fishImage.js new file mode 100644 index 0000000..ceff1f8 --- /dev/null +++ b/src/api/bxg/fishImage.js @@ -0,0 +1,27 @@ +import request from '@/utils/request' + +export function add(data) { + return request({ + url: '/bxg/api/fishImage', + method: 'post', + data + }) +} + +export function del(ids) { + return request({ + url: '/bxg/api/fishImage/', + method: 'delete', + data: ids + }) +} + +export function edit(data) { + return request({ + url: '/bxg/api/fishImage', + method: 'put', + data + }) +} + +export default { add, edit, del } diff --git a/src/api/bxg/fishPlace.js b/src/api/bxg/fishPlace.js new file mode 100644 index 0000000..1babab8 --- /dev/null +++ b/src/api/bxg/fishPlace.js @@ -0,0 +1,27 @@ +import request from '@/utils/request' + +export function add(data) { + return request({ + url: '/bxg/api/fishPlace', + method: 'post', + data + }) +} + +export function del(ids) { + return request({ + url: '/bxg/api/fishPlace/', + method: 'delete', + data: ids + }) +} + +export function edit(data) { + return request({ + url: '/bxg/api/fishPlace', + method: 'put', + data + }) +} + +export default { add, edit, del } diff --git a/src/api/bxg/fishPush.js b/src/api/bxg/fishPush.js new file mode 100644 index 0000000..d859dbc --- /dev/null +++ b/src/api/bxg/fishPush.js @@ -0,0 +1,27 @@ +import request from '@/utils/request' + +export function add(data) { + return request({ + url: '/bxg/api/fishPush', + method: 'post', + data + }) +} + +export function del(ids) { + return request({ + url: '/bxg/api/fishPush/', + method: 'delete', + data: ids + }) +} + +export function edit(data) { + return request({ + url: '/bxg/api/fishPush', + method: 'put', + data + }) +} + +export default { add, edit, del } diff --git a/src/views/bxg/fish/fish.vue b/src/views/bxg/fish/fish.vue new file mode 100644 index 0000000..3be6331 --- /dev/null +++ b/src/views/bxg/fish/fish.vue @@ -0,0 +1,115 @@ + + + + + diff --git a/src/views/bxg/fish/fishImage.vue b/src/views/bxg/fish/fishImage.vue new file mode 100644 index 0000000..dad04ff --- /dev/null +++ b/src/views/bxg/fish/fishImage.vue @@ -0,0 +1,119 @@ + + + + + diff --git a/src/views/bxg/fish/fishPlace.vue b/src/views/bxg/fish/fishPlace.vue new file mode 100644 index 0000000..b5b942a --- /dev/null +++ b/src/views/bxg/fish/fishPlace.vue @@ -0,0 +1,147 @@ + + + + + diff --git a/src/views/bxg/fish/fishPush.vue b/src/views/bxg/fish/fishPush.vue new file mode 100644 index 0000000..dd17959 --- /dev/null +++ b/src/views/bxg/fish/fishPush.vue @@ -0,0 +1,131 @@ + + + + + diff --git a/src/views/bxg/tools/generator/config.vue b/src/views/bxg/tools/generator/config.vue index 6341961..abb45f3 100644 --- a/src/views/bxg/tools/generator/config.vue +++ b/src/views/bxg/tools/generator/config.vue @@ -154,7 +154,7 @@ @click="doSubmit" >保存 - + 类上面的作者名称 @@ -241,9 +241,10 @@ export default { this.form = data this.form.cover = this.form.cover.toString() }) - getDicts().then(data => { - this.dicts = data - }) + // 这个不能搜索全部字典 + // getDicts().then(data => { + // this.dicts = data + // }) }) }, methods: { diff --git a/src/views/login.vue b/src/views/login.vue index bfca149..84275e6 100644 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -17,7 +17,7 @@ - + @@ -60,25 +60,18 @@ import { getTenantEnable } from "@/utils/ruoyi"; export default { name: "Login", data() { - - // username: "admin", - // password: "admin123", - // rememberMe: false, - // code: "", - // uuid: "", - // tenantName: "芋道源码", - return { + isprod: process.env.NODE_ENV === 'production', codeUrl: "", captchaEnable: true, tenantEnable: true, loginForm: { - username: "", - password: "", + username: "admin", + password: "admin", rememberMe: false, code: "", uuid: "", - tenantName: "", + tenantName: "回乡信息", }, loginRules: { username: [ @@ -87,7 +80,7 @@ export default { password: [ { required: true, trigger: "blur", message: "密码不能为空" } ], - code: [{ required: true, trigger: "change", message: "验证码不能为空" }], + code: [{ required: this.isprod, trigger: "change", message: "验证码不能为空" }], tenantName: [ { required: true, trigger: "blur", message: "租户不能为空" }, { @@ -209,7 +202,8 @@ export default { justify-content: center; align-items: center; height: 100%; - background-image: url(""); + // background-image: url(""); + background-color: dodgerblue; background-size: cover; } .title { diff --git a/src/views/system/menu/index.vue b/src/views/system/menu/index.vue index 489c64b..597d713 100644 --- a/src/views/system/menu/index.vue +++ b/src/views/system/menu/index.vue @@ -1,6 +1,6 @@