no message

This commit is contained in:
小陌 2023-08-15 15:58:18 +08:00
parent 58a7ba7559
commit fce4fcc4a8
7 changed files with 18 additions and 17 deletions

View File

@ -12,7 +12,7 @@ const DEFAULT_CONFIG = {
CORE_VER: "1.6.9", CORE_VER: "1.6.9",
//接口地址 //接口地址
API_URL: 'https://x--mo.com:8888/admin', API_URL: 'https://app.gter.net/adminApi',
//请求超时 //请求超时
TIMEOUT: 10000, TIMEOUT: 10000,
@ -24,7 +24,7 @@ const DEFAULT_CONFIG = {
THEMEHEADER: true, THEMEHEADER: true,
//TokenName //TokenName
TOKEN_NAME: "token", TOKEN_NAME: "authorization",
// Cookie Name // Cookie Name
SESSIONNAME: "MIUCMSSESSION", SESSIONNAME: "MIUCMSSESSION",

View File

@ -27,9 +27,10 @@ a,button,input,textarea{-webkit-tap-highlight-color:rgba(0,0,0,0);box-sizing: bo
.adminui-header {height: 58px;background: #222b45;color: #fff;display: flex;justify-content:space-between;} .adminui-header {height: 58px;background: #222b45;color: #fff;display: flex;justify-content:space-between;}
.adminui-header-left {display: flex;align-items: center;padding-left:20px;} .adminui-header-left {display: flex;align-items: center;padding-left:20px;}
.adminui-header-right {display: flex;align-items: center;} .adminui-header-right {display: flex;align-items: center;}
.adminui-header .logo-bar {font-size: 20px;font-weight: bold;display: flex;align-items: center;} .adminui-header .logo-bar {font-size: 20px;font-weight: bold;display: flex;align-items: center;width: 137px;}
.adminui-header .logo-bar .logo {margin-right: 10px;width: 35px;height: 35px;} .adminui-header .logo-bar .logo {margin-right: 10px;width: 35px;height: 35px;}
.adminui-header .nav {display: flex;height: 100%;margin-left: 40px;} .adminui-header .logo-bar span {overflow: hidden;}
.adminui-header .nav {display: flex;height: 100%;margin-left: 10px;}
.adminui-header .nav li {padding:0 10px;margin: 0 10px 0 0;font-size: 14px;color: rgba(255, 255, 255, 0.6);list-style: none;height: 100%;display: flex;align-items: center;cursor: pointer;} .adminui-header .nav li {padding:0 10px;margin: 0 10px 0 0;font-size: 14px;color: rgba(255, 255, 255, 0.6);list-style: none;height: 100%;display: flex;align-items: center;cursor: pointer;}
.adminui-header .nav li i {margin-right: 5px;} .adminui-header .nav li i {margin-right: 5px;}
.adminui-header .nav li:hover {color: #fff;} .adminui-header .nav li:hover {color: #fff;}

View File

@ -20,9 +20,9 @@
--el-color-primary-dark-7: #132f4c; --el-color-primary-dark-7: #132f4c;
--el-color-primary-dark-8: #0c1f32; --el-color-primary-dark-8: #0c1f32;
--el-color-primary-dark-9: #060f19; --el-color-primary-dark-9: #060f19;
--el-menu-base-level-padding: 15px; --el-menu-base-level-padding: 12px;
--el-menu-icon-width: 20px; --el-menu-icon-width: 20px;
--el-menu-item-height: 50px; --el-menu-item-height: 52px;
--el-upload-picture-card-size: 100%; --el-upload-picture-card-size: 100%;
} }

View File

@ -1,5 +1,5 @@
import http from "@/utils/request" import http from "@/utils/request"
export const urlPrefix = '/app/apartment/' export const urlPrefix = '/tenement/apartment/'
export default { export default {
get: async function(url, params) { get: async function(url, params) {
return await http.get(urlPrefix + url, params); return await http.get(urlPrefix + url, params);

View File

@ -87,7 +87,7 @@
}, },
methods: { methods: {
loaddata(){ loaddata(){
this.$http.get('app/crontab/lists').then((res) => { this.$http.get('crontab/admin/lists').then((res) => {
if (res.code == 200) { if (res.code == 200) {
this.list = res.data; this.list = res.data;
return ; return ;
@ -116,7 +116,7 @@
}).then(() => { }).then(() => {
this.$http.get('app/crontab/delete').then((res) => { this.$http.get('crontab/admin/delete').then((res) => {
if (res.code == 200) { if (res.code == 200) {
this.list.splice(this.list.findIndex(item => item.id === task.id), 1) this.list.splice(this.list.findIndex(item => item.id === task.id), 1)
return ; return ;
@ -135,7 +135,7 @@
this.loginfo = o; this.loginfo = o;
this.dialog.logsVisible = true this.dialog.logsVisible = true
this.$nextTick(() => { this.$nextTick(() => {
this.$refs.logs.setApi('app/crontab/logs?id='+o.id) this.$refs.logs.setApi('crontab/admin/logs?id='+o.id)
}) })
}, },
run(task){ run(task){
@ -144,7 +144,7 @@
// //
handleSuccess(data, mode){ handleSuccess(data, mode){
this.$http.post('app/crontab/submit', {type:mode, info:data}).then((res) => { this.$http.post('crontab/admin/submit', {type:mode, info:data}).then((res) => {
this.$refs.saveDialog.isSaveing = false; this.$refs.saveDialog.isSaveing = false;

View File

@ -491,7 +491,7 @@
this.$refs.dialogForm.validate(async (valid) => { this.$refs.dialogForm.validate(async (valid) => {
if (valid) { if (valid) {
this.isSaveing = true; this.isSaveing = true;
var res = await this.$http.post('system/table/submit',{info:this.form, token:this.token}); var res = await this.$http.post('table/submit',{info:this.form, token:this.token});
this.isSaveing = false; this.isSaveing = false;
if(res.code == 200){ if(res.code == 200){
this.visible = false; this.visible = false;
@ -514,7 +514,7 @@
this.form.title = data.title; this.form.title = data.title;
this.form.uniqid = data.uniqid; this.form.uniqid = data.uniqid;
setTimeout(async ()=>{ setTimeout(async ()=>{
var res = await this.$http.get('system/table/info',params) var res = await this.$http.get('table/info',params)
this.loading = false this.loading = false
this.form = res.data.data; this.form = res.data.data;
this.token = res.data.token; this.token = res.data.token;

View File

@ -63,7 +63,7 @@
<input class="el-input__inner" type="text" readonly :value="scope.row.api"> <input class="el-input__inner" type="text" readonly :value="scope.row.api">
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="添加时间" prop="timestamp" width="150"></el-table-column> <el-table-column label="添加时间" prop="timestamp" width="160"></el-table-column>
<el-table-column label="操作" fixed="right" align="left" width="170"> <el-table-column label="操作" fixed="right" align="left" width="170">
<template #default="scope"> <template #default="scope">
@ -103,7 +103,7 @@
dialog: { dialog: {
column: false, column: false,
}, },
api: 'system/table/lists', api: 'table/lists',
selection: [], selection: [],
search: { search: {
keyword: "", keyword: "",
@ -143,7 +143,7 @@
}, },
// //
async table_copy(row){ async table_copy(row){
var res = await this.$http.post('system/table/copy', {id: row.id}); var res = await this.$http.post('table/copy', {id: row.id});
if(res.code == 200){ if(res.code == 200){
this.$refs.table.reload({}) this.$refs.table.reload({})
@ -158,7 +158,7 @@
}, },
// //
async table_del(row, index){ async table_del(row, index){
var res = await this.$http.post('system/table/delete', {id: row.id}); var res = await this.$http.post('table/delete', {id: row.id});
if(res.code == 200){ if(res.code == 200){
// OR / // OR /
this.$refs.table.tableData.splice(index, 1); this.$refs.table.tableData.splice(index, 1);