Commit a19a6ba1 by 吴春元

举报管理

parent f4752387
......@@ -8,7 +8,8 @@ import { ElConfigProvider } from "element-plus";
import { zhCn } from "element-plus/es/locale/index";
import { provide } from "vue";
const VITE_APP_TITLE = "太原市互联网宣传研究中心"; // 标题
const VITE_APP_TITLE =
"太原市互联网应急指挥和举报中心(太原市互联网宣传研究中心)"; // 标题
const VITE_ADDRESS = "山西省太原市杏花岭区新建路 78 号新闻大厦 8 层"; // 地址
const VITE_EMAIL = "tyhlwjbzx@163.com"; // 举报邮箱
const VITE_PHONE = "0351-8222236"; // 举报电话
......
......@@ -3,7 +3,7 @@ import request from "@/utils/request";
// 热点留言列表
export function getUpdateForm(data) {
return request({
url: "/cms/leavemessage/list",
url: "/cms/report/saveEntity",
method: "post",
data: data,
});
......
let baseImageUrl;
if (process.env.NODE_ENV === "development") {
// baseImageUrl = (path) => "http://192.168.19.142:9002" + path;
// baseImageUrl = (path) => "http://192.168.19.248:9002" + path;
baseImageUrl = (path) => "http://localhost:9002" + path;
// baseImageUrl = (path) => "http://yjzh.sxyztech.cn" + path;
} else {
......
......@@ -404,16 +404,16 @@ const activeNav = ref(0);
const handleClick = (index: number, entry: any) => {
switch (index) {
case 0:
const pyHomePageUrl = router.resolve({ name: "PyHome" }).href;
window.open(pyHomePageUrl, "_blank");
break;
case 1:
router.push({ path: "/home/jb" });
break;
case 2:
case 1:
const wmHomePageUrl = router.resolve({ name: "wm" }).href;
window.open(wmHomePageUrl, "_blank");
break;
case 2:
const pyHomePageUrl = router.resolve({ name: "PyHome" }).href;
window.open(pyHomePageUrl, "_blank");
break;
}
// 处理点击事件
};
......@@ -601,11 +601,6 @@ const slides = ref([]);
const quickEntries = [
{
title: "太原市互联网联合辟谣平台",
icon: "Message",
bg: "https://ai-public.mastergo.com/ai/img_res/36f741de94394af113bc0d3c823df49a.jpg",
},
{
title: "太原市互联网违法和不良信息举报平台",
icon: "Share",
bg: "https://ai-public.mastergo.com/ai/img_res/e3d550fe8d11531c42a774641cf3790a.jpg",
......@@ -615,6 +610,11 @@ const quickEntries = [
icon: "Link",
bg: "https://ai-public.mastergo.com/ai/img_res/c907287d38d89eb460120dc7cf6b2d17.jpg",
},
{
title: "太原市互联网联合辟谣平台",
icon: "Message",
bg: "https://ai-public.mastergo.com/ai/img_res/36f741de94394af113bc0d3c823df49a.jpg",
},
];
</script>
<style>
......
......@@ -67,7 +67,8 @@
>太原市互联网违法和不良信息举报平台</a
>
</h1>
<h2>太原市互联网举报电话:{{ inject("VITE_PHONE") }}</h2>
<h3>太原市互联网举报电话:{{ inject("VITE_PHONE") }}</h3>
<h3>太原市互联网举报邮箱:{{ inject("VITE_EMAIL") }}</h3>
<el-button
class="botton"
type="primary"
......
......@@ -32,9 +32,9 @@ export default defineConfig({
proxy: {
"/cms": {
target: "http://localhost:9002",
// target: "http://192.168.19.248:9002",
// target: "http://172.16.70.52:8081",
// target: "http://192.168.19.142:9002",
// target: "http://192.168.19.127:9002",
changeOrigin: true,
// rewrite: (path) => path.replace(/^\/cms/, "/cms"),
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment