Browse Source

修改操作员

master
maochaoying 2 years ago
parent
commit
12ba8d1d4a
  1. 8
      src/api/task.js
  2. 26
      src/components/Nuclear.vue
  3. 93
      src/components/Task.vue
  4. 15
      src/components/User.vue
  5. 32
      src/pages/index.vue
  6. 4
      src/style.scss

8
src/api/task.js

@ -28,3 +28,11 @@ export const delTaskApi = taskId => {
method: 'POST', method: 'POST',
}) })
} }
export const updateOperByTaskIdApi = (taskId, data) => {
return request({
url: `/task/update/${taskId}`,
method: 'POST',
data,
})
}

26
src/components/Nuclear.vue

@ -50,7 +50,6 @@
<t-table <t-table
bordered bordered
hover hover
stripe
resizable resizable
tableLayout="auto" tableLayout="auto"
row-key="id" row-key="id"
@ -125,7 +124,6 @@
<t-table <t-table
bordered bordered
hover hover
stripe
resizable resizable
tableLayout="auto" tableLayout="auto"
row-key="id" row-key="id"
@ -276,6 +274,12 @@ export default {
} }
}, },
async delStation(id) { async delStation(id) {
const confirmDia = this.$dialog.confirm({
header: '删除',
body: '你确定要删除该项吗?如果当前核电站下拥有反应堆信息,请先删除反应堆记录信息。',
confirmBtn: '确定',
cancelBtn: '取消',
onConfirm: async ({ e }) => {
const res = await delStationApi(id) const res = await delStationApi(id)
if (res?.code == 200) { if (res?.code == 200) {
if (res?.data?.result) { if (res?.data?.result) {
@ -285,8 +289,20 @@ export default {
} else { } else {
this.$message.error(res?.msg) this.$message.error(res?.msg)
} }
confirmDia.destroy()
},
onClose: ({ e, trigger }) => {
confirmDia.hide()
},
})
}, },
async delCore(id) { async delCore(id) {
const confirmDia = this.$dialog.confirm({
header: '删除',
body: '你确定要删除该项吗?',
confirmBtn: '确定',
cancelBtn: '取消',
onConfirm: async ({ e }) => {
const res = await delCoreApi(id) const res = await delCoreApi(id)
if (res?.code == 200) { if (res?.code == 200) {
if (res?.data?.result) { if (res?.data?.result) {
@ -294,6 +310,12 @@ export default {
this.getCoreList() this.getCoreList()
} }
} }
confirmDia.destroy()
},
onClose: ({ e, trigger }) => {
confirmDia.hide()
},
})
}, },
stationClose() { stationClose() {
this.stationVisible = false this.stationVisible = false

93
src/components/Task.vue

@ -28,6 +28,49 @@
:onClose="closeDelDialog" :onClose="closeDelDialog"
:cancelBtn="null" :cancelBtn="null"
/> />
<t-dialog
header="修改操作员"
:visible="updateOperVisible"
:footer="false"
:onClose="operClose"
>
<template v-slot:body>
<t-form
:data="formData"
:rules="pubRules"
ref="form"
@reset="onReset"
@submit="onSubmit"
>
<t-form-item label="操作员" name="operatorId">
<t-select
v-model="formData.operatorId"
class="demo-select-base"
clearable
filterable
placeholder="请选择分配的操作员"
>
<t-option
v-for="item in userList"
:value="item.username"
:label="item.nickname"
:key="item.id"
>
{{ item.nickname }}
</t-option>
</t-select>
</t-form-item>
<t-form-item>
<t-space size="10px">
<t-button theme="primary" type="submit">提交</t-button>
<t-button theme="default" variant="base" type="reset"
>重置</t-button
>
</t-space>
</t-form-item>
</t-form>
</template>
</t-dialog>
</t-card> </t-card>
<t-drawer <t-drawer
size="medium" size="medium"
@ -56,8 +99,14 @@
</template> </template>
<script lang="jsx"> <script lang="jsx">
import { taskListApi, delExcelByTaskIdApi, delTaskApi } from '@/api/task'
import {
taskListApi,
delExcelByTaskIdApi,
delTaskApi,
updateOperByTaskIdApi,
} from '@/api/task'
import { useAccountStore, useTaskStore, useImageStore } from '@/store' import { useAccountStore, useTaskStore, useImageStore } from '@/store'
import { allOperatorApi } from '@/api/publish'
import moment from 'moment' import moment from 'moment'
import Cookie from '@/utils/cookie' import Cookie from '@/utils/cookie'
const accountStore = useAccountStore() const accountStore = useAccountStore()
@ -66,6 +115,12 @@ const imageStore = useImageStore()
export default { export default {
data() { data() {
return { return {
userList: [],
formData: { operatorId: '' },
pubRules: {
operatorId: [{ required: true, message: '请选择要分配的操作员' }],
},
updateOperVisible: false,
operTaskId: null, operTaskId: null,
deleteDialogIndex: false, deleteDialogIndex: false,
delVisible: false, delVisible: false,
@ -234,7 +289,11 @@ export default {
> >
上传Excel 上传Excel
</t-button> </t-button>
<t-button variant="text" theme="primary">
<t-button
variant="text"
theme="primary"
onClick={() => this.updateOper(row.id)}
>
修改操作员 修改操作员
</t-button> </t-button>
<t-button <t-button
@ -282,6 +341,35 @@ export default {
}, },
}, },
methods: { methods: {
async getAllOperator() {
const res = await allOperatorApi()
if (res?.code == 200) {
this.userList = res?.data
}
},
onReset() {
this.$message.success('重置成功')
},
async onSubmit({ validateResult, firstError }) {
if (validateResult === true) {
const res = await updateOperByTaskIdApi(this.operTaskId, this.formData)
if (res?.code == 200) {
this.getTaskList()
this.updateOperVisible = false
this.operTaskId = null
this.$message.success('修改成功')
}
} else {
this.$message.warning(firstError)
}
},
updateOper(taskId) {
this.operTaskId = taskId
this.updateOperVisible = true
},
operClose() {
this.updateOperVisible = false
},
onConfirmDelete() { onConfirmDelete() {
if (this.deleteDialogIndex) { if (this.deleteDialogIndex) {
this.delTask(this.operTaskId) this.delTask(this.operTaskId)
@ -371,6 +459,7 @@ export default {
}, },
mounted() { mounted() {
this.getTaskList() this.getTaskList()
this.getAllOperator()
}, },
} }
</script> </script>

15
src/components/User.vue

@ -71,7 +71,6 @@
<t-table <t-table
bordered bordered
hover hover
stripe
tableLayout="auto" tableLayout="auto"
row-key="id" row-key="id"
:data="tableData" :data="tableData"
@ -173,7 +172,7 @@ export default {
colKey: 'createTime', colKey: 'createTime',
ellipsis: true, ellipsis: true,
cell: (h, { row }) => { cell: (h, { row }) => {
return moment(row.createTime).format('YYYY-MM-DD')
return moment(row.createTime).format('YYYY-MM-DD HH:mm')
}, },
}, },
{ {
@ -201,6 +200,12 @@ export default {
this.$message.success('重置成功') this.$message.success('重置成功')
}, },
async delUser(username) { async delUser(username) {
const confirmDia = this.$dialog.confirm({
header: '删除用户',
body: '你确定要删除该用户吗?',
confirmBtn: '确定',
cancelBtn: '取消',
onConfirm: async ({ e }) => {
const res = await deleteUserApi(username) const res = await deleteUserApi(username)
if (res?.code == 200) { if (res?.code == 200) {
if (res?.data?.result) { if (res?.data?.result) {
@ -210,6 +215,12 @@ export default {
} else { } else {
this.$message.error(res?.msg) this.$message.error(res?.msg)
} }
confirmDia.destroy()
},
onClose: ({ e, trigger }) => {
confirmDia.hide()
},
})
}, },
async onSubmit({ validateResult, firstError }) { async onSubmit({ validateResult, firstError }) {
if (validateResult === true) { if (validateResult === true) {

32
src/pages/index.vue

@ -66,7 +66,7 @@
</div> </div>
<div <div
class="menu" class="menu"
@click="accountStore.changePage(2)"
@click="accountStore.changePage(3)"
v-if="role == 'ROLE_ADMIN'" v-if="role == 'ROLE_ADMIN'"
> >
<svg <svg
@ -74,24 +74,24 @@
xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xlink="http://www.w3.org/1999/xlink"
fill="none" fill="none"
version="1.1" version="1.1"
width="30.133363723754883"
height="25.885509490966797"
viewBox="0 0 30.133363723754883 25.885509490966797"
width="26.02972984313965"
height="26.029712677001953"
viewBox="0 0 26.02972984313965 26.029712677001953"
> >
<g> <g>
<path <path
d="M2.16892,25.8855L24.069,25.8855C25.1625,25.8855,26.2349,24.7739,26.2319,23.6413L26.2439,8.84358L26.3523,8.73556L26.2955,8.67851L29.7384,5.03974C30.2655,4.48244,30.2655,3.58776,29.7354,3.04252L27.2441,0.418722C26.9911,0.153631,26.6296,0,26.253,0C25.8765,0,25.515,0.153631,25.2619,0.418722L20.1921,5.74162L2.16591,5.76271C0.966979,5.76271,0,6.99177,0,8.00996L0,23.6383C0,24.2076,0.250029,24.783,0.686826,25.2198C1.11157,25.6445,1.65079,25.8855,2.16892,25.8855ZM25.045,8.33916L25.0451,8.24794L28.8648,4.20229C28.9491,4.11192,28.9521,3.95527,28.8708,3.87394L28.8648,3.86792L26.3705,1.24412C26.3313,1.20797,26.2741,1.20496,26.253,1.20496C26.2289,1.20496,26.1747,1.20797,26.1355,1.25014L21.3025,6.32475L21.3336,6.35593L14.7003,12.9952C14.6732,13.0193,14.6582,13.0495,14.6491,13.0796L14.6401,13.1127L13.5508,16.25C14.7659,16.2318,15.9935,16.1717,16.5169,16.0436C16.7036,15.9984,16.8633,15.9593,17.0019,15.9262C17.276,15.8599,17.5381,15.7966,17.5863,15.7665Q17.5923,15.7635,17.6043,15.7514L17.6134,15.7424L25.045,8.33916ZM19.0383,6.94821L13.8508,12.1427C13.6701,12.3205,13.5436,12.5404,13.4833,12.7814L12.2743,16.2546L12.2634,16.2545L12.2423,16.2545L12.242,16.3472L11.9922,17.065L12.24,17.1509L12.2393,17.4595L12.2513,17.4595C12.3688,17.4625,12.5224,17.4625,12.7062,17.4625C13.7997,17.4625,15.9174,17.4354,16.806,17.2185C16.9898,17.1703,17.1495,17.1341,17.282,17.101C17.9146,16.9504,18.1797,16.8841,18.4629,16.5949L25.0436,10.0392L25.033,23.6353C25.033,24.1293,24.4606,24.6775,24.072,24.6775L2.17194,24.6775C1.79237,24.6775,1.21098,24.2106,1.21098,23.6353L1.21098,8.00695C1.21098,7.58521,1.71706,6.96466,2.17194,6.96466L19.0383,6.94821ZM20.4996,19.493L5.75994,19.493C5.53703,19.493,5.35327,19.3093,5.35327,19.0864L5.35327,18.6948C5.35327,18.4718,5.53703,18.2881,5.75994,18.2881L20.4996,18.2881C20.7225,18.2881,20.9063,18.4718,20.9063,18.6948L20.9063,19.0864C20.9063,19.3093,20.7225,19.493,20.4996,19.493Z"
d="M17.867,6.55125C17.867,2.94281,14.9242,0,11.2808,0C7.63729,0,4.69448,2.94281,4.69448,6.55125C4.69448,8.54815,5.60535,10.44,7.21688,11.7012L7.63729,12.0165C7.67232,12.0515,7.67232,12.0865,7.67232,12.1216C7.67232,12.1566,7.63729,12.1916,7.60225,12.1916L7.11178,12.4018C2.80267,14.1185,0,18.1823,0,22.7717L0,25.0839C0,25.5043,0.350334,25.8196,0.770735,25.8196L13.1726,25.8196C12.8222,25.3642,12.5069,24.8387,12.2617,24.3132L1.64657,24.3132C1.5765,24.3132,1.54147,24.2782,1.54147,24.2081L1.54147,22.7367C1.54147,17.7269,5.32508,13.593,10.3349,13.1025L11.4209,13.1025C12.3668,13.0324,14.0484,12.7872,14.9242,12.0165L15.3446,11.7012C16.9562,10.44,17.867,8.54815,17.867,6.55125ZM11.2808,11.5961C8.47809,11.5961,6.20091,9.31889,6.20091,6.55125C6.20091,3.78361,8.47809,1.50644,11.2808,1.50644C14.0834,1.50644,16.3606,3.78361,16.3606,6.55125C16.3606,9.31889,14.0834,11.5961,11.2808,11.5961ZM25.8896,20.8798C25.8195,21.3352,25.5042,21.6505,25.1539,21.6505L25.1539,21.6856L25.0838,21.6856C24.243,21.6856,23.5424,22.3862,23.5424,23.227C23.5424,23.4022,23.5774,23.6124,23.6825,23.8226C23.8577,24.243,23.7526,24.7335,23.3672,24.9787L21.6506,25.9246C21.5104,25.9947,21.3703,26.0297,21.2302,26.0297C20.9499,26.0297,20.6346,25.9246,20.4594,25.7144C20.2842,25.5042,19.6536,24.9437,19.1982,24.9437C18.7428,24.9437,18.1472,25.4341,17.937,25.6794C17.6217,25.9947,17.1663,26.0998,16.7809,25.9246L15.0993,24.9787C14.7139,24.6984,14.5738,24.208,14.749,23.7876C14.784,23.6825,14.8891,23.4022,14.8891,23.192C14.8891,22.3512,14.1884,21.6505,13.3476,21.6505L13.2776,21.6505C12.8922,21.6505,12.6119,21.3703,12.5068,20.8798Q12.3667,20.1441,12.3667,19.5485Q12.3667,18.953,12.5068,18.2173C12.5769,17.7618,12.8922,17.4465,13.2425,17.4465L13.3126,17.4465C14.1534,17.4465,14.8541,16.7459,14.8541,15.9051Q14.8541,15.6248,14.7139,15.3095C14.5388,14.8891,14.6789,14.3986,15.0292,14.1534L16.7809,13.1724L16.8159,13.1724C17.2013,13.0323,17.6567,13.1024,17.972,13.4177C18.1472,13.5928,18.7428,14.1183,19.1982,14.1183C19.6186,14.1183,20.2142,13.6279,20.4244,13.4177C20.7397,13.1024,21.1951,13.0323,21.5805,13.1724L23.2971,14.1183C23.6825,14.3986,23.8226,14.8891,23.6475,15.3095C23.6475,15.3445,23.5073,15.6248,23.5073,15.9051C23.5073,16.7459,24.208,17.4465,25.0488,17.4465L25.1189,17.4465C25.5042,17.4465,25.7845,17.7618,25.8896,18.2173C25.9246,18.3224,26.0297,19.023,26.0297,19.5485C26.0297,19.7587,25.9947,20.1791,25.8896,20.8448L25.8896,20.8798ZM24.8036,20.5295L24.8036,20.4594C24.8386,20.2492,24.8736,19.8638,24.8736,19.5485C24.8736,19.2332,24.8386,18.8479,24.8036,18.6377L24.8036,18.5676L24.7335,18.5676C23.4022,18.3924,22.3863,17.2714,22.3863,15.9051C22.3863,15.6248,22.4213,15.3796,22.5264,15.0993L22.5614,15.0292L21.2302,14.2935L21.1951,14.3285C21.09,14.4336,20.9149,14.5738,20.7047,14.7139C20.1792,15.0642,19.6887,15.2394,19.2333,15.2394C18.7778,15.2394,18.2873,15.0292,17.7618,14.6789C17.5166,14.5037,17.3414,14.3285,17.2714,14.2585L17.2363,14.2234L15.835,14.9942L15.87,15.1343C15.9401,15.3095,16.0102,15.6248,16.0102,15.9401C16.0102,17.2714,14.9942,18.4275,13.6629,18.6026L13.5929,18.6026L13.5929,18.6727C13.5578,19.023,13.5228,19.3383,13.5228,19.5836C13.5228,19.8989,13.5578,20.2142,13.5929,20.4944L13.5929,20.5645L13.6629,20.5645C14.9942,20.7397,16.0102,21.8607,16.0102,23.227C16.0102,23.5423,15.9401,23.8226,15.87,24.0328L15.835,24.1029L17.1663,24.7685L17.2013,24.7335C17.3414,24.5933,17.5166,24.4532,17.6918,24.3131C18.2173,23.9627,18.7428,23.7525,19.1982,23.7525C19.6537,23.7525,20.1792,23.9627,20.7047,24.3481C20.9499,24.5233,21.1251,24.6984,21.1951,24.7685L21.2302,24.8035L22.5614,24.0678L22.5264,23.9978C22.4563,23.8226,22.3863,23.5073,22.3863,23.192C22.3863,21.8607,23.4022,20.7046,24.7335,20.5295L24.8036,20.5295ZM19.1632,17.0612C17.7969,17.0612,16.6759,18.1822,16.6759,19.5485C16.6759,20.9148,17.7969,22.0359,19.1632,22.0359C20.5295,22.0359,21.6506,20.9148,21.6506,19.5485C21.6506,18.1822,20.5295,17.0612,19.1632,17.0612ZM20.1091,20.4944C19.8639,20.7397,19.5136,20.8798,19.1632,20.8798C18.4275,20.8798,17.832,20.2842,17.832,19.5485C17.867,18.8128,18.4626,18.2523,19.1632,18.2523C19.8639,18.2523,20.4595,18.8128,20.4945,19.5485C20.4945,19.8989,20.3544,20.2492,20.1091,20.4944Z"
fill-rule="evenodd" fill-rule="evenodd"
fill="#FFFFFF" fill="#FFFFFF"
fill-opacity="1" fill-opacity="1"
/> />
</g> </g>
</svg> </svg>
<p class="title">发布任务</p>
<p class="title">用户管理</p>
</div> </div>
<div <div
class="menu" class="menu"
@click="accountStore.changePage(3)"
@click="accountStore.changePage(2)"
v-if="role == 'ROLE_ADMIN'" v-if="role == 'ROLE_ADMIN'"
> >
<svg <svg
@ -99,22 +99,26 @@
xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xlink="http://www.w3.org/1999/xlink"
fill="none" fill="none"
version="1.1" version="1.1"
width="26.02972984313965"
height="26.029712677001953"
viewBox="0 0 26.02972984313965 26.029712677001953"
width="30.133363723754883"
height="25.885509490966797"
viewBox="0 0 30.133363723754883 25.885509490966797"
> >
<g> <g>
<path <path
d="M17.867,6.55125C17.867,2.94281,14.9242,0,11.2808,0C7.63729,0,4.69448,2.94281,4.69448,6.55125C4.69448,8.54815,5.60535,10.44,7.21688,11.7012L7.63729,12.0165C7.67232,12.0515,7.67232,12.0865,7.67232,12.1216C7.67232,12.1566,7.63729,12.1916,7.60225,12.1916L7.11178,12.4018C2.80267,14.1185,0,18.1823,0,22.7717L0,25.0839C0,25.5043,0.350334,25.8196,0.770735,25.8196L13.1726,25.8196C12.8222,25.3642,12.5069,24.8387,12.2617,24.3132L1.64657,24.3132C1.5765,24.3132,1.54147,24.2782,1.54147,24.2081L1.54147,22.7367C1.54147,17.7269,5.32508,13.593,10.3349,13.1025L11.4209,13.1025C12.3668,13.0324,14.0484,12.7872,14.9242,12.0165L15.3446,11.7012C16.9562,10.44,17.867,8.54815,17.867,6.55125ZM11.2808,11.5961C8.47809,11.5961,6.20091,9.31889,6.20091,6.55125C6.20091,3.78361,8.47809,1.50644,11.2808,1.50644C14.0834,1.50644,16.3606,3.78361,16.3606,6.55125C16.3606,9.31889,14.0834,11.5961,11.2808,11.5961ZM25.8896,20.8798C25.8195,21.3352,25.5042,21.6505,25.1539,21.6505L25.1539,21.6856L25.0838,21.6856C24.243,21.6856,23.5424,22.3862,23.5424,23.227C23.5424,23.4022,23.5774,23.6124,23.6825,23.8226C23.8577,24.243,23.7526,24.7335,23.3672,24.9787L21.6506,25.9246C21.5104,25.9947,21.3703,26.0297,21.2302,26.0297C20.9499,26.0297,20.6346,25.9246,20.4594,25.7144C20.2842,25.5042,19.6536,24.9437,19.1982,24.9437C18.7428,24.9437,18.1472,25.4341,17.937,25.6794C17.6217,25.9947,17.1663,26.0998,16.7809,25.9246L15.0993,24.9787C14.7139,24.6984,14.5738,24.208,14.749,23.7876C14.784,23.6825,14.8891,23.4022,14.8891,23.192C14.8891,22.3512,14.1884,21.6505,13.3476,21.6505L13.2776,21.6505C12.8922,21.6505,12.6119,21.3703,12.5068,20.8798Q12.3667,20.1441,12.3667,19.5485Q12.3667,18.953,12.5068,18.2173C12.5769,17.7618,12.8922,17.4465,13.2425,17.4465L13.3126,17.4465C14.1534,17.4465,14.8541,16.7459,14.8541,15.9051Q14.8541,15.6248,14.7139,15.3095C14.5388,14.8891,14.6789,14.3986,15.0292,14.1534L16.7809,13.1724L16.8159,13.1724C17.2013,13.0323,17.6567,13.1024,17.972,13.4177C18.1472,13.5928,18.7428,14.1183,19.1982,14.1183C19.6186,14.1183,20.2142,13.6279,20.4244,13.4177C20.7397,13.1024,21.1951,13.0323,21.5805,13.1724L23.2971,14.1183C23.6825,14.3986,23.8226,14.8891,23.6475,15.3095C23.6475,15.3445,23.5073,15.6248,23.5073,15.9051C23.5073,16.7459,24.208,17.4465,25.0488,17.4465L25.1189,17.4465C25.5042,17.4465,25.7845,17.7618,25.8896,18.2173C25.9246,18.3224,26.0297,19.023,26.0297,19.5485C26.0297,19.7587,25.9947,20.1791,25.8896,20.8448L25.8896,20.8798ZM24.8036,20.5295L24.8036,20.4594C24.8386,20.2492,24.8736,19.8638,24.8736,19.5485C24.8736,19.2332,24.8386,18.8479,24.8036,18.6377L24.8036,18.5676L24.7335,18.5676C23.4022,18.3924,22.3863,17.2714,22.3863,15.9051C22.3863,15.6248,22.4213,15.3796,22.5264,15.0993L22.5614,15.0292L21.2302,14.2935L21.1951,14.3285C21.09,14.4336,20.9149,14.5738,20.7047,14.7139C20.1792,15.0642,19.6887,15.2394,19.2333,15.2394C18.7778,15.2394,18.2873,15.0292,17.7618,14.6789C17.5166,14.5037,17.3414,14.3285,17.2714,14.2585L17.2363,14.2234L15.835,14.9942L15.87,15.1343C15.9401,15.3095,16.0102,15.6248,16.0102,15.9401C16.0102,17.2714,14.9942,18.4275,13.6629,18.6026L13.5929,18.6026L13.5929,18.6727C13.5578,19.023,13.5228,19.3383,13.5228,19.5836C13.5228,19.8989,13.5578,20.2142,13.5929,20.4944L13.5929,20.5645L13.6629,20.5645C14.9942,20.7397,16.0102,21.8607,16.0102,23.227C16.0102,23.5423,15.9401,23.8226,15.87,24.0328L15.835,24.1029L17.1663,24.7685L17.2013,24.7335C17.3414,24.5933,17.5166,24.4532,17.6918,24.3131C18.2173,23.9627,18.7428,23.7525,19.1982,23.7525C19.6537,23.7525,20.1792,23.9627,20.7047,24.3481C20.9499,24.5233,21.1251,24.6984,21.1951,24.7685L21.2302,24.8035L22.5614,24.0678L22.5264,23.9978C22.4563,23.8226,22.3863,23.5073,22.3863,23.192C22.3863,21.8607,23.4022,20.7046,24.7335,20.5295L24.8036,20.5295ZM19.1632,17.0612C17.7969,17.0612,16.6759,18.1822,16.6759,19.5485C16.6759,20.9148,17.7969,22.0359,19.1632,22.0359C20.5295,22.0359,21.6506,20.9148,21.6506,19.5485C21.6506,18.1822,20.5295,17.0612,19.1632,17.0612ZM20.1091,20.4944C19.8639,20.7397,19.5136,20.8798,19.1632,20.8798C18.4275,20.8798,17.832,20.2842,17.832,19.5485C17.867,18.8128,18.4626,18.2523,19.1632,18.2523C19.8639,18.2523,20.4595,18.8128,20.4945,19.5485C20.4945,19.8989,20.3544,20.2492,20.1091,20.4944Z"
d="M2.16892,25.8855L24.069,25.8855C25.1625,25.8855,26.2349,24.7739,26.2319,23.6413L26.2439,8.84358L26.3523,8.73556L26.2955,8.67851L29.7384,5.03974C30.2655,4.48244,30.2655,3.58776,29.7354,3.04252L27.2441,0.418722C26.9911,0.153631,26.6296,0,26.253,0C25.8765,0,25.515,0.153631,25.2619,0.418722L20.1921,5.74162L2.16591,5.76271C0.966979,5.76271,0,6.99177,0,8.00996L0,23.6383C0,24.2076,0.250029,24.783,0.686826,25.2198C1.11157,25.6445,1.65079,25.8855,2.16892,25.8855ZM25.045,8.33916L25.0451,8.24794L28.8648,4.20229C28.9491,4.11192,28.9521,3.95527,28.8708,3.87394L28.8648,3.86792L26.3705,1.24412C26.3313,1.20797,26.2741,1.20496,26.253,1.20496C26.2289,1.20496,26.1747,1.20797,26.1355,1.25014L21.3025,6.32475L21.3336,6.35593L14.7003,12.9952C14.6732,13.0193,14.6582,13.0495,14.6491,13.0796L14.6401,13.1127L13.5508,16.25C14.7659,16.2318,15.9935,16.1717,16.5169,16.0436C16.7036,15.9984,16.8633,15.9593,17.0019,15.9262C17.276,15.8599,17.5381,15.7966,17.5863,15.7665Q17.5923,15.7635,17.6043,15.7514L17.6134,15.7424L25.045,8.33916ZM19.0383,6.94821L13.8508,12.1427C13.6701,12.3205,13.5436,12.5404,13.4833,12.7814L12.2743,16.2546L12.2634,16.2545L12.2423,16.2545L12.242,16.3472L11.9922,17.065L12.24,17.1509L12.2393,17.4595L12.2513,17.4595C12.3688,17.4625,12.5224,17.4625,12.7062,17.4625C13.7997,17.4625,15.9174,17.4354,16.806,17.2185C16.9898,17.1703,17.1495,17.1341,17.282,17.101C17.9146,16.9504,18.1797,16.8841,18.4629,16.5949L25.0436,10.0392L25.033,23.6353C25.033,24.1293,24.4606,24.6775,24.072,24.6775L2.17194,24.6775C1.79237,24.6775,1.21098,24.2106,1.21098,23.6353L1.21098,8.00695C1.21098,7.58521,1.71706,6.96466,2.17194,6.96466L19.0383,6.94821ZM20.4996,19.493L5.75994,19.493C5.53703,19.493,5.35327,19.3093,5.35327,19.0864L5.35327,18.6948C5.35327,18.4718,5.53703,18.2881,5.75994,18.2881L20.4996,18.2881C20.7225,18.2881,20.9063,18.4718,20.9063,18.6948L20.9063,19.0864C20.9063,19.3093,20.7225,19.493,20.4996,19.493Z"
fill-rule="evenodd" fill-rule="evenodd"
fill="#FFFFFF" fill="#FFFFFF"
fill-opacity="1" fill-opacity="1"
/> />
</g> </g>
</svg> </svg>
<p class="title">用户管理</p>
<p class="title">发布任务</p>
</div> </div>
<!-- <div class="menu" @click="accountStore.changePage(4)" v-if="role == 'ROLE_ADMIN'">
<div
class="menu"
@click="accountStore.changePage(4)"
v-if="role == 'ROLE_ADMIN'"
>
<svg <svg
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xlink="http://www.w3.org/1999/xlink"
@ -134,7 +138,7 @@
</g> </g>
</svg> </svg>
<p class="title">相机调试</p> <p class="title">相机调试</p>
</div> -->
</div>
<div <div
class="menu" class="menu"
@click="accountStore.changePage(5)" @click="accountStore.changePage(5)"

4
src/style.scss

@ -4,3 +4,7 @@ body {
-ms-user-select: none; -ms-user-select: none;
user-select: none; user-select: none;
} }
.t-table__th-cell-inner {
text-align: center;
}
Loading…
Cancel
Save