diff --git a/.beagle.yml b/.beagle.yml index 9273e198a6d689a174be594a49f3ee003c79dd9c..95ba09cb291e967070f831bb5d5e41836e0649ff 100644 --- a/.beagle.yml +++ b/.beagle.yml @@ -37,7 +37,7 @@ steps: # 定义流水线执行步骤,这些步骤将顺序执行 image: registry.cn-qingdao.aliyuncs.com/wod/devops-node:16.16.0-slim # 将宿主机中文件夹挂载到容器中,宿主机文件夹中的文件会被容器访问并修改,起到使用缓存的作用,避免每次运行都要重现下载依赖,提高运行速度 commands: - # - yarn + - yarn - export NODE_ENV=production - yarn build @@ -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..ea273819b75e82c3bb45f5d8a5f6e8d1fb7337de 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(){ @@ -86,9 +93,27 @@ export default { } }, created(){ - + this.initMsg() + }, + mounted() { }, methods:{ + openMsg(data) { + this.readFlag = !this.readFlag; + }, + initMsg() { + if(this.userInfo && this.userInfo.system_id) { + this.$trace.setOptionValue('userId',this.userInfo.system_id) + // this.$trace.setOptionValue('userType',this.userInfo.userType) + // this.$trace.setOptionValue('roleId',this.userInfo.roleIds.join(',')) + this.$trace.setOptionValue('organization',this.userInfo.organization_id) + } + }, + 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..0b7df10753c84792b2378f35f6061f370ffa5bda 100644 --- a/src/components/bg-menu.vue +++ b/src/components/bg-menu.vue @@ -8,9 +8,9 @@ > - +