政务云服务平台、运营云服务平台添加退出按钮到门户首页的配置

This commit is contained in:
郭永超 2025-07-01 10:53:40 +08:00
parent 78a7ef2937
commit ca39c3176b
15 changed files with 37 additions and 8 deletions

View File

@ -18,4 +18,4 @@ VITE_APP_UPLOAD_API = '/uploadApis'
# 内网接口地址
VITE_APP_BASE_URL = 'http://192.168.18.88:8080'
VITE_APP_UPLOAD_URL = 'http://192.168.18.88:8080'
# VITE_APP_VIST_URL = 'http://192.168.18.99'
VITE_APP_VIST_URL = 'http://192.168.18.99'

View File

@ -18,4 +18,6 @@ VITE_APP_UPLOAD_URL = 'http://192.168.18.88:8080'
# 本地开发接口地址
# VITE_APP_BASE_URL = 'http://192.168.18.99:8080'
# VITE_APP_UPLOAD_URL = 'http://192.168.18.99:8080'
# VITE_APP_UPLOAD_URL = 'http://192.168.18.99:8080'
VITE_APP_PLATFORM = 'http://localhost:9000/platform'

View File

@ -9,3 +9,5 @@ VITE_APP_BASE_API = '/apis'
VITE_APP_BASE_URL = ''
VITE_APP_UPLOAD_API = '/uploadApis'
VITE_APP_UPLOAD_URL = ''
VITE_APP_PLATFORM = 'http://47.109.205.240/platform'

Binary file not shown.

After

Width:  |  Height:  |  Size: 580 B

View File

@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1751332976710" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="9309" xmlns:xlink="http://www.w3.org/1999/xlink" width="48" height="48"><path d="M950.093 487.772L770.318 314.694c-14.382-13.851-35.955-13.851-50.336 0-14.382 13.842-14.382 34.614 0 48.465l118.647 114.228H493.461c-21.573 0-35.955 13.842-35.955 34.614s14.382 34.614 35.955 34.614h345.168L719.99 660.843c-14.382 13.851-14.382 34.623 0 48.465 7.192 6.93 14.382 10.386 25.164 10.386 10.792 0 17.982-3.465 25.173-10.386l179.775-176.535s0-3.465 3.6-3.465c10.782-10.386 10.782-31.149-3.6-41.535z" p-id="9310"></path><path d="M853.01 754.307c-21.573 0-35.955 13.851-35.955 34.614v69.237c0 20.763-14.382 34.614-35.955 34.614H169.865c-21.573 0-35.955-13.851-35.955-34.614V165.841c0-20.763 14.382-34.614 35.955-34.614H781.1c21.573 0 35.955 13.851 35.955 34.614v69.237c0 20.764 14.382 34.614 35.955 34.614s35.955-13.851 35.955-34.614v-69.237c0-58.842-46.736-103.842-107.865-103.842H169.865c-61.119 0-107.865 45-107.865 103.842v692.317C62 917 108.747 962 169.865 962H781.1c61.128 0 107.865-45 107.865-103.842v-69.237c0-20.764-14.382-34.614-35.955-34.614z" p-id="9311"></path></svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@ -14,6 +14,9 @@
<Breadcrumb />
</div>
<div class="layout-header-right">
<el-tooltip effect="dark" content="退出" placement="bottom">
<img src="@/assets/images/quit.svg" alt="" class="layout-header-home" @click="goHome" />
</el-tooltip>
<ScreenFull class="layout-header-tool" />
<Avatar class="layout-header-tool" />
</div>
@ -23,7 +26,7 @@
</template>
<script setup name="layout-header">
import { computed } from 'vue';
import { ref, computed } from 'vue';
import { useSettingStore } from '@/store/modules/setting';
import { setPx } from '@/utils';
import Hamburger from '../Hamburger';
@ -32,6 +35,11 @@ import ScreenFull from '../ScreenFull';
import Avatar from '../Avatar';
import TagsView from '../TagsView';
const { VITE_APP_PLATFORM } = import.meta.env;
const goHome = () => {
window.location.href = VITE_APP_PLATFORM;
};
const SettingStore = useSettingStore();
//
@ -98,4 +106,10 @@ const stylePlaceholder = () => {
}
}
}
.layout-header-home {
width: 20px;
height: 20px;
margin-right: 10px;
cursor: pointer;
}
</style>

