diff --git a/src/router/static.ts b/src/router/static.ts index b2c84f2b..3afd44e5 100644 --- a/src/router/static.ts +++ b/src/router/static.ts @@ -196,6 +196,26 @@ export const adminBaseRoute = { ] }, + { + path: 'runManage', + name: '谐波责任划分页面', + meta: { + title: pageTitle('runManage'), + icon: 'ep:management', + alwaysShow: true + }, + children: [ + { + path: 'addUser', + component: () => import('@/views/pqs/runManage/assessment/components/uese/form.vue'), + name: '新增评估用户', + meta: { + title: pageTitle('router.addUser') + } + }, + + ] + }, { path: '/boX', name: 'boX', diff --git a/src/views/pqs/business/terminal/userLedger/components/addForm.vue b/src/views/pqs/business/terminal/userLedger/components/addForm.vue index 84b760ab..5725859a 100644 --- a/src/views/pqs/business/terminal/userLedger/components/addForm.vue +++ b/src/views/pqs/business/terminal/userLedger/components/addForm.vue @@ -63,7 +63,18 @@ placeholder="请选择工程预期投产日期" /> - + +
+ + +
+
+ - - + + - + - + - + + - + - + - + - - + - + - + - + - + - + - + - + - + { responsibleDepartment: '', //归口管理部门 1 userStatus: userStateList.value[0].value, //用户状态 1 projectName: '', //项目名称 1 + longitude: 0, //经度 + latitude: 0, //维度 substation: '', //变电站 1 voltageLevel: voltageLevelList[0].id, //电压等级 1 evaluationDept: evaluationDeptList[0].name, //预测评估单位 1 @@ -626,6 +609,8 @@ const subForm: any = ref({ expectedProductionDate: '', //工程预期投产日期 orgId: '', //填报部门 projectName: '', + longitude: 0, //经度 + latitude: 0, //维度 devId: 0, //关联终端 1 lineId: 0, //关联监测点 1 reporter: '', //填报人 diff --git a/src/views/pqs/business/terminal/userLedger/components/detail.vue b/src/views/pqs/business/terminal/userLedger/components/detail.vue index 5714e8e3..05d13b48 100644 --- a/src/views/pqs/business/terminal/userLedger/components/detail.vue +++ b/src/views/pqs/business/terminal/userLedger/components/detail.vue @@ -10,6 +10,9 @@ {{ formatDate(detailData.expectedProductionDate, 'YYYY-MM-DD') }} + + {{ detailData.longitude }}  {{ detailData.latitude }} + {{ userTypeList.find(item => { diff --git a/src/views/pqs/runManage/assessment/components/uese/form.vue b/src/views/pqs/runManage/assessment/components/uese/form.vue new file mode 100644 index 00000000..894875ba --- /dev/null +++ b/src/views/pqs/runManage/assessment/components/uese/form.vue @@ -0,0 +1,11 @@ + + + diff --git a/src/views/pqs/runManage/assessment/components/uese/index.vue b/src/views/pqs/runManage/assessment/components/uese/index.vue index 2d71574a..a0ed1092 100644 --- a/src/views/pqs/runManage/assessment/components/uese/index.vue +++ b/src/views/pqs/runManage/assessment/components/uese/index.vue @@ -55,7 +55,7 @@ @@ -70,6 +70,8 @@ import Table from '@/components/table/index.vue' import TableHeader from '@/components/table/header/index.vue' import { useDictData } from '@/stores/dictData' import { ElMessage, ElMessageBox, ElDatePicker } from 'element-plus' +import { useRouter } from 'vue-router' +const { push } = useRouter() const dictData = useDictData() const areaOptionList = dictData.getBasicData('jibei_area') //字典获取电压等级 @@ -125,7 +127,16 @@ tableStore.table.params.searchValue = '' tableStore.table.params.searchState = '' provide('tableStore', tableStore) - +// 新增评估用户页面 +const addForm = () => { + push({ + path: 'addUser', + query: { + type: 1, + t: Date.now() + } + }) +} onMounted(() => { tableStore.index() })