Compare commits
205 Commits
main
...
refactor/p
| Author | SHA1 | Date |
|---|---|---|
|
|
f584d2fa42 | 2 years ago |
|
|
03e67e6cfc | 2 years ago |
|
|
0ead08acb1 | 2 years ago |
|
|
34119160fd | 2 years ago |
|
|
9d6d0b2de8 | 2 years ago |
|
|
2aaa96fbcd | 2 years ago |
|
|
d40509e294 | 2 years ago |
|
|
3b2f46e984 | 2 years ago |
|
|
a0e7b1fe5d | 2 years ago |
|
|
ef3ce4d5bc | 2 years ago |
|
|
7fa2dc76b9 | 2 years ago |
|
|
d722e6fc1d | 2 years ago |
|
|
197b6cc288 | 2 years ago |
|
|
6caa3d46bf | 2 years ago |
|
|
572903f4dc | 2 years ago |
|
|
5156b9ccae | 2 years ago |
|
|
5e52a9a191 | 2 years ago |
|
|
122a38c381 | 2 years ago |
|
|
6400ab613a | 2 years ago |
|
|
8ab2376871 | 2 years ago |
|
|
6abd4859fe | 2 years ago |
|
|
e1ef8e35e7 | 2 years ago |
|
|
02c81d0b41 | 2 years ago |
|
|
d401a2ce6a | 2 years ago |
|
|
e4e3d251e0 | 2 years ago |
|
|
d4d6be6e25 | 2 years ago |
|
|
d4042d234e | 2 years ago |
|
|
ce25698eb8 | 2 years ago |
|
|
3f811759e3 | 2 years ago |
|
|
08d0c2dea6 | 2 years ago |
|
|
356e897bce | 2 years ago |
|
|
93ffdeed71 | 2 years ago |
|
|
6be68c72a5 | 2 years ago |
|
|
3e0158679f | 2 years ago |
|
|
037f5d30d0 | 2 years ago |
|
|
2256b416ac | 2 years ago |
|
|
40ca137203 | 2 years ago |
|
|
cd42a5bc40 | 2 years ago |
|
|
75e1c098b7 | 2 years ago |
|
|
257ebca62b | 2 years ago |
|
|
878a81a355 | 2 years ago |
|
|
5a0d4e8b0a | 2 years ago |
|
|
f5cc60e423 | 2 years ago |
|
|
39e4d383fe | 2 years ago |
|
|
6ce50b5d33 | 2 years ago |
|
|
68eee1a809 | 2 years ago |
|
|
732d41db11 | 2 years ago |
|
|
9dc782de7f | 2 years ago |
|
|
eec8ad7573 | 2 years ago |
|
|
43d15cfdcf | 2 years ago |
|
|
cc6f0ce4c1 | 2 years ago |
|
|
995dad8723 | 2 years ago |
|
|
ca6fb53d08 | 2 years ago |
|
|
79596247f1 | 2 years ago |
|
|
acd661ffd2 | 2 years ago |
|
|
fe50821c30 | 2 years ago |
|
|
00ec4dd402 | 2 years ago |
|
|
663afdaf5e | 2 years ago |
|
|
1304f3365d | 2 years ago |
|
|
ff103fe611 | 2 years ago |
|
|
303a8b0f90 | 2 years ago |
|
|
1e041144b8 | 2 years ago |
|
|
f50f8ac87b | 2 years ago |
|
|
6ad5e1f158 | 2 years ago |
|
|
afa388f6eb | 2 years ago |
|
|
8aa1090229 | 2 years ago |
|
|
b80d9edef4 | 2 years ago |
|
|
28dde2bfa4 | 2 years ago |
|
|
7e34bf0440 | 2 years ago |
|
|
bb68446e6a | 2 years ago |
|
|
52e92a391c | 2 years ago |
|
|
128ed694cf | 2 years ago |
|
|
9ff0959153 | 2 years ago |
|
|
daf79405c1 | 2 years ago |
|
|
38a43bed83 | 2 years ago |
|
|
939a7344c8 | 2 years ago |
|
|
ab88ad3e68 | 2 years ago |
|
|
6c734d297c | 2 years ago |
|
|
6586b20488 | 2 years ago |
|
|
8fa20480f1 | 2 years ago |
|
|
926c09d83f | 2 years ago |
|
|
b861266987 | 2 years ago |
|
|
cf7386b337 | 2 years ago |
|
|
0b860955ef | 2 years ago |
|
|
f91f028cf7 | 2 years ago |
|
|
06296781db | 2 years ago |
|
|
dd072b58c5 | 2 years ago |
|
|
a45ba04d32 | 2 years ago |
|
|
622ff84521 | 2 years ago |
|
|
5d898cb6be | 2 years ago |
|
|
e9b26e8334 | 2 years ago |
|
|
774a6677e1 | 2 years ago |
|
|
ab5ffd320c | 2 years ago |
|
|
54e6a6386c | 2 years ago |
|
|
fa59bd43c0 | 2 years ago |
|
|
d63bb0eb2f | 2 years ago |
|
|
1ecfc7abcb | 2 years ago |
|
|
2ce03ead8f | 2 years ago |
|
|
b4dc165ded | 2 years ago |
|
|
10df0d3250 | 2 years ago |
|
|
dae1ebcffd | 2 years ago |
|
|
8c1298ba96 | 2 years ago |
|
|
79dde563fe | 2 years ago |
|
|
19dcce1d85 | 2 years ago |
|
|
06efeb904e | 2 years ago |
|
|
206d3c570c | 2 years ago |
|
|
4a86c212b2 | 2 years ago |
|
|
f7e52a86e1 | 2 years ago |
|
|
d602ede9e9 | 2 years ago |
|
|
bc0721e2ec | 2 years ago |
|
|
b683a3d774 | 2 years ago |
|
|
f59ac652db | 2 years ago |
|
|
f6c442a7e5 | 2 years ago |
|
|
ab76d6b1ea | 2 years ago |
|
|
00259a644e | 2 years ago |
|
|
655d567f3b | 2 years ago |
|
|
fcdba31a05 | 2 years ago |
|
|
5befc433d8 | 2 years ago |
|
|
6533af31b5 | 2 years ago |
|
|
543bb181c4 | 2 years ago |
|
|
bc7fcf648d | 2 years ago |
|
|
642c3056db | 2 years ago |
|
|
b4ef13b319 | 2 years ago |
|
|
124ba1910c | 2 years ago |
|
|
af102caccd | 2 years ago |
|
|
7e4cb18698 | 2 years ago |
|
|
49a7e5c053 | 2 years ago |
|
|
8c2e097b8c | 2 years ago |
|
|
ebc036b9ed | 2 years ago |
|
|
3b7a3f4b19 | 2 years ago |
|
|
92932f3903 | 2 years ago |
|
|
1473d1efc2 | 2 years ago |
|
|
f984c8888d | 2 years ago |
|
|
2ca77daaec | 2 years ago |
|
|
aef13be82e | 2 years ago |
|
|
418f335d3c | 2 years ago |
|
|
a4fe861b64 | 2 years ago |
|
|
adfba0701e | 2 years ago |
|
|
4085e0dd15 | 2 years ago |
|
|
fbf1112fbe | 2 years ago |
|
|
449cf461a7 | 2 years ago |
|
|
bb0b7c9df6 | 2 years ago |
|
|
9b9db907bf | 2 years ago |
|
|
0d1e6d5e3f | 2 years ago |
|
|
7677963d3a | 2 years ago |
|
|
b343464bf7 | 2 years ago |
|
|
b25e87f558 | 2 years ago |
|
|
4eba08b97d | 2 years ago |
|
|
07c93b17fc | 2 years ago |
|
|
1b8c56ac49 | 2 years ago |
|
|
2bcad6d427 | 2 years ago |
|
|
a6e144b15c | 2 years ago |
|
|
77d61a986d | 2 years ago |
|
|
e76211ed07 | 2 years ago |
|
|
fd1ec733ff | 2 years ago |
|
|
641bb3bba7 | 2 years ago |
|
|
48e63eb920 | 2 years ago |
|
|
232aad600f | 2 years ago |
|
|
4311936ab9 | 2 years ago |
|
|
bff4baa8fc | 2 years ago |
|
|
c2ee8ba1e1 | 2 years ago |
|
|
abdaa6c3fd | 2 years ago |
|
|
406b88e424 | 2 years ago |
|
|
c578e2e658 | 2 years ago |
|
|
3800c0b1df | 2 years ago |
|
|
114d5e9527 | 2 years ago |
|
|
5df5e47fc1 | 2 years ago |
|
|
82150a6042 | 2 years ago |
|
|
e6283656de | 2 years ago |
|
|
358d444fbb | 2 years ago |
|
|
e8ede46d05 | 2 years ago |
|
|
1fd657dba7 | 2 years ago |
|
|
57ceccc5e1 | 2 years ago |
|
|
e2e5e6dec3 | 2 years ago |
|
|
390a9e0a21 | 2 years ago |
|
|
921f8ee7f6 | 2 years ago |
|
|
f21579e774 | 2 years ago |
|
|
4356e499ea | 2 years ago |
|
|
b4cb862d5f | 2 years ago |
|
|
22fb56564d | 2 years ago |
|
|
cda699acf8 | 2 years ago |
|
|
831484af02 | 2 years ago |
|
|
337d1bc73c | 2 years ago |
|
|
c1581d69a0 | 2 years ago |
|
|
cb53ffcc2b | 2 years ago |
|
|
e6a00eab6b | 2 years ago |
|
|
11185901c6 | 2 years ago |
|
|
c4ef80c082 | 2 years ago |
|
|
afcf3f538e | 2 years ago |
|
|
1cca2fc1d0 | 2 years ago |
|
|
7ff4a7324c | 2 years ago |
|
|
4bfd0e8928 | 2 years ago |
|
|
4787f2dd21 | 2 years ago |
|
|
030216cb3a | 2 years ago |
|
|
0df2265e1f | 2 years ago |
|
|
175353b86d | 2 years ago |
|
|
7c6e5b9c45 | 2 years ago |
|
|
e48c729bc0 | 2 years ago |
|
|
0ee2ea778e | 2 years ago |
|
|
74e6119eb3 | 2 years ago |
|
|
53d3062faa | 2 years ago |
|
|
b2d0714264 | 2 years ago |
|
|
868b24c023 | 2 years ago |
|
|
e64c6ad7ee | 2 years ago |
|
|
087a43ad7e | 2 years ago |
@ -0,0 +1,8 @@
|
|||||||
|
# 默认忽略的文件
|
||||||
|
/shelf/
|
||||||
|
/workspace.xml
|
||||||
|
# 基于编辑器的 HTTP 客户端请求
|
||||||
|
/httpRequests/
|
||||||
|
# Datasource local storage ignored files
|
||||||
|
/dataSources/
|
||||||
|
/dataSources.local.xml
|
||||||
@ -0,0 +1,48 @@
|
|||||||
|
<component name="InspectionProjectProfileManager">
|
||||||
|
<profile version="1.0">
|
||||||
|
<option name="myName" value="Project Default" />
|
||||||
|
<inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||||
|
<inspection_tool class="PyPackageRequirementsInspection" enabled="true" level="WARNING" enabled_by_default="true">
|
||||||
|
<option name="ignoredPackages">
|
||||||
|
<value>
|
||||||
|
<list size="15">
|
||||||
|
<item index="0" class="java.lang.String" itemvalue="PyMuPDF" />
|
||||||
|
<item index="1" class="java.lang.String" itemvalue="scikit-image" />
|
||||||
|
<item index="2" class="java.lang.String" itemvalue="shapely" />
|
||||||
|
<item index="3" class="java.lang.String" itemvalue="opencv-contrib-python" />
|
||||||
|
<item index="4" class="java.lang.String" itemvalue="opencv-python" />
|
||||||
|
<item index="5" class="java.lang.String" itemvalue="cython" />
|
||||||
|
<item index="6" class="java.lang.String" itemvalue="numpy" />
|
||||||
|
<item index="7" class="java.lang.String" itemvalue="attrdict" />
|
||||||
|
<item index="8" class="java.lang.String" itemvalue="imgaug" />
|
||||||
|
<item index="9" class="java.lang.String" itemvalue="premailer" />
|
||||||
|
<item index="10" class="java.lang.String" itemvalue="lxml" />
|
||||||
|
<item index="11" class="java.lang.String" itemvalue="visualdl" />
|
||||||
|
<item index="12" class="java.lang.String" itemvalue="openpyxl" />
|
||||||
|
<item index="13" class="java.lang.String" itemvalue="lanms-neo" />
|
||||||
|
<item index="14" class="java.lang.String" itemvalue="Polygon3" />
|
||||||
|
</list>
|
||||||
|
</value>
|
||||||
|
</option>
|
||||||
|
</inspection_tool>
|
||||||
|
<inspection_tool class="PyPep8NamingInspection" enabled="true" level="WEAK WARNING" enabled_by_default="true">
|
||||||
|
<option name="ignoredErrors">
|
||||||
|
<list>
|
||||||
|
<option value="N802" />
|
||||||
|
<option value="N806" />
|
||||||
|
<option value="N812" />
|
||||||
|
<option value="N801" />
|
||||||
|
</list>
|
||||||
|
</option>
|
||||||
|
</inspection_tool>
|
||||||
|
<inspection_tool class="PyUnresolvedReferencesInspection" enabled="true" level="WARNING" enabled_by_default="true">
|
||||||
|
<option name="ignoredIdentifiers">
|
||||||
|
<list>
|
||||||
|
<option value="image_tools.image_similarity.calculate" />
|
||||||
|
<option value="float.*" />
|
||||||
|
</list>
|
||||||
|
</option>
|
||||||
|
</inspection_tool>
|
||||||
|
<inspection_tool class="TsLint" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||||
|
</profile>
|
||||||
|
</component>
|
||||||
@ -0,0 +1,6 @@
|
|||||||
|
<component name="InspectionProjectProfileManager">
|
||||||
|
<settings>
|
||||||
|
<option name="USE_PROJECT_PROFILE" value="false" />
|
||||||
|
<version value="1.0" />
|
||||||
|
</settings>
|
||||||
|
</component>
|
||||||
@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="JavaScriptLibraryMappings">
|
||||||
|
<includedPredefinedLibrary name="Node.js Core" />
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="EslintConfiguration">
|
||||||
|
<option name="fix-on-save" value="true" />
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
@ -0,0 +1,4 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="ProjectRootManager" version="2" project-jdk-name="$PROJECT_DIR$/../../../webutils/ai/PaddleOCR/.conda" project-jdk-type="Python SDK" />
|
||||||
|
</project>
|
||||||
@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="VcsDirectoryMappings">
|
||||||
|
<mapping directory="" vcs="Git" />
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
@ -0,0 +1,29 @@
|
|||||||
|
#-------------------------------------------------------------------------------#
|
||||||
|
# Qodana analysis is configured by qodana.yaml file #
|
||||||
|
# https://www.jetbrains.com/help/qodana/qodana-yaml.html #
|
||||||
|
#-------------------------------------------------------------------------------#
|
||||||
|
version: "1.0"
|
||||||
|
|
||||||
|
#Specify inspection profile for code analysis
|
||||||
|
profile:
|
||||||
|
name: qodana.starter
|
||||||
|
|
||||||
|
#Enable inspections
|
||||||
|
#include:
|
||||||
|
# - name: <SomeEnabledInspectionId>
|
||||||
|
|
||||||
|
#Disable inspections
|
||||||
|
#exclude:
|
||||||
|
# - name: <SomeDisabledInspectionId>
|
||||||
|
# paths:
|
||||||
|
# - <path/where/not/run/inspection>
|
||||||
|
|
||||||
|
#Execute shell command before Qodana execution (Applied in CI/CD pipeline)
|
||||||
|
#bootstrap: sh ./prepare-qodana.sh
|
||||||
|
|
||||||
|
#Install IDE plugins before Qodana execution (Applied in CI/CD pipeline)
|
||||||
|
#plugins:
|
||||||
|
# - id: <plugin.id> #(plugin id can be found at https://plugins.jetbrains.com)
|
||||||
|
|
||||||
|
#Specify Qodana linter for analysis (Applied in CI/CD pipeline)
|
||||||
|
linter: jetbrains/qodana-js:latest
|
||||||
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 4.2 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 2.6 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 2.6 KiB |
|
After Width: | Height: | Size: 1.2 MiB |
|
After Width: | Height: | Size: 8.9 KiB |
|
After Width: | Height: | Size: 4.2 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 3.7 KiB |
|
After Width: | Height: | Size: 6.1 KiB |
|
After Width: | Height: | Size: 4.0 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
@ -1,98 +1,128 @@
|
|||||||
<template>
|
|
||||||
<div class="header_wrap">
|
|
||||||
<div v-for="(item, index) in data" :key="index" class="header_item">
|
|
||||||
<img :src="item.link" />
|
|
||||||
<div class="data_wrap">
|
|
||||||
<div class="data_title">{{ item.count }}</div>
|
|
||||||
<div class="data_content">{{ item.title }}</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<SvgIcon size="14px" style="cursor: pointer" name="setting"></SvgIcon>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
|
import { defineProps, onMounted } from 'vue'
|
||||||
|
|
||||||
|
defineProps({
|
||||||
|
hasColor: {
|
||||||
|
type: Boolean,
|
||||||
|
default: () => false,
|
||||||
|
},
|
||||||
|
})
|
||||||
|
function initRem() {
|
||||||
|
const designWidth = 1440
|
||||||
|
const rempPx = 16
|
||||||
|
const scale = window.innerWidth / designWidth
|
||||||
|
document.documentElement.style.fontSize = `${scale * rempPx}px`
|
||||||
|
}
|
||||||
|
onMounted(() => {
|
||||||
|
initRem()
|
||||||
|
})
|
||||||
|
|
||||||
const data = [
|
const data = [
|
||||||
{
|
{
|
||||||
link: "/src/assets/images/taskCount.png",
|
link: 'count',
|
||||||
title: "任务包总数",
|
title: '任务总数',
|
||||||
count: 6399,
|
count: 6399,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
link: "/src/assets/images/nocheck.png",
|
link: 'wait',
|
||||||
title: "未标记",
|
title: '待审批',
|
||||||
count: 6290,
|
count: 6290,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
link: "/src/assets/images/check.png",
|
link: 'done',
|
||||||
title: "已标记",
|
title: '已审批',
|
||||||
count: 109,
|
count: 109,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
link: "/src/assets/images/status.png",
|
link: 'resolve',
|
||||||
title: "真",
|
title: '通过',
|
||||||
count: 3290,
|
count: 3290,
|
||||||
|
color: '#03c984',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
link: "/src/assets/images/status.png",
|
link: 'reject',
|
||||||
title: "假",
|
title: '不通过',
|
||||||
count: 3000,
|
count: 3000,
|
||||||
|
color: '#ff8b8b',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
link: "/src/assets/images/pic.png",
|
link: 'reimg',
|
||||||
title: "相似度100%图",
|
title: '图片重复数',
|
||||||
count: 230,
|
count: 230,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
link: "/src/assets/images/xiaojie.png",
|
link: 'breakcount',
|
||||||
title: "小结重复数",
|
title: '小结重复数',
|
||||||
count: 365,
|
count: 365,
|
||||||
},
|
},
|
||||||
];
|
]
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<div class="header_wrap">
|
||||||
|
<div v-for="(item, index) in data" :key="index" class="header_item">
|
||||||
|
<SvgIcon :name="item.link" />
|
||||||
|
<div class="data_wrap">
|
||||||
|
<div class="data_title" :style="hasColor ? `color:${item.color || ''}` : ''">
|
||||||
|
{{ item.count }}
|
||||||
|
</div>
|
||||||
|
<div class="data_content">
|
||||||
|
{{ item.title }}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<SvgIcon size="14px" style="cursor: pointer" name="setting" class="settingSvg" />
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
<style scoped lang="less">
|
<style scoped lang="less">
|
||||||
.header_wrap {
|
.header_wrap {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-flow: row nowrap;
|
flex-flow: row nowrap;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
padding: 20px 30px;
|
padding: 1rem 1rem 1rem 3.125rem;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
|
||||||
.header_item {
|
.header_item {
|
||||||
width: 10%;
|
min-width: 10%;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-flow: row nowrap;
|
flex-flow: row nowrap;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
img{
|
svg {
|
||||||
width: 50px;
|
width: 2.75rem !important;
|
||||||
height: 50px
|
height: 2.75rem !important;
|
||||||
}
|
}
|
||||||
.data_wrap {
|
.data_wrap {
|
||||||
|
margin-left: .8125rem;
|
||||||
.data_title {
|
.data_title {
|
||||||
font-size: 20px;
|
font-size: 1.125rem;
|
||||||
font-family: HarmonyOS Sans SC, HarmonyOS Sans SC-Bold;
|
font-family: HarmonyOS Sans SC, HarmonyOS Sans SC-Bold;
|
||||||
font-weight: Bold;
|
font-weight: 900;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
color: #202020;
|
color: #202020;
|
||||||
line-height: 23px;
|
line-height: 1.4375rem;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
.data_content {
|
.data_content {
|
||||||
opacity: 0.6;
|
opacity: 0.6;
|
||||||
font-size: 14px;
|
font-size: .75rem;
|
||||||
font-family: PingFang SC, PingFang SC-Regular;
|
font-family: PingFang SC, PingFang SC-Regular;
|
||||||
font-weight: Regular;
|
font-weight: 500;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: #202020;
|
color: #202020;
|
||||||
line-height: 16px;
|
line-height: 1rem;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.settingSvg{
|
||||||
|
width: 1rem !important;
|
||||||
|
height: 1rem !important;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -0,0 +1,30 @@
|
|||||||
|
<script setup>
|
||||||
|
import { defineProps } from 'vue'
|
||||||
|
import IPImg from '@/assets/images/IP.png'
|
||||||
|
|
||||||
|
defineProps({
|
||||||
|
canClick: {
|
||||||
|
type: Boolean,
|
||||||
|
default: () => false,
|
||||||
|
},
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<div class="ip_box" :style="canClick ? 'cursor: pointer;' : ''">
|
||||||
|
<img :src="IPImg">
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style scoped lang="less">
|
||||||
|
.ip_box {
|
||||||
|
position: fixed;
|
||||||
|
bottom: 80px;
|
||||||
|
right: 20px;
|
||||||
|
z-index: 1000;
|
||||||
|
img {
|
||||||
|
width: 80px;
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@ -1,52 +0,0 @@
|
|||||||
export const asideMap: Recordable<AsideEntity> = {
|
|
||||||
izupuser: {
|
|
||||||
label: '提报人',
|
|
||||||
defaultValue: null,
|
|
||||||
isDefaultFilter: true,
|
|
||||||
key: 'izupuser',
|
|
||||||
component: ReportUserVue,
|
|
||||||
},
|
|
||||||
izproject: {
|
|
||||||
label: '所属项目',
|
|
||||||
defaultValue: null,
|
|
||||||
isDefaultFilter: true,
|
|
||||||
key: 'izproject',
|
|
||||||
component: IzProjectVue,
|
|
||||||
},
|
|
||||||
izplan: {
|
|
||||||
label: '所属计划',
|
|
||||||
defaultValue: null,
|
|
||||||
isDefaultFilter: true,
|
|
||||||
key: 'izplan',
|
|
||||||
component: PlanVue,
|
|
||||||
},
|
|
||||||
izstatus: {
|
|
||||||
label: '审批状态',
|
|
||||||
defaultValue: null,
|
|
||||||
isDefaultFilter: false,
|
|
||||||
key: 'izstatus',
|
|
||||||
component: PlanVue, // todo
|
|
||||||
},
|
|
||||||
izuptime: {
|
|
||||||
label: '提报时间',
|
|
||||||
defaultValue: null,
|
|
||||||
isDefaultFilter: false,
|
|
||||||
key: 'izuptime',
|
|
||||||
component: TimeVue,
|
|
||||||
},
|
|
||||||
iztaskrrom: {
|
|
||||||
label: '任务来源',
|
|
||||||
defaultValue: null,
|
|
||||||
isDefaultFilter: false,
|
|
||||||
key: 'iztaskrrom',
|
|
||||||
component: IztaskrromVue,
|
|
||||||
},
|
|
||||||
izshowall: {
|
|
||||||
label: '显示全部任务数据',
|
|
||||||
defaultValue: true,
|
|
||||||
isDefaultFilter: false,
|
|
||||||
key: 'izshowall',
|
|
||||||
component: PictureDownloadVue,
|
|
||||||
inFilterList: false,
|
|
||||||
},
|
|
||||||
}
|
|
||||||
@ -1,11 +1,11 @@
|
|||||||
const commonKeyDown = (keyCode: number) => {
|
function commonKeyDown(keyCode: number) {
|
||||||
document.dispatchEvent(new KeyboardEvent('keydown', { keyCode }));
|
document.dispatchEvent(new KeyboardEvent('keydown', { keyCode }))
|
||||||
}
|
}
|
||||||
const c = () => {
|
function c() {
|
||||||
commonKeyDown(27)
|
commonKeyDown(27)
|
||||||
}
|
}
|
||||||
const initBind = (mousetrap) => {
|
function initBind(mousetrap) {
|
||||||
mousetrap.bind('c', c)
|
mousetrap.bind('c', c)
|
||||||
}
|
}
|
||||||
|
|
||||||
export default initBind;
|
export default initBind
|
||||||
|
|||||||