View File

@ -150,7 +150,7 @@ const columns = ref([
{ prop: 'idCard', label: '身份证号' },
{ prop: 'gridName', label: '所属网格' },
{ prop: 'phone', label: '联系方式' },
{ prop: 'bankAccount', label: '银行账户信息' },
// { prop: 'bankAccount', label: '' },
{ prop: 'applicantType', label: '申请人身份' },
{ prop: 'landNumber', label: '地块编号' },
{ prop: 'planLocation', label: '种植地点' },

View File

@ -150,7 +150,7 @@ const columns = ref([
{ prop: 'idCard', label: '身份证号' },
{ prop: 'gridName', label: '所属网格' },
{ prop: 'phone', label: '联系方式' },
{ prop: 'bankAccount', label: '银行账户信息' },
// { prop: 'bankAccount', label: '' },
{ prop: 'applicantType', label: '申请人身份' },
{ prop: 'landNumber', label: '地块编号' },
{ prop: 'planLocation', label: '种植地点' },

View File

@ -146,7 +146,7 @@ const columns = ref([
{ prop: 'idCard', label: '身份证号' },
{ prop: 'gridName', label: '所属网格' },
{ prop: 'phone', label: '联系方式' },
{ prop: 'bankAccount', label: '银行账户信息' },
// { prop: 'bankAccount', label: '' },
{ prop: 'applicantType', label: '申请人身份' },
{ prop: 'landNumber', label: '地块编号' },
{ prop: 'planLocation', label: '种植地点' },

View File

@ -215,7 +215,7 @@ const crudOptions = reactive({
{ label: '所属行政区划', prop: 'address' },
{ label: '所属网格', prop: 'gridCode' },
{ label: '种植作物', prop: 'planCropName' },
{ label: '账号(手机号)', prop: 'phone' },
// { label: '', prop: 'phone' },
{ label: '创建时间', prop: 'createTime' },
{ label: '更新时间', prop: 'updateTime' },
],

View File

@ -24,6 +24,7 @@ export default defineConfig(({ command, mode }) => {
minify: 'terser',
},
server: {
origin: 'http://localhost:9528/',
host: '0.0.0.0',
port: VITE_PORT,
open: true,

View File

@ -8,3 +8,5 @@ VITE_APP_BASE_API = '/apis'
VITE_APP_BASE_URL = 'http://192.168.18.99:8080'
VITE_APP_UPLOAD_API = '/uploadApis'
VITE_APP_UPLOAD_URL = 'http://192.168.18.99:9300'
VITE_APP_PLATFORM = 'http://localhost:9000/platform'

View File

@ -7,3 +7,5 @@ VITE_APP_BASE_API = '/apis'
VITE_APP_BASE_URL = ''
VITE_APP_UPLOAD_API = '/uploadApis'
VITE_APP_UPLOAD_URL = ''
VITE_APP_PLATFORM = 'http://47.109.205.240/platform'

View File

@ -7,3 +7,5 @@ VITE_APP_BASE_API = '/apis'
VITE_APP_BASE_URL = ''
VITE_APP_UPLOAD_API = '/uploadApis'
VITE_APP_UPLOAD_URL = ''
VITE_APP_PLATFORM = 'http://192.168.18.99/platform'

View File

@ -75,6 +75,8 @@ import { getAssetsFile } from '@/utils';
import { getGoodNum } from '@/apis/agricultural.js';
import { useMethodsStore } from '@/store/modules/methods';
const { VITE_APP_PLATFORM } = import.meta.env;
const router = useRouter();
const keyword = ref('');
@ -140,7 +142,8 @@ function Search() {
const toHome = () => {
console.info('toHome', router);
router.push('/sub-operation-service');
// router.push('/sub-operation-service');
window.location.href = VITE_APP_PLATFORM;
};
const toUserCenter = () => {