我的数据

dev_2022-04-07
yujialong 3 years ago
parent 47bee63237
commit 4deb8fe39f
  1. 193
      package-lock.json
  2. 1
      package.json
  3. 6
      src/api/index.js
  4. 7
      src/components/TestPanel.vue
  5. 2
      src/config/index.js
  6. 13
      src/router/index.js
  7. 3
      src/styles/theme/theme1.scss
  8. 2
      src/styles/theme/theme10.scss
  9. 2
      src/styles/theme/theme4.scss
  10. 2
      src/styles/theme/theme5.scss
  11. 2
      src/styles/theme/theme6.scss
  12. 2
      src/styles/theme/theme7.scss
  13. 2
      src/styles/theme/theme8.scss
  14. 2
      src/styles/theme/theme9.scss
  15. 32
      src/util/clipboard.js
  16. 5
      src/util/index.js
  17. 213
      src/views/Data.vue
  18. 18
      src/views/Home.vue

193
package-lock.json generated

@ -1812,6 +1812,63 @@
"integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==",
"dev": true
},
"ansi-styles": {
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
"dev": true,
"optional": true,
"requires": {
"color-convert": "^2.0.1"
}
},
"chalk": {
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
"integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
"dev": true,
"optional": true,
"requires": {
"ansi-styles": "^4.1.0",
"supports-color": "^7.1.0"
}
},
"color-convert": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
"dev": true,
"optional": true,
"requires": {
"color-name": "~1.1.4"
}
},
"color-name": {
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
"dev": true,
"optional": true
},
"has-flag": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
"dev": true,
"optional": true
},
"loader-utils": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.2.tgz",
"integrity": "sha512-TM57VeHptv569d/GKh6TAYdzKblwDNiumOdkFnejjD0XwTH87K90w3O7AiJRqdQoXygvi1VQTJTLGhJl7WqA7A==",
"dev": true,
"optional": true,
"requires": {
"big.js": "^5.2.2",
"emojis-list": "^3.0.0",
"json5": "^2.1.2"
}
},
"minimist": {
"version": "1.2.5",
"resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz",
@ -1826,6 +1883,28 @@
"requires": {
"minipass": "^3.1.1"
}
},
"supports-color": {
"version": "7.2.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
"integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
"dev": true,
"optional": true,
"requires": {
"has-flag": "^4.0.0"
}
},
"vue-loader-v16": {
"version": "npm:vue-loader@16.8.3",
"resolved": "https://registry.npmjs.org/vue-loader/-/vue-loader-16.8.3.tgz",
"integrity": "sha512-7vKN45IxsKxe5GcVCbc2qFU5aWzyiLrYJyUuMz4BQLKctCj/fmCa0w6fGiiQ2cLFetNcek1ppGJQDCup0c1hpA==",
"dev": true,
"optional": true,
"requires": {
"chalk": "^4.1.0",
"hash-sum": "^2.0.0",
"loader-utils": "^2.0.0"
}
}
}
},
@ -3388,6 +3467,16 @@
"integrity": "sha512-x/5fWmGMnbKQAaNwN+UZlV79qBLM9JFnJuJ03gIi5whrob0xV0ofNVHy9DhwGdsMJQc2OKv0oGmLzvaqvAVv+g==",
"dev": true
},
"clipboard": {
"version": "2.0.10",
"resolved": "https://registry.npmjs.org/clipboard/-/clipboard-2.0.10.tgz",
"integrity": "sha512-cz3m2YVwFz95qSEbCDi2fzLN/epEN9zXBvfgAoGkvGOJZATMl9gtTDVOtBYkx2ODUJl2kvmud7n32sV2BpYR4g==",
"requires": {
"good-listener": "^1.2.2",
"select": "^1.1.2",
"tiny-emitter": "^2.0.0"
}
},
"clipboardy": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/clipboardy/-/clipboardy-2.3.0.tgz",
@ -4538,6 +4627,11 @@
"integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=",
"dev": true
},
"delegate": {
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/delegate/-/delegate-3.2.0.tgz",
"integrity": "sha512-IofjkYBZaZivn0V8nnsMJGBr4jVLxHDheKSW88PyxS5QC4Vo9ZbZVvhzlSxY87fVq3STR6r+4cGepyHkcWOQSw=="
},
"delegates": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz",
@ -5733,6 +5827,14 @@
"minimatch": "~3.0.2"
}
},
"good-listener": {
"version": "1.2.2",
"resolved": "https://registry.npmjs.org/good-listener/-/good-listener-1.2.2.tgz",
"integrity": "sha1-1TswzfkxPf+33JoNR3CWqm0UXFA=",
"requires": {
"delegate": "^3.1.2"
}
},
"graceful-fs": {
"version": "4.2.4",
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz",
@ -10043,6 +10145,11 @@
}
}
},
"select": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/select/-/select-1.1.2.tgz",
"integrity": "sha1-DnNQrN7ICxEIUoeG7B1EGNEbOW0="
},
"select-hose": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/select-hose/-/select-hose-2.0.0.tgz",
@ -11078,6 +11185,11 @@
"integrity": "sha1-QFQRqOfmM5/mTbmiNN4R3DHgK9Q=",
"dev": true
},
"tiny-emitter": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/tiny-emitter/-/tiny-emitter-2.1.0.tgz",
"integrity": "sha512-NB6Dk1A9xgQPMoGqC5CVXn123gWyte215ONT5Pp5a0yt4nlEoO1ZWeCwpncaekPHXO60i47ihFnZPiRPjRMq4Q=="
},
"to-arraybuffer": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz",
@ -11612,87 +11724,6 @@
}
}
},
"vue-loader-v16": {
"version": "npm:vue-loader@16.8.3",
"resolved": "https://registry.npmjs.org/vue-loader/-/vue-loader-16.8.3.tgz",
"integrity": "sha512-7vKN45IxsKxe5GcVCbc2qFU5aWzyiLrYJyUuMz4BQLKctCj/fmCa0w6fGiiQ2cLFetNcek1ppGJQDCup0c1hpA==",
"dev": true,
"optional": true,
"requires": {
"chalk": "^4.1.0",
"hash-sum": "^2.0.0",
"loader-utils": "^2.0.0"
},
"dependencies": {
"ansi-styles": {
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
"dev": true,
"optional": true,
"requires": {
"color-convert": "^2.0.1"
}
},
"chalk": {
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
"integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
"dev": true,
"optional": true,
"requires": {
"ansi-styles": "^4.1.0",
"supports-color": "^7.1.0"
}
},
"color-convert": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
"dev": true,
"optional": true,
"requires": {
"color-name": "~1.1.4"
}
},
"color-name": {
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
"dev": true,
"optional": true
},
"has-flag": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
"dev": true,
"optional": true
},
"loader-utils": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.2.tgz",
"integrity": "sha512-TM57VeHptv569d/GKh6TAYdzKblwDNiumOdkFnejjD0XwTH87K90w3O7AiJRqdQoXygvi1VQTJTLGhJl7WqA7A==",
"dev": true,
"optional": true,
"requires": {
"big.js": "^5.2.2",
"emojis-list": "^3.0.0",
"json5": "^2.1.2"
}
},
"supports-color": {
"version": "7.2.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
"integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
"dev": true,
"optional": true,
"requires": {
"has-flag": "^4.0.0"
}
}
}
},
"vue-router": {
"version": "3.5.3",
"resolved": "https://registry.npmjs.org/vue-router/-/vue-router-3.5.3.tgz",

@ -9,6 +9,7 @@
},
"dependencies": {
"axios": "^0.19.2",
"clipboard": "^2.0.10",
"core-js": "^3.19.3",
"element-ui": "^2.15.6",
"jquery": "^3.6.0",

@ -1,3 +1,4 @@
import config from '@/config'
export default {
getProjectDetail: 'occupationlab/projectManage/getProjectDetail',
submit: 'python/python/submit',
@ -13,4 +14,9 @@ export default {
referenceDemoList: `nakadai/model/reference/demo/referenceDemoList`,
referenceFindById: `nakadai/model/reference/demo/findById`,
checkIsShowBySystemId: `nakadai/model/reference/checkIsShowBySystemId`,
fileUpload: `${config.host}nakadai/nakadai/oss/fileUpload`,
importData: `occupationlab/python/file/data/importData`,
lookOver: `occupationlab/python/file/data/lookOver`,
batchDeletion: `occupationlab/python/file/data/batchDeletion`,
myData: `occupationlab/python/file/data/myData`
}

@ -630,13 +630,6 @@ export default {
/deep/.el-collapse-item__arrow {
margin: 0 5px 0 0;
}
/deep/.el-icon-arrow-right:before {
padding: 1px;
margin-left: 10px;
font-size: 12px;
color: #fff;
border-radius: 50%;
}
/deep/.el-tabs__item {
font-size: 16px;
}

@ -4,7 +4,7 @@ const isHh = location.host.includes('10.196.131.73') //是否是河海版本
const isBeta = process.env.NODE_ENV === 'development' || location.host.includes('39.108.250.202') //是否是职站测试
let host = location.origin + ':9000/'
if (process.env.NODE_ENV === 'development') host = 'http://39.108.250.202:9000'
if (process.env.NODE_ENV === 'development') host = 'http://192.168.31.151:9000/'
const systemId = util.getCookie('systemId')
/**
* python8个系统的id和名称

@ -11,17 +11,10 @@ const routes = [{
},
},
{
path: '/testPanel',
component: resolve => require(['../components/TestPanel.vue'], resolve),
path: '/data',
component: resolve => require(['../views/Data'], resolve),
meta: {
title: '平板'
},
},
{
path: '/codemirror',
component: resolve => require(['../components/codemirror.vue'], resolve),
meta: {
title: '编辑器'
title: '我的数据'
},
}
];

@ -18,8 +18,7 @@ $--font-path: '~element-ui/lib/theme-chalk/fonts';
color: #333 !important;
background-color: $--color-primary;
}
.select .el-select__caret:before,
.el-icon-arrow-right:before {
.select .el-select__caret:before {
background-color: $--color-primary;
}
.el-icon-s-ticket:before {

@ -19,7 +19,7 @@ $--font-path: '~element-ui/lib/theme-chalk/fonts';
color: #fff !important;
background-color: $--color-primary;
}
.select .el-select__caret:before, .el-icon-arrow-right:before {
.select .el-select__caret:before {
background-color: $--color-primary;
}
.el-icon-s-ticket:before {

@ -19,7 +19,7 @@ $--font-path: '~element-ui/lib/theme-chalk/fonts';
color: #fff !important;
background-color: $--color-primary;
}
.select .el-select__caret:before, .el-icon-arrow-right:before {
.select .el-select__caret:before {
background-color: $--color-primary;
}
.el-icon-s-ticket:before {

@ -19,7 +19,7 @@ $--font-path: '~element-ui/lib/theme-chalk/fonts';
color: #fff !important;
background-color: $--color-primary;
}
.select .el-select__caret:before, .el-icon-arrow-right:before {
.select .el-select__caret:before {
background-color: $--color-primary;
}
.el-icon-s-ticket:before {

@ -19,7 +19,7 @@ $--font-path: '~element-ui/lib/theme-chalk/fonts';
color: #fff !important;
background-color: $--color-primary;
}
.select .el-select__caret:before, .el-icon-arrow-right:before {
.select .el-select__caret:before {
background-color: $--color-primary;
}
.el-icon-s-ticket:before {

@ -19,7 +19,7 @@ $--font-path: '~element-ui/lib/theme-chalk/fonts';
color: #fff !important;
background-color: $--color-primary;
}
.select .el-select__caret:before, .el-icon-arrow-right:before {
.select .el-select__caret:before {
background-color: $--color-primary;
}
.el-icon-s-ticket:before {

@ -19,7 +19,7 @@ $--font-path: '~element-ui/lib/theme-chalk/fonts';
color: #fff !important;
background-color: $--color-primary;
}
.select .el-select__caret:before, .el-icon-arrow-right:before {
.select .el-select__caret:before {
background-color: $--color-primary;
}
.el-icon-s-ticket:before {

@ -19,7 +19,7 @@ $--font-path: '~element-ui/lib/theme-chalk/fonts';
color: #fff !important;
background-color: $--color-primary;
}
.select .el-select__caret:before, .el-icon-arrow-right:before {
.select .el-select__caret:before {
background-color: $--color-primary;
}
.el-icon-s-ticket:before {

@ -0,0 +1,32 @@
import Vue from 'vue'
import Clipboard from 'clipboard'
function clipboardSuccess(message = 'Copy successfully') {
Vue.prototype.$message({
message,
type: 'success',
duration: 1500
})
}
function clipboardError() {
Vue.prototype.$message({
message: 'Copy failed',
type: 'error'
})
}
export default function handleClipboard(text, event, message) {
const clipboard = new Clipboard(event.target, {
text: () => text
})
clipboard.on('success', () => {
clipboardSuccess(message)
clipboard.destroy()
})
clipboard.on('error', () => {
clipboardError()
clipboard.destroy()
})
clipboard.onClick(event)
}

@ -39,6 +39,11 @@ export default {
}
return fmt
},
// 传入文件后缀判断是否是视频
isVideo(ext) {
if ("mp4,3gp,mov,m4v,avi,dat,mkv,flv,vob,rmvb,rm,qlv".includes(ext)) return true;
return false;
},
// 下载文件
downloadFile(fileName,url) {
var x = new XMLHttpRequest()

@ -0,0 +1,213 @@
<template>
<div class="wrap">
<div class="inner">
<div class="tool">
<el-input style="width: 250px" placeholder="请输入文件名称" v-model="keyword" suffix-icon="el-icon-search" clearable size="small"></el-input>
<div class="action">
<el-upload :headers="{token}" :action="api.fileUpload" name="file" :limit="1" :show-file-list="false" :before-upload="beforeImport" :on-success="successImport">
<el-button type="primary" size="small">导入数据</el-button>
</el-upload>
<el-button style="margin-left: 10px;" type="danger" size="small" @click="delAll">批量删除</el-button>
</div>
</div>
<el-table :data="list" class="table" ref="table" stripe header-align="center" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="80" align="center"></el-table-column>
<el-table-column type="index" label="序号" width="55" align="center"></el-table-column>
<el-table-column prop="fileName" label="文件名称" align="center"></el-table-column>
<el-table-column prop="createTime" label="导入时间" align="center"></el-table-column>
<el-table-column prop="fileSize" label="文件大小" width="120" align="center"></el-table-column>
<el-table-column prop="fileFormat" label="格式" width="100" align="center"></el-table-column>
<el-table-column label="文件路径" align="center">
<template slot-scope="scope">
{{ scope.row.ossFileName }}
<i class="el-icon-document-copy copy" @click="copy($event, scope.row)"></i>
</template>
</el-table-column>
<el-table-column width="300" label="操作" align="center">
<template slot-scope="scope">
<el-button type="text" @click="show(scope.row)">查看</el-button>
<el-button type="text" @click="download(scope.row)">下载</el-button>
<el-button type="text" @click="del(scope.row)">删除</el-button>
</template>
</el-table-column>
</el-table>
<div class="pagination">
<el-pagination background layout="total,prev, pager, next" :current-page="page" @current-change="handleCurrentChange" :total="total"></el-pagination>
</div>
</div>
</div>
</template>
<script>
import util from '@/util'
import clipboard from '@/util/clipboard'
export default {
data() {
return {
token: util.getCookie('token'),
list: [],
multipleSelection: [],
keyword: '',
page: 1,
pageSize: 10,
total: 0
};
},
watch: {
keyword: function(val) {
clearTimeout(this.searchTimer)
this.searchTimer = setTimeout(() => {
this.initData()
},500)
}
},
mounted(){
this.getData()
},
methods: {
//
getData() {
this.$post(`${this.api.myData}?fileName=${this.keyword}&pageNum=${this.page}&pageSize=${this.pageSize}`).then(res => {
const { data } = res
this.list = data.records
this.total = data.total
}).catch(res => {})
},
//
initData() {
this.page = 1
this.getData()
},
//
beforeImport(file) {
const { size, name } = file
console.log(size, name)
if (util.isVideo(name.substring(name.lastIndexOf('.') + 1))) {
this.$message.error('不支持上传视频,请选择其他文件!')
return false
}
if (size / 1000000 > 10) {
this.$message.error('请上传10M以内的文件!')
return false
}
},
//
successImport(res) {
const file = res.filesResult
const name = file.originalFileName
this.$post(this.api.importData, {
fileFormat: file.fileType,
fileName: name.substring(0, name.lastIndexOf('.')),
filePath: file.fileUrl,
fileSize: file.fileSize,
ossFileName: file.ossFileName
}).then(res => {
this.$message.success('导入成功')
this.getData()
}).catch(res => {})
},
//
delAll() {
if(this.multipleSelection.length){
const newArr = this.multipleSelection
const delList = newArr.map(item => {
return `ids=${item.id}`
})
this.$confirm(`此批量删除操作不可逆,是否确认删除?`, '提示', {
type: 'warning'
}).then(() => {
this.$post(`${this.api.batchDeletion}?${delList.join('&')}`).then(res => {
this.$refs.table.clearSelection()
this.$message.success('删除成功')
this.getData()
}).catch(res => {})
}).catch(() => {})
}else{
this.$message.error('请先选择数据 !')
}
},
//
copy(e, row) {
clipboard(row.filePath, e, '文件路径已复制!')
},
//
show(row) {
window.open(row.filePath)
},
//
download(row) {
util.downloadFile(row.fileName + '.' + row.fileFormat, row.filePath)
},
//
del(row) {
this.$confirm('此删除操作不可逆,是否确认删除选中项?', '提示', {
type: 'warning'
}).then(() => {
this.$post(`${this.api.batchDeletion}?ids=${row.id}`).then(res => {
this.$message.success('删除成功')
this.getData()
}).catch(res => {})
}).catch(() => {})
},
handleCurrentChange(val) {
this.page = val
this.getData()
},
handleSelectionChange(val) {
this.multipleSelection = val
}
}
};
</script>
<style lang="scss" scoped>
.wrap {
padding: 20px;
background-color: #f3f6fa;
.inner {
padding: 15px;
background-color: #fff;
border-radius: 4px;
}
.tool {
display: flex;
justify-content: space-between;
margin-bottom: 20px;
}
.action {
display: inline-flex;
}
/deep/.el-table {
.el-table__cell {
padding: 10px 0;
}
th.el-table__cell {
& > .cell {
color: #fff;
}
}
}
.copy {
margin-left: 5px;
cursor: pointer;
}
.pagination {
margin: 20px 0;
text-align: center;
button,.number,.more,.el-input__inner{
min-width: 32px !important;
height: 32px !important;
line-height: 32px;
color: #333 !important;
background-color: transparent !important;
border: 1px solid #ccc !important;
border-radius: 2px !important;
}
button i{
color: #333;
}
.active{
color: #fff !important;
}
}
}
</style>

@ -6,11 +6,14 @@
<el-button class="back btn" type="primary" @click="back">退出实验</el-button>
</div>
<div class="top">
<div class="language">
<p v-if="$config.isHh" style="font-size: 18px">{{$config.title}}</p>
<p>编程语言</p>
<el-input placeholder="请输入内容" v-model="language" :disabled="true"></el-input>
</div>
<el-button type="primary" size="small" @click="toData">我的数据</el-button>
</div>
<div class="tab">
<el-tabs v-model="curTab" type="card" @tab-click="judChange">
@ -115,6 +118,10 @@ export default {
this.modelIsShow = !res.isShow // 0 1
}).catch(res => {})
},
//
toData() {
this.$router.push('/data')
},
// 退
autoLogout(){
let lastTime = new Date().getTime()
@ -188,17 +195,22 @@ export default {
border-radius: 0;
}
}
/deep/.language {
/deep/.top {
display: flex;
justify-content: space-between;
align-items: center;
height: 60px;
padding: 0 15px;
line-height: 60px;
.language {
display: inline-flex;
}
p {
font-size: 16px;
margin-left: 15px;
margin-right: 15px;
}
.el-input {
width: 10%;
width: 200px;
}
.el-input.is-disabled .el-input__inner {
border-radius: 30px;

Loading…
Cancel
Save