Pārlūkot izejas kodu

reactor:重置密码Logo调整;
fix:知识库驳回的知识不能上架;

zhangchong 1 gadu atpakaļ
vecāks
revīzija
e8b75dded2

+ 21 - 31
src/components/AudioPlayer/index.vue

@@ -1,5 +1,15 @@
 <template>
 	<div class="gloWe-audio">
+		<!--		<audio
+			:src="audioData.url"
+			controls
+			preload="auto"
+			@ended="audioEnded"
+			@timeupdate="audioTimeupdate"
+			@loadeddata="audioLoadeddata"
+			ref="audioRef"
+			class="w100"
+		></audio>-->
 		<div class="audio">
 			<div class="icon-div">
 				<SvgIcon
@@ -32,9 +42,10 @@
 	</div>
 </template>
 <script lang="ts" name="GloWeAudio" setup>
-import {reactive, ref, computed, watch, nextTick} from 'vue';
+import { reactive, ref, computed, watch, nextTick } from 'vue';
 import { formatDuration } from '/@/utils/formatTime';
-import {ElMessage} from "element-plus";
+import { ElMessage } from 'element-plus';
+import { downloadFile } from '/@/utils/tools';
 
 // 定义父组件传过来的值
 const props = defineProps({
@@ -101,7 +112,7 @@ const audioEnded = () => {
 // 播放进度:表示audio正在播放,currentTime在更新
 const audioTimeupdate = (e: any) => {
 	audioData.currentTime = e.target.currentTime;
-  progressBarByCurrentTime();
+	progressBarByCurrentTime();
 };
 // 当媒体音频第一帧加载完成时
 const audioLoadeddata = (e: any) => {
@@ -168,39 +179,18 @@ const mute = () => {
 };
 // 下载
 const downLoad = () => {
-	//     // eslint-disable-next-line no-unused-vars
-	// let blobType = 'application/force-download' // 设置blob请求头
-	// // eslint-disable-next-line no-unused-vars
-	// let blob = new Blob([res.data], {type: res.data.type}) // 创建blob 设置blob文件类型 data 设置为后端返回的文件(例如mp3,jpeg) type:这里设置后端返回的类型 为 mp3
-	// let downa = document.createElement('a') // 创建A标签
-	// // eslint-disable-next-line no-unused-vars
-	// let href = window.URL.createObjectURL(blob) // 创建下载的链接
-	// downa.href = props.url // 下载地址
-	// downa.download = props?.fileName ?? '' // 下载文件名
-	// document.body.appendChild(downa)
-	// downa.click() // 模拟点击A标签
-	// document.body.removeChild(downa) // 下载完成移除元素
-	// window.URL.revokeObjectURL(href) // 释放blob对象
-
-	// const elink = document.createElement('a')
-	// elink.href = props.url
-	// elink.setAttribute('download', props?.fileName ?? '')
-	// elink.style.display = 'none'
-	// document.body.appendChild(elink)
-	// setTimeout(() => {
-	//     elink.click()
-	//     document.body.removeChild(elink)
-	// }, 66)
-	window.open(props.url);
+	downloadFile(props.url, props.fileName);
+	// window.open(props.url);
+	// downloadFile({ name: props?.fileName ?? '', url: props.url })
 };
 nextTick(() => {
-  audioRef.value.onerror =  ()=> {
-    ElMessage.error('音频加载失败');
-  };
+	audioRef.value.onerror = () => {
+		ElMessage.error('音频加载失败');
+	};
 });
 </script>
 <style scoped lang="scss">
-.gloWe-audio{
+.gloWe-audio {
 	.audio {
 		display: flex;
 		align-items: center;

+ 1 - 1
src/layout/lockScreen/index.vue

@@ -243,7 +243,7 @@ onUnmounted(() => {
 	@extend .layout-lock-screen-fixed;
 	//background-image: url(https://i.hd-r.cn/e4a19d84364f185266666765ac21a5db.jpg);
   background-image: url(/@/assets/images/login/bg.png);
-	background-size: 100% 100%;
+  background-size: calc(100vw + 1px) calc(100vh + 1px);
 	z-index: 99;
 }
 

+ 5 - 0
src/theme/app.scss

@@ -460,4 +460,9 @@ li {
 	.el-button.is-text{
 		display: none !important;
 	}
+}
+/* 边框按钮样式 */
+.default-button{
+	color: var(--el-color-primary);
+	border:1px solid var(--el-color-primary);
 }

+ 0 - 4
src/theme/element.scss

@@ -23,10 +23,6 @@
 // .el-input {
 // 	height: 100%;
 // }
-.default-button{
-	color: var(--el-color-primary);
-	border:1px solid var(--el-color-primary);
-}
 // 菜单搜索
 .el-autocomplete-suggestion__wrap {
 	max-height: 280px !important;

+ 0 - 403
src/theme/icon/iconfont.css

@@ -1,403 +0,0 @@
-@font-face {
-  font-family: "iconfont"; /* Project id 3595250 */
-  src: url('iconfont.woff2?t=1660729745671') format('woff2'),
-       url('iconfont.woff?t=1660729745671') format('woff'),
-       url('iconfont.ttf?t=1660729745671') format('truetype');
-}
-
-.iconfont {
-  font-family: "iconfont" !important;
-  font-size: 16px;
-  font-style: normal;
-  -webkit-font-smoothing: antialiased;
-  -moz-osx-font-smoothing: grayscale;
-}
-
-.icon-5_round_solid:before {
-  content: "\e651";
-}
-
-.icon-2_round_solid:before {
-  content: "\e654";
-}
-
-.icon-0_round_solid:before {
-  content: "\e655";
-}
-
-.icon-3_round_solid:before {
-  content: "\e656";
-}
-
-.icon-4_round_solid:before {
-  content: "\e657";
-}
-
-.icon-8_round_solid:before {
-  content: "\e658";
-}
-
-.icon-radio-off-full:before {
-  content: "\ea6b";
-}
-
-.icon-step:before {
-  content: "\e601";
-}
-
-.icon-dayin:before {
-  content: "\e615";
-}
-
-.icon-zidingyibuju:before {
-  content: "\e637";
-}
-
-.icon-diqiu:before {
-  content: "\e689";
-}
-
-.icon-xingqiu:before {
-  content: "\e65c";
-}
-
-.icon-diqiu1:before {
-  content: "\e631";
-}
-
-.icon-huanjingxingqiu:before {
-  content: "\e617";
-}
-
-.icon-fuhao-zhongwen:before {
-  content: "\e712";
-}
-
-.icon-fuhao-yingwen:before {
-  content: "\e714";
-}
-
-.icon-zhongyingwen1:before {
-  content: "\e7a3";
-}
-
-.icon-tuodong:before {
-  content: "\e6a8";
-}
-
-.icon-font-size:before {
-  content: "\eaef";
-}
-
-.icon-728bianjiqi_zitidaxiao:before {
-  content: "\e660";
-}
-
-.icon-ziti:before {
-  content: "\e7b1";
-}
-
-.icon-tupianyulan:before {
-  content: "\e67e";
-}
-
-.icon-15tupianyulan:before {
-  content: "\e624";
-}
-
-.icon--chaifenhang:before {
-  content: "\e6d1";
-}
-
-.icon--chaifenlie:before {
-  content: "\e6d0";
-}
-
-.icon-bolangneng:before {
-  content: "\e745";
-}
-
-.icon-bolangnengshiyanchang:before {
-  content: "\e746";
-}
-
-.icon-shuxing:before {
-  content: "\e67a";
-}
-
-.icon-juxingkaobei:before {
-  content: "\e7a5";
-}
-
-.icon-shuxingtu:before {
-  content: "\e685";
-}
-
-.icon-xianshimima:before {
-  content: "\e63c";
-}
-
-.icon-yincangmima:before {
-  content: "\e63d";
-}
-
-.icon-dianhua:before {
-  content: "\e618";
-}
-
-.icon-tongzhi1:before {
-  content: "\e63a";
-}
-
-.icon-tongzhi2:before {
-  content: "\e649";
-}
-
-.icon-tongzhi3:before {
-  content: "\e648";
-}
-
-.icon-tongzhi4:before {
-  content: "\e619";
-}
-
-.icon-zhongduancanshuchaxun:before {
-  content: "\e638";
-}
-
-.icon-shouye_dongtaihui:before {
-  content: "\e606";
-}
-
-.icon-putong:before {
-  content: "\e603";
-}
-
-.icon-dongtai:before {
-  content: "\e659";
-}
-
-.icon-wenducanshu-05:before {
-  content: "\e634";
-}
-
-.icon-zhongduancanshu:before {
-  content: "\e63b";
-}
-
-.icon-barcode-qr:before {
-  content: "\e61e";
-}
-
-.icon-diannao1:before {
-  content: "\e622";
-}
-
-.icon-tuichuquanping:before {
-  content: "\e641";
-}
-
-.icon-fullscreen:before {
-  content: "\e623";
-}
-
-.icon-dian:before {
-  content: "\e608";
-}
-
-.icon-webicon318:before {
-  content: "\e6a9";
-}
-
-.icon-shixinyuan:before {
-  content: "\e669";
-}
-
-.icon-skin:before {
-  content: "\e636";
-}
-
-.icon-fuzhiyemian:before {
-  content: "\e772";
-}
-
-.icon-caozuo-wailian:before {
-  content: "\e711";
-}
-
-.icon-icon-:before {
-  content: "\e620";
-}
-
-.icon-gerenzhongxin:before {
-  content: "\e60d";
-}
-
-.icon-caidan:before {
-  content: "\e652";
-}
-
-.icon-xitongshezhi:before {
-  content: "\e69b";
-}
-
-.icon-neiqianshujuchucun:before {
-  content: "\e62f";
-}
-
-.icon-shouye:before {
-  content: "\e653";
-}
-
-.icon-quanxian:before {
-  content: "\e610";
-}
-
-.icon-zujian:before {
-  content: "\e85e";
-}
-
-.icon-crew_feature:before {
-  content: "\e602";
-}
-
-.icon-gongju:before {
-  content: "\e62d";
-}
-
-.icon-shuju:before {
-  content: "\e613";
-}
-
-.icon-ico_shuju:before {
-  content: "\e6ff";
-}
-
-.icon-shuju1:before {
-  content: "\e60e";
-}
-
-.icon-zhongyingwenqiehuan:before {
-  content: "\e611";
-}
-
-.icon-zhongyingwen:before {
-  content: "\e605";
-}
-
-.icon-zhongyingzhuanhuan:before {
-  content: "\e6a2";
-}
-
-.icon-zhongyingwenyuyan:before {
-  content: "\e609";
-}
-
-.icon-jinridaiban:before {
-  content: "\e60f";
-}
-
-.icon-AIshiyanshi:before {
-  content: "\e60a";
-}
-
-.icon-shenqingkaiban:before {
-  content: "\e639";
-}
-
-.icon-shidu:before {
-  content: "\e60b";
-}
-
-.icon-yangan:before {
-  content: "\e67d";
-}
-
-.icon-wendu:before {
-  content: "\e686";
-}
-
-.icon-zaosheng:before {
-  content: "\e61c";
-}
-
-.icon-fangkuang:before {
-  content: "\e642";
-}
-
-.icon-gouxuan-weixuanzhong-xianxingfangkuang:before {
-  content: "\e77b";
-}
-
-.icon-xuanzeqi:before {
-  content: "\e635";
-}
-
-.icon-caijian:before {
-  content: "\e612";
-}
-
-.icon-fuwenben:before {
-  content: "\e7e4";
-}
-
-.icon-fuwenbenkuang:before {
-  content: "\e66f";
-}
-
-.icon-shangchuan:before {
-  content: "\e663";
-}
-
-.icon-jiliandongxuanzeqi:before {
-  content: "\e616";
-}
-
-.icon-siweidaotu:before {
-  content: "\e614";
-}
-
-.icon-chazhaobiaodanliebiao:before {
-  content: "\e76a";
-}
-
-.icon-biaodan:before {
-  content: "\e61d";
-}
-
-.icon-ico:before {
-  content: "\e646";
-}
-
-.icon-ditu:before {
-  content: "\e8bc";
-}
-
-.icon-tongzhi:before {
-  content: "\e600";
-}
-
-.icon-30xuanzhongyuanxingfill:before {
-  content: "\e677";
-}
-
-.icon-shibai:before {
-  content: "\e60c";
-}
-
-.icon-7_round_solid:before {
-  content: "\e64d";
-}
-
-.icon-6_round_solid:before {
-  content: "\e64e";
-}
-
-.icon-9_round_solid:before {
-  content: "\e64f";
-}
-
-.icon-1_round_solid:before {
-  content: "\e650";
-}
-

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
src/theme/icon/iconfont.js


+ 0 - 688
src/theme/icon/iconfont.json

@@ -1,688 +0,0 @@
-{
-  "id": "3595250",
-  "name": "12345",
-  "font_family": "iconfont",
-  "css_prefix_text": "icon-",
-  "description": "",
-  "glyphs": [
-    {
-      "icon_id": "15531894",
-      "name": "5_round_solid_数字5_by_climei",
-      "font_class": "5_round_solid",
-      "unicode": "e651",
-      "unicode_decimal": 58961
-    },
-    {
-      "icon_id": "15531898",
-      "name": "2_round_solid_数字2_by_climei",
-      "font_class": "2_round_solid",
-      "unicode": "e654",
-      "unicode_decimal": 58964
-    },
-    {
-      "icon_id": "15531900",
-      "name": "0_round_solid_数字0_by_climei",
-      "font_class": "0_round_solid",
-      "unicode": "e655",
-      "unicode_decimal": 58965
-    },
-    {
-      "icon_id": "15531901",
-      "name": "3_round_solid_数字3_by_climei",
-      "font_class": "3_round_solid",
-      "unicode": "e656",
-      "unicode_decimal": 58966
-    },
-    {
-      "icon_id": "15531902",
-      "name": "4_round_solid_数字4_by_climei",
-      "font_class": "4_round_solid",
-      "unicode": "e657",
-      "unicode_decimal": 58967
-    },
-    {
-      "icon_id": "15531903",
-      "name": "8_round_solid_数字8_by_climei",
-      "font_class": "8_round_solid",
-      "unicode": "e658",
-      "unicode_decimal": 58968
-    },
-    {
-      "icon_id": "18175743",
-      "name": "圆形",
-      "font_class": "radio-off-full",
-      "unicode": "ea6b",
-      "unicode_decimal": 60011
-    },
-    {
-      "icon_id": "2868508",
-      "name": "步骤",
-      "font_class": "step",
-      "unicode": "e601",
-      "unicode_decimal": 58881
-    },
-    {
-      "icon_id": "7587938",
-      "name": "打印",
-      "font_class": "dayin",
-      "unicode": "e615",
-      "unicode_decimal": 58901
-    },
-    {
-      "icon_id": "20032442",
-      "name": "自定义布局",
-      "font_class": "zidingyibuju",
-      "unicode": "e637",
-      "unicode_decimal": 58935
-    },
-    {
-      "icon_id": "2746603",
-      "name": "地球",
-      "font_class": "diqiu",
-      "unicode": "e689",
-      "unicode_decimal": 59017
-    },
-    {
-      "icon_id": "16198686",
-      "name": "星球",
-      "font_class": "xingqiu",
-      "unicode": "e65c",
-      "unicode_decimal": 58972
-    },
-    {
-      "icon_id": "16364330",
-      "name": "地球",
-      "font_class": "diqiu1",
-      "unicode": "e631",
-      "unicode_decimal": 58929
-    },
-    {
-      "icon_id": "19229267",
-      "name": "环境 星球",
-      "font_class": "huanjingxingqiu",
-      "unicode": "e617",
-      "unicode_decimal": 58903
-    },
-    {
-      "icon_id": "2967036",
-      "name": "符号-中文",
-      "font_class": "fuhao-zhongwen",
-      "unicode": "e712",
-      "unicode_decimal": 59154
-    },
-    {
-      "icon_id": "2967035",
-      "name": "符号-英文",
-      "font_class": "fuhao-yingwen",
-      "unicode": "e714",
-      "unicode_decimal": 59156
-    },
-    {
-      "icon_id": "6883114",
-      "name": "中英文",
-      "font_class": "zhongyingwen1",
-      "unicode": "e7a3",
-      "unicode_decimal": 59299
-    },
-    {
-      "icon_id": "1788974",
-      "name": "拖动",
-      "font_class": "tuodong",
-      "unicode": "e6a8",
-      "unicode_decimal": 59048
-    },
-    {
-      "icon_id": "19665052",
-      "name": "字体大小",
-      "font_class": "font-size",
-      "unicode": "eaef",
-      "unicode_decimal": 60143
-    },
-    {
-      "icon_id": "1308591",
-      "name": "728编辑器_字体大小",
-      "font_class": "728bianjiqi_zitidaxiao",
-      "unicode": "e660",
-      "unicode_decimal": 58976
-    },
-    {
-      "icon_id": "4800130",
-      "name": "字体",
-      "font_class": "ziti",
-      "unicode": "e7b1",
-      "unicode_decimal": 59313
-    },
-    {
-      "icon_id": "2471396",
-      "name": "图片预览",
-      "font_class": "tupianyulan",
-      "unicode": "e67e",
-      "unicode_decimal": 59006
-    },
-    {
-      "icon_id": "15196943",
-      "name": "15.图片预览",
-      "font_class": "15tupianyulan",
-      "unicode": "e624",
-      "unicode_decimal": 58916
-    },
-    {
-      "icon_id": "13015639",
-      "name": "27-拆分行",
-      "font_class": "-chaifenhang",
-      "unicode": "e6d1",
-      "unicode_decimal": 59089
-    },
-    {
-      "icon_id": "13015641",
-      "name": "26-拆分列",
-      "font_class": "-chaifenlie",
-      "unicode": "e6d0",
-      "unicode_decimal": 59088
-    },
-    {
-      "icon_id": "2953960",
-      "name": "波浪能",
-      "font_class": "bolangneng",
-      "unicode": "e745",
-      "unicode_decimal": 59205
-    },
-    {
-      "icon_id": "2953961",
-      "name": "波浪能试验场",
-      "font_class": "bolangnengshiyanchang",
-      "unicode": "e746",
-      "unicode_decimal": 59206
-    },
-    {
-      "icon_id": "2471384",
-      "name": "树型",
-      "font_class": "shuxing",
-      "unicode": "e67a",
-      "unicode_decimal": 59002
-    },
-    {
-      "icon_id": "7544797",
-      "name": "树型",
-      "font_class": "juxingkaobei",
-      "unicode": "e7a5",
-      "unicode_decimal": 59301
-    },
-    {
-      "icon_id": "19004948",
-      "name": "树型图",
-      "font_class": "shuxingtu",
-      "unicode": "e685",
-      "unicode_decimal": 59013
-    },
-    {
-      "icon_id": "14660382",
-      "name": "显示密码",
-      "font_class": "xianshimima",
-      "unicode": "e63c",
-      "unicode_decimal": 58940
-    },
-    {
-      "icon_id": "14660388",
-      "name": "隐藏密码",
-      "font_class": "yincangmima",
-      "unicode": "e63d",
-      "unicode_decimal": 58941
-    },
-    {
-      "icon_id": "19494217",
-      "name": "电 话",
-      "font_class": "dianhua",
-      "unicode": "e618",
-      "unicode_decimal": 58904
-    },
-    {
-      "icon_id": "1026284",
-      "name": "通知",
-      "font_class": "tongzhi1",
-      "unicode": "e63a",
-      "unicode_decimal": 58938
-    },
-    {
-      "icon_id": "5121523",
-      "name": "通知",
-      "font_class": "tongzhi2",
-      "unicode": "e649",
-      "unicode_decimal": 58953
-    },
-    {
-      "icon_id": "7151318",
-      "name": "通知",
-      "font_class": "tongzhi3",
-      "unicode": "e648",
-      "unicode_decimal": 58952
-    },
-    {
-      "icon_id": "13332682",
-      "name": "通知",
-      "font_class": "tongzhi4",
-      "unicode": "e619",
-      "unicode_decimal": 58905
-    },
-    {
-      "icon_id": "2959112",
-      "name": "终端参数查询",
-      "font_class": "zhongduancanshuchaxun",
-      "unicode": "e638",
-      "unicode_decimal": 58936
-    },
-    {
-      "icon_id": "7316164",
-      "name": "首页_动态灰",
-      "font_class": "shouye_dongtaihui",
-      "unicode": "e606",
-      "unicode_decimal": 58886
-    },
-    {
-      "icon_id": "8604799",
-      "name": "普通",
-      "font_class": "putong",
-      "unicode": "e603",
-      "unicode_decimal": 58883
-    },
-    {
-      "icon_id": "14220842",
-      "name": "动态",
-      "font_class": "dongtai",
-      "unicode": "e659",
-      "unicode_decimal": 58969
-    },
-    {
-      "icon_id": "14915062",
-      "name": "温度参数",
-      "font_class": "wenducanshu-05",
-      "unicode": "e634",
-      "unicode_decimal": 58932
-    },
-    {
-      "icon_id": "22693880",
-      "name": "终端参数",
-      "font_class": "zhongduancanshu",
-      "unicode": "e63b",
-      "unicode_decimal": 58939
-    },
-    {
-      "icon_id": "7531683",
-      "name": "二维码",
-      "font_class": "barcode-qr",
-      "unicode": "e61e",
-      "unicode_decimal": 58910
-    },
-    {
-      "icon_id": "5042357",
-      "name": "电脑",
-      "font_class": "diannao1",
-      "unicode": "e622",
-      "unicode_decimal": 58914
-    },
-    {
-      "icon_id": "8159879",
-      "name": "退出全屏",
-      "font_class": "tuichuquanping",
-      "unicode": "e641",
-      "unicode_decimal": 58945
-    },
-    {
-      "icon_id": "9512566",
-      "name": "全屏",
-      "font_class": "fullscreen",
-      "unicode": "e623",
-      "unicode_decimal": 58915
-    },
-    {
-      "icon_id": "1920286",
-      "name": "点",
-      "font_class": "dian",
-      "unicode": "e608",
-      "unicode_decimal": 58888
-    },
-    {
-      "icon_id": "1090230",
-      "name": "点选",
-      "font_class": "webicon318",
-      "unicode": "e6a9",
-      "unicode_decimal": 59049
-    },
-    {
-      "icon_id": "18445347",
-      "name": "实心圆",
-      "font_class": "shixinyuan",
-      "unicode": "e669",
-      "unicode_decimal": 58985
-    },
-    {
-      "icon_id": "9512644",
-      "name": "皮肤",
-      "font_class": "skin",
-      "unicode": "e636",
-      "unicode_decimal": 58934
-    },
-    {
-      "icon_id": "688071",
-      "name": "复制 页面",
-      "font_class": "fuzhiyemian",
-      "unicode": "e772",
-      "unicode_decimal": 59250
-    },
-    {
-      "icon_id": "2967034",
-      "name": "操作-外链",
-      "font_class": "caozuo-wailian",
-      "unicode": "e711",
-      "unicode_decimal": 59153
-    },
-    {
-      "icon_id": "3217872",
-      "name": "用户",
-      "font_class": "icon-",
-      "unicode": "e620",
-      "unicode_decimal": 58912
-    },
-    {
-      "icon_id": "5835467",
-      "name": "个人中心",
-      "font_class": "gerenzhongxin",
-      "unicode": "e60d",
-      "unicode_decimal": 58893
-    },
-    {
-      "icon_id": "7155227",
-      "name": "菜单",
-      "font_class": "caidan",
-      "unicode": "e652",
-      "unicode_decimal": 58962
-    },
-    {
-      "icon_id": "7339793",
-      "name": "系统设置",
-      "font_class": "xitongshezhi",
-      "unicode": "e69b",
-      "unicode_decimal": 59035
-    },
-    {
-      "icon_id": "11121420",
-      "name": "内嵌数据储存",
-      "font_class": "neiqianshujuchucun",
-      "unicode": "e62f",
-      "unicode_decimal": 58927
-    },
-    {
-      "icon_id": "14435324",
-      "name": "首页",
-      "font_class": "shouye",
-      "unicode": "e653",
-      "unicode_decimal": 58963
-    },
-    {
-      "icon_id": "15014204",
-      "name": "权限",
-      "font_class": "quanxian",
-      "unicode": "e610",
-      "unicode_decimal": 58896
-    },
-    {
-      "icon_id": "16399009",
-      "name": "组件",
-      "font_class": "zujian",
-      "unicode": "e85e",
-      "unicode_decimal": 59486
-    },
-    {
-      "icon_id": "18177094",
-      "name": "功能",
-      "font_class": "crew_feature",
-      "unicode": "e602",
-      "unicode_decimal": 58882
-    },
-    {
-      "icon_id": "18724152",
-      "name": "工具",
-      "font_class": "gongju",
-      "unicode": "e62d",
-      "unicode_decimal": 58925
-    },
-    {
-      "icon_id": "4645631",
-      "name": "数据4",
-      "font_class": "shuju",
-      "unicode": "e613",
-      "unicode_decimal": 58899
-    },
-    {
-      "icon_id": "10267280",
-      "name": "数据",
-      "font_class": "ico_shuju",
-      "unicode": "e6ff",
-      "unicode_decimal": 59135
-    },
-    {
-      "icon_id": "17608624",
-      "name": "数据",
-      "font_class": "shuju1",
-      "unicode": "e60e",
-      "unicode_decimal": 58894
-    },
-    {
-      "icon_id": "1239480",
-      "name": "中英文切换",
-      "font_class": "zhongyingwenqiehuan",
-      "unicode": "e611",
-      "unicode_decimal": 58897
-    },
-    {
-      "icon_id": "7533292",
-      "name": "中英文",
-      "font_class": "zhongyingwen",
-      "unicode": "e605",
-      "unicode_decimal": 58885
-    },
-    {
-      "icon_id": "14227020",
-      "name": "中英转换",
-      "font_class": "zhongyingzhuanhuan",
-      "unicode": "e6a2",
-      "unicode_decimal": 59042
-    },
-    {
-      "icon_id": "16086845",
-      "name": "中英文语言",
-      "font_class": "zhongyingwenyuyan",
-      "unicode": "e609",
-      "unicode_decimal": 58889
-    },
-    {
-      "icon_id": "1506290",
-      "name": "今日待办",
-      "font_class": "jinridaiban",
-      "unicode": "e60f",
-      "unicode_decimal": 58895
-    },
-    {
-      "icon_id": "3876829",
-      "name": "13 AI 实验室",
-      "font_class": "AIshiyanshi",
-      "unicode": "e60a",
-      "unicode_decimal": 58890
-    },
-    {
-      "icon_id": "8159859",
-      "name": "申请开班",
-      "font_class": "shenqingkaiban",
-      "unicode": "e639",
-      "unicode_decimal": 58937
-    },
-    {
-      "icon_id": "4236632",
-      "name": "湿度",
-      "font_class": "shidu",
-      "unicode": "e60b",
-      "unicode_decimal": 58891
-    },
-    {
-      "icon_id": "11806568",
-      "name": "烟感",
-      "font_class": "yangan",
-      "unicode": "e67d",
-      "unicode_decimal": 59005
-    },
-    {
-      "icon_id": "11810489",
-      "name": "温度",
-      "font_class": "wendu",
-      "unicode": "e686",
-      "unicode_decimal": 59014
-    },
-    {
-      "icon_id": "19229410",
-      "name": "噪声",
-      "font_class": "zaosheng",
-      "unicode": "e61c",
-      "unicode_decimal": 58908
-    },
-    {
-      "icon_id": "5831260",
-      "name": "方框",
-      "font_class": "fangkuang",
-      "unicode": "e642",
-      "unicode_decimal": 58946
-    },
-    {
-      "icon_id": "6129116",
-      "name": "79勾选-未选中-线性方框",
-      "font_class": "gouxuan-weixuanzhong-xianxingfangkuang",
-      "unicode": "e77b",
-      "unicode_decimal": 59259
-    },
-    {
-      "icon_id": "11121439",
-      "name": "选择器",
-      "font_class": "xuanzeqi",
-      "unicode": "e635",
-      "unicode_decimal": 58933
-    },
-    {
-      "icon_id": "887798",
-      "name": "裁剪",
-      "font_class": "caijian",
-      "unicode": "e612",
-      "unicode_decimal": 58898
-    },
-    {
-      "icon_id": "1190641",
-      "name": "富文本",
-      "font_class": "fuwenben",
-      "unicode": "e7e4",
-      "unicode_decimal": 59364
-    },
-    {
-      "icon_id": "2471358",
-      "name": "富文本框",
-      "font_class": "fuwenbenkuang",
-      "unicode": "e66f",
-      "unicode_decimal": 58991
-    },
-    {
-      "icon_id": "8872464",
-      "name": "上传",
-      "font_class": "shangchuan",
-      "unicode": "e663",
-      "unicode_decimal": 58979
-    },
-    {
-      "icon_id": "16930080",
-      "name": "级联动选择器",
-      "font_class": "jiliandongxuanzeqi",
-      "unicode": "e616",
-      "unicode_decimal": 58902
-    },
-    {
-      "icon_id": "9783466",
-      "name": "思维导图",
-      "font_class": "siweidaotu",
-      "unicode": "e614",
-      "unicode_decimal": 58900
-    },
-    {
-      "icon_id": "688060",
-      "name": "查找 表单 列表",
-      "font_class": "chazhaobiaodanliebiao",
-      "unicode": "e76a",
-      "unicode_decimal": 59242
-    },
-    {
-      "icon_id": "3892866",
-      "name": "表单",
-      "font_class": "biaodan",
-      "unicode": "e61d",
-      "unicode_decimal": 58909
-    },
-    {
-      "icon_id": "6364167",
-      "name": "二维码",
-      "font_class": "ico",
-      "unicode": "e646",
-      "unicode_decimal": 58950
-    },
-    {
-      "icon_id": "10883862",
-      "name": "地图",
-      "font_class": "ditu",
-      "unicode": "e8bc",
-      "unicode_decimal": 59580
-    },
-    {
-      "icon_id": "8410920",
-      "name": "通知",
-      "font_class": "tongzhi",
-      "unicode": "e600",
-      "unicode_decimal": 58880
-    },
-    {
-      "icon_id": "615537",
-      "name": "30_选中圆形_fill",
-      "font_class": "30xuanzhongyuanxingfill",
-      "unicode": "e677",
-      "unicode_decimal": 58999
-    },
-    {
-      "icon_id": "6204096",
-      "name": "失败",
-      "font_class": "shibai",
-      "unicode": "e60c",
-      "unicode_decimal": 58892
-    },
-    {
-      "icon_id": "15531888",
-      "name": "7_round_solid_数字7_by_climei",
-      "font_class": "7_round_solid",
-      "unicode": "e64d",
-      "unicode_decimal": 58957
-    },
-    {
-      "icon_id": "15531890",
-      "name": "6_round_solid_数字6_by_climei",
-      "font_class": "6_round_solid",
-      "unicode": "e64e",
-      "unicode_decimal": 58958
-    },
-    {
-      "icon_id": "15531891",
-      "name": "9_round_solid_数字9_by_climei",
-      "font_class": "9_round_solid",
-      "unicode": "e64f",
-      "unicode_decimal": 58959
-    },
-    {
-      "icon_id": "15531892",
-      "name": "1_round_solid_数字1_by_climei",
-      "font_class": "1_round_solid",
-      "unicode": "e650",
-      "unicode_decimal": 58960
-    }
-  ]
-}

BIN
src/theme/icon/iconfont.ttf


BIN
src/theme/icon/iconfont.woff


BIN
src/theme/icon/iconfont.woff2


+ 19 - 0
src/theme/media/lockSceern.scss

@@ -0,0 +1,19 @@
+@import './index.scss';
+
+/* 页面宽度小于768px
+------------------------------- */
+@media screen and (max-width: $sm) {
+	.layout-lock-screen-date{
+		.layout-lock-screen-date-box{
+			top: 50px;
+			.layout-lock-screen-date-box-time{
+				font-size: 80px;
+				text-align: center;
+			}
+			.layout-lock-screen-date-box-info{
+				font-size: 32px;
+				text-align: center;
+			}
+		}
+	}
+}

+ 1 - 1
src/theme/media/login.scss

@@ -1,6 +1,6 @@
 @import './index.scss';
 
-/* 页面宽度小于992px
+/* 页面宽度小于1200px
 ------------------------------- */
 @media screen and (max-width: $lg) {
 	.login-container {

+ 1 - 0
src/theme/media/media.scss

@@ -11,3 +11,4 @@
 @import './dialog.scss';
 @import './cityLinkage.scss';
 @import './date.scss';
+@import './lockSceern.scss';

+ 30 - 0
src/utils/tools.ts

@@ -1,5 +1,6 @@
 import { ElMessage } from 'element-plus';
 import useClipboard from 'vue-clipboard3';
+import axios from "axios";
 const { toClipboard } = useClipboard();
 /**
  * @description 防抖
@@ -163,3 +164,32 @@ export const copyText = (text: string) => {
 		}
 	});
 };
+/**
+ * @description 下载文件
+ * @param src 文件地址
+ * @param filename 文件名
+ */
+export function downloadFile(src: string, filename: string) {
+	if(!src) {
+		return
+	}
+	let fileName: string = filename || '' // 文件名
+	axios({
+		method: 'get',
+		url: src,
+		responseType: 'blob',
+		headers: { 'content-type': 'audio/mpeg' },
+	}).then((res: any) => {
+		let blob:Blob = new Blob([res.data], { type: res.data.type }) // 创建blob 设置blob文件类型 data 设置为后端返回的文件(例如mp3,jpeg) type:这里设置后端返回的类型 为 mp3
+		let down: HTMLAnchorElement = document.createElement('a') // 创建A标签
+		let href:string = window.URL.createObjectURL(blob) // 创建下载的链接
+		down.href = href // 下载地址
+		down.download = fileName // 下载文件名
+		document.body.appendChild(down)
+		down.click() // 模拟点击A标签
+		document.body.removeChild(down) // 下载完成移除元素
+		window.URL.revokeObjectURL(href) // 释放blob对象
+	}).catch(function (error) {
+		console.log(error)
+	})
+}

+ 0 - 46
src/views/business/order/components/Order-detail.vue

@@ -243,52 +243,6 @@
 				</div>
 			</el-collapse-item>
 			<el-collapse-item name="5" v-if="state.workflow.assignOrgs">
-				<template #title>
-					<p class="pl20">
-						<b class="font14">回访信息</b>
-					</p>
-				</template>
-				<div class="collapse-container pb1">
-					<el-form label-width="100px" ref="ruleFormRef">
-						<el-row :gutter="10">
-							<el-col :xs="24" :sm="12" :md="8" :lg="6" :xl="6">
-								<el-form-item label="语音评价"> {{ state.workflow.assignOrgs }}</el-form-item>
-							</el-col>
-							<el-col :xs="24" :sm="12" :md="8" :lg="6" :xl="6">
-								<el-form-item label="话务员评价"> </el-form-item>
-							</el-col>
-							<el-col :xs="24" :sm="12" :md="8" :lg="6" :xl="6">
-								<el-form-item label="补充人"> {{ state.workflow.timeLimit }} </el-form-item>
-							</el-col>
-							<el-col :xs="24" :sm="12" :md="8" :lg="6" :xl="6">
-								<el-form-item label="被回访部门"> </el-form-item>
-							</el-col>
-							<el-col :xs="24" :sm="12" :md="8" :lg="6" :xl="6">
-								<el-form-item label="办件结果"> </el-form-item>
-							</el-col>
-							<el-col :xs="24" :sm="12" :md="8" :lg="6" :xl="6">
-								<el-form-item label="办件态度"> </el-form-item>
-							</el-col>
-							<el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
-								<el-form-item label="回访内容"> </el-form-item>
-							</el-col>
-							<el-col :xs="24" :sm="12" :md="8" :lg="6" :xl="6">
-								<el-form-item label="被回访部门"> </el-form-item>
-							</el-col>
-							<el-col :xs="24" :sm="12" :md="8" :lg="6" :xl="6">
-								<el-form-item label="办件结果"> {</el-form-item>
-							</el-col>
-							<el-col :xs="24" :sm="12" :md="8" :lg="6" :xl="6">
-								<el-form-item label="办件态度"> </el-form-item>
-							</el-col>
-							<el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
-								<el-form-item label="回访内容"> {{ state.workflow.opinion }} </el-form-item>
-							</el-col>
-						</el-row>
-					</el-form>
-				</div>
-			</el-collapse-item>
-			<el-collapse-item name="6" v-if="state.workflow.assignOrgs">
 				<template #title>
 					<p class="pl20">
 						<b class="font14">重办信息</b>

+ 2 - 44
src/views/knowledge/config/type/index.vue

@@ -180,6 +180,7 @@ const handleQuery = throttle(() => {
 		emptyArr = [];
 		state.tableData = formatTable(other.deepClone(state.staticArr), state.queryParams.keyword);
 		state.expandedRowKeys = getExpand(state.tableData);
+    state.isExpand = true;
 		state.loading = false;
 	} else {
 		queryList();
@@ -192,6 +193,7 @@ const resetQuery = throttle((formEl: FormInstance | undefined) => {
 	queryList();
 	state.expandedRowKeys = [];
 	emptyArr = [];
+  state.isExpand = false;
 }, 500);
 // 展开收起
 const expand = () => {
@@ -223,36 +225,6 @@ const knowledgeTypeEditRef = ref<RefType>(); // 修改ref
 const onOpenEdit = (row: any) => {
 	knowledgeTypeEditRef.value.openDialog(row, state.tableData);
 };
-// 禁用·
-const onDisabled = (row: any) => {
-	ElMessageBox.confirm(`是否要停用该类型?`, '提示', {
-		confirmButtonText: '确定',
-		cancelButtonText: '取消',
-		type: 'warning',
-	})
-		.then(() => {
-			changeAble(row.id).then(() => {
-				ElMessage.success('停用成功');
-				queryList();
-			});
-		})
-		.catch(() => {});
-};
-// 启用
-const onEnable = (row: any) => {
-	ElMessageBox.confirm(`是否要启用该类型?`, '提示', {
-		confirmButtonText: '确定',
-		cancelButtonText: '取消',
-		type: 'warning',
-	})
-		.then(() => {
-			changeAble(row.id).then(() => {
-				ElMessage.success('启用成功');
-				queryList();
-			});
-		})
-		.catch(() => {});
-};
 
 // 删除当前行
 const onDelete = (row: any) => {
@@ -269,20 +241,6 @@ const onDelete = (row: any) => {
 		})
 		.catch(() => {});
 };
-const undercarriage = (row: any) => {
-	ElMessageBox.confirm(`确定要停用并下架相关知识?`, '提示', {
-		confirmButtonText: '确定',
-		cancelButtonText: '取消',
-		type: 'warning',
-	})
-		.then(() => {
-			changeStateAndOffShelf(row.id).then(() => {
-				ElMessage.success('操作成功');
-				queryList();
-			});
-		})
-		.catch(() => {});
-};
 // 获取知识库类型
 const queryList = () => {
 	if (!auth('knowledge:type:query')) ElMessage.error('抱歉,您没有权限查询知识库类型');

+ 1 - 1
src/views/knowledge/index/index.vue

@@ -197,7 +197,7 @@
 										type="primary"
 										@click="groundingFn(row)"
 										title="上架"
-										v-if="[4, 5].includes(row.newStatus)"
+										v-if="[4].includes(row.newStatus)"
 										v-auth="'knowledge:index:grounding'"
 									>
 										上架

+ 3 - 2
src/views/tels/callLog/index.vue

@@ -127,7 +127,7 @@ import {defineAsyncComponent, onMounted, reactive, ref} from 'vue';
 import type {FormInstance} from 'element-plus';
 import {ElButton, ElMessage, ElMessageBox} from 'element-plus';
 import {auth} from '/@/utils/authFunction';
-import {throttle} from '/@/utils/tools';
+import {downloadFile, throttle} from '/@/utils/tools';
 import {callBaseData, callLogPaged} from '/@/api/tels/callLog'
 import {formatDate} from "/@/utils/formatTime";
 
@@ -193,7 +193,8 @@ const onDownload = (row: any) => {
 		autofocus: false,
 	})
 		.then(() => {
-			window.open(row.recordUrl);
+      downloadFile(row.recordUrl, row.recordName);
+			// window.open(row.recordUrl);
 		})
 		.catch(() => {});
 };

Daži faili netika attēloti, jo izmaiņu fails ir pārāk liels