Selaa lähdekoodia

Merge branch '大连交通技师学院' of https://gogs.mtavip.com/wangguoyu/uniProject into 大连交通技师学院

tanxue 2 kuukautta sitten
vanhempi
commit
3716eb88bc
56 muutettua tiedostoa jossa 1634 lisäystä ja 543 poistoa
  1. 350 7
      api/common.js
  2. 0 1
      pages/demo/richDemo.vue
  3. 46 11
      pages/dqgzDangjiangongzuo/dqgzDangjiangongzuo.vue
  4. 25 10
      pages/dqgzDangjiangongzuoInfo/dqgzDangjiangongzuoInfo.vue
  5. 27 10
      pages/dqgzDangyuanfengcai/dqgzDangyuanfengcai.vue
  6. 23 10
      pages/dqgzDangzuzhijiagou/dqgzDangzuzhijiagou.vue
  7. 27 10
      pages/dqgzGonghuizhijia/dqgzGonghuizhijia.vue
  8. 23 10
      pages/dqgzGonghuizuzhijiagou/dqgzGonghuizuzhijiagou.vue
  9. 25 10
      pages/dqgzGongzhuizhijiaInfo/dqgzGongzhuizhijiaInfo.vue
  10. 25 10
      pages/dqgzXueyuanfengcaiInfo/dqgzXueyuanfengcaiInfo.vue
  11. 6 0
      pages/index/index.vue
  12. 26 10
      pages/jyjxDasaifengcai/jyjxDasaifengcai.vue
  13. 27 10
      pages/jyjxDierketang/jyjxDierketang.vue
  14. 31 12
      pages/jyjxGuizhangzhidu/jyjxGuizhangzhidu.vue
  15. 26 10
      pages/jyjxJinengjianding/jyjxJinengjianding.vue
  16. 26 10
      pages/jyjxKeyandongtai/jyjxKeyandongtai.vue
  17. 26 10
      pages/jyjxKeyanhuodong/jyjxKeyanhuodong.vue
  18. 27 10
      pages/jyjxShiziduiwu/jyjxShiziduiwu.vue
  19. 27 10
      pages/jyjxXiaoqihezuo/jyjxXiaoqihezuo.vue
  20. 27 10
      pages/jyjxZhongdianxiangmu/jyjxZhongdianxiangmu.vue
  21. 27 10
      pages/jyjxZhuanyejianshe/jyjxZhuanyejianshe.vue
  22. 0 1
      pages/login.vue
  23. 0 1
      pages/showZhengshu.vue
  24. 23 10
      pages/xsydDeyuduiwu/xsydDeyuduiwu.vue
  25. 23 10
      pages/xsydDeyuduiwuInfo/xsydDeyuduiwuInfo.vue
  26. 23 10
      pages/xsydGongqingtuan/xsydGongqingtuan.vue
  27. 23 10
      pages/xsydGongqingtuanInfo/xsydGongqingtuanInfo.vue
  28. 23 10
      pages/xsydXueshenghuodong/xsydXueshenghuodong.vue
  29. 23 10
      pages/xsydXueshenghuodongInfo/xsydXueshenghuodongInfo.vue
  30. 23 10
      pages/xsydZizhuguanli/xsydZizhuguanli.vue
  31. 23 10
      pages/xsydZizhuguanliInfo/xsydZizhuguanliInfo.vue
  32. 23 10
      pages/xydtTongzhigonggao/xydtTongzhigonggao.vue
  33. 23 10
      pages/xydtTongzhigonggaoInfo/xydtTongzhigonggaoInfo.vue
  34. 23 10
      pages/xydtXiaowugongkai/xydtXiaowugongkai.vue
  35. 23 10
      pages/xydtXiaowugongkaiInfo/xydtXiaowugongkaiInfo.vue
  36. 23 10
      pages/xydtXueyuanfengcai/xydtXueyuanfengcai.vue
  37. 23 10
      pages/xydtXueyuanfengcaiInfo/xydtXueyuanfengcaiInfo.vue
  38. 23 10
      pages/xydtXueyuanxingwen/xydtXueyuanxingwen.vue
  39. 23 10
      pages/xydtXueyuanxinwenInfo/xydtXueyuanxinwenInfo.vue
  40. 23 10
      pages/xzzxXiazaizhongxin/xzzxXiazaizhongxin.vue
  41. 23 10
      pages/zsjyBaokaozhinan/zsjyBaokaozhinan.vue
  42. 23 10
      pages/zsjyShengxue/zsjyShengxue.vue
  43. 23 10
      pages/zsjyWangnianluqufenshu/zsjyWangnianluqufenshu.vue
  44. 23 10
      pages/zsjyXiaoqihezuo/zsjyXiaoqihezuo.vue
  45. 23 10
      pages/zsjyXiaoqihezuoInfo/zsjyXiaoqihezuoInfo.vue
  46. 23 10
      pages/zsjyYouxiubiyesheng/zsjyYouxiubiyesheng.vue
  47. 23 10
      pages/zsjyYouxiubiyeshengInfo/zsjyYouxiubiyeshengInfo.vue
  48. 23 10
      pages/zsjyYubaoming/zsjyYubaoming.vue
  49. 23 10
      pages/zsjyZhaopinxinxi/zsjyZhaopinxinxi.vue
  50. 23 10
      pages/zsjyZhaoshengjianzhang/zsjyZhaoshengjianzhang.vue
  51. 23 10
      pages/zsjyZhengcewenhuaInfo/zsjyZhengcewenhuaInfo.vue
  52. 23 10
      pages/zsjyZhengcewenjian/zsjyZhengcewenjian.vue
  53. 23 10
      pages/zsjyZhuanyejieshao/zsjyZhuanyejieshao.vue
  54. 23 10
      pages/zypxTongzhigonggao/zypxTongzhigonggao.vue
  55. 23 10
      pages/zypxTongzhigonggaoInfo/zypxTongzhigonggaoInfo.vue
  56. 51 30
      utils/common.js

+ 350 - 7
api/common.js

