{{ item.titleT[0] }}:
{{ item.list[3].numOne }}
+
{{ item.titleT[1] }}:
{{ item.list[3].numTwo }}
@@ -123,7 +133,7 @@ import stand from './details/stand.vue'
import terminal from './details/terminal.vue'
import point from './details/point.vue'
import { getSubLineGiveAnAlarm, getGridDiagramMonitor, getGridDiagramDev } from '@/api/device-boot/panorama'
-
+const emit = defineEmits(['LookMap'])
const dictData = useDictData()
const show = ref(false)
const standRef = ref()
@@ -138,23 +148,33 @@ const list: any = ref([
list: [
{
numOne: 0,
- numTwo: 0
+ numTwo: 0,
+ numOneList: [],
+ numTwoList: []
},
{
numOne: 0,
- numTwo: 0
+ numTwo: 0,
+ numOneList: [],
+ numTwoList: []
},
{
numOne: 0,
- numTwo: 0
+ numTwo: 0,
+ numOneList: [],
+ numTwoList: []
},
{
numOne: 0,
- numTwo: 0
+ numTwo: 0,
+ numOneList: [],
+ numTwoList: []
},
{
numOne: 0,
- numTwo: 0
+ numTwo: 0,
+ numOneList: [],
+ numTwoList: []
}
]
},
@@ -166,23 +186,33 @@ const list: any = ref([
list: [
{
numOne: 0,
- numTwo: 0
+ numTwo: 0,
+ numOneList: [],
+ numTwoList: []
},
{
numOne: 0,
- numTwo: 0
+ numTwo: 0,
+ numOneList: [],
+ numTwoList: []
},
{
numOne: 0,
- numTwo: 0
+ numTwo: 0,
+ numOneList: [],
+ numTwoList: []
},
{
numOne: 0,
- numTwo: 0
+ numTwo: 0,
+ numOneList: [],
+ numTwoList: []
},
{
numOne: 0,
- numTwo: 0
+ numTwo: 0,
+ numOneList: [],
+ numTwoList: []
}
]
},
@@ -194,23 +224,33 @@ const list: any = ref([
list: [
{
numOne: 0,
- numTwo: 0
+ numTwo: 0,
+ numOneList: [],
+ numTwoList: []
},
{
numOne: 0,
- numTwo: 0
+ numTwo: 0,
+ numOneList: [],
+ numTwoList: []
},
{
numOne: 0,
- numTwo: 0
+ numTwo: 0,
+ numOneList: [],
+ numTwoList: []
},
{
numOne: 0,
- numTwo: 0
+ numTwo: 0,
+ numOneList: [],
+ numTwoList: []
},
{
numOne: 0,
- numTwo: 0
+ numTwo: 0,
+ numOneList: [],
+ numTwoList: []
}
]
}
@@ -263,6 +303,15 @@ const info = (row: any) => {
})
})
}
+// 点击
+const LookMap = (row: object, num: number) => {
+ console.log('🚀 ~ LookMap ~ row:', row)
+ let form = {
+ coutList: num == 0 ? row : [],
+ alarmList: num == 1 ? row : []
+ }
+ emit('LookMap', form)
+}
onMounted(() => {})
defineExpose({ info, show })
@@ -280,10 +329,12 @@ defineExpose({ info, show })
.cardBox {
display: flex;
flex-wrap: wrap;
+
.card {
margin-top: 10px;
width: 48%;
margin-right: 2%;
+
.cor {
display: flex;
align-items: center;
@@ -330,6 +381,9 @@ defineExpose({ info, show })
grid-template-columns: 1fr 1fr;
font-size: 12px;
color: #6d6d6d;
+ div {
+ cursor: pointer;
+ }
span {
font-size: 14px;
font-weight: 550;
diff --git a/src/views/pqs/qualityInspeection/panorama/components/mapR.vue b/src/views/pqs/qualityInspeection/panorama/components/mapR.vue
index d04cb4c9..c54839ff 100644
--- a/src/views/pqs/qualityInspeection/panorama/components/mapR.vue
+++ b/src/views/pqs/qualityInspeection/panorama/components/mapR.vue
@@ -379,9 +379,9 @@ const transientChange = () => {
transientNum.value = 0
if (formRow.value.isUpToGrid == 0) {
data = res.data.info
- transientNum.value = res.data.data
+ transientNum.value = res.data.data.toFixed(2)
} else {
- transientNum.value = res.data.gwData
+ transientNum.value = res.data.gwData.toFixed(2)
data = res.data.gwInfo
}
WTList.value = data
diff --git a/src/views/pqs/qualityInspeection/panorama/index.vue b/src/views/pqs/qualityInspeection/panorama/index.vue
index a67f859e..1c9462c9 100644
--- a/src/views/pqs/qualityInspeection/panorama/index.vue
+++ b/src/views/pqs/qualityInspeection/panorama/index.vue
@@ -4,13 +4,13 @@
-
+ />
@@ -27,13 +27,13 @@
-
-
+
+
-
+
@@ -46,7 +46,7 @@
@@ -162,6 +159,10 @@ onMounted(() => {
border-radius: 8px;
}
}
+ .el-input__wrapper {
+ height: 46px;
+ border-radius: 8px;
+ }
.el-form-item {
margin-right: 15px;
}
diff --git a/src/views/system/auth/userList/popupPwd.vue b/src/views/system/auth/userList/popupPwd.vue
index 1cd5e810..65183aeb 100644
--- a/src/views/system/auth/userList/popupPwd.vue
+++ b/src/views/system/auth/userList/popupPwd.vue
@@ -1,5 +1,5 @@
-
+
diff --git a/src/views/system/subject/form/index.vue b/src/views/system/subject/form/index.vue
new file mode 100644
index 00000000..0b679acf
--- /dev/null
+++ b/src/views/system/subject/form/index.vue
@@ -0,0 +1,237 @@
+
+
+
+
+ 全局
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 侧边栏
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 顶栏
+
+
+
+
+
+
+
+
+
+
+ 上传图片
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/system/subject/index.vue b/src/views/system/subject/index.vue
new file mode 100644
index 00000000..efc12804
--- /dev/null
+++ b/src/views/system/subject/index.vue
@@ -0,0 +1,150 @@
+
+
+
+
diff --git a/src/views/user/login.vue b/src/views/user/login.vue
index ede6bc08..4d2ef61c 100644
--- a/src/views/user/login.vue
+++ b/src/views/user/login.vue
@@ -74,12 +74,13 @@ import type { FormInstance, InputInstance, FormRules } from 'element-plus'
import { useRouter } from 'vue-router'
import { ADMIN_INFO } from '@/stores/constant/cacheKey'
import { Local } from '@/utils/storage'
-import { getTheme } from '@/api/systerm.ts'
+import { getTheme } from '@/api/systerm'
+import { useConfig } from '@/stores/config'
import PopupUpdatePwd from './popupUpdatePwd.vue'
const router = useRouter()
let timer: number
-
+const configStore = useConfig()
const popupUpdatePwdRef = ref()
const formRef = ref()
const usernameRef = ref()
@@ -126,8 +127,26 @@ onBeforeUnmount(() => {
pageBubble.removeListeners()
})
getTheme().then(res => {
+ let list: any = [
+ 'elementUiPrimary',
+ 'tableHeaderBackground',
+ 'tableHeaderColor',
+ 'tableCurrent',
+ 'menuBackground',
+ 'menuColor',
+ 'menuTopBarBackground',
+ 'menuActiveBackground',
+ 'menuActiveColor',
+ 'headerBarTabColor',
+ 'headerBarBackground'
+ ]
getThemeList.value = res.data
window.localStorage.setItem('getTheme', JSON.stringify(res.data))
+ for (let i = 0; i < list.length; i++) {
+
+ configStore.setLayout(list[i], JSON.parse(res.data[list[i]]))
+ }
+ configStore.setLayout('elementUiPrimary', JSON.parse(res.data['elementUiPrimary']))
})
const onSubmit = async (formEl: FormInstance | undefined) => {
if (!formEl) return