Parcourir la source

reactor:6 综合查询新增字段和查询条件;

zhangchong il y a 6 mois
Parent
commit
128ecda191

+ 1 - 1
src/layout/navBars/breadcrumb/zgTel.vue

@@ -883,7 +883,7 @@ const e_websocketError = () => {
 const e_TelMsgReceive = (ws: any, restMsg: any) => {
 	console.log(`${getNowDateTime()} 接收消息:${restMsg.data}`);
 	if (restMsg.data) {
-		const data = eval('(' + restMsg.data + ')');
+		const data = JSON.parse(restMsg.data)
 		if (data) {
 			// 方法
 			const strAction = data.Action;

+ 3 - 3
src/views/home/components/Home-date.vue

@@ -3,11 +3,11 @@
 		<el-text type="danger">欢迎:{{ userInfos.name }}使用本系统!</el-text>
 		<el-text type="info" class="ml20">公历:{{ formatDate(now, 'YYYY-mm-dd HH:MM:SS WWW') }}</el-text>
 		<el-text type="info" class="ml20">农历:{{ getChineseDate() }}</el-text>
-		<el-badge :is-dot="isDot" class="ml20">
+<!--		<el-badge :is-dot="isDot" class="ml20">
 			<el-button class="share-button" type="primary" @click="linkOld" :disabled="!userNameEncryptionEnCode"
 				><SvgIcon name="iconfont icon-daohang" class="mr5" size="18px" /> 一键登录到旧系统</el-button
 			>
-		</el-badge>
+		</el-badge>-->
 	</el-card>
 </template>
 <script setup lang="ts">
@@ -84,7 +84,7 @@ const linkOld = () => {
 	window.open(AppConfigInfo.value.oldHotlineUrl + userNameEncryptionEnCode.value);
 };
 onMounted(() => {
-	getUserName();
+	// getUserName();
 });
 </script>
 <style lang="scss" scoped>