2024-03-26 11:18:19 +08:00
|
|
|
|
<template>
|
|
|
|
|
<div class="monitoring">
|
|
|
|
|
<header>
|
|
|
|
|
<div class="left">
|
|
|
|
|
<div class="search">
|
|
|
|
|
<div class="chunk">
|
|
|
|
|
<el-input placeholder="主数据名称" v-model="searchForm.mdmName"
|
2024-06-13 14:48:19 +08:00
|
|
|
|
@change="submitsearchForm"
|
|
|
|
|
>
|
2024-03-26 11:18:19 +08:00
|
|
|
|
<i slot="suffix" class="el-input__icon el-icon-search" @click="submitsearchForm"></i>
|
|
|
|
|
</el-input>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="chunk">
|
2024-06-03 09:07:06 +08:00
|
|
|
|
<el-select v-model="searchForm.mdmType" placeholder="主数据类型" clearable @input="submitsearchForm">
|
2024-03-26 11:18:19 +08:00
|
|
|
|
<el-option v-for="item in classOptions" :key="item.value" :label="item.label" :value="item.value">
|
|
|
|
|
</el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="right">
|
2024-06-13 14:48:19 +08:00
|
|
|
|
<!-- <el-button type="primary" icon="el-icon-plus" @click="addApp">新增</el-button>-->
|
|
|
|
|
<el-button type="primary" icon="el-icon-plus" @click="tableButtonHandle({},{type:'new'})">新增</el-button>
|
2024-03-26 11:18:19 +08:00
|
|
|
|
</div>
|
|
|
|
|
</header>
|
|
|
|
|
<main>
|
2024-06-13 14:48:19 +08:00
|
|
|
|
<div class="tableData">
|
|
|
|
|
<div class="tableChunk" v-for="(row,index) in tableData" :key="index">
|
|
|
|
|
<div class="topInfo">
|
|
|
|
|
<div class="left">
|
|
|
|
|
<div class="icon">
|
|
|
|
|
<template v-if="row.imgUrl">
|
|
|
|
|
<img :src="row.imgUrl" alt="">
|
|
|
|
|
</template>
|
|
|
|
|
<template v-else>
|
|
|
|
|
<img src="./images/icon.png" alt="">
|
|
|
|
|
</template>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="vision"></div>
|
2024-03-26 11:18:19 +08:00
|
|
|
|
</div>
|
2024-06-13 14:48:19 +08:00
|
|
|
|
<div class="tableInfo">
|
|
|
|
|
<div class="tableName">
|
|
|
|
|
<div class="name">{{ row.mdmName }}</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="tableType">档案</div>
|
|
|
|
|
<div class="tableContent">
|
|
|
|
|
{{ row.remark }}
|
|
|
|
|
</div>
|
2024-03-26 11:18:19 +08:00
|
|
|
|
</div>
|
2024-06-13 14:48:19 +08:00
|
|
|
|
<!-- 遮罩层(显示两按钮)-->
|
|
|
|
|
|
2024-03-26 11:18:19 +08:00
|
|
|
|
</div>
|
2024-06-13 14:48:19 +08:00
|
|
|
|
<div class="shade">
|
|
|
|
|
<div class="btnList">
|
|
|
|
|
<div class="setting" @click="tableButtonHandle(row,{type:'setting'})">
|
|
|
|
|
<div class="icon">
|
|
|
|
|
<img src="./images/设置.png" alt="">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="name">设置</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="dele" @click="deleteHandle(row)">
|
|
|
|
|
<div class="icon">
|
|
|
|
|
<img src="./images/删除.png" alt="">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="name">删除</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2024-03-26 11:18:19 +08:00
|
|
|
|
</div>
|
2024-06-13 14:48:19 +08:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- <BaseTable ref="mainTable" :tableData="tableData" :tableColumn="tableColumn" :funData="funData"-->
|
|
|
|
|
<!-- :funWidth="funWidth" :showIndex="true" :tabLoading="mainTabLoading" @onFunc="tableButtonHandle"-->
|
|
|
|
|
<!-- :tableHeight="'70vh'" :border="false">-->
|
|
|
|
|
<!-- <template v-slot:mdmName="{ row }">-->
|
|
|
|
|
<!-- <div class="nameCard">-->
|
|
|
|
|
<!-- <div class="image" v-loading="row.imgLoading">-->
|
|
|
|
|
<!-- <template v-if="row.imgUrl">-->
|
|
|
|
|
<!-- <img :src="row.imgUrl" alt=""/>-->
|
|
|
|
|
<!-- </template>-->
|
|
|
|
|
<!-- <template v-else>-->
|
|
|
|
|
<!-- <img src="./images/icon.png">-->
|
|
|
|
|
<!-- </template>-->
|
|
|
|
|
<!-- </div>-->
|
|
|
|
|
<!-- <div class="nameInfo">-->
|
|
|
|
|
<!-- <div class="name">{{ row.mdmName }}</div>-->
|
|
|
|
|
<!-- </div>-->
|
|
|
|
|
<!-- </div>-->
|
|
|
|
|
<!-- </template>-->
|
|
|
|
|
<!-- <template v-slot:accessMode="{ row }">-->
|
|
|
|
|
<!-- <div class="taskClasses">-->
|
|
|
|
|
<!-- <span :class="`state${item}`" v-for="(item,index) in JSON.parse(row.accessMode)"-->
|
|
|
|
|
<!-- :key="index">{{ methods_dist[item] }}</span>-->
|
|
|
|
|
<!-- </div>-->
|
|
|
|
|
<!-- </template>-->
|
|
|
|
|
<!-- <template v-slot:interfaceStatus="{ row }">-->
|
|
|
|
|
<!-- <el-switch active-value="1" inactive-value="2" active-color="#60c958" v-model="row.interfaceStatus"-->
|
|
|
|
|
<!-- disabled></el-switch>-->
|
|
|
|
|
<!-- </template>-->
|
|
|
|
|
<!-- <template v-slot:dbStatus="{ row }">-->
|
|
|
|
|
<!-- <el-switch active-value="1" inactive-value="2" active-color="#60c958" v-model="row.dbStatus"-->
|
|
|
|
|
<!-- disabled></el-switch>-->
|
|
|
|
|
<!-- </template>-->
|
|
|
|
|
<!-- <template v-slot:appStatus="{ row }">-->
|
|
|
|
|
<!-- <el-switch active-value="1" inactive-value="2" active-color="#60c958" v-model="row.appStatus"-->
|
|
|
|
|
<!-- @change="(val)=>appStatusChange(val,row)"></el-switch>-->
|
|
|
|
|
<!-- </template>-->
|
|
|
|
|
<!-- </BaseTable>-->
|
2024-03-26 11:18:19 +08:00
|
|
|
|
</main>
|
|
|
|
|
<footer>
|
2024-06-13 14:48:19 +08:00
|
|
|
|
<!-- <basePage :pageModel="pageModel" @update:pageModel="currentChangeHandle"></basePage>-->
|
2024-03-26 11:18:19 +08:00
|
|
|
|
</footer>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
<script>
|
2024-06-13 14:48:19 +08:00
|
|
|
|
import configData from './configData.js'
|
|
|
|
|
import dayjs from 'dayjs'
|
|
|
|
|
import BaseTable from '@/views/intergrationTask/compoments/baseTable.vue'
|
|
|
|
|
import basePage from '@/views/intergrationTask/compoments/basePage.vue'
|
|
|
|
|
import { getApiModuleApi } from '@/api/apiChunks/index.js'
|
|
|
|
|
import { downloadLogo } from '@/api/apis/logo.js'
|
|
|
|
|
import request from '@/utils/request'
|
|
|
|
|
import { authApi } from '@/api/apis/auth'
|
2024-03-26 11:18:19 +08:00
|
|
|
|
|
|
|
|
|
export default {
|
2024-06-13 14:48:19 +08:00
|
|
|
|
name: 'listOfApps',
|
2024-03-26 11:18:19 +08:00
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
refreshLoading: false,
|
|
|
|
|
searchForm: {
|
2024-06-13 14:48:19 +08:00
|
|
|
|
task_name: ''
|
2024-03-26 11:18:19 +08:00
|
|
|
|
},
|
2024-06-13 14:48:19 +08:00
|
|
|
|
imgLoading: false,
|
2024-03-26 11:18:19 +08:00
|
|
|
|
mainTabLoading: false,
|
|
|
|
|
funData: [
|
|
|
|
|
{
|
2024-06-13 14:48:19 +08:00
|
|
|
|
type: 'setting',
|
|
|
|
|
text: '设置',
|
|
|
|
|
color: '#5a9cf8'
|
|
|
|
|
}
|
2024-03-26 11:18:19 +08:00
|
|
|
|
],
|
|
|
|
|
tableColumn: configData.tableColumn,
|
|
|
|
|
tableData: [],
|
2024-06-13 14:48:19 +08:00
|
|
|
|
imgUrl: '',
|
2024-03-26 11:18:19 +08:00
|
|
|
|
pageModel: {
|
|
|
|
|
pageIndex: 1,
|
|
|
|
|
total: 10,
|
2024-06-13 14:48:19 +08:00
|
|
|
|
limit: 10
|
2024-03-26 11:18:19 +08:00
|
|
|
|
},
|
|
|
|
|
classOptions: [],
|
|
|
|
|
stateOptions: [
|
|
|
|
|
{
|
2024-06-13 14:48:19 +08:00
|
|
|
|
label: '启用',
|
|
|
|
|
value: '1'
|
2024-03-26 11:18:19 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
2024-06-13 14:48:19 +08:00
|
|
|
|
label: '停用',
|
|
|
|
|
value: '2'
|
|
|
|
|
}
|
2024-03-26 11:18:19 +08:00
|
|
|
|
],
|
|
|
|
|
methods_dist: {
|
2024-06-13 14:48:19 +08:00
|
|
|
|
1: '接口',
|
|
|
|
|
2: 'H5',
|
|
|
|
|
3: 'PC网页',
|
|
|
|
|
4: 'PC应用程序'
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-03-26 11:18:19 +08:00
|
|
|
|
},
|
|
|
|
|
methods: {
|
2024-06-13 14:48:19 +08:00
|
|
|
|
//删除
|
|
|
|
|
deleteHandle(row) {
|
|
|
|
|
this.$confirm('是否删除此行?', '提示', {
|
|
|
|
|
confirmButtonText: '确定',
|
|
|
|
|
cancelButtonText: '取消',
|
|
|
|
|
type: 'warning'
|
|
|
|
|
}).then(async() => {
|
|
|
|
|
this.openLoading('del')
|
|
|
|
|
const res = await authApi('mdmModuleService', '', 'deleteMdm', '', {
|
|
|
|
|
id: row.id
|
|
|
|
|
})
|
|
|
|
|
this.$vmNews('删除成功!', 'success')
|
|
|
|
|
this.initMainTableData()
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
},
|
2024-03-26 11:18:19 +08:00
|
|
|
|
// 状态改变
|
|
|
|
|
async appStatusChange(val, row) {
|
|
|
|
|
const res = await getApiModuleApi({
|
2024-06-13 14:48:19 +08:00
|
|
|
|
tl: 'sysApplicationService',
|
|
|
|
|
as: 'application',
|
|
|
|
|
dj: 'enableOrDisableApp'
|
|
|
|
|
}, { id: row.id, appStatus: val })
|
2024-03-26 11:18:19 +08:00
|
|
|
|
this.$vmNews(res.msg, 'success')
|
|
|
|
|
},
|
|
|
|
|
async initSelectOptions() {
|
|
|
|
|
let params = {
|
2024-06-13 14:48:19 +08:00
|
|
|
|
tab_name: 'mdm',
|
|
|
|
|
column_name: 'mdm_type'
|
|
|
|
|
}
|
2024-03-26 11:18:19 +08:00
|
|
|
|
const res = await getApiModuleApi({
|
2024-06-13 14:48:19 +08:00
|
|
|
|
tl: 'generalServiceImpl',
|
|
|
|
|
as: 'dictionaryshop',
|
|
|
|
|
dj: 'selectDictionaryshop'
|
2024-03-26 11:18:19 +08:00
|
|
|
|
}, params)
|
2024-06-13 14:48:19 +08:00
|
|
|
|
this.classOptions = []
|
2024-03-26 11:18:19 +08:00
|
|
|
|
res.attribute.forEach((item) => {
|
|
|
|
|
this.classOptions.push({
|
|
|
|
|
label: item.column_content,
|
|
|
|
|
value: item.column_value
|
|
|
|
|
})
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
// 添加应用
|
|
|
|
|
addApp() {
|
|
|
|
|
this.$router.push({
|
2024-06-13 14:48:19 +08:00
|
|
|
|
path: '/integrationOption/masterDataAdd',
|
|
|
|
|
query: { flag: 'add' }
|
|
|
|
|
})
|
2024-03-26 11:18:19 +08:00
|
|
|
|
},
|
|
|
|
|
// 时间处理
|
|
|
|
|
getTimeHandler(time) {
|
2024-06-13 14:48:19 +08:00
|
|
|
|
var days = parseInt(time / (1000 * 60 * 60 * 24))
|
|
|
|
|
var hours = parseInt((time % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60))
|
|
|
|
|
var minutes = parseInt((time % (1000 * 60 * 60)) / (1000 * 60))
|
|
|
|
|
var seconds = (time % (1000 * 60)) / 1000
|
|
|
|
|
return days + '天' + hours + '小时' + minutes + '分钟' + seconds + '秒'
|
2024-03-26 11:18:19 +08:00
|
|
|
|
},
|
|
|
|
|
// 初始化表单
|
|
|
|
|
async initMainTableData(obj = {}) {
|
2024-06-13 14:48:19 +08:00
|
|
|
|
this.refreshLoading = true
|
2024-03-26 11:18:19 +08:00
|
|
|
|
const res = await getApiModuleApi(
|
|
|
|
|
{
|
2024-06-13 14:48:19 +08:00
|
|
|
|
tl: 'mdmModuleService',
|
|
|
|
|
as: '',
|
|
|
|
|
dj: 'queryMdm'
|
2024-03-26 11:18:19 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
2024-06-13 14:48:19 +08:00
|
|
|
|
...obj
|
2024-03-26 11:18:19 +08:00
|
|
|
|
}
|
2024-06-13 14:48:19 +08:00
|
|
|
|
)
|
|
|
|
|
this.refreshLoading = false
|
2024-03-26 11:18:19 +08:00
|
|
|
|
if (res.status == 200) {
|
2024-06-13 14:48:19 +08:00
|
|
|
|
// this.pageModel.total = res.attribute.total
|
2024-03-26 11:18:19 +08:00
|
|
|
|
this.imgLoading = true
|
2024-06-13 14:48:19 +08:00
|
|
|
|
res.attribute.map(el => {
|
|
|
|
|
this.$set(el, 'imgLoading', true)
|
2024-03-26 11:18:19 +08:00
|
|
|
|
return request({
|
2024-06-13 14:48:19 +08:00
|
|
|
|
url: '/kangarooDataCenterV3/entranceController/fileDownloadNew?id=' + el.mdmLogo,
|
|
|
|
|
method: 'get',
|
2024-03-26 11:18:19 +08:00
|
|
|
|
responseType: 'arraybuffer'
|
|
|
|
|
}).then((res) => {
|
|
|
|
|
el.imgLoading = false
|
2024-06-13 14:48:19 +08:00
|
|
|
|
if (!res.byteLength) return
|
2024-03-26 11:18:19 +08:00
|
|
|
|
let tempImgUrl =
|
2024-06-13 14:48:19 +08:00
|
|
|
|
'data:image/png/jpg;base64,' + btoa(new Uint8Array(res).reduce((data, byte) => data + String.fromCharCode(byte), ''))
|
2024-03-26 11:18:19 +08:00
|
|
|
|
this.$set(el, 'imgUrl', tempImgUrl)
|
|
|
|
|
})
|
|
|
|
|
})
|
2024-06-13 14:48:19 +08:00
|
|
|
|
console.log(res,'res')
|
|
|
|
|
this.tableData = res.attribute
|
2024-03-26 11:18:19 +08:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
//下载头像
|
|
|
|
|
async getImageUrl(id) {
|
|
|
|
|
// const res = await downloadLogo(id);
|
|
|
|
|
// const blob = new Blob([res]);
|
|
|
|
|
// return URL.createObjectURL(blob);
|
|
|
|
|
// this.imgUrl = URL.createObjectURL(blob)
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
// 点击提交
|
|
|
|
|
submitsearchForm() {
|
2024-06-13 14:48:19 +08:00
|
|
|
|
this.initMainTableData(this.searchForm)
|
2024-03-26 11:18:19 +08:00
|
|
|
|
},
|
|
|
|
|
// 表单操作
|
|
|
|
|
tableButtonHandle(val, item) {
|
2024-06-13 14:48:19 +08:00
|
|
|
|
if (item.type === 'setting') {
|
2024-03-26 11:18:19 +08:00
|
|
|
|
this.$router.push({
|
2024-06-13 14:48:19 +08:00
|
|
|
|
path: '/integrationOption/settingMenu/masterDataEdit',
|
|
|
|
|
query: { flag: 'setting', id: val.id, name: val.name, appLogo: val.appLogo }
|
|
|
|
|
})
|
|
|
|
|
} else if (item.type === 'copy') {
|
|
|
|
|
this.$router.push({
|
|
|
|
|
path: '/applicationList/applicationAdd/masterDataEdit',
|
|
|
|
|
query: { flag: 'copy', id: val.id, appLogo: val.appLogo }
|
|
|
|
|
})
|
|
|
|
|
} else if (item.type === 'new') {
|
2024-03-26 11:18:19 +08:00
|
|
|
|
this.$router.push({
|
2024-06-13 14:48:19 +08:00
|
|
|
|
path: '/integrationOption/settingMenu/masterDataEdit',
|
|
|
|
|
query: { flag: 'new' }
|
|
|
|
|
})
|
2024-03-26 11:18:19 +08:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
// 页码
|
|
|
|
|
currentChangeHandle(pageModel) {
|
2024-06-13 14:48:19 +08:00
|
|
|
|
this.pageModel = pageModel
|
2024-03-26 11:18:19 +08:00
|
|
|
|
this.$nextTick(() => {
|
2024-06-13 14:48:19 +08:00
|
|
|
|
this.initMainTableData(this.searchForm)
|
|
|
|
|
})
|
|
|
|
|
}
|
2024-03-26 11:18:19 +08:00
|
|
|
|
},
|
|
|
|
|
computed: {
|
|
|
|
|
// 操作框的宽度
|
|
|
|
|
funWidth() {
|
2024-06-13 14:48:19 +08:00
|
|
|
|
return this.funData.length * 70
|
|
|
|
|
}
|
2024-03-26 11:18:19 +08:00
|
|
|
|
},
|
|
|
|
|
components: {
|
|
|
|
|
BaseTable,
|
2024-06-13 14:48:19 +08:00
|
|
|
|
basePage
|
2024-03-26 11:18:19 +08:00
|
|
|
|
},
|
|
|
|
|
created() {
|
|
|
|
|
// this.initMainTableData();
|
|
|
|
|
this.initSelectOptions()
|
|
|
|
|
},
|
|
|
|
|
activated() {
|
2024-06-13 14:48:19 +08:00
|
|
|
|
this.initMainTableData(this.searchForm)
|
2024-03-26 11:18:19 +08:00
|
|
|
|
},
|
|
|
|
|
beforeRouteLeave(to, from, next) {
|
2024-06-13 14:48:19 +08:00
|
|
|
|
if (!to.path.includes('applicationList')
|
2024-03-26 11:18:19 +08:00
|
|
|
|
) {
|
2024-06-13 14:48:19 +08:00
|
|
|
|
next()
|
|
|
|
|
this.$destroy('listOfApps')
|
2024-03-26 11:18:19 +08:00
|
|
|
|
} else {
|
2024-06-13 14:48:19 +08:00
|
|
|
|
next()
|
2024-03-26 11:18:19 +08:00
|
|
|
|
}
|
2024-06-13 14:48:19 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
2024-03-26 11:18:19 +08:00
|
|
|
|
</script>
|
|
|
|
|
|
2024-06-13 14:48:19 +08:00
|
|
|
|
<style scoped lang="scss">
|
2024-03-26 11:18:19 +08:00
|
|
|
|
::v-deep .el-button {
|
|
|
|
|
border-radius: 16px;
|
|
|
|
|
}
|
2024-06-13 14:48:19 +08:00
|
|
|
|
|
2024-03-26 11:18:19 +08:00
|
|
|
|
.monitoring {
|
|
|
|
|
position: relative;
|
|
|
|
|
width: 100%;
|
|
|
|
|
overflow: auto;
|
|
|
|
|
|
|
|
|
|
header {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
align-items: center;
|
|
|
|
|
padding: 20px;
|
|
|
|
|
background-color: #fff;
|
|
|
|
|
border-radius: 20px;
|
|
|
|
|
|
|
|
|
|
.left {
|
|
|
|
|
align-items: center;
|
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
|
|
.search {
|
|
|
|
|
margin-left: 30px;
|
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
|
|
> .chunk {
|
|
|
|
|
margin-left: 10px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
main {
|
|
|
|
|
margin-top: 10px;
|
|
|
|
|
padding: 20px 20px 5px;
|
2024-06-13 14:48:19 +08:00
|
|
|
|
height: 80vh;
|
2024-03-26 11:18:19 +08:00
|
|
|
|
border-radius: 20px;
|
|
|
|
|
background-color: #fff;
|
2024-06-13 14:48:19 +08:00
|
|
|
|
overflow: auto;
|
|
|
|
|
|
|
|
|
|
.tableData {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: flex-start;
|
|
|
|
|
|
|
|
|
|
.tableChunk {
|
|
|
|
|
width: 30%;
|
|
|
|
|
margin-bottom: 30px;
|
|
|
|
|
margin-left: 2.5%;
|
|
|
|
|
border-radius: 24px;
|
|
|
|
|
border: 2px solid #E5E5E5;
|
|
|
|
|
padding-bottom: 20px;
|
|
|
|
|
position: relative;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
|
|
.topInfo {
|
|
|
|
|
display: flex;
|
|
|
|
|
margin: 20px 0 0 26px;
|
|
|
|
|
|
|
|
|
|
.left {
|
|
|
|
|
.icon {
|
|
|
|
|
width: 88px;
|
|
|
|
|
height: 88px;
|
|
|
|
|
border-radius: 16px;
|
|
|
|
|
border: 1px solid #F0F0F2;
|
|
|
|
|
padding: 14px;
|
|
|
|
|
|
|
|
|
|
> img {
|
|
|
|
|
width: 60px;
|
|
|
|
|
height: 60px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//.vision{
|
|
|
|
|
// margin-top: 10px;
|
|
|
|
|
// margin-left: 30px;
|
|
|
|
|
// width: 29px;
|
|
|
|
|
// height: 16px;
|
|
|
|
|
// border-radius: 2px;
|
|
|
|
|
// border: 1px solid #FF8B0F;
|
|
|
|
|
//}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tableInfo {
|
|
|
|
|
margin-left: 15px;
|
|
|
|
|
|
|
|
|
|
.tableName {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
|
|
> .name {
|
|
|
|
|
font-family: PingFangSC, PingFang SC;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
font-size: 24px;
|
|
|
|
|
color: #333333;
|
|
|
|
|
line-height: 33px;
|
|
|
|
|
text-align: left;
|
|
|
|
|
font-style: normal;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tableType {
|
|
|
|
|
margin-top: 11px;
|
|
|
|
|
width: 38px;
|
|
|
|
|
height: 24px;
|
|
|
|
|
background: #1478F6;
|
|
|
|
|
border-radius: 5px;
|
|
|
|
|
font-family: PingFangSC, PingFang SC;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
color: #FFFFFF;
|
|
|
|
|
text-align: center;
|
|
|
|
|
line-height: 24px;
|
|
|
|
|
font-style: normal;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tableContent {
|
|
|
|
|
margin-top: 5px;
|
|
|
|
|
width: 95%;
|
|
|
|
|
height: 60px;
|
|
|
|
|
font-family: PingFangSC, PingFang SC;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
color: #999999;
|
|
|
|
|
line-height: 20px;
|
|
|
|
|
text-align: left;
|
|
|
|
|
font-style: normal;
|
|
|
|
|
display: -webkit-box; /*作为弹性伸缩盒子模型显示。*/
|
|
|
|
|
-webkit-box-orient: vertical; /*作为弹性伸缩盒子模型显示。*/
|
|
|
|
|
-webkit-line-clamp: 3; //*显示的行*/
|
|
|
|
|
overflow: hidden; /*溢出隐藏*/
|
|
|
|
|
/* 对于连字情况或者纯字母,可以解决 */
|
|
|
|
|
word-break: break-all;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.shade {
|
|
|
|
|
display: none;
|
|
|
|
|
position: absolute;
|
|
|
|
|
z-index: 10;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
top: 0;
|
|
|
|
|
background-color: rgba(0, 0, 0, .7);
|
|
|
|
|
|
|
|
|
|
.btnList {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
|
|
.setting {
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
|
img {
|
|
|
|
|
width: 44px;
|
|
|
|
|
height: 44px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.name {
|
|
|
|
|
margin-top: 10px;
|
|
|
|
|
color: #fff;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.dele {
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
margin-left: 50px;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
|
img {
|
|
|
|
|
width: 44px;
|
|
|
|
|
height: 44px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.name {
|
|
|
|
|
margin-top: 10px;
|
|
|
|
|
color: red;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
.shade {
|
|
|
|
|
display: block !important;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-03-26 11:18:19 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
footer {
|
|
|
|
|
margin-top: 20px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.nameCard {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
2024-05-31 15:23:40 +08:00
|
|
|
|
justify-content: flex-start;
|
2024-03-26 11:18:19 +08:00
|
|
|
|
width: 100%;
|
2024-06-13 14:48:19 +08:00
|
|
|
|
|
2024-03-26 11:18:19 +08:00
|
|
|
|
.image {
|
|
|
|
|
width: 29px;
|
|
|
|
|
height: 29px;
|
|
|
|
|
|
|
|
|
|
img {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.nameInfo {
|
|
|
|
|
margin-left: 5px;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: flex-start;
|
|
|
|
|
|
|
|
|
|
> .name {
|
|
|
|
|
text-align: left;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
> .version {
|
|
|
|
|
margin-top: 1px;
|
|
|
|
|
color: #ff8b0f;
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
height: 20px;
|
|
|
|
|
border: 0.5px solid #ff8b0f;
|
|
|
|
|
padding: 0 1px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.taskClasses {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
|
|
span {
|
|
|
|
|
margin-top: 5px;
|
|
|
|
|
border-radius: 2px;
|
|
|
|
|
padding: 2px 10px;
|
|
|
|
|
margin-left: 8px;
|
|
|
|
|
color: #fff;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.state1 {
|
|
|
|
|
background-color: #1478f6;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.state2 {
|
|
|
|
|
background-color: #f64114;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.state3 {
|
|
|
|
|
background-color: #00bd72;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.state4 {
|
|
|
|
|
background-color: #b700bd;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</style>
|