Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcjg-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
ab1bccb8
authored
2023-03-27 16:51:05 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
chore:配置修改
1 parent
89d12179
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
11 deletions
public/config.json
src/permission.js
src/views/system/timedTask/index.vue
public/config.json
View file @
ab1bccb
{
"TITLE"
:
"汉中市数据上报系统"
,
"THEME"
:
"sb"
,
"CODE"
:
"BDC
JG
PT"
,
"CODE"
:
"BDC
SB
PT"
,
"SERVERAPI"
:
"/bdcsjsb"
,
"calcHeight"
:
160
,
"MANAGEMENTAPI"
:
"http://192.168.2.38:8090/management"
...
...
src/permission.js
View file @
ab1bccb
...
...
@@ -20,7 +20,9 @@ router.beforeEach(async (to, from, next) => {
localStorage
.
removeItem
(
"token"
);
next
();
}
else
{
setTimeout
(()
=>
{
window
.
document
.
documentElement
.
setAttribute
(
"data-theme"
,
'blue'
);
},
20
)
let
code
=
Vue
.
prototype
.
BASE_API
.
CODE
//判断token是否存在
const
hasToken
=
localStorage
.
getItem
(
"token"
);
...
...
src/views/system/timedTask/index.vue
View file @
ab1bccb
...
...
@@ -2,10 +2,10 @@
<div
class=
"timedTask from-clues"
>
<div
class=
"from-clues-header"
>
<el-form
ref=
"form"
:model=
"form"
label-width=
"80px"
>
<el-form-item
v-if=
"BASE_API.THEME
==
'jg'"
>
<el-form-item
v-if=
"BASE_API.THEME
==
'jg'"
>
<Breadcrumb
/>
</el-form-item>
<el-row>
<el-row
class=
"mb-5"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"搜索标题"
>
<el-input
v-model=
"form.jobName"
placeholder=
"标题"
></el-input>
...
...
@@ -29,12 +29,12 @@
</div>
</
template
>
<
script
>
// 定时任务
import
data
from
"./data"
import
sjsbTask
from
'@/api/sjsbTask.js'
import
tableMixin
from
'@/mixins/tableMixin.js'
import
addTask
from
'../components/addTask.vue'
export
default
{
// 定时任务
import
data
from
"./data"
import
sjsbTask
from
'@/api/sjsbTask.js'
import
tableMixin
from
'@/mixins/tableMixin.js'
import
addTask
from
'../components/addTask.vue'
export
default
{
name
:
"timedTask"
,
mixins
:
[
tableMixin
],
components
:
{
...
...
@@ -248,8 +248,8 @@
})
}
}
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
@import
"~@/styles/mixin.scss"
;
//
@import
"~@/styles/mixin.scss"
;
</
style
>
...
...
Please
register
or
sign in
to post a comment