ab1bccb8 by renchao@pashanhoo.com

chore:配置修改

1 parent 89d12179
{
"TITLE": "汉中市数据上报系统",
"THEME": "sb",
"CODE": "BDCJGPT",
"CODE": "BDCSBPT",
"SERVERAPI": "/bdcsjsb",
"calcHeight": 160,
"MANAGEMENTAPI": "http://192.168.2.38:8090/management"
......
......@@ -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");
......
......@@ -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>
......