@@ -3,7 +3,7 @@ export function getCommonBanners(data = {}) {
 	return request({
 		'url': '/common/client/index/banner/list',
 		headers: {
-			isToken: true
+			isToken: false
 		},
 		method: 'post',
 		data,
@@ -11,11 +11,13 @@ export function getCommonBanners(data = {}) {
 	})
 }
 
+
+// 校园概述
 export function getCommonXinwenYuanxiaoList(data = {}) {
 	return request({
 		'url': '/common/xinwen/yuanxiao/list',
 		headers: {
-			isToken: true
+			isToken: false
 		},
 		method: 'post',
 		data,
@@ -27,7 +29,7 @@ export function getCommonXinwenTongzhiList(data = {}) {
 	return request({
 		'url': '/common/xinwen/tongzhi/list',
 		headers: {
-			isToken: true
+			isToken: false
 		},
 		method: 'post',
 		data,
@@ -40,7 +42,7 @@ export function getCommonXinwenXiaowuList(data = {}) {
 	return request({
 		'url': '/common/xinwen/xiaowu/list',
 		headers: {
-			isToken: true
+			isToken: false
 		},
 		method: 'post',
 		data,
@@ -52,7 +54,7 @@ export function getCommonGaikuangJianjieInfo(data = {}) {
 	return request({
 		'url': '/common/gaikuang/jianjie/info',
 		headers: {
-			isToken: true
+			isToken: false
 		},
 		method: 'post',
 		data,
@@ -64,7 +66,7 @@ export function getCommonGaikuangJigouShezhiInfo(data = {}) {
 	return request({
 		'url': '/common/gaikuang/jigou/info',
 		headers: {
-			isToken: true
+			isToken: false
 		},
 		method: 'post',
 		data,
@@ -76,7 +78,348 @@ export function getCommonGaikuangRongyuList(data = {}) {
 	return request({
 		'url': '/common/gaikuang/rongyu/list',
 		headers: {
-			isToken: true
+			isToken: false
+		},
+		method: 'post',
+		data,
+		timeout: 20000
+	})
+}
+
+
+// 党群工作
+export function getDangJianZuzhiInfo(data = {}) {
+	return request({
+		'url': '/common/dangjian/zuzhi/info',
+		headers: {
+			isToken: false
+		},
+		method: 'post',
+		data,
+		timeout: 20000
+	})
+}
+
+export function getDangjianZuzhiGonghuiInfo(data = {}) {
+	return request({
+		'url': '/common/dangjian/zuzhi/gonghui/info',
+		headers: {
+			isToken: false
+		},
+		method: 'post',
+		data,
+		timeout: 20000
+	})
+}
+
+export function getDangjianGonghuiList(data = {}) {
+	return request({
+		'url': '/common/dangjian/gonghui/list',
+		headers: {
+			isToken: false
+		},
+		method: 'post',
+		data,
+		timeout: 20000
+	})
+}
+
+export function getDangjianGonghuiInfo(data = {}) {
+	return request({
+		'url': '/common​/dangjian​/gonghui​/info',
+		headers: {
+			isToken: false
+		},
+		method: 'post',
+		data,
+		timeout: 20000
+	})
+}
+
+export function getDangjianFengcaiInfo(data = {}) {
+	return request({
+		'url': '/common/dangjian/fengcai/info',
+		headers: {
+			isToken: false
+		},
+		method: 'post',
+		data,
+		timeout: 20000
+	})
+}
+
+export function getDangjianFengcaiList(data = {}) {
+	return request({
+		'url': '/common/dangjian/fengcai/list',
+		headers: {
+			isToken: false
+		},
+		method: 'post',
+		data,
+		timeout: 20000
+	})
+}
+
+export function getDangjianGongzuoList(data = {}) {
+	return request({
+		'url': '/common/dangjian/gongzuo/list',
+		headers: {
+			isToken: false
+		},
+		method: 'post',
+		data,
+		timeout: 20000
+	})
+}
+
+export function getDangjianGongzuoInfo(data = {}) {
+	return request({
+		'url': '/common​/dangjian​/gongzuo​/info',
+		headers: {
+			isToken: false
+		},
+		method: 'post',
+		data,
+		timeout: 20000
+	})
+}
+
+// 教育教学
+
+export function getJiaoyuZhuanyejiansheList(data = {}) {
+	return request({
+		'url': '/common/jiaoyu/zhuanye/list',
+		headers: {
+			isToken: false
+		},
+		method: 'post',
+		data,
+		timeout: 20000
+	})
+}
+
+export function getJiaoyuZhuanyejiansheInfo(data = {}) {
+	return request({
+		'url': '/common/jiaoyu/zhuanye/info',
+		headers: {
+			isToken: false
+		},
+		method: 'post',
+		data,
+		timeout: 20000
+	})
+}
+
+export function getJiaoyuDasaiList(data = {}) {
+	return request({
+		'url': '/common/jiaoyu/dasai/list',
+		headers: {
+			isToken: false
+		},
+		method: 'post',
+		data,
+		timeout: 20000
+	})
+}
+
+export function getJiaoyuDasaiInfo(data = {}) {
+	return request({
+		'url': '/common/jiaoyu/dasai/info',
+		headers: {
+			isToken: false
+		},
+		method: 'post',
+		data,
+		timeout: 20000
+	})
+}
+
+export function getJiaoyuShiziList(data = {}) {
+	return request({
+		'url': '/common/jiaoyu/duiwu/list',
+		headers: {
+			isToken: false
+		},
+		method: 'post',
+		data,
+		timeout: 20000
+	})
+}
+
+export function getJiaoyuShiziInfo(data = {}) {
+	return request({
+		'url': '/common/jiaoyu/duiwu/info',
+		headers: {
+			isToken: false
+		},
+		method: 'post',
+		data,
+		timeout: 20000
+	})
+}
+
+export function getJiaoyuJinengList(data = {}) {
+	return request({
+		'url': '/common/jiaoyu/jineng/list',
+		headers: {
+			isToken: false
+		},
+		method: 'post',
+		data,
+		timeout: 20000
+	})
+}
+
+export function getJiaoyuJinengInfo(data = {}) {
+	return request({
+		'url': '/common/jiaoyu/jineng/info',
+		headers: {
+			isToken: false
+		},
+		method: 'post',
+		data,
+		timeout: 20000
+	})
+}
+
+export function getJiaoyuJiaoyanList(data = {}) {
+	return request({
+		'url': '/common/jiaoyu/jiaoyan/list',
+		headers: {
+			isToken: false
+		},
+		method: 'post',
+		data,
+		timeout: 20000
+	})
+}
+
+export function getJiaoyuJiaoyanInfo(data = {}) {
+	return request({
+		'url': '/common/jiaoyu/jiaoyan/info',
+		headers: {
+			isToken: false
+		},
+		method: 'post',
+		data,
+		timeout: 20000
+	})
+}
+
+export function getJiaoyuXiaoqiList(data = {}) {
+	return request({
+		'url': '/common/jiaoyu/xiaoqi/list',
+		headers: {
+			isToken: false
+		},
+		method: 'post',
+		data,
+		timeout: 20000
+	})
+}
+
+export function getJiaoyuXiaoqiInfo(data = {}) {
+	return request({
+		'url': '/common/jiaoyu/xiaoqi/info',
+		headers: {
+			isToken: false
+		},
+		method: 'post',
+		data,
+		timeout: 20000
+	})
+}
+
+export function getJiaoyuKeyanList(data = {}) {
+	return request({
+		'url': '/common/jiaoyu/keyan/list',
+		headers: {
+			isToken: false
+		},
+		method: 'post',
+		data,
+		timeout: 20000
+	})
+}
+
+export function getJiaoyuKeyanInfo(data = {}) {
+	return request({
+		'url': '/common/jiaoyu/keyan/info',
+		headers: {
+			isToken: false
+		},
+		method: 'post',
+		data,
+		timeout: 20000
+	})
+}
+
+export function getJiaoyuKetangList(data = {}) {
+	return request({
+		'url': '/common/jiaoyu/keyan/list',
+		headers: {
+			isToken: false
+		},
+		method: 'post',
+		data,
+		timeout: 20000
+	})
+}
+
+export function getJiaoyuKetangInfo(data = {}) {
+	return request({
+		'url': '/common/jiaoyu/ketang/info',
+		headers: {
+			isToken: false
+		},
+		method: 'post',
+		data,
+		timeout: 20000
+	})
+}
+
+export function getJiaoyuZhiduList(data = {}) {
+	return request({
+		'url': '/common/jiaoyu/zhidu/list',
+		headers: {
+			isToken: false
+		},
+		method: 'post',
+		data,
+		timeout: 20000
+	})
+}
+
+
+export function getJiaoyuZhiduInfo(data = {}) {
+	return request({
+		'url': '/common/jiaoyu/zhidu/info',
+		headers: {
+			isToken: false
+		},
+		method: 'post',
+		data,
+		timeout: 20000
+	})
+}
+
+export function getJiaoyuXiangmuInfo(data = {}) {
+	return request({
+		'url': '/common/jiaoyu/xiangmu/info',
+		headers: {
+			isToken: false
+		},
+		method: 'post',
+		data,
+		timeout: 20000
+	})
+}
+
+export function getJiaoyuXiangmuList(data = {}) {
+	return request({
+		'url': '/common/jiaoyu/xiangmu/list',
+		headers: {
+			isToken: false
 		},
 		method: 'post',
 		data,

+ 0 - 1
pages/demo/richDemo.vue

@@ -13,7 +13,6 @@
 	</view>
 </template>
 <script setup>
-	import CryptoJS from 'crypto-js';
 	import {
 		toast
 	} from "@/utils/common";

+ 46 - 11
pages/dqgzDangjiangongzuo/dqgzDangjiangongzuo.vue

@@ -1,19 +1,54 @@
 <template>
 	<view>
-		
+		<MtaScrollViewVue :refreshFn="getList">
+			<template v-slot="{ list }">
+				<div v-for="item in list" :key="item.id" @click="handleClick(item)">
+					<image :src="item.cover"></image>
+					<br>
+					{{formatDateToYearMonthDay(item.createTime)}}
+					<br>
+					{{item.title}}
+				</div>
+			</template>
+		</MtaScrollViewVue>
 	</view>
 </template>
 
-<script>
-	export default {
-		data() {
-			return {
-				
-			}
-		},
-		methods: {
-			
-		}
+<script setup>
+	import {
+		ref,
+		reactive
+	} from "vue";
+	import {
+		onLoad
+	} from "@dcloudio/uni-app"
+	import * as httpApi from "@/api/common.js"
+	import MtaScrollViewVue from "@/components/MtaScrollView/MtaScrollView.vue";
+	import {formatDateToYearMonthDay}from"@/utils/common.js"
+	
+	const data = reactive({
+		list: '',
+		total: '',
+		page: 1,
+		size: 5
+	})
+	
+	onLoad(() => {
+	})
+	
+	function handleClick(data) {
+		console.log('data',data);
+	}
+	
+	function getList(data) {
+		return httpApi.getDangjianGongzuoList(data)
+	}
+	
+	function pageInit() {
+		httpApi.getDangjianGongzuoList({page: data.page,size:data.size}).then(res => {
+			data.list = res.data.data;
+			data.total = res.data.total;
+		})
 	}
 </script>
 

+ 25 - 10
pages/dqgzDangjiangongzuoInfo/dqgzDangjiangongzuoInfo.vue

@@ -4,16 +4,31 @@
 	</view>
 </template>
 
-<script>
-	export default {
-		data() {
-			return {
-				
-			}
-		},
-		methods: {
-			
-		}
+<script setup>
+	import {
+		ref,
+		reactive
+	} from "vue";
+	import {
+		onLoad
+	} from "@dcloudio/uni-app"
+	import * as httpApi from "@/api/common.js"
+	
+	
+	const data = reactive({
+		info: '',
+		id: null
+	})
+	
+	onLoad((id) => {
+		data.id = id;
+		pageInit();
+	})
+	
+	function pageInit() {
+		httpApi.getDangjianGongzuoInfo({id: data.id}).then(res => {
+			data.info = res.data;
+		})
 	}
 </script>
 

+ 27 - 10
pages/dqgzDangyuanfengcai/dqgzDangyuanfengcai.vue

@@ -4,16 +4,33 @@
 	</view>
 </template>
 
-<script>
-	export default {
-		data() {
-			return {
-				
-			}
-		},
-		methods: {
-			
-		}
+<script setup>
+	import {
+		ref,
+		reactive
+	} from "vue";
+	import {
+		onLoad
+	} from "@dcloudio/uni-app"
+	import * as httpApi from "@/api/common.js"
+	
+	
+	const data = reactive({
+		content: '',
+		page: 1,
+		size: 5
+		
+	})
+	
+	onLoad(() => {
+		pageInit();
+	})
+	
+	function pageInit() {
+		httpApi.getDangjianFengcaiList({page: data.page,size: data.size}).then(res => {
+			data.list = res.data.data;
+			data.total = res.data.total;
+		})
 	}
 </script>
 

+ 23 - 10
pages/dqgzDangzuzhijiagou/dqgzDangzuzhijiagou.vue

@@ -4,16 +4,29 @@
 	</view>
 </template>
 
-<script>
-	export default {
-		data() {
-			return {
-				
-			}
-		},
-		methods: {
-			
-		}
+<script setup>
+	import {
+		ref,
+		reactive
+	} from "vue";
+	import {
+		onLoad
+	} from "@dcloudio/uni-app"
+	import * as httpApi from "@/api/common.js"
+	
+	
+	const data = reactive({
+		content: ''
+	})
+	
+	onLoad(() => {
+		pageInit();
+	})
+	
+	function pageInit() {
+		httpApi.getCommonGaikuangJigouShezhiInfo().then(res => {
+			data.content = res.data.content;
+		})
 	}
 </script>
 

+ 27 - 10
pages/dqgzGonghuizhijia/dqgzGonghuizhijia.vue

@@ -4,16 +4,33 @@
 	</view>
 </template>
 
-<script>
-	export default {
-		data() {
-			return {
-				
-			}
-		},
-		methods: {
-			
-		}
+<script setup>
+	import {
+		ref,
+		reactive
+	} from "vue";
+	import {
+		onLoad
+	} from "@dcloudio/uni-app"
+	import * as httpApi from "@/api/common.js"
+	
+	
+	const data = reactive({
+		list: [],
+		total: 0,
+		page: 1,
+		size: 5
+	})
+	
+	onLoad(() => {
+		pageInit();
+	})
+	
+	function pageInit() {
+		httpApi.getDangjianGonghuiList({page: data.page,size: data.size}).then(res => {
+			data.list = res.data.data;
+			data.total = res.data.total;
+		})
 	}
 </script>
 

+ 23 - 10
pages/dqgzGonghuizuzhijiagou/dqgzGonghuizuzhijiagou.vue

@@ -4,16 +4,29 @@
 	</view>
 </template>
 
-<script>
-	export default {
-		data() {
-			return {
-				
-			}
-		},
-		methods: {
-			
-		}
+<script setup>
+	import {
+		ref,
+		reactive
+	} from "vue";
+	import {
+		onLoad
+	} from "@dcloudio/uni-app"
+	import * as httpApi from "@/api/common.js"
+	
+	
+	const data = reactive({
+		content: ''
+	})
+	
+	onLoad(() => {
+		pageInit();
+	})
+	
+	function pageInit() {
+		httpApi.getDangjianZuzhiGonghuiInfo().then(res => {
+			data.content = res.data.content;
+		})
 	}
 </script>
 

+ 25 - 10
pages/dqgzGongzhuizhijiaInfo/dqgzGongzhuizhijiaInfo.vue

@@ -4,16 +4,31 @@
 	</view>
 </template>
 
-<script>
-	export default {
-		data() {
-			return {
-				
-			}
-		},
-		methods: {
-			
-		}
+<script setup>
+	import {
+		ref,
+		reactive
+	} from "vue";
+	import {
+		onLoad
+	} from "@dcloudio/uni-app"
+	import * as httpApi from "@/api/common.js"
+	
+	
+	const data = reactive({
+		info: '',
+		id: null
+	})
+	
+	onLoad(({id}) => {
+		data.id = id;
+		pageInit();
+	})
+	
+	function pageInit() {
+		httpApi.getDangjianGonghuiInfo({id: data.id}).then(res => {
+			data.info = res.data;
+		})
 	}
 </script>
 

+ 25 - 10
pages/dqgzXueyuanfengcaiInfo/dqgzXueyuanfengcaiInfo.vue

@@ -4,16 +4,31 @@
 	</view>
 </template>
 
-<script>
-	export default {
-		data() {
-			return {
-				
-			}
-		},
-		methods: {
-			
-		}
+<script setup>
+	import {
+		ref,
+		reactive
+	} from "vue";
+	import {
+		onLoad
+	} from "@dcloudio/uni-app"
+	import * as httpApi from "@/api/common.js"
+	
+	
+	const data = reactive({
+		info: '',
+		id: null,
+	})
+	
+	onLoad(({id}) => {
+		data.id = id;
+		pageInit();
+	})
+	
+	function pageInit() {
+		httpApi.getDangjianFengcaiInfo({id: data.id}).then(res => {
+			data.info = res.data;
+		})
 	}
 </script>
 

+ 6 - 0
pages/index/index.vue

@@ -1,5 +1,8 @@
 <template>
 	<view class="lli-index-page">
+		
+		<btnMenuVue></btnMenuVue>
+		
 		<view class="uni-margin-wrap">
 			<swiper class="swiper" circular :indicator-dots="true" :autoplay="true" :interval="5000">
 				<swiper-item v-for="item in banners" :key="item.id" @click="handleBannerSelect(item)">
@@ -32,6 +35,9 @@
 		onLoad
 	} from "@dcloudio/uni-app"
 	import * as httpApi from "@/api/common.js"
+	import btnMenuVue from "@/components/btnMenu.vue";
+	
+	
 	const banners = ref('');
 	const data = reactive({
 		xinwen: [],

+ 26 - 10
pages/jyjxDasaifengcai/jyjxDasaifengcai.vue

@@ -4,16 +4,32 @@
 	</view>
 </template>
 
-<script>
-	export default {
-		data() {
-			return {
-				
-			}
-		},
-		methods: {
-			
-		}
+<script setup>
+	import {
+		ref,
+		reactive
+	} from "vue";
+	import {
+		onLoad
+	} from "@dcloudio/uni-app"
+	import * as httpApi from "@/api/common.js"
+	
+	
+	const data = reactive({
+		list: '',
+		page: 1,
+		size: 20,
+		total: 0
+	})
+	
+	onLoad(() => {
+		pageInit();
+	})
+	
+	function pageInit() {
+		httpApi.getJiaoyuDasaiList({page:data.page,size:data.size}).then(res => {
+			data.content = res.data.content;
+		})
 	}
 </script>
 

+ 27 - 10
pages/jyjxDierketang/jyjxDierketang.vue

@@ -4,16 +4,33 @@
 	</view>
 </template>
 
-<script>
-	export default {
-		data() {
-			return {
-				
-			}
-		},
-		methods: {
-			
-		}
+<script setup>
+	import {
+		ref,
+		reactive
+	} from "vue";
+	import {
+		onLoad
+	} from "@dcloudio/uni-app"
+	import * as httpApi from "@/api/common.js"
+	
+	
+	const data = reactive({
+		list: [],
+		page: 1,
+		size: 5,
+		total: 0
+	})
+	
+	onLoad(() => {
+		pageInit();
+	})
+	
+	function pageInit() {
+		httpApi.getJiaoyuKetangList({page: data.page,size:data.size}).then(res => {
+			data.list = res.data.data;
+			data.total = res.data.total;
+		})
 	}
 </script>
 

+ 31 - 12
pages/jyjxGuizhangzhidu/jyjxGuizhangzhidu.vue

@@ -1,22 +1,41 @@
 <template>
 	<view>
-		
+
 	</view>
 </template>
 
-<script>
-	export default {
-		data() {
-			return {
-				
-			}
-		},
-		methods: {
-			
-		}
+<script setup>
+	import {
+		ref,
+		reactive
+	} from "vue";
+	import {
+		onLoad
+	} from "@dcloudio/uni-app"
+	import * as httpApi from "@/api/common.js"
+
+
+	const data = reactive({
+		content: '',
+		page: 1,
+		size: 5,
+		total: 0
+	})
+
+	onLoad(() => {
+		pageInit();
+	})
+
+	function pageInit() {
+		httpApi.getJiaoyuZhiduList({
+			page: data.page,
+			size: data.size
+		}).then(res => {
+			data.content = res.data.content;
+		})
 	}
 </script>
 
 <style>
 
-</style>
+</style>

+ 26 - 10
pages/jyjxJinengjianding/jyjxJinengjianding.vue

@@ -4,16 +4,32 @@
 	</view>
 </template>
 
-<script>
-	export default {
-		data() {
-			return {
-				
-			}
-		},
-		methods: {
-			
-		}
+<script setup>
+	import {
+		ref,
+		reactive
+	} from "vue";
+	import {
+		onLoad
+	} from "@dcloudio/uni-app"
+	import * as httpApi from "@/api/common.js"
+	
+	
+	const data = reactive({
+		list: [],
+		page: 1,
+		size: 5,
+		total: 0
+	})
+	
+	onLoad(() => {
+		pageInit();
+	})
+	
+	function pageInit() {
+		httpApi.getJiaoyuJinengList({page:data.page,size:data.size}).then(res => {
+			data.content = res.data.content;
+		})
 	}
 </script>
 

+ 26 - 10
pages/jyjxKeyandongtai/jyjxKeyandongtai.vue

@@ -4,16 +4,32 @@
 	</view>
 </template>
 
-<script>
-	export default {
-		data() {
-			return {
-				
-			}
-		},
-		methods: {
-			
-		}
+<script setup>
+	import {
+		ref,
+		reactive
+	} from "vue";
+	import {
+		onLoad
+	} from "@dcloudio/uni-app"
+	import * as httpApi from "@/api/common.js"
+	
+	
+	const data = reactive({
+		list: [],
+		page:1,
+		size: 5,
+		total: 0
+	})
+	
+	onLoad(() => {
+		pageInit();
+	})
+	
+	function pageInit() {
+		httpApi.getJiaoyuKeyanList({page: 1,size: 5}).then(res => {
+			data.list = res.data.data;
+		})
 	}
 </script>
 

+ 26 - 10
pages/jyjxKeyanhuodong/jyjxKeyanhuodong.vue

@@ -4,16 +4,32 @@
 	</view>
 </template>
 
-<script>
-	export default {
-		data() {
-			return {
-				
-			}
-		},
-		methods: {
-			
-		}
+<script setup>
+	import {
+		ref,
+		reactive
+	} from "vue";
+	import {
+		onLoad
+	} from "@dcloudio/uni-app"
+	import * as httpApi from "@/api/common.js"
+	
+	
+	const data = reactive({
+		list: [],
+		page: 1,
+		size: 5,
+		total: 0
+	})
+	
+	onLoad(() => {
+		pageInit();
+	})
+	
+	function pageInit() {
+		httpApi.getJiaoyuJiaoyanList({page:data.page,size:data.size}).then(res => {
+			data.list = res.data.data;
+		})
 	}
 </script>
 

+ 27 - 10
pages/jyjxShiziduiwu/jyjxShiziduiwu.vue

@@ -4,16 +4,33 @@
 	</view>
 </template>
 
-<script>
-	export default {
-		data() {
-			return {
-				
-			}
-		},
-		methods: {
-			
-		}
+<script setup>
+	import {
+		ref,
+		reactive
+	} from "vue";
+	import {
+		onLoad
+	} from "@dcloudio/uni-app"
+	import * as httpApi from "@/api/common.js"
+	
+	
+	const data = reactive({
+		list: [],
+		page: 1,
+		size: 5,
+		total: 0
+	})
+	
+	onLoad(() => {
+		pageInit();
+	})
+	
+	function pageInit() {
+		httpApi.getJiaoyuShiziList({page:data.page,size:data.size}).then(res => {
+			data.list = res.data.data;
+			data.total = res.data.total;
+		})
 	}
 </script>
 

+ 27 - 10
pages/jyjxXiaoqihezuo/jyjxXiaoqihezuo.vue

@@ -4,16 +4,33 @@
 	</view>
 </template>
 
-<script>
-	export default {
-		data() {
-			return {
-				
-			}
-		},
-		methods: {
-			
-		}
+<script setup>
+	import {
+		ref,
+		reactive
+	} from "vue";
+	import {
+		onLoad
+	} from "@dcloudio/uni-app"
+	import * as httpApi from "@/api/common.js"
+	
+	
+	const data = reactive({
+		list: [],
+		page: 1,
+		size:5,
+		total: 0
+	})
+	
+	onLoad(() => {
+		pageInit();
+	})
+	
+	function pageInit() {
+		httpApi.getJiaoyuXiaoqiList({page: data.page,size:data.size}).then(res => {
+			data.list = res.data.data;
+			data.total = res.data.total;
+		})
 	}
 </script>
 

+ 27 - 10
pages/jyjxZhongdianxiangmu/jyjxZhongdianxiangmu.vue

@@ -4,16 +4,33 @@
 	</view>
 </template>
 
-<script>
-	export default {
-		data() {
-			return {
-				
-			}
-		},
-		methods: {
-			
-		}
+<script setup>
+	import {
+		ref,
+		reactive
+	} from "vue";
+	import {
+		onLoad
+	} from "@dcloudio/uni-app"
+	import * as httpApi from "@/api/common.js"
+	
+	
+	const data = reactive({
+		list: [],
+		total: 0,
+		page: 1,
+		size: 5
+	})
+	
+	onLoad(() => {
+		pageInit();
+	})
+	
+	function pageInit() {
+		httpApi.getJiaoyuXiangmuList({page:data.page,size:data.size}).then(res => {
+			data.list = res.data.data;
+			data.total = res.data.total;
+		})
 	}
 </script>
 

+ 27 - 10
pages/jyjxZhuanyejianshe/jyjxZhuanyejianshe.vue

@@ -4,16 +4,33 @@
 	</view>
 </template>
 
-<script>
-	export default {
-		data() {
-			return {
-				
-			}
-		},
-		methods: {
-			
-		}
+<script setup>
+	import {
+		ref,
+		reactive
+	} from "vue";
+	import {
+		onLoad
+	} from "@dcloudio/uni-app"
+	import * as httpApi from "@/api/common.js"
+	
+	
+	const data = reactive({
+		list: [],
+		total: 0,
+		page: 1,
+		size: 5
+	})
+	
+	onLoad(() => {
+		pageInit();
+	})
+	
+	function pageInit() {
+		httpApi.getJiaoyuZhuanyejiansheList({page:data.page,size:data.size}).then(res => {
+			data.list = res.data.data;
+			data.total = res.data.total;
+		})
 	}
 </script>
 

+ 0 - 1
pages/login.vue

@@ -12,7 +12,6 @@
 </template>
 
 <script setup>
-	import CryptoJS from 'crypto-js';
 	import {
 		toast
 	} from "@/utils/common";

+ 0 - 1
pages/showZhengshu.vue

@@ -12,7 +12,6 @@
 </template>
 
 <script setup>
-	import CryptoJS from 'crypto-js';
 	import {
 		toast
 	} from "@/utils/common";

+ 23 - 10
pages/xsydDeyuduiwu/xsydDeyuduiwu.vue

@@ -4,16 +4,29 @@
 	</view>
 </template>
 
-<script>
-	export default {
-		data() {
-			return {
-				
-			}
-		},
-		methods: {
-			
-		}
+<script setup>
+	import {
+		ref,
+		reactive
+	} from "vue";
+	import {
+		onLoad
+	} from "@dcloudio/uni-app"
+	import * as httpApi from "@/api/common.js"
+	
+	
+	const data = reactive({
+		content: ''
+	})
+	
+	onLoad(() => {
+		pageInit();
+	})
+	
+	function pageInit() {
+		httpApi.getCommonGaikuangJigouShezhiInfo().then(res => {
+			data.content = res.data.content;
+		})
 	}
 </script>
 

+ 23 - 10
pages/xsydDeyuduiwuInfo/xsydDeyuduiwuInfo.vue

@@ -4,16 +4,29 @@
 	</view>
 </template>
 
-<script>
-	export default {
-		data() {
-			return {
-				
-			}
-		},
-		methods: {
-			
-		}
+<script setup>
+	import {
+		ref,
+		reactive
+	} from "vue";
+	import {
+		onLoad
+	} from "@dcloudio/uni-app"
+	import * as httpApi from "@/api/common.js"
+	
+	
+	const data = reactive({
+		content: ''
+	})
+	
+	onLoad(() => {
+		pageInit();
+	})
+	
+	function pageInit() {
+		httpApi.getCommonGaikuangJigouShezhiInfo().then(res => {
+			data.content = res.data.content;
+		})
 	}
 </script>
 

+ 23 - 10
pages/xsydGongqingtuan/xsydGongqingtuan.vue

@@ -4,16 +4,29 @@
 	</view>
 </template>
 
-<script>
-	export default {
-		data() {
-			return {
-				
-			}
-		},
-		methods: {
-			
-		}
+<script setup>
+	import {
+		ref,
+		reactive
+	} from "vue";
+	import {
+		onLoad
+	} from "@dcloudio/uni-app"
+	import * as httpApi from "@/api/common.js"
+	
+	
+	const data = reactive({
+		content: ''
+	})
+	
+	onLoad(() => {
+		pageInit();
+	})
+	
+	function pageInit() {
+		httpApi.getCommonGaikuangJigouShezhiInfo().then(res => {
+			data.content = res.data.content;
+		})
 	}
 </script>
 

+ 23 - 10
pages/xsydGongqingtuanInfo/xsydGongqingtuanInfo.vue

@@ -4,16 +4,29 @@
 	</view>
 </template>
 
-<script>
-	export default {
-		data() {
-			return {
-				
-			}
-		},
-		methods: {
-			
-		}
+<script setup>
+	import {
+		ref,
+		reactive
+	} from "vue";
+	import {
+		onLoad
+	} from "@dcloudio/uni-app"
+	import * as httpApi from "@/api/common.js"
+	
+	
+	const data = reactive({
+		content: ''
+	})
+	
+	onLoad(() => {
+		pageInit();
+	})
+	
+	function pageInit() {
+		httpApi.getCommonGaikuangJigouShezhiInfo().then(res => {
+			data.content = res.data.content;
+		})
 	}
 </script>
 

+ 23 - 10
pages/xsydXueshenghuodong/xsydXueshenghuodong.vue

@@ -4,16 +4,29 @@
 	</view>
 </template>
 
-<script>
-	export default {
-		data() {
-			return {
-				
-			}
-		},
-		methods: {
-			
-		}
+<script setup>
+	import {
+		ref,
+		reactive
+	} from "vue";
+	import {
+		onLoad
+	} from "@dcloudio/uni-app"
+	import * as httpApi from "@/api/common.js"
+	
+	
+	const data = reactive({
+		content: ''
+	})
+	
+	onLoad(() => {
+		pageInit();
+	})
+	
+	function pageInit() {
+		httpApi.getCommonGaikuangJigouShezhiInfo().then(res => {
+			data.content = res.data.content;
+		})
 	}
 </script>
 

+ 23 - 10
pages/xsydXueshenghuodongInfo/xsydXueshenghuodongInfo.vue

@@ -4,16 +4,29 @@
 	</view>
 </template>
 
-<script>
-	export default {
-		data() {
-			return {
-				
-			}
-		},
-		methods: {
-			
-		}
+<script setup>
+	import {
+		ref,
+		reactive
+	} from "vue";
+	import {
+		onLoad
+	} from "@dcloudio/uni-app"
+	import * as httpApi from "@/api/common.js"
+	
+	
+	const data = reactive({
+		content: ''
+	})
+	
+	onLoad(() => {
+		pageInit();
+	})
+	
+	function pageInit() {
+		httpApi.getCommonGaikuangJigouShezhiInfo().then(res => {
+			data.content = res.data.content;
+		})
 	}
 </script>
 

+ 23 - 10
pages/xsydZizhuguanli/xsydZizhuguanli.vue

@@ -4,16 +4,29 @@
 	</view>
 </template>
 
-<script>
-	export default {
-		data() {
-			return {
-				
-			}
-		},
-		methods: {
-			
-		}
+<script setup>
+	import {
+		ref,
+		reactive
+	} from "vue";
+	import {
+		onLoad
+	} from "@dcloudio/uni-app"
+	import * as httpApi from "@/api/common.js"
+	
+	
+	const data = reactive({
+		content: ''
+	})
+	
+	onLoad(() => {
+		pageInit();
+	})
+	
+	function pageInit() {
+		httpApi.getCommonGaikuangJigouShezhiInfo().then(res => {
+			data.content = res.data.content;
+		})
 	}
 </script>
 

+ 23 - 10
pages/xsydZizhuguanliInfo/xsydZizhuguanliInfo.vue

@@ -4,16 +4,29 @@
 	</view>
 </template>
 
-<script>
-	export default {
-		data() {
-			return {
-				
-			}
-		},
-		methods: {
-			
-		}
+<script setup>
+	import {
+		ref,
+		reactive
+	} from "vue";
+	import {
+		onLoad
+	} from "@dcloudio/uni-app"
+	import * as httpApi from "@/api/common.js"
+	
+	
+	const data = reactive({
+		content: ''
+	})
+	
+	onLoad(() => {
+		pageInit();
+	})
+	
+	function pageInit() {
+		httpApi.getCommonGaikuangJigouShezhiInfo().then(res => {
+			data.content = res.data.content;
+		})
 	}
 </script>
 

+ 23 - 10
pages/xydtTongzhigonggao/xydtTongzhigonggao.vue

@@ -4,16 +4,29 @@
 	</view>
 </template>
 
-<script>
-	export default {
-		data() {
-			return {
-				
-			}
-		},
-		methods: {
-			
-		}
+<script setup>
+	import {
+		ref,
+		reactive
+	} from "vue";
+	import {
+		onLoad
+	} from "@dcloudio/uni-app"
+	import * as httpApi from "@/api/common.js"
+	
+	
+	const data = reactive({
+		content: ''
+	})
+	
+	onLoad(() => {
+		pageInit();
+	})
+	
+	function pageInit() {
+		httpApi.getCommonGaikuangJigouShezhiInfo().then(res => {
+			data.content = res.data.content;
+		})
 	}
 </script>
 

+ 23 - 10
pages/xydtTongzhigonggaoInfo/xydtTongzhigonggaoInfo.vue

@@ -4,16 +4,29 @@
 	</view>
 </template>
 
-<script>
-	export default {
-		data() {
-			return {
-				
-			}
-		},
-		methods: {
-			
-		}
+<script setup>
+	import {
+		ref,
+		reactive
+	} from "vue";
+	import {
+		onLoad
+	} from "@dcloudio/uni-app"
+	import * as httpApi from "@/api/common.js"
+	
+	
+	const data = reactive({
+		content: ''
+	})
+	
+	onLoad(() => {
+		pageInit();
+	})
+	
+	function pageInit() {
+		httpApi.getCommonGaikuangJigouShezhiInfo().then(res => {
+			data.content = res.data.content;
+		})
 	}
 </script>
 

+ 23 - 10
pages/xydtXiaowugongkai/xydtXiaowugongkai.vue

@@ -4,16 +4,29 @@
 	</view>
 </template>
 
-<script>
-	export default {
-		data() {
-			return {
-				
-			}
-		},
-		methods: {
-			
-		}
+<script setup>
+	import {
+		ref,
+		reactive
+	} from "vue";
+	import {
+		onLoad
+	} from "@dcloudio/uni-app"
+	import * as httpApi from "@/api/common.js"
+	
+	
+	const data = reactive({
+		content: ''
+	})
+	
+	onLoad(() => {
+		pageInit();
+	})
+	
+	function pageInit() {
+		httpApi.getCommonGaikuangJigouShezhiInfo().then(res => {
+			data.content = res.data.content;
+		})
 	}
 </script>
 

+ 23 - 10
pages/xydtXiaowugongkaiInfo/xydtXiaowugongkaiInfo.vue

@@ -4,16 +4,29 @@
 	</view>
 </template>
 
-<script>
-	export default {
-		data() {
-			return {
-				
-			}
-		},
-		methods: {
-			
-		}
+<script setup>
+	import {
+		ref,
+		reactive
+	} from "vue";
+	import {
+		onLoad
+	} from "@dcloudio/uni-app"
+	import * as httpApi from "@/api/common.js"
+	
+	
+	const data = reactive({
+		content: ''
+	})
+	
+	onLoad(() => {
+		pageInit();
+	})
+	
+	function pageInit() {
+		httpApi.getCommonGaikuangJigouShezhiInfo().then(res => {
+			data.content = res.data.content;
+		})
 	}
 </script>
 

+ 23 - 10
pages/xydtXueyuanfengcai/xydtXueyuanfengcai.vue

@@ -4,16 +4,29 @@
 	</view>
 </template>
 
-<script>
-	export default {
-		data() {
-			return {
-				
-			}
-		},
-		methods: {
-			
-		}
+<script setup>
+	import {
+		ref,
+		reactive
+	} from "vue";
+	import {
+		onLoad
+	} from "@dcloudio/uni-app"
+	import * as httpApi from "@/api/common.js"
+	
+	
+	const data = reactive({
+		content: ''
+	})
+	
+	onLoad(() => {
+		pageInit();
+	})
+	
+	function pageInit() {
+		httpApi.getCommonGaikuangJigouShezhiInfo().then(res => {
+			data.content = res.data.content;
+		})
 	}
 </script>
 

+ 23 - 10
pages/xydtXueyuanfengcaiInfo/xydtXueyuanfengcaiInfo.vue

@@ -4,16 +4,29 @@
 	</view>
 </template>
 
-<script>
-	export default {
-		data() {
-			return {
-				
-			}
-		},
-		methods: {
-			
-		}
+<script setup>
+	import {
+		ref,
+		reactive
+	} from "vue";
+	import {
+		onLoad
+	} from "@dcloudio/uni-app"
+	import * as httpApi from "@/api/common.js"
+	
+	
+	const data = reactive({
+		content: ''
+	})
+	
+	onLoad(() => {
+		pageInit();
+	})
+	
+	function pageInit() {
+		httpApi.getCommonGaikuangJigouShezhiInfo().then(res => {
+			data.content = res.data.content;
+		})
 	}
 </script>
 

+ 23 - 10
pages/xydtXueyuanxingwen/xydtXueyuanxingwen.vue

@@ -4,16 +4,29 @@
 	</view>
 </template>
 
-<script>
-	export default {
-		data() {
-			return {
-				
-			}
-		},
-		methods: {
-			
-		}
+<script setup>
+	import {
+		ref,
+		reactive
+	} from "vue";
+	import {
+		onLoad
+	} from "@dcloudio/uni-app"
+	import * as httpApi from "@/api/common.js"
+	
+	
+	const data = reactive({
+		content: ''
+	})
+	
+	onLoad(() => {
+		pageInit();
+	})
+	
+	function pageInit() {
+		httpApi.getCommonGaikuangJigouShezhiInfo().then(res => {
+			data.content = res.data.content;
+		})
 	}
 </script>
 

+ 23 - 10
pages/xydtXueyuanxinwenInfo/xydtXueyuanxinwenInfo.vue

@@ -4,16 +4,29 @@
 	</view>
 </template>
 
-<script>
-	export default {
-		data() {
-			return {
-				
-			}
-		},
-		methods: {
-			
-		}
+<script setup>
+	import {
+		ref,
+		reactive
+	} from "vue";
+	import {
+		onLoad
+	} from "@dcloudio/uni-app"
+	import * as httpApi from "@/api/common.js"
+	
+	
+	const data = reactive({
+		content: ''
+	})
+	
+	onLoad(() => {
+		pageInit();
+	})
+	
+	function pageInit() {
+		httpApi.getCommonGaikuangJigouShezhiInfo().then(res => {
+			data.content = res.data.content;
+		})
 	}
 </script>
 

+ 23 - 10
pages/xzzxXiazaizhongxin/xzzxXiazaizhongxin.vue

@@ -4,16 +4,29 @@
 	</view>
 </template>
 
-<script>
-	export default {
-		data() {
-			return {
-				
-			}
-		},
-		methods: {
-			
-		}
+<script setup>
+	import {
+		ref,
+		reactive
+	} from "vue";
+	import {
+		onLoad
+	} from "@dcloudio/uni-app"
+	import * as httpApi from "@/api/common.js"
+	
+	
+	const data = reactive({
+		content: ''
+	})
+	
+	onLoad(() => {
+		pageInit();
+	})
+	
+	function pageInit() {
+		httpApi.getCommonGaikuangJigouShezhiInfo().then(res => {
+			data.content = res.data.content;
+		})
 	}
 </script>
 

+ 23 - 10
pages/zsjyBaokaozhinan/zsjyBaokaozhinan.vue

@@ -4,16 +4,29 @@
 	</view>
 </template>
 
-<script>
-	export default {
-		data() {
-			return {
-				
-			}
-		},
-		methods: {
-			
-		}
+<script setup>
+	import {
+		ref,
+		reactive
+	} from "vue";
+	import {
+		onLoad
+	} from "@dcloudio/uni-app"
+	import * as httpApi from "@/api/common.js"
+	
+	
+	const data = reactive({
+		content: ''
+	})
+	
+	onLoad(() => {
+		pageInit();
+	})
+	
+	function pageInit() {
+		httpApi.getCommonGaikuangJigouShezhiInfo().then(res => {
+			data.content = res.data.content;
+		})
 	}
 </script>
 

+ 23 - 10
pages/zsjyShengxue/zsjyShengxue.vue

@@ -4,16 +4,29 @@
 	</view>
 </template>
 
-<script>
-	export default {
-		data() {
-			return {
-				
-			}
-		},
-		methods: {
-			
-		}
+<script setup>
+	import {
+		ref,
+		reactive
+	} from "vue";
+	import {
+		onLoad
+	} from "@dcloudio/uni-app"
+	import * as httpApi from "@/api/common.js"
+	
+	
+	const data = reactive({
+		content: ''
+	})
+	
+	onLoad(() => {
+		pageInit();
+	})
+	
+	function pageInit() {
+		httpApi.getCommonGaikuangJigouShezhiInfo().then(res => {
+			data.content = res.data.content;
+		})
 	}
 </script>
 

+ 23 - 10
pages/zsjyWangnianluqufenshu/zsjyWangnianluqufenshu.vue

@@ -4,16 +4,29 @@
 	</view>
 </template>
 
-<script>
-	export default {
-		data() {
-			return {
-				
-			}
-		},
-		methods: {
-			
-		}
+<script setup>
+	import {
+		ref,
+		reactive
+	} from "vue";
+	import {
+		onLoad
+	} from "@dcloudio/uni-app"
+	import * as httpApi from "@/api/common.js"
+	
+	
+	const data = reactive({
+		content: ''
+	})
+	
+	onLoad(() => {
+		pageInit();
+	})
+	
+	function pageInit() {
+		httpApi.getCommonGaikuangJigouShezhiInfo().then(res => {
+			data.content = res.data.content;
+		})
 	}
 </script>
 

+ 23 - 10
pages/zsjyXiaoqihezuo/zsjyXiaoqihezuo.vue

@@ -4,16 +4,29 @@
 	</view>
 </template>
 
-<script>
-	export default {
-		data() {
-			return {
-				
-			}
-		},
-		methods: {
-			
-		}
+<script setup>
+	import {
+		ref,
+		reactive
+	} from "vue";
+	import {
+		onLoad
+	} from "@dcloudio/uni-app"
+	import * as httpApi from "@/api/common.js"
+	
+	
+	const data = reactive({
+		content: ''
+	})
+	
+	onLoad(() => {
+		pageInit();
+	})
+	
+	function pageInit() {
+		httpApi.getCommonGaikuangJigouShezhiInfo().then(res => {
+			data.content = res.data.content;
+		})
 	}
 </script>
 

+ 23 - 10
pages/zsjyXiaoqihezuoInfo/zsjyXiaoqihezuoInfo.vue

@@ -4,16 +4,29 @@
 	</view>
 </template>
 
-<script>
-	export default {
-		data() {
-			return {
-				
-			}
-		},
-		methods: {
-			
-		}
+<script setup>
+	import {
+		ref,
+		reactive
+	} from "vue";
+	import {
+		onLoad
+	} from "@dcloudio/uni-app"
+	import * as httpApi from "@/api/common.js"
+	
+	
+	const data = reactive({
+		content: ''
+	})
+	
+	onLoad(() => {
+		pageInit();
+	})
+	
+	function pageInit() {
+		httpApi.getCommonGaikuangJigouShezhiInfo().then(res => {
+			data.content = res.data.content;
+		})
 	}
 </script>
 

+ 23 - 10
pages/zsjyYouxiubiyesheng/zsjyYouxiubiyesheng.vue

@@ -4,16 +4,29 @@
 	</view>
 </template>
 
-<script>
-	export default {
-		data() {
-			return {
-				
-			}
-		},
-		methods: {
-			
-		}
+<script setup>
+	import {
+		ref,
+		reactive
+	} from "vue";
+	import {
+		onLoad
+	} from "@dcloudio/uni-app"
+	import * as httpApi from "@/api/common.js"
+	
+	
+	const data = reactive({
+		content: ''
+	})
+	
+	onLoad(() => {
+		pageInit();
+	})
+	
+	function pageInit() {
+		httpApi.getCommonGaikuangJigouShezhiInfo().then(res => {
+			data.content = res.data.content;
+		})
 	}
 </script>
 

+ 23 - 10
pages/zsjyYouxiubiyeshengInfo/zsjyYouxiubiyeshengInfo.vue

@@ -4,16 +4,29 @@
 	</view>
 </template>
 
-<script>
-	export default {
-		data() {
-			return {
-				
-			}
-		},
-		methods: {
-			
-		}
+<script setup>
+	import {
+		ref,
+		reactive
+	} from "vue";
+	import {
+		onLoad
+	} from "@dcloudio/uni-app"
+	import * as httpApi from "@/api/common.js"
+	
+	
+	const data = reactive({
+		content: ''
+	})
+	
+	onLoad(() => {
+		pageInit();
+	})
+	
+	function pageInit() {
+		httpApi.getCommonGaikuangJigouShezhiInfo().then(res => {
+			data.content = res.data.content;
+		})
 	}
 </script>
 

+ 23 - 10
pages/zsjyYubaoming/zsjyYubaoming.vue

@@ -4,16 +4,29 @@
 	</view>
 </template>
 
-<script>
-	export default {
-		data() {
-			return {
-				
-			}
-		},
-		methods: {
-			
-		}
+<script setup>
+	import {
+		ref,
+		reactive
+	} from "vue";
+	import {
+		onLoad
+	} from "@dcloudio/uni-app"
+	import * as httpApi from "@/api/common.js"
+	
+	
+	const data = reactive({
+		content: ''
+	})
+	
+	onLoad(() => {
+		pageInit();
+	})
+	
+	function pageInit() {
+		httpApi.getCommonGaikuangJigouShezhiInfo().then(res => {
+			data.content = res.data.content;
+		})
 	}
 </script>
 

+ 23 - 10
pages/zsjyZhaopinxinxi/zsjyZhaopinxinxi.vue

@@ -4,16 +4,29 @@
 	</view>
 </template>
 
-<script>
-	export default {
-		data() {
-			return {
-				
-			}
-		},
-		methods: {
-			
-		}
+<script setup>
+	import {
+		ref,
+		reactive
+	} from "vue";
+	import {
+		onLoad
+	} from "@dcloudio/uni-app"
+	import * as httpApi from "@/api/common.js"
+	
+	
+	const data = reactive({
+		content: ''
+	})
+	
+	onLoad(() => {
+		pageInit();
+	})
+	
+	function pageInit() {
+		httpApi.getCommonGaikuangJigouShezhiInfo().then(res => {
+			data.content = res.data.content;
+		})
 	}
 </script>
 

+ 23 - 10
pages/zsjyZhaoshengjianzhang/zsjyZhaoshengjianzhang.vue

@@ -4,16 +4,29 @@
 	</view>
 </template>
 
-<script>
-	export default {
-		data() {
-			return {
-				
-			}
-		},
-		methods: {
-			
-		}
+<script setup>
+	import {
+		ref,
+		reactive
+	} from "vue";
+	import {
+		onLoad
+	} from "@dcloudio/uni-app"
+	import * as httpApi from "@/api/common.js"
+	
+	
+	const data = reactive({
+		content: ''
+	})
+	
+	onLoad(() => {
+		pageInit();
+	})
+	
+	function pageInit() {
+		httpApi.getCommonGaikuangJigouShezhiInfo().then(res => {
+			data.content = res.data.content;
+		})
 	}
 </script>
 

+ 23 - 10
pages/zsjyZhengcewenhuaInfo/zsjyZhengcewenhuaInfo.vue

@@ -4,16 +4,29 @@
 	</view>
 </template>
 
-<script>
-	export default {
-		data() {
-			return {
-				
-			}
-		},
-		methods: {
-			
-		}
+<script setup>
+	import {
+		ref,
+		reactive
+	} from "vue";
+	import {
+		onLoad
+	} from "@dcloudio/uni-app"
+	import * as httpApi from "@/api/common.js"
+	
+	
+	const data = reactive({
+		content: ''
+	})
+	
+	onLoad(() => {
+		pageInit();
+	})
+	
+	function pageInit() {
+		httpApi.getCommonGaikuangJigouShezhiInfo().then(res => {
+			data.content = res.data.content;
+		})
 	}
 </script>
 

+ 23 - 10
pages/zsjyZhengcewenjian/zsjyZhengcewenjian.vue

@@ -4,16 +4,29 @@
 	</view>
 </template>
 
-<script>
-	export default {
-		data() {
-			return {
-				
-			}
-		},
-		methods: {
-			
-		}
+<script setup>
+	import {
+		ref,
+		reactive
+	} from "vue";
+	import {
+		onLoad
+	} from "@dcloudio/uni-app"
+	import * as httpApi from "@/api/common.js"
+	
+	
+	const data = reactive({
+		content: ''
+	})
+	
+	onLoad(() => {
+		pageInit();
+	})
+	
+	function pageInit() {
+		httpApi.getCommonGaikuangJigouShezhiInfo().then(res => {
+			data.content = res.data.content;
+		})
 	}
 </script>
 

+ 23 - 10
pages/zsjyZhuanyejieshao/zsjyZhuanyejieshao.vue

@@ -4,16 +4,29 @@
 	</view>
 </template>
 
-<script>
-	export default {
-		data() {
-			return {
-				
-			}
-		},
-		methods: {
-			
-		}
+<script setup>
+	import {
+		ref,
+		reactive
+	} from "vue";
+	import {
+		onLoad
+	} from "@dcloudio/uni-app"
+	import * as httpApi from "@/api/common.js"
+	
+	
+	const data = reactive({
+		content: ''
+	})
+	
+	onLoad(() => {
+		pageInit();
+	})
+	
+	function pageInit() {
+		httpApi.getCommonGaikuangJigouShezhiInfo().then(res => {
+			data.content = res.data.content;
+		})
 	}
 </script>
 

+ 23 - 10
pages/zypxTongzhigonggao/zypxTongzhigonggao.vue

@@ -4,16 +4,29 @@
 	</view>
 </template>
 
-<script>
-	export default {
-		data() {
-			return {
-				
-			}
-		},
-		methods: {
-			
-		}
+<script setup>
+	import {
+		ref,
+		reactive
+	} from "vue";
+	import {
+		onLoad
+	} from "@dcloudio/uni-app"
+	import * as httpApi from "@/api/common.js"
+	
+	
+	const data = reactive({
+		content: ''
+	})
+	
+	onLoad(() => {
+		pageInit();
+	})
+	
+	function pageInit() {
+		httpApi.getCommonGaikuangJigouShezhiInfo().then(res => {
+			data.content = res.data.content;
+		})
 	}
 </script>
 

+ 23 - 10
pages/zypxTongzhigonggaoInfo/zypxTongzhigonggaoInfo.vue

@@ -4,16 +4,29 @@
 	</view>
 </template>
 
-<script>
-	export default {
-		data() {
-			return {
-				
-			}
-		},
-		methods: {
-			
-		}
+<script setup>
+	import {
+		ref,
+		reactive
+	} from "vue";
+	import {
+		onLoad
+	} from "@dcloudio/uni-app"
+	import * as httpApi from "@/api/common.js"
+	
+	
+	const data = reactive({
+		content: ''
+	})
+	
+	onLoad(() => {
+		pageInit();
+	})
+	
+	function pageInit() {
+		httpApi.getCommonGaikuangJigouShezhiInfo().then(res => {
+			data.content = res.data.content;
+		})
 	}
 </script>
 

+ 51 - 30
utils/common.js

@@ -1,40 +1,40 @@
 /**
-* 显示消息提示框
-* @param content 提示的标题
-*/
+ * 显示消息提示框
+ * @param content 提示的标题
+ */
 export function toast(content) {
-  uni.showToast({
-    icon: 'none',
-    title: content
-  })
+	uni.showToast({
+		icon: 'none',
+		title: content
+	})
 }
 
 /**
-* 显示模态弹窗
-* @param content 提示的标题
-*/
+ * 显示模态弹窗
+ * @param content 提示的标题
+ */
 export function showConfirm(content) {
-  return new Promise((resolve, reject) => {
-    uni.showModal({
-      title: '提示',
-      content: content,
-      cancelText: '取消',
-      confirmText: '确定',
-      success: function(res) {
-        resolve(res)
-      }
-    })
-  })
+	return new Promise((resolve, reject) => {
+		uni.showModal({
+			title: '提示',
+			content: content,
+			cancelText: '取消',
+			confirmText: '确定',
+			success: function(res) {
+				resolve(res)
+			}
+		})
+	})
 }
 
 /**
-* 参数处理
-* @param params 参数
-*/
+ * 参数处理
+ * @param params 参数
+ */
 export function tansParams(params) {
-  let result = ''
-  // FIXME   拼接参数 
-  return result
+	let result = ''
+	// FIXME   拼接参数 
+	return result
 }
 
 export function getStaticUrl(url) {
@@ -42,11 +42,32 @@ export function getStaticUrl(url) {
 	// #ifdef H5
 	result = `/mdist/${url}`
 	// #endif
-	
+
 	// #ifdef APP-PLUS
 	result = url
 	// #endif
-	
+
 	return result;
 }
-	
+
+
+/************* 将时间格式化成 年月+日 ***********/
+export function formatDateToYearMonthDay(dateStr) {
+	let date = new Date(dateStr);
+	let dataStr1 =
+		`${date.getFullYear()}-${(date.getMonth() + 1).toString().padStart(2, '0')}-${date.getDate().toString().padStart(2, '0')}`
+	const yearMonth = dataStr1.substring(0, 7); // "2025-06"
+	const day = dataStr1.substring(8); // "01"
+	return [yearMonth, day]
+}
+
+export function getStringByHtml3(html) {
+	return html ? html.replace(/<img [^.]*">/g, '')
+		.replace(/<(style|script|iframe)[^>]*?>[\s\S]+?<\/\1\s*>/gi, '')
+		.replace(/<[^>]+?>/g, '')
+		.replace(/\s+/g, ' ')
+		.replace(/ /g, ' ')
+		.replace(/>/g, ' ')
+		.replace(/<?img[^>]*>/g, '')
+		.replace(/<video[^>]*>.*?<\/video>/gi, '') : '';
+}