no message
This commit is contained in:
parent
58a7ba7559
commit
fce4fcc4a8
@ -12,7 +12,7 @@ const DEFAULT_CONFIG = {
|
||||
CORE_VER: "1.6.9",
|
||||
|
||||
//接口地址
|
||||
API_URL: 'https://x--mo.com:8888/admin',
|
||||
API_URL: 'https://app.gter.net/adminApi',
|
||||
|
||||
//请求超时
|
||||
TIMEOUT: 10000,
|
||||
@ -24,7 +24,7 @@ const DEFAULT_CONFIG = {
|
||||
THEMEHEADER: true,
|
||||
|
||||
//TokenName
|
||||
TOKEN_NAME: "token",
|
||||
TOKEN_NAME: "authorization",
|
||||
|
||||
// Cookie Name
|
||||
SESSIONNAME: "MIUCMSSESSION",
|
||||
|
@ -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-left {display: flex;align-items: center;padding-left:20px;}
|
||||
.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 .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 i {margin-right: 5px;}
|
||||
.adminui-header .nav li:hover {color: #fff;}
|
||||
|
@ -20,9 +20,9 @@
|
||||
--el-color-primary-dark-7: #132f4c;
|
||||
--el-color-primary-dark-8: #0c1f32;
|
||||
--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-item-height: 50px;
|
||||
--el-menu-item-height: 52px;
|
||||
--el-upload-picture-card-size: 100%;
|
||||
}
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
import http from "@/utils/request"
|
||||
export const urlPrefix = '/app/apartment/'
|
||||
export const urlPrefix = '/tenement/apartment/'
|
||||
export default {
|
||||
get: async function(url, params) {
|
||||
return await http.get(urlPrefix + url, params);
|
||||
|
@ -87,7 +87,7 @@
|
||||
},
|
||||
methods: {
|
||||
loaddata(){
|
||||
this.$http.get('app/crontab/lists').then((res) => {
|
||||
this.$http.get('crontab/admin/lists').then((res) => {
|
||||
if (res.code == 200) {
|
||||
this.list = res.data;
|
||||
return ;
|
||||
@ -116,7 +116,7 @@
|
||||
}).then(() => {
|
||||
|
||||
|
||||
this.$http.get('app/crontab/delete').then((res) => {
|
||||
this.$http.get('crontab/admin/delete').then((res) => {
|
||||
if (res.code == 200) {
|
||||
this.list.splice(this.list.findIndex(item => item.id === task.id), 1)
|
||||
return ;
|
||||
@ -135,7 +135,7 @@
|
||||
this.loginfo = o;
|
||||
this.dialog.logsVisible = true
|
||||
this.$nextTick(() => {
|
||||
this.$refs.logs.setApi('app/crontab/logs?id='+o.id)
|
||||
this.$refs.logs.setApi('crontab/admin/logs?id='+o.id)
|
||||
})
|
||||
},
|
||||
run(task){
|
||||
@ -144,7 +144,7 @@
|
||||
//本地更新数据
|
||||
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;
|
||||
|
@ -491,7 +491,7 @@
|
||||
this.$refs.dialogForm.validate(async (valid) => {
|
||||
if (valid) {
|
||||
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;
|
||||
if(res.code == 200){
|
||||
this.visible = false;
|
||||
@ -514,7 +514,7 @@
|
||||
this.form.title = data.title;
|
||||
this.form.uniqid = data.uniqid;
|
||||
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.form = res.data.data;
|
||||
this.token = res.data.token;
|
||||
|
@ -63,7 +63,7 @@
|
||||
<input class="el-input__inner" type="text" readonly :value="scope.row.api">
|
||||
</template>
|
||||
</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">
|
||||
<template #default="scope">
|
||||
@ -103,7 +103,7 @@
|
||||
dialog: {
|
||||
column: false,
|
||||
},
|
||||
api: 'system/table/lists',
|
||||
api: 'table/lists',
|
||||
selection: [],
|
||||
search: {
|
||||
keyword: "",
|
||||
@ -143,7 +143,7 @@
|
||||
},
|
||||
//复制
|
||||
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){
|
||||
this.$refs.table.reload({})
|
||||
|
||||
@ -158,7 +158,7 @@
|
||||
},
|
||||
//删除
|
||||
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){
|
||||
//这里选择刷新整个表格 OR 插入/编辑现有表格数据
|
||||
this.$refs.table.tableData.splice(index, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user