diff --git a/.beagle.yml b/.beagle.yml index 9273e198a6d689a174be594a49f3ee003c79dd9c..fc7250a413d2197c9a070b870d12f267d967ebca 100644 --- a/.beagle.yml +++ b/.beagle.yml @@ -65,7 +65,7 @@ steps: # 定义流水线执行步骤,这些步骤将顺序执行 base: registry.cn-qingdao.aliyuncs.com/wod/nginx:1.19.5 # 基础镜像,根据项目需求进行使用,如果第三方登录改成ui-base dockerfile: .beagle/dockerfile repo: wod/apaas-system-ui # 生成镜像的 分组/名称 - version: "5.0.4" # 版本号 + version: "5.0.5" # 版本号 channel: alpha # 后缀 example: alpha test fix-alpha fix等 args: "TARGETOS=linux,TARGETARCH=amd64" # 不同架构的构建参数 registry: registry.cn-qingdao.aliyuncs.com # 私有仓库地址 @@ -80,7 +80,7 @@ steps: # 定义流水线执行步骤,这些步骤将顺序执行 namespace: apaas-v5 deployment: apaas-manage-ui container: apaas-manage-ui - image: registry.cn-qingdao.aliyuncs.com/wod/apaas-system-ui:5.0.4-alpha + image: registry.cn-qingdao.aliyuncs.com/wod/apaas-system-ui:5.0.5-alpha environment: KUBERNETES_SERVER: from_secret: KUBERNETES_SERVER @@ -96,7 +96,7 @@ steps: # 定义流水线执行步骤,这些步骤将顺序执行 base: registry.cn-qingdao.aliyuncs.com/wod/nginx:1.19.5-arm64 dockerfile: .beagle/dockerfile repo: wod/apaas-system-ui - version: "5.0.4" + version: "5.0.5" channel: alpha-arm64 args: "TARGETOS=linux,TARGETARCH=arm64" registry: registry.cn-qingdao.aliyuncs.com @@ -134,8 +134,8 @@ steps: REGISTRY_PASSWORD: from_secret: REGISTRY_PASSWORD_ALIYUN settings: - source: registry.cn-qingdao.aliyuncs.com/wod/apaas-system-ui:5.0.4-alpha - target: registry.cn-qingdao.aliyuncs.com/wod/apaas-system-ui:5.0.4 + source: registry.cn-qingdao.aliyuncs.com/wod/apaas-system-ui:5.0.5-alpha + target: registry.cn-qingdao.aliyuncs.com/wod/apaas-system-ui:5.0.5 registry: registry.cn-qingdao.aliyuncs.com - name: harbor-arm64 @@ -152,8 +152,8 @@ steps: REGISTRY_PASSWORD: from_secret: REGISTRY_PASSWORD_ALIYUN settings: - source: registry.cn-qingdao.aliyuncs.com/wod/apaas-system-ui:5.0.4-alpha-arm64 - target: registry.cn-qingdao.aliyuncs.com/wod/apaas-system-ui:5.0.4-arm64 + source: registry.cn-qingdao.aliyuncs.com/wod/apaas-system-ui:5.0.5-alpha-arm64 + target: registry.cn-qingdao.aliyuncs.com/wod/apaas-system-ui:5.0.5-arm64 registry: registry.cn-qingdao.aliyuncs.com ##--------------对于需要保密的信息隐藏,减少账户信息的泄密⬇-----------------## --- diff --git a/package.json b/package.json index 89088e0d1307dcc858c30fcb12fe273eb3d2b1dd..c0fe70f2a3358cef158e5a66fb69f1e811695be6 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,9 @@ "crypto-js": "^4.1.1", "echarts": "^5.3.3", "element-plus": "^2.2.19", + "github-markdown-css": "^5.1.0", "html2canvas": "^1.4.1", + "markdown-it": "^13.0.1", "sass": "^1.35.1", "uuid": "^8.3.2", "vue": "^3.2.31", diff --git a/src/App.vue b/src/App.vue index dfb4eedccdecf14f3dbc0d856c45a6c0f5a680aa..b3c7081d490f6dd8197e921931a21e47ba805170 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,7 +1,7 @@ @@ -77,6 +78,12 @@ export default { watch:{ msgBoxFlag(n,o){ this.readFlag = !this.readFlag + }, + userInfo: { + handler() { + this.initMsg() + }, + deep: true, } }, data(){ @@ -85,10 +92,28 @@ export default { menuIndex:'', } }, - created(){ - + created(){}, + mounted() { + this.initMsg() }, methods:{ + openMsg(data) { + console.log(123123123) + this.readFlag = !this.readFlag; + }, + initMsg() { + if(this.userInfo && this.userInfo.userId) { + this.$trace.setOptionValue('userId',this.userInfo.userId) + this.$trace.setOptionValue('userType',this.userInfo.userType) + this.$trace.setOptionValue('roleId',this.userInfo.roleIds.join(',')) + this.$trace.setOptionValue('organization',this.userInfo.orgId) + } + }, + handleClose() { + if(this.readFlag) { + this.readFlag = false; + } + }, pathToData(data,path){ let arr = path.split('.') diff --git a/src/assets/css/index.css b/src/assets/css/index.css index aeaca4c1565dac274dd3763f3c5d57f60aefd45b..49874efab63a5ac44af05891a4baa45e9b3e855f 100644 --- a/src/assets/css/index.css +++ b/src/assets/css/index.css @@ -286,6 +286,9 @@ div { .dialog_box .el-dialog__footer { padding: 16px; } +.dialog_box1 .el-dialog__body { + padding: 16px; +} /* 设置tab切换的样式 */ .el-tabs__item.is-disabled { color: #8890a7 !important; diff --git a/src/components/bg-menu.vue b/src/components/bg-menu.vue index f623e7615dcda826f787d7d42b41b03ceb19798f..66c3b1056ff44384cf4f5f5b5f11347d4b53cccc 100644 --- a/src/components/bg-menu.vue +++ b/src/components/bg-menu.vue @@ -8,9 +8,9 @@ > - +