76 Commits

Author SHA1 Message Date
wangxiaoshuang e51e7d0e66 pacs
continuous-integration/drone/push Build is passing
2024-07-17 10:09:26 +08:00
wangxiaoshuang 7f36aa5a05 中心调查表链接添加二维码
continuous-integration/drone/push Build is passing
2024-07-15 15:52:47 +08:00
wangxiaoshuang e45903d55e 重阅跟踪添加国际化
continuous-integration/drone/push Build is passing
2024-07-12 10:25:46 +08:00
wangxiaoshuang 02e82bba33 1
continuous-integration/drone/push Build is passing
2024-07-10 10:55:56 +08:00
wangxiaoshuang 3d3e6a3db0 Merge branch 'uat'
continuous-integration/drone/push Build is passing
# Conflicts:
#	src/views/login/index.vue
2024-07-10 09:53:28 +08:00
wangxiaoshuang ee846d7370 usa更换logo 2024-07-10 09:52:11 +08:00
wangxiaoshuang 6e2b7cb76a usa环境logo变更
continuous-integration/drone/push Build is passing
2024-07-10 09:07:03 +08:00
wangxiaoshuang ca2ed72a6f usa更换logo
continuous-integration/drone/push Build is passing
2024-07-09 17:17:53 +08:00
wangxiaoshuang c2e2f65434 项目配置增加diicomAE配置
continuous-integration/drone/push Build is passing
2024-07-09 16:40:07 +08:00
caiyiling d2fc9ad981 提交调研表逻辑更改
continuous-integration/drone/push Build is passing
2024-07-09 16:27:33 +08:00
caiyiling c2083e9c9c Merge branch 'main' of https://gitea.frp.extimaging.com/XCKJ/irc_web into main
continuous-integration/drone/push Build is passing
2024-07-08 17:45:35 +08:00
caiyiling d118f6461f 1 2024-07-08 17:45:26 +08:00
wangxiaoshuang 13d968c5b9 中心配置中心添加dicomAE
continuous-integration/drone/push Build is passing
2024-07-08 16:56:40 +08:00
wangxiaoshuang 65f0af06ad Merge branch 'main' of https://gitea.frp.extimaging.com/XCKJ/irc_web
continuous-integration/drone/push Build is passing
2024-07-08 13:55:15 +08:00
wangxiaoshuang 49a93d0188 管理后台角色添加国际化 2024-07-08 13:55:05 +08:00
caiyiling de832afac8 Merge branch 'main' of https://gitea.frp.extimaging.com/XCKJ/irc_web into main
continuous-integration/drone/push Build is passing
2024-07-08 13:13:19 +08:00
caiyiling c4381a0eb2 中心调研表样式更改 2024-07-08 13:12:22 +08:00
wangxiaoshuang 17c796bd53 管理平台菜单页新增国际化
continuous-integration/drone/push Build is passing
2024-07-08 11:43:26 +08:00
caiyiling 9ce1e569eb 样式调整
continuous-integration/drone/push Build is passing
2024-07-05 16:10:55 +08:00
caiyiling 8b48f5fe2e 样式调整
continuous-integration/drone/push Build is passing
2024-07-05 16:05:59 +08:00
caiyiling 98af1e7540 1
continuous-integration/drone/push Build is passing
2024-07-05 15:57:40 +08:00
caiyiling ed027781c4 表单样式调整
continuous-integration/drone/push Build is running
2024-07-05 15:53:01 +08:00
caiyiling dd20a93523 表单样式调整
continuous-integration/drone/push Build is running
2024-07-05 15:49:50 +08:00
caiyiling ba5e9f82b7 移动端调研表操作功能添加权限控制
continuous-integration/drone/push Build is passing
2024-07-05 15:40:26 +08:00
caiyiling 5af5954f2a 表单样式调整
continuous-integration/drone/push Build is passing
2024-07-05 15:36:19 +08:00
caiyiling 9e1dbda53c 国际化补充
continuous-integration/drone/push Build is passing
2024-07-05 15:08:44 +08:00
caiyiling 3aa521229f 中心调研表登录页面优化
continuous-integration/drone/push Build is running
2024-07-05 15:07:07 +08:00
caiyiling cd1735eae8 Merge branch 'main' of https://gitea.frp.extimaging.com/XCKJ/irc_web into main
continuous-integration/drone/push Build is passing
2024-07-05 15:00:06 +08:00
caiyiling 29dfe79acd 中心调研表功能完善 2024-07-05 14:59:05 +08:00
wangxiaoshuang 885af6d195 国际化修改
continuous-integration/drone/push Build is passing
2024-07-05 14:38:40 +08:00
wangxiaoshuang 98fe1f0365 下载功能暂时屏蔽
continuous-integration/drone/push Build is passing
2024-07-05 11:39:29 +08:00
wangxiaoshuang 74e86cbdbe Merge branch 'uat'
continuous-integration/drone/push Build is passing
# Conflicts:
#	src/views/login/index.vue
2024-07-05 10:21:53 +08:00
wangxiaoshuang 6b06d2a5f0 Merge branch 'main' of https://gitea.frp.extimaging.com/XCKJ/irc_web
continuous-integration/drone/push Build is failing
2024-07-05 09:09:53 +08:00
wangxiaoshuang 6250e957f0 上传方式修改 2024-07-05 09:09:40 +08:00
caiyiling 9cb9478848 Merge branch 'main' of https://gitea.frp.extimaging.com/XCKJ/irc_web into main
continuous-integration/drone/push Build is passing
2024-07-04 18:01:04 +08:00
caiyiling bd9ecf13e9 调研表布局调整 2024-07-04 18:00:47 +08:00
wangxiaoshuang fe67ef0189 浏览器推荐版本更改
continuous-integration/drone/push Build is running
2024-07-04 18:00:22 +08:00
caiyiling 7283c5a5a1 中心调研登录跳转
continuous-integration/drone/push Build is passing
2024-07-04 17:33:22 +08:00
caiyiling 4d224c115d 根据用户访问设备跳转不同的中心调研表登录页面
continuous-integration/drone/push Build is running
2024-07-04 17:28:27 +08:00
caiyiling b717530ae3 中心调研表移动端页面布局调整
continuous-integration/drone/push Build is passing
2024-07-04 17:14:34 +08:00
caiyiling 66e5380fce Merge branch 'main' of https://gitea.frp.extimaging.com/XCKJ/irc_web into main
continuous-integration/drone/push Build is passing
2024-07-04 11:45:23 +08:00
wangxiaoshuang 9f73ae7e31 1
continuous-integration/drone/push Build is running
2024-07-04 11:45:10 +08:00
caiyiling 8876d24054 阅片页面功能优化 2024-07-04 11:45:03 +08:00
wangxiaoshuang d5084e411b 浏览器推荐版本弹框
continuous-integration/drone/push Build is passing
2024-07-03 14:26:34 +08:00
wangxiaoshuang cf7c7cbbc1 Merge branch 'uat'
continuous-integration/drone/push Build is passing
# Conflicts:
#	src/views/login/index.vue
#	src/views/trials/trials-layout/components/trialsNavbar.vue
#	src/views/trials/trials-panel/reading/dicoms/components/DicomCanvas.vue
#	src/views/trials/trials-panel/reading/dicoms/customize/CustomizeDicomCanvas.vue
#	src/views/trials/trials-panel/reading/dicoms/customize/CustomizeDicomViewer.vue
2024-07-03 13:29:35 +08:00
wangxiaoshuang ac272d1e94 版本推荐列表字段修改
continuous-integration/drone/push Build is failing
2024-07-03 10:00:14 +08:00
wangxiaoshuang 6a59ed80e2 1
continuous-integration/drone/push Build is failing
2024-07-02 15:57:15 +08:00
wangxiaoshuang d0cefb09df 推荐版本记录删除 2024-07-02 14:42:05 +08:00
wangxiaoshuang 4c241b9acd 管理后台新增浏览器版本推荐
continuous-integration/drone/push Build is failing
2024-07-02 14:40:24 +08:00
wangxiaoshuang e265b0c2af pm新增的部位,支持编辑
continuous-integration/drone/push Build is failing
2024-07-01 15:12:38 +08:00
wangxiaoshuang 2f549846ba 临床数据上传列表添加文件大小字段
continuous-integration/drone/push Build is passing
2024-07-01 14:07:40 +08:00
wangxiaoshuang d9f10055aa 邮箱管理发件邮箱配置清除默认值
continuous-integration/drone/push Build is passing
2024-07-01 11:06:47 +08:00
wangxiaoshuang 19c2c4eecb 影像上传不记入用户锁定和用户退出
continuous-integration/drone/push Build is passing
2024-07-01 11:01:33 +08:00
wangxiaoshuang b3bff41d35 系统标准配置全局阅片、肿瘤学阅片时,没有字段
continuous-integration/drone/push Build is passing
2024-06-28 16:05:03 +08:00
wangxiaoshuang 0eb1289cf0 Merge branch 'main' of https://gitea.frp.extimaging.com/XCKJ/irc_web
continuous-integration/drone/push Build is passing
2024-06-28 15:58:50 +08:00
wangxiaoshuang 5048f040cc zyss、zybs去除我的项目tab 2024-06-28 15:58:39 +08:00
caiyiling 62d7315401 Merge branch 'main' of https://gitea.frp.extimaging.com/XCKJ/irc_web into main
continuous-integration/drone/push Build is passing
2024-06-28 15:40:28 +08:00
caiyiling 13b083d2df 阅片页面添加多帧影像标记渲染 2024-06-28 15:39:30 +08:00
wangxiaoshuang 712d2cc89b 自定义独立阅片人的证书pdf浏览方式修改为pdfjs
continuous-integration/drone/push Build is passing
2024-06-28 15:33:09 +08:00
wangxiaoshuang 9795f89ce9 定时锁定功能问题修复
continuous-integration/drone/push Build is passing
2024-06-28 15:21:18 +08:00
wangxiaoshuang 4eb9c2ff85 定时锁定功能问题修复
continuous-integration/drone/push Build is passing
2024-06-28 15:10:50 +08:00
wangxiaoshuang d5f1ecbb04 定时锁定功能问题修复
continuous-integration/drone/push Build is running
2024-06-28 15:08:19 +08:00
wangxiaoshuang a53fc5478b 临床数据上传流程优化 2024-06-28 15:07:57 +08:00
caiyiling 3ab5c46455 签署文档优化
continuous-integration/drone/push Build is passing
2024-06-28 11:38:23 +08:00
caiyiling c37332e8e2 CRC回复影像质疑,增加自动进入下一任务
continuous-integration/drone/push Build is passing
2024-06-28 10:31:49 +08:00
caiyiling 79cc39918e Merge branch 'main' of https://gitea.frp.extimaging.com/XCKJ/irc_web into main
continuous-integration/drone/push Build is passing
2024-06-27 16:43:32 +08:00
caiyiling ccac950bcf 医学反馈bug修复 2024-06-27 16:43:01 +08:00
wangxiaoshuang e0b095ebc9 登录页版本信息改为后端获取
continuous-integration/drone/push Build is running
2024-06-27 16:41:46 +08:00
wangxiaoshuang 898f6ed8f7 Merge branch 'main' of https://gitea.frp.extimaging.com/XCKJ/irc_web
continuous-integration/drone/push Build is passing
2024-06-27 16:25:23 +08:00
wangxiaoshuang ced1be74b3 国家化新增模块、迭代字段,提供批量更新 2024-06-27 16:25:18 +08:00
caiyiling e6926382fd IR医学反馈添加自动跳转下一任务
continuous-integration/drone/push Build is passing
2024-06-27 16:17:05 +08:00
wangxiaoshuang 59f27b9d35 版本记录字段顺序调整
continuous-integration/drone/push Build is passing
2024-06-27 15:22:22 +08:00
wangxiaoshuang 12449e0ca0 版本记录新增发布状态和是否当前版本字段
continuous-integration/drone/push Build is passing
2024-06-27 15:16:48 +08:00
wangxiaoshuang 3b745051eb 临床数据、IQC问题、医学问题国际化问题修改
continuous-integration/drone/push Build is passing
2024-06-27 14:02:01 +08:00
wangxiaoshuang 81c21c995d usa环境软件名称变更图片
continuous-integration/drone/push Build is passing
2024-06-27 13:21:03 +08:00
wangxiaoshuang a2ffa87056 软件名称变更图片测试
continuous-integration/drone/push Build is passing
2024-06-27 09:44:13 +08:00
85 changed files with 9689 additions and 2196 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
ENV = 'usa'
NODE_ENV = 'usa'
# base public path
VUE_APP_BASE_PATH = 'https://ei-code-prod.s3.amazonaws.com/2024-07-03/'
VUE_APP_BASE_PATH = 'https://ei-code-prod.s3.amazonaws.com/2024-07-10/'
# 是否开启登陆限制 true:是 false:否
VUE_APP_LOGIN_FOR_PERMISSION = false
+148 -147
View File
@@ -1,6 +1,6 @@
{
"name": "EICS",
"version": "1.0.0",
"version": "1.3.2",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
@@ -2820,36 +2820,6 @@
}
}
},
"chalk": {
"version": "4.1.2",
"resolved": "https://registry.npmmirror.com/chalk/-/chalk-4.1.2.tgz",
"integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
"dev": true,
"optional": true,
"requires": {
"ansi-styles": "^4.1.0",
"supports-color": "^7.1.0"
},
"dependencies": {
"has-flag": {
"version": "4.0.0",
"resolved": "https://registry.npmmirror.com/has-flag/-/has-flag-4.0.0.tgz",
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
"dev": true,
"optional": true
},
"supports-color": {
"version": "7.2.0",
"resolved": "https://registry.npmmirror.com/supports-color/-/supports-color-7.2.0.tgz",
"integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
"dev": true,
"optional": true,
"requires": {
"has-flag": "^4.0.0"
}
}
}
},
"chokidar": {
"version": "2.1.8",
"resolved": "https://registry.npmmirror.com/chokidar/-/chokidar-2.1.8.tgz",
@@ -3229,13 +3199,6 @@
}
}
},
"json5": {
"version": "2.2.3",
"resolved": "https://registry.npmmirror.com/json5/-/json5-2.2.3.tgz",
"integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==",
"dev": true,
"optional": true
},
"locate-path": {
"version": "3.0.0",
"resolved": "https://registry.npmmirror.com/locate-path/-/locate-path-3.0.0.tgz",
@@ -3479,32 +3442,6 @@
"integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==",
"dev": true
},
"vue-loader-v16": {
"version": "npm:vue-loader@16.8.3",
"resolved": "https://registry.npmmirror.com/vue-loader/-/vue-loader-16.8.3.tgz",
"integrity": "sha512-7vKN45IxsKxe5GcVCbc2qFU5aWzyiLrYJyUuMz4BQLKctCj/fmCa0w6fGiiQ2cLFetNcek1ppGJQDCup0c1hpA==",
"dev": true,
"optional": true,
"requires": {
"chalk": "^4.1.0",
"hash-sum": "^2.0.0",
"loader-utils": "^2.0.0"
},
"dependencies": {
"loader-utils": {
"version": "2.0.4",
"resolved": "https://registry.npmmirror.com/loader-utils/-/loader-utils-2.0.4.tgz",
"integrity": "sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw==",
"dev": true,
"optional": true,
"requires": {
"big.js": "^5.2.2",
"emojis-list": "^3.0.0",
"json5": "^2.1.2"
}
}
}
},
"webpack-dev-middleware": {
"version": "3.7.3",
"resolved": "https://registry.npmmirror.com/webpack-dev-middleware/-/webpack-dev-middleware-3.7.3.tgz",
@@ -4332,6 +4269,26 @@
"zip-stream": "^4.1.0"
},
"dependencies": {
"compress-commons": {
"version": "4.1.2",
"resolved": "https://registry.npmmirror.com/compress-commons/-/compress-commons-4.1.2.tgz",
"integrity": "sha512-D3uMHtGc/fcO1Gt1/L7i1e33VOvD4A9hfQLP+6ewd+BvG/gQ84Yh4oftEhAdjSMgBgwGL+jsppT7JYNpo6MHHg==",
"requires": {
"buffer-crc32": "^0.2.13",
"crc32-stream": "^4.0.2",
"normalize-path": "^3.0.0",
"readable-stream": "^3.6.0"
}
},
"crc32-stream": {
"version": "4.0.3",
"resolved": "https://registry.npmmirror.com/crc32-stream/-/crc32-stream-4.0.3.tgz",
"integrity": "sha512-NT7w2JVU7DFroFdYkeq8cywxrgjPHWkdX1wjpRQXPX5Asews3tA+Ght6lddQO5Mkumffp3X7GEqku3epj2toIw==",
"requires": {
"crc-32": "^1.2.0",
"readable-stream": "^3.4.0"
}
},
"readable-stream": {
"version": "3.6.2",
"resolved": "https://registry.npmmirror.com/readable-stream/-/readable-stream-3.6.2.tgz",
@@ -4341,6 +4298,35 @@
"string_decoder": "^1.1.1",
"util-deprecate": "^1.0.1"
}
},
"zip-stream": {
"version": "4.1.1",
"resolved": "https://registry.npmmirror.com/zip-stream/-/zip-stream-4.1.1.tgz",
"integrity": "sha512-9qv4rlDiopXg4E69k+vMHjNN63YFMe9sZMrdlvKnCjlCRWeCBswPPMPUfx+ipsAWq1LXHe70RcbaHdJJpS6hyQ==",
"requires": {
"archiver-utils": "^3.0.4",
"compress-commons": "^4.1.2",
"readable-stream": "^3.6.0"
},
"dependencies": {
"archiver-utils": {
"version": "3.0.4",
"resolved": "https://registry.npmmirror.com/archiver-utils/-/archiver-utils-3.0.4.tgz",
"integrity": "sha512-KVgf4XQVrTjhyWmx6cte4RxonPLR9onExufI1jhvw/MQ4BB6IsZD5gT8Lq+u/+pRkWna/6JoHpiQioaqFP5Rzw==",
"requires": {
"glob": "^7.2.3",
"graceful-fs": "^4.2.0",
"lazystream": "^1.0.0",
"lodash.defaults": "^4.2.0",
"lodash.difference": "^4.5.0",
"lodash.flatten": "^4.4.0",
"lodash.isplainobject": "^4.0.6",
"lodash.union": "^4.6.0",
"normalize-path": "^3.0.0",
"readable-stream": "^3.6.0"
}
}
}
}
}
},
@@ -6252,29 +6238,6 @@
"integrity": "sha512-T0+barUSQRTUQASh8bx02dl+DhF54GtIDY13Y3m9oWTklKbb3Wv974meRpeZ3lp1JpLVECWWNHC4vaG2XHXouQ==",
"dev": true
},
"compress-commons": {
"version": "4.1.2",
"resolved": "https://registry.npmmirror.com/compress-commons/-/compress-commons-4.1.2.tgz",
"integrity": "sha512-D3uMHtGc/fcO1Gt1/L7i1e33VOvD4A9hfQLP+6ewd+BvG/gQ84Yh4oftEhAdjSMgBgwGL+jsppT7JYNpo6MHHg==",
"requires": {
"buffer-crc32": "^0.2.13",
"crc32-stream": "^4.0.2",
"normalize-path": "^3.0.0",
"readable-stream": "^3.6.0"
},
"dependencies": {
"readable-stream": {
"version": "3.6.2",
"resolved": "https://registry.npmmirror.com/readable-stream/-/readable-stream-3.6.2.tgz",
"integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==",
"requires": {
"inherits": "^2.0.3",
"string_decoder": "^1.1.1",
"util-deprecate": "^1.0.1"
}
}
}
},
"compressible": {
"version": "2.0.18",
"resolved": "https://registry.npmmirror.com/compressible/-/compressible-2.0.18.tgz",
@@ -6592,27 +6555,6 @@
"resolved": "https://registry.npmmirror.com/crc-32/-/crc-32-1.2.2.tgz",
"integrity": "sha512-ROmzCKrTnOwybPcJApAA6WBWij23HVfGVNKqqrZpuyZOHqK2CwHSvpGuyt/UNNvaIjEd8X5IFGp4Mh+Ie1IHJQ=="
},
"crc32-stream": {
"version": "4.0.3",
"resolved": "https://registry.npmmirror.com/crc32-stream/-/crc32-stream-4.0.3.tgz",
"integrity": "sha512-NT7w2JVU7DFroFdYkeq8cywxrgjPHWkdX1wjpRQXPX5Asews3tA+Ght6lddQO5Mkumffp3X7GEqku3epj2toIw==",
"requires": {
"crc-32": "^1.2.0",
"readable-stream": "^3.4.0"
},
"dependencies": {
"readable-stream": {
"version": "3.6.2",
"resolved": "https://registry.npmmirror.com/readable-stream/-/readable-stream-3.6.2.tgz",
"integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==",
"requires": {
"inherits": "^2.0.3",
"string_decoder": "^1.1.1",
"util-deprecate": "^1.0.1"
}
}
}
},
"create-ecdh": {
"version": "4.0.4",
"resolved": "https://registry.npmmirror.com/create-ecdh/-/create-ecdh-4.0.4.tgz",
@@ -14223,6 +14165,11 @@
"integrity": "sha512-kV/CThkXo6xyFEZUugw/+pIOywXcDbFYgSct5cT3gqlbkBE1SJdwy6UQoZvodiWF/ckQLZyDE/Bu1M6gVu5lVw==",
"dev": true
},
"qrcodejs2": {
"version": "0.0.2",
"resolved": "https://registry.npmmirror.com/qrcodejs2/-/qrcodejs2-0.0.2.tgz",
"integrity": "sha512-+Y4HA+cb6qUzdgvI3KML8GYpMFwB24dFwzMkS/yXq6hwtUGNUnZQdUnksrV1XGMc2mid5ROw5SAuY9XhI3ValA=="
},
"qs": {
"version": "6.11.2",
"resolved": "https://registry.npmmirror.com/qs/-/qs-6.11.2.tgz",
@@ -15841,6 +15788,11 @@
"resolved": "https://registry.npmmirror.com/stream-wormhole/-/stream-wormhole-1.1.0.tgz",
"integrity": "sha512-gHFfL3px0Kctd6Po0M8TzEvt3De/xu6cnRrjlfYNhwbhLPLwigI2t1nc6jrzNuaYg5C4YF78PPFuQPzRiqn9ew=="
},
"streamsaver": {
"version": "2.0.6",
"resolved": "https://registry.npmmirror.com/streamsaver/-/streamsaver-2.0.6.tgz",
"integrity": "sha512-LK4e7TfCV8HzuM0PKXuVUfKyCB1FtT9L0EGxsFk5Up8njj0bXK8pJM9+Wq2Nya7/jslmCQwRK39LFm55h7NBTw=="
},
"strict-uri-encode": {
"version": "1.1.0",
"resolved": "https://registry.npmmirror.com/strict-uri-encode/-/strict-uri-encode-1.1.0.tgz",
@@ -17508,6 +17460,94 @@
}
}
},
"vue-loader-v16": {
"version": "npm:vue-loader@16.8.3",
"resolved": "https://registry.npmmirror.com/vue-loader/-/vue-loader-16.8.3.tgz",
"integrity": "sha512-7vKN45IxsKxe5GcVCbc2qFU5aWzyiLrYJyUuMz4BQLKctCj/fmCa0w6fGiiQ2cLFetNcek1ppGJQDCup0c1hpA==",
"dev": true,
"optional": true,
"requires": {
"chalk": "^4.1.0",
"hash-sum": "^2.0.0",
"loader-utils": "^2.0.0"
},
"dependencies": {
"ansi-styles": {
"version": "4.3.0",
"resolved": "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-4.3.0.tgz",
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
"dev": true,
"optional": true,
"requires": {
"color-convert": "^2.0.1"
}
},
"chalk": {
"version": "4.1.2",
"resolved": "https://registry.npmmirror.com/chalk/-/chalk-4.1.2.tgz",
"integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
"dev": true,
"optional": true,
"requires": {
"ansi-styles": "^4.1.0",
"supports-color": "^7.1.0"
}
},
"color-convert": {
"version": "2.0.1",
"resolved": "https://registry.npmmirror.com/color-convert/-/color-convert-2.0.1.tgz",
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
"dev": true,
"optional": true,
"requires": {
"color-name": "~1.1.4"
}
},
"color-name": {
"version": "1.1.4",
"resolved": "https://registry.npmmirror.com/color-name/-/color-name-1.1.4.tgz",
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
"dev": true,
"optional": true
},
"has-flag": {
"version": "4.0.0",
"resolved": "https://registry.npmmirror.com/has-flag/-/has-flag-4.0.0.tgz",
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
"dev": true,
"optional": true
},
"json5": {
"version": "2.2.3",
"resolved": "https://registry.npmmirror.com/json5/-/json5-2.2.3.tgz",
"integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==",
"dev": true,
"optional": true
},
"loader-utils": {
"version": "2.0.4",
"resolved": "https://registry.npmmirror.com/loader-utils/-/loader-utils-2.0.4.tgz",
"integrity": "sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw==",
"dev": true,
"optional": true,
"requires": {
"big.js": "^5.2.2",
"emojis-list": "^3.0.0",
"json5": "^2.1.2"
}
},
"supports-color": {
"version": "7.2.0",
"resolved": "https://registry.npmmirror.com/supports-color/-/supports-color-7.2.0.tgz",
"integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
"dev": true,
"optional": true,
"requires": {
"has-flag": "^4.0.0"
}
}
}
},
"vue-pdf": {
"version": "4.3.0",
"resolved": "https://registry.npmmirror.com/vue-pdf/-/vue-pdf-4.3.0.tgz",
@@ -18898,45 +18938,6 @@
}
}
},
"zip-stream": {
"version": "4.1.1",
"resolved": "https://registry.npmmirror.com/zip-stream/-/zip-stream-4.1.1.tgz",
"integrity": "sha512-9qv4rlDiopXg4E69k+vMHjNN63YFMe9sZMrdlvKnCjlCRWeCBswPPMPUfx+ipsAWq1LXHe70RcbaHdJJpS6hyQ==",
"requires": {
"archiver-utils": "^3.0.4",
"compress-commons": "^4.1.2",
"readable-stream": "^3.6.0"
},
"dependencies": {
"archiver-utils": {
"version": "3.0.4",
"resolved": "https://registry.npmmirror.com/archiver-utils/-/archiver-utils-3.0.4.tgz",
"integrity": "sha512-KVgf4XQVrTjhyWmx6cte4RxonPLR9onExufI1jhvw/MQ4BB6IsZD5gT8Lq+u/+pRkWna/6JoHpiQioaqFP5Rzw==",
"requires": {
"glob": "^7.2.3",
"graceful-fs": "^4.2.0",
"lazystream": "^1.0.0",
"lodash.defaults": "^4.2.0",
"lodash.difference": "^4.5.0",
"lodash.flatten": "^4.4.0",
"lodash.isplainobject": "^4.0.6",
"lodash.union": "^4.6.0",
"normalize-path": "^3.0.0",
"readable-stream": "^3.6.0"
}
},
"readable-stream": {
"version": "3.6.2",
"resolved": "https://registry.npmmirror.com/readable-stream/-/readable-stream-3.6.2.tgz",
"integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==",
"requires": {
"inherits": "^2.0.3",
"string_decoder": "^1.1.1",
"util-deprecate": "^1.0.1"
}
}
}
},
"zrender": {
"version": "4.3.2",
"resolved": "https://registry.npmmirror.com/zrender/-/zrender-4.3.2.tgz",
+2
View File
@@ -50,9 +50,11 @@
"path-to-regexp": "2.4.0",
"pdfobject": "^2.2.8",
"popper.js": "^1.16.1",
"qrcodejs2": "0.0.2",
"sass-loader": "^8.0.0",
"screenfull": "^4.2.0",
"sortablejs": "^1.15.0",
"streamsaver": "^2.0.6",
"v-viewer": "^1.6.4",
"vcrontab": "^0.3.5",
"vue": "^2.6.11",
+3
View File
@@ -252,4 +252,7 @@ textarea {
.title-logo {
height: 40px;
}
.title-logo {
height: 40px;
}
</style>
+16
View File
@@ -277,3 +277,19 @@ export function batchAddInternationalization(param) {
data: param
})
}
// 国际化获取迭代列表
export function getPublishVersionSelect() {
return request({
url: `/PublishLog/getPublishVersionSelect`,
method: 'get',
})
}
// 国际化批量更新
export function batchUpdateInternationalInfo(data) {
return request({
url: `/Internationalization/batchUpdateInternationalInfo`,
method: 'put',
data
})
}
+32
View File
@@ -1013,4 +1013,36 @@ export function getTrialSiteList(params) {
method: 'post',
data: params
})
}
// 获取版本记录列表
export function getExploreRecommendList(params) {
return request({
url: `/ExploreRecommend/getExploreRecommendList`,
method: 'post',
data: params
})
}
// 新增或修改推荐版本记录
export function addOrUpdateExploreRecommend(params) {
return request({
url: `/ExploreRecommend/addOrUpdateExploreRecommend`,
method: 'post',
data: params
})
}
// 删除推荐版本记录
export function deleteExploreRecommend(id) {
return request({
url: `/ExploreRecommend/deleteExploreRecommend/${id}`,
method: 'delete'
})
}
// 获取推荐版本记录详情
export function getExploreRecommentInfo(params) {
return request({
url: `/ExploreRecommend/getExploreRecommentInfo`,
method: 'get',
params
})
}
+7 -1
View File
@@ -51,4 +51,10 @@ export function batchAddOrUpdateFrontInternationalization(params) {
data: params
})
}
// 获取当前版本
export function getCurrentPublishInfo() {
return request({
url: `/PublishLog/getCurrentPublishInfo`,
method: 'get'
})
}
+111
View File
@@ -3675,3 +3675,114 @@ export function getTrialSiteSelectList(params) {
params
})
}
export function getNextIRMedicalFeedback(param) {
return request({
url: `/ReadingMedicalReview/getNextIRMedicalFeedback`,
method: 'post',
data: param
})
}
export function getNextCRCChallenge(param) {
return request({
url: `/QCList/getNextCRCChallenge`,
method: 'post',
data: param
})
}
// 获取中心dicomae列表
export function getTrialSiteDicomAEList(param) {
return request({
url: `/TrialSiteDicomAE/getTrialSiteDicomAEList`,
method: 'post',
data: param
})
}
// 新增或修改中心dicomae信息
export function addOrUpdateTrialSiteDicomAE(param) {
return request({
url: `/TrialSiteDicomAE/addOrUpdateTrialSiteDicomAE`,
method: 'post',
data: param
})
}
// 删除中心dicomae信息
export function deleteTrialSiteDicomAE(id) {
return request({
url: `/TrialSiteDicomAE/deleteTrialSiteDicomAE/${id}`,
method: 'delete',
})
}
// 获取项目中dicomAE配置
export function getTrialDicomAE(params) {
return request({
url: `/TrialDicomAE/getTrialDicomAE`,
method: 'get',
params
})
}
// 项目新增或修改dicomAE配置
export function addOrUpdateDicomAE(data) {
return request({
url: `/TrialDicomAE/addOrUpdateDicomAE`,
method: 'post',
data
})
}
// 测试dicomAE链接
export function testSCPServerConnect(id) {
return request({
url: `/TrialDicomAE/testSCPServerConnect/${id}`,
method: 'get',
})
}
// dicomAE配置签名
export function ConfigTrialPACSInfoConfirm(data) {
return request({
url: `/Inspection/configTrialBasicInfo/ConfigTrialPACSInfoConfirm`,
method: 'post',
data
})
}
// 获取推送记录
export function getSCPImageUploadList(data) {
return request({
url: `/Patient/getSCPImageUploadList`,
method: 'post',
data
})
}
// 获取影像检查患者列表
export function getPatientList(data) {
return request({
url: `/Patient/getPatientList`,
method: 'post',
data
})
}
// 获取影像检查患者检查列表
export function getPatientStudyList(data) {
return request({
url: `/Patient/getPatientStudyList`,
method: 'post',
data
})
}
// 获取接收方AE列表
export function getDicomCalledAEList(params) {
return request({
url: `/Patient/getDicomCalledAEList`,
method: 'get',
params
})
}
// 获取发送方AE列表
export function getDicomCallingAEList(params) {
return request({
url: `/Patient/getDicomCallingAEList`,
method: 'get',
params
})
}
+781
View File
@@ -0,0 +1,781 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 765.14 474.77">
<defs>
<style>
.cls-1 {
fill: #d1d6ff;
}
.cls-2 {
fill: #707bef;
}
.cls-3 {
fill: #3d37a6;
}
.cls-4, .cls-5, .cls-6 {
fill: #fff;
}
.cls-5 {
opacity: .5;
}
.cls-5, .cls-7, .cls-8, .cls-9, .cls-6, .cls-10, .cls-11, .cls-12, .cls-13, .cls-14 {
fill-rule: evenodd;
}
.cls-15 {
fill: #f58d7d;
}
.cls-7 {
fill: #afbee7;
}
.cls-16 {
fill: #9f2121;
}
.cls-8 {
fill: #7483a7;
}
.cls-17 {
fill: #200000;
}
.cls-18 {
fill: #ab2426;
}
.cls-19 {
fill: #00338f;
}
.cls-9 {
fill: #333d56;
}
.cls-20 {
fill: #fac6bf;
}
.cls-21 {
fill: #e8625b;
}
.cls-22 {
fill: #ffbfce;
}
.cls-23 {
fill: #ffd785;
}
.cls-10 {
fill: #90a2d0;
}
.cls-11, .cls-24 {
fill: #384a8e;
}
.cls-25 {
fill: #a1b1f5;
}
.cls-26 {
fill: #fcfdff;
}
.cls-27, .cls-28 {
fill: #4b65de;
}
.cls-29 {
fill: #1067db;
}
.cls-30 {
fill: #7fc346;
}
.cls-31 {
clip-path: url(#clippath-2);
}
.cls-12, .cls-32 {
fill: #464c5c;
}
.cls-33 {
fill: #ff768d;
}
.cls-34 {
isolation: isolate;
}
.cls-35 {
fill: #2897cc;
}
.cls-36 {
fill: #ff5722;
}
.cls-37 {
fill: #025aa4;
}
.cls-38 {
stroke-width: 8.99px;
}
.cls-38, .cls-39, .cls-40, .cls-41, .cls-42 {
fill: none;
}
.cls-38, .cls-39, .cls-40, .cls-42 {
stroke-miterlimit: 10;
}
.cls-38, .cls-39, .cls-42 {
stroke: #dae2f9;
}
.cls-43 {
clip-path: url(#clippath-1);
}
.cls-39 {
stroke-width: 22.47px;
}
.cls-44 {
fill: #002daa;
}
.cls-13 {
fill: #c1d4ff;
}
.cls-45 {
fill: #1e1c1c;
}
.cls-46 {
fill: #e3edfe;
}
.cls-40 {
stroke: #e8eef9;
}
.cls-40, .cls-42 {
stroke-width: 6.74px;
}
.cls-28 {
opacity: .4;
}
.cls-28, .cls-47 {
mix-blend-mode: multiply;
}
.cls-48 {
fill: #c54342;
}
.cls-49 {
fill: #f99595;
}
.cls-50 {
clip-path: url(#clippath);
}
.cls-51 {
fill: #eef4fc;
}
.cls-52 {
fill: #f7d5b0;
}
.cls-53 {
fill: #c1d0f2;
}
.cls-54 {
fill: #6169b3;
}
.cls-55 {
fill: #fafcff;
}
.cls-56 {
fill: #d47180;
}
.cls-14 {
fill: #2e3d6d;
}
.cls-57 {
fill: #4770e4;
}
.cls-58 {
fill: #e8eef9;
}
.cls-59 {
fill: #e56059;
}
.cls-60 {
fill: #c24434;
}
.cls-61 {
fill: #d04139;
}
.cls-62 {
fill: #f2f2f2;
}
.cls-63 {
fill: #065fa8;
}
.cls-64 {
fill: #5ad2fe;
}
.cls-65 {
fill: #aa2f27;
}
</style>
<clipPath id="clippath">
<polygon class="cls-4" points="420.66 471.75 343.93 471.75 345.03 363.22 421.77 363.22 420.66 471.75"/>
</clipPath>
<clipPath id="clippath-1">
<path class="cls-41" d="m185.09,399.5c-.01,10.38,9.49,19.78,20.01,19.78h333.01c12.07,0,20.96-8.77,20.97-20.68l.05-36.91H185.15l-.05,37.81Z"/>
</clipPath>
<clipPath id="clippath-2">
<path class="cls-41" d="m466.77,472.37h-191.24c-2.4,0-4.65-1.95-5.03-4.35l-.03-.19c-.38-2.4,1.26-4.35,3.66-4.35h191.24l1.4,8.88Z"/>
</clipPath>
</defs>
<g class="cls-34">
<g id="_图层_2" data-name="图层 2">
<g id="_图层_1-2" data-name="图层 1">
<g>
<path class="cls-51" d="m677.06,197.09c-3.8-25.04-18.99-48.95-39.61-64.35-29.98-22.39-68.97-29.39-106.39-28.8-66.18,1.04-88.53-62.47-139.47-91.25-35.63-20.13-81.65-14.74-117.31,5.35-35.65,20.1-62.42,52.89-84.63,87.27-9.81,15.19-19.17,31.14-33.03,42.75-12.48,10.45-27.85,16.72-41.72,25.25-40.79,25.09-67.77,71.28-69.59,119.13-1.82,47.85,21.59,95.96,60.36,124.07,31.42,22.78,77.46,38.95,113.74,51.18,40.37,13.6,86.38,2.08,127.83,2.24,87.87.33,175.74.67,263.61,1,.01,0,.02,0,.03,0,17.46.07,40.06,3.53,56.3-.95-6.97,1.92,9.65-39.42,10.09-42.39,2.42-16.35-1.82-32.18-10.45-46.22-12.07-19.65-29.28-38.04-30.63-61.06-1.92-32.74,28.59-57.84,38.45-89.12,3.51-11.13,4.12-22.72,2.4-34.08Z"/>
<g>
<path class="cls-63" d="m635.26,192.49s8.62,56.26-19.83,100.54c-14.36,22.34-30.95,40.22-46.12,51.01l-45.66-7.31c-2.6-19.71,7.73-52.27,28.4-84.44,28.45-44.28,83.21-59.81,83.21-59.81Z"/>
<image class="cls-47" width="113" height="148" transform="translate(523.11 192.24)" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHEAAACUCAYAAACk98bhAAAACXBIWXMAAAsSAAALEgHS3X78AAANuUlEQVR4nO2d+Y8dRxHHa3af7djxfeEc5CYmiFMIxCEQ/EAw8O/yE78hJJBAIBA3KOQgiZPY2PHtXe9Oo3lvel51dVV1z/lm5vVXsnaOntl1f963uqrneBkkTU7GGAOrn5BlGSSIE5FZyftjd3Z2ssW2d87Yled55TorijI5cYTC4RIoNLOmtruzs1xKEEckHDL9wFnsXy8vdncqdimcjkAW3vKf/XOMC9IojktO3KBosmIXqQvp+hHkQkgQh5cHzv5EpBwHkoz06GLXY5bC6UDCIRM8UHhZzkIlJSf2LMl5dsyTXMcBPMa4EBLE/mTrOxBcZ9CKoe0YgseO8AAhhdPuxcGj4x038yIlNTFKTuxIXNjkkpVQUkNV7DquuBASxPaqEhZyJmPoTItxx0DiPIMPRDp+dBFklMJpQ1l4OYqDHJAKHOdK1I7uq6PkxAZaA/SPpa70HGm3wxqypBMRLoTkxHrC7tPGO2msow71tnsrcUpOjBBOWnJhrAOmBgTkOLTLC69Uxa6Tx+JcCAmiLnpVISdxUqr/OHBcO0l1AEIKp7KKei9H7uPGLxo2pctI2HleGNXqi0glJzIqANo6z0tUYB0uM+Q8toAHl1oOMjR7vlNPHanNJEFEKmKnTVooGAzP3cZDdtY1yEinGwCEFE7XOizCZ26WbnHCIlf/2XXSTmqjBcwOomly4tJ9uSkTFwEe09M54zZyXn6fUDeeOd7MhbDtEAuAh7lNXgwfMoXrf7HgJKfhzWdbAIRtDacW3oEFmPudnwu9T2dppGuAYqHP7WyprXOiBWgTFy8sCsU7Xg9NmWm1IA3N504cbc1gqyAWAJfuMwYOcUejMEjB4cWY2wmlqTWvPQCc7wAgbEs4taVDAdC6T5vn5DqfC6+xNzex5+wwou52d6pxqijci/BZGnBVcEckKiYwJwp4nzahjTbg7Ree7saFMHcnFrXfyn2uk9azLG579qp7IEmhrlMTmp402zHx4DCvZl9y7CpuDpOOdWbdM2KSwjiVSzo5iBc7dCHMFeL+waGxIRI70Gai2q2B6tjIhVjQwyzddunksc77fHbhdK8EeGjdVfYjnnzWsstqHe2QQIvjYCAz7VqzcuLekxU6fOXdcOHSirmBt9rFuAikkBm4R8Zuu9yDC2EuEAt4xc8DMvMi3YXmrsvlgDQDY8hG1pHktJdP9QMQ5hBOHz85XCYw9LYJI8yFAlO8c/vYWRpwaUqTA8xqr5q0Ex/tH5Thc73NwotNUJzN4EPHCUqtJAhtv9KjC2HKEB/uHxgOHnDF+3JdH7eAg1IDNj3O6srpp3rv40mG0wd7K4BcR1OwVGrhDvKxYpiV2g2oyTnx/t6B/1w7mk6Dmpkld4w/DtLzKGMp0jMDuBCmNnd67/ETG8mWqmpALcUXZlykuk4ChzfH1JnPnhkGIEwpnBYAKTwjuAID4JIaobmaqEhjZExy07cmEU7vFg5kbliil4dCNWCdJIUmKFLN6OwrdmQZPDegC2EKTrzz6Ilxsk3lETEtMeFEs1gKDgSXutu9T069/2AHGrUTlwDLZfqqEK3z1fEPXPDa8bGXoOxS0ZnPnz0+eJ+O2ol0zPNuUrI/JYCCKUwN1/ljoByiNwEQxgzx9sN9oxfwpMwIOMc9NDzWSdmrs28ESQ2MtcRYAoR1wiGGO7QS04liEiPA0Ap+eo4Xzm3GhTDGMfHWg31DO7JOVgkO3AblhHK/jHQl48XzJzbaj6MLp9hlISc4qb1wHmdbg7GODdEbyEA1jSqc3nywXw50fBlhF6WO5LLSTNtfI1za30m3v7RhF8KYwunN+3sGu1BKGrQbeEExSag8sCtc6cIDBXj5wuYBwljC6Y0SoHRnGXZeLDy8mkWUISF4whA7Cm38k/TJ/T0jOcBZt8sRTnMaZ5n8Gmaa6UIYnl18ZSQuhFE4MfCmCadpRDmBHWcdSMdW6QMjwaOgXx0RQNg0xI/v7Rn6HLuaFVKFQqxQitStO8eYkWJt7BP10d3HXHQLPtenAeM2cuHS+50gwCOxtFh67eLTo6utN+LEAqAUKsEBaqo3VDhtpROTbIarJUMh0/5eoJBHfLVg8L/rOnJgqBOxGpcUHBDuAxPR9nOXxudC2IQTYx5Q4fcr+5Rf1AU8GDFAGBrih3dIGFXe0sTNmlBxHwQg20V4kWOj/VKtMWtQiFwHAu10hpyWmdr9GVrmnNQEntXrI3YhDDkmvv/pI1quVQqCazhGciHT2R5waKGrl0+O/j6kQZxoAVKKciiVnUrF1SkavDrhdSoaBKKUhQIBZ9BL79RzcSeqAU/KhKlD3/jM+F0IQ4TT924/4sxSroQfxuSgccdwLq7rPBwApgIQBnUi8OOS3FbZxx4YWVI0neIbsXr9tL1buDBiflNqED5GzzTtYsxVe9zmC1dOTeoZld7+2HduPeQrA2+B2Ue3ByafpbDJwhNewGc1NYDQdziVB8P4cS14DHNe7Qu2tHZTfVizl3ts3i5cGOk0mklK7bh99P6ZGHgA7jVG7OAvPjM9F0JfTtSiHwcNFHBa+K1e8RUTNsHNhqXEZ4rq3In/+d9Dv98jwyPt2JDawKO/5ksTdSH04UR6IbXazrWVdijHrH8PCZ3KdzW5f5sP+csTBghdQ3zr5gOxfG9c/zGOs1cV2FIBbdDcJ4X1KapTiL4Twm297REdW71wnYHng1ovc22+8uzpyb+QqbP/wL9vPFB7ny8P6jvBtIDnHJ8BfHUGAKErJ2KAbQr2GDnjWgAebWe8HfNQJxC5OqxOe65BTFLDlQv+NvcNU3b/156bhwuhi3D6z0/uxzBRd8S7MBYeCp1MmzkBhN6KfWFjkwjGlQscGEAAOXhS6TMHtfpE/kNwYUy+omdBfJ1JOaxLDNl5dOz8+vNnZve25XZOjHSXHE5NXDuh1gMEMEcNcf2IU585AoQ2EP/+8X3RcN72Glcl2HZc6FTCK/fut3kG0pUaQ4yNo9GgIvdp4x5QuAjeNz47TxdCq3Da8O4w36X+KveINgfJDZ2u+7ivT5+rGn06//rRPSkB5RXo0PBYqF+FoK+KdiEb+OYLZ2f9nVitEpuQqyJ3yccE6j1DptK4cmTuAKEJxL9cv6e9nVJVXZAiPCDuVMLqNqg2xNogGhbZJhQ6FffZ8fBbL87fhVB3TPzzdX8sbFLtR7m2hvuKlZwcty0Aoa4T61y1r6vq1BnJOkGBh5zJPRyzLYr+tP7pw7u1+6ZNtmrh4eYVQDQTY6hrjYFvv3Ruq76htfUEuPEW2p+Pug9w3YcKfXoHd7H6nS0DCHUgxuYnbVnStypyyQt1nym/4GvkD/T2piiIf/zgrvj4Uv1stRz4UIdnaJ9WNgAC6Ey/lbu30YUQC7Gpu+Qr/G524k+tyQV91c5mpOW27768nQAhBuIfPri7RtGi5otqJzzsIoXPZn/N/BR2YsvLSLHSZl0qYGVWSoF+75XzW+tCiIHYBladOxI9gEo9aBDAraZXSoX4+/fvyBiMuholeoz0xZWm/JJLYGBvuwshBLHuvb1tEyB25oUAxF8t9P0EcCkd4gB/AC0rrOit+ka4fT9JmXb73X+VUEogtBENn4aMixzAYukHryYXWolObAuHPSf7dO962f5eGlItwMMyrv7wtQsJIBIL8bfvfdqYYOhAOqUGjhv98sGCpl+zl7QWCzEujjbsReIhbvpMA5hc6IsPp8yUWGeiMy1k+oyOfwlgWM2dGCF7HrbnOfeRpAYD3KZbEOvK69/fvNt8PKye3gz5hQ2f6EIvAmiToeRCWb4TWycQ4XvmafiktSIGCAlgUB7EQaJWJMCUlcbJ+YT/+p3bvfcYvVohASzGwGL/j16/mFwYkOPEIT709ldgh3khtFgvKCZ8Uer+ZURomTKgAKvLSmSK5qBMRd9MLoyS68SOT+5damKuF9IrGHZq7c2rCWCsKoi/evu20VwEVYfLJUS4sggDpPOrSWEtUA+7HS6jEHdqTsYJDAVIZ3GSC+upglg3lDbpZRZg+dOG0R8ngLXV7ePeWnsJIAqjSc20/NT/8q1b9fsws98UKu9TAZrVzE2OACYXNlOLZ/YVN5J9Tk0ICWDXWkLsKpRpFHD4BATwyaHZ2mcoutIKInJKhpdqdi73YeBuhMLri90MriUXtpIyAd7xG3wswPIWRDs6Xrt6KQFsKTGcdtWzdMI756baklpp5URmmqRNF68fVXNrwZyY+9rnkwu70NqJAjW2l8uN1kwZ3Q7+T5yJJhd2q2YP1Bhhlbl6RAHm5UMwyYXdKVhi4O/q5bZT4Xbco9uQAHauqsTwe3X1LhJDt5GQSY+woo+iAXO2pG6kTICzVR9kLIcVXMd1eLoNjYM/SS7sXLu/+NdNg7/Ht00Ps/OlsI6jCWA/WtCa3jS84At0PKwWUhDtWwuvg2nZ4G52lfFtq4dCy+K+mBtNLuxP8qNtgV+ZoUahOdMEsF8ttJcDaZIg4/E11fTDqHQi/3Kgpch1Ijylxl3osJmoBfjTN5IL+5Y/Jpaqel67gapgX0K27fEF4ARwGC2kWwSjxkRYQ+ZmZpIGgsheNiSFYwxkeuXiZ8mFg2mBWK1FCj53jGTaM1cukgaESCFQeXaiZUWGx8PVz+TCYbWg4xe9aSl49YI4NQEcXk6H//xvN0yTO8/w5aoEcXhFdXgs3ARwoioAF/+2vR82JgD4Py3tuexQuXy8AAAAAElFTkSuQmCC"/>
<path class="cls-4" d="m635.62,191.94c-.3-.2-.71-.11-.9.2l-34.84,54.22-6.23-22.68c-.1-.35-.46-.55-.8-.46-.35.1-.55.46-.46.8l6.54,23.81-39.18,60.98-9.98-20.48c-.16-.32-.55-.46-.87-.3-.32.16-.46.55-.3.87l10.32,21.2-18.65,29.03c-.19.3-.11.71.2.9.08.05.16.08.25.1.25.04.51-.07.65-.29l39.47-61.42,25.89-1.33c.36-.02.64-.33.62-.69-.02-.36-.33-.64-.69-.62l-24.96,1.29,54.12-84.21c.2-.3.11-.71-.2-.9Z"/>
</g>
<g>
<path class="cls-63" d="m645.71,307.02s-15.11,28.68-42.62,40.29c-13.88,5.86-27.26,8.96-37.62,9.23l-17.79-17.58c5.48-9.92,21.02-21.75,41.01-30.18,27.52-11.61,57.02-1.75,57.02-1.75Z"/>
<image width="99" height="44" transform="translate(547.11 302.24)" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGMAAAAsCAYAAABxNQYsAAAACXBIWXMAAAsSAAALEgHS3X78AAABTElEQVR4nO3aiQ3CMAyF4SIxDAOwFBOxFAOwDUhIRq565LRjO+8fgDr9FHrAgux0mcXi9nx9NI/3ftyLz204DO2TXlIKKASGZYBUHMgthmeAo1xhRATgmceIDuDia2omBMocRmQEF3dTM+6CvYZiAGHdMIyoEDVP3pQ6BhCOU8MAQjpxjIgIPQF4ohjRIKQQKJEPj4QgDcDrfqAoEJoIVLcDAqG9Lgf2DjESgNc0BBD6Vj1MlF/XLFU1lEcIqwC8ogGBIFv2oN4gPCFQWQN7gfAIwEsO7wHCOwJ1ugjPfwjz2OGCrEJERKB2F2YRIjICdbUxxn4zAPA2i7WwK2ZDoFaLHg0xKwL1X/woiNkBeL8TMQICCNtUL+AAOO+isSuAkJfozgBCWd2vGQCor9vdFBDaa37OAEK/qp7AASBT0YtCIMiW9QodCAoty/IFaUmhq+RDGEYAAAAASUVORK5CYII="/>
<path class="cls-4" d="m646.02,306.89c-.07-.17-.27-.25-.45-.18l-30.53,12.88,6.58-11.71c.09-.16.03-.37-.13-.46-.16-.09-.37-.03-.46.13l-6.95,12.36s-.02.06-.03.1l-41.85,17.66,5.35-16.3c.06-.18-.04-.37-.22-.43-.18-.06-.37.04-.43.22l-5.51,16.79s0,.04,0,.07l-17.15,7.24c-.17.07-.25.27-.18.45.03.08.1.14.18.18.08.04.18.04.27,0l40.88-17.25,14.56,6.27c.17.07.37,0,.45-.18.07-.17,0-.38-.18-.45l-13.96-6.01,49.59-20.93c.17-.07.25-.27.18-.45Z"/>
</g>
<g>
<g>
<path class="cls-63" d="m132.21,302.14s9.06,30.39,33.93,45.91c12.55,7.83,25.17,12.88,35.38,14.71l21.26-14.56c-3.38-10.55-16.34-24.48-34.42-35.76-24.88-15.52-56.15-10.3-56.15-10.3Z"/>
<image class="cls-47" width="91" height="53" transform="translate(132.11 301.24)" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFsAAAA1CAYAAAAuyJezAAAACXBIWXMAAAsSAAALEgHS3X78AAAGTUlEQVR4nO2c+2/cRBDHZy/pu2nTPCilpYWW0qoIAQIhBIiXUOEH/lzevyAhkEAIhBAQgqpWpbSUJiG5vF/nRePz2rOzs2v7Hrnz3Y2UnL1evz47993Z9fiUbhqUMVO7phTgvnSdmlKsYMhNRVEUs8J/yNzCozOwPsP6tK0y8J4dNEAt2ThsjRHfbKMRpbxSbpQ88V6V0NXkANqUx1Xt5jEtiXytY5C6Y2Y92T4+5m2qSpt1U3uNSFOQGXhSUxu4WQUKntdzwWugDm2Oo1k9g/vI+NjAgBdvZGe/oTlIILCodiC4tJzruVBuHyv78ihazuqYCicOj1cavPfit/YaCaUwLKMjRHGsOsZDNTuIz+trTFJAkCa0iaOHKgc+94I3d/czToK3A8jyAAQS1ei8DjcvMOKbJ49VB3qhC13fSYAXgAUBYErQc+7BToDiOScvmzp+uO+hl7rA1e09K1hJl4UDOYB4RCOUW/uxTlPSdLt+c2nm5JG+hd7ShdW39mzn9QATAREpouGgKfRJlHMc1slymTs70X/QW76g5c1d3ueFNR0yXefrvE74GIFzEBcwS+dOHe0b6G1fyNLGrsTbCw3A9kLjlV4ZCkQwQCCnfYBQCYvOn+499I5cwOL6jtgnuq4fBgZcz8l2Gv75OmDH24WKFyaP9Qx6R0/8aG1HckjLqOeHIhvFjiHNv4AHKLBvBq9x8UxvgHflpA9Xtx0Ekpdz45tVgcbJ03IAV8/RLk0dP3DgXTvhgzoBXjA+p0br1wAgSo9lfcj75I16ybbL0wcHvesnul/f1pFPA/KdPTU+ICrk8T7pIfuiXZk5cSDAD+Qk91a2UleLQhWLPMQgk2DWKDQQtfjCQr7v1dnuQj9Q3bq7vKWlmw4iFjb6HlhACbDONST7XHvsZNeY9KRXvrO0KfIto+um8wzC9cTcIEQxdO16l4D3LOa8vbSpc8O2AkanBIp4rnQO6Vty42zngfd8VHVrcSP4vFkaXTrbWVDOB0G0HASPD3W2zz0+0TFGfTFv8OfCRqIGZQPEzFTypJ9bELDU0ZIFs/78uc4A76uZsflH6zoqwZtKiFk2cy1evRa818iPLzzE5ReeONU2q76c+537dz3Vc6+MBLIgrGyMnDg8FCZyj3+xTeB9O9H+28M17XR4nquVinnKhTR6BObBwAEL9V863zrwvn+U9Os/a14lL3TxQsoFeCB7G4SFli9fON0St0o8LP3lwWp8t/Hok2dtEUuLWYWaZ+AjhYsSZNpxmuVXniwPvFLpAD/fX9VBVQk0ApWVIvG4FIfzTvPVi5Ol+FUy6eUnhE6w85uQHkAokJ9V+kagDuC03C4pA7yyGUY//l23wkQqFZw1XTWZWk7U4Qn9uF6DUPe1S8WAVz6P7od7ddvLPV4NrBGUAM/y2bjMbgygjUD+4cfrT53JZTkQSYvf/7XiDB55DmFWnpVgKoUziBISS8UZRkH/33g6DHygUnO/u7sSDM2Rsw9+qGM05c5klqDrbwaAjxe+kwqY0c5v7yxbVAzkZgKum95Gkz+lyANE+QhHMJINZNI52jcMOAjabcCnkUoAtCQlvm/D21em5BmGtu6oAvb17f8s6DUC2AKhSE45EE32jT55yh2r944AvDbQpAHgrctTCkFgR4gvVqR/uvkXEc/F8hgiljcXrSjF6LYmDaFZPbNdsoH3bGpf3VqSvVzZZdIrLLyD5J4sDe3fuzpt8R0q2MYQejoAMp8ImYCnb0CkIIUhfmj+BD/fJ8AHXkYke/eZaRUlcoJvszSlAKVDW1JDJYF3kBGVk6QwT06G0rOpfTm/GCNBEPhGII/FsYxKRp4nS7nqN5+diQ85lJ5N7ea1JgiEsh9pwBflGsRDYw8v4cnZOqSdrLGh92xqX8wvpmMW9EJ8E1mROBwoaCe+lie1jLd/eH1WDdQIsl37IPHyj39fiBkdIqBroKwXZDOo8mSVJCkjz/bY538spJxMpAJGw4FNWOXpdrIygp1jCF1z4IrDlb3Z7lhHHWSuodYCZKFh3GnSAQ19kJCTZDTy7BL2GXp5wrPG5lJ4SMi9+qMbs6MfX2nFPp1r6nn8uylCbgoFjpDNKUawWzQErukPIThzJTZoGMFu3z6ZW9BW2rIA2dgIdgcMgRvP9oEGAPgf3OtAXqhoKN0AAAAASUVORK5CYII="/>
<path class="cls-4" d="m131.9,301.95c.11-.17.33-.22.5-.12l30.46,19.01-2.27-12.91c-.03-.2.1-.39.3-.42.2-.03.39.1.42.3l2.38,13.55,34.26,21.38.15-12.69c0-.2.17-.36.37-.36.2,0,.36.17.36.37l-.15,13.13,16.31,10.18c.17.11.22.33.12.5-.03.04-.06.08-.1.11-.12.08-.27.09-.4,0l-34.51-21.53-13.36,5.5c-.19.08-.4-.01-.47-.2-.08-.19.01-.4.2-.47l12.87-5.3-47.31-29.52c-.17-.11-.22-.33-.12-.5Z"/>
</g>
<g>
<path class="cls-63" d="m144.35,355.63s11.05,13.35,26.71,16.41c7.9,1.54,15.24,1.7,20.69.71l7.38-11.15c-3.95-4.59-13.38-9.07-24.76-11.3-15.67-3.06-30.03,5.33-30.03,5.33Z"/>
<image width="56" height="17" transform="translate(144.11 349.24)" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAARCAYAAACIJW/gAAAACXBIWXMAAAsSAAALEgHS3X78AAAAmklEQVRIidXW2w2AIAxA0bKNA7iUE7mUA7iNRj8MNiVQSkt7vxVyfAAJhC37cbWOcG6reD5u7Ak5IG4aD6A6oCao1ggwOcBMFJUE+rvRG4yKi30vjgDDtUJTRFxeDRruEy1VgrpeRXvC0K7VyTs6Rw7bWL1uLapHp9noB2l+NrRGmwNLacCnvEFOErTJP6hRKzoskAqjv20CAG4a0EKcs+XdfAAAAABJRU5ErkJggg=="/>
<path class="cls-4" d="m144.17,355.6c.02-.1.11-.16.21-.14l17.39,3.39-4.72-5.4c-.07-.08-.06-.19.02-.26.08-.07.19-.06.26.02l4.99,5.71s.02.03.03.05l23.83,4.65-4.58-7.94c-.05-.09-.02-.2.07-.25.09-.05.2-.02.25.07l4.72,8.18s0,.02.01.03l9.77,1.91c.1.02.16.11.14.21,0,.05-.04.09-.07.11-.04.03-.09.04-.14.03l-23.28-4.55-6.93,4.88c-.08.06-.2.04-.25-.04-.06-.08-.04-.2.04-.25l6.65-4.68-28.24-5.51c-.1-.02-.16-.11-.14-.21Z"/>
</g>
</g>
<g>
<g>
<polygon class="cls-4" points="420.66 471.75 343.93 471.75 345.03 363.22 421.77 363.22 420.66 471.75"/>
<g class="cls-50">
<polygon class="cls-46" points="343.93 469.46 344.29 471.75 343.93 471.75 343.93 469.46"/>
<polygon class="cls-4" points="343.93 448.1 347.67 471.75 344.29 471.75 343.93 469.46 343.93 448.1"/>
<polygon class="cls-4" points="343.93 426.74 351.05 471.75 347.67 471.75 343.93 448.1 343.93 426.74"/>
<polygon class="cls-4" points="343.93 405.37 354.43 471.75 351.05 471.75 343.93 426.74 343.93 405.37"/>
<polygon class="cls-4" points="343.93 384.01 357.81 471.75 354.43 471.75 343.93 405.37 343.93 384.01"/>
<polygon class="cls-4" points="344.02 363.22 361.19 471.75 357.81 471.75 343.93 384.01 343.93 363.22 344.02 363.22"/>
<polygon class="cls-4" points="347.4 363.22 364.57 471.75 361.19 471.75 344.02 363.22 347.4 363.22"/>
<polygon class="cls-4" points="350.78 363.22 367.95 471.75 364.57 471.75 347.4 363.22 350.78 363.22"/>
<polygon class="cls-4" points="354.16 363.22 371.33 471.75 367.95 471.75 350.78 363.22 354.16 363.22"/>
<polygon class="cls-4" points="357.54 363.22 374.71 471.75 371.33 471.75 354.16 363.22 357.54 363.22"/>
<polygon class="cls-4" points="360.92 363.22 378.09 471.75 374.71 471.75 357.54 363.22 360.92 363.22"/>
<polygon class="cls-4" points="364.3 363.22 381.47 471.75 378.09 471.75 360.92 363.22 364.3 363.22"/>
<polygon class="cls-4" points="367.68 363.22 384.85 471.75 381.47 471.75 364.3 363.22 367.68 363.22"/>
<polygon class="cls-4" points="371.06 363.22 388.23 471.75 384.85 471.75 367.68 363.22 371.06 363.22"/>
<polygon class="cls-4" points="374.44 363.22 391.61 471.75 388.23 471.75 371.06 363.22 374.44 363.22"/>
<polygon class="cls-4" points="377.82 363.22 394.99 471.75 391.61 471.75 374.44 363.22 377.82 363.22"/>
<polygon class="cls-4" points="381.2 363.22 398.37 471.75 394.99 471.75 377.82 363.22 381.2 363.22"/>
<polygon class="cls-4" points="384.58 363.22 401.75 471.75 398.37 471.75 381.2 363.22 384.58 363.22"/>
<polygon class="cls-4" points="387.96 363.22 405.13 471.75 401.75 471.75 384.58 363.22 387.96 363.22"/>
<polygon class="cls-4" points="391.34 363.22 408.51 471.75 405.13 471.75 387.96 363.22 391.34 363.22"/>
<polygon class="cls-4" points="394.72 363.22 411.9 471.75 408.51 471.75 391.34 363.22 394.72 363.22"/>
<polygon class="cls-4" points="398.1 363.22 415.28 471.75 411.9 471.75 394.72 363.22 398.1 363.22"/>
<polygon class="cls-4" points="401.48 363.22 418.66 471.75 415.28 471.75 398.1 363.22 401.48 363.22"/>
<polygon class="cls-4" points="404.86 363.22 421.77 470.04 421.77 471.75 418.66 471.75 401.48 363.22 404.86 363.22"/>
<polygon class="cls-4" points="408.24 363.22 421.77 448.68 421.77 470.04 404.86 363.22 408.24 363.22"/>
<polygon class="cls-4" points="411.62 363.22 421.77 427.31 421.77 448.68 408.24 363.22 411.62 363.22"/>
<polygon class="cls-4" points="415.01 363.22 421.77 405.95 421.77 427.31 411.62 363.22 415.01 363.22"/>
<polygon class="cls-4" points="418.39 363.22 421.77 384.59 421.77 405.95 415.01 363.22 418.39 363.22"/>
<polygon class="cls-4" points="421.77 363.22 421.77 363.22 421.77 384.59 418.39 363.22 421.77 363.22"/>
</g>
</g>
<polygon class="cls-4" points="427.04 363.22 425.08 466.33 419.8 466.33 421.77 363.22 427.04 363.22"/>
<path class="cls-37" d="m544.25,176.11H211.24c-12.07,0-20.96,8.77-20.97,20.68l-.34,207.82c0,1.89.31,3.75.89,5.52l-.56,1.72,3.76,4.32c.53.69,1.1,1.34,1.7,1.96l.02.02h0c3.71,3.78,8.81,6.23,14.18,6.23h333.01c12.07,0,20.96-8.77,20.97-20.68l.34-207.82c.01-10.38-9.49-19.78-20.01-19.78Z"/>
<path class="cls-53" d="m538.11,419.28H205.1c-10.51,0-20.02-9.4-20.01-19.78l.34-207.82c.02-11.92,8.91-20.68,20.97-20.68h333.01c10.51,0,20.02,9.4,20.01,19.78l-.34,207.82c-.02,11.92-8.91,20.68-20.97,20.68Z"/>
<g class="cls-43">
<polygon class="cls-46" points="185.08 391.65 189.45 419.28 185.08 419.28 185.08 391.65"/>
<polygon class="cls-4" points="193.87 361.69 202.98 419.28 189.45 419.28 185.08 391.65 185.08 361.69 193.87 361.69"/>
<polygon class="cls-4" points="207.4 361.69 216.51 419.28 202.98 419.28 193.87 361.69 207.4 361.69"/>
<polygon class="cls-4" points="220.92 361.69 230.04 419.28 216.51 419.28 207.4 361.69 220.92 361.69"/>
<polygon class="cls-4" points="234.45 361.69 243.57 419.28 230.04 419.28 220.92 361.69 234.45 361.69"/>
<polygon class="cls-4" points="247.98 361.69 257.1 419.28 243.57 419.28 234.45 361.69 247.98 361.69"/>
<polygon class="cls-4" points="261.51 361.69 270.62 419.28 257.1 419.28 247.98 361.69 261.51 361.69"/>
<polygon class="cls-4" points="275.04 361.69 284.15 419.28 270.62 419.28 261.51 361.69 275.04 361.69"/>
<polygon class="cls-4" points="288.57 361.69 297.68 419.28 284.15 419.28 275.04 361.69 288.57 361.69"/>
<polygon class="cls-4" points="302.09 361.69 311.21 419.28 297.68 419.28 288.57 361.69 302.09 361.69"/>
<polygon class="cls-4" points="315.62 361.69 324.74 419.28 311.21 419.28 302.09 361.69 315.62 361.69"/>
<polygon class="cls-4" points="329.15 361.69 338.27 419.28 324.74 419.28 315.62 361.69 329.15 361.69"/>
<polygon class="cls-4" points="342.68 361.69 351.79 419.28 338.27 419.28 329.15 361.69 342.68 361.69"/>
<polygon class="cls-4" points="356.21 361.69 365.32 419.28 351.79 419.28 342.68 361.69 356.21 361.69"/>
<polygon class="cls-4" points="369.74 361.69 378.85 419.28 365.32 419.28 356.21 361.69 369.74 361.69"/>
<polygon class="cls-4" points="383.27 361.69 392.38 419.28 378.85 419.28 369.74 361.69 383.27 361.69"/>
<polygon class="cls-4" points="396.79 361.69 405.91 419.28 392.38 419.28 383.27 361.69 396.79 361.69"/>
<polygon class="cls-4" points="410.32 361.69 419.44 419.28 405.91 419.28 396.79 361.69 410.32 361.69"/>
<polygon class="cls-4" points="423.85 361.69 432.96 419.28 419.44 419.28 410.32 361.69 423.85 361.69"/>
<polygon class="cls-4" points="437.38 361.69 446.49 419.28 432.96 419.28 423.85 361.69 437.38 361.69"/>
<polygon class="cls-4" points="450.91 361.69 460.02 419.28 446.49 419.28 437.38 361.69 450.91 361.69"/>
<polygon class="cls-4" points="464.44 361.69 473.55 419.28 460.02 419.28 450.91 361.69 464.44 361.69"/>
<polygon class="cls-4" points="477.96 361.69 487.08 419.28 473.55 419.28 464.44 361.69 477.96 361.69"/>
<polygon class="cls-4" points="491.49 361.69 500.61 419.28 487.08 419.28 477.96 361.69 491.49 361.69"/>
<polygon class="cls-4" points="505.02 361.69 514.13 419.28 500.61 419.28 491.49 361.69 505.02 361.69"/>
<polygon class="cls-4" points="518.55 361.69 527.66 419.28 514.13 419.28 505.02 361.69 518.55 361.69"/>
<polygon class="cls-4" points="532.08 361.69 541.19 419.28 527.66 419.28 518.55 361.69 532.08 361.69"/>
<polygon class="cls-4" points="545.61 361.69 554.72 419.28 541.19 419.28 532.08 361.69 545.61 361.69"/>
<polygon class="cls-4" points="559.13 361.69 559.13 361.69 559.13 419.28 554.72 419.28 545.61 361.69 559.13 361.69"/>
</g>
<path class="cls-44" d="m538.11,420.1H205.1c-5.27,0-10.6-2.31-14.62-6.33-3.94-3.95-6.2-9.15-6.19-14.26h.81s-.81,0-.81,0l.05-38.62h375.61l-.05,37.72c0,5.98-2.21,11.45-6.21,15.39-3.99,3.94-9.53,6.11-15.58,6.11Zm-352.15-57.6l-.05,37c0,4.69,2.08,9.47,5.72,13.11,3.72,3.72,8.63,5.86,13.47,5.86h333.01c11.67,0,20.15-8.36,20.16-19.87l.05-36.1H185.96Z"/>
<g class="cls-31">
<polygon class="cls-46" points="270.52 463.5 271.93 472.37 270.09 472.37 270.09 463.5 270.52 463.5"/>
<polygon class="cls-4" points="277.48 463.5 278.89 472.37 271.93 472.37 270.52 463.5 277.48 463.5"/>
<polygon class="cls-4" points="284.44 463.5 285.84 472.37 278.89 472.37 277.48 463.5 284.44 463.5"/>
<polygon class="cls-4" points="291.4 463.5 292.8 472.37 285.84 472.37 284.44 463.5 291.4 463.5"/>
<polygon class="cls-4" points="298.36 463.5 299.76 472.37 292.8 472.37 291.4 463.5 298.36 463.5"/>
<polygon class="cls-4" points="305.32 463.5 306.72 472.37 299.76 472.37 298.36 463.5 305.32 463.5"/>
<polygon class="cls-4" points="312.27 463.5 313.68 472.37 306.72 472.37 305.32 463.5 312.27 463.5"/>
<polygon class="cls-4" points="319.23 463.5 320.64 472.37 313.68 472.37 312.27 463.5 319.23 463.5"/>
<polygon class="cls-4" points="326.19 463.5 327.6 472.37 320.64 472.37 319.23 463.5 326.19 463.5"/>
<polygon class="cls-4" points="333.15 463.5 334.55 472.37 327.6 472.37 326.19 463.5 333.15 463.5"/>
<polygon class="cls-4" points="340.11 463.5 341.51 472.37 334.55 472.37 333.15 463.5 340.11 463.5"/>
<polygon class="cls-4" points="347.07 463.5 348.47 472.37 341.51 472.37 340.11 463.5 347.07 463.5"/>
<polygon class="cls-4" points="354.03 463.5 355.43 472.37 348.47 472.37 347.07 463.5 354.03 463.5"/>
<polygon class="cls-4" points="360.98 463.5 362.39 472.37 355.43 472.37 354.03 463.5 360.98 463.5"/>
<polygon class="cls-4" points="367.94 463.5 369.35 472.37 362.39 472.37 360.98 463.5 367.94 463.5"/>
<polygon class="cls-4" points="374.9 463.5 376.31 472.37 369.35 472.37 367.94 463.5 374.9 463.5"/>
<polygon class="cls-4" points="381.86 463.5 383.26 472.37 376.31 472.37 374.9 463.5 381.86 463.5"/>
<polygon class="cls-4" points="388.82 463.5 390.22 472.37 383.26 472.37 381.86 463.5 388.82 463.5"/>
<polygon class="cls-4" points="395.78 463.5 397.18 472.37 390.22 472.37 388.82 463.5 395.78 463.5"/>
<polygon class="cls-4" points="402.73 463.5 404.14 472.37 397.18 472.37 395.78 463.5 402.73 463.5"/>
<polygon class="cls-4" points="409.69 463.5 411.1 472.37 404.14 472.37 402.73 463.5 409.69 463.5"/>
<polygon class="cls-4" points="416.65 463.5 418.06 472.37 411.1 472.37 409.69 463.5 416.65 463.5"/>
<polygon class="cls-4" points="423.61 463.5 425.01 472.37 418.06 472.37 416.65 463.5 423.61 463.5"/>
<polygon class="cls-4" points="430.57 463.5 431.97 472.37 425.01 472.37 423.61 463.5 430.57 463.5"/>
<polygon class="cls-55" points="437.53 463.5 438.93 472.37 431.97 472.37 430.57 463.5 437.53 463.5"/>
<polygon class="cls-4" points="444.49 463.5 445.89 472.37 438.93 472.37 437.53 463.5 444.49 463.5"/>
<polygon class="cls-26" points="451.44 463.5 452.85 472.37 445.89 472.37 444.49 463.5 451.44 463.5"/>
<polygon class="cls-4" points="458.4 463.5 459.81 472.37 452.85 472.37 451.44 463.5 458.4 463.5"/>
<polygon class="cls-4" points="465.36 463.5 466.77 472.37 466.77 472.37 459.81 472.37 458.4 463.5 465.36 463.5"/>
<polygon class="cls-4" points="466.77 472.37 465.36 463.5 466.77 463.5 466.77 472.37"/>
</g>
<path class="cls-44" d="m467.72,473.18h-192.19c-2.78,0-5.4-2.26-5.83-5.03l-.03-.19c-.22-1.41.13-2.74.99-3.75.85-.99,2.08-1.54,3.47-1.54h191.93l1.66,10.5Zm-193.59-8.88c-.91,0-1.7.34-2.24.97-.55.64-.77,1.51-.62,2.44l.03.19c.32,2.02,2.22,3.66,4.23,3.66h190.29l-1.15-7.25h-190.54Z"/>
<path class="cls-4" d="m465.99,472.37h15.06c2.4,0,4.04-1.95,3.66-4.35l-.03-.19c-.38-2.4-2.63-4.35-5.03-4.35h-15.06c-2.4,0-4.04,1.95-3.66,4.35l.03.19c.38,2.4,2.63,4.35,5.03,4.35Z"/>
<path class="cls-44" d="m481.05,473.18h-15.06c-2.78,0-5.4-2.26-5.83-5.03l-.03-.18c-.22-1.41.13-2.74.99-3.75.85-.99,2.08-1.54,3.47-1.54h15.06c2.78,0,5.4,2.26,5.83,5.03l.03.18c.22,1.41-.13,2.74-.99,3.75-.85.99-2.08,1.54-3.47,1.54Zm-16.46-8.88c-.91,0-1.7.34-2.24.97-.55.64-.77,1.51-.62,2.44l.03.18c.32,2.02,2.22,3.66,4.23,3.66h15.06c.91,0,1.7-.34,2.24-.97.55-.64.77-1.51.62-2.44l-.03-.18c-.32-2.02-2.22-3.66-4.23-3.66h-15.06Z"/>
</g>
<g>
<path class="cls-63" d="m320.46,133.97h-155.48c-4.07,0-7.4-3.3-7.43-7.38l-.63-85.31c-.03-4.07,3.25-7.38,7.32-7.38h155.48c4.07,0,7.4,3.3,7.43,7.38l.63,85.31c.03,4.07-3.25,7.38-7.32,7.38Z"/>
<polygon class="cls-4" points="314.32 68.54 238.79 68.54 238.74 61.82 314.27 61.82 314.32 68.54"/>
<polygon class="cls-4" points="314.46 87.3 238.93 87.3 238.88 80.57 314.41 80.57 314.46 87.3"/>
<polygon class="cls-33" points="276.83 106.05 239.07 106.05 239.02 99.33 276.78 99.33 276.83 106.05"/>
</g>
<path class="cls-44" d="m670.62,296.46c-1.32,0-2.64,1.07-2.96,2.39-.32,1.32.5,2.39,1.81,2.39s2.64-1.07,2.96-2.39c.32-1.32-.5-2.39-1.81-2.39Z"/>
<path class="cls-44" d="m98.43,256.14c-1.33,0-2.66,1.07-2.98,2.4-.32,1.33.5,2.4,1.82,2.4s2.66-1.07,2.98-2.4c.32-1.33-.5-2.4-1.82-2.4Z"/>
<path class="cls-36" d="m725.01,299.56c-1.65,0-3.31,1.34-3.7,2.98-.4,1.65.62,2.98,2.27,2.98s3.31-1.34,3.7-2.98c.4-1.65-.62-2.98-2.27-2.98Z"/>
<path class="cls-29" d="m20.75,263.19c-1.51,0-3.03,1.23-3.39,2.74-.36,1.51.57,2.74,2.08,2.74s3.03-1.23,3.39-2.74c.36-1.51-.57-2.74-2.08-2.74Z"/>
<path class="cls-44" d="m764.33,473.18H10.82c-.45,0-.81-.36-.81-.81s.36-.81.81-.81h753.51c.45,0,.81.36.81.81s-.36.81-.81.81Z"/>
<g>
<path class="cls-30" d="m363.73,230.37h-181.35c-6,0-11.43-5.36-11.43-11.29l-.02-55.55c0-4.75,3.54-8.24,8.34-8.24h181.35c6,0,11.43,5.36,11.43,11.29l.02,55.55c0,4.75-3.54,8.24-8.34,8.24Z"/>
<g>
<path class="cls-4" d="m292.72,185.47h-40.54c-1.02,0-1.95-.91-1.95-1.92v-9.45c0-.81.6-1.4,1.42-1.4h40.54c1.02,0,1.95.91,1.95,1.92v9.45c0,.81-.6,1.4-1.42,1.4Z"/>
<path class="cls-4" d="m350.82,205.05h-98.62c-1.02,0-1.95-.91-1.95-1.92v-9.45c0-.81.6-1.4,1.42-1.4h98.62c1.02,0,1.95.91,1.95,1.92v9.45c0,.81-.6,1.4-1.42,1.4Z"/>
</g>
<path class="cls-36" d="m209.1,212.44c.71.14,1.09.18,1.09.18,0,0-.38-.06-1.08-.23-.34-.1-.78-.2-1.26-.39v.12c.48.15.9.25,1.25.32Z"/>
</g>
<g>
<g>
<path class="cls-63" d="m662.9,104.77s-7.01,9.91-1.15,15.35l7.07-13.12-5.92-2.23Z"/>
<g>
<g>
<path class="cls-63" d="m688.53,135.41s9.66-1.31,10.74-21.24c1.07-19.92-17.64-21.02-28.76-16.17,0,0-10.81,5.42-.97,19.46,9.84,14.04,18.99,17.94,18.99,17.94Z"/>
<g>
<path class="cls-22" d="m698.63,120.35c-1.04-.79-2.55-.99-3.85-.58,1.41-6.83.45-13.86-4.64-18.38-1.08-.95-2.24-1.69-3.47-2.23-5.79-2.54-15.27-1.56-20.39,2.44-5.13,4.01-4.02,11.77-5.06,18.27-1.39,8.72-.31,17.72,8.4,20.59.44.15.89.26,1.34.36l-1.15,14.34c-.53,6.06,4.46,11.18,10.53,10.81,5.26-.32,9.36-4.68,9.35-9.95,0,0,.46-21.83.58-24.8,0-.16.17-.24.31-.16,1.67.92,3.85,1.14,5.58.45,2.14-.85,3.84-2.97,4.31-5.37.41-2.15-.23-4.55-1.85-5.79Z"/>
<path class="cls-19" d="m693.87,126.85c1.27.08,2.34-.65,2.4-1.63.04-.73-.49-1.4-1.3-1.71"/>
<path class="cls-63" d="m670.51,145.74l.31-5.16s8.53,2.24,15.82-5.16c0,0-4.1,9.11-16.14,10.32Z"/>
</g>
</g>
<path class="cls-63" d="m686.03,105.28s-20.88,12.29-23.57.91c-1.04-4.4,8.64-18.29,28.58-8.78,0,0,9.19,6.7,6.13,22.27,0,0-.81-.52-2.25,0-4.27,1.52-8.85-1.52-9.36-6.02-.25-2.25-.17-5.01.48-8.38Z"/>
</g>
</g>
<g>
<path class="cls-22" d="m637.27,265.61h0c-.83,5.11-1.78,8.97-2.02,13.59-.16,3.02.48,5.77.96,5.56,1.03-.46,2.56-7.07,2.56-7.07,0,0-.9,9.43.64,6.77,1.54-2.66,2.46-8.14,2.46-8.14,0,0,.13,8.97,1.29,5.99,1.15-2.98,1.72-8.43,1.72-8.43,0,0,.59,10,1.93,5.21,1.34-4.8,4.19-13.7,4.19-13.7l-13.73.23Z"/>
<polygon class="cls-22" points="648.89 193.13 636.88 268.2 648.89 273 659.7 206.34 648.89 193.13"/>
</g>
<g>
<polygon class="cls-22" points="645.06 460.58 661.73 460.58 662.77 435.94 647.06 435.94 645.06 460.58"/>
<path class="cls-63" d="m661.73,458.19h-20.62l-15.57,6.52c-3.09,1.59-5.04,4.77-5.04,8.25h43.58l-2.36-14.77Z"/>
<path class="cls-63" d="m639.58,458.89l4.21-5.7s6.59-1.2,6.01,5.96l-10.23-.26Z"/>
</g>
<g>
<polygon class="cls-22" points="726.08 454.34 741.75 448.94 734.71 425.25 719.04 430.65 726.08 454.34"/>
<path class="cls-63" d="m740.89,446.72l-19.36,6.83-12.16,11.71c-2.31,2.6-2.97,6.27-1.71,9.51h0l40.76-15.13-7.54-12.92Z"/>
<path class="cls-63" d="m720.36,454.75l1.87-6.84s5.71-3.5,7.76,3.39l-9.63,3.46Z"/>
</g>
<path class="cls-63" d="m669.69,448.91l-37.28-.33s16.45-181.72,27.42-234.84l32.69-3.89-22.82,239.05Z"/>
<path class="cls-63" d="m748.91,437.46l-34.01,8.15s-48.29-199.38-36.06-235.7l35.95-2.85,34.12,230.39Z"/>
<path class="cls-4" d="m722.9,271.14s-.05,0-.07,0c-6.65-1.01-11.96-5.45-15.37-12.86-2.55-5.55-3.14-10.72-3.16-10.93-.03-.26.16-.5.42-.53.26-.03.5.16.53.42,0,.05.59,5.25,3.09,10.66,3.31,7.19,8.24,11.32,14.64,12.29.26.04.44.28.4.54-.04.24-.24.41-.47.41Z"/>
<path class="cls-4" d="m652.72,267.48c-.24,0-.45-.18-.47-.42-.03-.26.16-.5.42-.53,9.01-1.07,11.3-21.85,11.32-22.06.03-.26.26-.45.53-.43.26.03.45.26.43.53-.09.89-2.4,21.75-12.16,22.91-.02,0-.04,0-.06,0Z"/>
<path class="cls-4" d="m683.85,300.36c-.25,0-.47-.2-.48-.46l-1.97-44.69c-.01-.26.19-.49.46-.5.25-.01.49.19.5.46l1.97,44.69c.01.26-.19.49-.46.5,0,0-.01,0-.02,0Z"/>
<g>
<path class="cls-64" d="m690.34,145.74l-8.64,17.09-11.51-15.54s-26.14-.75-26.14,62.66l13.69,1.51-6.92,41.36,70.26-1.12-2.47-53.11,16.86-7.91s-16.33-47.02-45.14-44.92Z"/>
<path class="cls-17" d="m715.86,200.15c-.18,0-.35-.1-.43-.27l-7.08-14.65c-.12-.24-.02-.52.22-.64.24-.11.52-.02.64.22l7.08,14.65c.12.24.02.52-.22.64-.07.03-.14.05-.21.05Z"/>
<path class="cls-22" d="m735.48,190.66s16.08,44.33.46,45.53c-15.61,1.2-53.91-39.53-53.91-39.53l5.27-13.01,31.89,25.85-3.33-9.84,19.62-9.01Z"/>
<g>
<polygon class="cls-4" points="695.33 161.28 678.57 218.8 636.88 205.59 652.83 148.67 695.33 161.28"/>
<polygon class="cls-4" points="692.49 171.77 704.8 171.39 704.8 177.13 692.49 176.4 692.49 171.77"/>
<path class="cls-22" d="m695.01,189.91h0c-3.14-3.4-6.95-6.11-11.2-7.96-2.77-1.2-5.36-2.18-5.39-1.66-.06,1.13,5.14,5.49,5.14,5.49,0,0-8-5.08-6.32-2.49,1.67,2.58,6.14,5.88,6.14,5.88,0,0-8.06-3.95-5.92-1.57,2.14,2.38,6.73,6.34,6.73,6.34,0,0-9.19-4.19-5.52-.82,3.67,3.37,8.82,9.13,8.82,9.13l7.51-12.35Z"/>
</g>
</g>
<path class="cls-63" d="m696.67,104.93c-1.03-1.79-2.19-3.49-3.48-5.1-.25-.31-.52-.64-.9-.77-.45-.16-.94-.03-1.4.05-2.03.37-4.14-.16-6.01-1.03s-3.58-2.06-5.35-3.12c-2.57-1.53-5.31-2.77-8.03-4.01-4.66-2.12-7.88,1.45-11.15,4.44-1.11,1.01-2.21,2.11-2.73,3.52-.63,1.69-.33,3.57.08,5.33.27,1.17.61,2.37,1.34,3.33.88,1.17,2.24,1.88,3.63,2.36,2.74.95,5.74,1.13,8.57.51,2.63-.58,5.06-1.81,7.64-2.58,2.77-.83,5.7-1.11,8.58-.83"/>
</g>
<g>
<g>
<g>
<g>
<path class="cls-63" d="m47.43,148.01l21.34,1.18-5.52-49.52c-19.4-.19-15.97,16.61-24.22,25.96-2.72,3.08-3.91,5.99-4.17,8.64-.67,6.81,5.42,13.35,12.57,13.74Z"/>
<path class="cls-63" d="m62.21,99.68l1.21,50.45,4.46-.31c10.49-.74,18.25-10.05,17.12-20.51-1.47-13.68-6.65-29.63-22.79-29.63Z"/>
</g>
<path class="cls-22" d="m45.48,124.69c1.04-.8,2.56-1.01,3.87-.6-1.45-6.87-.52-13.95,4.59-18.52,1.08-.97,2.25-1.71,3.48-2.26,5.81-2.58,12.94-.71,18.11,3.3,5.18,4.01,4.33,10.63,5.4,17.16,1.44,8.77,2.59,18.1-6.16,21.03-.45.15-.9.27-1.35.37l1.22,14.43c.56,6.1-4.43,11.27-10.55,10.93-5.3-.3-9.44-4.67-9.46-9.97,0,0-.56-21.97-.7-24.96,0-.16-.18-.24-.32-.16-1.67.93-3.87,1.16-5.61.48-2.16-.85-3.88-2.98-4.36-5.39-.43-2.16.21-4.58,1.84-5.84Z"/>
<path class="cls-45" d="m50.1,131.67c-.63,0-1.23-.17-1.71-.5-.57-.39-.91-.94-.95-1.55-.06-.91.56-1.76,1.58-2.17.23-.09.49.02.58.25s-.02.49-.25.58c-.66.26-1.06.77-1.02,1.29.02.33.22.64.56.87.38.25.87.37,1.39.34.24-.02.46.17.47.41.02.24-.17.46-.41.47-.08,0-.15,0-.23,0Z"/>
<path class="cls-63" d="m73.91,150.13l-.34-5.19s-8.57,2.3-15.95-5.13c0,0,4.16,9.15,16.29,10.32Z"/>
<path class="cls-63" d="m76.36,112.6c2.66,1.57,3.57,3.5,4.39,6.14,0,0,2.63-10.16-5.3-14.56l-3.2-.02s-3.31,4.05,4.11,8.44Z"/>
</g>
<path class="cls-63" d="m55.19,105.57c8.27,6.46,1.38,20.05-4.89,19.28,0,0-1.28-1.64-3.05-.9,0,0,1.57-23.35,7.94-18.38Z"/>
</g>
<g>
<g>
<g>
<path class="cls-22" d="m81.86,211.36l18.67,14.84c6.99,5.07,14.18,3.25,18.18-4.41.26-.49.49-1.01.7-1.54,3.29-8.54,4.45-60.76,4.45-60.76l-11.26-.36-7.82,45.57-10.57-8.75-12.34,15.41Z"/>
<path class="cls-22" d="m111.99,164.42c.22-5.01.92-10.56,2.01-14.33.71-2.46,1.47-4.68,1.83-4.42.77.57.8,6.32.8,6.32,0,0,1.01-7.96,1.79-5.48s.52,7.19.52,7.19c0,0,1.78-7.39,2.18-4.71.4,2.68-.15,7.29-.15,7.29,0,0,2.35-8.16,2.57-3.95.32,6.27.49,6.85.14,12.37l-11.68-.29Z"/>
</g>
<path class="cls-53" d="m109.32,168.86l17.03,6.44s.32,59.86-17.92,55.09c-18.24-4.77-22.52-10.83-22.52-10.83l-2.11-42.88,22.2,16.76,3.32-24.57Z"/>
</g>
<g>
<polygon class="cls-22" points="102.86 461.97 87.38 461.97 84.63 439.07 101 439.07 102.86 461.97"/>
<path class="cls-63" d="m86.79,459.75l16.13-.79,18.38,6.85c2.87,1.48,4.68,4.44,4.68,7.67h-40.49l1.3-13.72Z"/>
</g>
<g>
<polygon class="cls-22" points="22.68 454.24 8.2 448.75 13.76 426.37 29.07 432.18 22.68 454.24"/>
<path class="cls-63" d="m8.44,446.47l15.36,4.99,14.76,12.93c2.16,2.4,2.8,5.81,1.65,8.83h0l-37.86-14.37,6.09-12.37Z"/>
</g>
<path class="cls-63" d="m75.03,449.07l38.19.58s-9.49-204.44-28.46-234.58l-30.94-.03,21.2,234.02Z"/>
<path class="cls-63" d="m3.79,435.57l36.99,9.54s37.11-196.26,25.75-230l-33.41-2.65L3.79,435.57Z"/>
<path class="cls-64" d="m55.52,152.76l10.27,16.76,9.41-16.03s10.48-1.21,10.2,36.85l3.36,69.23-60.06.52.86-55.51-15.66-7.35s14.86-46.42,41.62-44.47Z"/>
<g>
<path class="cls-53" d="m96.88,255.83l12.55,79.02h-21.34c1.42-1.42-11.51-180.98-11.51-180.98,0,0,6.9-2.72,12.04,10.84l5.13,62.68"/>
<path class="cls-57" d="m96.88,256.27c-.22,0-.41-.16-.44-.38l-6.27-46.23c-.03-.24.14-.47.38-.5.24-.03.47.14.5.38l6.27,46.23c.03.24-.14.47-.38.5-.02,0-.04,0-.06,0Z"/>
<path class="cls-17" d="m81.59,197.9s-.07,0-.1-.01c-.24-.05-.39-.29-.33-.53l5.48-24.05-5.3-4.85c-.1-.09-.15-.23-.14-.36.01-.14.08-.26.2-.34l6.15-4.1-10.41-9.13c-.18-.16-.2-.44-.04-.63.16-.18.44-.2.63-.04l10.85,9.51c.1.09.16.23.15.36,0,.14-.08.26-.2.34l-6.16,4.11,5.07,4.64c.12.11.17.27.13.43l-5.54,24.3c-.05.21-.23.35-.43.35Z"/>
</g>
<path class="cls-4" d="m62.52,309.49s-.04,0-.05,0c-.24-.03-.42-.25-.39-.49l4.7-39.43c.03-.24.25-.42.49-.39.24.03.42.25.39.49l-4.7,39.43c-.03.23-.22.39-.44.39Z"/>
<g>
<g>
<path class="cls-53" d="m50.51,152.96h0c6.48,18.24,8.03,37.86,4.5,56.88l-22.88,123.22-32.13,1.79,20.13-87,30.37-94.89Z"/>
<g>
<path class="cls-22" d="m58.66,190.71l-19.5,15.81c.02,1.55.03,3.1,0,4.65.53,4.29,1.22,8.57,1.95,12.84,11.93-10.03,22.44-21.21,22.44-21.21l-4.9-12.09Z"/>
<path class="cls-53" d="m50.51,152.96h0c-8.74-1.27-20.36,5.02-25.33,12.17-7.99,11.49-35.26,66.73-18.05,75.74,17.21,9.01,53.27-29.73,53.27-29.73l-7.52-15.74-20.75,14.97,18.38-57.42Z"/>
<path class="cls-57" d="m32.13,207.02c-.06,0-.11-.01-.17-.03-.23-.09-.34-.35-.25-.58l5.97-14.87c.09-.23.35-.34.58-.25.23.09.34.35.25.58l-5.97,14.87c-.07.17-.24.28-.41.28Z"/>
<path class="cls-57" d="m50.18,195.89c-.18,0-.35-.11-.42-.29l-8.89-23.29c-.06-.15-.03-.32.07-.44l4.37-5.3-6.67-3.21c-.13-.06-.23-.19-.25-.34-.02-.15.03-.29.14-.39l10.25-9.15c.18-.16.46-.15.63.04.16.18.15.46-.04.63l-9.75,8.71,6.58,3.16c.12.06.21.17.24.3s0,.27-.09.38l-4.57,5.54,8.8,23.05c.09.23-.03.49-.26.57-.05.02-.11.03-.16.03Z"/>
<path class="cls-57" d="m25.21,212.87c-.13,0-.25-.05-.34-.16-.16-.19-.13-.47.06-.63l15.2-12.63c.19-.16.47-.13.63.06.16.19.13.47-.06.63l-15.2,12.63c-.08.07-.18.1-.28.1Z"/>
</g>
</g>
<g>
<polygon class="cls-35" points="54.34 165.97 74.87 217.72 111.02 202.42 90.36 151.16 54.34 165.97"/>
<path class="cls-22" d="m57.14,192.43h0c3.09-3.24,6.13-5.76,9.66-8.34,2.27-1.66,4.77-2.49,4.84-2.01.16,1.04-4.28,5.53-4.28,5.53,0,0,6.95-5.39,5.63-2.86-1.32,2.53-5.17,5.98-5.17,5.98,0,0,7.11-4.36,5.34-1.97-1.77,2.39-5.76,5.54-5.76,5.54,0,0,8.15-4.51,5.05-1.07-3.1,3.44-8.75,9.43-8.75,9.43l-6.56-10.22Z"/>
</g>
</g>
</g>
<path class="cls-63" d="m75.45,106.53s-5.75,19.59-22.46,16.97l-4.18-14.89,6.27-5.22s3.13-2.09,3.92-2.35,9.4.78,9.4.78l7.05,4.7Z"/>
</g>
<g>
<polygon class="cls-4" points="199.87 211.84 199.88 217.74 235.8 217.74 235.77 175.72 229.82 175.72 229.84 211.84 199.87 211.84"/>
<path class="cls-4" d="m230.79,212.78h-37.82l-.03-43.9h37.82l.03,43.9Zm-35.92-1.88h34.03l-.03-40.15h-34.03l.03,40.15Z"/>
<rect class="cls-4" x="203.88" y="165.61" width="15.94" height="8.42"/>
<rect class="cls-4" x="200.28" y="183.6" width="23.17" height="1.88"/>
<rect class="cls-4" x="200.28" y="193.11" width="23.17" height="1.88"/>
<rect class="cls-4" x="200.29" y="202.62" width="23.17" height="1.88"/>
</g>
<g>
<path class="cls-4" d="m216.85,86.58c-2.26,1.18-5.08,2.14-8.3,2.83l-32.33-16.5c2.15-1.22,4.86-2.23,7.98-2.99l32.64,16.66Z"/>
<path class="cls-4" d="m196.92,91.76c-1.6,0-3.17-.06-4.69-.18-13.16-1.01-22.35-5.96-22.35-12.03,0-2.86,2-5.5,5.78-7.65,2.26-1.28,5.05-2.33,8.28-3.1,2.56-.62,5.35-1.05,8.29-1.27,3.02-.24,6.34-.24,9.38,0,13.16,1,22.35,5.94,22.35,12.02,0,3.07-2.27,5.87-6.57,8.07-2.36,1.23-5.25,2.21-8.58,2.93-2.29.5-4.71.84-7.2,1.03-1.51.12-3.09.18-4.69.18Zm0-22.1c-1.53,0-3.05.06-4.51.17-2.82.21-5.48.62-7.93,1.22-3.02.73-5.61,1.69-7.68,2.87-2.97,1.68-4.6,3.68-4.6,5.63,0,2.15,1.94,4.31,5.46,6.09,3.76,1.9,8.99,3.19,14.74,3.63,2.92.23,6.1.23,9.02,0,2.39-.18,4.7-.51,6.89-.99,3.13-.68,5.83-1.59,8.01-2.72,3.43-1.76,5.32-3.89,5.32-6.01s-1.94-4.31-5.46-6.09c-3.76-1.9-8.99-3.18-14.74-3.62-1.46-.12-2.98-.17-4.51-.17Z"/>
<path class="cls-4" d="m196.92,102.81c-1.59,0-3.17-.06-4.69-.18-13.16-1.01-22.35-5.95-22.35-12.03v-11.05h2.32v11.05c0,2.15,1.94,4.31,5.46,6.09,3.76,1.9,8.99,3.19,14.74,3.63,2.92.23,6.1.23,9.02,0,5.75-.44,10.99-1.73,14.75-3.63,3.52-1.78,5.46-3.94,5.46-6.09v-11.05h2.32v11.05c0,6.08-9.19,11.02-22.35,12.03-1.51.12-3.09.18-4.69.18Z"/>
</g>
<g>
<rect class="cls-4" x="398.49" y="176.57" width="137.96" height="80.72"/>
<polyline class="cls-42" points="398.49 176.57 536.45 176.57 536.45 215.41"/>
<polyline class="cls-42" points="503.26 257.29 398.49 257.29 398.49 187.62"/>
<line class="cls-42" x1="536.45" y1="229.59" x2="536.45" y2="257.29"/>
<g>
<line class="cls-39" x1="525.9" y1="188.3" x2="490.21" y2="188.3"/>
<line class="cls-38" x1="525.9" y1="196.44" x2="485.52" y2="196.44"/>
<line class="cls-38" x1="505.8" y1="202.43" x2="485.52" y2="202.43"/>
<line class="cls-38" x1="525.9" y1="202.43" x2="513.1" y2="202.43"/>
<line class="cls-38" x1="525.9" y1="208.41" x2="485.52" y2="208.41"/>
<line class="cls-38" x1="525.9" y1="214.39" x2="487.33" y2="214.39"/>
</g>
<rect class="cls-42" x="405.99" y="185.56" width="66.6" height="62.74"/>
<circle class="cls-23" cx="521.51" cy="224.85" r="4.38"/>
<circle class="cls-58" cx="505.8" cy="224.85" r="4.38"/>
<circle class="cls-58" cx="490.09" cy="224.85" r="4.38"/>
<line class="cls-40" x1="525.9" y1="238.63" x2="499.66" y2="238.63"/>
<line class="cls-40" x1="525.9" y1="243.44" x2="507.25" y2="243.44"/>
</g>
<g>
<path class="cls-52" d="m429.34,203.49s4.02-.96,6.1-.32c2.09.64,4.61,3.53,6.64,3.11,2.03-.43,4.99-1.22,6.43-.75s.96,3.05.96,3.75-3.37,15.58-4.93,16.65c-1.55,1.07-1.22,2.95-3.1,2.68-1.88-.27-2.36-1.93-2.84-2.78-.48-.86-4.55-10.76-4.61-10.92-.05-.16-4.66-11.41-4.66-11.41Z"/>
<path class="cls-25" d="m415.84,238.62s-1.77.16-1.5-4.28c.27-4.44,0-15.8,1.5-20.72,1.5-4.93,5.38-10.75,12.85-10.98,17.4-.54,12.08,24.3,11.65,25.6-.86,2.54-5.92,6.45-9.53,6.99-12.57,1.86-13.25,3.51-14.97,3.4Z"/>
<path class="cls-25" d="m443.33,211.17s.57-5.07,6.89-5.18c6.32-.11,8.15,1.91,10.31,2.24,2.44.37,4.47.16,4.69,1.79.15,1.14-2.93,4.61-3.61,5.93-.68,1.32-4,8.07-10.07,10.03-6.07,1.96-7.75.75-8.43-1-.68-1.75.04-11.46.21-13.82Z"/>
</g>
<g>
<g>
<path class="cls-4" d="m537.16,267.25v84.36c0,1.28-1,2.32-2.24,2.32h-135.16c-1.24,0-2.24-1.04-2.24-2.32v-84.36c0-1.28,1-2.32,2.24-2.32h135.16c1.24,0,2.24,1.04,2.24,2.32Z"/>
<path class="cls-54" d="m534.03,262.67h-133.21c-2.26,0-4.09,1.83-4.09,4.09v86.08c0,2.26,1.83,4.09,4.09,4.09h133.21c2.26,0,4.09-1.83,4.09-4.09v-86.08c0-2.26-1.83-4.09-4.09-4.09Zm2.66,88.97c0,1.26-1,2.29-2.22,2.29h-133.98c-1.23,0-2.22-1.02-2.22-2.29v-83.24c0-1.26.99-2.29,2.22-2.29h133.98c1.23,0,2.22,1.02,2.22,2.29v83.24Z"/>
<rect class="cls-2" x="398.26" y="346.96" width="138.43" height="6.97" rx="3.48" ry="3.48"/>
<g>
<path class="cls-4" d="m511.59,350.47h-108.39c-.27,0-.48.24-.48.53s.22.53.48.53h108.39c.27,0,.48-.24.48-.53s-.22-.53-.48-.53Z"/>
<rect class="cls-4" x="422.65" y="349.6" width=".65" height="2.79"/>
<path class="cls-4" d="m399.76,351c0-.47.38-.86.86-.86s.86.38.86.86-.38.86-.86.86-.86-.38-.86-.86Z"/>
<g>
<path class="cls-4" d="m518.69,351c0-.47.38-.86.86-.86s.86.38.86.86-.38.86-.86.86-.86-.38-.86-.86Z"/>
<circle class="cls-4" cx="523.14" cy="351" r=".86"/>
<path class="cls-4" d="m514.59,351c0-.47.38-.86.86-.86s.86.38.86.86-.38.86-.86.86-.86-.38-.86-.86Z"/>
</g>
<g>
<path class="cls-4" d="m532.55,352.84c-.16,0-.29-.13-.29-.29s.13-.29.29-.29c.59,0,1.06-.48,1.06-1.06,0-.16.13-.29.29-.29s.29.13.29.29c0,.9-.74,1.64-1.64,1.64Z"/>
<path class="cls-4" d="m533.9,350.01c-.16,0-.29-.13-.29-.29,0-.58-.48-1.06-1.06-1.06-.16,0-.29-.13-.29-.29s.13-.29.29-.29c.9,0,1.64.73,1.64,1.64,0,.16-.13.29-.29.29Z"/>
<path class="cls-4" d="m527.69,350.01c-.16,0-.29-.13-.29-.29,0-.9.74-1.64,1.64-1.64.16,0,.29.13.29.29s-.13.29-.29.29c-.59,0-1.06.48-1.06,1.06,0,.16-.13.29-.29.29Z"/>
<path class="cls-4" d="m529.04,352.84c-.9,0-1.64-.73-1.64-1.64,0-.16.13-.29.29-.29s.29.13.29.29c0,.58.48,1.06,1.06,1.06.16,0,.29.13.29.29s-.13.29-.29.29Z"/>
</g>
</g>
<path class="cls-1" d="m423.34,335.57h-21.41c-.37,0-.68-.3-.68-.68h0c0-.37.3-.68.68-.68h21.41c.37,0,.68.3.68.68h0c0,.37-.3.68-.68.68Z"/>
<path class="cls-1" d="m423.34,332.36h-21.41c-.37,0-.68-.3-.68-.68h0c0-.37.3-.68.68-.68h21.41c.37,0,.68.3.68.68h0c0,.37-.3.68-.68.68Z"/>
<path class="cls-1" d="m423.34,328.8h-21.41c-.37,0-.68-.3-.68-.68h0c0-.37.3-.68.68-.68h21.41c.37,0,.68.3.68.68h0c0,.37-.3.68-.68.68Z"/>
<path class="cls-1" d="m529.2,281.57h-21.41c-.37,0-.68-.3-.68-.68h0c0-.37.3-.68.68-.68h21.41c.37,0,.68.3.68.68h0c0,.37-.3.68-.68.68Z"/>
<path class="cls-1" d="m529.2,278.36h-21.41c-.37,0-.68-.3-.68-.68h0c0-.37.3-.68.68-.68h21.41c.37,0,.68.3.68.68h0c0,.37-.3.68-.68.68Z"/>
<path class="cls-1" d="m529.2,274.8h-21.41c-.37,0-.68-.3-.68-.68h0c0-.37.3-.68.68-.68h21.41c.37,0,.68.3.68.68h0c0,.37-.3.68-.68.68Z"/>
<g>
<path class="cls-1" d="m438.88,270.95h-34.15c-.37,0-.68-.3-.68-.68h0c0-.37.3-.68.68-.68h34.15c.37,0,.68.3.68.68h0c0,.37-.3.68-.68.68Z"/>
<path class="cls-1" d="m426.14,275.39h-21.41c-.37,0-.68-.3-.68-.68h0c0-.37.3-.68.68-.68h21.41c.37,0,.68.3.68.68h0c0,.37-.3.68-.68.68Z"/>
<path class="cls-1" d="m438.36,275.39h-6.58c-.37,0-.68-.3-.68-.68h0c0-.37.3-.68.68-.68h6.58c.37,0,.68.3.68.68h0c0,.37-.3.68-.68.68Z"/>
</g>
<g>
<path class="cls-1" d="m519.53,323.61h-21.41c-.37,0-.68-.3-.68-.68h0c0-.37.3-.68.68-.68h21.41c.37,0,.68.3.68.68h0c0,.37-.3.68-.68.68Z"/>
<path class="cls-1" d="m519.53,328.93h-12.11c-.37,0-.68-.3-.68-.68h0c0-.37.3-.68.68-.68h12.11c.37,0,.68.3.68.68h0c0,.37-.3.68-.68.68Z"/>
<rect class="cls-1" x="523.32" y="321.12" width="11.73" height="8.12" rx="1.76" ry="1.76"/>
</g>
</g>
<g>
<g>
<path class="cls-2" d="m532.29,287.14h-7.01c-.06,0-.1-.04-.1-.1s.04-.1.1-.1h7.01c.06,0,.1.04.1.1s-.04.1-.1.1Z"/>
<path class="cls-2" d="m531.84,289.3h-6.12c-.06,0-.1-.04-.1-.1s.04-.1.1-.1h6.12c.06,0,.1.04.1.1s-.04.1-.1.1Z"/>
<path class="cls-2" d="m530.56,291.08h-3.5c-.06,0-.1-.04-.1-.1s.04-.1.1-.1h3.5c.06,0,.1.04.1.1s-.04.1-.1.1Z"/>
<path class="cls-2" d="m530.56,293.92h-3.5c-.06,0-.1-.04-.1-.1s.04-.1.1-.1h3.5c.06,0,.1.04.1.1s-.04.1-.1.1Z"/>
<path class="cls-2" d="m531.84,295.7h-6.11c-.06,0-.1-.04-.1-.1s.04-.1.1-.1h6.11c.06,0,.1.04.1.1s-.04.1-.1.1Z"/>
<path class="cls-2" d="m532.29,297.86h-7.02c-.06,0-.1-.04-.1-.1s.04-.1.1-.1h7.02c.06,0,.1.04.1.1s-.04.1-.1.1Z"/>
<path class="cls-2" d="m531.83,300.02h-6.1c-.06,0-.1-.04-.1-.1s.04-.1.1-.1h6.1c.06,0,.1.04.1.1s-.04.1-.1.1Z"/>
<path class="cls-2" d="m530.5,301.8h-3.46c-.06,0-.1-.04-.1-.1s.04-.1.1-.1h3.46c.06,0,.1.04.1.1s-.04.1-.1.1Z"/>
<path class="cls-2" d="m530.49,304.64h-3.41c-.06,0-.1-.04-.1-.1s.04-.1.1-.1h3.41c.06,0,.1.04.1.1s-.04.1-.1.1Z"/>
<path class="cls-2" d="m531.84,306.41h-6.1c-.06,0-.1-.04-.1-.1s.04-.1.1-.1h6.1c.06,0,.1.04.1.1s-.04.1-.1.1Z"/>
<path class="cls-2" d="m532.27,308.6h-7c-.06,0-.1-.04-.1-.1s.04-.1.1-.1h7c.06,0,.1.04.1.1s-.04.1-.1.1Z"/>
</g>
<g>
<path class="cls-3" d="m532.29,287.49c-.12,0-.23-.05-.32-.13-.08-.08-.13-.2-.13-.32,0-.03,0-.06,0-.09,0-.03.02-.06.03-.08.01-.03.03-.05.04-.08.02-.02.04-.05.06-.07.11-.11.26-.15.41-.12.03,0,.06.01.09.03.03.01.05.03.08.04.03.02.05.04.07.06.02.02.04.04.06.07.02.03.03.05.04.08.01.03.02.06.03.08,0,.03,0,.06,0,.09,0,.12-.05.23-.13.32-.02.02-.04.04-.07.06-.02.02-.05.03-.08.04-.03.01-.06.02-.08.03-.03,0-.06,0-.09,0Z"/>
<path class="cls-3" d="m531.41,306.5c-.11-.22-.01-.49.21-.6h0c.22-.11.49-.01.6.21h0c.11.22.01.49-.21.6h0c-.06.03-.13.04-.19.04h0c-.17,0-.33-.1-.41-.26Z"/>
<path class="cls-3" d="m530.18,304.86c-.18-.17-.19-.46-.01-.64h0c.17-.18.46-.19.64-.01h0c.18.17.19.46.01.64h0c-.09.09-.21.14-.32.14h0c-.11,0-.23-.04-.31-.13Z"/>
<path class="cls-3" d="m526.73,302.02c-.18-.17-.18-.46-.01-.64h0c.17-.18.46-.18.64,0h0c.18.17.18.46.01.64h0c-.09.09-.21.14-.32.14h0c-.11,0-.23-.04-.31-.13Z"/>
<path class="cls-3" d="m525.32,300.11c-.11-.23,0-.49.22-.6h0c.23-.1.49,0,.6.22h0c.11.23,0,.49-.22.6h0c-.06.03-.13.04-.19.04h0c-.17,0-.33-.1-.41-.26Z"/>
<path class="cls-3" d="m525.27,298.21c-.25,0-.45-.2-.45-.45h0c0-.25.2-.45.45-.45h0c.25,0,.45.2.45.45h0c0,.25-.2.45-.45.45h0Z"/>
<path class="cls-3" d="m525.55,296.01c-.22-.11-.32-.38-.22-.6h0c.11-.23.37-.32.6-.22h0c.23.11.32.37.22.6h0c-.08.16-.24.26-.41.26h0c-.06,0-.13-.01-.19-.04Z"/>
<path class="cls-3" d="m526.74,294.14c-.17-.18-.17-.47.01-.64h0c.18-.17.47-.17.64.01h0c.17.18.17.47-.01.64h0c-.09.08-.2.13-.31.13h0c-.12,0-.24-.05-.32-.14Z"/>
<path class="cls-3" d="m530.18,291.3c-.17-.18-.17-.47.01-.64h0c.18-.17.47-.17.64.01h0c.17.18.17.47-.01.64h0c-.09.09-.2.13-.31.13h0c-.12,0-.24-.05-.32-.14Z"/>
<path class="cls-3" d="m531.64,289.61c-.23-.11-.32-.38-.22-.6h0c.11-.23.37-.32.6-.22h0c.23.11.32.37.22.6h0c-.08.16-.24.26-.41.26h0c-.06,0-.13-.01-.19-.04Z"/>
<path class="cls-3" d="m532.29,308.95s-.06,0-.09,0c-.03,0-.06-.01-.08-.03-.03-.01-.05-.03-.08-.04-.03-.02-.05-.04-.07-.06-.08-.08-.13-.2-.13-.32,0-.03,0-.06,0-.09,0-.03.02-.06.03-.08.01-.03.03-.05.04-.08.02-.02.04-.05.06-.07.08-.08.2-.13.32-.13s.24.05.32.13c.02.02.04.04.06.07.02.03.03.05.04.08.01.03.02.06.03.08,0,.03,0,.06,0,.09s0,.06,0,.09c0,.03-.02.06-.03.08-.01.03-.03.05-.04.08-.02.02-.04.05-.06.07-.02.02-.04.04-.07.06-.02.02-.05.03-.08.04-.03.01-.06.02-.08.03-.03,0-.06,0-.09,0Z"/>
</g>
<g>
<path class="cls-2" d="m525.27,287.49c-.12,0-.23-.05-.32-.13-.08-.08-.13-.2-.13-.32,0-.03,0-.06,0-.09,0-.03.02-.06.03-.08.01-.03.03-.05.04-.08.02-.02.04-.05.06-.07.11-.11.26-.15.41-.12.03,0,.06.01.09.03.03.01.05.03.08.04.03.02.05.04.07.06.02.02.04.04.06.07.02.03.03.05.04.08.01.03.02.06.03.08,0,.03,0,.06,0,.09,0,.12-.05.23-.13.32-.02.02-.04.04-.07.06-.02.02-.05.03-.08.04-.03.01-.06.02-.08.03-.03,0-.06,0-.09,0Z"/>
<path class="cls-2" d="m525.55,306.72c-.22-.11-.32-.38-.21-.6h0c.11-.23.38-.32.6-.21h0c.22.11.32.38.21.6h0c-.08.16-.24.26-.41.26h0c-.07,0-.13-.01-.19-.04Z"/>
<path class="cls-2" d="m526.75,304.85c-.17-.18-.17-.47.01-.64h0c.18-.17.47-.17.64.01h0c.17.18.17.47-.01.64h0c-.09.08-.2.13-.31.13h0c-.12,0-.24-.05-.33-.14Z"/>
<path class="cls-2" d="m528.44,303.39c-.15-.2-.11-.48.08-.63h0c.2-.15.48-.11.63.08h0c.15.2.11.48-.08.63h0c-.08.06-.18.09-.27.09h0c-.14,0-.27-.06-.36-.18Z"/>
<path class="cls-2" d="m530.2,302.01c-.17-.18-.17-.46.01-.64h0c.18-.17.46-.17.64,0h0c.17.18.17.46,0,.64h0c-.09.09-.2.13-.31.13h0c-.12,0-.24-.05-.32-.14Z"/>
<path class="cls-2" d="m531.65,300.33c-.23-.1-.32-.37-.22-.6h0c.1-.23.37-.32.6-.22h0c.23.11.32.37.22.6h0c-.08.16-.24.26-.41.26h0c-.06,0-.13-.01-.19-.04Z"/>
<path class="cls-2" d="m531.84,297.76c0-.25.2-.45.45-.45h0c.25,0,.45.2.45.45h0c0,.25-.2.45-.45.45h0c-.25,0-.45-.2-.45-.45Z"/>
<path class="cls-2" d="m531.42,295.79c-.11-.23,0-.49.22-.6h0c.23-.11.49-.01.6.22h0c.11.23,0,.49-.22.6h0c-.06.03-.13.04-.19.04h0c-.17,0-.33-.1-.41-.26Z"/>
<path class="cls-2" d="m530.19,294.15h0c-.18-.17-.18-.46-.01-.64h0c.17-.18.46-.18.64-.01h0c.18.17.18.46.01.64h0c-.09.09-.21.14-.32.14h0c-.11,0-.23-.04-.31-.13Z"/>
<path class="cls-2" d="m528.51,292.76h0c-.2-.15-.24-.44-.08-.63h0c.15-.2.43-.24.63-.08h0c.2.15.24.43.08.63h0c-.09.12-.22.18-.36.18h0c-.1,0-.19-.03-.27-.09Z"/>
<path class="cls-2" d="m526.75,291.31h0c-.18-.17-.18-.46-.01-.64h0c.17-.18.46-.18.64-.01h0c.18.17.18.46.01.64h0c-.09.09-.21.14-.32.14h0c-.11,0-.23-.04-.31-.13Z"/>
<path class="cls-2" d="m525.33,289.4h0c-.11-.22,0-.49.22-.6h0c.23-.11.49,0,.6.22h0c.11.23,0,.49-.22.6h0c-.06.03-.13.04-.19.04h0c-.17,0-.33-.1-.41-.26Z"/>
<path class="cls-2" d="m525.27,308.95s-.06,0-.09,0c-.03,0-.06-.01-.08-.03-.03-.01-.05-.03-.08-.04-.03-.02-.05-.04-.07-.06-.08-.08-.13-.2-.13-.32,0-.03,0-.06,0-.09s.02-.06.03-.08c.01-.03.03-.05.04-.08.02-.02.04-.05.06-.07.08-.08.2-.13.32-.13s.24.05.32.13c.02.02.04.04.06.07.02.03.03.05.04.08.01.03.02.06.03.08,0,.03,0,.06,0,.09s0,.06,0,.09c0,.03-.02.06-.03.08-.01.03-.03.05-.04.08-.02.02-.04.05-.06.07-.02.02-.04.04-.07.06-.02.02-.05.03-.08.04-.03.01-.06.02-.08.03-.03,0-.06,0-.09,0Z"/>
</g>
</g>
<circle class="cls-4" cx="499.98" cy="303.2" r="2.32"/>
<g id="head">
<path class="cls-49" d="m433.27,316.46c.61-2.67,2.46-5.21,4.14-8.01.77-1.29,2.06-2.31,2.33-3.65.56-2.75-1.55-9.59,2.01-16.72,4.85-9.72,15.76-15.23,26.3-15.2,1.53,0,16.2.28,24.18,12.16,5.92,8.82,5.16,19.47-.42,29.69-2.34,4.28-.78,20.61-.64,25.44h-28.84c-.11-1.3-.67-2.03-.95-2.33-1.39-1.49-4.23-1.2-7-.41-6.78,1.94-9.73,1-10.39.51-1.75-1.3-2.94-4.83-1.91-6.99.24-.5.71-1.17.42-1.72-.35-.68-1.41-.36-2.44-1.22-.14-.12-1.19-.99-.95-2.03.23-1.02,1.52-1.4,1.59-1.42-.06.02-1.26.37-1.95-.29-.45-.43-.45-1.07-.44-1.48,0-.69.24-.8.33-1.48.02-.19.21-1.59-.55-2.22-.4-.33-.67-.13-2.16-.37-1.13-.18-1.73-.29-2.16-.74-.46-.48-.58-1.15-.49-1.53Z"/>
</g>
<g id="brainwave">
<path class="cls-56" d="m448.45,310c-.41,0-.73-.39-.99-5.39-.16-3.07-.25-7.11-.34-11.02-.12-5.32-.26-11.27-.56-12.87-.58,2.23-1.09,13.41-1.28,20.5,0,.09-.05.18-.14.22-.08.04-.18.04-.26,0-.19-.12-1.91-1.21-2.31-1.85-.18-.29-.31-.77-.45-1.29-.19-.7-.47-1.75-.82-1.72-.24.02-.4.82-.5,1.35-.17.88-.34,1.7-.95,1.78-2.89.34-6.28.17-9.27.02l-.32-.02c-.54-.03-1.19-.41-1.87-.81-.64-.38-1.31-.77-1.75-.76-.4.01-1.03.42-1.59.77-.56.36-1.1.71-1.55.79-.42.07-1.02-.04-1.67-.15-.86-.16-1.92-.35-2.15.03-.23.39-.39,2.68-.53,4.69-.32,4.59-.48,5.74-1.06,5.74-.3,0-.35-.29-.42-1.07-.05-.51-.1-1.26-.14-2.28-.09-1.91-.17-4.57-.26-7.38-.12-3.99-.26-8.51-.45-12.08-.23-4.15-.47-5.66-.62-6.19-.26,1.17-.31,5.31-.36,8.72-.1,7.21-.21,11.63-.98,12.16-.1.07-.22.09-.34.06-.28-.08-.44-.44-.65-.9-.1-.23-.24-.54-.33-.62-.1-.08-.31-.18-.52-.27-.35-.16-.72-.32-.89-.56-.23-.31-.38-.84-.55-1.4-.21-.71-.5-1.67-.86-1.68h0c-.32,0-.59.86-.79,1.48-.22.7-.43,1.36-.81,1.65-1.16.89-5.29.14-5.76.05-.14-.03-.23-.16-.21-.3.03-.14.16-.23.3-.21,1.21.23,4.52.68,5.35.05.25-.19.45-.83.63-1.4.29-.91.59-1.85,1.3-1.84.75.01,1.05,1.05,1.35,2.05.15.49.3,1,.47,1.24.1.13.42.28.69.4.24.11.48.21.63.34.19.15.33.47.48.81.07.17.19.42.27.55.12-.22.36-1.01.51-3.88.12-2.23.16-5.06.19-7.8.11-8.14.23-9.46.86-9.46.33,0,.55.31.76,1.98.14,1.04.26,2.51.37,4.5.21,3.64.35,8.37.48,12.53.12,3.98.25,8.07.4,9.67.2-1.04.34-3.17.45-4.7.19-2.75.33-4.45.6-4.92.41-.69,1.56-.48,2.68-.28.57.1,1.16.21,1.49.15.35-.06.87-.39,1.36-.71.64-.41,1.31-.84,1.86-.86.58-.02,1.28.4,2.02.83.6.35,1.22.72,1.63.74l.32.02c2.97.15,6.33.32,9.18-.02.24-.03.4-.83.51-1.36.18-.88.34-1.71.97-1.77.78-.07,1.08,1.03,1.37,2.1.12.46.25.93.39,1.15.22.36,1.14,1.03,1.76,1.44.04-1.4.18-5.76.4-10.08.16-3.06.32-5.5.49-7.25.32-3.27.58-3.52.92-3.52.31,0,.44.32.56,1.35.08.68.15,1.67.21,3.02.12,2.5.2,5.81.28,9.32.14,6.15.34,14.46.84,15.8.15-.46.14-1.9.12-3.08-.03-2.64-.07-5.92,1.09-7.04.54-.52,1.62-.35,2.67-.19.58.09,1.12.17,1.46.12.28-.04.68-.35,1.07-.65.5-.38.98-.74,1.42-.77.54-.04,1.19.41,1.81.84.37.26.72.5.97.58.75.25,3.13.08,3.98-.01.14-.01.27.09.28.23.01.14-.09.27-.23.28-.13.01-3.19.33-4.2-.01-.32-.11-.7-.37-1.1-.65-.5-.35-1.11-.78-1.48-.75-.29.02-.75.37-1.15.67-.46.35-.9.68-1.3.74-.42.07-1-.02-1.62-.12-.84-.13-1.88-.29-2.23.05-.99.96-.96,4.25-.93,6.66.02,2.1.02,3.21-.34,3.58-.09.09-.2.14-.32.14Z"/>
</g>
<g id="brainwave-2" data-name="brainwave">
<path class="cls-56" d="m508.15,310c-.41,0-.73-.39-.99-5.39-.16-3.07-.25-7.11-.34-11.02-.12-5.32-.26-11.27-.56-12.87-.58,2.23-1.09,13.41-1.28,20.5,0,.09-.05.18-.14.22-.08.04-.18.04-.26,0-.19-.12-1.91-1.21-2.31-1.85-.18-.29-.31-.77-.45-1.29-.19-.7-.47-1.75-.82-1.72-.24.02-.4.82-.5,1.35-.17.88-.34,1.7-.95,1.78-2.89.34-6.28.17-9.27.02l-.32-.02c-.54-.03-1.19-.41-1.87-.81-.64-.38-1.31-.77-1.75-.76-.4.01-1.03.42-1.59.77-.56.36-1.1.71-1.55.79-.42.07-1.02-.04-1.67-.15-.86-.16-1.92-.35-2.15.03-.23.39-.39,2.68-.53,4.69-.32,4.59-.48,5.74-1.06,5.74-.3,0-.35-.29-.42-1.07-.05-.51-.1-1.26-.14-2.28-.09-1.91-.17-4.57-.26-7.38-.12-3.99-.26-8.51-.45-12.08-.23-4.15-.47-5.66-.62-6.19-.26,1.17-.31,5.31-.36,8.72-.1,7.21-.21,11.63-.98,12.16-.1.07-.22.09-.34.06-.28-.08-.44-.44-.65-.9-.1-.23-.24-.54-.33-.62-.1-.08-.31-.18-.52-.27-.35-.16-.72-.32-.89-.56-.23-.31-.38-.84-.55-1.4-.21-.71-.5-1.67-.86-1.68h0c-.32,0-.59.86-.79,1.48-.22.7-.43,1.36-.81,1.65-1.16.89-5.29.14-5.76.05-.14-.03-.23-.16-.21-.3.03-.14.16-.23.3-.21,1.21.23,4.52.68,5.35.05.25-.19.45-.83.63-1.4.29-.91.59-1.85,1.3-1.84.75.01,1.05,1.05,1.35,2.05.15.49.3,1,.47,1.24.1.13.42.28.69.4.24.11.48.21.63.34.19.15.33.47.48.81.07.17.19.42.27.55.12-.22.36-1.01.51-3.88.12-2.23.16-5.06.19-7.8.11-8.14.23-9.46.86-9.46.33,0,.55.31.76,1.98.14,1.04.26,2.51.37,4.5.21,3.64.35,8.37.48,12.53.12,3.98.25,8.07.4,9.67.2-1.04.34-3.17.45-4.7.19-2.75.33-4.45.6-4.92.41-.69,1.56-.48,2.68-.28.57.1,1.16.21,1.49.15.35-.06.87-.39,1.36-.71.64-.41,1.31-.84,1.86-.86.59-.02,1.28.4,2.02.83.6.35,1.22.72,1.63.74l.32.02c2.97.15,6.33.32,9.18-.02.24-.03.4-.83.51-1.36.18-.88.34-1.71.97-1.77.78-.07,1.08,1.03,1.37,2.1.12.46.25.93.39,1.15.22.36,1.14,1.03,1.76,1.44.04-1.4.18-5.76.4-10.08.16-3.06.32-5.5.49-7.25.32-3.27.58-3.52.92-3.52.31,0,.44.32.56,1.35.08.68.15,1.67.21,3.02.12,2.5.2,5.81.28,9.32.14,6.15.34,14.46.84,15.8.15-.46.14-1.9.12-3.08-.03-2.64-.07-5.92,1.09-7.04.54-.52,1.62-.35,2.67-.19.58.09,1.12.17,1.46.12.28-.04.68-.35,1.07-.65.5-.38.98-.74,1.42-.77.55-.04,1.19.41,1.81.84.37.26.72.5.97.58.75.25,3.13.08,3.98-.01.14-.01.27.09.28.23.01.14-.09.27-.23.28-.13.01-3.19.33-4.2-.01-.32-.11-.7-.37-1.1-.65-.5-.35-1.12-.78-1.48-.75-.29.02-.75.37-1.15.67-.46.35-.9.68-1.3.74-.42.07-1-.02-1.62-.12-.84-.13-1.88-.29-2.23.05-.99.96-.96,4.25-.93,6.66.02,2.1.02,3.21-.34,3.58-.09.09-.2.14-.32.14Z"/>
</g>
<g id="brain">
<g>
<path class="cls-60" d="m486.75,305.32c.32.51.95,1.67.79,3.14-.32,3.02-3.66,4.3-3.8,4.35-.97.35-1.15.12-3.73.21-4.31.16-5.01.86-6.1.14-1.66-1.1-1.71-3.82-1.72-4.77,0-.34.57-3.14.57-3.14,0,0,7.18-2.61,14,.07Z"/>
<path class="cls-65" d="m478.39,304.17c-.4.03-.78.06-1.15.11,2.18,1.44,4.1,3.19,5.71,5.22.7.87,1.33,1.79,1.91,2.75.2-.12.4-.26.62-.42-.58-.97-1.23-1.91-1.94-2.79-1.48-1.85-3.2-3.48-5.14-4.86Z"/>
<path class="cls-65" d="m484.81,308.17c.65.81,1.25,1.67,1.79,2.56.17-.21.32-.44.45-.69-.51-.81-1.06-1.59-1.66-2.33-1.02-1.28-2.15-2.45-3.4-3.5-.43-.04-.86-.07-1.27-.08,1.52,1.19,2.89,2.54,4.09,4.05Z"/>
<path class="cls-65" d="m478.7,308.11c-1.06-1.13-2.05-2.35-2.97-3.61-.28.05-.55.1-.8.16.98,1.39,2.06,2.72,3.22,3.96,1.5,1.6,3.14,3.06,4.9,4.36.21-.03.42-.08.68-.18.02,0,.1-.04.21-.09-1.9-1.36-3.66-2.9-5.25-4.6Z"/>
<path class="cls-65" d="m475.95,308.53c-1-1.07-1.95-2.21-2.82-3.41-.25.08-.38.13-.38.13,0,0-.04.19-.1.48.85,1.16,1.77,2.27,2.75,3.31,1.35,1.45,2.83,2.78,4.4,3.99.06,0,.13,0,.19,0,.38-.01.72-.02,1-.02-1.82-1.32-3.52-2.82-5.06-4.46Z"/>
<path class="cls-65" d="m474.34,310.32c-.74-.76-1.44-1.57-2.1-2.4-.04.23-.06.4-.06.46,0,.17,0,.4.02.66.51.61,1.05,1.21,1.6,1.78.84.88,1.74,1.71,2.68,2.49.3-.04.63-.08,1.02-.13-1.12-.89-2.17-1.85-3.16-2.88Z"/>
</g>
<g>
<path class="cls-18" d="m468.3,306.52c-.38,1.69-.09,2.8.22,3.49.13.28.59.88,1.51,2.07,1.67,2.16,1.77,2.16,2.01,2.71.41.93.35,1.39.93,1.92.15.13.81.74,1.58.57.8-.17,1.15-1.04,1.22-1.21.3-.79.06-1.51-.65-3.35-1.08-2.8-1.14-2.71-1.22-3.14-.2-1.05-.05-2.64,1.72-4.92-2.44.62-4.88,1.24-7.32,1.85Z"/>
<path class="cls-16" d="m474.83,315.8c-.97.06-2.32-2.37-2.65-3.62-.29-1.08-.96-3.81-.4-6.54-1.16.29-2.32.59-3.47.88-.38,1.69-.09,2.8.22,3.49.13.28.59.88,1.51,2.07,1.67,2.16,1.77,2.16,2.01,2.71.41.93.35,1.39.93,1.92.15.13.81.74,1.58.57.8-.17,1.15-1.04,1.22-1.21.15-.4.17-.78.05-1.29-.25.53-.58,1-1,1.02Z"/>
</g>
<g>
<path class="cls-15" d="m492.22,301.35c-.3,2-1.9,3.01-2.12,3.14-.14.53-.47,1.48-1.29,2.36-.4.43-1.76,1.89-3.62,1.65-1.35-.17-2.16-1.09-2.25-1.2-.02-.03-.04-.05-.06-.08-.02-.02-.03-.04-.05-.06-.02-.03-.04-.06-.07-.09-.01-.02-.03-.04-.04-.06-.02-.02-.03-.05-.05-.07-.02-.03-.03-.05-.05-.08-.01-.02-.02-.04-.04-.06-.01-.02-.03-.05-.04-.07-.02-.03-.03-.06-.04-.09,0-.02-.02-.04-.03-.05-.1-.21-.17-.41-.22-.59,0-.02-.01-.04-.02-.06-.02-.08-.04-.15-.05-.21,0,.04,0,.08,0,.12.01.32-.04.69-.26,1-.49.68-1.53.69-2.42.66-3.17-.09-4.3-.54-6-.58-1.17-.03-.91.18-5,1.03-.07.02-.14.03-.21.04-.02,0-.04,0-.05.01-.09.02-.17.04-.26.05-.09.02-.17.04-.26.05-.08.02-.16.03-.24.05-.17.03-.33.07-.48.1-.04,0-.08.02-.11.02-.23.05-.46.09-.67.14-.06.01-.11.02-.17.03-.05.01-.11.02-.16.03,0,0-.01,0-.02,0-.05,0-.09.02-.14.03-.05.01-.1.02-.15.03-.04,0-.08.01-.11.02,0,0-.02,0-.03,0-.09.02-.18.03-.27.05-.12.02-.23.04-.35.06-.08.01-.17.03-.25.04-.02,0-.03,0-.05,0-.13.02-.25.04-.37.06-.09.01-.18.02-.26.03,0,0,0,0,0,0-.03,0-.05,0-.08.01-.05,0-.09.01-.14.02-.02,0-.03,0-.05,0-.59.06-1.05.07-1.45,0-.65-.1-4.06-.68-5.96-3.73-.03-.05-.06-.1-.09-.15-.03-.05-.06-.1-.09-.15-.1-.19-.2-.37-.28-.56-.02-.04-.04-.09-.06-.13-.12-.28-.22-.56-.31-.84-.01-.04-.02-.08-.04-.12,0-.03-.02-.06-.03-.09-.02-.06-.03-.12-.05-.17-.01-.06-.03-.11-.04-.17-.01-.06-.03-.12-.04-.17-.01-.08-.03-.15-.04-.22,0-.03-.01-.06-.02-.1-.04-.26-.07-.51-.08-.74,0-.03,0-.07,0-.1-.02-.3-.02-.55,0-.75h0s-.04,0-.05,0c-.27.04-.58.07-.92.1-.11,0-.22.01-.34.02-.08,0-.16,0-.24,0-.04,0-.08,0-.12,0-.12,0-.25,0-.38,0-.05,0-.1,0-.15,0-.07,0-.15,0-.22,0-.07,0-.14,0-.21-.01-.04,0-.09,0-.13,0-.01,0-.02,0-.04,0-.04,0-.09,0-.13,0-.17-.01-.34-.03-.52-.05-1.64-.2-4.02-.48-5.8-2.32-.02-.02-.05-.05-.07-.08-.42-.45-1.71-1.83-1.75-3.97,0-.03,0-.06,0-.09,0-.03,0-.07,0-.1t0,0c0-.07,0-.13,0-.2,0-.04,0-.07,0-.11,0-.03,0-.06,0-.09,0-.04,0-.07.01-.11,0-.03,0-.06.01-.09.02-.12.03-.24.06-.35,0-.02,0-.04.01-.06.06-.27.13-.53.22-.76,0-.02.02-.05.03-.07,0,0,0,0,0,0,.01-.03.02-.05.03-.08.01-.03.02-.06.04-.09,0-.02.02-.04.03-.07.03-.08.07-.15.1-.22.01-.02.02-.05.04-.07.02-.05.05-.09.07-.14.01-.02.02-.04.04-.07.01-.02.02-.04.04-.07,0,0,0,0,0,0,.02-.03.04-.06.05-.09,0-.02.02-.03.03-.05.02-.03.04-.07.06-.1.03-.04.05-.08.08-.12.01-.02.02-.04.03-.05.04-.05.07-.11.11-.16.03-.05.06-.09.1-.13,0-.01.02-.02.03-.03.02-.02.03-.04.05-.07,0,0,0,0,0,0,0-.01.02-.02.02-.03.18-.22.33-.38.41-.46-.02-.08-.04-.2-.07-.35,0-.02,0-.04,0-.07,0-.01,0-.03,0-.04,0-.07-.02-.14-.02-.22,0-.03,0-.05,0-.08,0-.07,0-.13,0-.21,0-.03,0-.06,0-.09,0-.13,0-.28.01-.43,0-.09.02-.18.03-.27,0-.02,0-.05,0-.07,0-.05.01-.1.02-.14.01-.07.03-.15.04-.22,0-.02.01-.05.02-.07.01-.06.03-.13.05-.19.02-.06.04-.13.06-.19,0-.03.02-.05.03-.08.02-.05.04-.1.06-.16.03-.08.06-.16.1-.24.02-.05.05-.11.07-.16.03-.05.05-.11.08-.16.65-1.21,1.63-1.81,2.04-2.03.14-.6.49-1.69,1.42-2.69,1.82-1.95,4.36-1.91,4.79-1.9.48-.47,1.47-1.33,3-1.82,1.46-.47,2.72-.38,3.37-.29.57-.43,1.86-1.28,3.75-1.53.37-.05.72-.07,1.05-.07.37,0,.72.03,1.05.07.04,0,.08.01.13.02.01,0,.02,0,.04,0,.04,0,.07.01.11.02,0,0,.02,0,.03,0,.25.04.48.1.7.15.42.11.76.24.99.33.45-.13,1.38-.34,2.5-.08,1.52.34,2.42,1.31,2.71,1.65.14-.07.35-.18.63-.28.3-.11.68-.2,1.11-.23h0c.2-.01.41-.01.63,0,1.73.16,2.73,1.38,2.92,1.61.37-.06,2.37-.37,4.25.95,1.91,1.34,2.27,3.36,2.33,3.72.36.02,1.31.14,2.12.87,1.45,1.29,1.11,3.3,1.08,3.43.16.05,1.41.44,1.92,1.74.59,1.49-.36,2.78-.42,2.85.24.11,1.19.58,1.62,1.65.43,1.05.21,2.29-.54,3.23.11.16.4.59.59,1.23,0,.02.01.05.02.07,0,.02.01.05.02.07,0,0,0,0,0,0,0,.02.01.04.02.06.02.08.04.16.06.24,0,.03.01.05.02.08,0,.02,0,.05.01.07,0,.03.01.06.01.09,0,.03,0,.07.01.1,0,.02,0,.04,0,.06,0,.07.01.15.02.23,0,.02,0,.05,0,.07,0,.02,0,.04,0,.05,0,.23,0,.47-.04.72Z"/>
<path class="cls-59" d="m492.27,300.63s0-.04,0-.05c0-.02,0-.05,0-.07,0-.08-.01-.15-.02-.23,0-.02,0-.04,0-.06,0-.03,0-.07-.01-.1,0-.03,0-.06-.01-.09,0-.02,0-.05-.01-.07,0-.03-.01-.05-.02-.08-.02-.08-.04-.16-.06-.24,0-.02-.01-.04-.02-.06,0,0,0,0,0,0,0-.02-.01-.05-.02-.07,0-.02-.01-.05-.02-.07-1.06,1.69-2.72,2.91-4.64,3.32-3.43.73-6.09-1.46-6.42-1.74-.28.87-.8,2-1.83,2.4-1.36.53-2.59-.63-4.17-1.24-4.67-1.82-8.53,2.63-11.16,1.08-2.47-1.45-2.42-4.2-2.13-5.79.12-.66.29-1.13.33-1.2-.13.17-.32.39-.52.61,0,.01-.02.02-.03.03-.03.04-.06.07-.1.11-.02.03-.05.05-.07.08-.02.03-.05.05-.07.08-.03.03-.06.07-.1.1-.92,1.66-1.36,3.52-1.11,5.1.49,3.03,2.42,5.57,5.53,6.19.05,0,.1-.02.15-.03.05,0,.09-.02.14-.03,0,0,.01,0,.02,0,.05-.01.11-.02.16-.03.05-.01.11-.02.17-.03.21-.04.44-.09.67-.14.04,0,.08-.02.11-.02.16-.03.32-.07.48-.1.08-.02.16-.03.24-.05.08-.02.17-.04.26-.05.09-.02.17-.04.26-.05.02,0,.04,0,.05-.01.07-.01.14-.03.21-.04,4.09-.85,3.83-1.06,5-1.03,1.7.04,2.83.49,6,.58.89.02,1.92.02,2.42-.66.22-.31.27-.67.26-1,0-.04,0-.08,0-.12.01.07.03.14.05.21,0,.02.01.04.02.06.05.18.12.38.22.59,0,.02.02.04.03.05.01.03.03.06.04.09.01.02.03.05.04.07.01.02.02.04.04.06.02.03.03.05.05.08.01.02.03.05.05.07.01.02.03.04.04.06.02.03.04.06.07.09.02.02.03.04.05.06.02.03.04.05.06.08.09.11.9,1.03,2.25,1.2,1.87.23,3.23-1.23,3.62-1.65.82-.88,1.15-1.83,1.29-2.36.23-.14,1.83-1.14,2.12-3.14.04-.25.05-.49.04-.72Zm-10.08,5.1c-.03-.13-.04-.25-.05-.33,0,.02,0,.05.01.08,0,.03.01.07.02.11,0,.02,0,.04,0,.06,0,0,0,0,0,0,0,.02,0,.05,0,.07,0,0,0,0,0,.01t0,0Z"/>
<path class="cls-61" d="m465.59,308.56s-.08.01-.11.02c0,0-.02,0-.03,0-.09.02-.18.03-.27.05-.12.02-.23.04-.35.06-.08.01-.17.03-.25.04-.01,0-.03,0-.05,0-.13.02-.25.04-.37.06-.09.01-.18.02-.26.03,0,0,0,0,0,0-.03,0-.05,0-.08.01-.05,0-.09.01-.14.02-.02,0-.03,0-.05,0-.59.06-1.05.07-1.45,0-.65-.1-4.06-.68-5.96-3.73-.03-.05-.06-.1-.09-.15-.03-.05-.06-.1-.09-.15-.1-.19-.2-.37-.28-.56-.02-.04-.04-.09-.06-.13-.12-.28-.22-.56-.31-.84-.01-.04-.02-.08-.04-.12,0-.03-.02-.06-.03-.09-.02-.06-.03-.12-.05-.17-.01-.06-.03-.11-.04-.17-.01-.06-.03-.12-.04-.17-.01-.08-.03-.15-.04-.22,0-.03-.01-.06-.02-.1-.04-.26-.07-.51-.08-.74,0-.03,0-.07,0-.1-.02-.3-.02-.55,0-.75.57-.16,1.17-.35,1.79-.58,1.59-.58,2.83-1.46,3.75-2.29.2-.18.39-.37.56-.54-.92,1.66-1.36,3.52-1.11,5.1.49,3.03,2.42,5.57,5.53,6.19Z"/>
<path class="cls-21" d="m466.92,276.59c-1.15.23-2.42.71-3.23,1.81-.26.35-.41.67-.5.91-.73-.11-2.15-.23-3.79.29-1.4.44-2.4,1.17-3.02,1.73,0,0-.02.02-.03.02-.18.17-.33.31-.45.44-.41.04-1.95.26-3.21,1.57-1.33,1.39-1.41,3.05-1.42,3.43-.21.13-3.43,2.19-3.29,5.29.04.88.34,1.63.78,2.28.88,1.3,2.35,2.16,3.48,2.68.73.33,1.32.52,1.53.58.16.05.32.09.48.13.46.11.91.18,1.34.22.06,0,.12,0,.18.01,2.36.15,4.35-.65,5.43-1.21.14-.07.27-.14.38-.2.17-.1.31-.18.39-.23-.13.16-.27.34-.44.53,0,.01-.02.02-.03.03-.03.04-.06.07-.1.11-.02.03-.05.05-.07.08-.02.03-.05.05-.07.08-.03.03-.06.07-.1.1-.06.06-.12.12-.18.19-.03.03-.06.05-.08.08-.07.07-.14.14-.22.2-.02.01-.03.03-.05.04,0,0,0,0,0,0,0,0-.01.01-.02.02h0s-.06.05-.09.08c-.03.03-.06.05-.09.08-.03.03-.06.05-.09.08-.06.05-.12.11-.19.16-.03.03-.06.05-.1.08-.03.03-.07.05-.1.08-.1.08-.2.16-.31.23-.03.02-.07.05-.1.07-.04.03-.08.05-.11.08-.03.02-.06.04-.09.06-.02.01-.04.03-.06.04-.03.02-.05.03-.08.05-.08.05-.15.1-.23.15-.03.02-.06.04-.09.06-.01,0-.02.01-.03.02-.04.02-.07.04-.11.07-.04.02-.08.05-.12.07-.12.07-.25.14-.38.21-.03.02-.07.04-.1.05-.04.02-.08.04-.11.06-.03.02-.06.03-.09.05,0,0-.02,0-.03.01,0,0-.01,0-.02,0-.04.02-.09.04-.13.06,0,0,0,0,0,0-.06.03-.11.05-.17.08,0,0-.01,0-.02,0-.05.02-.1.05-.16.07-.04.02-.08.04-.13.05-.03.01-.05.02-.08.03,0,0-.01,0-.02,0-.02,0-.04.02-.05.02,0,0,0,0,0,0-.04.01-.07.03-.11.04-.05.02-.1.04-.15.06-.62.23-1.22.42-1.79.58h0s-.04,0-.05,0c-.27.04-.58.07-.92.1-.11,0-.22.01-.34.02-.08,0-.16,0-.24,0-.04,0-.08,0-.12,0-.12,0-.25,0-.38,0-.05,0-.1,0-.15,0-.07,0-.15,0-.22,0-.07,0-.14,0-.21-.01-.04,0-.09,0-.13,0-.01,0-.02,0-.04,0-.04,0-.09,0-.13,0-.17-.01-.34-.03-.52-.05-1.64-.2-4.02-.48-5.8-2.32-.02-.02-.05-.05-.07-.08-.42-.45-1.71-1.83-1.75-3.97,0-.03,0-.06,0-.09,0-.03,0-.07,0-.1t0,0c0-.07,0-.13,0-.2,0-.04,0-.07,0-.11,0-.03,0-.06,0-.09,0-.04,0-.07.01-.11,0-.03,0-.06.01-.09.02-.12.03-.24.06-.35,0-.02,0-.04.01-.06.06-.27.13-.53.22-.76,0-.02.02-.05.03-.07,0,0,0,0,0,0,.01-.03.02-.05.03-.08.01-.03.02-.06.04-.09,0-.02.02-.04.03-.07.03-.08.07-.15.1-.22.01-.02.02-.05.04-.07.02-.05.05-.09.07-.14.01-.02.02-.04.04-.07.01-.02.02-.04.04-.07,0,0,0,0,0,0,.02-.03.04-.06.05-.09,0-.02.02-.03.03-.05.02-.03.04-.07.06-.1.03-.04.05-.08.08-.12.01-.02.02-.04.03-.05.04-.05.07-.11.11-.16.03-.05.06-.09.1-.13,0-.01.02-.02.03-.03.02-.02.03-.04.05-.07,0,0,0,0,0,0,0-.01.02-.02.02-.03.18-.22.33-.38.41-.46-.02-.08-.04-.2-.07-.35,0-.02,0-.04,0-.07,0-.01,0-.03,0-.04,0-.07-.02-.14-.02-.22,0-.03,0-.05,0-.08,0-.07,0-.13,0-.21,0-.03,0-.06,0-.09,0-.13,0-.28.01-.43,0-.09.02-.18.03-.27,0-.02,0-.05,0-.07,0-.05.01-.1.02-.14.01-.07.03-.15.04-.22,0-.02.01-.05.02-.07.01-.06.03-.13.05-.19.02-.06.04-.13.06-.19,0-.03.02-.05.03-.08.02-.05.04-.1.06-.16.03-.08.06-.16.1-.24.02-.05.05-.11.07-.16.03-.05.05-.11.08-.16.65-1.21,1.63-1.81,2.04-2.03.14-.6.49-1.69,1.42-2.69,1.82-1.95,4.36-1.91,4.79-1.9.48-.47,1.47-1.33,3-1.82,1.46-.47,2.72-.38,3.37-.29.57-.43,1.86-1.28,3.75-1.53.37-.05.72-.07,1.05-.07.37,0,.72.03,1.05.07.04,0,.08.01.13.02.01,0,.02,0,.04,0,.04,0,.07.01.11.02,0,0,.02,0,.03,0Z"/>
</g>
<g>
<path class="cls-20" d="m476.37,291.34c-.08,0-.17-.03-.24-.08-.19-.14-.83-.68-.91-1.61-.1-1.12.71-1.83.81-1.91.17-.14.42-.12.56.05.14.17.12.42-.05.56-.02.02-.59.5-.53,1.23.05.61.5.97.59,1.04.18.13.21.38.08.55-.08.1-.2.16-.32.16Z"/>
<path class="cls-20" d="m453.83,296.43c-.99,0-1.94-.25-2.75-.72-1-.58-1.68-1.45-1.93-2.44-.43-1.69.58-3.15.9-3.56.13-.17.39-.2.56-.07.17.13.21.38.07.56-.26.34-1.1,1.55-.76,2.89.37,1.47,2.18,2.82,4.56,2.52.22-.03.42.13.45.34.03.22-.13.42-.35.44-.25.03-.5.05-.75.05Z"/>
<path class="cls-20" d="m468.62,284.64c-.2,0-.37-.15-.4-.35-.02-.22.13-.41.35-.44,1.27-.14,2.48-.52,3.61-1.11,1.24-.66,2.35-1.59,3.2-2.7.13-.17.38-.21.56-.07.17.13.21.38.07.56-.93,1.2-2.12,2.21-3.46,2.92-1.21.64-2.52,1.05-3.89,1.2-.02,0-.03,0-.05,0Z"/>
<path class="cls-20" d="m462.57,294.39c-.09,0-.18-.02-.26-.08-.17-.14-.2-.38-.07-.56.5-.63,1.1-1.18,1.77-1.61.92-.6,1.99-.99,3.1-1.13.22-.03.42.12.45.34.03.22-.13.42-.34.44-.99.13-1.94.48-2.77,1.01-.6.39-1.13.87-1.58,1.44-.08.1-.19.15-.3.15Z"/>
<path class="cls-20" d="m483.87,298.13c-.16,0-.31-.09-.37-.25-.26-.63-.91-1.82-2.25-2.62-.97-.58-1.93-.74-2.56-.77-.22-.01-.39-.2-.38-.42.01-.22.2-.39.42-.38,1.04.05,2.06.36,2.94.88,1.54.92,2.28,2.28,2.58,3,.08.2-.01.43-.22.52-.05.02-.1.03-.15.03Z"/>
<path class="cls-20" d="m477.2,301.6c-.08,0-.15-.02-.22-.06-.18-.12-.24-.37-.12-.55,1.14-1.73,1.35-3.24.51-3.85-.54-.4-1.96.25-3.11,1.82-.13.18-.38.21-.56.09-.18-.13-.22-.38-.09-.55,1.38-1.88,3.2-2.73,4.22-1.99,1.22.89,1.1,2.77-.32,4.92-.08.12-.2.18-.33.18Z"/>
<path class="cls-20" d="m484.87,292.4c-.66,0-1.23-.35-1.69-1.03-.42-.61-.78-1.52-1.16-2.92-.06-.21.07-.43.28-.49.21-.06.43.07.49.28.66,2.39,1.26,3.37,2.1,3.37.07,0,.13,0,.2-.02.8-.14,1.01-1.12.75-3.62-.02-.22.14-.41.36-.43.22-.02.42.14.44.35.1,1.02.18,2.07.02,2.88-.18.93-.66,1.47-1.43,1.6-.12.02-.23.03-.35.03Z"/>
<path class="cls-20" d="m457.87,283.24s0,0,0,0c-.22,0-.4-.18-.4-.4,0-.45.11-1.12.58-1.73.66-.84,1.79-1.25,2.96-1.06.22.04.37.24.33.46-.04.22-.24.36-.46.33-.88-.14-1.72.15-2.2.76-.34.43-.41.92-.42,1.25,0,.22-.18.39-.4.39Z"/>
<path class="cls-20" d="m472.73,279.32c-.09,0-.17-.03-.24-.08-.43-.33-1.13-.75-2.09-.89-.65-.1-1.34-.05-1.97.14-.21.06-.43-.06-.5-.27-.06-.21.06-.43.27-.49.75-.22,1.55-.28,2.32-.16,1.12.17,1.96.67,2.46,1.05.17.13.21.38.07.56-.08.1-.2.15-.32.15Z"/>
<path class="cls-20" d="m463.1,283.27c-.07,0-.14-.02-.2-.06-.19-.11-.25-.35-.14-.54.03-.05.69-1.13,1.86-1.6,1.4-.56,2.6-.01,2.65,0,.2.09.28.33.19.53-.09.2-.33.28-.53.19-.04-.02-.94-.42-2.01,0-.91.37-1.46,1.26-1.47,1.27-.07.12-.21.19-.34.19Z"/>
<path class="cls-20" d="m462.86,289.73c-.82,0-1.61-.35-2.2-.98-.15-.16-.14-.41.02-.56.16-.15.41-.14.56.02.45.49,1.08.75,1.71.72.47-.02.89-.21,1.12-.51.37-.48.34-1.47-.35-2.22-.15-.16-.14-.41.03-.56.16-.15.42-.14.56.03.89.97,1.06,2.36.4,3.24-.37.49-1,.78-1.71.82-.05,0-.09,0-.14,0Z"/>
</g>
<g>
<path class="cls-48" d="m469.63,292.23c-1.09.15-4.82.89-7.24,4.25l-.03.05c-.15.21-.38.53-.63.94-.69,1.12-1.52,2.9-1.26,4.86.23,1.78,1.35,3.5,3.15,4.85.68.51,1.45.96,2.28,1.33,0,0,0,0,0,0-.05,0-.09.02-.14.03-.05.01-.1.02-.15.03-.04,0-.08.01-.11.02,0,0-.02,0-.03,0-.09.02-.18.03-.27.05-.12.02-.23.04-.35.06-.08.01-.17.03-.25.04h0c-2.72-1.5-4.58-3.77-4.92-6.32-.24-1.79.32-3.41.94-4.61.2-.4.42-.75.61-1.04.2-.3.37-.54.49-.71l.03-.05c1.16-1.61,2.72-2.85,4.63-3.68,1.01-.44,2.13-.76,3.15-.9.22-.03.42.12.45.34.03.22-.12.42-.34.45Z"/>
<path class="cls-48" d="m475.55,278.14c-.83,1.33-1.83,2.38-3.01,3.12-1.52.96-3.12,1.31-4.67,1.65-1.99.44-3.71.82-4.84,2.4-.26.37-.48.77-.64,1.21-.06.16-.21.26-.38.26-.05,0-.09,0-.14-.02-.21-.07-.31-.3-.24-.51.18-.5.43-.97.74-1.4,1.32-1.83,3.26-2.26,5.32-2.72,1.48-.33,3.01-.66,4.41-1.55.88-.55,1.66-1.29,2.33-2.22.3-.11.68-.2,1.11-.23Z"/>
<path class="cls-48" d="m463.02,288.32c-.14,0-.28-.08-.35-.21-.2-.37-.57-.89-1.22-1.27-.66-.38-1.3-.45-1.72-.44-.22,0-.4-.17-.41-.39,0-.22.17-.4.39-.41.53-.01,1.33.07,2.15.55.82.48,1.28,1.12,1.53,1.58.1.19.03.43-.17.54-.06.03-.12.05-.19.05Z"/>
<path class="cls-48" d="m467.61,276.74c-.69.07-1.84.32-2.9,1.18-.46.38-.81.79-1.08,1.21-.15.24-.28.48-.39.71-.31.68-.42,1.29-.46,1.63-.02.2-.2.35-.4.35-.02,0-.03,0-.05,0-.22-.03-.38-.22-.35-.44.04-.37.16-1.01.47-1.74-1.76-.35-3.47.02-4.61,1.08-.22.21-.41.43-.57.66-.17.25-.31.51-.43.77-.23,0-.53,0-.87.04-.86.1-1.97.43-2.9,1.35-1.21,1.2-1.39,2.69-1.41,3.28v.22s-.2.11-.2.11c-.64.36-1.83,1.19-2.56,2.71-.22.46-.9,2.07-.5,3.63.08.31.2.61.35.89.64,1.19,1.9,2.14,3.48,2.68.9.31,1.91.48,2.97.49.22,0,.4.18.4.4,0,.01,0,.03,0,.04-.02.2-.19.35-.4.35h0c-1.83-.01-3.54-.47-4.93-1.33-1.37-.85-2.31-2.03-2.64-3.32-.45-1.76.24-3.5.55-4.16.75-1.58,1.95-2.5,2.7-2.95.06-.78.35-2.32,1.63-3.59,1.26-1.26,2.79-1.57,3.83-1.62,0,0,0,0,.01,0,0,0,0-.01.01-.02.23-.41.54-.82.94-1.19,1.39-1.29,3.45-1.71,5.53-1.23.32-.55.77-1.1,1.37-1.6.45-.37.92-.64,1.36-.84.37,0,.72.03,1.05.07.04,0,.08.01.13.02.01,0,.02,0,.04,0,.04,0,.07.01.11.02,0,0,.02,0,.03,0,.25.04.48.1.7.15Z"/>
<path class="cls-48" d="m485.78,284.44c-.45.67-.86,1.56-1,2.67-.18,1.39.16,2.54.47,3.27.09.2,0,.43-.21.52-.05.02-.1.03-.16.03-.15,0-.3-.09-.37-.24-.35-.81-.73-2.11-.53-3.68.19-1.52.85-2.68,1.46-3.47l.33.9Z"/>
<path class="cls-48" d="m448.07,288.47c-.22.48-.53.89-.9,1.24-.6.55-1.28.84-1.88.98.18-.22.33-.38.41-.46-.02-.08-.04-.2-.07-.35,0-.02,0-.04,0-.07,0-.01,0-.03,0-.04.34-.13.69-.33,1.01-.63.3-.28.54-.61.72-.99.09-.2.33-.28.53-.19.2.09.29.33.19.53Z"/>
<path class="cls-48" d="m468.51,304.69s-.09,0-.14-.03c-.21-.08-.31-.31-.23-.51.45-1.18,1.12-2,1.99-2.43.68-.34,1.28-.35,1.76-.36.1,0,.19,0,.28,0,1.36-.08,2.78-1.07,4.21-2.94.13-.17.38-.21.56-.08.18.13.21.38.08.56-1.58,2.07-3.2,3.16-4.8,3.25-.1,0-.2,0-.31,0-.42,0-.9.02-1.41.28-.69.34-1.23,1.02-1.6,2.01-.06.16-.21.26-.37.26Z"/>
<path class="cls-48" d="m473.71,301.19c-.23,0-.47-.03-.73-.1-.38-.11-.74-.31-1.04-.57-.16-.15-.18-.4-.03-.56.15-.16.4-.18.56-.03.21.19.46.33.73.4.53.15,1,.03,1.24-.06.21-.08.44.02.52.22s-.02.43-.23.51c-.22.08-.58.19-1.02.19Z"/>
<path class="cls-48" d="m473.59,295.62c-.23,0-.47-.03-.73-.1-.38-.11-.74-.31-1.04-.57-.16-.15-.18-.4-.03-.56.15-.16.4-.18.56-.03.21.19.46.33.73.4.53.15,1,.03,1.24-.06.21-.08.44.02.52.22.08.2-.02.43-.23.51-.22.08-.58.19-1.02.19Z"/>
<path class="cls-48" d="m462.63,296.01c-.11,0-.22-.05-.3-.14-.14-.17-.13-.42.04-.56.41-.35,1.53-1.16,3.12-1.07,1.29.07,2.2.7,2.62,1.06.17.14.18.39.04.56-.14.17-.4.18-.56.04-.35-.3-1.09-.81-2.14-.87-1.3-.07-2.22.59-2.55.88-.08.06-.17.1-.26.1Z"/>
<path class="cls-48" d="m485.99,303.3c-.79,0-1.58-.13-2.35-.39-.21-.07-.32-.3-.25-.5.07-.21.3-.32.51-.25.82.28,1.66.39,2.51.33,1.64-.11,2.87-.81,3.61-1.39.17-.13.42-.1.56.07.14.17.1.42-.07.56-.83.64-2.21,1.43-4.05,1.55-.16.01-.31.02-.47.02Z"/>
<path class="cls-48" d="m486.01,298.44c-.15,0-.29-.08-.36-.22-1.1-2.24-2.55-3.83-4.32-4.72-.89-.44-1.61-.6-2.37-.76-.79-.17-1.61-.34-2.58-.86-1.89-1.01-3.38-2.81-4.43-5.35-.08-.2.01-.43.22-.52.2-.08.44.01.52.22.97,2.36,2.34,4.03,4.07,4.95.87.47,1.6.62,2.37.78.78.16,1.58.33,2.56.83,1.93.97,3.51,2.68,4.68,5.08.1.2.01.43-.19.53-.06.03-.12.04-.17.04Z"/>
<path class="cls-48" d="m474.37,289.9s-.01,0-.02,0c-.22,0-.39-.19-.38-.41.01-.28.06-.56.13-.83.12-.45.33-.86.62-1.24.13-.17.38-.21.56-.08.18.13.21.38.08.56-.23.3-.39.62-.49.97-.06.21-.09.43-.1.65,0,.21-.19.38-.4.38Z"/>
<path class="cls-48" d="m482.29,293.83c-.16,0-.31-.09-.37-.25-.1-.26-.18-.53-.22-.81-.07-.46-.05-.92.06-1.38.05-.21.26-.35.48-.3.21.05.35.26.3.48-.08.36-.1.73-.05,1.09.03.22.09.43.17.63.08.2-.02.43-.22.51-.05.02-.1.03-.15.03Z"/>
<path class="cls-48" d="m467.96,301.68c-.16,0-.31-.09-.37-.25-.1-.26-.18-.53-.22-.81-.07-.46-.05-.92.06-1.38.05-.21.26-.35.48-.3.21.05.35.26.3.48-.08.36-.1.73-.05,1.09.03.22.09.43.17.63.08.2-.02.43-.22.51-.05.02-.1.03-.15.03Z"/>
<path class="cls-48" d="m474.22,291.63c-.31,0-.63-.04-.94-.12-.21-.06-.34-.27-.29-.48.06-.21.27-.34.49-.28.36.09.73.12,1.09.07.22-.03.43-.08.64-.15.21-.08.44.03.51.23.08.21-.03.43-.24.51-.26.1-.54.16-.82.2-.15.02-.3.03-.45.03Z"/>
<path class="cls-48" d="m458.7,291.29c-1.47,0-2.92-.3-4.25-.89-2.79-1.24-4.29-3.38-4.94-4.56-.11-.19-.03-.43.16-.54.19-.11.44-.03.54.16.6,1.08,1.98,3.07,4.56,4.21,1.82.8,3.53.88,4.64.79.22-.02.41.15.43.37.02.22-.15.41-.37.42-.26.02-.52.03-.78.03Z"/>
<path class="cls-48" d="m461.7,292.17s0,0,0,0c-.15,0-1.46-.04-2.17-1.18-.48-.77-.37-1.56-.3-1.87.05-.21.26-.35.48-.3.22.05.35.26.3.47-.05.21-.12.75.2,1.28.49.79,1.46.8,1.5.8.22,0,.4.18.4.4,0,.22-.18.39-.4.39Z"/>
<path class="cls-48" d="m453.45,289.28c-.17,0-.32-.11-.38-.27-.07-.21.05-.43.26-.5,1.99-.65,3.32-1.94,3.48-3.39.04-.4,0-.82-.15-1.24-.07-.21.04-.43.25-.5.21-.07.44.04.51.25.18.53.24,1.06.19,1.57-.19,1.76-1.73,3.31-4.02,4.06-.04.01-.08.02-.12.02Z"/>
<path class="cls-48" d="m461.96,296.3c-.12,0-.24-.05-.31-.15-.29-.37-.64-.67-1.04-.9-1.62-.92-3.76-.4-5.26.19-.2.08-.44-.02-.52-.22-.08-.2.02-.43.22-.51,1.67-.66,4.05-1.22,5.95-.14.48.27.91.64,1.27,1.09.14.17.11.42-.07.56-.07.06-.16.08-.25.08Z"/>
<path class="cls-48" d="m484.53,286.71c-.13,0-.26-.06-.33-.18-.01-.02-1.35-1.96-4.43-2.82-2.6-.73-5.09,0-5.12,0-.21.06-.43-.06-.5-.27-.06-.21.06-.43.27-.49.11-.03,2.74-.8,5.56,0,3.37.94,4.82,3.06,4.88,3.15.12.18.07.43-.11.55-.07.04-.14.07-.22.07Z"/>
<path class="cls-48" d="m487.63,303.12c-.08,0-.17-.03-.24-.08-.18-.13-.21-.38-.08-.55.44-.59.94-1.53.77-2.69-.09-.61-.35-1.21-.77-1.76-.13-.17-.1-.42.08-.56.18-.13.43-.1.56.08.51.66.82,1.38.92,2.13.16,1.11-.17,2.28-.92,3.28-.08.1-.2.16-.32.16Z"/>
<path class="cls-48" d="m466.12,300.19c-.18,0-.35-.12-.39-.31-.05-.21.09-.43.3-.47,2.51-.57,4.88-1.72,6.86-3.32,1.55-1.26,2.85-2.78,3.86-4.51.11-.19.35-.25.55-.14.19.11.26.35.15.54-1.06,1.82-2.42,3.41-4.04,4.73-2.07,1.68-4.55,2.88-7.18,3.48-.03,0-.06.01-.09.01Z"/>
<path class="cls-48" d="m470.52,307.92c-.16,0-.31-.09-.37-.25-.08-.2.02-.43.22-.52.84-.34,1.72-.54,2.6-.61.99-.07,1.73.05,2.52.18.15.02.3.05.46.07,1.31.2,2.69.31,4.09.32.22,0,.4.18.4.4,0,.22-.18.39-.4.39h0c-1.44,0-2.85-.12-4.21-.33-.16-.02-.32-.05-.47-.08-.77-.13-1.44-.24-2.33-.17-.8.06-1.59.25-2.36.55-.05.02-.1.03-.15.03Z"/>
<path class="cls-48" d="m455.01,300.69c-.27.04-.58.07-.92.1-.11,0-.22.01-.34.02-.08,0-.16,0-.24,0-.04,0-.08,0-.12,0-.12,0-.25,0-.38,0-.05,0-.1,0-.15,0-.07,0-.15,0-.22,0-.07,0-.14,0-.21-.01-.04,0-.09,0-.13,0-.01,0-.02,0-.04,0-.04,0-.09,0-.13,0-.17-.01-.34-.03-.52-.05-1.64-.2-4.02-.48-5.8-2.32.01-.05.03-.11.07-.16.13-.18.38-.22.56-.09.89.64,1.87,1.14,2.9,1.48,1.68.56,3.52.7,5.32.4.22-.04.42.11.46.33.02.12-.02.24-.09.32Z"/>
</g>
</g>
<g>
<circle class="cls-1" cx="450.77" cy="278.71" r="2.03"/>
<rect class="cls-1" x="444.63" y="267.03" width=".9" height="13.96" transform="translate(-47.8 447.92) rotate(-51.05)"/>
</g>
<g>
<circle class="cls-1" cx="444" cy="308.49" r="2.03" transform="translate(-87.55 209.74) rotate(-24.27)"/>
<rect class="cls-1" x="418.36" y="317.54" width="28.72" height=".9" transform="translate(-102.84 357.26) rotate(-40.5)"/>
</g>
<g>
<circle class="cls-1" cx="491.73" cy="308.34" r="2.03" transform="translate(58.7 694.81) rotate(-73.84)"/>
<rect class="cls-1" x="510.08" y="295.56" width=".9" height="39.25" transform="translate(42.44 690.51) rotate(-70.41)"/>
</g>
</g>
<g>
<g>
<g>
<path class="cls-4" d="m558.92,41.42s-.03-8.59-.03-8.59l-3.23-1.47c-7-3.18-31.95-13.5-59.34-13.5s-52.33,10.33-59.33,13.5l-3.25,1.46-.05,16.52c0,26.91,1.16,54.84,15.04,75.1,15.1,22.01,36.44,35.26,44.92,39.93l2.67,1.47,2.66-1.47c8.49-4.67,29.84-17.92,44.91-39.93,13.9-20.27,15.06-48.19,15.06-75.09l-.03-7.93Z"/>
<path class="cls-27" d="m439.26,36.38c-.01,1.91-.05,12.98-.05,12.98,0,26.01,1.08,53.01,14.08,71.94,14.63,21.36,35.72,34.2,43.01,38.24,7.29-4.03,28.38-16.88,43.01-38.24,13-18.94,14.08-45.93,14.08-71.95v-7.92s-.03-3.04-.03-5.05c-6.31-2.84-30.62-13-57.07-13s-50.76,10.16-57.05,13Z"/>
</g>
<path class="cls-28" d="m553.38,36.38c-6.31-2.84-30.62-13-57.07-13-.21,0-.42.02-.65.02v135.77c.21.11.46.25.65.37,7.29-4.03,28.38-16.88,43.01-38.24,13-18.94,14.08-45.93,14.08-71.95v-7.92s-.03-3.04-.03-5.05Z"/>
</g>
<g>
<path class="cls-62" d="m523.29,82.72c0,14.9-12.08,27-26.96,27s-26.98-12.1-26.98-27,12.07-26.97,26.98-26.97,26.96,12.1,26.96,26.97Z"/>
<polygon class="cls-27" points="512.89 78.2 500.85 78.2 500.85 66.13 491.81 66.13 491.81 78.2 479.74 78.2 479.74 87.23 491.81 87.23 491.81 99.3 500.85 99.3 500.85 87.23 512.89 87.23 512.89 78.2"/>
</g>
</g>
<g>
<path class="cls-14" d="m176.95,449.72l-8.69,20.63c-.18.42-.14.87.12,1.25.25.38.65.59,1.11.59h59.48l-11.15-19.64s-30.52-6.74-40.86-2.84Z"/>
<path class="cls-6" d="m212.52,452.94l-7.32,17.41c-.18.42-.14.87.12,1.25.25.38.65.59,1.11.59h57.2c.49,0,.9-.24,1.15-.66.24-.42.25-.9,0-1.32l-10.03-17.65s-31.88-3.52-42.23.38Z"/>
<path class="cls-24" d="m178.05,327.34h34.9c1.38,0,2.51,1.12,2.51,2.51v120.59c0,1.38-1.12,2.51-2.51,2.51h-34.9c-1.38,0-2.51-1.12-2.51-2.51v-120.59c0-1.38,1.12-2.51,2.51-2.51Z"/>
<path class="cls-11" d="m178.05,452.94h34.9c1.38,0,2.51-1.13,2.51-2.51v-58.68h-16.88v-45.67h-23.03v104.35c0,1.38,1.13,2.51,2.51,2.51Z"/>
<rect class="cls-4" x="209.6" y="327.34" width="46.65" height="125.6" rx="2.93" ry="2.93"/>
<path class="cls-9" d="m212.52,452.94h40.79c1.61,0,2.93-1.32,2.93-2.93v-58.26h-46.65v58.26c0,1.61,1.32,2.93,2.93,2.93Z"/>
<polygon class="cls-7" points="223.75 327.73 267.27 327.73 264.16 306.65 217.57 306.65 223.75 327.73"/>
<path class="cls-8" d="m227.76,327.73h.67l-.94-6.38h3.68l.94,6.38h.67l-.94-6.38h3.68l.94,6.38h.67l-.94-6.38h3.68l.94,6.38h.67l-.94-6.38h3.68l.94,6.38h.67l-.94-6.38h3.68l.94,6.38h.67l-.94-6.38h3.68l.94,6.38h.67l-.94-6.38h3.68l.94,6.38h.67l-.94-6.38h3.68l.94,6.38h.67l-.94-6.38h4.02l-.1-.66h-4.02l-.43-2.93h4.02l-.1-.66h-4.02l-.43-2.93h4.02l-.1-.66h-4.02l-.43-2.93h4.02l-.1-.66h-4.02l-.48-3.26h-.67l.48,3.26h-3.68l-.48-3.26h-.67l.48,3.26h-3.68l-.48-3.26h-.67l.48,3.26h-3.68l-.48-3.26h-.67l.48,3.26h-3.68l-.48-3.26h-.67l.48,3.26h-3.68l-.48-3.26h-.67l.48,3.26h-3.68l-.48-3.26h-.67l.48,3.26h-3.68l-.48-3.26h-.67l.48,3.26h-3.68l-.48-3.26h-.67l.48,3.26h-6.61l.19.66h6.52l.43,2.93h-6.09l.19.66h5.99l.43,2.93h-5.57l.19.66h5.47l.43,2.93h-5.04l.19.66h4.95l.94,6.38h0Zm33.78-7.05h-3.68l-.43-2.93h3.68l.43,2.93h0Zm-.53-3.59h-3.68l-.43-2.93h3.68l.43,2.93h0Zm-.53-3.59h-3.68l-.43-2.93h3.68l.43,2.93h0Zm-4.78-2.93l.43,2.93h-3.68l-.43-2.93h3.68Zm-4.35,0l.43,2.93h-3.68l-.43-2.93h3.68Zm-4.35,0l.43,2.93h-3.68l-.43-2.93h3.68Zm-4.35,0l.43,2.93h-3.68l-.43-2.93h3.68Zm-4.35,0l.43,2.93h-3.68l-.43-2.93h3.68Zm-4.35,0l.43,2.93h-3.68l-.43-2.93h3.68Zm-4.35,0l.43,2.93h-3.68l-.43-2.93h3.68Zm26.65,3.59l.43,2.93h-3.68l-.43-2.93h3.68Zm-4.35,0l.43,2.93h-3.68l-.43-2.93h3.68Zm-4.35,0l.43,2.93h-3.68l-.43-2.93h3.68Zm-4.35,0l.43,2.93h-3.68l-.43-2.93h3.68Zm-4.35,0l.43,2.93h-3.68l-.43-2.93h3.68Zm-4.35,0l.43,2.93h-3.68l-.43-2.93h3.68Zm-4.35,0l.43,2.93h-3.68l-.43-2.93h3.68Zm26.65,3.59l.43,2.93h-3.68l-.43-2.93h3.68Zm-4.35,0l.43,2.93h-3.68l-.43-2.93h3.68Zm-4.35,0l.43,2.93h-3.68l-.43-2.93h3.68Zm-4.35,0l.43,2.93h-3.68l-.43-2.93h3.68Zm-4.35,0l.43,2.93h-3.68l-.43-2.93h3.68Zm-4.35,0l.43,2.93h-3.68l-.43-2.93h3.68Zm-4.35,0l.43,2.93h-3.68l-.43-2.93h3.68Z"/>
<polygon class="cls-12" points="223.75 327.73 267.27 327.73 266.81 324.61 222.83 324.61 223.75 327.73"/>
<polygon class="cls-12" points="180.81 327.73 186.56 327.73 190.25 299.14 176.78 300.4 180.81 327.73"/>
<polygon class="cls-9" points="186.56 327.73 223.75 327.73 219.71 300.4 182.53 300.4 186.56 327.73"/>
<g>
<g>
<polygon class="cls-13" points="189.58 324.44 196.53 324.44 193.47 303.7 186.52 303.7 189.58 324.44"/>
<path class="cls-32" d="m189.58,324.77h6.94c.1,0,.19-.04.25-.11.06-.07.09-.17.08-.27l-3.06-20.74c-.02-.16-.16-.28-.33-.28h-6.94c-.1,0-.19.04-.25.11-.06.07-.09.17-.08.27l3.06,20.74c.02.16.16.28.33.28Zm6.56-.66h-6.27l-2.96-20.07h6.27l2.96,20.07Z"/>
</g>
<path class="cls-32" d="m193.06,324.77s.03,0,.05,0c.18-.03.31-.2.28-.38l-.45-3.08h3.09c.18,0,.33-.15.33-.33s-.15-.33-.33-.33h-3.19l-.41-2.79h3.09c.18,0,.33-.15.33-.33s-.15-.33-.33-.33h-3.19l-.41-2.79h3.09c.18,0,.33-.15.33-.33s-.15-.33-.33-.33h-3.19l-.41-2.79h3.09c.18,0,.33-.15.33-.33s-.15-.33-.33-.33h-3.19l-.41-2.79h3.09c.18,0,.33-.15.33-.33s-.15-.33-.33-.33h-3.19l-.47-3.17c-.03-.18-.19-.3-.38-.28-.18.03-.31.2-.28.38l.45,3.08h-3.09c-.18,0-.33.15-.33.33s.15.33.33.33h3.19l.41,2.79h-3.09c-.18,0-.33.15-.33.33s.15.33.33.33h3.19l.41,2.79h-3.09c-.18,0-.33.15-.33.33s.15.33.33.33h3.19l.41,2.79h-3.09c-.18,0-.33.15-.33.33s.15.33.33.33h3.19l.41,2.79h-3.09c-.18,0-.33.15-.33.33s.15.33.33.33h3.19l.47,3.17c.02.16.17.28.33.28Z"/>
</g>
<path class="cls-10" d="m151.14,243.34c.91,0,1.82,0,2.74,0,5.49,19.14,8.36,39.19,8.65,60.12h-2.74c-2.88-20.04-5.76-40.08-8.65-60.12Z"/>
<polygon class="cls-7" points="153.87 243.34 222.43 243.34 231.07 303.46 162.52 303.46 153.87 243.34"/>
<polygon class="cls-11" points="159.31 248.03 166.61 298.77 225.64 298.77 218.34 248.03 159.31 248.03"/>
<path class="cls-5" d="m163.61,277.93l3,20.84h19.77s-22.77-20.84-22.77-20.84h0Zm60.05,20.84l-52.8-50.74h0s6.72,0,6.72,0l47.23,44.95h0l.83,5.79h-1.98Zm-3.01-34.65l-2.31-16.09h-13.43s0,0,0,0l15.75,16.09h0Z"/>
<path class="cls-10" d="m203.58,318.41c-2.27,0-4.11-1.75-4.11-3.9s1.85-3.9,4.11-3.9,4.11,1.75,4.11,3.9-1.85,3.9-4.11,3.9Z"/>
<path class="cls-7" d="m209.69,311.19h7.27l-4.51-5.92-2.76,5.92h0Zm8.34,7.22h-7.27l4.51,5.92,2.76-5.92Z"/>
<path class="cls-12" d="m235.56,335.24c4.73,0,6.86,7.07,6.93,15.88v.84c-.07,8.81-2.2,15.88-6.93,15.88s-6.86-7.07-6.93-15.88v-.84c.07-8.81,2.2-15.88,6.93-15.88Z"/>
<path class="cls-13" d="m235.94,376.79c.1-1.46,1.36-2.57,2.82-2.47,1.46.1,2.57,1.36,2.47,2.82,0,.08-2.02,29.05,1.38,41.99,2.53,9.63,11.47,9.48,13.19,6.76.16-.22.26-.5.28-.82.23-3.18.1-6.78.16-10,7.81,5.39,6.85,17.62-4.15,17.85-6.64.14-12.56-4.65-14.61-12.44-3.63-13.8-1.55-43.61-1.55-43.69Z"/>
<path class="cls-8" d="m228.68,349.14c1.21-.88,3.56-2.14,6.68-1.75,4.68.59,7.56,2.68,7.56,11.91v17.57c0,4.73-8.69,5.95-8.69-.1s1.37-12.98-.49-15.81c-1.4-2.13-3.18-1.91-4.68-2.84-.28-1.89-.42-3.97-.44-6.16v-.84c0-.67.02-1.33.05-1.98Z"/>
<path class="cls-13" d="m242.84,356.76c.06.78.08,1.63.08,2.54v17.57c0,.93-.34,1.73-.88,2.36-2.15-.43-4.35-1.13-4.92-2.27.98,0,1.07-2.1,1.07-4.54v-13.91c0-3.06,3.01-5.17,4.65-1.76Z"/>
<path class="cls-10" d="m242.92,376.96c-.12,4.6-8.49,5.79-8.68,0h8.68Z"/>
</g>
</g>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 91 KiB

+52
View File
@@ -0,0 +1,52 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="_图层_2" data-name="图层 2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 454.72 126.1">
<defs>
<style>
.cls-1 {
fill: #0093dd;
}
.cls-2 {
fill: #5b5b5b;
}
</style>
</defs>
<g id="_图层_1-2" data-name="图层 1">
<g>
<path class="cls-1" d="m162.51,68.1h14.37c5.59,0,9.79,4.03,8.73,8.37l-1.38,5.61h-44.66c-2.41,0-4.3-.44-5.66-1.32-1.36-.82-1.84-2.17-1.42-4.06L148.68,6.71c.52-1.95,1.97-3.56,4.32-4.82,2.36-1.26,5.16-1.89,8.41-1.89h16.82l-15.72,68.1Z"/>
<path class="cls-1" d="m204.2,25.41c.52-1.76,1.86-3.21,4.01-4.34,2.15-1.13,4.69-1.7,7.62-1.7h15.88l-11.32,49.4c-.94,3.97-3.83,7.19-8.64,9.68-4.82,2.49-10.43,3.73-16.82,3.73h-3.61l12.89-56.77ZM219.29.38h17.6l-2.04,8.78c-.42,1.26-1.36,2.28-2.83,3.07-1.47.79-3.2,1.18-5.19,1.18h-19.02l1.89-8.12c.31-1.45,1.39-2.63,3.22-3.54,1.83-.91,3.95-1.37,6.36-1.37Z"/>
<path class="cls-1" d="m262.55,68.1h14.37c5.59,0,9.79,4.03,8.73,8.37l-1.38,5.61h-44.66c-2.41,0-4.3-.44-5.66-1.32-1.36-.82-1.84-2.17-1.42-4.06L248.72,6.71c.52-1.95,1.97-3.56,4.32-4.82,2.36-1.26,5.16-1.89,8.41-1.89h16.82l-15.72,68.1Z"/>
<path class="cls-1" d="m304.25,25.41c.52-1.76,1.86-3.21,4.01-4.34,2.15-1.13,4.69-1.7,7.62-1.7h15.88l-11.32,49.4c-.94,3.97-3.83,7.19-8.64,9.68-4.82,2.49-10.43,3.73-16.82,3.73h-3.61l12.89-56.77ZM319.33.38h17.6l-2.04,8.78c-.42,1.26-1.36,2.28-2.83,3.07-1.47.79-3.2,1.18-5.19,1.18h-19.02l1.89-8.12c.31-1.45,1.39-2.63,3.22-3.54,1.83-.91,3.95-1.37,6.36-1.37Z"/>
<g>
<path class="cls-2" d="m0,101.17h2.51v19.36H0v-19.36Z"/>
<path class="cls-2" d="m28.37,110.12v10.4h-2.4v-9.54c0-2.31-.64-3.65-2.9-3.65-1.76,0-3.26.5-3.91,2.65v10.54h-2.4v-9.54c0-2.31-.56-3.65-2.76-3.65-1.87,0-3.24.42-3.99,2.73v10.46h-2.4v-15.06h2.4v1.98c.92-1.79,2.54-2.26,4.35-2.26,2.37,0,3.74.95,4.38,2.45.89-1.95,2.84-2.45,4.69-2.45,3.51,0,4.94,2.04,4.94,4.94Z"/>
<path class="cls-2" d="m45.28,109.84v10.68h-2.04l-.36-2.29c-.86,1.65-3.12,2.57-5.38,2.57-3.6,0-5.19-1.65-5.19-4.49,0-3.57,2.37-4.8,5.97-4.8h4.6v-1.26c0-1.81-.64-3.07-3.71-3.07-1,0-2.23.11-3.32.33v-2.12c1.12-.14,2.34-.22,3.43-.22,4.74,0,6,1.95,6,4.66Zm-2.4,6.08v-2.48h-4.43c-2.48,0-3.65.5-3.65,2.85,0,1.65.81,2.51,2.93,2.51,2.51,0,4.38-1.09,5.16-2.87Z"/>
<path class="cls-2" d="m63.05,105.46v14c0,4.16-2.26,6.64-7.36,6.64-1.28,0-2.71-.17-3.65-.36v-2.04c1.14.22,2.4.33,3.68.33,3.35,0,4.94-1.37,4.94-4.83v-1.51c-.61,1.76-1.98,2.82-4.88,2.82-5.02,0-6.25-3.07-6.25-7.67,0-4.16,1.23-7.67,6.25-7.67,3.04,0,4.29,1.31,4.88,3.1v-2.82h2.4Zm-2.32,7.39c0-3.46-1-5.66-4.63-5.66s-4.02,2.73-4.02,5.66c0,3.15.47,5.66,4.02,5.66s4.63-2.06,4.63-5.66Z"/>
<path class="cls-2" d="m67.9,101.28c0-1.26.39-1.42,1.45-1.42,1,0,1.42.17,1.42,1.42s-.42,1.42-1.42,1.42c-1.06,0-1.45-.2-1.45-1.42Zm.22,4.18h2.4v15.06h-2.4v-15.06Z"/>
<path class="cls-2" d="m87.87,110.09v10.43h-2.43v-9.54c0-2.31-.47-3.65-2.87-3.65-1.9,0-3.74.36-4.57,3.01v10.18h-2.4v-15.06h2.4v2.15c.92-1.92,2.98-2.43,4.83-2.43,3.93,0,5.05,2.04,5.05,4.91Z"/>
<path class="cls-2" d="m105.5,105.46v14c0,4.16-2.26,6.64-7.36,6.64-1.28,0-2.71-.17-3.65-.36v-2.04c1.14.22,2.4.33,3.68.33,3.35,0,4.94-1.37,4.94-4.83v-1.51c-.61,1.76-1.98,2.82-4.88,2.82-5.02,0-6.25-3.07-6.25-7.67,0-4.16,1.23-7.67,6.25-7.67,3.04,0,4.29,1.31,4.88,3.1v-2.82h2.4Zm-2.32,7.39c0-3.46-1-5.66-4.63-5.66s-4.02,2.73-4.02,5.66c0,3.15.47,5.66,4.02,5.66s4.63-2.06,4.63-5.66Z"/>
<path class="cls-2" d="m129.47,103.4h-5.63v17.13h-2.51v-17.13h-5.66v-2.23h13.81v2.23Z"/>
<path class="cls-2" d="m138.31,105.18l-.08,2.18h-.33c-1.92,0-3.82.64-4.66,3.32v9.85h-2.4v-15.06h2.4v2.73c.95-2.51,2.98-3.01,4.8-3.01h.28Z"/>
<path class="cls-2" d="m141.19,101.28c0-1.26.39-1.42,1.45-1.42,1,0,1.42.17,1.42,1.42s-.42,1.42-1.42,1.42c-1.06,0-1.45-.2-1.45-1.42Zm.22,4.18h2.4v15.06h-2.4v-15.06Z"/>
<path class="cls-2" d="m160.85,109.84v10.68h-2.04l-.36-2.29c-.86,1.65-3.12,2.57-5.38,2.57-3.6,0-5.19-1.65-5.19-4.49,0-3.57,2.37-4.8,5.97-4.8h4.6v-1.26c0-1.81-.64-3.07-3.71-3.07-1,0-2.23.11-3.32.33v-2.12c1.12-.14,2.34-.22,3.43-.22,4.74,0,6,1.95,6,4.66Zm-2.4,6.08v-2.48h-4.43c-2.48,0-3.65.5-3.65,2.85,0,1.65.81,2.51,2.93,2.51,2.51,0,4.38-1.09,5.16-2.87Z"/>
<path class="cls-2" d="m165.96,117.48v-18.16h2.4v17.54c0,1.51.42,1.81,1.39,1.81.33,0,.75-.03,1.14-.14v1.98c-.45.11-.92.17-1.59.17-2.23,0-3.35-.95-3.35-3.21Z"/>
<path class="cls-2" d="m181.13,101.17h4.02l4.94,12.47h.17l4.94-12.47h3.96v19.36h-2.51v-16.82h-.17l-4.96,12.44h-2.73l-5.02-12.44h-.17v16.82h-2.45v-19.36Z"/>
<path class="cls-2" d="m216.23,109.84v10.68h-2.04l-.36-2.29c-.86,1.65-3.12,2.57-5.38,2.57-3.6,0-5.19-1.65-5.19-4.49,0-3.57,2.37-4.8,5.97-4.8h4.6v-1.26c0-1.81-.64-3.07-3.71-3.07-1,0-2.23.11-3.32.33v-2.12c1.12-.14,2.34-.22,3.43-.22,4.74,0,6,1.95,6,4.66Zm-2.4,6.08v-2.48h-4.43c-2.48,0-3.65.5-3.65,2.85,0,1.65.81,2.51,2.93,2.51,2.51,0,4.38-1.09,5.16-2.87Z"/>
<path class="cls-2" d="m233.61,110.09v10.43h-2.43v-9.54c0-2.31-.47-3.65-2.87-3.65-1.9,0-3.74.36-4.57,3.01v10.18h-2.4v-15.06h2.4v2.15c.92-1.92,2.98-2.43,4.83-2.43,3.93,0,5.05,2.04,5.05,4.91Z"/>
<path class="cls-2" d="m250.54,109.84v10.68h-2.04l-.36-2.29c-.86,1.65-3.12,2.57-5.38,2.57-3.6,0-5.19-1.65-5.19-4.49,0-3.57,2.37-4.8,5.97-4.8h4.6v-1.26c0-1.81-.64-3.07-3.71-3.07-1,0-2.23.11-3.32.33v-2.12c1.12-.14,2.34-.22,3.43-.22,4.74,0,6,1.95,6,4.66Zm-2.4,6.08v-2.48h-4.43c-2.48,0-3.65.5-3.65,2.85,0,1.65.81,2.51,2.93,2.51,2.51,0,4.38-1.09,5.16-2.87Z"/>
<path class="cls-2" d="m268.31,105.46v14c0,4.16-2.26,6.64-7.36,6.64-1.28,0-2.71-.17-3.65-.36v-2.04c1.14.22,2.4.33,3.68.33,3.35,0,4.94-1.37,4.94-4.83v-1.51c-.61,1.76-1.98,2.82-4.88,2.82-5.02,0-6.25-3.07-6.25-7.67,0-4.16,1.23-7.67,6.25-7.67,3.04,0,4.29,1.31,4.88,3.1v-2.82h2.4Zm-2.32,7.39c0-3.46-1-5.66-4.63-5.66s-4.02,2.73-4.02,5.66c0,3.15.47,5.66,4.02,5.66s4.63-2.06,4.63-5.66Z"/>
<path class="cls-2" d="m285.22,113.24l-10.21.64c.03,3.29,1.17,4.8,4.83,4.8,1.65,0,3.57-.42,4.71-.98v2.2c-.86.45-2.93.89-5.08.89-4.44,0-6.97-1.81-6.97-7.81s2.54-7.81,6.83-7.81c5.13,0,6.02,3.38,6.02,6.3,0,.42-.06,1.06-.14,1.76Zm-2.23-1.73c0-2.32-.39-4.35-3.65-4.35-3.46,0-4.24,1.87-4.32,4.94l7.98-.59Z"/>
<path class="cls-2" d="m310.27,110.12v10.4h-2.4v-9.54c0-2.31-.64-3.65-2.9-3.65-1.76,0-3.26.5-3.91,2.65v10.54h-2.4v-9.54c0-2.31-.56-3.65-2.76-3.65-1.87,0-3.24.42-3.99,2.73v10.46h-2.4v-15.06h2.4v1.98c.92-1.79,2.54-2.26,4.35-2.26,2.37,0,3.74.95,4.38,2.45.89-1.95,2.84-2.45,4.69-2.45,3.51,0,4.94,2.04,4.94,4.94Z"/>
<path class="cls-2" d="m327.03,113.24l-10.21.64c.03,3.29,1.17,4.8,4.83,4.8,1.65,0,3.57-.42,4.71-.98v2.2c-.86.45-2.93.89-5.08.89-4.44,0-6.97-1.81-6.97-7.81s2.54-7.81,6.83-7.81c5.13,0,6.03,3.38,6.03,6.3,0,.42-.06,1.06-.14,1.76Zm-2.23-1.73c0-2.32-.39-4.35-3.65-4.35-3.46,0-4.24,1.87-4.32,4.94l7.98-.59Z"/>
<path class="cls-2" d="m343.6,110.09v10.43h-2.43v-9.54c0-2.31-.47-3.65-2.87-3.65-1.9,0-3.74.36-4.57,3.01v10.18h-2.4v-15.06h2.4v2.15c.92-1.92,2.98-2.43,4.83-2.43,3.93,0,5.05,2.04,5.05,4.91Z"/>
<path class="cls-2" d="m354.9,118.52v2.04c-.59.08-1.06.14-1.7.14-3.32,0-4.52-.81-4.52-4.77v-8.45h-2.23v-2.01h2.23v-3.57h2.4v3.57h3.74v2.01h-3.74v8.31c0,2.34.33,2.9,2.18,2.9.67,0,1.12-.06,1.65-.17Z"/>
<path class="cls-2" d="m364.19,120.05v-2.32c1.14.42,3.46.86,5.75.86,2.9,0,4.41-.86,4.41-3.26s-.84-3.01-4.46-3.88c-3.96-.95-5.41-1.92-5.41-5.36s2.06-5.24,6.44-5.24c1.87,0,3.93.33,4.85.7v2.29c-1.12-.42-3.07-.78-4.83-.78-2.71,0-3.99.53-3.99,3.04,0,1.81.47,2.45,3.96,3.26,4.32,1,5.88,2.15,5.88,5.94s-2.4,5.49-6.86,5.49c-2.4,0-4.8-.42-5.75-.75Z"/>
<path class="cls-2" d="m379.71,124.04c2.62,0,3.68-1.12,4.43-3.54l-6.02-15.03h2.59l4.6,12.5h.17l4.35-12.5h2.43l-5.41,14.56c-1.42,3.77-2.71,6.08-7.14,6.08v-2.06Z"/>
<path class="cls-2" d="m394.18,120.22v-2.06c1.06.31,2.98.59,4.35.59,2.29,0,3.49-.56,3.49-2.31s-.5-2.15-3.38-2.82c-3.32-.75-4.21-1.81-4.21-4.35s1.84-4.07,5.41-4.07c1.45,0,3.07.22,3.79.5l-.17,2.04c-.86-.33-2.2-.59-3.6-.59-2.12,0-3.18.47-3.18,2.18,0,1.53.53,1.87,2.87,2.4,3.46.78,4.71,1.73,4.71,4.63s-2.04,4.35-5.72,4.35c-1.45,0-3.54-.22-4.38-.47Z"/>
<path class="cls-2" d="m414.77,118.52v2.04c-.59.08-1.06.14-1.7.14-3.32,0-4.52-.81-4.52-4.77v-8.45h-2.23v-2.01h2.23v-3.57h2.4v3.57h3.74v2.01h-3.74v8.31c0,2.34.33,2.9,2.18,2.9.67,0,1.12-.06,1.65-.17Z"/>
<path class="cls-2" d="m429.67,113.24l-10.21.64c.03,3.29,1.17,4.8,4.83,4.8,1.65,0,3.57-.42,4.71-.98v2.2c-.86.45-2.93.89-5.08.89-4.44,0-6.97-1.81-6.97-7.81s2.54-7.81,6.83-7.81c5.13,0,6.02,3.38,6.02,6.3,0,.42-.06,1.06-.14,1.76Zm-2.23-1.73c0-2.32-.39-4.35-3.65-4.35-3.46,0-4.24,1.87-4.32,4.94l7.98-.59Z"/>
<path class="cls-2" d="m454.72,110.12v10.4h-2.4v-9.54c0-2.31-.64-3.65-2.9-3.65-1.76,0-3.26.5-3.91,2.65v10.54h-2.4v-9.54c0-2.31-.56-3.65-2.76-3.65-1.87,0-3.24.42-3.99,2.73v10.46h-2.4v-15.06h2.4v1.98c.92-1.79,2.54-2.26,4.35-2.26,2.37,0,3.74.95,4.38,2.45.89-1.95,2.84-2.45,4.69-2.45,3.51,0,4.94,2.04,4.94,4.94Z"/>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 8.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

+16 -8
View File
@@ -4,14 +4,15 @@
<el-tabs v-model="trialsTab" @tab-click="clickTab">
<el-tab-pane v-for="item of trialsRouter.children.find(v => {return v.name == 'TrialsPanel'}).children" :key="`tab${item.path}`" :disabled="TotalNeedSignTrialDocCount !== 0 && item.path !== '/trials/trials-panel/attachments'" :label="$t(item.LanguageMark)" :name="item.path">
<el-tabs v-if="!item.tabHiddn" v-model="trialsTabChild" @tab-click="clickTab">
<el-tab-pane
v-for="item1 of item.children"
v-if="TrialConfig && isShow(item1.path)"
:key="`tab1${item1.path}`"
:disabled="TotalNeedSignTrialDocCount !== 0 && item1.path !== '/trials/trials-panel/attachments/self-attachment' || (TrialStatusStr === 'Initializing' && (item1.path === '/trials/trials-panel/setting/personnel-manage' || item1.path === '/trials/trials-panel/setting/qc-question' || item1.path === '/trials/trials-panel/setting/reading-unit' || item1.path === '/trials/trials-panel/setting/medical-audit' || item1.path === '/trials/trials-panel/setting/email-manage'))"
:label="$t(item1.LanguageMark)"
:name="item1.path"
/>
<template v-for="item1 of item.children">
<el-tab-pane
v-if="TrialConfig && isShow(item1.path)"
:key="`tab1${item1.path}`"
:disabled="TotalNeedSignTrialDocCount !== 0 && item1.path !== '/trials/trials-panel/attachments/self-attachment' || (TrialStatusStr === 'Initializing' && (item1.path === '/trials/trials-panel/setting/personnel-manage' || item1.path === '/trials/trials-panel/setting/qc-question' || item1.path === '/trials/trials-panel/setting/reading-unit' || item1.path === '/trials/trials-panel/setting/medical-audit' || item1.path === '/trials/trials-panel/setting/email-manage'))"
:label="$t(item1.LanguageMark)"
:name="item1.path"
/>
</template>
</el-tabs>
</el-tab-pane>
</el-tabs>
@@ -126,6 +127,10 @@ export default {
var additionalAssessmentList = [
'/trials/trials-panel/subject/brain-metastasis'
]
let dicomList = [
'/trials/trials-panel/trial-summary/image-inspect',
'/trials/trials-panel/trial-summary/push-record',
]
if (this.TrialConfig.QCProcessEnum === 0 && ~qualityList.indexOf(path)) {
isShow = false
}
@@ -135,6 +140,9 @@ export default {
if (!this.IsAdditionalAssessment && ~additionalAssessmentList.indexOf(path)) {
isShow = false
}
if ((!this.TrialConfig.IsPACSConnect || !this.TrialConfig.IsTrialPACSConfirmed) && ~dicomList.indexOf(path)) {
isShow = false
}
return isShow
},
goBack() {
@@ -224,6 +224,7 @@ import {
addOrUpdateArchiveTaskStudy,
} from "@/api/load.js";
import { parseDicom, getThumbnail, dicomToOSS } from "@/utils/parseDicom.js";
import store from "@/store";
export default {
name: "uploadList",
props: {
@@ -262,6 +263,7 @@ export default {
},
watch: {
isLoad() {
store.dispatch("trials/setUnLock", this.isLoad);
if (!this.isLoad) {
this.$refs.file.value = null;
if (this.dicomList.some((item) => item.isUpload === 3)) {
@@ -747,6 +749,7 @@ export default {
},
beforeDestroy() {
this.isClose = true;
store.dispatch("trials/setUnLock", false);
},
};
</script>
+350 -9
View File
@@ -66,13 +66,13 @@
>
<template slot-scope="scope">
<!--下载--->
<el-button
<!-- <el-button
v-if="!isUpload && Criterion.ImageDownloadEnum > 0"
circle
icon="el-icon-download"
:title="$t('trials:uploadImage:button:download')"
@click.stop="downloadImage(scope.row)"
/>
/> -->
<!--删除--->
<el-button
v-if="isUpload"
@@ -103,6 +103,7 @@ import uploadList from "./components/upload-list.vue";
import studyView from "./components/study-view.vue";
import { getSubjectImageUploadList, deleteTaskStudy } from "@/api/load.js";
import { downloadImage } from "@/utils/uploadZip.js";
import store from "@/store";
export default {
name: "uploadImage",
props: {
@@ -247,16 +248,356 @@ export default {
},
// 打包下载
async downloadImage(item) {
try {
await downloadImage(
this.$route.query.trialId,
item.SourceSubjectVisitId
);
} catch (err) {
console.log(err);
let zipName = "压缩包.zip";
let InstanceInfoList = [
{
Id: "e634352c-6465-32ba-04b3-824ec8d346a8",
Path: "/01000000-c0a8-0242-ff9a-08dc8a84633c/Image/01000000-c0a8-0242-2179-08dc8a9e55b4/01000000-c0a8-0242-7f99-08dc8abdc649/01000000-c0a8-0242-89ca-08dc8abdc65d/1.2.840.113619.2.334.3.2831181473.554.1419910103.185/e634352c-6465-32ba-04b3-824ec8d346a8",
HtmlPath: "",
NumberOfFrames: 0,
InstanceNumber: 1,
},
{
Id: "d4ad1dd2-747b-6de7-8ad4-3e81c58943dd",
Path: "/01000000-c0a8-0242-ff9a-08dc8a84633c/Image/01000000-c0a8-0242-2179-08dc8a9e55b4/01000000-c0a8-0242-7f99-08dc8abdc649/01000000-c0a8-0242-89ca-08dc8abdc65d/1.2.840.113619.2.334.3.2831181473.554.1419910103.185/d4ad1dd2-747b-6de7-8ad4-3e81c58943dd",
HtmlPath: "",
NumberOfFrames: 0,
InstanceNumber: 2,
},
{
Id: "6a1d1d12-2b4a-0368-c7e1-d44f7180b280",
Path: "/01000000-c0a8-0242-ff9a-08dc8a84633c/Image/01000000-c0a8-0242-2179-08dc8a9e55b4/01000000-c0a8-0242-7f99-08dc8abdc649/01000000-c0a8-0242-89ca-08dc8abdc65d/1.2.840.113619.2.334.3.2831181473.554.1419910103.185/6a1d1d12-2b4a-0368-c7e1-d44f7180b280",
HtmlPath: "",
NumberOfFrames: 0,
InstanceNumber: 3,
},
{
Id: "7a8fb1b4-9ea8-1189-4ca6-b9a9b9547a39",
Path: "/01000000-c0a8-0242-ff9a-08dc8a84633c/Image/01000000-c0a8-0242-2179-08dc8a9e55b4/01000000-c0a8-0242-7f99-08dc8abdc649/01000000-c0a8-0242-89ca-08dc8abdc65d/1.2.840.113619.2.334.3.2831181473.554.1419910103.185/7a8fb1b4-9ea8-1189-4ca6-b9a9b9547a39",
HtmlPath: "",
NumberOfFrames: 0,
InstanceNumber: 4,
},
{
Id: "8d00be19-5ac5-c608-dbd0-41f84cfacd95",
Path: "/01000000-c0a8-0242-ff9a-08dc8a84633c/Image/01000000-c0a8-0242-2179-08dc8a9e55b4/01000000-c0a8-0242-7f99-08dc8abdc649/01000000-c0a8-0242-89ca-08dc8abdc65d/1.2.840.113619.2.334.3.2831181473.554.1419910103.185/8d00be19-5ac5-c608-dbd0-41f84cfacd95",
HtmlPath: "",
NumberOfFrames: 0,
InstanceNumber: 5,
},
{
Id: "729ded91-0eca-78f2-1c17-5182d4f27e3a",
Path: "/01000000-c0a8-0242-ff9a-08dc8a84633c/Image/01000000-c0a8-0242-2179-08dc8a9e55b4/01000000-c0a8-0242-7f99-08dc8abdc649/01000000-c0a8-0242-89ca-08dc8abdc65d/1.2.840.113619.2.334.3.2831181473.554.1419910103.185/729ded91-0eca-78f2-1c17-5182d4f27e3a",
HtmlPath: "",
NumberOfFrames: 0,
InstanceNumber: 6,
},
{
Id: "9e2fd28c-72fe-bb66-e0ce-40115cd82260",
Path: "/01000000-c0a8-0242-ff9a-08dc8a84633c/Image/01000000-c0a8-0242-2179-08dc8a9e55b4/01000000-c0a8-0242-7f99-08dc8abdc649/01000000-c0a8-0242-89ca-08dc8abdc65d/1.2.840.113619.2.334.3.2831181473.554.1419910103.185/9e2fd28c-72fe-bb66-e0ce-40115cd82260",
HtmlPath: "",
NumberOfFrames: 0,
InstanceNumber: 7,
},
{
Id: "9b31613f-3c9e-28ad-fd9e-7001a69e09b5",
Path: "/01000000-c0a8-0242-ff9a-08dc8a84633c/Image/01000000-c0a8-0242-2179-08dc8a9e55b4/01000000-c0a8-0242-7f99-08dc8abdc649/01000000-c0a8-0242-89ca-08dc8abdc65d/1.2.840.113619.2.334.3.2831181473.554.1419910103.185/9b31613f-3c9e-28ad-fd9e-7001a69e09b5",
HtmlPath: "",
NumberOfFrames: 0,
InstanceNumber: 8,
},
{
Id: "4982b453-d068-7e56-2acd-a361d8584f35",
Path: "/01000000-c0a8-0242-ff9a-08dc8a84633c/Image/01000000-c0a8-0242-2179-08dc8a9e55b4/01000000-c0a8-0242-7f99-08dc8abdc649/01000000-c0a8-0242-89ca-08dc8abdc65d/1.2.840.113619.2.334.3.2831181473.554.1419910103.185/4982b453-d068-7e56-2acd-a361d8584f35",
HtmlPath: "",
NumberOfFrames: 0,
InstanceNumber: 9,
},
{
Id: "8279cf5a-2551-43ea-3fe4-673e88ba7e5a",
Path: "/01000000-c0a8-0242-ff9a-08dc8a84633c/Image/01000000-c0a8-0242-2179-08dc8a9e55b4/01000000-c0a8-0242-7f99-08dc8abdc649/01000000-c0a8-0242-89ca-08dc8abdc65d/1.2.840.113619.2.334.3.2831181473.554.1419910103.185/8279cf5a-2551-43ea-3fe4-673e88ba7e5a",
HtmlPath: "",
NumberOfFrames: 0,
InstanceNumber: 10,
},
{
Id: "6424e9c5-d31b-9388-3b64-a56705ab6fc8",
Path: "/01000000-c0a8-0242-ff9a-08dc8a84633c/Image/01000000-c0a8-0242-2179-08dc8a9e55b4/01000000-c0a8-0242-7f99-08dc8abdc649/01000000-c0a8-0242-89ca-08dc8abdc65d/1.2.840.113619.2.334.3.2831181473.554.1419910103.185/6424e9c5-d31b-9388-3b64-a56705ab6fc8",
HtmlPath: "",
NumberOfFrames: 0,
InstanceNumber: 11,
},
{
Id: "a73cf3f9-defa-0c22-dfdc-8c5bfb93c9a7",
Path: "/01000000-c0a8-0242-ff9a-08dc8a84633c/Image/01000000-c0a8-0242-2179-08dc8a9e55b4/01000000-c0a8-0242-7f99-08dc8abdc649/01000000-c0a8-0242-89ca-08dc8abdc65d/1.2.840.113619.2.334.3.2831181473.554.1419910103.185/a73cf3f9-defa-0c22-dfdc-8c5bfb93c9a7",
HtmlPath: "",
NumberOfFrames: 0,
InstanceNumber: 12,
},
{
Id: "dbfaafea-f721-0a93-37c6-69bcc0d957c3",
Path: "/01000000-c0a8-0242-ff9a-08dc8a84633c/Image/01000000-c0a8-0242-2179-08dc8a9e55b4/01000000-c0a8-0242-7f99-08dc8abdc649/01000000-c0a8-0242-89ca-08dc8abdc65d/1.2.840.113619.2.334.3.2831181473.554.1419910103.185/dbfaafea-f721-0a93-37c6-69bcc0d957c3",
HtmlPath: "",
NumberOfFrames: 0,
InstanceNumber: 13,
},
{
Id: "52000ac1-6a5b-83e2-5468-4dfdf394e455",
Path: "/01000000-c0a8-0242-ff9a-08dc8a84633c/Image/01000000-c0a8-0242-2179-08dc8a9e55b4/01000000-c0a8-0242-7f99-08dc8abdc649/01000000-c0a8-0242-89ca-08dc8abdc65d/1.2.840.113619.2.334.3.2831181473.554.1419910103.185/52000ac1-6a5b-83e2-5468-4dfdf394e455",
HtmlPath: "",
NumberOfFrames: 0,
InstanceNumber: 14,
},
{
Id: "de34a347-41f4-1018-a710-48d81fa9aadc",
Path: "/01000000-c0a8-0242-ff9a-08dc8a84633c/Image/01000000-c0a8-0242-2179-08dc8a9e55b4/01000000-c0a8-0242-7f99-08dc8abdc649/01000000-c0a8-0242-89ca-08dc8abdc65d/1.2.840.113619.2.334.3.2831181473.554.1419910103.185/de34a347-41f4-1018-a710-48d81fa9aadc",
HtmlPath: "",
NumberOfFrames: 0,
InstanceNumber: 15,
},
{
Id: "251d6a13-26b7-935b-d765-0c5db1ed7dfc",
Path: "/01000000-c0a8-0242-ff9a-08dc8a84633c/Image/01000000-c0a8-0242-2179-08dc8a9e55b4/01000000-c0a8-0242-7f99-08dc8abdc649/01000000-c0a8-0242-89ca-08dc8abdc65d/1.2.840.113619.2.334.3.2831181473.554.1419910103.185/251d6a13-26b7-935b-d765-0c5db1ed7dfc",
HtmlPath: "",
NumberOfFrames: 0,
InstanceNumber: 16,
},
{
Id: "b22e93c8-3f6a-484a-a32b-f7626689f8da",
Path: "/01000000-c0a8-0242-ff9a-08dc8a84633c/Image/01000000-c0a8-0242-2179-08dc8a9e55b4/01000000-c0a8-0242-7f99-08dc8abdc649/01000000-c0a8-0242-89ca-08dc8abdc65d/1.2.840.113619.2.334.3.2831181473.554.1419910103.185/b22e93c8-3f6a-484a-a32b-f7626689f8da",
HtmlPath: "",
NumberOfFrames: 0,
InstanceNumber: 17,
},
{
Id: "6517400b-d4b5-db65-d026-8c06c40bf244",
Path: "/01000000-c0a8-0242-ff9a-08dc8a84633c/Image/01000000-c0a8-0242-2179-08dc8a9e55b4/01000000-c0a8-0242-7f99-08dc8abdc649/01000000-c0a8-0242-89ca-08dc8abdc65d/1.2.840.113619.2.334.3.2831181473.554.1419910103.185/6517400b-d4b5-db65-d026-8c06c40bf244",
HtmlPath: "",
NumberOfFrames: 0,
InstanceNumber: 18,
},
{
Id: "8e70df99-525a-4ecd-5cf1-6c32698eaa3f",
Path: "/01000000-c0a8-0242-ff9a-08dc8a84633c/Image/01000000-c0a8-0242-2179-08dc8a9e55b4/01000000-c0a8-0242-7f99-08dc8abdc649/01000000-c0a8-0242-89ca-08dc8abdc65d/1.2.840.113619.2.334.3.2831181473.554.1419910103.185/8e70df99-525a-4ecd-5cf1-6c32698eaa3f",
HtmlPath: "",
NumberOfFrames: 0,
InstanceNumber: 19,
},
{
Id: "7df907f2-b6a6-fd03-67ab-be86c497d412",
Path: "/01000000-c0a8-0242-ff9a-08dc8a84633c/Image/01000000-c0a8-0242-2179-08dc8a9e55b4/01000000-c0a8-0242-7f99-08dc8abdc649/01000000-c0a8-0242-89ca-08dc8abdc65d/1.2.840.113619.2.334.3.2831181473.554.1419910103.185/7df907f2-b6a6-fd03-67ab-be86c497d412",
HtmlPath: "",
NumberOfFrames: 0,
InstanceNumber: 20,
},
{
Id: "ba31ba5b-728e-8301-273d-459fd3c65a43",
Path: "/01000000-c0a8-0242-ff9a-08dc8a84633c/Image/01000000-c0a8-0242-2179-08dc8a9e55b4/01000000-c0a8-0242-7f99-08dc8abdc649/01000000-c0a8-0242-89ca-08dc8abdc65d/1.2.840.113619.2.334.3.2831181473.554.1419910103.185/ba31ba5b-728e-8301-273d-459fd3c65a43",
HtmlPath: "",
NumberOfFrames: 0,
InstanceNumber: 21,
},
{
Id: "7528c70c-5ba1-59c1-413c-7bfc984c0066",
Path: "/01000000-c0a8-0242-ff9a-08dc8a84633c/Image/01000000-c0a8-0242-2179-08dc8a9e55b4/01000000-c0a8-0242-7f99-08dc8abdc649/01000000-c0a8-0242-89ca-08dc8abdc65d/1.2.840.113619.2.334.3.2831181473.554.1419910103.185/7528c70c-5ba1-59c1-413c-7bfc984c0066",
HtmlPath: "",
NumberOfFrames: 0,
InstanceNumber: 22,
},
{
Id: "15dd574d-fc82-c5b7-fefb-497346d4abbb",
Path: "/01000000-c0a8-0242-ff9a-08dc8a84633c/Image/01000000-c0a8-0242-2179-08dc8a9e55b4/01000000-c0a8-0242-7f99-08dc8abdc649/01000000-c0a8-0242-89ca-08dc8abdc65d/1.2.840.113619.2.334.3.2831181473.554.1419910103.185/15dd574d-fc82-c5b7-fefb-497346d4abbb",
HtmlPath: "",
NumberOfFrames: 0,
InstanceNumber: 23,
},
{
Id: "6cd76aca-91fa-64ce-6077-af48c5e5b18b",
Path: "/01000000-c0a8-0242-ff9a-08dc8a84633c/Image/01000000-c0a8-0242-2179-08dc8a9e55b4/01000000-c0a8-0242-7f99-08dc8abdc649/01000000-c0a8-0242-89ca-08dc8abdc65d/1.2.840.113619.2.334.3.2831181473.554.1419910103.185/6cd76aca-91fa-64ce-6077-af48c5e5b18b",
HtmlPath: "",
NumberOfFrames: 0,
InstanceNumber: 24,
},
{
Id: "2f0f9f4e-12b8-a6a8-d3f9-f43e2055653d",
Path: "/01000000-c0a8-0242-ff9a-08dc8a84633c/Image/01000000-c0a8-0242-2179-08dc8a9e55b4/01000000-c0a8-0242-7f99-08dc8abdc649/01000000-c0a8-0242-89ca-08dc8abdc65d/1.2.840.113619.2.334.3.2831181473.554.1419910103.185/2f0f9f4e-12b8-a6a8-d3f9-f43e2055653d",
HtmlPath: "",
NumberOfFrames: 0,
InstanceNumber: 25,
},
{
Id: "3c49f379-8548-67cd-1333-dde28219c6e9",
Path: "/01000000-c0a8-0242-ff9a-08dc8a84633c/Image/01000000-c0a8-0242-2179-08dc8a9e55b4/01000000-c0a8-0242-7f99-08dc8abdc649/01000000-c0a8-0242-89ca-08dc8abdc65d/1.2.840.113619.2.334.3.2831181473.554.1419910103.185/3c49f379-8548-67cd-1333-dde28219c6e9",
HtmlPath: "",
NumberOfFrames: 0,
InstanceNumber: 26,
},
{
Id: "910f43c8-123a-0753-aaf7-11081eef4268",
Path: "/01000000-c0a8-0242-ff9a-08dc8a84633c/Image/01000000-c0a8-0242-2179-08dc8a9e55b4/01000000-c0a8-0242-7f99-08dc8abdc649/01000000-c0a8-0242-89ca-08dc8abdc65d/1.2.840.113619.2.334.3.2831181473.554.1419910103.185/910f43c8-123a-0753-aaf7-11081eef4268",
HtmlPath: "",
NumberOfFrames: 0,
InstanceNumber: 27,
},
{
Id: "ffad6b36-74aa-1c7d-01eb-18524da91f6e",
Path: "/01000000-c0a8-0242-ff9a-08dc8a84633c/Image/01000000-c0a8-0242-2179-08dc8a9e55b4/01000000-c0a8-0242-7f99-08dc8abdc649/01000000-c0a8-0242-89ca-08dc8abdc65d/1.2.840.113619.2.334.3.2831181473.554.1419910103.185/ffad6b36-74aa-1c7d-01eb-18524da91f6e",
HtmlPath: "",
NumberOfFrames: 0,
InstanceNumber: 28,
},
{
Id: "9e2bf22d-8734-62ae-881a-7404064a95ce",
Path: "/01000000-c0a8-0242-ff9a-08dc8a84633c/Image/01000000-c0a8-0242-2179-08dc8a9e55b4/01000000-c0a8-0242-7f99-08dc8abdc649/01000000-c0a8-0242-89ca-08dc8abdc65d/1.2.840.113619.2.334.3.2831181473.554.1419910103.185/9e2bf22d-8734-62ae-881a-7404064a95ce",
HtmlPath: "",
NumberOfFrames: 0,
InstanceNumber: 29,
},
{
Id: "eef8b291-ffdf-dbfb-244d-5e63dc5b8cc7",
Path: "/01000000-c0a8-0242-ff9a-08dc8a84633c/Image/01000000-c0a8-0242-2179-08dc8a9e55b4/01000000-c0a8-0242-7f99-08dc8abdc649/01000000-c0a8-0242-89ca-08dc8abdc65d/1.2.840.113619.2.334.3.2831181473.554.1419910103.185/eef8b291-ffdf-dbfb-244d-5e63dc5b8cc7",
HtmlPath: "",
NumberOfFrames: 0,
InstanceNumber: 30,
},
{
Id: "12b0de3a-243c-78b9-b006-82f2cc633a0f",
Path: "/01000000-c0a8-0242-ff9a-08dc8a84633c/Image/01000000-c0a8-0242-2179-08dc8a9e55b4/01000000-c0a8-0242-7f99-08dc8abdc649/01000000-c0a8-0242-89ca-08dc8abdc65d/1.2.840.113619.2.334.3.2831181473.554.1419910103.185/12b0de3a-243c-78b9-b006-82f2cc633a0f",
HtmlPath: "",
NumberOfFrames: 0,
InstanceNumber: 31,
},
{
Id: "4341ea87-7d54-2608-184e-01e5c976ce9f",
Path: "/01000000-c0a8-0242-ff9a-08dc8a84633c/Image/01000000-c0a8-0242-2179-08dc8a9e55b4/01000000-c0a8-0242-7f99-08dc8abdc649/01000000-c0a8-0242-89ca-08dc8abdc65d/1.2.840.113619.2.334.3.2831181473.554.1419910103.185/4341ea87-7d54-2608-184e-01e5c976ce9f",
HtmlPath: "",
NumberOfFrames: 0,
InstanceNumber: 32,
},
{
Id: "4db2bac2-18eb-0589-d520-f297b2840e1d",
Path: "/01000000-c0a8-0242-ff9a-08dc8a84633c/Image/01000000-c0a8-0242-2179-08dc8a9e55b4/01000000-c0a8-0242-7f99-08dc8abdc649/01000000-c0a8-0242-89ca-08dc8abdc65d/1.2.840.113619.2.334.3.2831181473.554.1419910103.185/4db2bac2-18eb-0589-d520-f297b2840e1d",
HtmlPath: "",
NumberOfFrames: 0,
InstanceNumber: 33,
},
{
Id: "9442c2a3-0972-67f7-afc3-6f1a47abefab",
Path: "/01000000-c0a8-0242-ff9a-08dc8a84633c/Image/01000000-c0a8-0242-2179-08dc8a9e55b4/01000000-c0a8-0242-7f99-08dc8abdc649/01000000-c0a8-0242-89ca-08dc8abdc65d/1.2.840.113619.2.334.3.2831181473.554.1419910103.185/9442c2a3-0972-67f7-afc3-6f1a47abefab",
HtmlPath: "",
NumberOfFrames: 0,
InstanceNumber: 34,
},
{
Id: "a7fb75b0-0b09-5340-70cf-a11afd84b1ec",
Path: "/01000000-c0a8-0242-ff9a-08dc8a84633c/Image/01000000-c0a8-0242-2179-08dc8a9e55b4/01000000-c0a8-0242-7f99-08dc8abdc649/01000000-c0a8-0242-89ca-08dc8abdc65d/1.2.840.113619.2.334.3.2831181473.554.1419910103.185/a7fb75b0-0b09-5340-70cf-a11afd84b1ec",
HtmlPath: "",
NumberOfFrames: 0,
InstanceNumber: 35,
},
{
Id: "753d7795-451a-bd32-69ea-fd58c1e89d63",
Path: "/01000000-c0a8-0242-ff9a-08dc8a84633c/Image/01000000-c0a8-0242-2179-08dc8a9e55b4/01000000-c0a8-0242-7f99-08dc8abdc649/01000000-c0a8-0242-89ca-08dc8abdc65d/1.2.840.113619.2.334.3.2831181473.554.1419910103.185/753d7795-451a-bd32-69ea-fd58c1e89d63",
HtmlPath: "",
NumberOfFrames: 0,
InstanceNumber: 36,
},
{
Id: "33bf7274-de0a-e8f9-f97a-c58fb2ea3aaf",
Path: "/01000000-c0a8-0242-ff9a-08dc8a84633c/Image/01000000-c0a8-0242-2179-08dc8a9e55b4/01000000-c0a8-0242-7f99-08dc8abdc649/01000000-c0a8-0242-89ca-08dc8abdc65d/1.2.840.113619.2.334.3.2831181473.554.1419910103.185/33bf7274-de0a-e8f9-f97a-c58fb2ea3aaf",
HtmlPath: "",
NumberOfFrames: 0,
InstanceNumber: 37,
},
{
Id: "adadae31-37a1-818d-3721-09a1d371c6a5",
Path: "/01000000-c0a8-0242-ff9a-08dc8a84633c/Image/01000000-c0a8-0242-2179-08dc8a9e55b4/01000000-c0a8-0242-7f99-08dc8abdc649/01000000-c0a8-0242-89ca-08dc8abdc65d/1.2.840.113619.2.334.3.2831181473.554.1419910103.185/adadae31-37a1-818d-3721-09a1d371c6a5",
HtmlPath: "",
NumberOfFrames: 0,
InstanceNumber: 38,
},
{
Id: "f64e8b0d-d2ab-b112-5705-92c23cfc5df6",
Path: "/01000000-c0a8-0242-ff9a-08dc8a84633c/Image/01000000-c0a8-0242-2179-08dc8a9e55b4/01000000-c0a8-0242-7f99-08dc8abdc649/01000000-c0a8-0242-89ca-08dc8abdc65d/1.2.840.113619.2.334.3.2831181473.554.1419910103.185/f64e8b0d-d2ab-b112-5705-92c23cfc5df6",
HtmlPath: "",
NumberOfFrames: 0,
InstanceNumber: 39,
},
{
Id: "781088b0-5afd-6eb3-5f87-9bfec210d490",
Path: "/01000000-c0a8-0242-ff9a-08dc8a84633c/Image/01000000-c0a8-0242-2179-08dc8a9e55b4/01000000-c0a8-0242-7f99-08dc8abdc649/01000000-c0a8-0242-89ca-08dc8abdc65d/1.2.840.113619.2.334.3.2831181473.554.1419910103.185/781088b0-5afd-6eb3-5f87-9bfec210d490",
HtmlPath: "",
NumberOfFrames: 0,
InstanceNumber: 40,
},
{
Id: "56df4cef-8053-bff3-21f7-1b1841a3d6e6",
Path: "/01000000-c0a8-0242-ff9a-08dc8a84633c/Image/01000000-c0a8-0242-2179-08dc8a9e55b4/01000000-c0a8-0242-7f99-08dc8abdc649/01000000-c0a8-0242-89ca-08dc8abdc65d/1.2.840.113619.2.334.3.2831181473.554.1419910103.185/56df4cef-8053-bff3-21f7-1b1841a3d6e6",
HtmlPath: "",
NumberOfFrames: 0,
InstanceNumber: 41,
},
{
Id: "a3e3dab9-7a61-f822-d113-42f46bc5e8ce",
Path: "/01000000-c0a8-0242-ff9a-08dc8a84633c/Image/01000000-c0a8-0242-2179-08dc8a9e55b4/01000000-c0a8-0242-7f99-08dc8abdc649/01000000-c0a8-0242-89ca-08dc8abdc65d/1.2.840.113619.2.334.3.2831181473.554.1419910103.185/a3e3dab9-7a61-f822-d113-42f46bc5e8ce",
HtmlPath: "",
NumberOfFrames: 0,
InstanceNumber: 42,
},
{
Id: "1cc195b9-e498-179d-b927-6d706266decb",
Path: "/01000000-c0a8-0242-ff9a-08dc8a84633c/Image/01000000-c0a8-0242-2179-08dc8a9e55b4/01000000-c0a8-0242-7f99-08dc8abdc649/01000000-c0a8-0242-89ca-08dc8abdc65d/1.2.840.113619.2.334.3.2831181473.554.1419910103.185/1cc195b9-e498-179d-b927-6d706266decb",
HtmlPath: "",
NumberOfFrames: 0,
InstanceNumber: 43,
},
{
Id: "7dca834f-d959-898e-a0cb-5c8244c4c4a9",
Path: "/01000000-c0a8-0242-ff9a-08dc8a84633c/Image/01000000-c0a8-0242-2179-08dc8a9e55b4/01000000-c0a8-0242-7f99-08dc8abdc649/01000000-c0a8-0242-89ca-08dc8abdc65d/1.2.840.113619.2.334.3.2831181473.554.1419910103.185/7dca834f-d959-898e-a0cb-5c8244c4c4a9",
HtmlPath: "",
NumberOfFrames: 0,
InstanceNumber: 44,
},
{
Id: "13eeba83-2e93-800e-e934-a56061633c64",
Path: "/01000000-c0a8-0242-ff9a-08dc8a84633c/Image/01000000-c0a8-0242-2179-08dc8a9e55b4/01000000-c0a8-0242-7f99-08dc8abdc649/01000000-c0a8-0242-89ca-08dc8abdc65d/1.2.840.113619.2.334.3.2831181473.554.1419910103.185/13eeba83-2e93-800e-e934-a56061633c64",
HtmlPath: "",
NumberOfFrames: 0,
InstanceNumber: 45,
},
{
Id: "971f0a62-92a3-6d04-53c5-51fa9155e28c",
Path: "/01000000-c0a8-0242-ff9a-08dc8a84633c/Image/01000000-c0a8-0242-2179-08dc8a9e55b4/01000000-c0a8-0242-7f99-08dc8abdc649/01000000-c0a8-0242-89ca-08dc8abdc65d/1.2.840.113619.2.334.3.2831181473.554.1419910103.185/971f0a62-92a3-6d04-53c5-51fa9155e28c",
HtmlPath: "",
NumberOfFrames: 0,
InstanceNumber: 46,
},
{
Id: "2959d06c-5ac7-f3b9-63d4-1a56e3974fc7",
Path: "/01000000-c0a8-0242-ff9a-08dc8a84633c/Image/01000000-c0a8-0242-2179-08dc8a9e55b4/01000000-c0a8-0242-7f99-08dc8abdc649/01000000-c0a8-0242-89ca-08dc8abdc65d/1.2.840.113619.2.334.3.2831181473.554.1419910103.185/2959d06c-5ac7-f3b9-63d4-1a56e3974fc7",
HtmlPath: "",
NumberOfFrames: 0,
InstanceNumber: 47,
},
];
let path = "https://zy-irc-test-store.oss-cn-shanghai.aliyuncs.com";
let files = new Array();
for (let i = 0; i < InstanceInfoList.length; i++) {
let item = InstanceInfoList[i];
let obj = {
name: "file" + i,
url: path + item.Path,
};
files.push(obj);
}
store.dispatch("trials/setUnLock", true);
let res = await downloadImage(zipName, files);
store.dispatch("trials/setUnLock", false);
},
},
beforeDestroy() {
store.dispatch("trials/setUnLock", false);
},
};
</script>
<style lang="scss" scoped>
+7 -6
View File
@@ -1,6 +1,5 @@
<script>
export default
{
export default {
processSignature: {
LogicalConfigConfirmation: 101, // 逻辑配置确认:逻辑配置确认操作
ProcessConfigConfirmation: 102, // 流程配置确认:流程配置确认操作
@@ -25,9 +24,11 @@ export default
ImageAssessmentReportConfirmation: 214, // 影像评估报告确认
MedicalAuditConfirmation: 109, // 医学审核问题确认
ReadingUnitConfirmation: 108, // 医学审核问题确认
MedicalAudit: 215,// 医学审核
HeavyReadingApproval: 216,// 重阅审批
MedicalAudit: 215, // 医学审核
HeavyReadingApproval: 216, // 重阅审批
ResetAndAsyncCriterion: 218, //同步签名
}
}
DicomConfigConfirmation: 219, // DICOM AE配置确认
DicomConfigUpdates: 220, // DICOM AE配置更新
},
};
</script>
+10 -3
View File
@@ -3,7 +3,7 @@ import Vue from 'vue'
import 'normalize.css/normalize.css' // A modern alternative to CSS resets
import ElementUI, { MessageBox } from 'element-ui'
import { getBasicDataAllSelect, getFrontInternationalizationList } from '@/api/dictionary/dictionary'
import { getBasicDataAllSelect, getFrontInternationalizationList, getCurrentPublishInfo } from '@/api/dictionary/dictionary'
import { sendMFAEmail } from "@/api/user.js";
import { resetReadingRestTime } from '@/api/trials/reading'
// import 'element-ui/lib/theme-chalk/index.css'
@@ -186,6 +186,9 @@ async function VueInit() {
zhMessages[v.Code] = v.ValueCN
enMessages[v.Code] = v.Value
})
// 获取版本信息
let PublishInfo = await getCurrentPublishInfo();
Vue.prototype.$version = PublishInfo.Result;
// 获取检查部位
Vue.prototype.$getBodyPart = (id) => {
return new Promise(async (resolve, reject) => {
@@ -358,6 +361,10 @@ async function VueInit() {
}
const h = _vm.$createElement
/* eslint-disable */
// eval(process.env.VUE_APP_LOGOUT_FOR_PERMISSION)
// process.env.VUE_APP_LOGOUT_FOR_TIME
// eval(process.env.VUE_APP_LOCK_FOR_PERMISSION)
// process.env.VUE_APP_LOCK_FOR_TIME
window.VUE_APP_COMPANY_NAME = process.env.VUE_APP_COMPANY_NAME;
waitOperate(eval(process.env.VUE_APP_LOGOUT_FOR_PERMISSION) ? () => {
var lang = zzSessionStorage.getItem('lang') ? zzSessionStorage.getItem('lang') : 'zh'
@@ -374,7 +381,7 @@ async function VueInit() {
zzSessionStorage.removeItem('isLock')
router.push("/login")
}).then(() => {
_vm.$alert(lang === 'zh' ? '由于您长时间未操作,为保护您的数据安全已强制将您下线,如果需要继续操作请重新登' : 'No operation for a long time non-operation, you have been forced logout to protect data security. If continue to operate, please login again!', {
_vm.$alert(lang === 'zh' ? '由于您长时间未操作,为保护您的数据安全已强制将您下线,如果需要继续操作请重新登' : 'No operation for a long time non-operation, you have been forced logout to protect data security. If continue to operate, please login again!', {
type: 'warning',
})
})
@@ -382,7 +389,7 @@ async function VueInit() {
} : () => { }, process.env.VUE_APP_LOGOUT_FOR_TIME,
eval(process.env.VUE_APP_LOCK_FOR_PERMISSION) ? () => {
var lang = zzSessionStorage.getItem('lang') ? zzSessionStorage.getItem('lang') : 'zh'
if (_vm.$route.path === '/ReviewersResearchForm' || _vm.$route.path === '/ReviewersResearch' || _vm.$route.path === '/login' || _vm.$route.path === '/researchForm' || _vm.$route.path === '/researchLogin' || _vm.$route.path === '/email-recompose' || _vm.$route.path === '/recompose' || _vm.$route.path === '/resetpassword' || _vm.$route.path === '/error') {
if (_vm.$store.state.trials.unlock || _vm.$route.path === '/ReviewersResearchForm' || _vm.$route.path === '/ReviewersResearch' || _vm.$route.path === '/login' || _vm.$route.path === '/researchForm' || _vm.$route.path === '/researchLogin' || _vm.$route.path === '/email-recompose' || _vm.$route.path === '/recompose' || _vm.$route.path === '/resetpassword' || _vm.$route.path === '/error') {
count = 0;
localStorage.setItem('count', '0')
if (_vm.$route.path === '/login') {
+18 -5
View File
@@ -10,7 +10,7 @@ import { OSSclient } from './utils/oss'
NProgress.configure({ showSpinner: false })
const whiteList = ['/ReviewersResearch', '/login', '/error', '/resetpassword', '/recompose', '/email-recompose', '/trialStats', '/showdicom', '/imagesShare', '/audit', '/preview', '/researchLogin', '/blindResumeInfo', '/trialsResume', '/joinVerify', '/showNoneDicoms', '/noneDicomReading', '/clinicalData', '/readingDicoms', '/readingPage', '/visitDicomReview', '/visitNondicomReview', '/globalReview', '/adReview', '/oncologyReview', '/nonedicoms']
const whiteList = ['/ReviewersResearch', '/login', '/error', '/resetpassword', '/recompose', '/email-recompose', '/trialStats', '/showdicom', '/imagesShare', '/audit', '/preview', '/researchLogin', '/researchLogin_m', '/blindResumeInfo', '/trialsResume', '/joinVerify', '/showNoneDicoms', '/noneDicomReading', '/clinicalData', '/readingDicoms', '/readingPage', '/visitDicomReview', '/visitNondicomReview', '/globalReview', '/adReview', '/oncologyReview', '/nonedicoms']
router.beforeEach(async(to, from, next) => {
NProgress.start()
@@ -55,15 +55,28 @@ router.beforeEach(async(to, from, next) => {
} else {
/* has no token*/
if (whiteList.indexOf(to.path) !== -1) {
// 在免登录whiteList中,直接进入
if (to.path === '/readingDicoms' || to.path === '/noneDicomReading'){
OSSclient()
if (to.path === '/researchLogin') {
console.log(to)
const flag = navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i)
if (flag) {
next(`/researchLogin_m?trialId=${to.query.trialId}&lang=${to.query.lang}`)
} else {
next()
}
} else {
// 在免登录whiteList中,直接进入
if (to.path === '/readingDicoms' || to.path === '/noneDicomReading') {
OSSclient()
}
next()
}
next()
} else {
if (to.path === '/researchForm') {
next(`/researchLogin?`)
NProgress.done()
} else if (to.path === '/researchDetail_m') {
next(`/researchLogin_m?`)
NProgress.done()
} else if (to.path === '/ReviewersResearchForm') {
next(`/ReviewersResearch?`)
NProgress.done()
+12
View File
@@ -201,6 +201,18 @@ export const constantRoutes = [
component: () => import('@/views/research/form'),
hidden: true
},
{
path: '/researchLogin_m',
name: 'researchLogin_m',
component: () => import('@/views/research-mobile/login'),
hidden: true
},
{
path: '/researchDetail_m',
name: 'researchDetail_m',
component: () => import('@/views/research-mobile/detail'),
hidden: true
},
{
path: '/trialsResume',
component: () => import('@/views/trials/trials-panel/enrolled-reviewers/resume/index'),
+3 -4
View File
@@ -493,11 +493,10 @@ const actions = {
})
},
removeCustomizeMeasuredData({ state }, obj) {
return new Promise(async resolve => {
var index = state.visitTaskList.findIndex(i => i.VisitTaskId === obj.visitTaskId)
var measureData = state.visitTaskList[index].MeasureData
console.log('removeCustomizeMeasuredData',obj, state.visitTaskList[index].MeasureData)
console.log('removeCustomizeMeasuredData', obj, state.visitTaskList[index].MeasureData)
// var uuid = obj.measureData.data.uuid
// var idx = measureData.findIndex(item => item.MeasureData && item.MeasureData.data && item.MeasureData.data.uuid === uuid)
// console.log(obj, measureData)
@@ -682,7 +681,7 @@ const actions = {
} else {
// state.visitTaskList[index].MeasureData.push(obj.MeasureData.data)
state.visitTaskList[index].MeasureData.push({
MeasureData: obj.measureData ,
MeasureData: obj.measureData,
SeriesId: obj.measureData.seriesId,
StudyId: obj.measureData.studyId,
InstanceId: obj.measureData.instanceId,
@@ -898,7 +897,7 @@ const actions = {
},
setImageloadedInfo({ state }, obj) {
var index = state.visitTaskList.findIndex(i => i.VisitTaskId === obj.visitTaskId)
let prefetchInstanceCount = state.visitTaskList[index].StudyList[obj.studyIndex].SeriesList[obj.seriesIndex].prefetchInstanceCount
const prefetchInstanceCount = state.visitTaskList[index].StudyList[obj.studyIndex].SeriesList[obj.seriesIndex].prefetchInstanceCount
state.visitTaskList[index].StudyList[obj.studyIndex].SeriesList[obj.seriesIndex].prefetchInstanceCount = prefetchInstanceCount + 100
state.visitTaskList[index].StudyList[obj.studyIndex].SeriesList[obj.seriesIndex].imageloadedArr.push(obj.imageId)
},
-1
View File
@@ -1,6 +1,5 @@
import dicomParser from "dicom-parser";
import dcmjs from './dcmjs'
import { encoder } from "./encoder";
export const anonymization = function (file, config) {
return new Promise(async (resolve, reject) => {
+33 -141
View File
@@ -1,144 +1,36 @@
import JSZip from "jszip";
import axios from "axios";
import { saveAs } from "file-saver";
import Vue from 'vue';
import {
requestPackageAndAnonymizImage,
} from "@/api/load.js";
let flag = {};
export const downloadImage = async (id, id2) => {
if (flag[id2]) return
flag[id2] = true
try {
let params = {
TrialId: id,
SubjectVisitId: id2
}
let res = await requestPackageAndAnonymizImage(params);
flag[id2] = false;
if (res.IsSuccess) {
if (!res.Result) {
Vue.prototype.$message.warning(Vue.prototype.$t("trials:upload:message:not"))
return 1;
}
let a = document.createElement("a");
let href = Vue.prototype.OSSclientConfig.basePath + res.Result;
let fileName =
res.Result.split("/")[res.Result.split("/").length - 1];
a.download = fileName;
a.href = href;
a.click();
URL.revokeObjectURL(href);
let timer = setTimeout(() => {
a = null;
href = null;
timer = null;
}, 500)
return 2;
} else {
return false;
}
} catch (err) {
flag[id2] = false;
console.log(err);
}
};
const setfolder = async (item) => {
const zip = new JSZip(); // 创建实例对象
let patientIds = item.PatientList.map(i => i.PatientIdStr);
let zipName = `${item.SubjectCode}_${patientIds.join(',')}`;
let zipObj = {};
const promises = [];
for (let visit of item.VisitList) {
if (!zipObj[`${visit.VisitName}`]) {
zipObj[`${visit.VisitName}`] = zip.folder(visit.VisitName);
}
for (let study of visit.StudyList) {
let date = study.StudyTime.split(" ")[0];
for (let series of study.SeriesList) {
if (
!zipObj[
`${visit.VisitName}${series.Modality}`
]
) {
zipObj[
`${visit.VisitName}${series.Modality}`
] = zipObj[`${visit.VisitName}`].folder(
`${date}_${series.Modality}`
);
}
for (let instance of series.InstancePathList) {
let obj = {
subjectCode: item.SubjectCode,
visitName: visit.VisitName,
date: study.StudyTime.split(" ")[0],
modality: series.Modality,
instancePath: instance.Path,
dicomName: instance.Path.split("/Dicom/")[1],
};
const promise = handleBatchDown(
obj,
zipObj[
`${visit.VisitName}${series.Modality}`
],
);
promises.push(promise);
}
}
}
}
// 生成 zip 文件
Promise.all(promises)
.then(() => {
// 生成zip 文件
zip
.generateAsync({
type: "blob",
compression: "DEFLATE", // STORE: 默认不压缩, DEFLATE:需要压缩
compressionOptions: {
level: 9, // 压缩等级 1~9 1 压缩速度最快, 9 最优压缩方式
},
})
.then((res) => {
saveAs(res, zipName + ".zip"); // 使用FileSaver.saveAs保存文件,文件名可自定义
flag[id2] = false;
zipObj = null;
});
})
.catch((reason) => { flag[id2] = false; });
};
const handleBatchDown = async (item, zip) => {
import streamSaver from "streamsaver";
import "streamsaver/examples/zip-stream.js"
export const downloadImage = (zipName, files) => {
return new Promise((resolve) => {
getFileData(
Vue.prototype.OSSclientConfig.basePath + item.instancePath
).then((res) => {
const fileName = item.dicomName + ".dcm";
zip.file(fileName, res.data, { binary: true });
resolve();
console.log("同步下载打包开始时间:" + new Date());
// 创建压缩文件输出流
const zipFileOutputStream = streamSaver.createWriteStream(zipName);
// 创建下载文件流
const fileIterator = files.values();
const readableZipStream = new window.ZIP({
async pull(ctrl) {
const fileInfo = fileIterator.next();
if (fileInfo.done) {//迭代终止
ctrl.close();
} else {
const { name, url } = fileInfo.value;
return fetch(url).then(res => {
ctrl.enqueue({
name,
stream: () => res.body
})
})
}
}
});
});
if (window.WritableStream && readableZipStream.pipeTo) {
// 开始下载
readableZipStream
.pipeTo(zipFileOutputStream)
.then(() => { console.log("同步下载打包结束时间:" + new Date()); resolve(true) })
} else {
resolve(false);
}
})
};
const getFileData = (fileUrl) => {
return new Promise((resolve, reject) => {
axios(fileUrl, {
method: "GET",
responseType: "blob", // 返回的数据会被强制转为blob类型 ,转换成arraybuffer 也行
})
.then((res) => {
resolve(res);
})
.catch((error) => {
reject(error);
});
});
};
export const fileDownload = (content, filename) => {
const eleLink = document.createElement("a");
eleLink.download = filename;
eleLink.style.display = "none";
const blob = new Blob([content]);
eleLink.href = URL.createObjectURL(blob);
document.body.appendChild(eleLink);
eleLink.click();
document.body.removeChild(eleLink);
};
@@ -0,0 +1,214 @@
<template>
<base-model :config="config">
<div slot="dialog-body">
<el-form
ref="browserForm"
:model="form"
label-width="140px"
size="small"
:rules="rules"
>
<div class="base-dialog-body">
<el-form-item
:label="$t('dictionary:browser:form:title')"
prop="Title"
>
<el-input v-model="form.Title" />
</el-form-item>
<el-form-item
:label="$t('dictionary:browser:form:exploreType')"
prop="ExploreType"
>
<el-input v-model="form.ExploreType" />
</el-form-item>
<el-form-item
:label="$t('dictionary:browser:form:version')"
prop="Version"
>
<el-input v-model="form.Version" type="textarea" rows="5" />
</el-form-item>
<el-form-item
:label="$t('dictionary:browser:form:downloadUrl')"
prop="DownloadUrl"
>
<el-input v-model="form.DownloadUrl" />
</el-form-item>
<el-form-item :label="$t('dictionary:browser:form:addFile')">
<el-upload
class="upload-demo"
action
:before-upload="beforeUpload"
:http-request="handleUploadFile"
:on-preview="handlePreview"
:on-remove="handleRemoveFile"
:show-file-list="true"
:limit="1"
:file-list="fileList"
>
<el-button
size="small"
type="primary"
:disabled="fileList.length > 0"
>{{ $t("common:button:upload") }}</el-button
>
</el-upload>
</el-form-item>
<el-form-item :label="$t('dictionary:browser:form:isDeleted')">
<el-switch
v-model="form.IsDeleted"
:active-value="false"
:inactive-value="true"
>
</el-switch>
</el-form-item>
</div>
</el-form>
</div>
<div slot="dialog-footer">
<el-button size="small" @click="canel">
{{ $t("dictionary:browser:button:canel") }}
</el-button>
<el-button size="small" type="primary" :loading="loading" @click="save">
{{ $t("dictionary:browser:button:save") }}
</el-button>
</div>
</base-model>
</template>
<script>
import baseModel from "@/components/BaseModel";
import { addOrUpdateExploreRecommend } from "@/api/dictionary";
export default {
props: {
config: {
required: true,
default: () => {
return {};
},
},
data: {
required: true,
default: () => {
return {};
},
},
},
components: {
"base-model": baseModel,
},
data() {
return {
form: {
Version: null,
Title: null,
IsDeleted: true,
ExploreType: null,
DownloadUrl: null,
Path: null,
FileName: null,
},
rules: {
Title: [
{
required: true,
message: this.$t("common:ruleMessage:specify"),
trigger: ["blur", "change"],
},
],
ExploreType: [
{
required: true,
message: this.$t("common:ruleMessage:specify"),
trigger: ["blur", "change"],
},
],
Version: [
{
required: true,
message: this.$t("common:ruleMessage:specify"),
trigger: ["blur", "change"],
},
],
DownloadUrl: [
{
required: true,
message: this.$t("common:ruleMessage:specify"),
trigger: ["blur", "change"],
},
],
},
fileList: [],
loading: false,
};
},
created() {
if (this.config.status === "edit") {
Object.keys(this.form).forEach((key) => {
this.form[key] = this.data[key];
});
if (this.form.FileName) {
this.fileList[0] = {
name: this.form.FileName,
path: this.form.Path,
fullPath: this.form.Path,
};
}
}
},
methods: {
async save() {
try {
let validate = await this.$refs.browserForm.validate();
if (!validate) return false;
this.loading = true;
if (this.config.status === "edit") {
this.form.Id = this.data.Id;
}
let res = await addOrUpdateExploreRecommend(this.form);
if (res.IsSuccess) {
this.$emit("close");
this.$emit("getList");
}
} catch (err) {
console.log(err);
this.loading = false;
}
},
canel() {
this.$emit("close");
},
handleRemoveFile() {
this.form.FileName = null;
this.form.Path = null;
this.fileList = [];
},
beforeUpload() {
if (this.fileList.length > 0) {
this.$alert(this.$t("dictionary:bbrowser:msg:message1"));
return;
}
},
handlePreview(row, r2) {
if (row.fullPath) {
window.open(row.fullPath, "_blank");
}
},
async handleUploadFile(param) {
this.loading = true;
var file = await this.fileToBlob(param.file);
const res = await this.OSSclient.put(
`/System/Browser/${param.file.name}`,
file
);
this.fileList.push({
name: param.file.name,
path: this.$getObjectName(res.url),
fullPath: this.$getObjectName(res.url),
url: this.$getObjectName(res.url),
});
this.form.Path = this.$getObjectName(res.url);
this.form.FileName = param.file.name;
this.loading = false;
},
},
};
</script>
@@ -0,0 +1,252 @@
<template>
<box-content>
<!-- 搜索框 -->
<div class="search">
<el-form :inline="true" size="mini" class="base-search-form">
<el-form-item :label="$t('dictionary:browser:search:title')">
<el-input v-model="searchData.Title" style="width: 100px" />
</el-form-item>
<el-form-item :label="$t('dictionary:browser:search:version')">
<el-input v-model="searchData.Version" style="width: 100px" />
</el-form-item>
<el-form-item>
<el-button type="primary" @click="handleReset">{{
$t("dictionary:browser:button:reset")
}}</el-button>
<el-button type="primary" @click="handleSearch">{{
$t("dictionary:browser:button:search")
}}</el-button>
</el-form-item>
</el-form>
<span style="margin-left: auto">
<el-button type="primary" size="mini" @click="handleAdd">
{{ $t("dictionary:browser:button:add") }}
</el-button>
</span>
</div>
<!-- 浏览器推荐版本列表 -->
<el-table
v-loading="loading"
v-adaptive="{ bottomOffset: 45 }"
:data="list"
stripe
height="100"
style="width: 100%"
@sort-change="handleSortByColumn"
>
<el-table-column type="index" width="40" />
<el-table-column
prop="Title"
:label="$t('dictionary:browser:table:title')"
sortable="custom"
show-overflow-tooltip
/>
<el-table-column
prop="ExploreType"
:label="$t('dictionary:browser:table:exploreType')"
show-overflow-tooltip
sortable="custom"
/>
<el-table-column
prop="Version"
:label="$t('dictionary:browser:table:version')"
show-overflow-tooltip
sortable="custom"
/>
<el-table-column
prop="DownloadUrl"
:label="$t('dictionary:browser:table:path')"
show-overflow-tooltip
sortable="custom"
/>
<el-table-column
prop="FileName"
:label="$t('dictionary:browser:table:fileName')"
show-overflow-tooltip
sortable="custom"
>
<template slot-scope="scope">
<a
:href="OSSclientConfig.basePath + scope.row.Path"
target="_blank"
style="color: #428bca"
>
{{ scope.row.FileName }}
</a>
</template>
</el-table-column>
<el-table-column
prop="IsDeleted"
:label="$t('dictionary:browser:table:IsDeleted')"
show-overflow-tooltip
sortable="custom"
>
<template slot-scope="scope">
<el-tag v-if="scope.row.IsDeleted" type="danger">{{
$fd("IsSiteDisable", scope.row.IsDeleted)
}}</el-tag>
<el-tag v-else>{{
$fd("IsSiteDisable", scope.row.IsDeleted)
}}</el-tag>
</template>
</el-table-column>
<el-table-column
prop="UpdateTime"
:label="$t('dictionary:browser:table:updateTime')"
show-overflow-tooltip
sortable="custom"
/>
<el-table-column
:label="$t('dictionary:browser:table:action')"
width="200"
fixed="right"
>
<template slot-scope="scope">
<el-button type="text" @click="handleEdit(scope.row)">
{{ $t("dictionary:browser:button:edit") }}
</el-button>
<el-button type="text" @click="handleDelete(scope.row)">
{{ $t("dictionary:browser:button:delete") }}
</el-button>
</template>
</el-table-column>
</el-table>
<!-- 分页组件 -->
<pagination
class="page"
:total="total"
:page.sync="searchData.PageIndex"
:limit.sync="searchData.PageSize"
@pagination="getList"
/>
<browser-form
:config="config"
:data="rowData"
v-if="config.visible"
@close="close"
@getList="getList"
/>
</box-content>
</template>
<script>
import {
getExploreRecommendList,
deleteExploreRecommend,
} from "@/api/dictionary";
import Pagination from "@/components/Pagination";
import BoxContent from "@/components/BoxContent";
import browserForm from "./form.vue";
const searchDataDefault = () => {
return {
Version: null,
Title: null,
DownloadUrl: null,
FileName: null,
IsDeleted: null,
PageIndex: 1,
PageSize: 20,
Asc: false,
SortField: null,
};
};
export default {
name: "browser",
components: { BoxContent, Pagination, browserForm },
data() {
return {
searchData: searchDataDefault(),
loading: false,
list: [],
total: 0,
rowData: {},
config: {
visible: false,
showClose: true,
width: "600px",
title: "",
appendToBody: true,
status: "add",
},
};
},
mounted() {
this.getList();
},
methods: {
async getList() {
try {
this.loading = true;
let res = await getExploreRecommendList(this.searchData);
if (res.IsSuccess) {
this.loading = false;
this.list = res.Result.CurrentPageData;
this.total = res.Result.TotalCount;
}
} catch (err) {
console.log(err);
this.loading = false;
}
},
// 新增
handleAdd() {
this.rowData = {};
this.config.title = this.$t("dictionary:browser:form:title:add");
this.config.status = "add";
this.config.visible = true;
},
// 编辑
handleEdit(row) {
this.rowData = { ...row };
this.config.title = this.$t("dictionary:browser:form:title:edit");
this.config.status = "edit";
this.config.visible = true;
},
// 删除
handleDelete(row) {
this.$confirm(this.$t("dictionary:browser:message:deleteMessage"), {
type: "warning",
distinguishCancelAndClose: true,
}).then(() => {
deleteExploreRecommend(row.Id).then((res) => {
if (res.IsSuccess) {
this.list.splice(
this.list.findIndex((item) => item.Id === row.Id),
1
);
this.$message.success(
this.$t("common:message:deletedSuccessfully")
);
}
});
});
},
// 查询
handleSearch() {
this.searchData.PageIndex = 1;
this.getList();
},
// 重置
handleReset() {
this.searchData = searchDataDefault();
this.getList();
},
// 排序
handleSortByColumn(column) {
if (column.order === "ascending") {
this.searchData.Asc = true;
} else {
this.searchData.Asc = false;
}
this.searchData.SortField = column.prop;
this.searchData.PageIndex = 1;
this.getList();
},
close() {
this.config.visible = false;
},
},
};
</script>
@@ -0,0 +1,109 @@
<template>
<div class="browserTip" v-if="visible">
<i class="el-icon-warning-outline"></i>
<span v-html="tip"></span>
</div>
</template>
<script>
import { getExploreRecommentInfo } from "@/api/dictionary";
export default {
name: "browserTip",
data() {
return {
form: {},
tip: this.$t("browser:tip:changeBorwser"),
visible: false,
};
},
methods: {
async getInfo() {
try {
let res = await getExploreRecommentInfo();
if (res.IsSuccess) {
return res.Result;
}
return false;
} catch (err) {
console.log(err);
return false;
}
},
async open() {
try {
let browserType = this.getExplore();
let type = browserType.split(": ")[0];
let No = browserType.split(": ")[1].split(".")[0];
console.log(type, No);
if (type !== "Chrome" && type !== "Edge") {
this.tip = this.$t("browser:tip:changeBorwser");
return (this.visible = true);
}
let res = await this.getInfo();
if (!res) return this.$t("dictionary:browser:tip:getError");
let currentType = res.filter(
(item) => item.ExploreType.toLowerCase() === type.toLowerCase()
)[0];
if (No < currentType.Version) {
this.tip = `<span>${this.$t("browser:tip:borwserversionLow")}</span>`;
res.forEach((item, index) => {
this.tip += `<a href="${item.DownloadUrl}" target="_blank" style="color:#428bca">${item.Title}</a>`;
if (index < res.length - 1) {
this.tip += "、";
}
});
return (this.visible = true);
}
} catch (err) {
console.log(err);
}
},
getExplore() {
var Sys = {};
var ua = navigator.userAgent.toLowerCase();
var s;
(s = ua.match(/rv:([\d.]+)\) like gecko/))
? (Sys.ie = s[1])
: (s = ua.match(/msie ([\d\.]+)/))
? (Sys.ie = s[1])
: (s = ua.match(/edg\/([\d\.]+)/) || ua.match(/edge\/([\d\.]+)/))
? (Sys.edge = s[1])
: (s = ua.match(/firefox\/([\d\.]+)/))
? (Sys.firefox = s[1])
: (s = ua.match(/(?:opera|opr).([\d\.]+)/))
? (Sys.opera = s[1])
: (s = ua.match(/chrome\/([\d\.]+)/))
? (Sys.chrome = s[1])
: (s = ua.match(/version\/([\d\.]+).*safari/))
? (Sys.safari = s[1])
: 0;
// 根据关系进行判断
if (Sys.ie) return "IE: " + Sys.ie;
if (Sys.edge) return "Edge: " + Sys.edge;
if (Sys.firefox) return "Firefox: " + Sys.firefox;
if (Sys.chrome) return "Chrome: " + Sys.chrome;
if (Sys.opera) return "Opera: " + Sys.opera;
if (Sys.safari) return "Safari: " + Sys.safari;
return "Unkonwn";
},
},
};
</script>
<style lang="scss" scoped>
.browserTip {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 40px;
background-color: rgba(250, 205, 145, 0.129411764705882);
display: flex;
align-items: center;
padding: 0 20px;
color: #555;
i {
color: red;
font-size: 24px;
margin-right: 10px;
}
}
</style>
@@ -113,13 +113,13 @@
width="55">
</el-table-column>
<el-table-column
prop="raw.ValueCN"
prop="ValueCN"
label="中文值"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop="raw.Value"
prop="Value"
label="英文值"
show-overflow-tooltip
>
+37 -25
View File
@@ -25,56 +25,68 @@
<el-tab-pane label="签名管理" name="sign">
<Sign v-if="activeTab == 'sign'" />
</el-tab-pane>
<el-tab-pane label="浏览器推荐" name="browser">
<Browser v-if="activeTab == 'browser'" />
</el-tab-pane>
</el-tabs>
</div>
</template>
<script>
import QcQuestions from './components/QcQuestions.vue'
import CriterionsTmp from './components/CriterionsTmp'
import ClinicalData from './components/ClinicalDataConfig'
import MedicalAudit from './components/MedicalAudit'
import Anonymization from './components/Anonymization'
import IncreaseFields from './components/IncreaseFields'
import Email from './email/index.vue'
import Sign from './sign/index.vue'
import QcQuestions from "./components/QcQuestions.vue";
import CriterionsTmp from "./components/CriterionsTmp";
import ClinicalData from "./components/ClinicalDataConfig";
import MedicalAudit from "./components/MedicalAudit";
import Anonymization from "./components/Anonymization";
import IncreaseFields from "./components/IncreaseFields";
import Email from "./email/index.vue";
import Sign from "./sign/index.vue";
import Browser from "./browser/index.vue";
export default {
name: 'Questions',
name: "Questions",
components: {
QcQuestions, CriterionsTmp, ClinicalData, Anonymization, IncreaseFields, Email, Sign,
MedicalAudit
QcQuestions,
CriterionsTmp,
ClinicalData,
Anonymization,
IncreaseFields,
Email,
Sign,
MedicalAudit,
Browser,
},
data() {
return {
activeTab: 'qc'
}
}, mounted() {
activeTab: "qc",
};
},
mounted() {
if (this.$route.query.tabActive) {
this.activeTab = this.$route.query.tabActive
this.activeTab = this.$route.query.tabActive;
} else {
this.activeTab = 'qc'
this.activeTab = "qc";
}
},
methods: {
clickTab(tab, event) {
this.$router.push({ path: `/dictionary/template?tabActive=${tab.name}` })
}
}
}
this.$router.push({ path: `/dictionary/template?tabActive=${tab.name}` });
},
},
};
</script>
<style lang="scss">
.question-wrapper{
.el-tabs{
.question-wrapper {
.el-tabs {
height: 100%;
display: flex;
flex-direction: column;
}
.el-tabs__header {
height: 40px;
margin-bottom:5px;
margin-bottom: 5px;
}
.el-tabs__content{
.el-tabs__content {
flex: 1;
.el-tab-pane{
.el-tab-pane {
height: 100%;
}
}
+44 -11
View File
@@ -15,16 +15,28 @@
/>
<img v-else src="@/assets/zzlogo4.png" alt="" />
</div>
<div class="login-image">
<img src="@/assets/login-bg.png" />
<div
:class="{
'login-image': true,
'login-image-usa': NODE_ENV === 'usa',
}"
>
<svg-icon
icon-class="login-bg"
style="width: 450px; height: 450px"
v-if="NODE_ENV === 'usa'"
/>
<img src="@/assets/login-bg.png" v-else />
</div>
</div>
<div class="login-r">
<div class="title-container">
<!-- IRC Management System -->
<div v-if="NODE_ENV === 'usa'">
<img src="@/assets/title-logo.png" alt="" class="title-logo" />
<div class="title-logo-message">{{ $t("login:title:system") }}</div>
<svg-icon
icon-class="login-logo"
style="width: 300px; height: 94px"
/>
</div>
<div class="title" v-else>{{ $t("login:title:system") }}</div>
</div>
@@ -96,7 +108,11 @@
<el-button
:loading="loading"
type="primary"
style="width: 100%; margin-bottom: 10px"
style="
width: 100%;
margin-bottom: 10px;
background-color: rgb(0, 147, 221);
"
size="medium"
@click.native.prevent="handleLogin"
>
@@ -109,6 +125,7 @@
type="text"
size="medium"
@click.native.prevent="handleResetPwd"
style="color: rgb(0, 147, 221)"
>
{{ $t("login:button:forgetPassword") }}
</el-button>
@@ -166,7 +183,7 @@
{{ $t("login:title:system_title") }}
</p>
<p style="margin-bottom: 20px" v-else>{{ $t("login:title:system") }}</p>
<p style="margin-bottom: 20px">V1.5.2.001</p>
<p style="margin-bottom: 20px">V{{ $version.Version }}</p>
<p style="margin-bottom: 20px" v-if="language === 'zh'">
Copyright © {{ new Date().getFullYear() }} 上海展影医疗科技有限公司
版权所有
@@ -185,6 +202,7 @@
>
</div>
</el-dialog>
<browserTip ref="browserTip" />
</div>
</template>
@@ -193,13 +211,16 @@ import { mapGetters, mapMutations } from "vuex";
import TopLang from "./topLang";
// import NoticeMarquee from '../trials/trials-layout/components/noticeMarquee'
import Vcode from "vue-puzzle-vcode";
import browserTip from "@/views/dictionary/template/browser/tip.vue";
import Img1 from "@/assets/pic-2.png";
import loginBg from "@/assets/icons/svg/login-bg.svg";
import loginLogo from "@/assets/icons/svg/login-logo.svg";
export default {
name: "Login",
components: { TopLang, Vcode },
components: { TopLang, Vcode, browserTip },
data() {
return {
NODE_ENV: process.env.NODE_ENV,
NODE_ENV: process.env.NODE_ENV, // process.env.NODE_ENV
VUE_APP_OSS_CONFIG_REGION: process.env.VUE_APP_OSS_CONFIG_REGION,
aboutVisible: false,
loginForm: {
@@ -237,6 +258,8 @@ export default {
isShow: false,
showCode: false,
Img1,
loginBg,
loginLogo,
};
},
computed: {
@@ -262,6 +285,7 @@ export default {
// this.$updateDictionary()
}
}
this.$refs.browserTip.open();
},
methods: {
...mapMutations({ setLanguage: "lang/setLanguage" }),
@@ -386,7 +410,7 @@ export default {
/* 修复input 背景不协调 和光标变色 */
$bg: #283443;
$light_gray: #909399;
$light_gray: #606266;
$cursor: #fff;
// @supports (-webkit-mask: none) and (not (cater-color: $cursor)) {
@@ -439,6 +463,9 @@ $light_gray: #606266;
height: 100%;
overflow: auto;
background: rgb(249, 249, 249);
::v-deep .el-input__inner::placeholder {
color: $dark_gray;
}
.login-header {
margin: 10px 0px 20px 10px;
height: 3rem;
@@ -454,7 +481,7 @@ $light_gray: #606266;
transform: translate(-50%, -50%);
// margin-top: -230px;
// margin-left: -400px;
width: 1200px;
width: 1100px;
height: 600px;
// margin: 30px auto;
box-sizing: border-box;
@@ -486,6 +513,12 @@ $light_gray: #606266;
height: 100%;
}
}
.login-image-usa {
width: 100%;
display: flex;
align-items: center;
justify-content: center;
}
}
.login-r {
position: relative;
@@ -507,7 +540,7 @@ $light_gray: #606266;
.title-container {
// margin-bottom: 50px;
text-align: center;
margin-top: 15%;
margin-top: 18%;
.title {
font-size: 35px;
color: $light_gray;
@@ -0,0 +1,310 @@
<template>
<div class="research_bs_content">
<el-form ref="researchBSForm" label-position="left" :model="form" :rules="rules">
<div class="basic_content form-label-width">
<el-form-item :label="$t('trials:researchForm:title:researchSurveyStatus')">
<el-tag>{{ $fd('ResearchRecord', state) }}</el-tag>
</el-form-item>
<!-- 项目编号 -->
<el-form-item :label="$t('trials:researchForm:form:trialId')">
<span>{{ form.TrialCode }}</span>
</el-form-item>
<!-- 试验方案号 -->
<el-form-item :label="$t('trials:researchForm:form:researchNo')">
<span>{{ form.ResearchProgramNo }}</span>
</el-form-item>
<!-- 试验名称 -->
<el-form-item :label="$t('trials:researchForm:form:researchName')">
<span>{{ form.ExperimentName }}</span>
</el-form-item>
<!-- 适应症类型 -->
<el-form-item :label="$t('trials:researchForm:form:decleareType')">
<span>{{ form.IndicationType }}</span>
</el-form-item>
</div>
<div class="login_content">
<div class="form-label-width">
<el-form-item :label="$t('trials:researchForm:form:siteName')" prop="TrialSiteId">
<el-select
v-model="form.TrialSiteId"
filterable
style="width:100%;"
:disabled="!(state === 0 && userTypeEnumInt === 0) || isHistory"
@change="handleSiteChange"
>
<el-option
v-for="(item,index) of siteOptions"
:key="index"
:label="item.TrialSiteAliasName"
:value="item.TrialSiteId"
/>
</el-select>
</el-form-item>
<!-- 中心编号 -->
<el-form-item v-if="form.TrialSiteId" :label="$t('trials:researchForm:form:siteId')">
<el-input v-model="form.TrialSiteCode" disabled />
</el-form-item>
<!-- 联系人 -->
<el-form-item :label="$t('trials:researchForm:form:contactor')" prop="UserName">
<el-input v-model="form.UserName" :disabled="!(state === 0 && userTypeEnumInt === 0) || isHistory" />
</el-form-item>
<!-- 联系电话 -->
<el-form-item
:label="$t('trials:researchForm:form:contactorPhone')"
prop="Phone"
>
<el-input v-model="form.Phone" :disabled="!(state === 0 && userTypeEnumInt === 0) || isHistory" />
</el-form-item>
<!-- 联系邮箱 -->
<el-form-item :label="$t('trials:researchForm:form:contactorEmail')">
<el-input v-model="form.Email" disabled />
</el-form-item>
<!-- 平均刻盘周期 -->
<el-form-item :label="$t('trials:researchForm:form:engravingCycle')">
<el-input-number v-model="form.AverageEngravingCycle" :disabled="!(state === 0 && userTypeEnumInt === 0) || isHistory" controls-position="right" :min="0" style="width:100%;" />
</el-form-item>
</div>
<!-- 请确认参与本项目影像采集的影像技师具备对应的资质技师证对应设备的大型设备上岗证 -->
<el-form-item v-if="!notShowFieldList.includes('IsConfirmImagingTechnologist')" :label="$t('trials:researchForm:form:isQualified')">
<el-radio-group v-model="form.IsConfirmImagingTechnologist" :disabled="!(state === 0 && userTypeEnumInt === 0) || isHistory">
<el-radio
v-for="item of $d.YesOrNo"
:key="`IsConfirmImagingTechnologist${item.value}`"
:label="item.value"
>{{ item.label }}</el-radio>
</el-radio-group>
</el-form-item>
<!-- 原因 -->
<el-form-item
v-if="!notShowFieldList.includes('NotConfirmReson') && form.IsConfirmImagingTechnologist === false"
:label="$t('trials:researchForm:form:notQualifiedReason')"
>
<el-input
v-model="form.NotConfirmReson"
type="textarea"
:autosize="{ minRows: 2, maxRows: 4}"
:disabled="!(state === 0 && userTypeEnumInt === 0) || isHistory"
/>
</el-form-item>
<!-- 研究单位疗效评估人员类型 -->
<el-form-item v-if="!notShowFieldList.includes('EfficacyEvaluatorType')" :label="$t('trials:researchForm:form:staffType')">
<el-radio-group v-model="form.EfficacyEvaluatorType" :disabled="!(state === 0 && userTypeEnumInt === 0)|| isHistory">
<el-radio v-for="item of $d.EfficacyEvaluatorType" :key="`EfficacyEvaluatorType${item.value}`" :label="item.value">{{ item.label }}</el-radio>
</el-radio-group>
</el-form-item>
<!-- 是否严格按照研究单位影像手册参数完成图像采集 -->
<el-form-item v-if="!notShowFieldList.includes('IsFollowStudyParameters')">
<span slot="label" v-html="$t('trials:researchForm:form:isFollowStudyParam')" />
<el-radio-group v-model="form.IsFollowStudyParameters" :disabled="!(state === 0 && userTypeEnumInt === 0) || isHistory">
<el-radio v-for="item of $d.YesOrNo" :key="`IsFollowStudyParameters${item.value}`" :label="item.value">{{ item.label }}</el-radio>
</el-radio-group>
</el-form-item>
<!-- 不能严格按照研究单位影像手册参数采集图像原因 -->
<el-form-item
v-if="!notShowFieldList.includes('NotFollowReson') && !form.IsFollowStudyParameters"
>
<span slot="label" v-html="$t('trials:researchForm:form:notFollowStudyParam')" />
<el-input
v-model="form.NotFollowReson"
type="textarea"
:autosize="{ minRows: 2, maxRows: 4}"
:disabled="!(state === 0 && userTypeEnumInt === 0) || isHistory"
/>
</el-form-item>
</div>
</el-form>
</div>
</template>
<script>
import { getTrialSiteSelect } from '@/api/trials'
import { addOrUpdateTrialSiteSurvey } from '@/api/research'
export default {
name: 'ResearchBasicInfo',
props: {
isHistory: {
type: Boolean,
default: false
}
},
data() {
var checkPhone = (rule, value, callback) => {
const phoneReg = /^[0-9]+$/
if (!value) {
callback(new Error(this.$t('trials:researchForm:formRule:specify')))
} else {
setTimeout(() => {
if (phoneReg.test(value)) {
callback()
} else {
callback(new Error(this.$t('trials:researchForm:formRule:phone')))
}
}, 100)
}
}
return {
form: {
Id: '',
Sponsor: '', // 申办方
ResearchProgramNo: '', // 方案号
ExperimentName: '',
TrialCode: '', // 项目编号
TrialSiteCode: '',
TrialSiteAliasName: '',
IndicationType: '', // 适应症
TrialSiteId: '', // 研究单位名称
UserName: '', // 联系人
Phone: '', // 联系人电话
Email: '', // 联系人邮箱
AverageEngravingCycle: '',
IsConfirmImagingTechnologist: '',
NotConfirmReson: '',
EfficacyEvaluatorType: '',
IsFollowStudyParameters: '',
NotFollowReson: ''
},
rules: {
TrialSiteId: [
{ required: true, message: this.$t('trials:researchForm:formRule:specify'), trigger: 'blur' }
],
UserName: [
{ required: true, validator: (rule, value, callback) => { !value ? callback(new Error(this.$t('trials:researchForm:formRule:specify'))) : callback() }, trigger: 'blur' },
{ min: 0, max: 50, message: this.$t('trials:researchForm:formRule:maxLength'), trigger: ['blur', 'change'] }
],
Phone: [
{ required: true, validator: checkPhone, trigger: 'blur' }
]
},
siteOptions: [],
loading: false,
state: null,
userTypeEnumInt: zzSessionStorage.getItem('userTypeEnumInt') * 1,
isShow: false,
notShowFieldList: []
}
},
methods: {
// 保存基本信息
handleSave(isAutoCommit) {
return new Promise(async(resolve) => {
try {
const valid = await this.$refs['researchBSForm'].validate()
if (valid) {
this.loading = true
const param = {
id: this.form.Id,
trialId: this.$route.query.trialId,
trialSiteId: this.form.TrialSiteId,
userName: this.form.UserName,
phone: this.form.Phone,
email: this.form.Email,
averageEngravingCycle: this.form.AverageEngravingCycle,
isConfirmImagingTechnologist: this.form.IsConfirmImagingTechnologist,
notConfirmReson: this.form.NotConfirmReson,
efficacyEvaluatorType: this.form.EfficacyEvaluatorType,
isFollowStudyParameters: this.form.IsFollowStudyParameters,
notFollowReson: this.form.NotFollowReson
}
const res = await addOrUpdateTrialSiteSurvey(param)
this.loading = false
if (res.IsSuccess && !isAutoCommit) {
this.$message.success(this.$t('common:message:savedSuccessfully'))
}
resolve(true)
} else {
if (isAutoCommit) {
this.$message.error(this.$t('trials:researchForm:button:msg1'))
}
resolve(false)
}
} catch (e) {
console.log(e)
resolve(false)
}
})
},
// 初始化
async initForm(trialInfo, trialSiteSurvey, notShowFieldList) {
// 获取项目下的site
const { Result } = await getTrialSiteSelect(this.$route.query.trialId)
this.siteOptions = Result
this.form.Id = trialSiteSurvey.Id
this.form.Sponsor = trialInfo.Sponsor // 申办方
this.form.ResearchProgramNo = trialInfo.ResearchProgramNo // 方案号
this.form.ExperimentName = trialInfo.ExperimentName
this.form.TrialCode = trialInfo.TrialCode // 项目编号
this.form.TrialSiteCode = trialSiteSurvey.TrialSiteCode
this.form.TrialSiteAliasName = trialSiteSurvey.TrialSiteAliasName // 项目别称
this.form.IndicationType = trialInfo.IndicationType // 适应症
this.form.TrialSiteId = trialSiteSurvey.TrialSiteId
this.form.UserName = trialSiteSurvey.UserName // 联系人
this.form.Phone = trialSiteSurvey.Phone // 联系人电话
this.form.Email = trialSiteSurvey.Email // 联系人邮箱
this.form.AverageEngravingCycle = trialSiteSurvey.AverageEngravingCycle
this.form.IsConfirmImagingTechnologist = trialSiteSurvey.IsConfirmImagingTechnologist
this.form.NotConfirmReson = trialSiteSurvey.NotConfirmReson
this.form.EfficacyEvaluatorType = trialSiteSurvey.EfficacyEvaluatorType
this.form.IsFollowStudyParameters = trialSiteSurvey.IsFollowStudyParameters
this.form.NotFollowReson = trialSiteSurvey.NotFollowReson
this.state = trialSiteSurvey.State
this.isShow = true
if (!notShowFieldList) return
this.notShowFieldList = notShowFieldList
},
handleSiteChange(val) {
var selected = this.siteOptions.find(item => item.TrialSiteId === val)
if (selected) {
this.form.TrialSiteCode = selected.TrialSiteCode
}
}
}
}
</script>
<style lang="scss" scoped>
.research_bs_content{
.basic_content{
padding: 0 20px;
background: #fff;
}
.login_content{
padding: 5px 20px;
margin-top: 5px;
background: #fff;
/deep/.el-form-item {
padding-bottom: 20px;
}
}
.code_content{
display:flex;
flex-direction: row;
justify-content: flex-start;
.el-input{
margin-right: 10px;
}
}
.form-label-width{
/deep/.el-form-item__label{
width: 140px;
}
/deep/.el-form-item__content{
margin-left: 140px;
}
}
.submit_content{
margin-top: 20px;
text-align: center;
}
/deep/.el-form-item {
margin-bottom: 0px;
padding-top: 5px;
border-bottom: 1px solid #f5f7fa;
.el-form-item__content{
color: #82848a;
}
}
}
</style>
@@ -0,0 +1,168 @@
<template>
<div
v-loading="loading"
class="equipment_form_content"
>
<el-form
ref="equipmentForm"
:model="form"
:rules="rules"
label-position="left"
>
<!-- 扫描设备 -->
<el-form-item :label="$t('trials:equiptResearch:form:equipment')" prop="EquipmentTypeId">
<el-select
v-model="form.EquipmentTypeId"
style="width:100%"
>
<el-option
v-for="item of $d.SiteSurvey_ScanEquipmentType"
:key="item.id"
:label="item.label"
:value="item.id"
/>
</el-select>
</el-form-item>
<!-- 扫描参数 -->
<el-form-item v-if="isShowParameters" :label="$t('trials:equiptResearch:form:param')">
<el-input v-model="form.Parameters" />
</el-form-item>
<!-- 扫描仪器制造商名称 -->
<el-form-item :label="$t('trials:equiptResearch:form:manufacturer')">
<el-input v-model="form.ManufacturerName" />
</el-form-item>
<!-- 扫描仪型号 -->
<el-form-item :label="$t('trials:equiptResearch:form:model')">
<el-input v-model="form.ScannerType" />
</el-form-item>
<!-- 备注 -->
<el-form-item :label="$t('trials:equiptResearch:form:remark')">
<el-input v-model="form.Note" />
</el-form-item>
<div style="text-align: center;padding:20px 0px;">
<!-- 取消 -->
<el-button
size="large"
type="primary"
@click="handleCancel"
>
{{ $t("common:button:cancel") }}
</el-button>
<!-- 保存 -->
<el-button
size="large"
type="primary"
@click="handleSave"
>
{{ $t("common:button:save") }}
</el-button>
</div>
</el-form>
</div>
</template>
<script>
import { addOrUpdateTrialSiteEquipmentSurvey } from '@/api/research'
import { getQueryString } from '@/utils/history.js'
export default {
name: 'EquipmentForm',
props: {
equipmentInfo: {
type: Object,
default() {
return {}
}
},
trialSiteSurveyEquipmentType: {
type: String,
default: ''
},
isShowParameters: {
type: Boolean,
default: false
}
},
data() {
return {
form: {
Id: '',
EquipmentTypeId: '',
Parameters: '',
ManufacturerName: '',
ScannerType: '',
Note: '',
TrialSiteSurveyId: ''
},
rules: {
EquipmentTypeId: [
{ required: true, message: this.$t('trials:researchForm:formRule:select'), trigger: ['blur', 'change'] }
]
},
loading: false,
dictionaryList: {}
}
},
mounted() {
this.initForm()
},
methods: {
async initForm() {
Object.keys(this.equipmentInfo).forEach(key => {
this.form[key] = this.equipmentInfo[key]
})
},
// 保存参与者信息
async handleSave() {
try {
const validate = await this.$refs.equipmentForm.validate()
if (!validate) return
this.loading = true
if (!this.form.TrialSiteSurveyId) {
this.form.TrialSiteSurveyId = getQueryString('trialSiteSurveyId')
}
const trialId = getQueryString('trialId')
const res = await addOrUpdateTrialSiteEquipmentSurvey(trialId, this.form)
this.loading = false
if (res.IsSuccess) {
this.$message.success(this.$t('common:message:savedSuccessfully'))
this.$emit('getList')
this.$emit('close')
}
} catch (e) {
this.loading = false
console.log(e)
}
},
handleTrialRoleChange(v) {
if (v === 1) {
// crc
this.form.IsGenerateAccount = true
this.form.UserTypeId = this.crcId
} else if (v === 2) {
// cra
this.form.IsGenerateAccount = true
this.form.UserTypeId = this.craId
} else {
this.form.IsGenerateAccount = false
this.form.UserTypeId = ''
}
},
// 取消保存
handleCancel() {
this.$emit('close')
}
}
}
</script>
<style lang="scss" scoped>
.equipment_form_content{
padding: 0 10px;
/deep/.el-form-item {
margin-bottom: 0px;
padding: 5px 0 20px 0;
border-bottom: 1px solid #f5f7fa;
.el-form-item__content{
color: #82848a;
}
}
}
</style>
@@ -0,0 +1,219 @@
<template>
<div class="equipments_content">
<div class="title">
<div>{{ $t('trials:equiptResearch:title:equiptResearch') }}</div>
<div v-if="state === 0 && userTypeEnumInt === 0 && !isHistory">
<el-button type="primary" icon="el-icon-plus" size="mini" @click="handleAdd">
{{ $t('common:button:add') }}
</el-button>
</div>
</div>
<div v-for="item in list" :key="item.name" class="equipment_info">
<div class="p_icon">
<i class="el-icon-receiving" />
</div>
<div class="p_info">
<div
class="p_info_basic"
:style="{maxWidth:w+'px','white-space': 'nowrap',
overflow: 'hidden',
'text-overflow': 'ellipsis'}"
>
<div class="p_text">{{ item.EquipmentType }}</div>
<div v-if="isShowParameters" class="p_text" style="margin-left:10px">{{ item.Parameters }}</div>
<div class="p_text" style="margin-left:10px">{{ item.ManufacturerName }}</div>
</div>
<div class="p_text">{{ item.ScannerType }}</div>
<div class="p_text">{{ item.Note }}</div>
</div>
<div v-if="state === 0 && userTypeEnumInt === 0 && !isHistory" class="p_func">
<el-button type="text" @click="handleEdit(item)">
<i class="el-icon-edit-outline" style="font-size: 20px;" />
</el-button>
<el-button type="text" @click="handleDelete(item)">
<i class="el-icon-delete" style="font-size: 20px;" />
</el-button>
</div>
</div>
<!-- 添加/编辑设备信息 -->
<el-drawer
:title="title"
:visible.sync="formVisible"
direction="btt"
size="70%"
>
<EquipmentForm
v-if="formVisible"
:equipment-info="equipmentInfo"
:is-show-parameters="isShowParameters"
@getList="getList"
@close="close"
/>
</el-drawer>
</div>
</template>
<script>
import { getTrialSiteEquipmentSurveyList, deleteTrialSiteEquipmentSurvey } from '@/api/research'
import EquipmentForm from './EquipmentForm'
import { getQueryString } from '@/utils/history.js'
export default {
name: 'EquipmentsResearch',
components: { EquipmentForm },
props: {
trialSiteSurveyEquipmentType: {
type: String,
default: ''
},
isHistory: {
type: Boolean,
default: false
}
},
data() {
return {
list: [],
formVisible: false,
title: '',
equipmentInfo: {},
w: 0,
loading: false,
userTypeEnumInt: 0,
state: null,
trialSiteSurveyId: '',
trialId: '',
isShowParameters: false
}
},
mounted() {
this.w = document.body.clientWidth - 200
if (zzSessionStorage.getItem('userTypeEnumInt')) {
this.userTypeEnumInt = zzSessionStorage.getItem('userTypeEnumInt') * 1
}
this.trialSiteSurveyId = getQueryString('trialSiteSurveyId')
this.trialId = getQueryString('trialId')
},
methods: {
// 获取列表数据
async getList() {
try {
this.loading = true
const res = await getTrialSiteEquipmentSurveyList(this.trialSiteSurveyId)
this.loading = false
if (res.IsSuccess) {
this.list = res.Result
}
} catch (e) {
this.loading = false
console.log(e)
}
},
// 新增
handleAdd() {
this.equipmentInfo = {}
this.title = this.$t('trials:equiptResearch:dialogTitle:add')
this.formVisible = true
},
// 编辑
handleEdit(obj) {
this.equipmentInfo = Object.assign({ ...obj })
this.title = this.$t('trials:equiptResearch:dialogTitle:edit')
this.formVisible = true
},
// 删除
async handleDelete(obj) {
try {
const confirm = await this.$confirm(
this.$t('trials:staffResearch:message:confirmDel'),
{
type: 'warning',
distinguishCancelAndClose: true
}
)
if (confirm !== 'confirm') return
this.loading = true
const res = await deleteTrialSiteEquipmentSurvey(obj.Id, this.trialId)
this.loading = false
if (res.IsSuccess) {
this.list.splice(this.list.findIndex((item) => item.Id === obj.Id), 1)
this.$message.success(this.$t('trials:equiptResearch:message:delSuccessfully'))
}
} catch (e) {
this.loading = false
console.log(e)
}
},
initList(TrialSiteEquipmentSurveyList, trialSiteSurvey, isShowParameters) {
this.isShowParameters = isShowParameters
this.list = TrialSiteEquipmentSurveyList
this.state = trialSiteSurvey.State
this.$forceUpdate()
console.log(this.list)
},
// 关闭窗口
close() {
this.formVisible = false
}
}
}
</script>
<style lang="scss" scoped>
.equipments_content{
background: #fff;
padding: 10px;
.title{
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
margin-bottom: 10px;
}
.equipment_info{
display: flex;
flex-direction: row;
justify-content: space-around;
align-items: center;
border-top: 1px solid #f5f7fa;
.p_icon{
width: 70px;
font-size: 25px;
font-weight: bold;
text-align: center;
}
.p_info{
position: relative;
flex:1;
display: flex;
flex-direction: column;
justify-content: space-evenly;
// border-right: 1px solid #f5f7fa;
font-size: 13px;
}
.p_info:after {
content: '';
position: absolute;
top: 50%;
transform: translateY(-50%);
right: 0;
height: 50px;
width: 1px;
background-color: #f5f7fa;
}
.p_info_basic{
display: flex;
flex-direction: row;
align-items: center;
}
.p_text{
line-height: 25px;
color: #82848a;
}
.p_func{
width: 80px;
padding: 0 10px;
text-align: center;
}
}
}
</style>
@@ -0,0 +1,304 @@
<template>
<div
v-loading="loading"
class="participants_form_content"
>
<el-form
ref="participantForm"
:model="form"
:rules="rules"
label-width="80px"
label-position="left"
>
<!-- -->
<el-form-item
:label="$t('trials:staffResearch:form:lastName')"
prop="LastName"
>
<span>{{ form.LastName }}</span>
</el-form-item>
<!-- -->
<el-form-item
:label="$t('trials:staffResearch:form:firstName')"
prop="FirstName"
>
<span>{{ form.FirstName }}</span>
</el-form-item>
<!-- 电话号码 -->
<el-form-item
:label="$t('trials:staffResearch:form:phone')"
prop="Phone"
>
<span>{{ form.Phone }}</span>
</el-form-item>
<!-- 邮箱 -->
<el-form-item
:label="$t('trials:staffResearch:form:email')"
prop="Email"
>
<span>{{ form.Email }}</span>
</el-form-item>
<!-- 单位 -->
<el-form-item
:label="$t('trials:staffResearch:form:organization')"
prop="OrganizationName"
>
<span>{{ form.Email }}</span>
</el-form-item>
<!-- 用户类型 -->
<el-form-item v-if="form.IsGenerateAccount" :label="$t('trials:staffResearch:form:userType')" prop="UserTypeId">
<el-select v-model="form.UserTypeId" style="width: 100%" disabled>
<el-option v-for="item of userTypeOptions" :key="item.Id" :label="item.UserTypeShortName" :value="item.Id">
<span>{{ item.UserType }}</span>
</el-option>
</el-select>
</el-form-item>
<!-- 更新状态 -->
<el-form-item :label="$t('trials:staffResearch:form:updateState')">
<el-radio-group v-model="form.IsHistoryUserDeleted" style="width: 100%">
<el-radio v-for="item of $d.IsUserExitTrial" :key="`IsHistoryUserDeleted${item.value}`" :label="item.value">{{
item.label }}</el-radio>
</el-radio-group>
</el-form-item>
<el-form-item
v-if="errorMsg"
label=""
>
<span
v-if="errorMsg"
style="font-size: 12px; color: #f66"
>
{{ errorMsg }}
</span>
</el-form-item>
<div style="text-align: center;padding:20px 0px;">
<!-- 取消 -->
<el-button
size="large"
type="primary"
@click="handleCancel"
>
{{ $t("common:button:cancel") }}
</el-button>
<!-- 保存 -->
<el-button
size="large"
type="primary"
@click="handleSave"
>
{{ $t("common:button:save") }}
</el-button>
</div>
</el-form>
</div>
</template>
<script>
import { addOrUpdateTrialSiteUserSurvey } from '@/api/research'
import { getUserTypeList } from '@/api/research'
import { getQueryString } from '@/utils/history.js'
export default {
name: 'ParticipantForm',
props: {
participantInfo: {
type: Object,
default() {
return {}
}
},
state: {
type: Number,
required: true
}
},
data() {
var validateEmail = (rule, value, callback) => {
if (value === '') {
callback(new Error(this.$t('trials:researchForm:formRule:specify')))
} else {
var reg =
/^[A-Za-z0-9]+([_\.][A-Za-z0-9]+)*@([A-Za-z0-9\-]+\.)+[A-Za-z]{2,6}$/
if (this.form.Email && reg.test(this.form.Email)) {
this.sendDisabled = false
callback()
} else {
callback(new Error(this.$t('trials:researchForm:formRule:email')))
this.sendDisabled = true
}
}
}
return {
form: {
Id: '',
LastName: null,
FirstName: null,
TrialRoleCode: null,
UserTypeId: null,
Phone: null,
Email: null,
OrganizationName: '',
IsGenerateAccount: false,
IsHistoryUserDeleted: ''
},
rules: {
LastName: [
{
required: true,
message: this.$t('trials:researchForm:formRule:specify'),
trigger: 'blur'
},
{
min: 0,
max: 50,
message: this.$t('trials:researchForm:formRule:maxLength'),
trigger: 'blur'
}
],
FirstName: [
{
required: true,
message: this.$t('trials:researchForm:formRule:specify'),
trigger: 'blur'
},
{
min: 0,
max: 50,
message: this.$t('trials:researchForm:formRule:maxLength'),
trigger: 'blur'
}
],
TrialRoleCode: [
{
required: true,
message: this.$t('trials:researchForm:formRule:select'),
trigger: ['blur', 'change']
}
],
UserTypeId: [
{
required: true,
message: this.$t('trials:researchForm:formRule:select'),
trigger: ['blur']
}
],
Phone: [
{
max: 50,
message: this.$t('common:ruleMessage:maxLength') + ' 50',
trigger: 'blur'
}
],
Email: [
{ required: true, validator: validateEmail, trigger: ['blur'] }
],
IsHistoryUserDeleted: [
{
required: true,
message: this.$t('trials:researchForm:formRule:select'),
trigger: ['blur', 'change']
}
]
},
userRoles: [],
userTypeOptions: [],
userTypeEnumInt: 0,
errorMsg: '',
loading: false
}
},
mounted() {
this.initForm()
},
methods: {
async initForm() {
this.loading = true
const res = await getUserTypeList(3)
if (res.IsSuccess) {
this.userTypeOptions = res.Result
var crcObj = res.Result.find((i) => i.UserTypeEnum === 2)
this.crcId = crcObj ? crcObj.Id : ''
var craObj = res.Result.find((i) => i.UserTypeEnum === 9)
this.craId = craObj ? craObj.Id : ''
}
Object.keys(this.participantInfo).forEach((key) => {
this.form[key] = this.participantInfo[key]
})
if (zzSessionStorage.getItem('userTypeEnumInt')) {
this.userTypeEnumInt = zzSessionStorage.getItem('userTypeEnumInt') * 1
}
this.loading = false
},
// 保存参与者信息
async handleSave() {
try {
const validate = await this.$refs.participantForm.validate()
if (!validate) return
this.loading = true
if (!this.form.TrialSiteSurveyId) {
this.form.TrialSiteSurveyId = getQueryString('trialSiteSurveyId')
}
const trialId = getQueryString('trialId')
const res = await addOrUpdateTrialSiteUserSurvey(trialId, this.form)
this.loading = false
if (res.IsSuccess) {
this.$message.success(
this.$t('common:message:savedSuccessfully')
)
this.$emit('close', { id: res.Result, errorMessage: '' })
}
} catch (e) {
if (e.Result && e.Result.Id && e.ErrorMessage) {
this.$emit('close', {
id: e.Result.Id,
errorMessage: e.ErrorMessage
})
} else {
console.log(e)
}
this.loading = false
}
},
handleTrialRoleChange(v) {
if (v === 1) {
// crc
this.form.IsGenerateAccount = true
this.form.UserTypeId = this.crcId
} else if (v === 2) {
// cra
this.form.IsGenerateAccount = true
this.form.UserTypeId = this.craId
} else {
this.form.IsGenerateAccount = false
this.form.UserTypeId = ''
}
},
// 取消保存
handleCancel() {
this.$emit('close')
},
handleIsCorrectChange(val) {
if (!val) {
this.form.IsGenerateAccount = false
}
},
handleIsGenerateAccountChange(val) {
if (!val) {
this.form.UserTypeId = ''
}
}
}
}
</script>
<style lang="scss" scoped>
.participants_form_content{
padding: 0 10px;
/deep/.el-form-item {
margin-bottom: 0px;
padding: 5px 0 20px 0;
border-bottom: 1px solid #f5f7fa;
.el-form-item__content{
color: #82848a;
}
}
}
</style>
@@ -0,0 +1,198 @@
<template>
<div class="participants_content">
<div class="title">
<div>{{ $t('trials:staffResearch:title:historicalStaff') }}</div>
</div>
<div v-for="item in list" :key="item.Id" class="participant_info">
<div class="p_icon">
<i class="el-icon-user" />
</div>
<div class="p_info">
<div
class="p_info_basic"
:style="{maxWidth:w+'px','white-space': 'nowrap',overflow: 'hidden','text-overflow': 'ellipsis'}"
>
<div class="p_text">{{ `${item.LastName} / ${item.FirstName}` }}</div>
<div class="p_text" style="margin:0 10px">{{ $fd('SiteSurvey_UserRoles',item.TrialRoleCode) }}</div>
</div>
<div class="p_text">{{ item.Phone }}</div>
<div class="p_text">{{ item.Email }}</div>
<div class="p_text">{{ item.OrganizationName }}</div>
</div>
<div v-if="state === 0 && (userTypeEnumInt===0 ) && !isHistory" class="p_func">
<!-- 编辑 -->
<el-button
v-if="userTypeEnumInt===0"
type="text"
@click="editParticipant(item)"
>
<i class="el-icon-edit-outline" style="font-size: 20px;" />
</el-button>
</div>
</div>
<!-- 编辑人员信息 -->
<el-drawer
:title="title"
:visible.sync="formVisible"
direction="btt"
size="70%"
>
<HistoricalParticipantForm
v-if="formVisible"
:state="state"
:participant-info="participantInfo"
@getList="getList"
@close="close"
/>
</el-drawer>
</div>
</template>
<script>
import { getTrialSiteUserSurveyList } from '@/api/research'
import HistoricalParticipantForm from './HistoricalParticipantForm'
import { getQueryString } from '@/utils/history.js'
export default {
name: 'HisParticipantsResearch',
components: { HistoricalParticipantForm },
props: {
isHistory: {
type: Boolean,
default: false
}
},
data() {
return {
loading: false,
list: [],
formVisible: false,
title: '',
participantInfo: null,
w: 0,
state: null,
trialSiteSurveyId: '',
trialId: '',
userTypeEnumInt: 0,
warningList: []
}
},
mounted() {
this.w = document.body.clientWidth - 200
if (zzSessionStorage.getItem('userTypeEnumInt')) {
this.userTypeEnumInt = zzSessionStorage.getItem('userTypeEnumInt') * 1
}
this.trialSiteSurveyId = getQueryString('trialSiteSurveyId')
this.trialId = getQueryString('trialId')
},
methods: {
// 获取参与者列表数据
async getList() {
try {
this.loading = true
var params = {
trialSiteSurveyId: this.trialSiteSurveyId,
isHistoryUser: true
}
const res = await getTrialSiteUserSurveyList(params)
this.loading = false
if (res.IsSuccess) {
res.Result.map(item => {
var obj = this.warningList.find(i => i.id === item.Id)
if (obj) {
item.ErrorMessage = obj.errorMessage
}
})
this.list = res.Result
}
} catch (e) {
this.loading = false
console.log(e)
}
},
// 编辑
editParticipant(row) {
this.participantInfo = Object.assign({ ...row })
this.title = this.$t('trials:staffResearch:dialogTitle:edit')
this.formVisible = true
},
// 初始化列表
initList(trialSiteUserSurveyList, trialSiteSurvey) {
this.list = trialSiteUserSurveyList
this.state = trialSiteSurvey.State
this.$forceUpdate()
},
// 关闭窗口
async close(obj) {
this.formVisible = false
var idx = this.warningList.findIndex(i => i.id === obj.id)
if (idx > -1) {
this.warningList[idx].errorMessage = obj.errorMessage
} else {
this.warningList.push({ id: obj.id, errorMessage: obj.errorMessage })
}
this.getList()
}
}
}
</script>
<style lang="scss" scoped>
.participants_content{
background: #fff;
padding: 10px;
.title{
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
margin-bottom: 10px;
}
.participant_info{
display: flex;
flex-direction: row;
justify-content: space-around;
align-items: center;
border-top: 1px solid #f5f7fa;
.p_icon{
width: 70px;
font-size: 25px;
font-weight: bold;
text-align: center;
}
.p_info{
position: relative;
flex:1;
display: flex;
flex-direction: column;
justify-content: space-evenly;
// border-right: 1px solid #f5f7fa;
font-size: 13px;
}
.p_info:after {
content: '';
position: absolute;
top: 50%;
transform: translateY(-50%);
right: 0;
height: 50px;
width: 1px;
background-color: #f5f7fa;
}
.p_info_basic{
display: flex;
flex-direction: row;
align-items: center;
}
.p_text{
line-height: 25px;
color: #82848a;
}
.p_func{
width: 80px;
padding: 0 10px;
text-align: center;
}
}
}
</style>
@@ -0,0 +1,47 @@
<template>
<div class="research_note">
<div class="title">
{{ $t('trials:equiptResearch:form:precautions') }}
</div>
<ol v-if="siteSurveyNoteInfo">
<div v-if="$i18n.locale === 'zh'" v-html="siteSurveyNoteInfo.ReplaceContentCN" />
<div v-else v-html="siteSurveyNoteInfo.ReplaceContent" />
</ol>
<ol v-else>
<!-- 只要有可能请确保受试者使用上述指定的扫描仪器采集影像 -->
<li>{{ $t('trials:equiptResearch:form:item1') }}</li>
<!-- 请确保对每位受试者的扫描参数在整个研究过程中保持一致 -->
<li>{{ $t('trials:equiptResearch:form:item2') }}</li>
<!-- 试验过程中如果有任何人员设备或扫描仪器的替换请立即通知我们 -->
<li>{{ $t('trials:equiptResearch:form:item3') }}</li>
<!-- 请保存好原始未经压缩的非重建的数据 -->
<li>{{ $t('trials:equiptResearch:form:item4') }}</li>
</ol>
</div>
</template>
<script>
export default {
name: 'ResearchNotes',
data() {
return {
siteSurveyNoteInfo: null
}
},
methods: {
initPage(siteSurveyNoteInfo) {
this.siteSurveyNoteInfo = siteSurveyNoteInfo
}
}
}
</script>
<style lang="scss" scoped>
.research_note{
background: #fff;
padding: 10px;
li{
line-height: 20px;
font-size: 14px;
color: #82848a;
}
}
</style>
@@ -0,0 +1,318 @@
<template>
<div
v-loading="loading"
class="participants_form_content"
>
<el-form
ref="participantForm"
:model="form"
:rules="rules"
label-width="80px"
label-position="left"
>
<!-- -->
<el-form-item
:label="$t('trials:staffResearch:form:lastName')"
prop="LastName"
>
<el-input
v-model="form.LastName"
:disabled="!(state === 0 && userTypeEnumInt === 0)"
/>
</el-form-item>
<!-- -->
<el-form-item
:label="$t('trials:staffResearch:form:firstName')"
prop="FirstName"
>
<el-input
v-model="form.FirstName"
:disabled="!(state === 0 && userTypeEnumInt === 0)"
/>
</el-form-item>
<!-- 角色 -->
<el-form-item
:label="$t('trials:staffResearch:form:role')"
prop="TrialRoleCode"
>
<el-select
v-model="form.TrialRoleCode"
:disabled="!(state === 0 && userTypeEnumInt === 0)"
style="width:100%"
@change="handleTrialRoleChange"
>
<el-option
v-for="item of $d.SiteSurvey_UserRoles"
:key="item.id"
:label="item.label"
:value="parseInt(item.value)"
/>
</el-select>
</el-form-item>
<!-- 电话号码 -->
<el-form-item
:label="$t('trials:staffResearch:form:phone')"
prop="Phone"
>
<el-input
v-model="form.Phone"
:disabled="!(state === 0 && userTypeEnumInt === 0)"
/>
</el-form-item>
<!-- 邮箱 -->
<el-form-item
:label="$t('trials:staffResearch:form:email')"
prop="Email"
>
<el-input
v-model="form.Email"
:disabled="!(state === 0 && userTypeEnumInt === 0)"
/>
</el-form-item>
<!-- 单位 -->
<el-form-item
:label="$t('trials:staffResearch:form:organization')"
prop="OrganizationName"
>
<el-input
v-model="form.OrganizationName"
:disabled="!(state === 0 && userTypeEnumInt === 0)"
/>
</el-form-item>
<el-form-item
v-if="errorMsg"
label=""
>
<span
v-if="errorMsg"
style="font-size: 12px; color: #f66"
>
{{ errorMsg }}
</span>
</el-form-item>
<div style="text-align: center;padding:20px 0px;">
<!-- 取消 -->
<el-button
size="large"
type="primary"
@click="handleCancel"
>
{{ $t("common:button:cancel") }}
</el-button>
<!-- 保存 -->
<el-button
size="large"
type="primary"
@click="handleSave"
>
{{ $t("common:button:save") }}
</el-button>
</div>
</el-form>
</div>
</template>
<script>
import { addOrUpdateTrialSiteUserSurvey } from '@/api/research'
import { getUserTypeList } from '@/api/research'
import { getQueryString } from '@/utils/history.js'
export default {
name: 'ParticipantForm',
props: {
participantInfo: {
type: Object,
default() {
return {}
}
},
state: {
type: Number,
required: true
}
},
data() {
var validateEmail = (rule, value, callback) => {
if (value === '') {
callback(new Error(this.$t('trials:researchForm:formRule:specify')))
} else {
var reg =
/^[A-Za-z0-9]+([_\.][A-Za-z0-9]+)*@([A-Za-z0-9\-]+\.)+[A-Za-z]{2,6}$/
if (this.form.Email && reg.test(this.form.Email)) {
this.sendDisabled = false
callback()
} else {
callback(new Error(this.$t('trials:researchForm:formRule:email')))
this.sendDisabled = true
}
}
}
return {
form: {
Id: '',
LastName: null,
FirstName: null,
TrialRoleCode: null,
UserTypeId: null,
Phone: null,
Email: null,
OrganizationName: '',
IsGenerateAccount: false,
IsDisable: false
},
rules: {
LastName: [
{
required: true,
message: this.$t('trials:researchForm:formRule:specify'),
trigger: 'blur'
},
{
min: 0,
max: 50,
message: this.$t('trials:researchForm:formRule:maxLength'),
trigger: 'blur'
}
],
FirstName: [
{
required: true,
message: this.$t('trials:researchForm:formRule:specify'),
trigger: 'blur'
},
{
min: 0,
max: 50,
message: this.$t('trials:researchForm:formRule:maxLength'),
trigger: 'blur'
}
],
TrialRoleCode: [
{
required: true,
message: this.$t('trials:researchForm:formRule:select'),
trigger: ['blur', 'change']
}
],
UserTypeId: [
{
required: true,
message: this.$t('trials:researchForm:formRule:select'),
trigger: ['blur']
}
],
Phone: [
{
max: 50,
message: this.$t('common:ruleMessage:maxLength') + ' 50',
trigger: 'blur'
}
],
Email: [
{ required: true, validator: validateEmail, trigger: ['blur'] }
]
},
userRoles: [],
userTypeOptions: [],
userTypeEnumInt: 0,
errorMsg: '',
crcId: '',
craId: '',
loading: false
}
},
mounted() {
this.initForm()
},
methods: {
async initForm() {
this.loading = true
const res = await getUserTypeList(3)
if (res.IsSuccess) {
this.userTypeOptions = res.Result
var crcObj = res.Result.find((i) => i.UserTypeEnum === 2)
this.crcId = crcObj ? crcObj.Id : ''
var craObj = res.Result.find((i) => i.UserTypeEnum === 9)
this.craId = craObj ? craObj.Id : ''
}
Object.keys(this.participantInfo).forEach((key) => {
this.form[key] = this.participantInfo[key]
})
if (zzSessionStorage.getItem('userTypeEnumInt')) {
this.userTypeEnumInt = zzSessionStorage.getItem('userTypeEnumInt') * 1
}
this.loading = false
},
// 保存参与者信息
async handleSave() {
try {
const validate = await this.$refs.participantForm.validate()
if (!validate) return
this.loading = true
if (!this.form.TrialSiteSurveyId) {
this.form.TrialSiteSurveyId = getQueryString('trialSiteSurveyId')
}
const trialId = getQueryString('trialId')
const res = await addOrUpdateTrialSiteUserSurvey(trialId, this.form)
this.loading = false
if (res.IsSuccess) {
this.$message.success(
this.$t('common:message:savedSuccessfully')
)
this.$emit('close', { id: res.Result, errorMessage: '' })
}
} catch (e) {
if (e.Result && e.Result.Id && e.ErrorMessage) {
this.$emit('close', {
id: e.Result.Id,
errorMessage: e.ErrorMessage
})
} else {
console.log(e)
}
this.loading = false
}
},
handleTrialRoleChange(v) {
if (v === 1) {
// crc
this.form.IsGenerateAccount = true
this.form.UserTypeId = this.crcId
} else if (v === 2) {
// cra
this.form.IsGenerateAccount = true
this.form.UserTypeId = this.craId
} else {
this.form.IsGenerateAccount = false
this.form.UserTypeId = ''
}
},
// 取消保存
handleCancel() {
this.$emit('close')
},
handleIsCorrectChange(val) {
if (!val) {
this.form.IsGenerateAccount = false
}
},
handleIsGenerateAccountChange(val) {
if (!val) {
this.form.UserTypeId = ''
}
}
}
}
</script>
<style lang="scss" scoped>
.participants_form_content{
padding: 0 10px;
/deep/.el-form-item {
margin-bottom: 0px;
padding: 5px 0 20px 0;
border-bottom: 1px solid #f5f7fa;
.el-form-item__content{
color: #82848a;
}
}
}
</style>
@@ -0,0 +1,249 @@
<template>
<div class="participants_content">
<div class="title">
<div>{{ $t('trials:staffResearch:title:newStaff') }}</div>
<div v-if="state === 0 && userTypeEnumInt === 0 && !isHistory">
<el-button
type="primary"
icon="el-icon-plus"
size="mini"
@click="addParticipant"
>
{{ $t('common:button:add') }}
</el-button>
</div>
</div>
<div v-for="item in list" :key="item.Id" class="participant_info">
<div class="p_icon">
<i class="el-icon-user" />
</div>
<div class="p_info">
<div
class="p_info_basic"
:style="{maxWidth:w+'px','white-space': 'nowrap',overflow: 'hidden','text-overflow': 'ellipsis'}"
>
<div class="p_text">{{ `${item.LastName} / ${item.FirstName}` }}</div>
<div class="p_text" style="margin:0 10px">{{ $fd('SiteSurvey_UserRoles',item.TrialRoleCode) }}</div>
</div>
<div class="p_text">{{ item.Phone }}</div>
<div class="p_text">{{ item.Email }}</div>
<div class="p_text">{{ item.OrganizationName }}</div>
</div>
<div v-if="state === 0 && (userTypeEnumInt===0 ) && !isHistory" class="p_func">
<!-- 编辑 -->
<el-button
type="text"
:disabled="state!==0 || item.IsGenerateSuccess"
@click="editParticipant(item)"
>
<i class="el-icon-edit-outline" style="font-size: 20px;" />
</el-button>
<!-- 移除 -->
<el-button
type="text"
:disabled="state!==0 || item.IsGenerateSuccess"
@click="removeParticipant(item)"
>
<i class="el-icon-delete" style="font-size: 20px;" />
</el-button>
</div>
</div>
<!-- 添加/编辑人员信息 -->
<el-drawer
:title="title"
:visible.sync="formVisible"
direction="btt"
size="70%"
>
<ParticipantForm
v-if="formVisible"
:state="state"
:participant-info="participantInfo"
@getList="getList"
@close="close"
/>
</el-drawer>
</div>
</template>
<script>
import { getTrialSiteUserSurveyList, deleteTrialSiteUserSurvey } from '@/api/research'
import ParticipantForm from './ParticipantForm'
import { getQueryString } from '@/utils/history.js'
export default {
name: 'ParticipantsResearch',
components: { ParticipantForm },
props: {
isHistory: {
type: Boolean,
default: false
}
},
data() {
return {
loading: false,
list: [],
formVisible: false,
title: '',
participantInfo: null,
w: 0,
state: null,
trialSiteSurveyId: '',
trialId: '',
userTypeEnumInt: 0,
warningList: []
}
},
mounted() {
this.w = document.body.clientWidth - 200
if (zzSessionStorage.getItem('userTypeEnumInt')) {
this.userTypeEnumInt = zzSessionStorage.getItem('userTypeEnumInt') * 1
}
this.trialSiteSurveyId = getQueryString('trialSiteSurveyId')
this.trialId = getQueryString('trialId')
},
methods: {
// 获取参与者列表数据
async getList() {
try {
this.loading = true
var params = {
trialSiteSurveyId: this.trialSiteSurveyId,
isHistoryUser: false
}
const res = await getTrialSiteUserSurveyList(params)
this.loading = false
if (res.IsSuccess) {
res.Result.map(item => {
var obj = this.warningList.find(i => i.id === item.Id)
if (obj) {
item.ErrorMessage = obj.errorMessage
}
})
this.list = res.Result
}
} catch (e) {
this.loading = false
console.log(e)
}
},
// 新增
addParticipant() {
this.participantInfo = {}
this.title = this.$t('trials:staffResearch:dialogTitle:add')
this.formVisible = true
},
// 编辑
editParticipant(obj) {
this.participantInfo = Object.assign({ ...obj })
this.title = this.$t('trials:staffResearch:dialogTitle:edit')
this.formVisible = true
},
// 删除
async removeParticipant(obj) {
try {
const confirm = await this.$confirm(
this.$t('trials:staffResearch:message:confirmDel'),
{
type: 'warning',
distinguishCancelAndClose: true
}
)
if (confirm !== 'confirm') return
this.loading = true
const res = await deleteTrialSiteUserSurvey(obj.Id, this.trialId)
this.loading = false
if (res.IsSuccess) {
this.list.splice(this.list.findIndex((item) => item.Id === obj.Id), 1)
this.$message.success(this.$t('trials:staffResearch:message:delSuccessfully'))
}
} catch (e) {
this.loading = false
console.log(e)
}
},
isExistIncorrect() {
return this.list.some(item => item.IsCorrect === false)
},
// 初始化列表
initList(trialSiteUserSurveyList, trialSiteSurvey) {
this.list = trialSiteUserSurveyList
this.state = trialSiteSurvey.State
this.$forceUpdate()
},
// 关闭窗口
async close(obj) {
this.formVisible = false
var idx = this.warningList.findIndex(i => i.id === obj.id)
if (idx > -1) {
this.warningList[idx].errorMessage = obj.errorMessage
} else {
this.warningList.push({ id: obj.id, errorMessage: obj.errorMessage })
}
this.getList()
}
}
}
</script>
<style lang="scss" scoped>
.participants_content{
background: #fff;
padding: 10px;
.title{
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
margin-bottom: 10px;
}
.participant_info{
display: flex;
flex-direction: row;
justify-content: space-around;
align-items: center;
border-top: 1px solid #f5f7fa;
.p_icon{
width: 70px;
font-size: 25px;
font-weight: bold;
text-align: center;
}
.p_info{
position: relative;
flex:1;
display: flex;
flex-direction: column;
justify-content: space-evenly;
// border-right: 1px solid #f5f7fa;
font-size: 13px;
}
.p_info:after {
content: '';
position: absolute;
top: 50%;
transform: translateY(-50%);
right: 0;
height: 50px;
width: 1px;
background-color: #f5f7fa;
}
.p_info_basic{
display: flex;
flex-direction: row;
align-items: center;
}
.p_text{
line-height: 25px;
color: #82848a;
}
.p_func{
width: 80px;
padding: 0 10px;
text-align: center;
}
}
}
</style>
+221
View File
@@ -0,0 +1,221 @@
<template>
<div v-loading="loading" class="research_detal_wrapper">
<div class="d_title">{{ $t('trials:researchForm:title:question') }}</div>
<div class="d_content">
<!-- 项目基本信息 -->
<BasicInfo ref="basicInfo" />
<!-- 历史人员 -->
<HistoricalParticipants ref="historicalParticipant" class="mt5" />
<!-- 新增人员 -->
<Participants ref="participants" class="mt5" />
<!-- 设备调研 -->
<Equipments ref="equipments" class="mt5" />
<!-- 备注 -->
<Notes ref="notes" class="mt5" />
</div>
<div class="d_footer">
<div class="d_func_row">
<div
v-if="state === 0 && userTypeEnumInt === 0"
class="d_func"
@click="handleSave"
>
{{ $t('common:button:save') }}
</div>
<div
v-if="(state === 0 && userTypeEnumInt === 0)"
class="d_func"
@click="handleSubmit('submit')"
>
{{ $t('trials:researchForm:button:submit') }}
</div>
</div>
</div>
</div>
</template>
<script>
import { getSiteSurveyInfo, trialSurveySubmit } from '@/api/research'
import { getQueryString } from '@/utils/history.js'
import BasicInfo from './components/BasicInfo'
import HistoricalParticipants from './components/HistoricalParticipants'
import Participants from './components/Participants'
import Equipments from './components/Equipments'
import Notes from './components/Notes'
export default {
name: 'ResearchMobileDetail',
components: {
BasicInfo,
HistoricalParticipants,
Participants, Equipments, Notes
},
data() {
return {
trialId: this.$route.query.trialId,
trialSiteSurveyId: '',
loading: false,
state: null,
userTypeEnumInt: 0,
rejectVisible: false,
rejectForm: { reason: '' },
siteSurveyNoteInfo: null
}
},
mounted() {
this.trialSiteSurveyId = getQueryString('trialSiteSurveyId')
this.initPage()
if (zzSessionStorage.getItem('userTypeEnumInt')) {
this.userTypeEnumInt = zzSessionStorage.getItem('userTypeEnumInt') * 1
}
},
methods: {
// 初始化页面
async initPage() {
try {
this.loading = true
const res = await getSiteSurveyInfo(this.trialId, this.trialSiteSurveyId)
if (res.Result) {
if (res.Result.SiteSurveyFiledConfig && res.Result.SiteSurveyFiledConfig.ModifyFiledList.length > 0) {
this.siteSurveyNoteInfo = res.Result.SiteSurveyFiledConfig.ModifyFiledList.find(i => i.NeedModifyFiled === 'SiteSurveyNote')
}
this.state = res.Result.TrialSiteSurvey.State
this.$refs['basicInfo'].initForm(res.Result.TrialInfo, res.Result.TrialSiteSurvey, res.Result.SiteSurveyFiledConfig ? res.Result.SiteSurveyFiledConfig.NotShowFieldList : null)
var historicalArr = []
var newArr = []
res.Result.TrialSiteUserSurveyList.map(i => {
if (i.IsHistoryUser) {
historicalArr.push(i)
} else {
newArr.push(i)
}
})
this.$refs['historicalParticipant'].initList(historicalArr, res.Result.TrialSiteSurvey)
this.$refs['participants'].initList(newArr, res.Result.TrialSiteSurvey)
this.$refs['equipments'].initList(res.Result.TrialSiteEquipmentSurveyList, res.Result.TrialSiteSurvey, !(res.Result.SiteSurveyFiledConfig && res.Result.SiteSurveyFiledConfig.ModifyFiledList.length > 0))
this.$refs['notes'].initPage(this.siteSurveyNoteInfo)
}
this.loading = false
} catch (e) {
this.loading = false
console.log(e)
}
},
// 保存
handleSave() {
this.$refs['basicInfo'].handleSave(false)
},
// 提交
async handleSubmit(type) {
if (this.userTypeEnumInt === 0) {
try {
this.loading = true
const res = await this.$refs['basicInfo'].handleSave(true)
this.loading = false
if (res) {
this.submit(type)
}
} catch (e) {
this.loading = false
console.log(e)
}
} else {
this.submit(type)
}
},
async submit(type) {
try {
const confirm = await this.$confirm(
this.userTypeEnumInt === 0 ? this.$t('trials:researchForm:message:submitWarning') : this.$t('trials:researchForm:message:submitWarning2'),
{
type: 'warning',
distinguishCancelAndClose: true
}
)
if (confirm !== 'confirm') return
var param = {
TrialId: this.trialId,
TrialSiteSurveyId: this.trialSiteSurveyId
}
const res = await trialSurveySubmit(param)
this.loading = false
if (res.IsSuccess) {
this.initPage()
if (type === 'approve') {
this.$message.success(this.$t('common:message:approvedSuccessfully'))
} else {
this.$message.success(this.$t('trials:researchForm:message:savedSuccessfully'))
}
}
} catch (e) {
this.loading = false
console.log(e)
}
},
// 退出
handleBack() {
this.$router.push({ path: `/researchLogin_m?trialId=${this.trialId}&lang=${this.$i18n.locale}` })
}
}
}
</script>
<style lang="scss" scoped>
.research_detal_wrapper{
background-color:#f5f7fa;
.d_title{
margin-bottom: 5px;
line-height: 80px;
font-size: 28px;
font-weight: bold;
text-align: center;
background: #fff;
position: sticky;
top: 0;
z-index: 10;
}
// .d_content{
// }
.d_footer{
position: sticky;
bottom: 0;
z-index: 10;
background-color: #f8f8f8;
line-height: 50px;
text-align: center;
// padding: 20px;
}
.d_func_row{
display: flex;
flex-direction: row;
justify-content: space-between;
}
.d_func{
flex: 1;
margin: 20px;
color: #fff;
background-color: #428bca;
border-color: #428bca;
padding: 12px 20px;
font-size: 14px;
border-radius: 4px;
transition: .1s;
font-weight: 500;
box-sizing: border-box;
outline: 0;
text-align: center;
line-height: 1;
white-space: nowrap;
cursor: pointer;
&:hover{
background: #68a2d5;
border-color: #68a2d5;
color: #fff;
}
}
.mt5{
margin-top: 5px
}
}
</style>
+406
View File
@@ -0,0 +1,406 @@
<template>
<div class="research_login_m_content">
<div class="title">{{ $t('trials:researchForm:title:question') }}</div>
<el-form
ref="loginForm"
v-loading="loading"
label-position="left"
label-width="120px"
:model="form"
:rules="rules"
>
<div class="basic_content">
<!-- 项目编号 -->
<el-form-item
:label="$t('trials:researchForm:form:trialId')"
>
<span>{{ form.TrialCode }}</span>
</el-form-item>
<!-- 试验方案号 -->
<el-form-item
:label="$t('trials:researchForm:form:researchNo')"
>
<span>{{ form.ResearchProgramNo }}</span>
</el-form-item>
<!-- 试验名称 -->
<el-form-item
:label="$t('trials:researchForm:form:researchName')"
>
<span>{{ form.ExperimentName }}</span>
</el-form-item>
<!-- 适应症类型 -->
<el-form-item
:label="$t('trials:researchForm:form:decleareType')"
>
<span>{{ form.IndicationType }}</span>
</el-form-item>
</div>
<div class="login_content">
<el-form-item
:label="$t('trials:researchForm:form:siteName')"
prop="SiteId"
>
<el-select
v-model="form.TrialSiteId"
filterable
style="width:100%;"
@change="handleSiteChange"
>
<el-option
v-for="(item,index) of siteOptions"
:key="index"
:label="item.TrialSiteAliasName"
:value="item.TrialSiteId"
/>
</el-select>
</el-form-item>
<el-form-item
v-if="form.TrialSiteId && isHaveSiteSurveyRecord"
label=""
style="text-align:right;"
>
<!-- 更新调研表 -->
<el-link
v-if="!form.IsUpdate"
type="primary"
@click="form.IsUpdate = true"
>
{{ $t('trials:researchForm:button:updateQsForm') }}
</el-link>
<!-- 取消更新调研表 -->
<el-link
v-else
type="primary"
@click="form.IsUpdate = false;form.ReplaceUserEmailOrPhone=''"
>
{{ $t('trials:researchForm:button:cancelUpdateQsForm') }}
</el-link>
</el-form-item>
<!-- 原调研表填写人邮箱 -->
<el-form-item
v-if="form.IsUpdate"
:label="$t('trials:researchForm:form:originalEmail')"
prop="ReplaceUserEmailOrPhone"
>
<el-input
v-model="form.ReplaceUserEmailOrPhone"
autocomplete="new-password"
/>
</el-form-item>
<!-- 联系邮箱 -->
<el-form-item
:label="$t('trials:researchForm:form:contactorEmail')"
prop="EmailOrPhone"
>
<el-input
v-model="form.EmailOrPhone"
autocomplete="new-password"
/>
</el-form-item>
<el-form-item
:label="$t('trials:researchForm:form:verifyCode')"
>
<div class="code_content">
<el-input
v-model="form.VerificationCode"
autocomplete="new-password"
/>
<el-button
type="primary"
:disabled="sendDisabled || !form.EmailOrPhone || count > 0"
@click="handleSendCode"
>
{{ this.$t('trials:researchForm:button:send') }} {{ sendTitle ? `${sendTitle}` : null }}
</el-button>
</div>
</el-form-item>
<div class="submit_content">
<el-button
size="large"
type="primary"
@click="onSubmit"
>
{{ $t('common:button:submit') }}
</el-button>
</div>
</div>
</el-form>
</div>
</template>
<script>
import { sendVerifyCode, verifySendCode, getTrialSurveyInitInfo } from '@/api/research'
import { getUserMenuTree, getUserPermissions } from '@/api/user'
import store from '@/store'
import { mapGetters, mapMutations } from 'vuex'
export default {
name: 'ResearchMobileLogin',
data() {
var checkPhone = (rule, value, callback) => {
const phoneReg = /^1[3|4|5|7|8][0-9]{9}$/
if (!value) {
return callback(new Error(this.$t('trials:researchForm:formRule:specify')))
}
setTimeout(() => {
if (!Number.isInteger(+value)) {
callback(new Error(this.$t('trials:researchForm:formRule:phone')))
} else {
if (phoneReg.test(value)) {
callback()
} else {
callback(new Error(this.$t('trials:researchForm:formRule:phone')))
}
}
}, 100)
}
var validateEmail = (rule, value, callback) => {
if (value === '') {
callback(new Error(this.$t('trials:researchForm:formRule:specify')))
} else {
var reg = /^[A-Za-z0-9]+([_\.][A-Za-z0-9]+)*@([A-Za-z0-9\-]+\.)+[A-Za-z]{2,6}$/
if (this.form.EmailOrPhone && reg.test(this.form.EmailOrPhone)) {
callback()
} else {
callback(new Error(this.$t('trials:researchForm:formRule:email')))
}
}
}
var validateReplaceEmail = (rule, value, callback) => {
if (value === '') {
callback(new Error(this.$t('trials:researchForm:formRule:specify')))
} else {
var reg = /^[A-Za-z0-9]+([_\.][A-Za-z0-9]+)*@([A-Za-z0-9\-]+\.)+[A-Za-z]{2,6}$/
if (this.form.ReplaceUserEmailOrPhone && reg.test(this.form.ReplaceUserEmailOrPhone)) {
callback()
} else {
callback(new Error(this.$t('trials:researchForm:formRule:email')))
}
}
}
return {
trialId: '',
form: {
Sponsor: null, // 申办方
ResearchProgramNo: null, // 方案号
TrialCode: null, // 项目编号
IndicationType: null, // 适应症
ExperimentName: '',
TrialSiteId: null, // 研究单位名称
UserName: null, // 联系人
Phone: '', // 联系人电话
EmailOrPhone: '',
TrialSiteCode: '',
IsUpdate: false,
ReplaceUserEmailOrPhone: '',
VerificationCode: ''
},
rules: {
TrialSiteId: [
{ required: true, message: this.$t('trials:researchForm:formRule:specify'), trigger: ['blur'] }
],
UserName: [
{ required: true, message: this.$t('trials:researchForm:formRule:specify'), trigger: ['blur'] },
{ min: 0, max: 50, message: this.$t('trials:researchForm:formRule:maxLength'), trigger: 'blur' }
],
Phone: [
{ required: true, validator: checkPhone, trigger: ['blur'] }
],
EmailOrPhone: [
{ required: true, validator: validateEmail, trigger: ['blur', 'change'] }
],
ReplaceUserEmailOrPhone: [
{ required: true, validator: validateReplaceEmail, trigger: ['blur'] }
],
VerificationCode: [{ required: true, validator: (rule, value, callback) => { !value ? callback(new Error(this.$t('trials:researchForm:formRule:specify'))) : callback() }, trigger: ['blur'] }]
},
siteOptions: [],
loading: false,
sendDisabled: false,
btnLoading: false,
sendTitle: '',
count: '',
timer: null,
msg: '',
lang: 'zh',
isHaveSiteSurveyRecord: false
}
},
computed: {
...mapGetters([
'asyncRoutes',
'routes',
'language'
])
},
mounted() {
this.$i18n.locale = this.$route.query.lang
this.setLanguage(this.$route.query.lang)
this.$updateDictionary()
if (this.$route.query.trialId) {
this.trialId = this.$route.query.trialId
this.initPage()
}
},
methods: {
...mapMutations({ setLanguage: 'lang/setLanguage' }),
// 初始化页面
async initPage() {
try {
this.loading = true
const res = await getTrialSurveyInitInfo(this.trialId)
this.loading = false
if (res.IsSuccess) {
this.siteOptions = res.Result.TrialSiteSelectList
}
Object.keys(this.form).forEach(key => {
if (res.Result.hasOwnProperty(key)) {
this.form[key] = res.Result[key]
}
})
} catch (e) {
this.loading = false
console.log(e)
}
},
// 提交
async onSubmit() {
const validate = await this.$refs.loginForm.validate()
if (!validate) return
try {
this.loading = true
if (!this.form.IsUpdate) {
this.form.ReplaceUserEmailOrPhone = ''
}
const param = {
trialSiteId: this.form.TrialSiteId,
userName: this.form.UserName,
phone: this.form.Phone,
verificationType: 0,
emailOrPhone: this.form.EmailOrPhone,
verificationCode: this.form.VerificationCode,
isUpdate: this.form.IsUpdate,
replaceUserEmailOrPhone: this.form.ReplaceUserEmailOrPhone,
trialId: this.trialId
}
const res = await verifySendCode(param)
if (res.IsSuccess) {
zzSessionStorage.clear()
this.$i18n.locale = this.$route.query.lang
this.setLanguage(this.$route.query.lang)
store.dispatch('user/setToken', res.Result.Token)
zzSessionStorage.setItem('TokenKey', res.Result.Token)
var permissions = await getUserPermissions()
var menuTree = await getUserMenuTree()
store.dispatch('user/setTree', menuTree.Result)
store.dispatch('user/setPermissions', permissions.Result)
this.$router.push({ path: `/researchDetail_m?trialId=${this.trialId}&trialSiteSurveyId=${res.Result.TrialSiteSurveyId}` })
this.loading = false
}
} catch (e) {
this.loading = false
this.sendDisabled = false
}
},
handleSiteChange(val) {
this.isHaveSiteSurveyRecord = false
var selected = this.siteOptions.find(item => item.TrialSiteId === val)
if (selected) {
this.form.TrialSiteCode = selected.TrialSiteCode
this.isHaveSiteSurveyRecord = selected.IsHaveSiteSurveyRecord
}
},
// 发送验证码
async handleSendCode() {
try {
this.loading = true
const param = {
Email: this.form.EmailOrPhone,
TrialId: this.trialId
}
const res = await sendVerifyCode(param)
if (res.IsSuccess) {
this.getCode()
this.loading = false
const msg = this.$t('trials:researchForm:tip:sendCode').replace('xxx', this.form.EmailOrPhone)
this.$message.success(msg)
} else {
this.$alert(res.ErrorMessage)
}
} catch (e) {
this.loading = false
console.log(e)
}
},
getCode() {
const TIME_COUNT = 60
if (!this.timer) {
this.count = TIME_COUNT
this.sendDisabled = true
this.timer = setInterval(() => {
if (this.count > 0 && this.count <= TIME_COUNT) {
this.sendTitle = `(${this.count}s)`
this.count--
} else {
this.sendDisabled = false
this.sendTitle = ''
clearInterval(this.timer)
this.timer = null
}
}, 1000)
}
},
onCancel() {
this.$refs['loginForm'].resetFields()
}
}
}
</script>
<style lang="scss" scoped>
.research_login_m_content{
background-color:#f5f7fa;
.title{
margin-bottom: 5px;
line-height: 80px;
font-size: 28px;
font-weight: bold;
text-align: center;
background: #fff;
}
.basic_content{
padding: 0 20px;
background: #fff;
}
.login_content{
padding: 5px 20px;
margin-top: 5px;
background: #fff;
/deep/.el-form-item {
padding-bottom: 20px;
}
}
.code_content{
display:flex;
flex-direction: row;
justify-content: flex-start;
.el-input{
margin-right: 10px;
}
}
.submit_content{
margin-top: 20px;
text-align: center;
}
/deep/.el-form-item {
margin-bottom: 0px;
padding-top: 5px;
border-bottom: 1px solid #f5f7fa;
.el-form-item__content{
color: #82848a;
}
}
}
</style>
@@ -5,7 +5,7 @@
<div class="upload-content">
<upload-files ref="uploadAgreement" :disabled="$route.query.ReviewStatus === '1'" :doctor-id="doctorId" type="Consultant Agreement" accept=".pdf" @getFileList="getFileList" />
</div>
<p>{{ $t('system:GcpCertificate:tap:must') }}</p>
<p>{{ $t('system:Agreements:tap:must') }}</p>
</div>
<div v-if="!$route.query.ReviewStatus">
<el-table :data="agreementList" size="small">
+146 -89
View File
@@ -6,122 +6,162 @@
v-loading="loading"
:model="form"
size="small"
:rules="rules"
>
<el-form-item label="国际化类型" prop="InternationalizationType">
<el-radio-group v-model="form.InternationalizationType">
<el-radio
v-for="item of $d.InternationalizationType"
:key="'InternationalizationType'+item.value"
:key="'InternationalizationType' + item.value"
:label="item.value"
>{{ item.label }}</el-radio>
>{{ item.label }}</el-radio
>
</el-radio-group>
</el-form-item>
<el-form-item label="状态" prop="State">
<el-radio-group v-model="form.State">
<el-radio
v-for="item of $d.InternationalizationKeyState"
:key="'InternationalizationKeyState'+item.value"
:key="'InternationalizationKeyState' + item.value"
:label="item.value"
>{{ item.label }}</el-radio>
>{{ item.label }}</el-radio
>
</el-radio-group>
</el-form-item>
<el-table
:data="form.AddList"
style="width: 100%"
height="300"
>
<el-table-column
prop=""
label="功能模块/服务名"
>
<el-form-item label="迭代" prop="PublishLogId">
<el-select v-model="form.PublishLogId" clearable filterable>
<el-option
v-for="item in PublishVersionList"
:key="item.Id"
:label="item.Version"
:value="item.Id"
/>
</el-select>
</el-form-item>
<el-table :data="form.AddList" style="width: 100%" height="300">
<el-table-column prop="" label="功能模块/服务名">
<template slot-scope="scope">
<el-form-item
label=""
:prop="`AddList.${scope.$index}.Description`"
:prop="`AddList.${scope.$index}.Module`"
:rules="[
{ required: true,message: $t('common:ruleMessage:specify'), trigger: ['change','blur']},
{ max: 200, message: `${$t('common:ruleMessage:maxLength')} 200` }
{
max: 200,
message: `${$t('common:ruleMessage:maxLength')} 200`,
trigger: ['change', 'blur'],
},
]"
>
<el-input
v-model="scope.row.Description"
v-model="scope.row.Module"
type="textarea"
maxlength="200"
:autosize="{ minRows: 2, maxRows: 4}"
:autosize="{ minRows: 2, maxRows: 4 }"
/>
</el-form-item>
</template>
</el-table-column>
<el-table-column
prop=""
label="标识"
>
<el-table-column prop="" label="标识">
<template slot-scope="scope">
<el-form-item
label=""
:prop="`AddList.${scope.$index}.Code`"
:rules="[
{ required: true,message: $t('common:ruleMessage:specify'), trigger: ['change','blur']},
{ max: 200, message: `${$t('common:ruleMessage:maxLength')} 200` }
{
required: true,
message: $t('common:ruleMessage:specify'),
trigger: ['change', 'blur'],
},
{
max: 200,
message: `${$t('common:ruleMessage:maxLength')} 200`,
},
]"
>
<el-input
v-model="scope.row.Code"
type="textarea"
maxlength="200"
:autosize="{ minRows: 2, maxRows: 4}"
:autosize="{ minRows: 2, maxRows: 4 }"
/>
</el-form-item>
</template>
</el-table-column>
<el-table-column
prop=""
label="中文值"
>
<el-table-column prop="" label="中文值">
<template slot-scope="scope">
<el-form-item
label=""
:prop="`AddList.${scope.$index}.ValueCN`"
:rules="[
{ required: true,message: $t('common:ruleMessage:specify'), trigger: ['change','blur']},
{ max: 1000, message: `${$t('common:ruleMessage:maxLength')} 1000` }
{
required: true,
message: $t('common:ruleMessage:specify'),
trigger: ['change', 'blur'],
},
{
max: 1000,
message: `${$t('common:ruleMessage:maxLength')} 1000`,
},
]"
>
<el-input
v-model="scope.row.ValueCN"
type="textarea"
maxlength="1000"
:autosize="{ minRows: 2, maxRows: 4}"
:autosize="{ minRows: 2, maxRows: 4 }"
/>
</el-form-item>
</template>
</el-table-column>
<el-table-column
prop=""
label="英文值"
>
<el-table-column prop="" label="英文值">
<template slot-scope="scope">
<el-form-item
label=""
:prop="`AddList.${scope.$index}.Value`"
:rules="[
{ required: true,message: $t('common:ruleMessage:specify'), trigger: ['change','blur']},
{ max: 1000, message: `${$t('common:ruleMessage:maxLength')} 1000` }
{
required: true,
message: $t('common:ruleMessage:specify'),
trigger: ['change', 'blur'],
},
{
max: 1000,
message: `${$t('common:ruleMessage:maxLength')} 1000`,
},
]"
>
<el-input
v-model="scope.row.Value"
type="textarea"
maxlength="1000"
:autosize="{ minRows: 2, maxRows: 4}"
:autosize="{ minRows: 2, maxRows: 4 }"
/>
</el-form-item>
</template>
</el-table-column>
<el-table-column
align="right"
width="100"
>
<el-table-column prop="" label="说明">
<template slot-scope="scope">
<el-form-item
label=""
:prop="`AddList.${scope.$index}.Description`"
:rules="[
{
max: 200,
message: `${$t('common:ruleMessage:maxLength')} 200`,
trigger: ['change', 'blur'],
},
]"
>
<el-input
v-model="scope.row.Description"
type="textarea"
maxlength="200"
:autosize="{ minRows: 2, maxRows: 4 }"
/>
</el-form-item>
</template>
</el-table-column>
<el-table-column align="right" width="100">
<template slot="header">
<!-- 新增 -->
<el-button
@@ -129,7 +169,8 @@
type="primary"
icon="el-icon-plus"
@click="handleAdd"
>{{ $t('common:button:new') }}</el-button>
>{{ $t("common:button:new") }}</el-button
>
</template>
<template slot-scope="scope">
<!-- 删除 -->
@@ -138,81 +179,97 @@
type="text"
icon="el-icon-delete"
@click="handleDelete(scope.$index)"
>{{ $t('common:button:delete') }}</el-button>
>{{ $t("common:button:delete") }}</el-button
>
</template>
</el-table-column>
</el-table>
</el-form>
</template>
<template slot="dialog-footer">
<el-button size="small" type="primary" @click="handleCancle">取消</el-button>
<el-button size="small" type="primary" @click="handleSave">保存</el-button>
<el-button size="small" type="primary" @click="handleCancle"
>取消</el-button
>
<el-button size="small" type="primary" @click="handleSave"
>保存</el-button
>
</template>
</base-model>
</template>
<script>
import { batchAddInternationalization } from '@/api/admin'
import BaseModel from '@/components/BaseModel'
import { batchAddInternationalization } from "@/api/admin";
import BaseModel from "@/components/BaseModel";
const formDataDefault = () => {
return {
State: 0,
InternationalizationType: 1,
AddList: []
}
}
PublishLogId: null,
AddList: [],
};
};
export default {
name: 'BatcnAddForm',
name: "BatcnAddForm",
components: { BaseModel },
data() {
return {
loading: false,
form: formDataDefault(),
model_cfg: { visible: false, showClose: true, width: '800px', title: '', appendToBody: true }
}
},
mounted() {
model_cfg: {
visible: false,
showClose: true,
width: "800px",
title: "",
appendToBody: true,
},
rules: {
PublishLogId: [{ required: true, message: "请选择", trigger: "blur" }],
},
PublishVersionList: [],
};
},
mounted() {},
methods: {
openDialog(title, data) {
this.model_cfg.visible = true
this.model_cfg.title = title
this.form = formDataDefault()
openDialog(title, data, options = []) {
this.PublishVersionList = options;
this.model_cfg.visible = true;
this.model_cfg.title = title;
this.form = formDataDefault();
},
handleSave() {
this.$refs.batcnAddForm.validate(valid => {
if (!valid) return
this.loading = true
batchAddInternationalization(this.form).then(res => {
this.loading = false
this.$message.success(this.$t('common:message:savedSuccessfully'))
this.model_cfg.visible = false
this.$emit('getList')
}).catch(() => {
this.loading = false
})
})
this.$refs.batcnAddForm.validate((valid) => {
if (!valid) return;
this.loading = true;
batchAddInternationalization(this.form)
.then((res) => {
this.loading = false;
this.$message.success(this.$t("common:message:savedSuccessfully"));
this.model_cfg.visible = false;
this.$emit("getList");
})
.catch(() => {
this.loading = false;
});
});
},
handleCancle() {
this.model_cfg.visible = false
this.model_cfg.visible = false;
},
handleAdd() {
this.form.AddList.push({
Description: '',
Code: '',
ValueCN: '',
Value: ''
})
Description: "",
Code: "",
ValueCN: "",
Value: "",
});
},
handleDelete(index) {
this.$confirm('是否确认删除?', {
type: 'warning',
distinguishCancelAndClose: true
this.$confirm("是否确认删除?", {
type: "warning",
distinguishCancelAndClose: true,
}).then(() => {
this.form.AddList.splice(index, 1)
})
}
}
}
this.form.AddList.splice(index, 1);
});
},
},
};
</script>
+130 -61
View File
@@ -9,147 +9,216 @@
label-width="130px"
size="small"
>
<el-form-item label="国际化类型" prop="InternationalizationType">
<el-form-item
label="国际化类型"
prop="InternationalizationType"
v-if="status !== 'batch'"
>
<el-radio-group v-model="form.InternationalizationType">
<el-radio
v-for="item of $d.InternationalizationType"
:key="'InternationalizationType'+item.value"
:key="'InternationalizationType' + item.value"
:label="item.value"
>{{ item.label }}</el-radio>
>{{ item.label }}</el-radio
>
</el-radio-group>
</el-form-item>
<el-form-item label="功能模块/服务名" prop="Description">
<el-form-item
label="功能模块/服务名"
prop="Module"
v-if="status !== 'batch'"
>
<el-input
v-model="form.Description"
v-model="form.Module"
type="textarea"
maxlength="200"
:autosize="{ minRows: 2, maxRows: 4}"
:autosize="{ minRows: 2, maxRows: 4 }"
/>
</el-form-item>
<el-form-item label="标识" prop="Code">
<el-form-item label="标识" prop="Code" v-if="status !== 'batch'">
<el-input
v-model="form.Code"
type="textarea"
maxlength="200"
:autosize="{ minRows: 2, maxRows: 4}"
:autosize="{ minRows: 2, maxRows: 4 }"
/>
</el-form-item>
<el-form-item label="中文值" prop="ValueCN">
<el-form-item label="中文值" prop="ValueCN" v-if="status !== 'batch'">
<el-input
v-model="form.ValueCN"
type="textarea"
maxlength="1000"
:autosize="{ minRows: 2, maxRows: 4}"
:autosize="{ minRows: 2, maxRows: 4 }"
/>
</el-form-item>
<el-form-item label="英文值" prop="Value">
<el-form-item label="英文值" prop="Value" v-if="status !== 'batch'">
<el-input
v-model="form.Value"
type="textarea"
maxlength="1000"
:autosize="{ minRows: 2, maxRows: 4}"
:autosize="{ minRows: 2, maxRows: 4 }"
/>
</el-form-item>
<el-form-item label="状态" prop="State">
<el-radio-group v-model="form.State">
<el-radio
v-for="item of $d.InternationalizationKeyState"
:key="'InternationalizationKeyState'+item.value"
:key="'InternationalizationKeyState' + item.value"
:label="item.value"
>{{ item.label }}</el-radio>
>{{ item.label }}</el-radio
>
</el-radio-group>
</el-form-item>
<el-form-item label="说明" prop="Description" v-if="status !== 'batch'">
<el-input
v-model="form.Description"
type="textarea"
maxlength="200"
:autosize="{ minRows: 2, maxRows: 4 }"
/>
</el-form-item>
<el-form-item label="迭代" prop="PublishLogId">
<el-select v-model="form.PublishLogId" clearable filterable>
<el-option
v-for="item in PublishVersionList"
:key="item.Id"
:label="item.Version"
:value="item.Id"
/>
</el-select>
</el-form-item>
</el-form>
</template>
<template slot="dialog-footer">
<el-button size="small" type="primary" @click="handleCancle">取消</el-button>
<el-button size="small" type="primary" @click="handleSave">保存</el-button>
<el-button size="small" type="primary" @click="handleCancle"
>取消</el-button
>
<el-button size="small" type="primary" @click="handleSave"
>保存</el-button
>
</template>
</base-model>
</template>
<script>
import { addOrUpdateInternationalization } from '@/api/admin'
import BaseModel from '@/components/BaseModel'
import { addOrUpdateInternationalization } from "@/api/admin";
import BaseModel from "@/components/BaseModel";
const formDataDefault = () => {
return {
Id: null,
State: 0,
Description: null,
Module: null,
Code: null,
Value: null,
ValueCN: null,
InternationalizationType: 1
}
}
InternationalizationType: 1,
PublishLogId: null,
};
};
export default {
name: 'I18nForm',
name: "I18nForm",
components: { BaseModel },
data() {
return {
status: "add", // add update batch
loading: false,
form: formDataDefault(),
rules: {
State: [
{ required: true, message: '请选择', trigger: 'blur' }
State: [{ required: true, message: "请选择", trigger: "blur" }],
Module: [
{
max: 200,
message: `${this.$t("common:ruleMessage:maxLength")} 200`,
trigger: "blur",
},
],
Description: [
{ required: true, message: '请注明', trigger: 'blur' },
{ max: 200, message: `${this.$t('common:ruleMessage:maxLength')} 200` }
{
max: 200,
message: `${this.$t("common:ruleMessage:maxLength")} 200`,
trigger: "blur",
},
],
Code: [
{ required: true, message: '请注明', trigger: 'blur' },
{ max: 200, message: `${this.$t('common:ruleMessage:maxLength')} 200` }
{ required: true, message: "请注明", trigger: "blur" },
{
max: 200,
message: `${this.$t("common:ruleMessage:maxLength")} 200`,
},
],
Value: [
{ required: true, message: '请注明', trigger: 'blur' },
{ max: 1000, message: `${this.$t('common:ruleMessage:maxLength')} 1000` }
{ required: true, message: "请注明", trigger: "blur" },
{
max: 1000,
message: `${this.$t("common:ruleMessage:maxLength")} 1000`,
},
],
ValueCN: [
{ required: true, message: '请注明', trigger: 'blur' },
{ max: 1000, message: `${this.$t('common:ruleMessage:maxLength')} 1000` }
{ required: true, message: "请注明", trigger: "blur" },
{
max: 1000,
message: `${this.$t("common:ruleMessage:maxLength")} 1000`,
},
],
InternationalizationType: [
{ required: true, message: '请选择', trigger: 'blur' }
]
{ required: true, message: "请选择", trigger: "blur" },
],
PublishLogId: [{ required: true, message: "请选择", trigger: "blur" }],
},
model_cfg: { visible: false, showClose: true, width: '600px', title: '', appendToBody: true }
}
},
mounted() {
model_cfg: {
visible: false,
showClose: true,
width: "600px",
title: "",
appendToBody: true,
},
PublishVersionList: [],
};
},
mounted() {},
methods: {
openDialog(title, data) {
this.model_cfg.visible = true
this.model_cfg.title = title
openDialog(title, data, options = [], status) {
this.PublishVersionList = options;
this.status = status;
this.model_cfg.visible = true;
this.model_cfg.title = title;
if (Object.keys(data).length > 0) {
for (const k in this.form) {
if (data.hasOwnProperty(k)) {
this.form[k] = data[k]
this.form[k] = data[k];
}
}
} else {
this.form = formDataDefault()
this.form = formDataDefault();
}
},
handleSave() {
this.$refs.i18nForm.validate(valid => {
if (!valid) return
this.loading = true
addOrUpdateInternationalization(this.form).then(res => {
this.loading = false
this.$message.success(this.$t('common:message:savedSuccessfully'))
this.model_cfg.visible = false
this.$emit('getList')
}).catch(() => {
this.loading = false
})
})
this.$refs.i18nForm.validate((valid) => {
if (!valid) return;
this.loading = true;
if (this.status === "batch") {
return this.$emit("batch", this.form);
}
addOrUpdateInternationalization(this.form)
.then((res) => {
this.loading = false;
this.$message.success(this.$t("common:message:savedSuccessfully"));
this.model_cfg.visible = false;
this.$emit("getList");
})
.catch(() => {
this.loading = false;
});
});
},
handleCancle() {
this.model_cfg.visible = false
}
}
}
this.model_cfg.visible = false;
},
},
};
</script>
<style lang="scss" scoped>
::v-deep .el-select {
width: 100%;
}
</style>
+251 -109
View File
@@ -7,11 +7,11 @@
v-model="searchData.InternationalizationType"
clearable
filterable
style="width:130px;"
style="width: 130px"
>
<el-option
v-for="item of $d.InternationalizationType"
:key="'InternationalizationType'+item.value"
:key="'InternationalizationType' + item.value"
:label="item.label"
:value="item.value"
/>
@@ -19,10 +19,10 @@
</el-form-item>
<el-form-item label="功能模块/服务名">
<el-input
v-model="searchData.Description"
v-model="searchData.Module"
size="small"
clearable
style="width:130px;"
style="width: 130px"
/>
</el-form-item>
<el-form-item label="标识">
@@ -30,7 +30,7 @@
v-model="searchData.Code"
size="small"
clearable
style="width:130px;"
style="width: 130px"
/>
</el-form-item>
<el-form-item label="中文值">
@@ -38,27 +38,55 @@
v-model="searchData.ValueCN"
size="small"
clearable
style="width:130px;"
style="width: 130px"
/>
</el-form-item>
<el-form-item label="英文值">
<el-input
v-model="searchData.Value"
size="small"
style="width:130px;"
style="width: 130px"
clearable
/>
</el-form-item>
<el-form-item label="状态">
<el-select v-model="searchData.State" clearable filterable style="width:130px;">
<el-select
v-model="searchData.State"
clearable
filterable
style="width: 130px"
>
<el-option
v-for="item of $d.InternationalizationKeyState"
:key="'InternationalizationKeyState'+item.value"
:key="'InternationalizationKeyState' + item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
</el-form-item>
<el-form-item label="说明">
<el-input
v-model="searchData.Description"
size="small"
clearable
style="width: 130px"
/>
</el-form-item>
<el-form-item label="迭代">
<el-select
v-model="searchData.PublishLogId"
clearable
filterable
style="width: 130px"
>
<el-option
v-for="item in PublishVersionList"
:key="item.Id"
:label="item.Version"
:value="item.Id"
/>
</el-select>
</el-form-item>
<el-form-item>
<el-button
type="primary"
@@ -84,20 +112,27 @@
>
批量新增
</el-button>
<el-button
type="primary"
icon="el-icon-edit-outline"
size="mini"
:disabled="selectTableList.length <= 0"
@click="handleBatchUpdate"
>
批量更新
</el-button>
</el-form-item>
</el-form>
<el-table
v-loading="loading"
v-adaptive="{bottomOffset:45}"
v-adaptive="{ bottomOffset: 45 }"
height="100"
:data="list"
class="table"
@sort-change="handleSortByColumn"
>
<el-table-column
type="index"
width="50"
/>
@selection-change="handleSelectionChange"
><el-table-column type="selection" width="50" />
<el-table-column type="index" width="50" />
<el-table-column
label="国际化类型"
prop="InternationalizationType"
@@ -106,21 +141,42 @@
sortable="custom"
>
<template slot-scope="scope">
<el-tag v-if="scope.row.InternationalizationType === 0" type="primary">
{{ $fd('InternationalizationType', scope.row.InternationalizationType) }}
<el-tag
v-if="scope.row.InternationalizationType === 0"
type="primary"
>
{{
$fd(
"InternationalizationType",
scope.row.InternationalizationType
)
}}
</el-tag>
<el-tag v-else-if="scope.row.InternationalizationType === 1" type="warning">
{{ $fd('InternationalizationType', scope.row.InternationalizationType) }}
<el-tag
v-else-if="scope.row.InternationalizationType === 1"
type="warning"
>
{{
$fd(
"InternationalizationType",
scope.row.InternationalizationType
)
}}
</el-tag>
<el-tag v-else>
{{ $fd('InternationalizationType', scope.row.InternationalizationType) }}
{{
$fd(
"InternationalizationType",
scope.row.InternationalizationType
)
}}
</el-tag>
</template>
</el-table-column>
<el-table-column
label="功能模块/服务名"
prop="Description"
min-width="100"
prop="Module"
min-width="120"
show-overflow-tooltip
sortable="custom"
/>
@@ -154,16 +210,30 @@
>
<template slot-scope="scope">
<el-tag v-if="scope.row.State === 0" type="danger">
{{ $fd('InternationalizationKeyState', scope.row.State) }}
{{ $fd("InternationalizationKeyState", scope.row.State) }}
</el-tag>
<el-tag v-else-if="scope.row.State === 1" type="primary">
{{ $fd('InternationalizationKeyState', scope.row.State) }}
{{ $fd("InternationalizationKeyState", scope.row.State) }}
</el-tag>
<el-tag v-else>
{{ $fd('InternationalizationKeyState', scope.row.State) }}
{{ $fd("InternationalizationKeyState", scope.row.State) }}
</el-tag>
</template>
</el-table-column>
<el-table-column
label="说明"
prop="Description"
min-width="100"
show-overflow-tooltip
sortable="custom"
/>
<el-table-column
label="迭代"
prop="Version"
min-width="100"
show-overflow-tooltip
sortable="custom"
/>
<el-table-column
label="更新时间"
prop="UpdateTime"
@@ -197,11 +267,10 @@
>
删除
</el-button>
</template>
</el-table-column>
</el-table>
<div class="pagination" style="text-align: right;margin-top:5px;">
<div class="pagination" style="text-align: right; margin-top: 5px">
<pagination
:total="total"
:page.sync="searchData.PageIndex"
@@ -209,20 +278,22 @@
@pagination="getList"
/>
</div>
<i18n-form
ref="i18nForm"
@getList="getList"
/>
<i18n-form ref="i18nForm" @getList="getList" @batch="batch" />
<BatchAddForm ref="batcnAddForm" @getList="getList" />
</div>
</div>
</template>
<script>
import { getInternationalizationList, deleteInternationalization } from '@/api/admin'
import Pagination from '@/components/Pagination'
import I18nForm from './components/I18nForm.vue'
import BatchAddForm from './components/BatchAddForm.vue'
import moment from 'moment'
import {
getInternationalizationList,
deleteInternationalization,
getPublishVersionSelect,
batchUpdateInternationalInfo,
} from "@/api/admin";
import Pagination from "@/components/Pagination";
import I18nForm from "./components/I18nForm.vue";
import BatchAddForm from "./components/BatchAddForm.vue";
import moment from "moment";
const searchDataDefault = () => {
return {
Description: null,
@@ -230,14 +301,16 @@ const searchDataDefault = () => {
ValueCN: null,
InternationalizationType: null,
State: null,
Module: null,
PublishLogId: null,
Asc: true,
SortField: '',
SortField: "",
PageIndex: 1,
PageSize: 20
}
}
PageSize: 20,
};
};
export default {
name: 'I18n',
name: "I18n",
components: { Pagination, I18nForm, BatchAddForm },
data() {
return {
@@ -245,100 +318,169 @@ export default {
searchData: searchDataDefault(),
list: [],
total: 0,
loading: false
}
loading: false,
PublishVersionList: [],
selectTableList: [],
};
},
mounted() {
this.getList()
this.getList();
this.getPublishVersionSelect();
},
methods: {
// 获取迭代
async getPublishVersionSelect() {
try {
let res = await getPublishVersionSelect();
if (res.IsSuccess) {
this.PublishVersionList = res.Result;
}
} catch (err) {
console.log(err);
}
},
getList() {
this.loading = true
getInternationalizationList(this.searchData).then((res) => {
this.loading = false
this.list = res.Result.CurrentPageData
this.total = res.Result.TotalCount
}).catch(() => {
this.loading = false
})
this.loading = true;
getInternationalizationList(this.searchData)
.then((res) => {
this.loading = false;
this.list = res.Result.CurrentPageData;
this.total = res.Result.TotalCount;
})
.catch(() => {
this.loading = false;
});
},
// 批量更新
handleBatchUpdate() {
this.$nextTick(() => {
this.$refs["i18nForm"].openDialog(
"批量更新",
{},
this.PublishVersionList,
"batch"
);
});
},
async batch(row) {
let { PublishLogId, State } = row;
let data = {
PublishLogId,
State,
IdList: this.selectTableList.map((item) => item.Id),
};
try {
let res = await batchUpdateInternationalInfo(data);
if (res.IsSuccess) {
this.$message.success(this.$t("common:message:updatedSuccessfully"));
this.getList();
this.$nextTick(() => {
this.$refs["i18nForm"].handleCancle();
});
}
} catch (err) {
console.log(err);
}
},
handleAdd() {
this.$nextTick(() => {
this.$refs['i18nForm'].openDialog('新增', {})
})
this.$refs["i18nForm"].openDialog(
"新增",
{},
this.PublishVersionList,
"add"
);
});
},
handleBatchAdd() {
this.$nextTick(() => {
this.$refs['batcnAddForm'].openDialog('批量新增', {})
})
this.$refs["batcnAddForm"].openDialog(
"批量新增",
{},
this.PublishVersionList
);
});
},
handleEdit(row) {
this.$nextTick(() => {
this.$refs['i18nForm'].openDialog('编辑', row)
})
this.$refs["i18nForm"].openDialog(
"编辑",
row,
this.PublishVersionList,
"update"
);
});
},
// 重置列表查询
handleReset() {
this.searchData = searchDataDefault()
this.getList()
this.searchData = searchDataDefault();
this.getList();
},
// 删除
handleDelete(row) {
this.$confirm('是否确认删除?', {
type: 'warning',
distinguishCancelAndClose: true
})
.then(() => {
this.loading = true
deleteInternationalization(row.Id)
.then(res => {
this.loading = false
if (res.IsSuccess) {
this.getList()
this.$message.success(this.$t('common:message:deletedSuccessfully'))
}
}).catch(() => { this.loading = false })
})
this.$confirm("是否确认删除?", {
type: "warning",
distinguishCancelAndClose: true,
}).then(() => {
this.loading = true;
deleteInternationalization(row.Id)
.then((res) => {
this.loading = false;
if (res.IsSuccess) {
this.getList();
this.$message.success(
this.$t("common:message:deletedSuccessfully")
);
}
})
.catch(() => {
this.loading = false;
});
});
},
// 排序
handleSortByColumn(column) {
if (column.order === 'ascending') {
this.searchData.Asc = true
if (column.order === "ascending") {
this.searchData.Asc = true;
} else {
this.searchData.Asc = false
this.searchData.Asc = false;
}
this.searchData.SortField = column.prop
this.searchData.PageIndex = 1
this.getList()
this.searchData.SortField = column.prop;
this.searchData.PageIndex = 1;
this.getList();
},
// 选择
handleSelectionChange(val) {
this.selectTableList = val;
},
},
};
</script>
<style lang="scss">
.log {
height: 100%;
box-sizing: border-box;
display: flex;
padding: 10px;
border-radius: 5px;
.left {
display: flex;
flex-direction: column;
width: 0;
flex-grow: 4;
// border-right: 1px solid #ccc;
.filter-container {
display: flex;
align-items: center;
margin: 5px;
}
.data-table {
flex: 1;
padding: 5px 0px;
}
.pagination-container {
text-align: right;
}
}
}
</script>
<style lang="scss">
.log {
height: 100%;
box-sizing: border-box;
display: flex;
padding: 10px;
border-radius: 5px;
.left {
display: flex;
flex-direction: column;
width: 0;
flex-grow: 4;
// border-right: 1px solid #ccc;
.filter-container {
display: flex;
align-items: center;
margin: 5px;
}
.data-table {
flex: 1;
padding: 5px 0px;
}
.pagination-container {
text-align: right;
}
}
}
</style>
+90 -45
View File
@@ -10,46 +10,72 @@
size="small"
>
<el-form-item label="发布版本" prop="Version">
<el-input
v-model="form.Version"
/>
<el-input v-model="form.Version" />
</el-form-item>
<el-form-item label="更新功能" prop="UpdateContent">
<el-input
v-model="form.UpdateContent"
type="textarea"
maxlength="1000"
:autosize="{ minRows: 4, maxRows: 5}"
:autosize="{ minRows: 4, maxRows: 5 }"
/>
</el-form-item>
<el-form-item label="发布日期" prop="PublishTime">
<el-form-item label="发布状态" prop="State">
<el-select v-model="form.State" placeholder="请选择">
<el-option
v-for="item in $d.PublishStatus"
:key="item.id"
:label="item.label"
:value="item.value"
>
</el-option>
</el-select>
</el-form-item>
<el-form-item label="发布日期">
<el-date-picker
v-model="form.PublishTime"
type="date"
value-format="yyyy-MM-dd HH:mm:ss"
/>
</el-form-item>
<el-form-item label="是否当前版本" prop="IsCurrentVersion">
<el-select v-model="form.IsCurrentVersion" placeholder="请选择">
<el-option
v-for="item in $d.YesOrNo"
:key="item.id"
:label="item.label"
:value="item.value"
>
</el-option>
</el-select>
</el-form-item>
</el-form>
</template>
<template slot="dialog-footer">
<el-button size="small" type="primary" @click="handleCancle">取消</el-button>
<el-button size="small" type="primary" @click="handleSave">保存</el-button>
<el-button size="small" type="primary" @click="handleCancle"
>取消</el-button
>
<el-button size="small" type="primary" @click="handleSave"
>保存</el-button
>
</template>
</base-model>
</template>
<script>
import { addOrUpdatePublishLog } from '@/api/admin'
import BaseModel from '@/components/BaseModel'
import { addOrUpdatePublishLog } from "@/api/admin";
import BaseModel from "@/components/BaseModel";
const formDataDefault = () => {
return {
Id: null,
Version: null,
PublishTime: null,
UpdateContent: null
}
}
UpdateContent: null,
State: null,
IsCurrentVersion: null,
};
};
export default {
name: 'LogForm',
name: "LogForm",
components: { BaseModel },
data() {
return {
@@ -57,54 +83,73 @@ export default {
form: formDataDefault(),
rules: {
Version: [
{ required: true, message: '请注明', trigger: 'blur' },
{ max: 50, message: `${this.$t('common:ruleMessage:maxLength')} 50` }
{ required: true, message: "请注明", trigger: "blur" },
{ max: 50, message: `${this.$t("common:ruleMessage:maxLength")} 50` },
],
PublishTime: [
{ required: true, message: '请注明', trigger: 'blur' }
// PublishTime: [
// { required: true, message: '请注明', trigger: 'blur' }
// ],
IsCurrentVersion: [
{ required: true, message: "请选择", trigger: "blur" },
],
State: [{ required: true, message: "请选择", trigger: "blur" }],
UpdateContent: [
{ required: true, message: '请注明', trigger: 'blur' },
{ max: 1000, message: `${this.$t('common:ruleMessage:maxLength')} 500` }
]
{ required: true, message: "请注明", trigger: "blur" },
{
max: 1000,
message: `${this.$t("common:ruleMessage:maxLength")} 500`,
},
],
},
model_cfg: { visible: false, showClose: true, width: '500px', title: '', appendToBody: true }
}
},
mounted() {
model_cfg: {
visible: false,
showClose: true,
width: "500px",
title: "",
appendToBody: true,
},
};
},
mounted() {},
methods: {
openDialog(title, data) {
this.model_cfg.visible = true
this.model_cfg.title = title
this.model_cfg.visible = true;
this.model_cfg.title = title;
if (Object.keys(data).length > 0) {
for (const k in this.form) {
if (data.hasOwnProperty(k)) {
this.form[k] = data[k]
this.form[k] = data[k];
}
}
} else {
this.form = formDataDefault()
this.form = formDataDefault();
}
},
handleSave() {
this.$refs.LogForm.validate(valid => {
if (!valid) return
this.loading = true
addOrUpdatePublishLog(this.form).then(res => {
this.loading = false
this.$message.success(this.$t('common:message:savedSuccessfully'))
this.model_cfg.visible = false
this.$emit('getList')
}).catch(() => {
this.loading = false
})
})
this.$refs.LogForm.validate((valid) => {
if (!valid) return;
this.loading = true;
addOrUpdatePublishLog(this.form)
.then((res) => {
this.loading = false;
this.$message.success(this.$t("common:message:savedSuccessfully"));
this.model_cfg.visible = false;
this.$emit("getList");
})
.catch(() => {
this.loading = false;
});
});
},
handleCancle() {
this.model_cfg.visible = false
}
}
}
this.model_cfg.visible = false;
},
},
};
</script>
<style lang="scss" scoped>
::v-deep .el-select,
.el-date-editor {
width: 100%;
}
</style>
+114 -106
View File
@@ -2,25 +2,11 @@
<div class="log">
<div ref="leftContainer" class="left">
<el-form :inline="true">
<el-form-item
label="发布版本"
prop="Version"
>
<el-input
v-model="searchData.Version"
size="small"
clearable
/>
<el-form-item label="发布版本" prop="Version">
<el-input v-model="searchData.Version" size="small" clearable />
</el-form-item>
<el-form-item
label="更新功能"
prop="UpdateContent"
>
<el-input
v-model="searchData.UpdateContent"
size="small"
clearable
/>
<el-form-item label="更新功能" prop="UpdateContent">
<el-input v-model="searchData.UpdateContent" size="small" clearable />
</el-form-item>
<el-form-item>
<el-button
@@ -43,17 +29,14 @@
</el-form>
<el-table
v-loading="loading"
v-adaptive="{bottomOffset:45}"
v-adaptive="{ bottomOffset: 45 }"
height="100"
:data="list"
class="table"
@sort-change="handleSortByColumn"
:default-sort="{prop:'PublishTime',order:'descending'}"
:default-sort="{ prop: 'PublishTime', order: 'descending' }"
>
<el-table-column
type="index"
width="50"
/>
<el-table-column type="index" width="50" />
<el-table-column
label="发布版本"
prop="Version"
@@ -67,6 +50,16 @@
min-width="150"
show-overflow-tooltip
/>
<el-table-column
label="发布状态"
prop="State"
min-width="150"
show-overflow-tooltip
>
<template slot-scope="scope">
<span>{{ $fd("PublishStatus", scope.row.State) }}</span>
</template>
</el-table-column>
<el-table-column
label="发布日期"
prop="PublishTime"
@@ -75,10 +68,23 @@
sortable="custom"
>
<template slot-scope="scope">
{{ scope.row.PublishTime?moment(scope.row.PublishTime).format('YYYY-MM-DD'):'' }}
{{
scope.row.PublishTime
? moment(scope.row.PublishTime).format("YYYY-MM-DD")
: ""
}}
</template>
</el-table-column>
<el-table-column
label="是否当前版本"
prop="IsCurrentVersion"
min-width="150"
show-overflow-tooltip
>
<template slot-scope="scope">
<span>{{ $fd("YesOrNo", scope.row.IsCurrentVersion) }}</span>
</template>
</el-table-column>
<el-table-column
label="操作"
fixed="right"
@@ -103,11 +109,10 @@
>
删除
</el-button>
</template>
</el-table-column>
</el-table>
<div class="pagination" style="text-align: right;margin-top:5px;">
<div class="pagination" style="text-align: right; margin-top: 5px">
<pagination
:total="total"
:page.sync="searchData.PageIndex"
@@ -115,28 +120,25 @@
@pagination="getList"
/>
</div>
<log-form
ref="LogForm"
@getList="getList"
/>
<log-form ref="LogForm" @getList="getList" />
</div>
</div>
</template>
<script>
import { getPublishLogList, deletePublishLog } from '@/api/admin'
import Pagination from '@/components/Pagination'
import LogForm from './components/LogForm.vue'
import moment from 'moment'
import { getPublishLogList, deletePublishLog } from "@/api/admin";
import Pagination from "@/components/Pagination";
import LogForm from "./components/LogForm.vue";
import moment from "moment";
const searchDataDefault = () => {
return {
Version: null,
UpdateContent: null,
Asc: false,
SortField: 'PublishTime',
SortField: "PublishTime",
PageIndex: 1,
PageSize: 20
}
}
PageSize: 20,
};
};
export default {
components: { Pagination, LogForm },
data() {
@@ -145,95 +147,101 @@ export default {
searchData: searchDataDefault(),
list: [],
total: 0,
loading: false
}
loading: false,
};
},
mounted() {
this.getList()
this.getList();
},
methods: {
getList() {
this.loading = true
getPublishLogList(this.searchData).then((res) => {
this.loading = false
this.list = res.Result.CurrentPageData
this.total = res.Result.TotalCount
}).catch(() => {
this.loading = false
})
this.loading = true;
getPublishLogList(this.searchData)
.then((res) => {
this.loading = false;
this.list = res.Result.CurrentPageData;
this.total = res.Result.TotalCount;
})
.catch(() => {
this.loading = false;
});
},
handleAdd() {
this.$nextTick(() => {
this.$refs['LogForm'].openDialog('新增', {})
})
this.$refs["LogForm"].openDialog("新增", {});
});
},
handleEdit(row) {
this.$nextTick(() => {
this.$refs['LogForm'].openDialog('编辑', row)
})
this.$refs["LogForm"].openDialog("编辑", row);
});
},
// 重置列表查询
handleReset() {
this.searchData = searchDataDefault()
this.getList()
this.searchData = searchDataDefault();
this.getList();
},
// 删除
handleDelete(row) {
this.$confirm('是否确认删除?', {
type: 'warning',
distinguishCancelAndClose: true
})
.then(() => {
this.loading = true
deletePublishLog(row.Id)
.then(res => {
this.loading = false
if (res.IsSuccess) {
this.getList()
this.$message.success(this.$t('common:message:deletedSuccessfully'))
}
}).catch(() => { this.loading = false })
})
this.$confirm("是否确认删除?", {
type: "warning",
distinguishCancelAndClose: true,
}).then(() => {
this.loading = true;
deletePublishLog(row.Id)
.then((res) => {
this.loading = false;
if (res.IsSuccess) {
this.getList();
this.$message.success(
this.$t("common:message:deletedSuccessfully")
);
}
})
.catch(() => {
this.loading = false;
});
});
},
// 排序
handleSortByColumn(column) {
if (column.order === 'ascending') {
this.searchData.Asc = true
if (column.order === "ascending") {
this.searchData.Asc = true;
} else {
this.searchData.Asc = false
this.searchData.Asc = false;
}
this.searchData.SortField = column.prop
this.searchData.PageIndex = 1
this.getList()
this.searchData.SortField = column.prop;
this.searchData.PageIndex = 1;
this.getList();
},
},
};
</script>
<style lang="scss">
.log {
height: 100%;
box-sizing: border-box;
display: flex;
padding: 10px;
border-radius: 5px;
.left {
display: flex;
flex-direction: column;
width: 0;
flex-grow: 4;
// border-right: 1px solid #ccc;
.filter-container {
display: flex;
align-items: center;
margin: 5px;
}
.data-table {
flex: 1;
padding: 5px 0px;
}
.pagination-container {
text-align: right;
}
}
}
</script>
<style lang="scss">
.log {
height: 100%;
box-sizing: border-box;
display: flex;
padding: 10px;
border-radius: 5px;
.left {
display: flex;
flex-direction: column;
width: 0;
flex-grow: 4;
// border-right: 1px solid #ccc;
.filter-container {
display: flex;
align-items: center;
margin: 5px;
}
.data-table {
flex: 1;
padding: 5px 0px;
}
.pagination-container {
text-align: right;
}
}
}
</style>
+398 -172
View File
@@ -1,21 +1,38 @@
<template>
<div class="app-container my_menu">
<el-form :inline="true">
<el-form-item label="菜单名称">
<el-form-item :label="$t('system:menu:search:menuName')">
<el-input
v-model="queryParams.menuName"
placeholder="请输入菜单名称"
placeholder=""
clearable
size="small"
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="状态">
<el-select v-model="queryParams.visible" placeholder="菜单状态" clearable size="small" />
<el-form-item :label="$t('system:menu:search:visible')">
<el-select
v-model="queryParams.visible"
placeholder=""
clearable
size="small"
/>
</el-form-item>
<el-form-item>
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
<el-button type="primary" icon="el-icon-plus" size="mini" @click="handleAdd">新增</el-button>
<el-button
type="primary"
icon="el-icon-search"
size="mini"
@click="handleQuery"
>{{ $t("system:menu:button:search") }}</el-button
>
<el-button
type="primary"
icon="el-icon-plus"
size="mini"
@click="handleAdd"
>{{ $t("system:menu:button:add") }}</el-button
>
</el-form-item>
</el-form>
<div>
@@ -25,7 +42,8 @@
icon="el-icon-sort"
size="mini"
@click="toggleExpandAll"
>展开/折叠</el-button>
>{{ $t("system:menu:button:foldAndExpand") }}</el-button
>
</div>
<el-table
v-if="refreshTable"
@@ -33,38 +51,106 @@
:data="menuList"
:default-expand-all="isExpandAll"
row-key="MenuId"
:tree-props="{children: 'Children', hasChildren: 'hasChildren'}"
:tree-props="{ children: 'Children', hasChildren: 'hasChildren' }"
>
<el-table-column prop="MenuName" label="菜单名称" :show-overflow-tooltip="true" min-width="130px" />
<el-table-column prop="icon" label="图标" align="center" min-width="100px">
<el-table-column
prop="MenuName"
:label="$t('system:menu:table:menuName')"
:show-overflow-tooltip="true"
min-width="130px"
/>
<el-table-column
prop="icon"
:label="$t('system:menu:table:icon')"
align="center"
min-width="100px"
>
<template slot-scope="scope">
<svg-icon :icon-class="scope.row.MenuIcon" />
</template>
</el-table-column>
<el-table-column prop="ShowOrder" label="排序" min-width="60px" />
<el-table-column prop="Path" label="路由" min-width="120px" show-overflow-tooltip />
<el-table-column prop="ApiPath" label="接口名" min-width="180px" show-overflow-tooltip />
<el-table-column prop="Component" label="组件路径" min-width="180px" :show-overflow-tooltip="true" />
<!-- <el-table-column prop="Redirect" label="重定向" min-width="180px" :show-overflow-tooltip="true" />-->
<el-table-column prop="PermissionStr" label="权限标识" min-width="130px" :show-overflow-tooltip="true" />
<el-table-column prop="PermissionStr" label="类型" min-width="80px" :show-overflow-tooltip="true">
<el-table-column
prop="ShowOrder"
:label="$t('system:menu:table:showOrder')"
min-width="60px"
/>
<el-table-column
prop="Path"
:label="$t('system:menu:table:path')"
min-width="120px"
show-overflow-tooltip
/>
<el-table-column
prop="ApiPath"
:label="$t('system:menu:table:apiPath')"
min-width="180px"
show-overflow-tooltip
/>
<el-table-column
prop="Component"
:label="$t('system:menu:table:component')"
min-width="180px"
:show-overflow-tooltip="true"
/>
<!-- <el-table-column prop="Redirect" label="重定向" min-width="180px" :show-overflow-tooltip="true" />-->
<el-table-column
prop="PermissionStr"
:label="$t('system:menu:table:permissionStr')"
min-width="130px"
:show-overflow-tooltip="true"
/>
<el-table-column
prop="PermissionStr"
:label="$t('system:menu:table:type')"
min-width="80px"
:show-overflow-tooltip="true"
>
<template slot-scope="scope">
{{ scope.row.MenuType === 'M' ? '目录' : scope.row.MenuType === 'C' ? '菜单' : '权限点' }}
{{
scope.row.MenuType === "M"
? $t("system:menu:template:message:directttory")
: scope.row.MenuType === "C"
? $t("system:menu:template:message:menu")
: $t("system:menu:template:message:permission")
}}
</template>
</el-table-column>
<el-table-column label="显影" align="center" prop="CreateTime" min-width="80">
<el-table-column
:label="$t('system:menu:table:showOrNone')"
align="center"
prop="CreateTime"
min-width="80"
>
<template slot-scope="scope">
<el-tag v-if="!scope.row.IsDisplay" size="medium">显示</el-tag>
<el-tag v-else size="warning">隐藏</el-tag>
<el-tag v-if="!scope.row.IsDisplay" size="medium">{{
$t("system:menu:tag:show")
}}</el-tag>
<el-tag v-else size="warning">{{
$t("system:menu:tag:none")
}}</el-tag>
</template>
</el-table-column>
<el-table-column label="启用" align="center" prop="CreateTime" min-width="80">
<el-table-column
:label="$t('system:menu:table:enable')"
align="center"
prop="CreateTime"
min-width="80"
>
<template slot-scope="scope">
<el-tag v-if="scope.row.IsEnable" size="success">启用</el-tag>
<el-tag v-else size="danger">禁用</el-tag>
<el-tag v-if="scope.row.IsEnable" size="success">{{
$t("system:menu:tag:enable")
}}</el-tag>
<el-tag v-else size="danger">{{
$t("system:menu:tag:disable")
}}</el-tag>
</template>
</el-table-column>
<el-table-column label="操作" align="center" min-width="180" class-name="small-padding fixed-width">
<el-table-column
:label="$t('system:menu:table:action')"
align="center"
min-width="180"
class-name="small-padding fixed-width"
>
<template slot-scope="scope">
<el-button
v-hasPermi="['system:menu:edit']"
@@ -72,51 +158,72 @@
type="text"
icon="el-icon-edit"
@click="handleUpdate(scope.row)"
>修改</el-button>
>{{ $t("system:menu:button:edit") }}</el-button
>
<el-button
v-hasPermi="['system:menu:add']"
size="mini"
type="text"
icon="el-icon-plus"
@click="handleAdd(scope.row)"
>新增</el-button>
>{{ $t("system:menu:button:add") }}</el-button
>
<el-button
v-hasPermi="['system:menu:delete']"
size="mini"
type="text"
icon="el-icon-delete"
@click="handleDelete(scope.row)"
>删除</el-button>
>{{ $t("system:menu:button:remove") }}</el-button
>
</template>
</el-table-column>
</el-table>
<!-- 添加或修改菜单对话框 -->
<el-dialog :title="title" :close-on-click-modal="false" :visible.sync="open" width="680px" append-to-body>
<el-dialog
:title="title"
:close-on-click-modal="false"
:visible.sync="open"
width="680px"
append-to-body
>
<el-form ref="form" :model="form" :rules="rules" label-width="100px">
<el-row>
<el-col :span="24">
<el-form-item label="上级菜单">
<el-form-item :label="$t('system:menu:form:lastMenu')">
<treeselect
v-model="form.ParentId"
:options="menuOptions"
:normalizer="normalizer"
:show-count="true"
placeholder="选择上级菜单"
placeholder=""
/>
</el-form-item>
</el-col>
<el-col :span="24">
<el-form-item label="菜单类型" prop="menuType">
<el-form-item
:label="$t('system:menu:form:menuType')"
prop="menuType"
>
<el-radio-group v-model="form.MenuType">
<el-radio label="M">目录</el-radio>
<el-radio label="C">菜单</el-radio>
<el-radio label="F">权限点</el-radio>
<el-radio label="M">{{
$t("system:menu:template:message:directttory")
}}</el-radio>
<el-radio label="C">{{
$t("system:menu:template:message:menu")
}}</el-radio>
<el-radio label="F">{{
$t("system:menu:template:message:permission")
}}</el-radio>
</el-radio-group>
</el-form-item>
</el-col>
<el-col :span="24">
<el-form-item v-if="form.MenuType != 'F'" label="菜单图标">
<el-form-item
v-if="form.MenuType != 'F'"
:label="$t('system:menu:form:menuIcon')"
>
<el-popover
placement="bottom-start"
width="460"
@@ -124,118 +231,182 @@
@show="$refs['iconSelect'].reset()"
>
<IconSelect ref="iconSelect" @selected="selected" />
<el-input slot="reference" v-model="form.MenuIcon" placeholder="点击选择图标" readonly>
<el-input
slot="reference"
v-model="form.MenuIcon"
placeholder="点击选择图标"
readonly
>
<svg-icon
v-if="form.MenuIcon"
slot="prefix"
:icon-class="form.MenuIcon"
class="el-input__icon"
style="height: 28px;width: 16px;margin-left: 6px;"
style="height: 28px; width: 16px; margin-left: 6px"
/>
<i
v-else
slot="prefix"
class="el-icon-search el-input__icon"
/>
<i v-else slot="prefix" class="el-icon-search el-input__icon" />
</el-input>
</el-popover>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="菜单名称" prop="MenuName">
<el-input v-model="form.MenuName" placeholder="请输入菜单名称" />
<el-form-item
:label="$t('system:menu:form:menuName')"
prop="MenuName"
>
<el-input v-model="form.MenuName" placeholder="" />
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="显示排序" prop="ShowOrder">
<el-input-number v-model="form.ShowOrder" controls-position="right" :min="0" />
<el-form-item
:label="$t('system:menu:form:showOrder')"
prop="ShowOrder"
>
<el-input-number
v-model="form.ShowOrder"
controls-position="right"
:min="0"
/>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item v-if="form.MenuType != 'F'">
<span slot="label">
<el-tooltip content="选择是外链则路由地址需要以`http(s)://`开头" placement="top">
<!--选择是外链则路由地址需要以`http(s)://`开头-->
<el-tooltip
:content="$t('system:menu:form:isExternalLinkMessage')"
placement="top"
>
<i class="el-icon-question" />
</el-tooltip>
是否外链
{{ $t("system:menu:form:isExternalLink") }}
</span>
<el-radio-group v-model="form.IsExternalLink">
<el-radio v-for="item of $d.YesOrNo" :label="item.value">{{item.label}}</el-radio>
<el-radio
v-for="item of $d.YesOrNo"
:label="item.value"
:key="item.id"
>{{ item.label }}</el-radio
>
</el-radio-group>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item v-if="form.MenuType != 'F'" prop="path">
<span slot="label">
<el-tooltip content="访问的路由地址,如:`user`,如外网地址需内链访问则以`http(s)://`开头" placement="top">
<!--访问的路由地址`user`如外网地址需内链访问则以`http(s)://`开头-->
<el-tooltip
:content="$t('system:menu:form:pathMessage')"
placement="top"
>
<i class="el-icon-question" />
</el-tooltip>
路由地址
{{ $t("system:menu:form:path") }}
</span>
<el-input v-model="form.Path" placeholder="请输入路由地址" />
<el-input v-model="form.Path" placeholder="" />
</el-form-item>
</el-col>
<el-col v-if="form.MenuType == 'C'" :span="12">
<el-form-item prop="component">
<span slot="label">
<el-tooltip content="访问的组件路径,如:`system/user/index`,默认在`views`目录下" placement="top">
<!--访问的组件路径`system/user/index`默认在`views`目录下-->
<el-tooltip
:content="$t('system:menu:form:componentMessage')"
placement="top"
>
<i class="el-icon-question" />
</el-tooltip>
组件路径
{{ $t("system:menu:form:component") }}
</span>
<el-input v-model="form.Component" placeholder="请输入组件路径" />
<el-input v-model="form.Component" placeholder="" />
</el-form-item>
</el-col>
<el-col v-if="form.MenuType != 'F'" :span="12">
<el-form-item prop="Redirect Path">
<span slot="label">
<el-tooltip content="重定向路由,如:`/system/user/index`" placement="top">
<!--重定向路由`/system/user/index`-->
<el-tooltip
:content="$t('system:menu:form:redirectPathMessage')"
placement="top"
>
<i class="el-icon-question" />
</el-tooltip>
重定向
{{ $t("system:menu:form:redirectPath") }}
</span>
<el-input v-model="form.Redirect" placeholder="请输入重定向路由" />
<el-input v-model="form.Redirect" placeholder="" />
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item v-if="form.MenuType != 'M'">
<el-input v-model="form.PermissionStr" placeholder="请输入权限标识" maxlength="100" />
<el-input
v-model="form.PermissionStr"
placeholder=""
maxlength="100"
/>
<span slot="label">
<el-tooltip content="控制器中定义的权限字符,如:@PreAuthorize(`@ss.hasPermi('system:user:list')`)" placement="top">
<!--控制器中定义的权限字符@PreAuthorize(`@ss.hasPermi('system:user:list')`)-->
<el-tooltip
:content="$t('system:menu:form:permissionStrMessage')"
placement="top"
>
<i class="el-icon-question" />
</el-tooltip>
权限字符
{{ $t("system:menu:form:permissionStr") }}
</span>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item v-if="form.MenuType != 'M'">
<el-input v-model="form.ApiPath" placeholder="接口名" />
<el-input v-model="form.ApiPath" placeholder="" />
<span slot="label">
<el-tooltip content="接口名" placement="top">
<!--接口名-->
<el-tooltip
:content="$t('system:menu:form:apiPathMessage')"
placement="top"
>
<i class="el-icon-question" />
</el-tooltip>
接口名
{{ $t("system:menu:form:apiPath") }}
</span>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item v-if="form.MenuType == 'C'">
<span slot="label">
<el-tooltip content="选择是则会被`keep-alive`缓存,需要匹配组件的`name`和地址保持一致" placement="top">
<!--选择是则会被`keep-alive`缓存需要匹配组件的`name`和地址保持一致-->
<el-tooltip
:content="$t('system:menu:form:isCacheMessage')"
placement="top"
>
<i class="el-icon-question" />
</el-tooltip>
是否缓存
{{ $t("system:menu:form:isCache") }}
</span>
<el-radio-group v-model="form.IsCache">
<el-radio :label="true">缓存</el-radio>
<el-radio :label="false">不缓存</el-radio>
<el-radio :label="true">{{
$t("system:menu:form:radio:cache")
}}</el-radio>
<el-radio :label="false">{{
$t("system:menu:form:radio:notCache")
}}</el-radio>
</el-radio-group>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item v-if="form.MenuType != 'F'">
<span slot="label">
<el-tooltip content="选择隐藏则路由将不会出现在侧边栏但仍然可以访问" placement="top">
<!--选择隐藏则路由将不会出现在侧边栏但仍然可以访问-->
<el-tooltip
:content="$t('system:menu:form:isDisplayMessage')"
placement="top"
>
<i class="el-icon-question" />
</el-tooltip>
是否隐藏
{{ $t("system:menu:form:isDisplay") }}
</span>
<el-switch
v-model="form.IsDisplay"
@@ -247,10 +418,14 @@
<el-col :span="12">
<el-form-item v-if="form.MenuType != 'F'">
<span slot="label">
<el-tooltip content="选择隐藏则不会在trials模块的TAB中显示,但仍然可以访问" placement="top">
<!--c-->
<el-tooltip
:content="$t('system:menu:form:isInTabDisplayMessage')"
placement="top"
>
<i class="el-icon-question" />
</el-tooltip>
Tab显隐
{{ $t("system:menu:form:isInTabDisplay") }}
</span>
<el-switch
v-model="form.IsInTabDisplay"
@@ -262,10 +437,14 @@
<el-col :span="12">
<el-form-item v-if="form.MenuType != 'F'">
<span slot="label">
<el-tooltip content="选择停用则路由将不会出现在侧边栏也不能被访问" placement="top">
<!--选择停用则路由将不会出现在侧边栏也不能被访问-->
<el-tooltip
:content="$t('system:menu:form:isEnablesMessage')"
placement="top"
>
<i class="el-icon-question" />
</el-tooltip>
菜单状态
{{ $t("system:menu:form:isEnable") }}
</span>
<el-switch
v-model="form.IsEnable"
@@ -275,33 +454,41 @@
</el-form-item>
</el-col>
<el-col v-if="form.MenuType != 'F'" :span="24">
<el-form-item label="LangMark">
<el-form-item :label="$t('system:menu:form:LangMark')">
<el-input v-model="form.LanguageMark" placeholder="LangMark" />
</el-form-item>
</el-col>
<el-col v-if="form.MenuType != 'F'" :span="24">
<el-form-item label="mate">
<el-input v-model="form.Meta" type="textarea" placeholder="{ title: 'Setting', breadcrumb: false, role: [8, 1, 2, 3, 10] }" />
<el-form-item :label="$t('system:menu:form:meta')">
<el-input
v-model="form.Meta"
type="textarea"
placeholder="{ title: 'Setting', breadcrumb: false, role: [8, 1, 2, 3, 10] }"
/>
</el-form-item>
</el-col>
</el-row>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button type="primary" @click="submitForm"> </el-button>
<el-button @click="cancel"> </el-button>
<el-button type="primary" @click="submitForm">{{
$t("system:menu:button:save")
}}</el-button>
<el-button @click="cancel">{{
$t("system:menu:button:canel")
}}</el-button>
</div>
</el-dialog>
</div>
</template>
<script>
import { getMenuList, addOrUpdateMenu, deleteMenu } from '@/api/system/menu'
import Treeselect from '@riophae/vue-treeselect'
import '@riophae/vue-treeselect/dist/vue-treeselect.css'
import IconSelect from '@/components/IconSelect'
import { getMenuList, addOrUpdateMenu, deleteMenu } from "@/api/system/menu";
import Treeselect from "@riophae/vue-treeselect";
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
import IconSelect from "@/components/IconSelect";
export default {
name: 'Menu',
name: "Menu",
components: { Treeselect, IconSelect },
data() {
return {
@@ -312,7 +499,7 @@ export default {
// 菜单树选项
menuOptions: [],
// 弹出层标题
title: '',
title: "",
// 是否显示弹出层
open: false,
// 菜单状态数据字典
@@ -320,7 +507,7 @@ export default {
// 查询参数
queryParams: {
menuName: undefined,
visible: undefined
visible: undefined,
},
// 是否展开,默认全部折叠
isExpandAll: false,
@@ -331,168 +518,207 @@ export default {
// 表单校验
rules: {
MenuName: [
{ required: true, message: '菜单名称不能为空', trigger: 'blur' }
{
required: true,
message: this.$t("system:menu:form:rule:notMenuName"),
trigger: "blur",
}, // 菜单名称不能为空
],
ShowOrder: [
{ required: true, message: '菜单顺序不能为空', trigger: 'blur' }
]
}
}
{
required: true,
message: this.$t("system:menu:form:rule:notShowOrder"),
trigger: "blur",
}, // 菜单顺序不能为空
],
},
};
},
created() {
console.log(this.hasPermi(['trials:trials-list:new', 'trials:trials-list:export1'], '&&'))
this.getList()
console.log(
this.hasPermi(
["trials:trials-list:new", "trials:trials-list:export1"],
"&&"
)
);
this.getList();
// this.getDicts("sys_show_hide").then(response => {
// this.visibleOptions = response.data;
// });
},
methods: {
toggleExpandAll() {
this.refreshTable = false
this.isExpandAll = !this.isExpandAll
this.refreshTable = false;
this.isExpandAll = !this.isExpandAll;
this.$nextTick(() => {
this.refreshTable = true
})
this.refreshTable = true;
});
},
normalizer(node) {
if (node.Children && !node.Children.length) {
delete node.Children
delete node.Children;
}
return {
id: node.MenuId,
label: node.MenuName,
children: node.Children
}
children: node.Children,
};
},
toTree(arr, ParentId) {
function loop(ParentId) {
const res = []
const res = [];
for (let i = 0; i < arr.length; i++) {
const item = arr[i]
item.hasChildren = false
const item = arr[i];
item.hasChildren = false;
if (item.ParentId !== ParentId) {
continue
continue;
}
item.Children = loop(item.MenuId)
res.push(item)
item.Children = loop(item.MenuId);
res.push(item);
}
return res
return res;
}
return loop(ParentId)
return loop(ParentId);
},
// 选择图标
selected(name) {
this.form.MenuIcon = name
this.form.MenuIcon = name;
},
/** 查询菜单列表 */
getList() {
this.loading = true
getMenuList(this.queryParams).then(res => {
this.menuList = this.toTree(res.Result, '00000000-0000-0000-0000-000000000000')
const menu = { MenuId: '00000000-0000-0000-0000-000000000000', MenuName: '主类目', Children: [] }
menu.Children = this.menuList
this.menuOptions = Object.assign([], [menu])
this.loading = false
}).catch(function() {})
this.loading = true;
getMenuList(this.queryParams)
.then((res) => {
this.menuList = this.toTree(
res.Result,
"00000000-0000-0000-0000-000000000000"
);
const menu = {
MenuId: "00000000-0000-0000-0000-000000000000",
MenuName: "主类目",
Children: [],
};
menu.Children = this.menuList;
this.menuOptions = Object.assign([], [menu]);
this.loading = false;
})
.catch(function () {});
},
/** 查询菜单下拉树结构 */
getTreeselect() {
this.loading = true
getMenuList({}).then(res => {
const menu = { MenuId: '00000000-0000-0000-0000-000000000000', MenuName: '主类目', Children: [] }
menu.Children = this.toTree(res.Result, '00000000-0000-0000-0000-000000000000')
this.menuOptions = Object.assign([], [menu])
this.loading = false
}).catch(function() {})
this.loading = true;
getMenuList({})
.then((res) => {
const menu = {
MenuId: "00000000-0000-0000-0000-000000000000",
MenuName: "主类目",
Children: [],
};
menu.Children = this.toTree(
res.Result,
"00000000-0000-0000-0000-000000000000"
);
this.menuOptions = Object.assign([], [menu]);
this.loading = false;
})
.catch(function () {});
},
// 菜单显示状态字典翻译
visibleFormat(row, column) {
if (row.MenuType === 'F') {
return ''
if (row.MenuType === "F") {
return "";
}
return this.selectDictLabel(this.visibleOptions, row.visible)
return this.selectDictLabel(this.visibleOptions, row.visible);
},
// 取消按钮
cancel() {
this.open = false
this.reset()
this.open = false;
this.reset();
},
// 表单重置
reset() {
this.form = {
MenuId: null,
ParentId: null,
MenuType: 'M',
MenuIcon: '',
MenuName: '',
Path: '',
Component: '',
MenuType: "M",
MenuIcon: "",
MenuName: "",
Path: "",
Component: "",
ShowOrder: null,
IsEnable: true,
IsCache: false,
IsDisplay: false,
IsInTabDisplay: false,
IsExternalLink: false,
PermissionStr: '',
Note: '',
CreateTime: '',
PermissionStr: "",
Note: "",
CreateTime: "",
LanguageMark: null,
Apipath: null
}
this.resetForm('form')
Apipath: null,
};
this.resetForm("form");
},
/** 搜索按钮操作 */
handleQuery() {
this.getList()
this.getList();
},
/** 新增按钮操作 */
handleAdd(row) {
this.reset()
this.getTreeselect()
this.reset();
this.getTreeselect();
if (row != null) {
this.form.ParentId = row.MenuId
this.form.ParentId = row.MenuId;
}
this.open = true
this.title = '添加菜单'
this.open = true;
this.title = this.$t("system:menu:form:title:addMenu");
},
/** 修改按钮操作 */
handleUpdate(row) {
this.reset()
this.getTreeselect()
this.form = Object.assign({}, row)
this.open = true
this.title = '修改菜单'
this.reset();
this.getTreeselect();
this.form = Object.assign({}, row);
this.open = true;
this.title = this.$t("system:menu:form:title:editMenu");
},
/** 提交按钮 */
submitForm: function() {
this.$refs['form'].validate(valid => {
submitForm: function () {
this.$refs["form"].validate((valid) => {
if (valid) {
addOrUpdateMenu(this.form).then(response => {
this.$message.success(this.$t('common:message:savedSuccessfully'))
this.open = false
this.getList()
})
addOrUpdateMenu(this.form).then((response) => {
this.$message.success(this.$t("common:message:savedSuccessfully"));
this.open = false;
this.getList();
});
}
})
});
},
/** 删除按钮操作 */
handleDelete(row) {
this.$confirm('是否确认删除名称为"' + row.MenuName + '"的数据项?', '警告', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(function() {
return deleteMenu(row.MenuId)
}).then(() => {
this.getList()
this.$message.success('删除成功')
}).catch(function() {})
}
}
}
let message = this.$t("system:menu:confirm:message:delete").replace(
"xxx",
row.MenuName
);
//'是否确认删除名称为"' + row.MenuName + '"的数据项?'
this.$confirm(message, this.$t("system:menu:confirm:title:warning"), {
confirmButtonText: this.$t("system:menu:button:save"),
cancelButtonText: this.$t("system:menu:button:canel"),
type: "warning",
})
.then(function () {
return deleteMenu(row.MenuId);
})
.then(() => {
this.getList();
this.$message.success(this.$t("common:message:deletedSuccessfully"));
})
.catch(function () {});
},
},
};
</script>
<style lang="scss">
.vue-treeselect div{
line-height: 40px;
}
.vue-treeselect div {
line-height: 40px;
}
</style>
+146 -93
View File
@@ -16,13 +16,17 @@
<el-form-item label="Shortname: " prop="UserTypeShortName">
<el-input v-model="form.UserTypeShortName" />
</el-form-item>
<el-form-item label="是否内部角色: " prop="IsInternal">
<el-form-item
:label="$t('system:role:form:isInternal')"
prop="IsInternal"
>
<el-radio-group v-model="form.IsInternal">
<el-radio
v-for="item of $d.YesOrNo"
:key="`IsInternal${item.value}`"
:label="item.value"
>{{ item.label }}</el-radio>
>{{ item.label }}</el-radio
>
</el-radio-group>
</el-form-item>
@@ -38,7 +42,11 @@
</el-form-item>
<el-form-item label="Order: ">
<el-input-number v-model="form.Order" controls-position="right" :min="0" />
<el-input-number
v-model="form.Order"
controls-position="right"
:min="0"
/>
</el-form-item>
<el-form-item label="PermissionStr: " prop="PermissionStr">
<el-input v-model="form.PermissionStr" />
@@ -58,9 +66,23 @@
<el-input v-model="form.Description" type="textarea" :rows="5" />
</el-form-item>
<el-form-item label="role: ">
<el-checkbox v-model="menuExpand" @change="handleCheckedTreeExpand($event)">展开/折叠</el-checkbox>
<el-checkbox v-model="menuNodeAll" @change="handleCheckedTreeNodeAll($event)">全选/全不选</el-checkbox>
<el-checkbox v-model="form.menuCheckStrictly" @change="handleCheckedTreeConnect($event)">父子联动</el-checkbox>
<el-checkbox
v-model="menuExpand"
@change="handleCheckedTreeExpand($event)"
>{{ $t("system:role:form:checkbox:menuExpand") }}</el-checkbox
>
<el-checkbox
v-model="menuNodeAll"
@change="handleCheckedTreeNodeAll($event)"
>{{ $t("system:role:form:checkbox:menuNodeAll") }}</el-checkbox
>
<el-checkbox
v-model="form.menuCheckStrictly"
@change="handleCheckedTreeConnect($event)"
>{{
$t("system:role:form:checkbox:menuCheckStrictly")
}}</el-checkbox
>
<el-tree
ref="menu"
class="tree-border"
@@ -76,155 +98,186 @@
</el-form>
</template>
<template slot="dialog-footer">
<el-button :disabled="btnLoading" size="small" type="primary" @click="model_cfg.visible = false">Cancel
<el-button
:disabled="btnLoading"
size="small"
type="primary"
@click="model_cfg.visible = false"
>Cancel
</el-button>
<el-button size="small" type="primary" :loading="btnLoading" @click="handleSave">Save</el-button>
<el-button
size="small"
type="primary"
:loading="btnLoading"
@click="handleSave"
>Save</el-button
>
</template>
</base-model>
</template>
<script>
import { addOrUpdateUserType } from '@/api/admin'
import { addOrUpdateUserType } from "@/api/admin";
// import { addOrUpdateUserType } from '@/api/system/role'
// import { getMenuList } from '@/api/system/menu'
import { getMenuList } from '@/api/system/menu'
import { model_cfg } from '../role'
import BaseModel from '@/components/BaseModel'
import { getMenuList } from "@/api/system/menu";
import { model_cfg } from "../role";
import BaseModel from "@/components/BaseModel";
export default {
components: { BaseModel },
dicts: ['UserTypeGroup'],
dicts: ["UserTypeGroup"],
props: {
data: {
type: Object,
default() {
return {
Id: '',
UserTypeName: '',
Id: "",
UserTypeName: "",
IsInternal: true,
UserTypeShortName: '',
Order: '',
Description: '',
PermissionStr: '',
UserTypeEnum: null
}
}
}
UserTypeShortName: "",
Order: "",
Description: "",
PermissionStr: "",
UserTypeEnum: null,
};
},
},
},
data() {
return {
menuExpand: false,
menuNodeAll: false,
userTypeGroupOptions: [{ value: 1, label: 'Trial' }, { value: 2, label: 'Reviewer' }, { value: 3, label: 'Other' }],
userTypeGroupOptions: [
{ value: 1, label: "Trial" },
{ value: 2, label: "Reviewer" },
{ value: 3, label: "Other" },
],
model_cfg,
defaultProps: {
children: 'Children',
label: 'MenuName'
children: "Children",
label: "MenuName",
},
form: {
Id: '',
UserType: '',
Id: "",
UserType: "",
IsInternal: true,
UserTypeShortName: '',
UserTypeShortName: "",
Type: null,
Description: '',
Description: "",
UserTypeGroupIdList: [],
menuCheckStrictly: true
menuCheckStrictly: true,
},
rules: {
UserTypeName: [{ required: true, message: 'Please specify', trigger: 'blur' }, {
max: 50,
message: 'The maximum length is 50'
}],
UserTypeShortName: [{ required: true, message: 'Please specify', trigger: 'blur' }, {
max: 50,
message: 'The maximum length is 50',
trigger: 'blur'
}],
Description: [{ max: 500, message: 'The maximum length is 500' }],
UserTypeGroupIdList: [{ required: true, message: 'Please specify', trigger: 'blur' }],
UserTypeEnum: [{ required: true, message: 'Please select', trigger: 'blur' }]
UserTypeName: [
{ required: true, message: "Please specify", trigger: "blur" },
{
max: 50,
message: "The maximum length is 50",
},
],
UserTypeShortName: [
{ required: true, message: "Please specify", trigger: "blur" },
{
max: 50,
message: "The maximum length is 50",
trigger: "blur",
},
],
Description: [{ max: 500, message: "The maximum length is 500" }],
UserTypeGroupIdList: [
{ required: true, message: "Please specify", trigger: "blur" },
],
UserTypeEnum: [
{ required: true, message: "Please select", trigger: "blur" },
],
},
menuOptions: [],
btnLoading: false
}
btnLoading: false,
};
},
mounted() {
this.getMenuList()
this.getMenuList();
if (Object.keys(this.data).length && this.data.Id) {
this.form = { ...this.data }
this.form = { ...this.data };
}
},
methods: {
handleCheckedTreeConnect(value) {
this.form.menuCheckStrictly = !!value
this.form.menuCheckStrictly = !!value;
},
getMenuAllCheckedKeys() {
// 目前被选中的菜单节点
const checkedKeys = this.$refs.menu.getCheckedKeys()
const checkedKeys = this.$refs.menu.getCheckedKeys();
// 半选中的菜单节点
const halfCheckedKeys = this.$refs.menu.getHalfCheckedKeys()
checkedKeys.unshift.apply(checkedKeys, halfCheckedKeys)
return checkedKeys
const halfCheckedKeys = this.$refs.menu.getHalfCheckedKeys();
checkedKeys.unshift.apply(checkedKeys, halfCheckedKeys);
return checkedKeys;
},
handleCheckedTreeExpand(value) {
const treeList = this.menuOptions
const treeList = this.menuOptions;
for (let i = 0; i < treeList.length; i++) {
this.$refs.menu.store.nodesMap[treeList[i].MenuId].expanded = value
this.$refs.menu.store.nodesMap[treeList[i].MenuId].expanded = value;
}
},
handleCheckedTreeNodeAll(value, type) {
this.$refs.menu.setCheckedNodes(value ? this.menuOptions : [])
this.$refs.menu.setCheckedNodes(value ? this.menuOptions : []);
},
toTree(arr, ParentId) {
function loop(ParentId) {
const res = []
const res = [];
for (let i = 0; i < arr.length; i++) {
const item = arr[i]
item.hasChildren = false
const item = arr[i];
item.hasChildren = false;
if (item.ParentId !== ParentId) {
continue
continue;
}
item.Children = loop(item.MenuId)
res.push(item)
item.Children = loop(item.MenuId);
res.push(item);
}
return res
return res;
}
return loop(ParentId)
return loop(ParentId);
},
getMenuList() {
getMenuList({}).then(res => {
const menu = this.toTree(res.Result, '00000000-0000-0000-0000-000000000000')
this.menuOptions = menu
console.log(this.menuOptions)
this.$nextTick(() => {
this.form.MenuIds.forEach(v => {
this.$refs.menu.setChecked(v, true, false)
})
getMenuList({})
.then((res) => {
const menu = this.toTree(
res.Result,
"00000000-0000-0000-0000-000000000000"
);
this.menuOptions = menu;
console.log(this.menuOptions);
this.$nextTick(() => {
this.form.MenuIds.forEach((v) => {
this.$refs.menu.setChecked(v, true, false);
});
});
})
}).catch(function() {
})
.catch(function () {});
},
handleSave() {
this.$refs.roleForm.validate(valid => {
if (!valid) return
this.btnLoading = true
this.model_cfg.showClose = false
this.form.MenuIds = this.getMenuAllCheckedKeys()
console.log(this.form.MenuIds)
addOrUpdateUserType(this.form).then(res => {
this.btnLoading = false
this.$refs['roleForm'].resetFields()
this.$emit('close')
this.model_cfg.showClose = true
this.$message.success('Saved successfully!')
}).catch(() => {
this.btnLoading = false
this.model_cfg.showClose = true
})
})
}
}
}
this.$refs.roleForm.validate((valid) => {
if (!valid) return;
this.btnLoading = true;
this.model_cfg.showClose = false;
this.form.MenuIds = this.getMenuAllCheckedKeys();
console.log(this.form.MenuIds);
addOrUpdateUserType(this.form)
.then((res) => {
this.btnLoading = false;
this.$refs["roleForm"].resetFields();
this.$emit("close");
this.model_cfg.showClose = true;
this.$message.success("Saved successfully!");
})
.catch(() => {
this.btnLoading = false;
this.model_cfg.showClose = true;
});
});
},
},
};
</script>
@@ -9,7 +9,7 @@
class="title-logo"
/>
<img v-else src="@/assets/zzlogo4.png" alt="" />
<span style="white-space: nowrap">
<span style="white-space: nowrap" v-if="NODE_ENV !== 'usa'">
<!-- 中心影像系统EICS -->
{{ $t("trials:trials:title:eics") }}
</span>
@@ -41,11 +41,7 @@
<!-- 工作台 -->
<span slot="title">{{ $t("trials:menuTitle:workbench") }}</span>
</el-menu-item>
<el-menu-item
v-if="!hasPermi(['role:zys'])"
index="2"
:disabled="TotalNeedSignSystemDocCount !== 0"
>
<el-menu-item v-if="!hasPermi(['role:zys','role:zyss','role:zybs'])" index="2" :disabled="TotalNeedSignSystemDocCount !== 0">
<i class="el-icon-box" />
<!-- 我的项目 -->
<span slot="title">
@@ -225,7 +221,7 @@ export default {
margin-right: 10px;
}
.title-logo {
height: 32px;
height: 36px;
}
span {
font-size: 20px;
@@ -323,6 +323,7 @@ export default {
},
// 关闭签名弹窗
closeSignDialog(isSave) {
this.duration = 0
this.signVisible = false
if (isSave) {
this.currentIsConfirm = true
@@ -5,9 +5,14 @@
<el-form :inline="true">
<!-- 中心 -->
<el-form-item :label="$t('trials:researchRecord:table:siteId')">
<el-select v-model="searchData.TrialSiteId" clearable filterable style="width:120px;">
<el-select
v-model="searchData.TrialSiteId"
clearable
filterable
style="width: 120px"
>
<el-option
v-for="(item,index) of siteOptions"
v-for="(item, index) of siteOptions"
:key="index"
:label="item.TrialSiteCode"
:value="item.TrialSiteId"
@@ -20,17 +25,21 @@
v-model="searchData.UserKeyInfo"
class="mr"
clearable
:placeholder="`${$t('trials:researchRecord:placeholder:contactorInfo')}`"
style="width:140px;"
:placeholder="`${$t(
'trials:researchRecord:placeholder:contactorInfo'
)}`"
style="width: 140px"
/>
</el-form-item>
<!-- 初审人 -->
<el-form-item :label="$t('trials:researchRecord:table:preliminaryUser')">
<el-form-item
:label="$t('trials:researchRecord:table:preliminaryUser')"
>
<el-input
v-model="searchData.PreliminaryUserName"
class="mr"
clearable
style="width:140px;"
style="width: 140px"
/>
</el-form-item>
<!-- 审核人 -->
@@ -39,14 +48,19 @@
v-model="searchData.ReviewerUserName"
class="mr"
clearable
style="width:140px;"
style="width: 140px"
/>
</el-form-item>
<!-- 状态 -->
<el-form-item :label="$t('trials:researchRecord:table:status')">
<el-select v-model="searchData.State" clearable filterable style="width:120px;">
<el-select
v-model="searchData.State"
clearable
filterable
style="width: 120px"
>
<el-option
v-for="(item,index) of $d.ResearchRecord"
v-for="(item, index) of $d.ResearchRecord"
:key="index"
:label="item.label"
:value="item.value"
@@ -55,8 +69,19 @@
</el-form-item>
<!-- 是否废除 -->
<el-form-item :label="$t('trials:researchRecord:table:isDeleted')">
<el-select v-model="searchData.IsDeleted" clearable filterable style="width:120px;">
<el-option v-for="item of $d.YesOrNo" v-show="item.raw.ValueCN !== '无'" :key="`IsDeleted${item.value}`" :label="item.label" :value="item.value" />
<el-select
v-model="searchData.IsDeleted"
clearable
filterable
style="width: 120px"
>
<el-option
v-for="item of $d.YesOrNo"
v-show="item.raw.ValueCN !== '无'"
:key="`IsDeleted${item.value}`"
:label="item.label"
:value="item.value"
/>
</el-select>
</el-form-item>
<!-- 更新时间 -->
@@ -66,34 +91,42 @@
type="daterange"
value-format="yyyy-MM-dd"
format="yyyy-MM-dd"
style="width:250px;"
style="width: 250px"
/>
</el-form-item>
<!-- 查询 -->
<el-button type="primary" icon="el-icon-search" @click="handleSearch">
{{ $t('common:button:search') }}
{{ $t("common:button:search") }}
</el-button>
<!-- 重置 -->
<el-button type="primary" icon="el-icon-refresh-left" @click="handleReset">
{{ $t('common:button:reset') }}
<el-button
type="primary"
icon="el-icon-refresh-left"
@click="handleReset"
>
{{ $t("common:button:reset") }}
</el-button>
<!-- 中心人员 -->
<el-button
v-hasPermi="['trials:trials-panel:attachments:site-research:summary-record']"
v-hasPermi="[
'trials:trials-panel:attachments:site-research:summary-record',
]"
type="primary"
icon="el-icon-info"
@click="showResearchUser"
>
{{ $t('trials:researchRecord:button:questionStaffs') }}
{{ $t("trials:researchRecord:button:questionStaffs") }}
</el-button>
<!-- 调查表链接 -->
<el-button
v-hasPermi="['trials:trials-panel:attachments:site-research:questionnaire-link']"
v-hasPermi="[
'trials:trials-panel:attachments:site-research:questionnaire-link',
]"
type="primary"
icon="el-icon-link"
@click="showResearchLink"
>
{{ $t('trials:researchRecord:button:questionLink') }}
{{ $t("trials:researchRecord:button:questionLink") }}
</el-button>
</el-form>
</template>
@@ -103,7 +136,7 @@
<el-table
ref="siteResearchList"
v-loading="loading"
v-adaptive="{bottomOffset:60}"
v-adaptive="{ bottomOffset: 60 }"
:data="list"
stripe
height="100"
@@ -153,7 +186,11 @@
show-overflow-tooltip
>
<template slot-scope="scope">
{{ scope.row.PreliminaryUser?scope.row.PreliminaryUser.RealName:"" }}
{{
scope.row.PreliminaryUser
? scope.row.PreliminaryUser.RealName
: ""
}}
</template>
</el-table-column>
<!-- 审核人 -->
@@ -164,7 +201,7 @@
show-overflow-tooltip
>
<template slot-scope="scope">
{{ scope.row.ReviewerUser?scope.row.ReviewerUser.RealName:"" }}
{{ scope.row.ReviewerUser ? scope.row.ReviewerUser.RealName : "" }}
</template>
</el-table-column>
<!-- 状态 -->
@@ -175,10 +212,18 @@
show-overflow-tooltip
>
<template slot-scope="scope">
<el-tag v-if="scope.row.State === 0" type="primary">{{ $fd('ResearchRecord', scope.row.State) }}</el-tag>
<el-tag v-if="scope.row.State === 1" type="info">{{ $fd('ResearchRecord', scope.row.State) }}</el-tag>
<el-tag v-if="scope.row.State === 2" type="warning">{{ $fd('ResearchRecord', scope.row.State) }}</el-tag>
<el-tag v-if="scope.row.State === 3" type="danger">{{ $fd('ResearchRecord', scope.row.State) }}</el-tag>
<el-tag v-if="scope.row.State === 0" type="primary">{{
$fd("ResearchRecord", scope.row.State)
}}</el-tag>
<el-tag v-if="scope.row.State === 1" type="info">{{
$fd("ResearchRecord", scope.row.State)
}}</el-tag>
<el-tag v-if="scope.row.State === 2" type="warning">{{
$fd("ResearchRecord", scope.row.State)
}}</el-tag>
<el-tag v-if="scope.row.State === 3" type="danger">{{
$fd("ResearchRecord", scope.row.State)
}}</el-tag>
</template>
</el-table-column>
<!-- 是否废除 -->
@@ -189,8 +234,12 @@
show-overflow-tooltip
>
<template slot-scope="scope">
<el-tag v-if="scope.row.IsDeleted" type="danger">{{ $fd('YesOrNo', scope.row.IsDeleted) }}</el-tag>
<el-tag v-else type="primary">{{ $fd('YesOrNo', scope.row.IsDeleted) }}</el-tag>
<el-tag v-if="scope.row.IsDeleted" type="danger">{{
$fd("YesOrNo", scope.row.IsDeleted)
}}</el-tag>
<el-tag v-else type="primary">{{
$fd("YesOrNo", scope.row.IsDeleted)
}}</el-tag>
</template>
</el-table-column>
<!-- 更新时间 -->
@@ -200,9 +249,7 @@
min-width="150"
show-overflow-tooltip
/>
<el-table-column
width="150"
>
<el-table-column width="150">
<template slot-scope="scope">
<!-- 查看 -->
<el-button
@@ -214,7 +261,9 @@
/>
<!-- 审批 -->
<el-button
v-hasPermi="['trials:trials-panel:attachments:site-research:auidt']"
v-hasPermi="[
'trials:trials-panel:attachments:site-research:auidt',
]"
:disabled="scope.row.State === 0 || scope.row.State === 3"
circle
:title="$t('trials:researchRecord:action:view')"
@@ -223,7 +272,9 @@
/>
<!-- 废除 -->
<el-button
v-hasPermi="['trials:trials-panel:attachments:site-research:abolish']"
v-hasPermi="[
'trials:trials-panel:attachments:site-research:abolish',
]"
:disabled="scope.row.State !== 0 || scope.row.IsDeleted"
circle
:title="$t('trials:researchRecord:action:abolish')"
@@ -235,7 +286,13 @@
</el-table>
<!-- 分页组件 -->
<pagination class="page" :total="total" :page.sync="searchData.PageIndex" :limit.sync="searchData.PageSize" @pagination="getList" />
<pagination
class="page"
:total="total"
:page.sync="searchData.PageIndex"
:limit.sync="searchData.PageSize"
@pagination="getList"
/>
</template>
<!-- 中心人员 -->
@@ -246,10 +303,12 @@
custom-class="base-dialog-wrapper"
:fullscreen="true"
>
<div class="base-modal-body" style="border:1px solid #ccc;padding: 10px">
<div
class="base-modal-body"
style="border: 1px solid #ccc; padding: 10px"
>
<Users v-if="researchUserVisible" />
</div>
</el-dialog>
<!-- 调查表 -->
@@ -265,53 +324,87 @@
<!-- 调查表链接 -->
<base-model :config="share_model">
<template slot="dialog-body">
<div>
<i style="color:#428bca;" class="el-icon-success" />
<!-- 成功创建调查表链接 -->
<span>{{ $t('trials:researchRecord:message:createLinkSuccessfully') }}</span>
</div>
<div style="margin:10px 0;">
<!-- 链接 -->
{{ $t('trials:researchRecord:label:link') }}
<el-input ref="shareLink" v-model="shareLink" readonly type="textarea" autosize />
</div>
<div>
<!-- 复制链接 -->
<el-button type="primary" round @click="copyLink">
{{ $t('trials:researchRecord:button:copyLink') }}
</el-button>
<div style="width: 100%; display: flex">
<div class="shareLink">
<div>
<i style="color: #428bca" class="el-icon-success" />
<!-- 成功创建调查表链接 -->
<span>{{
$t("trials:researchRecord:message:createLinkSuccessfully")
}}</span>
</div>
<div style="margin: 10px 0">
<!-- 链接: -->
{{ $t("trials:researchRecord:label:link") }}
<el-input
ref="shareLink"
v-model="shareLink"
readonly
type="textarea"
autosize
/>
</div>
<div>
<!-- 复制链接 -->
<el-button
type="primary"
round
@click="copyLink"
class="shareLinkBtn"
>
{{ $t("trials:researchRecord:button:copyLink") }}
</el-button>
</div>
</div>
<div class="shareCode">
<div class="qrCode">
<div id="qrcode" ref="qrcode"></div>
</div>
<div class="codeBtnBox">
<el-button @click="handleCopyImg" type="primary" round>{{
$t("trials:researchRecord:button:copyCode")
}}</el-button>
<el-button @click="savePic" round>{{
$t("trials:researchRecord:button:savePic")
}}</el-button>
</div>
</div>
</div>
</template>
</base-model>
</BaseContainer>
</template>
<script>
import { getTrialSiteSurveyList, getTrialSiteSelect, abandonSiteSurvey } from '@/api/trials'
import { changeURLStatic } from '@/utils/history.js'
import BaseContainer from '@/components/BaseContainer'
import Pagination from '@/components/Pagination'
import Users from './components/users'
import ResearchForm from '@/views/research/form'
import BaseModel from '@/components/BaseModel'
import {
getTrialSiteSurveyList,
getTrialSiteSelect,
abandonSiteSurvey,
} from "@/api/trials";
import { changeURLStatic } from "@/utils/history.js";
import BaseContainer from "@/components/BaseContainer";
import Pagination from "@/components/Pagination";
import Users from "./components/users";
import ResearchForm from "@/views/research/form";
import BaseModel from "@/components/BaseModel";
import QRCode from "qrcodejs2";
const searchDataDefault = () => {
return {
SortField: '',
SortField: "",
Asc: true,
PageIndex: 1,
PageSize: 20,
TrialSiteId: '',
UserKeyInfo: '',
TrialSiteId: "",
UserKeyInfo: "",
State: null,
IsDeleted: '',
IsDeleted: "",
DateRange: [],
PreliminaryUserName: null,
ReviewerUserName: null
}
}
ReviewerUserName: null,
};
};
export default {
name: 'SiteResearchList',
name: "SiteResearchList",
components: { BaseContainer, Pagination, Users, ResearchForm, BaseModel },
data() {
return {
@@ -323,117 +416,223 @@ export default {
siteOptions: [],
researchUserVisible: false,
researchInfoVisible: false,
share_model: { visible: false, title: '', width: '500px' },
shareLink: '',
researchState: this.$d.ResearchRecord
}
share_model: {
visible: false,
title: this.$t("trials:researchRecord:title:shark"),
width: "800px",
},
shareLink: "",
researchState: this.$d.ResearchRecord,
qrcode: null,
};
},
mounted() {
this.getList()
this.getSite()
this.getList();
this.getSite();
},
methods: {
// 获取系统文件数据
getList() {
this.loading = true
this.searchData.TrialId = this.trialId
this.loading = true;
this.searchData.TrialId = this.trialId;
if (this.searchData.DateRange && this.searchData.DateRange.length === 2) {
this.searchData.UpdateTimeBegin = this.searchData.DateRange[0]
this.searchData.updateTimeEnd = this.searchData.DateRange[1]
this.searchData.UpdateTimeBegin = this.searchData.DateRange[0];
this.searchData.updateTimeEnd = this.searchData.DateRange[1];
} else {
this.searchData.UpdateTimeBegin = ''
this.searchData.updateTimeEnd = ''
this.searchData.UpdateTimeBegin = "";
this.searchData.updateTimeEnd = "";
}
getTrialSiteSurveyList(this.searchData).then(res => {
this.loading = false
this.list = res.Result.CurrentPageData
this.total = res.Result.TotalCount
}).catch(() => {
this.loading = false
})
getTrialSiteSurveyList(this.searchData)
.then((res) => {
this.loading = false;
this.list = res.Result.CurrentPageData;
this.total = res.Result.TotalCount;
})
.catch(() => {
this.loading = false;
});
},
// 查看调查表记录详情
handleViewResearchList(row) {
changeURLStatic('trialSiteSurveyId', row.Id)
this.researchInfoVisible = true
changeURLStatic("trialSiteSurveyId", row.Id);
this.researchInfoVisible = true;
},
// 废除待提交的调查表
handleRepealResearch(row) {
// 是否确认废除?
this.$confirm(this.$t('trials:researchRecord:message:abolish'), {
type: 'warning',
distinguishCancelAndClose: true
})
.then(() => {
abandonSiteSurvey(this.trialId, row.Id)
.then(res => {
if (res.IsSuccess) {
this.getList()
// 废除成功
this.$message.success(this.$t('trials:researchRecord:message:abolishSuccessfully'))
}
})
})
this.$confirm(this.$t("trials:researchRecord:message:abolish"), {
type: "warning",
distinguishCancelAndClose: true,
}).then(() => {
abandonSiteSurvey(this.trialId, row.Id).then((res) => {
if (res.IsSuccess) {
this.getList();
// 废除成功
this.$message.success(
this.$t("trials:researchRecord:message:abolishSuccessfully")
);
}
});
});
},
// 展示当前项目下所有调查表需生成账户的用户信息
showResearchUser() {
this.researchUserVisible = true
this.researchUserVisible = true;
},
// 复制链接
copyLink() {
// 中心调研表链接
this.$copyText(`${this.$t('trials:researchRecord:message:researchFormLink')}: ${this.shareLink}`).then(
res => {
this.$copyText(
`${this.$t("trials:researchRecord:message:researchFormLink")}: ${
this.shareLink
}`
)
.then((res) => {
// 复制成功
this.$message.success(this.$t('trials:researchRecord:message:copySuccessfully'))
}
).catch(() => {
// 复制失败
this.$alert(this.$t('trials:researchRecord:message:copyFailed'))
})
this.$message.success(
this.$t("trials:researchRecord:message:copySuccessfully")
);
})
.catch(() => {
// 复制失败
this.$alert(this.$t("trials:researchRecord:message:copyFailed"));
});
},
// 创建二维码
creatQrCode() {
this.$refs.qrcode.innerHTML = ""; //清除二维码方法一
let text = this.shareLink;
this.qrcode = new QRCode(this.$refs.qrcode, {
text: text, //页面地址 ,如果页面需要参数传递请注意哈希模式#
width: 200,
height: 200,
colorDark: "#000000",
colorLight: "#ffffff",
correctLevel: QRCode.CorrectLevel.H,
});
// qrcode.clear(); // 清除二维码方法二
},
// 下载二维码
savePic() {
let qrCodeCanvas = document
.getElementById("qrcode")
.getElementsByTagName("canvas");
let a = document.createElement("a");
a.href = qrCodeCanvas[0].toDataURL("image/url");
a.download = `${this.$t("trials:researchRecord:title:code")}.png`;
a.click();
},
// 复制二维码
handleCopyImg() {
let qrCodeCanvas = document
.getElementById("qrcode")
.getElementsByTagName("canvas");
qrCodeCanvas[0].toBlob(async (blob) => {
console.log(blob);
const data = [
new ClipboardItem({
[blob.type]: blob,
}),
]; // https://w3c.github.io/clipboard-apis/#dom-clipboard-write
await navigator.clipboard.write(data).then(
() => {
this.$message.success(
this.$t("trials:researchRecord:message:copySuccess")
);
},
() => {
this.$message.error(
this.$t("trials:researchRecord:message:UnableWrite")
);
}
);
});
},
// 获取site下拉框数据
getSite() {
getTrialSiteSelect(this.trialId).then(res => {
this.siteOptions = res.Result
})
getTrialSiteSelect(this.trialId).then((res) => {
this.siteOptions = res.Result;
});
},
// 展示调查表链接
showResearchLink() {
const trialId = this.trialId
this.shareLink = `${location.protocol}//${location.host}/researchLogin?trialId=${trialId}&lang=${this.$i18n.locale}`
this.share_model.visible = true
const trialId = this.trialId;
this.shareLink = `${location.protocol}//${location.host}/researchLogin?trialId=${trialId}&lang=${this.$i18n.locale}`;
this.share_model.visible = true;
this.$nextTick(() => {
this.creatQrCode();
});
},
// 重置
handleReset() {
this.searchData = searchDataDefault()
this.searchData.DateRange = []
this.searchData = searchDataDefault();
this.searchData.DateRange = [];
if (this.searchData.DateRange && this.searchData.DateRange.length === 2) {
this.searchData.UpdateTimeBegin = this.searchData.DateRange[0]
this.searchData.updateTimeEnd = this.searchData.DateRange[1]
this.searchData.UpdateTimeBegin = this.searchData.DateRange[0];
this.searchData.updateTimeEnd = this.searchData.DateRange[1];
} else {
this.searchData.UpdateTimeBegin = ''
this.searchData.updateTimeEnd = ''
this.searchData.UpdateTimeBegin = "";
this.searchData.updateTimeEnd = "";
}
this.getList()
this.getList();
this.$nextTick(() => {
this.$refs.siteResearchList.clearSort()
})
this.$refs.siteResearchList.clearSort();
});
},
// 查询
handleSearch() {
this.getList()
this.getList();
},
// 排序
handleSortByColumn(column) {
if (column.order === 'ascending') {
this.searchData.Asc = true
if (column.order === "ascending") {
this.searchData.Asc = true;
} else {
this.searchData.Asc = false
this.searchData.Asc = false;
}
this.searchData.SortField = column.prop
this.getList()
this.searchData.SortField = column.prop;
this.getList();
},
},
beforeDestroy() {
if (this.qrcode) {
this.qrcode = null;
}
},
};
</script>
<style lang="scss" scoped>
.shareLink {
padding-right: 20px;
width: 50%;
position: relative;
.shareLinkBtn{
position: absolute;
bottom: 0px;
left: 0px;
}
}
</script>
.shareCode {
width: 50%;
border-left: 1px solid #eee;
display: flex;
justify-content: center;
flex-wrap: wrap;
.qrCode {
width: 220px;
height: 220px;
display: flex;
border: 1px solid #c0c4cc;
border-radius: 5px;
box-shadow: 1px 1px 5px #c0c4cc;
align-items: center;
justify-content: center;
}
.codeBtnBox {
margin-top: 20px;
width: 100%;
display: flex;
justify-content: space-around;
}
}
</style>
@@ -140,7 +140,8 @@
>
<template slot-scope="scope">
<div v-if="scope.row.CriterionCategoryList.find(v => {return v.TrialReadingCriterionId === ite.TrialReadingCriterionId}).StatementCriterionFileList.length > 0">
<el-button type="text" @click="windowOpen(scope.row.CriterionCategoryList.find(v => {return v.TrialReadingCriterionId === ite.TrialReadingCriterionId}).StatementCriterionFileList[0].FilePath)">View</el-button>
<el-button type="text" @click="preview(scope.row,ite.TrialReadingCriterionId)">View</el-button>
<!-- <el-button type="text" @click="windowOpen(scope.row.CriterionCategoryList.find(v => {return v.TrialReadingCriterionId === ite.TrialReadingCriterionId}).StatementCriterionFileList[0].FilePath)">View</el-button> -->
</div>
<div v-else>
<span>{{ $t('trials:enrolledReviews:label:notUpload') }}</span>
@@ -474,6 +475,17 @@ export default {
this.initPage()
},
methods: {
// 预览
preview(row,TrialReadingCriterionId){
let file = row.CriterionCategoryList.find(v => {return v.TrialReadingCriterionId === TrialReadingCriterionId}).StatementCriterionFileList[0];
let arr = file.FilePath.split(".");
this.$preview({
path:file.FilePath,
type:arr[arr.length - 1],
title:file.FileName
})
},
isConsistencyChange(row, ite, value, showMessage) {
this.batchSetCriterionJoinJoinAnalysis(row, ite, value, showMessage)
},
@@ -222,7 +222,8 @@ export default {
taskBlindName: '',
frame: null,
imageRendered: false,
isExistsClinicalData:false
isExistsClinicalData: false,
isExistMutiFrames: false
// preventCache: true
},
dicomInfo: {
@@ -758,7 +759,7 @@ export default {
const imageInfo = this.getInstanceInfo(imageId)
var instanceId = imageInfo.instanceId
var frame = imageInfo.frame
this.stack.frame = !isNaN(parseInt(frame)) ? parseInt(frame) : 0
this.stack.frame = this.stack.isExistMutiFrames ? parseInt(frame) : null
const ToolStateManager = cornerstoneTools.globalImageIdSpecificToolStateManager
for (var m = 0; m < this.measuredTools.length; m++) {
var toolType = this.measuredTools[m]
@@ -880,7 +881,6 @@ export default {
return seriesList[seriesIdx].loadStatus ? 1 : 0
},
renderMeasuredData(e) {
this.stack.frame = !isNaN(parseInt(this.stack.frame)) ? parseInt(this.stack.frame) : 0
var idx = this.visitTaskList.findIndex(i => i.VisitTaskId === this.stack.visitTaskId)
if (idx === -1) return
this.measureData = this.visitTaskList[idx].MeasureData
@@ -899,9 +899,7 @@ export default {
} else {
cornerstoneTools.setToolEnabledForElement(element, data.MeasureData.type, { mouseButtonMask: 1 })
}
// console.log('renderMeasuredData', this.stack.frame)
if (this.stack.instanceId.includes(data.InstanceId) && ((data.NumberOfFrames === this.stack.frame) || !data.NumberOfFrames) && data.MeasureData) {
if (this.stack.instanceId.includes(data.InstanceId) && ((this.stack.isExistMutiFrames && data.MeasureData.frame === this.stack.frame) || !data.MeasureData.frame) && data.MeasureData) {
const toolState = ToolStateManager.getImageIdToolState(e.detail.image.imageId, data.MeasureData.type)
if (toolState && toolState.data.length > 0) {
var idx = toolState.data.findIndex(item => item.uuid === data.MeasureData.data.uuid)
@@ -988,7 +986,7 @@ export default {
const imageInfo = this.getInstanceInfo(imageId)
var instanceId = imageInfo.instanceId
var frame = imageInfo.frame
this.stack.frame = !isNaN(parseInt(frame)) ? parseInt(frame) : 0
this.stack.frame = this.stack.isExistMutiFrames ? parseInt(frame) : null
const ToolStateManager = cornerstoneTools.globalImageIdSpecificToolStateManager
for (let t = 0; t < this.measuredTools.length; t++) {
var toolType = this.measuredTools[t]
@@ -1067,6 +1065,7 @@ export default {
this.stack.sliceThickness = dicomSeries.sliceThickness
this.stack.instanceCount = dicomSeries.instanceCount
this.stack.isExistsClinicalData = dicomSeries.isExistsClinicalData
this.stack.isExistMutiFrames = dicomSeries.isExistMutiFrames
// this.measuredData = dicomSeries.measuredData
var idx = this.visitTaskList.findIndex(i => i.VisitTaskId === dicomSeries.visitTaskId)
this.stack.visitTaskNum = this.visitTaskList[idx].VisitTaskNum
@@ -1087,7 +1086,7 @@ export default {
const imageInfo = this.getInstanceInfo(imageId)
var instanceId = imageInfo.instanceId
var frame = imageInfo.frame
this.stack.frame = !isNaN(parseInt(frame)) ? parseInt(frame) : 0
this.stack.frame = this.stack.isExistMutiFrames ? parseInt(frame) : null
this.stack.instanceId = instanceId
const ToolStateManager = cornerstoneTools.globalImageIdSpecificToolStateManager
ToolStateManager.clearImageIdToolState(dicomSeries.imageIds)
@@ -1201,7 +1200,7 @@ export default {
const imageInfo = this.getInstanceInfo(image.imageId)
var instanceId = imageInfo.instanceId
var frame = imageInfo.frame
this.stack.frame = !isNaN(parseInt(frame)) ? parseInt(frame) : 0
this.stack.frame = this.stack.isExistMutiFrames ? parseInt(frame) : null
this.stack.instanceId = instanceId
this.height = (this.stack.currentImageIdIndex) * 100 / (this.stack.imageIds.length - 1)
this.resetWwwc()
@@ -1276,7 +1275,7 @@ export default {
const imageInfo = this.getInstanceInfo(imageId)
var instanceId = imageInfo.instanceId
var frame = imageInfo.frame
this.stack.frame = !isNaN(parseInt(frame)) ? parseInt(frame) : 0
this.stack.frame = this.stack.isExistMutiFrames ? parseInt(frame) : null
if (this.imageId !== instanceId) {
this.getOrientationMarker(e.detail.element)
//
@@ -1335,13 +1334,13 @@ export default {
const imageInfo = this.getInstanceInfo(imageId)
var instanceId = imageInfo.instanceId
var frame = imageInfo.frame
this.stack.frame = !isNaN(parseInt(frame)) ? parseInt(frame) : 0
this.stack.frame = this.stack.isExistMutiFrames ? parseInt(frame) : null
if (e.detail.toolName === 'Length' || e.detail.toolName === 'ArrowAnnotate' || e.detail.toolName === 'RectangleRoi') {
const measureData = {}
measureData.studyId = this.stack.studyId
measureData.seriesId = this.stack.seriesId
measureData.instanceId = instanceId
measureData.frame = this.stack.frame ? this.stack.frame : 0
measureData.frame = this.stack.frame
measureData.data = e.detail.measurementData
measureData.type = e.detail.toolName
measureData.thick = this.dicomInfo.thick
@@ -1455,7 +1454,7 @@ export default {
const imageInfo = this.getInstanceInfo(imageId)
var instanceId = imageInfo.instanceId
var frame = imageInfo.frame
this.stack.frame = !isNaN(parseInt(frame)) ? parseInt(frame) : 0
this.stack.frame = this.stack.isExistMutiFrames ? parseInt(frame) : null
var uuid = measurementData.uuid
var idx = this.measureData.findIndex(item => item.MeasureData && item.MeasureData.data && item.MeasureData.data.uuid === uuid)
@@ -1582,7 +1582,9 @@ export default {
var seriesIdx = studyList[studyIdx].SeriesList.findIndex(s => s.seriesId === seriesId)
if (seriesIdx > -1) {
var series = studyList[studyIdx].SeriesList[seriesIdx]
var instanceIdx = series.instanceList.findIndex(imageId => !!~imageId.indexOf(instanceId))
const frame = this.visitTaskList[index].MeasureData[idx].MeasureData.frame
const filterStr = series.isExistMutiFrames ? `frame=${frame}&instanceId=${instanceId}` : `instanceId=${instanceId}`
var instanceIdx = series.imageIds.findIndex(imageId => imageId.includes(filterStr))
if (instanceIdx > -1) {
series.imageIdIndex = instanceIdx
seriesInfo = series
@@ -464,7 +464,10 @@ export default {
var seriesIdx = studyList[studyIdx].SeriesList.findIndex(s => s.seriesId === seriesId)
if (seriesIdx > -1) {
var series = studyList[studyIdx].SeriesList[seriesIdx]
var instanceIdx = series.instanceList.findIndex(imageId => !!~imageId.indexOf(instanceId))
// var instanceIdx = series.instanceList.findIndex(imageId => !!~imageId.indexOf(instanceId))
const frame = this.visitTaskList[index].MeasureData[idx].MeasureData.frame
const filterStr = series.isExistMutiFrames ? `frame=${frame}&instanceId=${instanceId}` : `instanceId=${instanceId}`
var instanceIdx = series.imageIds.findIndex(imageId => imageId.includes(filterStr))
if (instanceIdx > -1) {
series.imageIdIndex = instanceIdx
// series.studyIndex = studyIdx
@@ -444,9 +444,10 @@ export default {
const sdIndx = studyList.findIndex(sd => sd.StudyId === measureDatas[i].StudyId)
const seriesList = studyList[sdIndx].SeriesList
const srIdx = seriesList.findIndex(sr => sr.seriesId === measureDatas[i].SeriesId)
// const instanceList = seriesList[srIdx].imageIds
const instanceList = seriesList[srIdx].instanceList
const isIdx = instanceList.findIndex(is => is.includes(measureDatas[i].InstanceId))
// const instanceList = seriesList[srIdx].instanceList
const imageIds = seriesList[srIdx].imageIds
const filterStr = seriesList[srIdx].isExistMutiFrames ? `frame=${measureDatas[i].MeasureData.frame}&instanceId=${measureDatas[i].InstanceId}` : `instanceId=${measureDatas[i].InstanceId}`
const isIdx = imageIds.findIndex(is => is.includes(filterStr))
const series = seriesList[srIdx]
series.imageIdIndex = isIdx
@@ -517,8 +518,9 @@ export default {
const seriesList = studyList[sdIndx].SeriesList
const srIdx = seriesList.findIndex(sr => sr.seriesId === measureDatas[mIdx].SeriesId)
// const instanceList = seriesList[srIdx].imageIds
const instanceList = seriesList[srIdx].instanceList
const isIdx = instanceList.findIndex(is => is.includes(measureDatas[mIdx].InstanceId))
const imageIds = seriesList[srIdx].imageIds
const filterStr = seriesList[srIdx].isExistMutiFrames ? `frame=${measureDatas[mIdx].MeasureData.frame}&instanceId=${measureDatas[mIdx].InstanceId}` : `instanceId=${measureDatas[mIdx].InstanceId}`
const isIdx = imageIds.findIndex(is => is.includes(filterStr))
const series = seriesList[srIdx]
series.imageIdIndex = isIdx
@@ -222,7 +222,8 @@ export default {
taskBlindName: '',
frame: null,
imageRendered: false,
isExistsClinicalData: false
isExistsClinicalData: false,
isExistMutiFrames: false
// preventCache: true
},
dicomInfo: {
@@ -746,7 +747,7 @@ export default {
const imageInfo = this.getInstanceInfo(imageId)
var instanceId = imageInfo.instanceId
var frame = imageInfo.frame
this.stack.frame = !isNaN(parseInt(frame)) ? parseInt(frame) : 0
this.stack.frame = this.stack.isExistMutiFrames ? parseInt(frame) : null
const ToolStateManager = cornerstoneTools.globalImageIdSpecificToolStateManager
for (var m = 0; m < this.measuredTools.length; m++) {
var toolType = this.measuredTools[m]
@@ -868,7 +869,6 @@ export default {
return seriesList[seriesIdx].loadStatus ? 1 : 0
},
renderMeasuredData(e) {
this.stack.frame = !isNaN(parseInt(this.stack.frame)) ? parseInt(this.stack.frame) : 0
var idx = this.visitTaskList.findIndex(i => i.VisitTaskId === this.stack.visitTaskId)
if (idx === -1) return
this.measureData = this.visitTaskList[idx].MeasureData
@@ -891,7 +891,7 @@ export default {
}
// console.log('renderMeasuredData', this.stack.frame)
if (this.stack.instanceId.includes(data.InstanceId) && ((data.NumberOfFrames === this.stack.frame) || !data.NumberOfFrames) && data.MeasureData) {
if (this.stack.instanceId.includes(data.InstanceId) && ((this.stack.isExistMutiFrames && data.MeasureData.frame === this.stack.frame) || !data.MeasureData.frame) && data.MeasureData) {
const toolState = ToolStateManager.getImageIdToolState(e.detail.image.imageId, data.MeasureData.type)
if (toolState && toolState.data.length > 0) {
var idx = toolState.data.findIndex(item => item.uuid === data.MeasureData.data.uuid)
@@ -978,7 +978,7 @@ export default {
const imageInfo = this.getInstanceInfo(imageId)
var instanceId = imageInfo.instanceId
var frame = imageInfo.frame
this.stack.frame = !isNaN(parseInt(frame)) ? parseInt(frame) : 0
this.stack.frame = this.stack.isExistMutiFrames ? parseInt(frame) : null
const ToolStateManager = cornerstoneTools.globalImageIdSpecificToolStateManager
for (let t = 0; t < this.measuredTools.length; t++) {
var toolType = this.measuredTools[t]
@@ -1063,7 +1063,7 @@ export default {
const imageInfo = this.getInstanceInfo(imageId)
var instanceId = imageInfo.instanceId
var frame = imageInfo.frame
this.stack.frame = !isNaN(parseInt(frame)) ? parseInt(frame) : 0
this.stack.frame = this.stack.isExistMutiFrames ? parseInt(frame) : null
this.stack.instanceId = instanceId
const ToolStateManager = cornerstoneTools.globalImageIdSpecificToolStateManager
ToolStateManager.clearImageIdToolState(dicomSeries.imageIds)
@@ -1178,7 +1178,7 @@ export default {
const imageInfo = this.getInstanceInfo(image.imageId)
var instanceId = imageInfo.instanceId
var frame = imageInfo.frame
this.stack.frame = !isNaN(parseInt(frame)) ? parseInt(frame) : 0
this.stack.frame = this.stack.isExistMutiFrames ? parseInt(frame) : null
this.stack.instanceId = instanceId
this.height = (this.stack.currentImageIdIndex) * 100 / (this.stack.imageIds.length - 1)
this.resetWwwc()
@@ -1253,7 +1253,7 @@ export default {
const imageInfo = this.getInstanceInfo(imageId)
var instanceId = imageInfo.instanceId
var frame = imageInfo.frame
this.stack.frame = !isNaN(parseInt(frame)) ? parseInt(frame) : 0
this.stack.frame = this.stack.isExistMutiFrames ? parseInt(frame) : null
if (this.imageId !== instanceId) {
this.getOrientationMarker(e.detail.element)
//
@@ -1434,7 +1434,7 @@ export default {
const imageInfo = this.getInstanceInfo(imageId)
var instanceId = imageInfo.instanceId
var frame = imageInfo.frame
this.stack.frame = !isNaN(parseInt(frame)) ? parseInt(frame) : 0
this.stack.frame = this.stack.isExistMutiFrames ? parseInt(frame) : null
var uuid = measurementData.uuid
var idx = this.measureData.findIndex(item => item.MeasureData && item.MeasureData.data && item.MeasureData.data.uuid === uuid)
@@ -1702,10 +1702,13 @@ export default {
(s) => s.seriesId === seriesId
)
if (seriesIdx > -1) {
var series = studyList[studyIdx].SeriesList[seriesIdx]
var instanceIdx = series.instanceList.findIndex(
(imageId) => !!~imageId.indexOf(instanceId)
)
var series = studyList[studyIdx].SeriesList[seriesIdx];
let frame = this.visitTaskList[index].MeasureData[idx].MeasureData.frame
let filterStr = series.isExistMutiFrames ? `frame=${frame}&instanceId=${instanceId}` : `instanceId=${instanceId}`
var instanceIdx = series.imageIds.findIndex(imageId => imageId.includes(filterStr))
// var instanceIdx = series.instanceList.findIndex(
// (imageId) => !!~imageId.indexOf(instanceId)
// );
if (instanceIdx > -1) {
series.imageIdIndex = instanceIdx
seriesInfo = series
@@ -607,9 +607,12 @@ export default {
);
if (seriesIdx > -1) {
var series = studyList[studyIdx].SeriesList[seriesIdx];
var instanceIdx = series.instanceList.findIndex(
(imageId) => !!~imageId.indexOf(instanceId)
);
// var instanceIdx = series.instanceList.findIndex(
// (imageId) => !!~imageId.indexOf(instanceId)
// );
let frame = this.visitTaskList[index].MeasureData[idx].MeasureData.frame
let filterStr = series.isExistMutiFrames ? `frame=${frame}&instanceId=${instanceId}` : `instanceId=${instanceId}`
var instanceIdx = series.imageIds.findIndex(imageId => imageId.includes(filterStr))
if (instanceIdx > -1) {
series.imageIdIndex = instanceIdx;
// series.studyIndex = studyIdx
@@ -420,9 +420,11 @@ export default {
const sdIndx = studyList.findIndex(sd => sd.StudyId === measureDatas[i].StudyId)
const seriesList = studyList[sdIndx].SeriesList
const srIdx = seriesList.findIndex(sr => sr.seriesId === measureDatas[i].SeriesId)
// const instanceList = seriesList[srIdx].imageIds
const instanceList = seriesList[srIdx].instanceList
const isIdx = instanceList.findIndex(is => is.includes(measureDatas[i].InstanceId))
// const instanceList = seriesList[srIdx].instanceList
// const isIdx = instanceList.findIndex(is => is.includes(measureDatas[i].InstanceId))
const imageIds = seriesList[srIdx].imageIds
let filterStr = seriesList[srIdx].isExistMutiFrames ? `frame=${measureDatas[i].MeasureData.frame}&instanceId=${measureDatas[i].InstanceId}` : `instanceId=${measureDatas[i].InstanceId}`
const isIdx = imageIds.findIndex(is => is.includes(filterStr))
const series = seriesList[srIdx]
series.imageIdIndex = isIdx
@@ -492,9 +494,11 @@ export default {
if (sdIndx > -1) {
const seriesList = studyList[sdIndx].SeriesList
const srIdx = seriesList.findIndex(sr => sr.seriesId === measureDatas[mIdx].SeriesId)
// const instanceList = seriesList[srIdx].imageIds
const instanceList = seriesList[srIdx].instanceList
const isIdx = instanceList.findIndex(is => is.includes(measureDatas[mIdx].InstanceId))
// const instanceList = seriesList[srIdx].instanceList
// const isIdx = instanceList.findIndex(is => is.includes(measureDatas[mIdx].InstanceId))
const imageIds = seriesList[srIdx].imageIds
let filterStr = seriesList[srIdx].isExistMutiFrames ? `frame=${measureDatas[mIdx].MeasureData.frame}&instanceId=${measureDatas[mIdx].InstanceId}` : `instanceId=${measureDatas[mIdx].InstanceId}`
const isIdx = imageIds.findIndex(is => is.includes(filterStr))
const series = seriesList[srIdx]
series.imageIdIndex = isIdx
@@ -271,7 +271,7 @@
sortable="custom"
/>
<!-- 审核结论 -->
<el-table-column
<el-table-column
prop="IsHaveQuestion"
:label="$t('trials:medicalFeedback:button:isQuestions')"
min-width="120"
@@ -323,7 +323,7 @@
/>
<!-- 回复:disabled="!scope.row.IsHaveQuestion || scope.row.IsInvalid" -->
<el-button
circle
:title="$t('trials:medicalFeedback:table:reply')"
icon="el-icon-chat-dot-round"
@@ -369,12 +369,13 @@
:row-data="currentRow"
@getList="getList"
@close="auditVisible=false"
@nextTask="nextTask"
/>
</el-dialog>
</BaseContainer>
</template>
<script>
import { getIRMedicalFeedbackList } from '@/api/trials'
import { getIRMedicalFeedbackList, getNextIRMedicalFeedback } from '@/api/trials'
import { getTrialCriterionList } from '@/api/trials/reading'
import BaseContainer from '@/components/BaseContainer'
import Pagination from '@/components/Pagination'
@@ -456,6 +457,26 @@ export default {
this.chatForm.title = `${this.$t('trials:medicalFeedback:title:qaRecord')} (${row.SubjectCode} ${row.TaskBlindName})`
this.chatForm.visible = true
},
async nextTask(taskMedicalReviewId) {
try {
const params = {
trialId: this.trialId,
trialReadingCriterionId: this.TrialReadingCriterionId,
taskMedicalReviewId: taskMedicalReviewId
}
const res = await getNextIRMedicalFeedback(params)
if (res.IsSuccess) {
this.auditVisible = false
this.currentRow = res.Result
this.$nextTick(() => {
this.auditVisible = true
})
}
} catch (e) {
this.auditVisible = false
console.log(e)
}
},
//
handleSortChange(column) {
if (column.order === 'ascending') {
@@ -67,6 +67,10 @@
<el-button v-if="hasPermi(['trials:trials-panel:reading:mim-medical-audit:edit']) && auditInfo.AuditState !== 2" type="primary" @click="getNextTask">
{{ $t('trials:medicalFeedback:button:nextTask') }}
</el-button>
<!-- IR下一任务 -->
<el-button v-if="hasPermi(['trials:trials-panel:medicalFeedback:nextTask']) && auditInfo.AuditState === 1" type="primary" @click="getNextIRTask">
{{ $t('trials:irmedicalFeedback:button:nextTask') }}
</el-button>
</div>
<!--签名框 -->
@@ -221,7 +225,20 @@ export default {
//
getNextTask() {
this.disPatchNextTask(this.auditInfo.AuditState >= 2)
},
getNextIRTask() {
//
this.$confirm(this.$t('trials:medicalFeedback:message:goNextTask04'), {
type: 'warning',
distinguishCancelAndClose: true
})
.then(() => {
this.loading = true
this.$emit('nextTask', this.taskMedicalReviewId)
})
.catch(action => {
this.loading = false
})
},
disPatchNextTask(isComplete) {
// '' : ''
@@ -372,7 +372,7 @@
<pagination class="page" :total="total" :page.sync="searchData.PageIndex" :limit.sync="searchData.PageSize" @pagination="getList" />
<el-dialog
v-if="ConfirmReReadingVisible"
title="驳回"
:title="$t('trials:rereadTrack:reject:title:reject')"
:visible.sync="ConfirmReReadingVisible"
width="600px"
append-to-body
@@ -135,12 +135,25 @@ export default {
EmailAuthorizationCode: [{ required: true, message: this.$t('common:ruleMessage:specify') }],
EmailSMTPServerAddress: [{ required: true, message: this.$t('common:ruleMessage:specify') }],
EmailSMTPServerPort: [{ required: true, message: this.$t('common:ruleMessage:select') }]
}
},
NODE_ENV: process.env.NODE_ENV,
}
},
watch: {
activeTab(v) {
console.log(v)
// watch: {
// activeTab(v) {
// console.log(v)
// }
// },
created() {
if(this.NODE_ENV === 'production'){
this.form= {
EmailFromEmail: 'test@extimaging.com',
EmailFromName: 'Test_IRC',
EmailAuthorizationCode: 'SHzyyl2021',
EmailSMTPServerAddress: 'smtp.qiye.aliyun.com',
EmailSMTPServerPort: 465,
IsConfigureEmail: true
};
}
},
mounted() {
@@ -17,21 +17,6 @@
v-model="form.QuestionName"
/>
</el-form-item>
<el-form-item
:label="$t('common:title:languageType')"
prop="LanguageType"
>
<el-select
v-model="form.LanguageType"
>
<el-option
v-for="item of $d.LanguageType"
:key="item.value"
:value="item.value"
:label="item.label"
/>
</el-select>
</el-form-item>
<!-- 类型 -->
<el-form-item
:label="$t('trials:qcCfg:table:type')"
@@ -326,7 +326,7 @@
</box-content>
</template>
<script>
import { batchDeteteCriterionMedicineQuestion, getReadingMedicineTrialQuestionList, deleteReadingMedicineTrialQuestion, confirmReadingMedicineQuestion, verifyReadingMedicineQuestion, verifyIsCanConfirm } from '@/api/trials'
import { addDefaultQuestions , batchDeteteCriterionMedicineQuestion, getReadingMedicineTrialQuestionList, deleteReadingMedicineTrialQuestion, confirmReadingMedicineQuestion, verifyReadingMedicineQuestion, verifyIsCanConfirm } from '@/api/trials'
import { getTrialCriterionList } from '@/api/trials/reading'
import BoxContent from '@/components/BoxContent'
import DefaultQS from './components/DefaultQsLang'
@@ -334,7 +334,7 @@ import QSForm from './components/QSForm'
import Pagination from '@/components/Pagination'
import QuestionsPreview from './components/QuestionsPreview'
import SignForm from '@/views/trials/components/newSignForm'
import const_ from '@/const/sign-code'
import const_ from '@/const/sign-code';
const searchDataDefault = () => {
return {
QuestionName: '',
@@ -382,7 +382,6 @@ export default {
this.CurrentCriterionType = this.trialCriterionList.find(v => {
return v.TrialReadingCriterionId === this.trialReadingCriterionId
}).CriterionType
console.log(this.CurrentCriterionType)
}
},
mounted() {
@@ -390,6 +389,23 @@ export default {
this.getTrialCriterionList()
},
methods: {
//
addDefaultQuestions(){
let data = {
TrialId: this.$route.query.trialId,
TrialReadingCriterionId: this.trialReadingCriterionId,
LanguageType: 0
}
if( this.otherInfo.LanguageType === null ){
data.LanguageType = this.$i18n.locale === 'zh' ? 0 : 1
} else {
data.LanguageType = this.otherInfo.LanguageType
}
addDefaultQuestions(data).then(res => {
this.$message.success(this.$t('common:message:savedSuccessfully'))
this.getList();
})
},
handleSelectionChange(value) {
this.selectedList = value
},
@@ -433,7 +449,8 @@ export default {
},
//
handleAdd() {
this.addVisible = true
// this.addVisible = true
this.addDefaultQuestions();
},
handleEdit(row) {
this.currentRow = { ...row }
@@ -0,0 +1,127 @@
<template>
<base-model v-if="config.visible" :config="config">
<template slot="dialog-body">
<el-button type="primary" icon="el-icon-plus" @click="openAdd" style="float: right" v-if="status === 'add'">
{{ $t("common:button:add") }}
</el-button>
<el-table v-loading="loading" :data="list" stripe>
<!-- AE 名称 -->
<el-table-column prop="CallingAE" :label="$t('trials:sitesList:dicomAEList:table:AEName')" show-overflow-tooltip
min-width="120" />
<!-- IP地址 -->
<el-table-column prop="IP" :label="$t('trials:sitesList:dicomAEList:table:ip')" show-overflow-tooltip
min-width="120" />
<!-- 端口 -->
<el-table-column prop="Port" :label="$t('trials:sitesList:dicomAEList:table:port')" show-overflow-tooltip
min-width="120" />
<!-- 说明 -->
<el-table-column prop="Description" :label="$t('trials:sitesList:dicomAEList:table:description')"
show-overflow-tooltip min-width="120" />
<!-- 操作 -->
<!-- <el-table-column prop="action" :label="$t('trials:sitesList:dicomAEList:table:action')" min-width="120">
<template slot-scope="scope">
<el-button circle :title="$t('trials:sitesList:dicomAEList:action:del')" icon="el-icon-delete"
:disabled="scope.row.IsDeleted" @click="delDicom(scope.row)" />
</template>
</el-table-column> -->
</el-table>
<dicomForm ref="dicomForm" @getList="getList" @save="save" />
</template>
</base-model>
</template>
<script>
import BaseModel from "@/components/BaseModel";
import dicomForm from "./dicomForm.vue";
import {
getTrialSiteDicomAEList,
deleteTrialSiteDicomAE
} from "@/api/trials";
const defaultSearchData = () => {
return {
TrialSiteId: null,
CallingAE: null,
Ip: null,
Port: null,
Description: null,
};
};
export default {
name: "dicomAE",
components: { BaseModel, dicomForm },
data() {
return {
config: {
visible: false,
title: null,
width: "800px",
appendToBody: true
},
status: "add",
TrialSiteId: null,
loading: false,
list: [],
searchData: defaultSearchData(),
siteData: {},
};
},
methods: {
open(row, status = "add") {
this.status = status;
this.TrialSiteId = row.TrialSiteId;
this.config.title = this.$t(
"trials:trials-panel:setting:personnel-manage:dicomAETitle"
).replace("xxx", `${row.TrialSiteCode}${row.TrialSiteAliasName}`);
this.siteData = row;
this.config.visible = true;
this.getList();
},
// dicomAE
async getList() {
try {
this.searchData.TrialSiteId = this.TrialSiteId;
this.loading = true;
let res = await getTrialSiteDicomAEList(this.searchData);
this.loading = false;
if (res.IsSuccess) {
this.list = res.Result;
}
} catch (err) {
console.log(err);
this.loading = false;
}
},
//
openAdd() {
this.$refs.dicomForm.open(this.siteData, null, 'add');
},
save() {
this.$emit('getList')
},
// dicom
async delDicom(row) {
try {
let confirm = await this.$confirm(
this.$t("trials:sitesList:dicomAEList:confirm:delMessage"),
{
type: "warning",
distinguishCancelAndClose: true,
confirmButtonText: this.$t("common:button:confirm"),
cancelButtonText: this.$t("common:button:cancel"),
}
);
if (confirm !== "confirm") return;
let res = await deleteTrialSiteDicomAE(row.Id);
if (res.IsSuccess) {
this.getList();
this.save();
this.$t('common:message:deletedSuccessfully');
}
} catch (err) {
console.log(err);
}
}
},
};
</script>
<style lang="scss" scoped></style>
@@ -0,0 +1,183 @@
<template>
<base-model v-if="config.visible" :config="config">
<template slot="dialog-body">
<el-form ref="dicomForm" :model="form" label-width="100px" :rules="rules">
<!-- 中心编号 -->
<el-form-item :label="$t('trials:sitesList:table:siteId')" prop="TrialSiteCode">
<el-input v-model="siteData.TrialSiteCode" disabled />
</el-form-item>
<!-- 中心别称 -->
<el-form-item :label="$t('trials:sitesList:table:siteName')" prop="TrialSiteAliasName">
<el-input v-model="siteData.TrialSiteAliasName" disabled />
</el-form-item>
<!-- AE -->
<el-form-item :label="$t('trials:setting:siteList:dicomForm:dicomAE')" prop="CallingAE">
<el-input v-model="form.CallingAE" clearable maxlength="16" />
</el-form-item>
<!-- IP -->
<el-form-item :label="$t('trials:setting:siteList:dicomForm:ip')" prop="Ip">
<el-input v-model="form.Ip" clearable />
</el-form-item>
<!-- PORT -->
<el-form-item :label="$t('trials:setting:siteList:dicomForm:port')" prop="Port">
<el-input v-model.number="form.Port" type="number" clearable />
</el-form-item>
<!-- 说明 -->
<el-form-item :label="$t('trials:setting:siteList:dicomForm:description')" prop="Description">
<el-input v-model="form.Description" clearable />
</el-form-item>
</el-form>
</template>
<template slot="dialog-footer">
<el-button type="primary" size="small" :disabled="loading" @click="config.visible = false">
{{ $t("common:button:cancel") }}
</el-button>
<el-button type="primary" size="small" :loading="loading" @click="save">
{{ $t("common:button:save") }}
</el-button>
</template>
</base-model>
</template>
<script>
import {
addOrUpdateTrialSiteDicomAE,
} from "@/api/trials";
import BaseModel from "@/components/BaseModel";
export default {
name: "dicomForm",
components: { BaseModel },
data() {
return {
config: {
visible: false,
title: null,
width: "600px",
appendToBody: true,
},
form: {
Id: null,
CallingAE: null,
Ip: null,
Port: null,
Description: null
},
rules: {
CallingAE: [
{
required: true,
message: this.$t("common:ruleMessage:specify"),
trigger: "blur",
},
{
pattern: /[a-zA-Z0-9]/,
message: this.$t("common:ruleMessage:CallingAEPattern"),
trigger: "blur",
},
{
min: 1,
max: 16,
message: this.$t("common:ruleMessage:CallingAEPattern"),
trigger: "blur",
},
],
Ip: [
{
required: true,
message: this.$t("common:ruleMessage:specify"),
trigger: "blur",
},
{
validator: (rule, value, callback) => {
if (
value === "" ||
typeof value === "undefined" ||
value == null
) {
callback(new Error(this.$t("common:ruleMessage:ipPattern")));
} else {
const reg =
/^(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])$/;
if (!reg.test(value) && value !== "") {
callback(new Error(this.$t("common:ruleMessage:ipPattern")));
} else {
callback();
}
}
},
message: this.$t("common:ruleMessage:ipPattern"),
trigger: "blur",
},
],
Port: [
{
required: true,
message: this.$t("common:ruleMessage:specify"),
trigger: "blur",
},
{
type: "number",
min: 0,
max: 65535,
message: this.$t("common:ruleMessage:portPattern"),
trigger: "blur",
},
{
validator: (rule, value, callback) => {
if (
value &&
(String(value).includes(".") ||
new RegExp(/\D/g).test(String(value)))
) {
callback(new Error(this.$t("common:ruleMessage:portPattern")));
} else {
callback();
}
},
trigger: "blur",
},
],
},
siteData: {},
loading: false,
status: 'add'
};
},
methods: {
open(siteData, data = null, status = 'add') {
this.siteData = siteData;
this.status = status;
if (data) {
Object.keys(this.form).forEach(key => {
this.form[key] = data[key];
})
}
this.config.title = this.$t(
"trials:trials-panel:setting:personnel-manage:dicomAETitle"
).replace("xxx", `${siteData.TrialSiteCode}${siteData.TrialSiteAliasName}`);
this.config.visible = true;
},
//
async save() {
try {
let validate = await this.$refs.dicomForm.validate();
if (!validate) return false;
this.loading = true;
this.form.TrialSiteId = this.siteData.TrialSiteId;
this.form.TrialId = this.$route.query.trialId;
let res = await addOrUpdateTrialSiteDicomAE(this.form);
this.loading = false;
if (res.IsSuccess) {
this.status === 'add' ? this.$t('common:message:savedSuccessfully') : this.$t('common:message:savedFail');
this.$emit('getList');
this.$emit("save");
this.config.visible = false;
}
} catch (err) {
console.log(err);
this.loading = false;
}
}
}
};
</script>
<style lang="scss" scoped></style>
@@ -16,23 +16,13 @@
</el-form-item> -->
<!-- 关键词 -->
<el-form-item :label="$t('trials:sitesList:form:keyWord')">
<el-input
v-model="listQuery.UserKeyInfo"
style="width: 200px"
class="mr"
clearable
:placeholder="$t('trials:sitesList:formPlaceholder:keyWord')"
/>
<el-input v-model="listQuery.UserKeyInfo" style="width: 200px" class="mr" clearable
:placeholder="$t('trials:sitesList:formPlaceholder:keyWord')" />
</el-form-item>
<!-- 状态 -->
<el-form-item :label="$t('trials:sitesList:table:status')">
<el-select v-model="listQuery.IsDeleted" clearable class="mr">
<el-option
v-for="item of $d.IsSiteDisable"
:key="item.label"
:label="item.label"
:value="item.value"
/>
<el-option v-for="item of $d.IsSiteDisable" :key="item.label" :label="item.label" :value="item.value" />
</el-select>
</el-form-item>
<el-form-item>
@@ -41,120 +31,60 @@
{{ $t("common:button:search") }}
</el-button>
<!-- 重置 -->
<el-button
type="primary"
icon="el-icon-refresh-left"
@click="handleReset"
>
<el-button type="primary" icon="el-icon-refresh-left" @click="handleReset">
{{ $t("common:button:reset") }}
</el-button>
<!-- 中心调研 -->
<el-button
v-hasPermi="[
'trials:trials-panel:setting:personnel-manage:questionnaire-record',
]"
type="primary"
icon="el-icon-info"
@click="handleResearchList"
>
<el-button v-hasPermi="[
'trials:trials-panel:setting:personnel-manage:questionnaire-record',
]" type="primary" icon="el-icon-info" @click="handleResearchList">
{{ $t("trials:sitesList:button:siteResearch") }}
</el-button>
<!-- 添加中心 -->
<el-button
v-hasPermi="[
'trials:trials-panel:setting:personnel-manage:add-site',
]"
type="primary"
icon="el-icon-plus"
@click="handleAdd"
>
<el-button v-hasPermi="[
'trials:trials-panel:setting:personnel-manage:add-site',
]" type="primary" icon="el-icon-plus" @click="handleAdd">
{{ $t("trials:sitesList:dialogTitle:assignSite") }}
</el-button>
<el-button
type="primary"
icon="el-icon-download"
:disabled="list.length === 0"
@click="handleResearchListExport"
>
<el-button type="primary" icon="el-icon-download" :disabled="list.length === 0"
@click="handleResearchListExport">
{{ $t("common:button:export") }}
</el-button>
<!-- 下载模板 -->
<el-button
type="primary"
icon="el-icon-download"
@click="handleDownload"
>
<el-button type="primary" icon="el-icon-download" @click="handleDownload">
{{ $t("common:button:downloadTpl") }}
</el-button>
<el-button
v-hasPermi="[
'trials:trials-panel:setting:personnel-manage:add-site',
]"
type="primary"
icon="el-icon-upload2"
@click="handleUpload"
>
<el-button v-hasPermi="[
'trials:trials-panel:setting:personnel-manage:add-site',
]" type="primary" icon="el-icon-upload2" @click="handleUpload">
{{ $t("common:button:upload") }}
</el-button>
</el-form-item>
</el-form>
</div>
<el-table
v-loading="listLoading"
:data="list"
stripe
@sort-change="handleSortByColumn"
>
<el-table v-loading="listLoading" :data="list" stripe @sort-change="handleSortByColumn">
<el-table-column type="index" width="50" />
<!-- 中心编号 -->
<el-table-column
prop="TrialSiteCode"
:label="$t('trials:sitesList:table:siteId')"
show-overflow-tooltip
sortable="custom"
width="120"
>
<el-table-column prop="TrialSiteCode" :label="$t('trials:sitesList:table:siteId')" show-overflow-tooltip
sortable="custom" width="120">
<template slot-scope="scope">
<span v-if="!!scope.row.TrialSiteCode">{{
scope.row.TrialSiteCode
}}</span>
<i
v-else
class="el-icon-warning"
style="color: #f44336; font-size: 14px"
/>
<i v-else class="el-icon-warning" style="color: #f44336; font-size: 14px" />
</template>
</el-table-column>
<!-- 中心名称 -->
<el-table-column
prop="TrialSiteName"
:label="$t('trials:sitesList:table:siteName')"
show-overflow-tooltip
sortable="custom"
min-width="120"
/>
<el-table-column prop="TrialSiteName" :label="$t('trials:sitesList:table:siteName')" show-overflow-tooltip
sortable="custom" min-width="120" />
<!-- 中心别名 -->
<el-table-column
prop="TrialSiteAliasName"
:label="$t('trials:sitesList:table:siteAliasName')"
show-overflow-tooltip
sortable="custom"
min-width="120"
/>
<el-table-column prop="TrialSiteAliasName" :label="$t('trials:sitesList:table:siteAliasName')"
show-overflow-tooltip sortable="custom" min-width="120" />
<!-- 参与者 -->
<el-table-column
prop="UserNameList"
:label="$t('trials:sitesList:table:staff')"
show-overflow-tooltip
min-width="100"
>
<el-table-column prop="UserNameList" :label="$t('trials:sitesList:table:staff')" show-overflow-tooltip
min-width="100">
<template slot-scope="scope">
<el-button
v-if="scope.row.UserCount > 0"
size="small"
type="text"
@click="getCrcList(scope.row)"
>
<el-button v-if="scope.row.UserCount > 0" size="small" type="text" @click="getCrcList(scope.row)">
{{
scope.row.UserNameList.length > 0
? scope.row.UserNameList.join(", ")
@@ -164,29 +94,14 @@
</template>
</el-table-column>
<!-- Subjects -->
<el-table-column
prop="SubjectCount"
min-width="100"
:label="$t('trials:site:table:subjects')"
show-overflow-tooltip
sortable="custom"
/>
<el-table-column prop="SubjectCount" min-width="100" :label="$t('trials:site:table:subjects')"
show-overflow-tooltip sortable="custom" />
<!-- Visits -->
<el-table-column
prop="VisitCount"
min-width="100"
:label="$t('trials:site:table:visits')"
show-overflow-tooltip
sortable="custom"
/>
<el-table-column prop="VisitCount" min-width="100" :label="$t('trials:site:table:visits')" show-overflow-tooltip
sortable="custom" />
<!-- 状态 -->
<el-table-column
prop="IsDeleted"
:label="$t('trials:sitesList:table:status')"
show-overflow-tooltip
sortable
min-width="100"
>
<el-table-column prop="IsDeleted" :label="$t('trials:sitesList:table:status')" show-overflow-tooltip sortable
min-width="100">
<template slot-scope="scope">
<el-tag v-if="scope.row.IsDeleted" type="danger">{{
$fd("IsSiteDisable", scope.row.IsDeleted)
@@ -196,53 +111,45 @@
}}</el-tag>
</template>
</el-table-column>
<!-- 授权时间 -->
<el-table-column
prop="EnabledTime"
:label="$t('trials:sitesList:table:timeAdded')"
show-overflow-tooltip
sortable
min-width="150"
/>
<el-table-column
v-if="
hasPermi([
'trials:trials-panel:setting:personnel-manage:edit-site',
'trials:trials-panel:setting:personnel-manage:remove-site',
])
"
:label="$t('common:action:action')"
min-width="120"
>
<!-- DICOM AE -->
<el-table-column prop="CallingAEList" :label="$t('trials:sitesList:table:AE')" show-overflow-tooltip sortable
min-width="100">
<template slot-scope="scope">
<el-button
circle
:title="$t('trials:sitesList:action:assign')"
icon="el-icon-user"
:disabled="scope.row.IsDeleted"
@click="getCrcList(scope.row)"
/>
<el-button v-if="scope.row.CallingAEList.length > 0" size="small" type="text"
@click="handleConfig(scope.row, 'view')">
{{
scope.row.CallingAEList.length > 0
? scope.row.CallingAEList.join(", ")
: ""
}}
</el-button>
</template>
</el-table-column>
<!-- 授权时间 -->
<el-table-column prop="EnabledTime" :label="$t('trials:sitesList:table:timeAdded')" show-overflow-tooltip sortable
min-width="150" />
<el-table-column v-if="
hasPermi([
'trials:trials-panel:setting:personnel-manage:edit-site',
'trials:trials-panel:setting:personnel-manage:remove-site',
])
" :label="$t('common:action:action')" min-width="120">
<template slot-scope="scope">
<el-button circle :title="$t('trials:sitesList:action:assign')" icon="el-icon-user"
:disabled="scope.row.IsDeleted" @click="getCrcList(scope.row)" />
<!-- Edit -->
<el-button
v-hasPermi="[
'trials:trials-panel:setting:personnel-manage:edit-site',
]"
circle
:title="$t('common:button:edit')"
icon="el-icon-edit-outline"
@click="handleEdit(scope.row)"
/>
<el-button v-hasPermi="[
'trials:trials-panel:setting:personnel-manage:edit-site',
]" circle :title="$t('common:button:edit')" icon="el-icon-edit-outline" @click="handleEdit(scope.row)" />
<el-button circle :title="$t('common:button:config')" icon="el-icon-setting"
@click="handleConfig(scope.row, 'add')" />
</template>
</el-table-column>
</el-table>
<div class="pagination" style="text-align: right">
<pagination
:total="total"
:page.sync="listQuery.PageIndex"
:limit.sync="listQuery.PageSize"
@pagination="getList"
/>
<pagination :total="total" :page.sync="listQuery.PageIndex" :limit.sync="listQuery.PageSize"
@pagination="getList" />
</div>
<!-- 给site分配crc -->
@@ -255,66 +162,31 @@
<!-- 修改site信息 -->
<base-model v-if="edit_model.visible" :config="edit_model">
<template slot="dialog-body">
<el-form
ref="editForm"
:model="form"
label-width="100px"
:rules="rules"
>
<el-form ref="editForm" :model="form" label-width="100px" :rules="rules">
<!-- 中心编号 -->
<el-form-item
:label="$t('trials:sitesList:table:siteId')"
prop="TrialSiteCode"
>
<el-form-item :label="$t('trials:sitesList:table:siteId')" prop="TrialSiteCode">
<el-input v-model="form.TrialSiteCode" />
</el-form-item>
<!-- 中心名称 -->
<el-form-item
:label="$t('trials:sitesList:table:siteName')"
prop="TrialSiteName"
>
<el-autocomplete
clearable
class="inline-input"
style="width: 100%"
v-model="form.TrialSiteName"
:fetch-suggestions="querySearch"
@select="handleSelect"
placeholder=""
></el-autocomplete>
<el-form-item :label="$t('trials:sitesList:table:siteName')" prop="TrialSiteName">
<el-autocomplete clearable class="inline-input" style="width: 100%" v-model="form.TrialSiteName"
:fetch-suggestions="querySearch" @select="handleSelect" placeholder=""></el-autocomplete>
</el-form-item>
<!-- 中心别称 -->
<el-form-item
:label="$t('trials:sitesList:table:siteAliasName')"
prop="TrialSiteAliasName"
>
<el-form-item :label="$t('trials:sitesList:table:siteAliasName')" prop="TrialSiteAliasName">
<el-input v-model="form.TrialSiteAliasName" />
</el-form-item>
<!-- 状态 -->
<el-form-item :label="$t('trials:sitesList:table:status')">
<el-switch
v-model="form.IsDeleted"
:active-value="false"
:inactive-value="true"
/>
<el-switch v-model="form.IsDeleted" :active-value="false" :inactive-value="true" />
</el-form-item>
</el-form>
</template>
<template slot="dialog-footer">
<el-button
type="primary"
size="small"
:disabled="saveBtnLoading"
@click="edit_model.visible = false"
>
<el-button type="primary" size="small" :disabled="saveBtnLoading" @click="edit_model.visible = false">
{{ $t("common:button:cancel") }}
</el-button>
<el-button
type="primary"
size="small"
:loading="saveBtnLoading"
@click="handleUpdateSiteID"
>
<el-button type="primary" size="small" :loading="saveBtnLoading" @click="handleUpdateSiteID">
{{ $t("common:button:save") }}
</el-button>
</template>
@@ -325,29 +197,14 @@
<template slot="dialog-body">
<span>{{ $t("trials:internalStaff:table:status") }}:</span>
<el-radio-group v-model="staffStatus">
<el-radio
v-for="item of $d.IsUserExitTrial"
:key="item.label"
:label="item.value"
>{{ item.label }}</el-radio
>
<el-radio v-for="item of $d.IsUserExitTrial" :key="item.label" :label="item.value">{{ item.label }}</el-radio>
</el-radio-group>
</template>
<template slot="dialog-footer">
<el-button
:disabled="btnLoading"
size="small"
type="primary"
@click="status_model.visible = false"
>
<el-button :disabled="btnLoading" size="small" type="primary" @click="status_model.visible = false">
{{ $t("common:button:cancel") }}
</el-button>
<el-button
size="small"
type="primary"
:loading="btnLoading"
@click="saveStatus"
>
<el-button size="small" type="primary" :loading="btnLoading" @click="saveStatus">
{{ $t("common:button:save") }}
</el-button>
</template>
@@ -357,72 +214,33 @@
<base-model v-if="siteOfcrc_model.visible" :config="siteOfcrc_model">
<template slot="dialog-body">
<div style="text-align: right">
<el-button
v-hasPermi="[
'trials:trials-panel:setting:personnel-manage:assign-staff',
]"
type="primary"
icon="el-icon-plus"
size="small"
@click="crc_model.visible = true"
>
<el-button v-hasPermi="[
'trials:trials-panel:setting:personnel-manage:assign-staff',
]" type="primary" icon="el-icon-plus" size="small" @click="crc_model.visible = true">
{{ $t("common:button:add") }}
</el-button>
</div>
<el-table
v-loading="userListLoading"
:data="userList"
height="400"
size="small"
>
<el-table v-loading="userListLoading" :data="userList" height="400" size="small">
<!-- 姓名 -->
<el-table-column
prop="UserRealName"
:label="$t('trials:internalStaff:table:name')"
width="100"
show-overflow-tooltip
/>
<el-table-column prop="UserRealName" :label="$t('trials:internalStaff:table:name')" width="100"
show-overflow-tooltip />
<!-- 用户名 -->
<el-table-column
prop="UserName"
:label="$t('trials:internalStaff:table:uid')"
min-width="100"
show-overflow-tooltip
/>
<el-table-column prop="UserName" :label="$t('trials:internalStaff:table:uid')" min-width="100"
show-overflow-tooltip />
<!-- 用户类型 -->
<el-table-column
prop="UserType"
:label="$t('trials:internalStaff:table:userType')"
width="100"
show-overflow-tooltip
/>
<el-table-column prop="UserType" :label="$t('trials:internalStaff:table:userType')" width="100"
show-overflow-tooltip />
<!-- 电话 -->
<el-table-column
prop="Phone"
:label="$t('trials:internalStaff:table:phone')"
show-overflow-tooltip
width="100"
/>
<el-table-column prop="Phone" :label="$t('trials:internalStaff:table:phone')" show-overflow-tooltip
width="100" />
<!-- 邮箱 -->
<el-table-column
prop="EMail"
:label="$t('trials:internalStaff:table:email')"
show-overflow-tooltip
width="100"
/>
<el-table-column prop="EMail" :label="$t('trials:internalStaff:table:email')" show-overflow-tooltip
width="100" />
<!-- 单位 -->
<el-table-column
prop="OrganizationName"
:label="$t('trials:internalStaff:table:organization')"
width="100"
/>
<el-table-column prop="OrganizationName" :label="$t('trials:internalStaff:table:organization')" width="100" />
<!-- 状态 -->
<el-table-column
prop="IsDeleted"
:label="$t('trials:internalStaff:table:status')"
show-overflow-tooltip
width="100"
>
<el-table-column prop="IsDeleted" :label="$t('trials:internalStaff:table:status')" show-overflow-tooltip
width="100">
<template slot-scope="scope">
<el-tag v-if="scope.row.IsDeleted" type="danger">{{
$fd("IsUserExitTrial", scope.row.IsDeleted)
@@ -432,37 +250,18 @@
}}</el-tag>
</template>
</el-table-column>
<el-table-column
prop="CreateTime"
:label="$t('trials:internalStaff:table:authorizationTime')"
show-overflow-tooltip
sortable="custom"
width="210"
/>
<el-table-column
prop="DeletedTime"
:label="$t('trials:internalStaff:table:disableTime')"
show-overflow-tooltip
sortable
width="210"
/>
<el-table-column
v-hasPermi="[
'trials:trials-panel:setting:personnel-manage:assign-staff',
]"
:label="$t('common:action:action')"
width="100"
>
<el-table-column prop="CreateTime" :label="$t('trials:internalStaff:table:authorizationTime')"
show-overflow-tooltip sortable="custom" width="210" />
<el-table-column prop="DeletedTime" :label="$t('trials:internalStaff:table:disableTime')"
show-overflow-tooltip sortable width="210" />
<el-table-column v-hasPermi="[
'trials:trials-panel:setting:personnel-manage:assign-staff',
]" :label="$t('common:action:action')" width="100">
<template slot-scope="scope">
<el-button
v-hasPermi="[
'trials:trials-panel:setting:personnel-manage:assign-staff',
]"
circle
:title="$t('trials:internalStaff:action:status')"
icon="el-icon-edit-outline"
@click="handleStatus(scope.row)"
/>
<el-button v-hasPermi="[
'trials:trials-panel:setting:personnel-manage:assign-staff',
]" circle :title="$t('trials:internalStaff:action:status')" icon="el-icon-edit-outline"
@click="handleStatus(scope.row)" />
</template>
</el-table-column>
</el-table>
@@ -471,12 +270,11 @@
<!-- 导入 -->
<base-model v-if="upload_model.visible" :config="upload_model">
<template slot="dialog-body">
<UploadExcel
@closeDialog="upload_model.visible = false"
@getList="getList"
/>
<UploadExcel @closeDialog="upload_model.visible = false" @getList="getList" />
</template>
</base-model>
<!--dicom AE-->
<dicomAEList ref="dicomAEList" @getList="getList" />
</div>
</template>
<script>
@@ -496,6 +294,7 @@ import CRCForm from "./crcForm";
import BaseModel from "@/components/BaseModel";
import UploadExcel from "./uploadExcel";
import moment from "moment";
import dicomAEList from "./dicomAEList.vue";
const getListQueryDefault = () => {
return {
UserKeyInfo: "",
@@ -511,7 +310,7 @@ const getListQueryDefault = () => {
};
export default {
name: "Participant",
components: { Pagination, CRCForm, BaseModel, UploadExcel },
components: { Pagination, CRCForm, BaseModel, UploadExcel, dicomAEList },
data() {
return {
list: [],
@@ -610,6 +409,10 @@ export default {
this.getTrialSiteSelectList();
},
methods: {
// DICOMAE
handleConfig(row, status) {
this.$refs.dicomAEList.open(row, status);
},
handleSelect(item) {
this.form.TrialSiteName = item.SiteName;
this.form.TrialSiteAliasName = item.AliasName
@@ -891,19 +694,23 @@ export default {
.filter-box {
display: flex;
padding: 5px;
.base-search-form {
.el-form-item {
margin-bottom: 0px;
}
}
.mr {
margin-right: 5px;
width: 120px;
}
}
.el-dialog__header {
padding: 10px;
}
.el-dialog__body {
padding: 10px;
}
@@ -7,23 +7,6 @@
<el-form-item :label="$t('trials:qcCfg:table:questionName')">
<el-input v-model="searchData.QuestionName" clearable style="width:120px;" />
</el-form-item>
<!-- 语言类型 -->
<el-form-item
:label="$t('common:title:languageType')"
>
<el-select
v-model="searchData.LanguageType"
style="width:120px;"
clearable
>
<el-option
v-for="item of $d.LanguageType"
:key="item.value"
:value="item.value"
:label="item.label"
/>
</el-select>
</el-form-item>
<!-- 类型 -->
<el-form-item :label="$t('trials:qcCfg:table:type')">
<el-select v-model="searchData.Type" clearable style="width:120px;">
@@ -70,16 +53,6 @@
:label="$t('trials:qcCfg:table:questionName')"
show-overflow-tooltip
/>
<!-- 审核问题 -->
<el-table-column
prop="LanguageType"
:label="$t('common:title:languageType')"
show-overflow-tooltip
>
<template slot-scope="scope">
{{ $fd('LanguageType', scope.row.LanguageType) }}
</template>
</el-table-column>
<!-- 类型 -->
<el-table-column
prop="Type"
@@ -140,6 +113,7 @@ import { getQCQuestionConfigureList } from '@/api/dictionary'
import { batchAddTrialQCQuestionConfigure } from '@/api/trials'
import BoxContent from '@/components/BoxContent'
import Pagination from '@/components/Pagination'
import { mapGetters } from 'vuex'
const searchDataDefault = () => {
return {
@@ -167,15 +141,23 @@ export default {
selectArr: []
}
},
mounted() {
this.trialId = this.$route.query.trialId
this.getList()
computed: {
...mapGetters(['language'])
},
created(){
this.trialId = this.$route.query.trialId;
this.getList();
},
methods: {
//
getList() {
this.loading = true
this.searchData.TrialId = this.trialId
this.searchData.TrialId = this.trialId;
if (this.$i18n.locale === 'zh') {
this.searchData.LanguageType = 0
} else {
this.searchData.LanguageType = 1
}
getQCQuestionConfigureList(this.searchData).then(res => {
this.loading = false
this.list = res.Result.CurrentPageData
@@ -214,7 +196,7 @@ export default {
},
//
handleReset() {
this.searchData = searchDataDefault()
this.searchData = searchDataDefault();
this.getList()
}
}
@@ -16,10 +16,12 @@
<el-input
v-model="form.ClinicalDataSetEnName"
:disabled="data.IsFromSystemData === true"
@input="form.ClinicalDataSetName = form.ClinicalDataSetEnName"
@blur="form.ClinicalDataSetName = form.ClinicalDataSetEnName"
/>
</el-form-item>
<!-- 临床数据名称 -->
<el-form-item
<!-- <el-form-item
:label="$t('trials:processCfg:title:clinicalDataName')+ 'CN'"
prop="ClinicalDataSetName"
>
@@ -27,7 +29,7 @@
v-model="form.ClinicalDataSetName"
:disabled="data.IsFromSystemData === true"
/>
</el-form-item>
</el-form-item> -->
<!-- 上传人 -->
<el-form-item
:label="$t('trials:processCfg:title:uploader')"
@@ -0,0 +1,546 @@
<template>
<div>
<el-form
ref="dicomConfigForm"
v-loading="loading"
:model="form"
label-width="300px"
style="width: 800px"
:rules="rules"
size="small"
>
<!-- pacs直连 -->
<el-form-item
:label="$t('trials:dicomCfg:form:pacsLine')"
prop="IsPACSConnect"
>
<el-radio-group
v-model="form.IsPACSConnect"
:disabled="form.IsTrialPACSConfirmed && !isEdit"
@change="changeConnect"
>
<el-radio
v-for="item of $d.PACSConnectMode"
:key="item.id"
:label="item.value"
>
{{ item.label }}
</el-radio>
</el-radio-group>
</el-form-item>
<template v-if="form.IsPACSConnect">
<!--AE名称-->
<el-form-item
:label="$t('trials:dicomCfg:form:CalledAE')"
prop="CalledAE"
>
<el-input
v-model="form.CalledAE"
style="width: 80%"
:disabled="form.IsTrialPACSConfirmed && !isEdit"
clearable
maxlength="16"
/>
</el-form-item>
<!-- IP地址 -->
<el-form-item :label="$t('trials:dicomCfg:form:Ip')" prop="Ip">
<el-input
v-model="form.Ip"
style="width: 80%"
:disabled="form.IsTrialPACSConfirmed && !isEdit"
clearable
/>
</el-form-item>
<!-- 端口 -->
<el-form-item :label="$t('trials:dicomCfg:form:Port')" prop="Port">
<el-input
v-model.number="form.Port"
type="number"
clearable
style="width: 80%"
:disabled="form.IsTrialPACSConfirmed && !isEdit"
/>
</el-form-item>
<!--状态-->
<el-form-item
:label="$t('trials:dicomCfg:form:IsTestOK')"
prop="IsTestOK"
>
<el-tag
:type="form.IsTestOK ? 'success' : 'danger'"
effect="plain"
v-if="form.IsTestOK !== null"
>
{{ $fd("DicomTest", form.IsTestOK) }}
</el-tag>
</el-form-item>
</template>
<el-form-item>
<!-- 测试DICOM AE -->
<el-button
v-if="
isEdit &&
hasPermi(['trials:trials-panel:setting:trial-config:save']) &&
form.IsPACSConnect
"
type="primary"
@click.stop="testSCPServerConnect"
>
{{ $t("common:button:DicomTest") }}
</el-button>
<!-- 保存 -->
<el-button
v-if="
form.IsTrialPACSConfirmed === false &&
hasPermi(['trials:trials-panel:setting:trial-config:save'])
"
type="primary"
@click="addOrUpdateDicomAE"
>
{{ $t("common:button:save") }}
</el-button>
<!-- 配置确认:disabled="!form.IsTestOK" -->
<el-button
v-if="
form.IsTrialPACSConfirmed === false &&
hasPermi(['trials:trials-panel:setting:trial-config:save'])
"
type="primary"
@click="handleConfirm"
>
{{ $t("trials:trialCfg:button:confirm") }}
</el-button>
<!-- 配置更新 -->
<el-button
v-if="
form.IsTrialPACSConfirmed === true &&
!isEdit &&
hasPermi(['trials:trials-panel:setting:trial-config:save'])
"
type="primary"
@click="isEdit = true"
>
{{ $t("trials:trialCfg:button:update") }}
</el-button>
<!-- 配置更新确认:disabled="!form.IsTestOK" -->
<el-button
v-if="
form.IsTrialPACSConfirmed === true &&
isEdit &&
hasPermi(['trials:trials-panel:setting:trial-config:save'])
"
type="primary"
@click="handleUpdate"
>
{{ $t("trials:trialCfg:button:updateAndConfirm") }}
</el-button>
</el-form-item>
</el-form>
<!-- 配置信息签名框 -->
<el-dialog
v-if="signVisible"
:visible.sync="signVisible"
:close-on-click-modal="false"
width="600px"
custom-class="base-dialog-wrapper"
>
<div slot="title">
<span style="font-size: 18px">{{ $t("common:dialogTitle:sign") }}</span>
<span style="font-size: 12px; margin-left: 5px">{{
`(${$t("common:label:sign")}${currentUser})`
}}</span>
</div>
<SignForm
ref="signForm"
:sign-code-enum="signCode"
@closeDialog="closeSignDialog"
/>
</el-dialog>
<!-- 配置信息确认框 -->
<el-dialog
v-if="confirmVisible"
:visible.sync="confirmVisible"
:close-on-click-modal="false"
width="600px"
:title="$t('trials:trialCfg:dialogTitle:cfgConfirm')"
custom-class="base-dialog-wrapper"
>
<div class="base-dialog-body">
<el-table :data="confirmData" border style="width: 100%" size="small">
<!-- 配置项 -->
<el-table-column
prop="Name"
:label="$t('trials:trialCfg:table:cfgItem')"
show-overflow-tooltip
/>
<!-- 配置值 -->
<el-table-column
prop="NewVal"
:label="$t('trials:trialCfg:table:cfgVal')"
show-overflow-tooltip
/>
</el-table>
</div>
<div
class="base-dialog-footer"
style="text-align: right; margin-top: 10px"
>
<!-- 确认 -->
<el-button size="small" type="primary" @click="handleConfirmConfigData">
{{ $t("trials:trialCfg:button:confirmCfg") }}
</el-button>
</div>
</el-dialog>
<!-- 配置信息更新框 -->
<el-dialog
v-if="updateVisible"
:visible.sync="updateVisible"
:close-on-click-modal="false"
width="600px"
:title="$t('trials:trialCfg:dialogTitle:cfgConfirm')"
custom-class="base-dialog-wrapper"
>
<div class="base-dialog-body">
<el-table :data="confirmData" border style="width: 100%" size="small">
<!-- 配置项 -->
<el-table-column
prop="Name"
:label="$t('trials:trialCfg:table:cfgItem')"
show-overflow-tooltip
/>
<!-- 配置值更改前 -->
<el-table-column
prop="OldVal"
:label="`${$t('trials:trialCfg:table:cfgVal')} ${$t(
'trials:trialCfg:table:beforeChange'
)}`"
show-overflow-tooltip
/>
<!-- 配置值更改后 -->
<el-table-column
prop="NewVal"
:label="`${$t('trials:trialCfg:table:cfgVal')} ${$t(
'trials:trialCfg:table:updated'
)}`"
show-overflow-tooltip
>
<template slot-scope="scope">
<span
:class="{ fontColor: scope.row.NewVal !== scope.row.OldVal }"
>{{ scope.row.NewVal }}</span
>
</template>
</el-table-column>
</el-table>
</div>
<div
class="base-dialog-footer"
style="text-align: right; margin-top: 10px"
>
<!-- 确认 -->
<el-button size="small" type="primary" @click="handleUpdateConfigData">
{{ $t("trials:trialCfg:button:confirmCfg") }}
</el-button>
</div>
</el-dialog>
</div>
</template>
<script>
import {
getTrialDicomAE,
addOrUpdateDicomAE,
testSCPServerConnect,
ConfigTrialPACSInfoConfirm,
} from "@/api/trials";
import SignForm from "@/views/trials/components/newSignForm";
import const_ from "@/const/sign-code";
export default {
name: "dicomConfig",
components: { SignForm },
data() {
return {
loading: false,
form: {
IsTestOK: null,
IsPACSConnect: true,
IsTrialPACSConfirmed: false,
CalledAE: null,
Ip: null,
Port: null,
Modality: null,
},
initialForm: {},
rules: {
IsPACSConnect: [
{
required: true,
message: this.$t("common:ruleMessage:specify"),
trigger: "blur",
},
],
CalledAE: [
{
required: true,
message: this.$t("common:ruleMessage:specify"),
trigger: "blur",
},
{
pattern: /[a-zA-Z0-9]/,
message: this.$t("common:ruleMessage:CallingAEPattern"),
trigger: "blur",
},
{
min: 1,
max: 16,
message: this.$t("common:ruleMessage:CallingAEPattern"),
trigger: "blur",
},
],
Ip: [
{
required: true,
message: this.$t("common:ruleMessage:specify"),
trigger: "blur",
},
{
validator: (rule, value, callback) => {
if (
value === "" ||
typeof value === "undefined" ||
value == null
) {
callback(new Error(this.$t("common:ruleMessage:ipPattern")));
} else {
const reg =
/^(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])$/;
if (!reg.test(value) && value !== "") {
callback(new Error(this.$t("common:ruleMessage:ipPattern")));
} else {
callback();
}
}
},
message: this.$t("common:ruleMessage:ipPattern"),
trigger: "blur",
},
],
Port: [
{
required: true,
message: this.$t("common:ruleMessage:specify"),
trigger: "blur",
},
{
type: "number",
min: 0,
max: 65535,
message: this.$t("common:ruleMessage:portPattern"),
trigger: "blur",
},
{
validator: (rule, value, callback) => {
if (
value &&
(String(value).includes(".") ||
new RegExp(/\D/g).test(String(value)))
) {
callback(new Error(this.$t("common:ruleMessage:portPattern")));
} else {
callback();
}
},
trigger: "blur",
},
],
},
isEdit: false,
Id: null,
signVisible: false,
signCode: null,
currentUser: zzSessionStorage.getItem("userName"),
confirmData: [],
confirmVisible: false,
updateVisible: false,
};
},
methods: {
changeConnect(val) {
if (!val) {
this.form.CalledAE = null;
this.form.Ip = null;
this.form.Port = null;
this.form.Modality = null;
this.form.IsTestOK = null;
}
},
initForm(res) {
this.getInfo();
},
// dicomAE
async testSCPServerConnect() {
try {
let res = await this.addOrUpdateDicomAE();
if (!res) return;
this.loading = true;
let d = await testSCPServerConnect(res);
this.loading = false;
if (d.IsSuccess) {
this.form.IsTestOK = d.Result;
}
} catch (err) {
console.log(err);
this.loading = false;
}
},
//
async getInfo() {
try {
let data = {
TrialId: this.$route.query.trialId,
};
this.loading = true;
let res = await getTrialDicomAE(data);
this.loading = false;
if (res.IsSuccess) {
this.form.IsPACSConnect = res.OtherInfo.IsPACSConnect;
this.form.IsTrialPACSConfirmed = res.OtherInfo.IsTrialPACSConfirmed;
if (!res.OtherInfo.IsTrialPACSConfirmed) {
this.isEdit = true;
}
this.form.IsTestOK = res.Result.IsTestOK;
this.form.CalledAE = res.Result.CalledAE;
this.form.Ip = res.Result.IP;
this.form.Port = res.Result.Port;
this.Id = res.Result.Id;
this.initialForm.IsPACSConnect = res.OtherInfo.IsPACSConnect;
this.initialForm.IsTrialPACSConfirmed =
res.OtherInfo.IsTrialPACSConfirmed;
this.initialForm.IsTestOK = res.Result.IsTestOK;
this.initialForm.CalledAE = res.Result.CalledAE;
this.initialForm.Ip = res.Result.IP;
this.initialForm.Port = res.Result.Port;
}
} catch (err) {
console.log(err);
this.loading = false;
}
},
//
async addOrUpdateDicomAE() {
try {
let validate = await this.$refs.dicomConfigForm.validate();
if (!validate) return;
if (this.Id) {
this.form.Id = this.Id;
}
this.form.TrialId = this.$route.query.trialId;
this.loading = true;
let res = await addOrUpdateDicomAE(this.form);
this.loading = false;
if (res.IsSuccess) {
// this.$emit("refresh");
return res.Result;
}
return false;
} catch (err) {
console.log(err);
this.loading = false;
return false;
}
},
//
closeSignDialog(isSign, signInfo) {
if (isSign) {
this.signConfirm(signInfo);
} else {
this.signVisible = false;
}
},
async signConfirm(signInfo) {
try {
let data = {
data: {
TrialId: this.$route.query.trialId,
IsPACSConnect: this.form.IsPACSConnect,
IsTrialPACSConfirmed: true,
},
signInfo,
};
let res = await ConfigTrialPACSInfoConfirm(data);
if (res.IsSuccess) {
this.signVisible = false;
this.confirmVisible = false;
this.updateVisible = false;
this.isEdit = false;
res = await this.addOrUpdateDicomAE();
if (res) this.$emit("refresh");
}
} catch (err) {
console.log(err);
}
},
//
handleUpdateConfigData() {
const { DicomConfigUpdates } = const_.processSignature;
this.signCode = DicomConfigUpdates;
this.signVisible = true;
},
//
handleConfirmConfigData() {
const { DicomConfigConfirmation } = const_.processSignature;
this.signCode = DicomConfigConfirmation;
this.signVisible = true;
},
//
handleConfirm() {
this.$refs["dicomConfigForm"].validate(async (valid) => {
if (!valid) return;
this.getConfigArr();
this.confirmVisible = true;
});
},
//
handleUpdate() {
this.$refs["dicomConfigForm"].validate(async (valid) => {
if (!valid) return;
this.getConfigArr();
this.updateVisible = true;
});
},
//
getConfigArr() {
this.confirmData = [
{
Name: this.$t("trials:dicomCfg:form:pacsLine"), // pacs
NewVal: this.$fd("PACSConnectMode", this.form.IsPACSConnect),
OldVal: this.$fd("PACSConnectMode", this.initialForm.IsPACSConnect),
},
{
Name: this.$t("trials:dicomCfg:form:CalledAE"), // AE
NewVal: this.form.CalledAE,
OldVal: this.initialForm.CalledAE,
},
{
Name: this.$t("trials:dicomCfg:form:Ip"), // IP
NewVal: this.form.Ip,
OldVal: this.initialForm.Ip,
},
{
Name: this.$t("trials:dicomCfg:form:Port"),
NewVal: this.form.Port,
OldVal: this.initialForm.Port,
},
{
Name: this.$t("trials:dicomCfg:form:IsTestOK"), //
NewVal: this.$fd("DicomTest", this.form.IsTestOK),
OldVal: this.$fd("DicomTest", this.initialForm.IsTestOK),
},
];
},
},
};
</script>
<style lang="scss" scoped></style>
@@ -578,7 +578,18 @@
prop="Name"
:label="$t('trials:logincCfg:form:bodypart')"
>
<template slot-scope="scope">{{ scope.row.Name }}</template>
<template slot-scope="scope">
<div class="bodyPartName">
<span :title="scope.row.Name">{{ scope.row.Name }}</span>
<el-button
v-if="scope.row.IsHandAdd"
circle
icon="el-icon-edit-outline"
:title="$t('trials:logincCfg:form:bodypart:edit')"
@click.stop="handleEditBodyPart(scope.row)"
/>
</div>
</template>
</el-table-column>
</el-table>
</div>
@@ -604,7 +615,7 @@
</el-button>
</div>
</el-dialog>
<!--选择检查技术-->
<el-dialog
v-if="modalityListVisible"
:visible.sync="modalityListVisible"
@@ -674,6 +685,7 @@
</el-button>
</div>
</el-dialog>
<!--新增检查部位-->
<base-model v-if="addBodyPart_model.visible" :config="addBodyPart_model">
<template slot="dialog-body">
<el-form
@@ -873,6 +885,7 @@ export default {
},
addBodyPartForm: {
bodyPartStr: null,
Id: null,
},
addBodyPartrules: {
bodyPartStr: [
@@ -993,6 +1006,9 @@ export default {
NameCN: str,
TrialId: this.$route.query.trialId,
};
if(this.addBodyPartForm.Id){
data.Id = this.addBodyPartForm.Id;
}
let res = await addOrUpdateTrialBodyPart(data);
if (res.IsSuccess) {
this.getTrialBodyPartList(data);
@@ -1001,6 +1017,7 @@ export default {
);
this.addBodyPart_model.visible = false;
this.addBodyPartForm.bodyPartStr = null;
this.addBodyPartForm.Id = null;
}
} catch (err) {
console.log(err);
@@ -1010,6 +1027,13 @@ export default {
}
}
},
//
handleEditBodyPart(item) {
this.addBodyPartForm.bodyPartStr = item.Code;
this.addBodyPartForm.Id = item.Id;
this.addBodyPart_model.title = this.$t("trials:setting:button:edit");
this.addBodyPart_model.visible = true;
},
handleSetBodyPart() {
this.bodyPartListVisible = true;
this.$nextTick(() => {
@@ -1434,6 +1458,21 @@ export default {
};
</script>
<style lang="scss" scoped>
.bodyPartName {
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
height: 100%;
span {
display: inline-block;
max-width: 80%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
-o-text-overflow: ellipsis;
}
}
.logincal-config-form {
.fontColor {
color: red;
@@ -1,7 +1,14 @@
<template>
<el-collapse v-model="activeCollapse" v-loading="loading" class="setting-config">
<el-collapse
v-model="activeCollapse"
v-loading="loading"
class="setting-config"
>
<!-- 逻辑配置 -->
<el-collapse-item :title="$t('trials:trialConfig:title:logincCfg')" name="1">
<el-collapse-item
:title="$t('trials:trialConfig:title:logincCfg')"
name="1"
>
<LogicalConfig ref="logicalConfig" @refresh="getConfigInfo" />
</el-collapse-item>
<!-- 流程配置 -->
@@ -12,50 +19,58 @@
<el-collapse-item :title="$t('trials:trialCfg:title:urgentCfg')" name="3">
<UrgentConfig ref="urgentConfig" @refresh="getConfigInfo" />
</el-collapse-item>
<!--dicom接入配置-->
<el-collapse-item :title="$t('trials:trialCfg:title:dicomCfg')" name="4">
<dicomConfig ref="dicomConfig" @refresh="getConfigInfo" />
</el-collapse-item>
</el-collapse>
</template>
<script>
import { getTrialConfigInfo } from '@/api/trials'
import LogicalConfig from './components/logicalConfig'
import ProcessConfig from './components/processConfig'
import UrgentConfig from './components/urgentConfig'
import { getTrialConfigInfo } from "@/api/trials";
import LogicalConfig from "./components/logicalConfig";
import ProcessConfig from "./components/processConfig";
import UrgentConfig from "./components/urgentConfig";
import dicomConfig from "./components/dicomConfig.vue";
export default {
name: 'SubjectConfig',
components: { LogicalConfig, ProcessConfig, UrgentConfig },
name: "SubjectConfig",
components: { LogicalConfig, ProcessConfig, UrgentConfig, dicomConfig },
data() {
return {
activeCollapse: ['1', '2', '3'],
activeCollapse: ["1", "2", "3", "4"],
form: {},
loading: false
}
loading: false,
};
},
mounted() {
this.getConfigInfo()
this.getConfigInfo();
},
methods: {
getConfigInfo() {
this.loading = true
const trialId = this.$route.query.trialId
getTrialConfigInfo(trialId).then(res => {
this.loading = false
if (Object.keys(res.Result).length) {
this.form = { ...res.Result }
}
this.$refs['logicalConfig'].initForm(res.Result)
this.$refs['processConfig'].initForm(res.Result)
this.$refs['urgentConfig'].initForm(res.Result)
}).catch(_ => { this.loading = false })
}
}
}
this.loading = true;
const trialId = this.$route.query.trialId;
getTrialConfigInfo(trialId)
.then((res) => {
this.loading = false;
if (Object.keys(res.Result).length) {
this.form = { ...res.Result };
}
this.$refs["logicalConfig"].initForm(res.Result);
this.$refs["processConfig"].initForm(res.Result);
this.$refs["urgentConfig"].initForm(res.Result);
this.$refs["dicomConfig"].initForm(res.Result);
})
.catch((_) => {
this.loading = false;
});
},
},
};
</script>
<style lang="scss">
.setting-config{
.el-collapse-item__header{
background:#e5ecef;
padding-left:10px;
.setting-config {
.el-collapse-item__header {
background: #e5ecef;
padding-left: 10px;
}
}
</style>
@@ -83,6 +83,19 @@
width="190"
show-overflow-tooltip
/>
<!-- 文件大小 -->
<el-table-column
prop="size"
:label="$t('trials:uploadClinicalData:table:fileSize')"
>
<template slot-scope="scope">
<span>{{
scope.row.size && scope.row.size > 0
? `${(scope.row.size / 1024 / 1024).toFixed(2)}MB`
: 0
}}</span>
</template>
</el-table-column>
<el-table-column
:label="$t('common:action:action')"
width="100"
@@ -276,7 +289,7 @@ export default {
const fileName = files[i].name
var extendName = fileName.substring(fileName.lastIndexOf('.')).toLocaleLowerCase()
if (this.faccept.indexOf(extendName) !== -1) {
this.fileList.push({ FileName: fileName, Path: '', Status: 0, Files: files[i] })
this.fileList.push({ FileName: fileName, Path: '', Status: 0, Files: files[i], size:files[i].size, type:fileName.split('.')[1] })
}
}
},
@@ -0,0 +1,281 @@
<template>
<el-dialog
:visible.sync="visible"
:close-on-click-modal="false"
:fullscreen="true"
custom-class="upload-dialog"
:before-close="beforeCloseStudyDig"
>
<span slot="title"
>{{ $t("trials:imageInspect:viewStudy:message:viewStudy") }}{{
$t("trials:imageInspect:viewStudy:message:patientInfo")
}}{{ Patient.PatientIdStr }}{{ Patient.PatientName }}</span
>
<div class="search">
<el-form :inline="true" class="base-search-form">
<!-- 检查类型 -->
<el-form-item
:label="$t('trials:imageInspect:viewStudy:table:modality')"
>
<el-select
v-model="searchData.Modalities"
clearable
style="width: 140px"
>
<el-option
v-for="item of $d.modalType"
:key="item.id"
:label="item.label"
:value="item.label"
>
</el-option>
</el-select>
</el-form-item>
<!-- 检查日期 -->
<el-form-item
:label="$t('trials:imageInspect:viewStudy:table:studyDate')"
>
<el-date-picker
v-model="dateValue"
type="datetimerange"
range-separator="至"
start-placeholder="开始日期"
end-placeholder="结束日期"
:default-time="['00:00:00', '23:59:59']"
>
</el-date-picker>
</el-form-item>
<el-form-item>
<!-- 查询 -->
<el-button type="primary" icon="el-icon-search" @click="handleSearch">
{{ $t("common:button:search") }}
</el-button>
<!-- 重置 -->
<el-button
type="primary"
icon="el-icon-refresh-left"
@click="handleReset"
>
{{ $t("common:button:reset") }}
</el-button>
</el-form-item>
</el-form>
</div>
<!--检查列表-->
<el-table
ref="viewStudyList"
v-loading="loading"
v-adaptive="{ bottomOffset: 60 }"
:data="list"
stripe
height="100"
@sort-change="handleSortByColumn"
:default-sort="{ prop: 'StudyTime', order: 'descending' }"
>
<el-table-column type="index" width="40" />
<!--检查描述-->
<el-table-column
align="center"
prop="Description"
:label="$t('trials:imageInspect:viewStudy:table:studyDescription')"
show-overflow-tooltip
min-width="120"
sortable="custom"
></el-table-column>
<!--检查类型-->
<el-table-column
align="center"
prop="Modalities"
:label="$t('trials:imageInspect:viewStudy:table:modality')"
show-overflow-tooltip
min-width="120"
sortable="custom"
></el-table-column>
<!--Called AE-->
<el-table-column
prop="CalledAE"
:label="$t('trials:imageInspect:viewStudy:table:CalledAE')"
show-overflow-tooltip
min-width="120"
>
</el-table-column>
<!--Calling AE-->
<el-table-column
prop="CallingAE"
:label="$t('trials:imageInspect:viewStudy:table:CallingAE')"
show-overflow-tooltip
min-width="120"
>
</el-table-column>
<!--序列数量-->
<el-table-column
align="center"
prop="SeriesCount"
:label="$t('trials:imageInspect:viewStudy:table:seriesCount')"
show-overflow-tooltip
min-width="100"
sortable="custom"
></el-table-column>
<!--图像数量-->
<el-table-column
align="center"
prop="InstanceCount"
:label="$t('trials:imageInspect:viewStudy:table:instanceCount')"
show-overflow-tooltip
min-width="100"
sortable="custom"
></el-table-column>
<!--检查日期-->
<el-table-column
align="center"
prop="StudyTime"
:label="$t('trials:imageInspect:viewStudy:table:studyDate')"
show-overflow-tooltip
min-width="180"
sortable="custom"
></el-table-column>
<!--操作-->
<el-table-column :label="$t('common:action:action')" min-width="150">
<template slot-scope="scope">
<!-- 影像 -->
<el-button
circle
icon="el-icon-view"
:title="$t('trials:imageInspect:viewStudy:button:image')"
@click.stop="image(scope.row)"
/>
</template>
</el-table-column>
</el-table>
<!-- 分页组件 -->
<!-- <pagination
class="page"
:total="total"
:page.sync="searchData.PageIndex"
:limit.sync="searchData.PageSize"
@pagination="getList"
/> -->
</el-dialog>
</template>
<script>
import Pagination from "@/components/Pagination";
import { getPatientStudyList } from "@/api/trials.js";
import { getToken } from "@/utils/auth";
const defaultSearchData = () => {
return {
Modalities: null,
EarliestStudyTime: null,
LatestStudyTime: null,
PatientId: null,
Asc: false,
SortField: "StudyTime",
};
};
export default {
name: "viewStudyList",
components: { Pagination },
props: {
visible: {
required: true,
default: false,
},
Patient: {
required: true,
default: () => {
return {};
},
},
},
data() {
return {
//
searchData: defaultSearchData(),
dateValue: [],
//
loading: false,
list: [],
newWindow: null,
};
},
created() {
this.getList();
},
methods: {
//
beforeCloseStudyDig() {
if (this.newWindow) {
this.newWindow.close();
}
this.$emit("update:visible", false);
},
//
async getList() {
let data = {};
Object.keys(this.searchData).forEach((key) => {
data[key] = this.searchData[key];
});
data.PatientId = this.Patient.PatientId;
if (this.dateValue && this.dateValue[0] && this.dateValue[1]) {
data.EarliestStudyTime = this.$moment(this.dateValue[0]).format(
"YYYY-MM-DD HH:mm:ss"
);
data.LatestStudyTime = this.$moment(this.dateValue[1]).format(
"YYYY-MM-DD HH:mm:ss"
);
} else {
data.EarliestStudyTime = null;
data.LatestStudyTime = null;
}
try {
this.loading = true;
let res = await getPatientStudyList(data);
this.loading = false;
if (res.IsSuccess) {
this.list = res.Result;
}
} catch (err) {
this.loading = false;
console.log(err);
}
},
//
handleSearch() {
this.searchData.PageIndex = 1;
this.getList();
},
//
handleReset() {
this.reset();
this.getList();
},
//
reset() {
this.searchData = defaultSearchData();
this.dateValue = [];
},
//
image(item) {
let token = getToken();
const routeData = this.$router.resolve({
path: `/showdicom?studyId=${item.SCPStudyId}&TokenKey=${token}&type=Patient`,
});
this.newWindow = window.open(routeData.href, "_blank");
},
//
report() {},
//
handleSortByColumn(sort) {
this.searchData.SortField = sort.prop;
if (sort.order === "ascending") this.searchData.Asc = true;
if (sort.order === "descending") this.searchData.Asc = false;
if (!sort.order) this.searchData.SortField = null;
this.getList();
},
},
};
</script>
<style lang="scss" scoped>
</style>
@@ -0,0 +1,369 @@
<template>
<BaseContainer>
<template slot="search-container">
<el-form :inline="true">
<!--病历号-->
<el-form-item
:label="$t('trials:imageInspect:table:patientIdStr')"
prop="PatientIdStr"
>
<el-input
v-model="searchData.PatientIdStr"
size="small"
clearable
style="width: 120px"
/>
</el-form-item>
<!--患者姓名-->
<el-form-item
:label="$t('trials:imageInspect:table:patientName')"
prop="PatientName"
>
<el-input
v-model="searchData.PatientName"
size="small"
clearable
style="width: 120px"
/>
</el-form-item>
<!--接收端AE-->
<el-form-item
:label="$t('trials:imageInspect:table:calledAE')"
prop="CalledAE"
>
<el-select
v-model="searchData.CalledAE"
clearable
style="width: 120px"
>
<el-option
v-for="item of calledAEList"
:key="item"
:value="item"
:label="item"
/>
</el-select>
</el-form-item>
<!--发送端AE-->
<el-form-item
:label="$t('trials:imageInspect:table:callingAE')"
prop="CallingAE"
>
<el-select
v-model="searchData.CallingAE"
clearable
style="width: 120px"
>
<el-option
v-for="item of callingAEList"
:key="item"
:value="item"
:label="item"
/>
</el-select>
</el-form-item>
<!--所在中心-->
<el-form-item
:label="$t('trials:imageInspect:table:trialSiteKeyInfo')"
prop="TrialSiteKeyInfo"
>
<el-input
v-model="searchData.TrialSiteKeyInfo"
size="small"
clearable
style="width: 150px"
:placeholder="
$t('trials:imageInspect:placeholder:trialSiteKeyInfo')
"
/>
</el-form-item>
<!--最新接受日期-->
<el-form-item :label="$t('trials:imageInspect:table:createTime')">
<el-date-picker
v-model="datetimerange"
type="datetimerange"
:default-time="['00:00:00', '23:59:59']"
:start-placeholder="$t('trials:loginLog:table:beginTime')"
:end-placeholder="$t('trials:loginLog:table:endTime')"
value-format="yyyy-MM-dd HH:mm:ss"
@change="handleDatetimeChange"
/>
</el-form-item>
<el-form-item>
<el-button type="primary" icon="el-icon-search" @click="handleSearch">
{{ $t("common:button:search") }}
</el-button>
<!-- 重置 -->
<el-button
type="primary"
icon="el-icon-refresh-left"
@click="handleReset"
>
{{ $t("common:button:reset") }}
</el-button>
</el-form-item>
</el-form>
</template>
<template slot="main-container">
<el-table
v-loading="loading"
v-adaptive="{ bottomOffset: 60 }"
height="100"
:data="list"
class="table"
@sort-change="handleSortByColumn"
:default-sort="{ prop: 'LatestPushTime', order: 'descending' }"
>
<el-table-column type="index" width="50" />
<!--病历号-->
<el-table-column
:label="$t('trials:imageInspect:table:patientIdStr')"
prop="PatientIdStr"
min-width="90"
show-overflow-tooltip
sortable="custom"
/>
<!--患者姓名-->
<el-table-column
:label="$t('trials:imageInspect:table:patientName')"
prop="PatientName"
min-width="90"
show-overflow-tooltip
sortable="custom"
/>
<!--出生日期-->
<el-table-column
:label="$t('trials:imageInspect:table:patientBirthDate')"
prop="PatientBirthDate"
min-width="90"
show-overflow-tooltip
sortable="custom"
/>
<!--性别-->
<el-table-column
:label="$t('trials:imageInspect:table:patientSex')"
prop="PatientSex"
min-width="90"
show-overflow-tooltip
sortable="custom"
/>
<!--接收端AE-->
<el-table-column
:label="$t('trials:imageInspect:table:calledAEList')"
prop="CalledAEList"
min-width="90"
show-overflow-tooltip
sortable="custom"
><template slot-scope="scope">
{{ scope.row.CallingAEList.join(", ") }}
</template>
</el-table-column>
<!--发送端AE-->
<el-table-column
:label="$t('trials:imageInspect:table:callingAEList')"
prop="CallingAEList"
min-width="90"
show-overflow-tooltip
sortable="custom"
>
<template slot-scope="scope">
{{ scope.row.CallingAEList.join(", ") }}
</template>
</el-table-column>
<!--检查-->
<el-table-column
:label="$t('trials:imageInspect:table:studyCount')"
prop="StudyCount"
min-width="160"
show-overflow-tooltip
sortable="custom"
>
<template slot-scope="scope">
<el-button
v-if="scope.row.StudyCount >= 1"
type="text"
@click="handleOpenDialog(scope.row, 'study')"
>
<span>{{ scope.row.StudyCount }}</span>
</el-button>
<span v-else>{{ scope.row.StudyCount }}</span>
</template>
</el-table-column>
<!--所在中心-->
<el-table-column
:label="$t('trials:imageInspect:table:trialSiteCodeAndName')"
prop="TrialSiteCode"
min-width="160"
show-overflow-tooltip
sortable="custom"
>
<template slot-scope="scope">
{{ scope.row.trialSiteCode }},{{ scope.row.trialSiteName }}
</template>
</el-table-column>
<!--受试者ID-->
<el-table-column
:label="$t('trials:imageInspect:table:subjectCode')"
prop="SubjectCode"
min-width="90"
show-overflow-tooltip
sortable="custom"
/>
<!--最新接收时间-->
<el-table-column
:label="$t('trials:imageInspect:table:lastestPushTime')"
prop="LatestPushTime"
min-width="90"
show-overflow-tooltip
sortable="custom"
/>
</el-table>
<!-- 分页组件 -->
<pagination
class="page"
:total="total"
:page.sync="searchData.PageIndex"
:limit.sync="searchData.PageSize"
@pagination="getList"
/>
</template>
<!--查看检查列表-->
<viewStudy
v-if="visible"
:visible.sync="visible"
:Patient="selectPatient"
@getList="getList"
/>
</BaseContainer>
</template>
<script>
import {
getPatientList,
getDicomCalledAEList,
getDicomCallingAEList,
} from "@/api/trials";
import BaseContainer from "@/components/BaseContainer";
import Pagination from "@/components/Pagination";
import moment from "moment";
import viewStudy from "./components/view-study";
const searchDataDefault = () => {
return {
PatientIdStr: null,
PatientName: null,
CallingAE: null,
CalledAE: null,
BeginPushTime: null,
EndPushTime: null,
SubejctCode: null,
TrialSiteKeyInfo: null,
PageIndex: 1,
PageSize: 20,
Asc: true,
SortField: "LatestPushTime",
};
};
export default {
components: { BaseContainer, Pagination, viewStudy },
data() {
return {
moment,
searchData: searchDataDefault(),
list: [],
total: 0,
loading: false,
datetimerange: [],
calledAEList: [],
callingAEList: [],
visible: false,
selectPatient: {},
};
},
created() {
this.getCalledAEList();
this.getCallingAEList();
},
mounted() {
this.getList();
},
methods: {
//
handleOpenDialog(item) {
this.visible = true;
this.selectPatient = item;
},
// AE
async getCalledAEList() {
try {
let params = {
TrialId: this.$route.query.trialId,
};
let res = await getDicomCalledAEList(params);
if (res.IsSuccess) {
this.calledAEList = res.Result;
}
} catch (err) {
console.log(err);
}
},
// AE
async getCallingAEList() {
try {
let params = {
TrialId: this.$route.query.trialId,
};
let res = await getDicomCallingAEList(params);
if (res.IsSuccess) {
this.callingAEList = res.Result;
}
} catch (err) {
console.log(err);
}
},
getList() {
this.loading = true;
this.searchData.TrialId = this.$route.query.trialId;
getPatientList(this.searchData)
.then((res) => {
this.loading = false;
this.list = res.Result.CurrentPageData;
this.total = res.Result.TotalCount;
})
.catch(() => {
this.loading = false;
});
},
handleDatetimeChange(val) {
if (val) {
this.searchData.BeginPushTime = val[0];
this.searchData.EndPushTime = val[1];
} else {
this.searchData.BeginPushTime = "";
this.searchData.EndPushTime = "";
}
},
handleSearch() {
this.searchData.PageIndex = 1;
this.getList();
},
//
handleReset() {
this.datetimerange = null;
this.handleDatetimeChange();
this.searchData = searchDataDefault();
this.getList();
},
//
handleSortByColumn(column) {
if (column.order === "ascending") {
this.searchData.Asc = true;
} else {
this.searchData.Asc = false;
}
this.searchData.SortField = column.prop;
this.searchData.PageIndex = 1;
this.getList();
},
},
};
</script>
@@ -0,0 +1,311 @@
<template>
<BaseContainer>
<template slot="search-container">
<el-form :inline="true">
<!--所在中心-->
<el-form-item
:label="$t('trials:pushRecord:table:trialSiteKeyInfo')"
prop="TrialSiteKeyInfo"
>
<el-input
v-model="searchData.TrialSiteKeyInfo"
size="small"
clearable
style="width: 150px"
:placeholder="$t('trials:pushRecord:placeholder:trialSiteKeyInfo')"
/>
</el-form-item>
<!--接收端AE-->
<el-form-item
:label="$t('trials:pushRecord:table:calledAE')"
prop="CalledAE"
>
<el-select
v-model="searchData.CalledAE"
clearable
style="width: 120px"
>
<el-option
v-for="item of calledAEList"
:key="item"
:value="item"
:label="item"
/>
</el-select>
</el-form-item>
<!--发送端AE-->
<el-form-item
:label="$t('trials:pushRecord:table:callingAE')"
prop="CallingAE"
>
<el-select
v-model="searchData.CallingAE"
clearable
style="width: 120px"
>
<el-option
v-for="item of callingAEList"
:key="item"
:value="item"
:label="item"
/>
</el-select>
</el-form-item>
<!--最新接受日期-->
<el-form-item :label="$t('trials:pushRecord:table:createTime')">
<el-date-picker
v-model="datetimerange"
type="datetimerange"
:default-time="['00:00:00', '23:59:59']"
:start-placeholder="$t('trials:loginLog:table:beginTime')"
:end-placeholder="$t('trials:loginLog:table:endTime')"
value-format="yyyy-MM-dd HH:mm:ss"
@change="handleDatetimeChange"
/>
</el-form-item>
<el-form-item>
<el-button type="primary" icon="el-icon-search" @click="handleSearch">
{{ $t("common:button:search") }}
</el-button>
<!-- 重置 -->
<el-button
type="primary"
icon="el-icon-refresh-left"
@click="handleReset"
>
{{ $t("common:button:reset") }}
</el-button>
</el-form-item>
</el-form>
</template>
<template slot="main-container">
<el-table
v-loading="loading"
v-adaptive="{ bottomOffset: 60 }"
height="100"
:data="list"
class="table"
@sort-change="handleSortByColumn"
:default-sort="{ prop: 'StartTime', order: 'descending' }"
>
<el-table-column type="index" width="50" />
<!--中心编号-->
<el-table-column
:label="$t('trials:pushRecord:table:trialSiteCode')"
prop="TrialSiteCode"
min-width="160"
show-overflow-tooltip
sortable="custom"
/>
<!--中心名称-->
<el-table-column
:label="$t('trials:pushRecord:table:trialSiteAliasName')"
prop="TrialSiteAliasName"
min-width="160"
show-overflow-tooltip
sortable="custom"
/>
<!--发送端AE-->
<el-table-column
:label="$t('trials:pushRecord:table:callingAEList')"
prop="CallingAEList"
min-width="90"
show-overflow-tooltip
sortable="custom"
>
<template slot-scope="scope">
{{ scope.row.CallingAEList.join(", ") }}
</template>
</el-table-column>
<!--发送端IP-->
<el-table-column
:label="$t('trials:pushRecord:table:callingAEIP')"
prop="CallingAEIP"
min-width="160"
show-overflow-tooltip
sortable="custom"
/>
<!--接收端AE-->
<el-table-column
:label="$t('trials:pushRecord:table:calledAEList')"
prop="CalledAEList"
min-width="90"
show-overflow-tooltip
sortable="custom"
><template slot-scope="scope">
{{ scope.row.CallingAEList.join(", ") }}
</template>
</el-table-column>
<!--检查数-->
<el-table-column
:label="$t('trials:pushRecord:table:studyCount')"
prop="StudyCount"
min-width="160"
show-overflow-tooltip
sortable="custom"
/>
<!--图像数量-->
<el-table-column
:label="$t('trials:pushRecord:table:fileCount')"
prop="FileCount"
min-width="160"
show-overflow-tooltip
sortable="custom"
/>
<!--图像大小-->
<el-table-column
:label="$t('trials:pushRecord:table:fileSize')"
prop="FileSize"
min-width="160"
show-overflow-tooltip
sortable="custom"
/>
<!--推送开始时间-->
<el-table-column
:label="$t('trials:pushRecord:table:startTime')"
prop="StartTime"
min-width="160"
show-overflow-tooltip
sortable="custom"
/>
<!--推送结束时间-->
<el-table-column
:label="$t('trials:pushRecord:table:endTime')"
prop="EndTime"
min-width="160"
show-overflow-tooltip
sortable="custom"
/>
</el-table>
<!-- 分页组件 -->
<pagination
class="page"
:total="total"
:page.sync="searchData.PageIndex"
:limit.sync="searchData.PageSize"
@pagination="getList"
/>
</template>
</BaseContainer>
</template>
<script>
import {
getSCPImageUploadList,
getDicomCalledAEList,
getDicomCallingAEList,
} from "@/api/trials";
import BaseContainer from "@/components/BaseContainer";
import Pagination from "@/components/Pagination";
import moment from "moment";
const searchDataDefault = () => {
return {
CallingAE: null,
CalledAE: null,
StartTime: null,
EndTime: null,
TrialSiteKeyInfo: null,
PageIndex: 1,
PageSize: 20,
Asc: true,
SortField: "StartTime",
};
};
export default {
components: { BaseContainer, Pagination },
data() {
return {
moment,
searchData: searchDataDefault(),
list: [],
total: 0,
loading: false,
datetimerange: [],
calledAEList: [],
callingAEList: [],
};
},
created() {
this.getCalledAEList();
this.getCallingAEList();
},
mounted() {
this.getList();
},
methods: {
// AE
async getCalledAEList() {
try {
let params = {
TrialId: this.$route.query.trialId,
};
let res = await getDicomCalledAEList(params);
if (res.IsSuccess) {
this.calledAEList = res.Result;
}
} catch (err) {
console.log(err);
}
},
// AE
async getCallingAEList() {
try {
let params = {
TrialId: this.$route.query.trialId,
};
let res = await getDicomCallingAEList(params);
if (res.IsSuccess) {
this.callingAEList = res.Result;
}
} catch (err) {
console.log(err);
}
},
getList() {
this.loading = true;
this.searchData.TrialId = this.$route.query.trialId;
getSCPImageUploadList(this.searchData)
.then((res) => {
this.loading = false;
this.list = res.Result.CurrentPageData;
this.total = res.Result.TotalCount;
})
.catch(() => {
this.loading = false;
});
},
handleDatetimeChange(val) {
if (val) {
this.searchData.StartTime = val[0];
this.searchData.EndTime = val[1];
} else {
this.searchData.StartTime = "";
this.searchData.EndTime = "";
}
},
handleSearch() {
this.searchData.PageIndex = 1;
this.getList();
},
//
handleReset() {
this.datetimerange = null;
this.handleDatetimeChange();
this.searchData = searchDataDefault();
this.getList();
},
//
handleSortByColumn(column) {
if (column.order === "ascending") {
this.searchData.Asc = true;
} else {
this.searchData.Asc = false;
}
this.searchData.SortField = column.prop;
this.searchData.PageIndex = 1;
this.getList();
},
},
};
</script>
@@ -92,6 +92,14 @@
>
{{ $t('trials:crcQuestion:button:close') }}
</el-button>
<!-- 下一任务 -->
<el-button
v-hasPermi="['trials:trials-panel:visit:crc-upload:nextTask']"
type="primary"
@click="getNextTask"
>
{{ $t('trials:crcQuestion:button:nextTask') }}
</el-button>
</div>
</div>
@@ -255,9 +263,11 @@ export default {
UserTypeEnum: this.data.UserTypeEnum
}
)
this.data.DialogList.forEach(element => {
recordContent.push(element)
})
if (this.data.DialogList && this.data.DialogList.length > 0) {
this.data.DialogList.forEach(element => {
recordContent.push(element)
})
}
this.recordContent = recordContent
this.setScrollHeight()
},
@@ -350,6 +360,11 @@ export default {
this.uploadBtnLoading = false
})
},
//
getNextTask() {
this.loading = true
this.$emit('getNextTask', this.data.Id)
},
close() {
this.$emit('close')
},
@@ -128,7 +128,7 @@
prop="QCProcessEnum"
:label="$t('trials:crcQuestion:table:qCProcessEnum')"
show-overflow-tooltip
min-width="80"
min-width="130"
sortable="custom"
>
<template slot-scope="scope">
@@ -258,12 +258,12 @@
width="800px"
:title="$t('trials:crcQuestion:dialogTitle:message1') + `(${currentQCRow.SubjectCode} ${currentQCRow.VisitName})`"
>
<chat-form ref="chatForm" :data="currentQCRow" user-type="crc" :body-parts="otherInfo.BodyPartTypes" :modalities="otherInfo.Modalitys" :subject-visit-id="currentQCRow.Id" :clinical-enum="otherInfo.ClinicalInformationTransmissionEnum" @close="close" @getDialogList="getDialogList" />
<chat-form ref="chatForm" :data="currentQCRow" user-type="crc" :body-parts="otherInfo.BodyPartTypes" :modalities="otherInfo.Modalitys" :subject-visit-id="currentQCRow.Id" :clinical-enum="otherInfo.ClinicalInformationTransmissionEnum" @close="close" @getDialogList="getDialogList" @getNextTask="getNextTask"/>
</el-dialog>
</BaseContainer>
</template>
<script>
import { getCRCChallengeList, getTrialSiteSelect, getTrialVisitStageSelect, getQCChallengeDialogList } from '@/api/trials'
import { getCRCChallengeList, getTrialSiteSelect, getTrialVisitStageSelect, getQCChallengeDialogList, getNextCRCChallenge } from '@/api/trials'
import { getQCChallengeList_Export } from '@/api/export'
import ChatForm from './components/chatForm'
import BaseContainer from '@/components/BaseContainer'
@@ -332,6 +332,29 @@ export default {
close() {
this.chatVisible = false
},
async getNextTask(qcChallengeId) {
try {
const params = {
trialId: this.trialId,
qcChallengeId: qcChallengeId
}
const res = await getNextCRCChallenge(params)
if (res.IsSuccess) {
const res2 = await getQCChallengeDialogList(res.Result.Id)
if (res2.IsSuccess) {
Object.assign(res.Result, res2.Result[0])
this.chatVisible = false
this.currentQCRow = res.Result
this.$nextTick(() => {
this.chatVisible = true
})
}
}
} catch (e) {
this.chatVisible = false
console.log(e)
}
},
getDialogList() {
this.loading = true
getQCChallengeDialogList(this.currentQCRow.Id).then(res => {
@@ -4,21 +4,27 @@
<el-tab-pane
v-for="cd in clinicalDatas"
:key="cd.ClinicalDataTrialSetId"
:label="$i18n.locale === 'zh' ? cd.ClinicalDataSetName : cd.ClinicalDataSetEnName"
:label="
$i18n.locale === 'zh'
? cd.ClinicalDataSetName
: cd.ClinicalDataSetEnName
"
>
<!-- 格式化录入 -->
<div v-if="cd.ClinicalUploadType === 0">
<!-- 既往放疗史 -->
<h4>{{ $t('trials:uploadClinicalData:title:pastTreatment') }}</h4>
<div v-if="(allowAddOrEdit)" style="text-align:right">
<h4>{{ $t("trials:uploadClinicalData:title:pastTreatment") }}</h4>
<div v-if="allowAddOrEdit" style="text-align: right">
<!-- 新增 -->
<el-button
type="primary"
icon="el-icon-plus"
size="small"
@click.native.prevent="addPreviousHistory(cd.ClinicalDataTrialSetId)"
@click.native.prevent="
addPreviousHistory(cd.ClinicalDataTrialSetId)
"
>
{{ $t('common:button:new') }}
{{ $t("common:button:new") }}
</el-button>
</div>
@@ -26,10 +32,7 @@
:data="cd.ClinicalTableData.PreviousHistoryList"
style="width: 100%"
>
<el-table-column
type="index"
width="50"
/>
<el-table-column type="index" width="50" />
<!-- 放疗部位 -->
<el-table-column
prop="Position"
@@ -41,7 +44,11 @@
:label="$t('trials:uploadClinicalData:table:beginDate')"
>
<template slot-scope="scope">
{{ scope.row.StartTime?moment(scope.row.StartTime).format('YYYY-MM-DD'):'' }}
{{
scope.row.StartTime
? moment(scope.row.StartTime).format("YYYY-MM-DD")
: ""
}}
</template>
</el-table-column>
<!-- 结束日期 -->
@@ -50,7 +57,11 @@
:label="$t('trials:uploadClinicalData:table:endDate')"
>
<template slot-scope="scope">
{{ scope.row.EndTime?moment(scope.row.EndTime).format('YYYY-MM-DD'):'' }}
{{
scope.row.EndTime
? moment(scope.row.EndTime).format("YYYY-MM-DD")
: ""
}}
</template>
</el-table-column>
<!-- 病灶是否PD -->
@@ -59,7 +70,7 @@
:label="$t('trials:uploadClinicalData:table:isPD')"
>
<template slot-scope="scope">
{{ $fd('IsPdEnum', scope.row.IsPD) }}
{{ $fd("IsPdEnum", scope.row.IsPD) }}
</template>
</el-table-column>
<el-table-column
@@ -70,16 +81,19 @@
<template slot-scope="scope">
<!-- 编辑 -->
<el-button
v-if="( allowAddOrEdit)"
v-if="allowAddOrEdit"
icon="el-icon-edit-outline"
circle
:title="$t('common:button:edit')"
size="small"
@click.native.prevent="editRow(scope.row,1)"
@click.native.prevent="editRow(scope.row, 1)"
/>
<!-- 移除 -->
<el-button
v-if="(data.SubmitState*1 < 2 || (data.SubmitState === 2 && data.IsQCConfirmedReupload))"
v-if="
data.SubmitState * 1 < 2 ||
(data.SubmitState === 2 && data.IsQCConfirmedReupload)
"
icon="el-icon-delete"
circle
:title="$t('common:button:delete')"
@@ -90,25 +104,22 @@
</el-table-column>
</el-table>
<!-- 既往手术史 -->
<h4>{{ $t('trials:uploadClinicalData:title:pastSurgery') }}</h4>
<div v-if="( allowAddOrEdit)" style="text-align:right">
<h4>{{ $t("trials:uploadClinicalData:title:pastSurgery") }}</h4>
<div v-if="allowAddOrEdit" style="text-align: right">
<el-button
type="primary"
icon="el-icon-plus"
size="small"
@click="addPreviousSurgery(cd.ClinicalDataTrialSetId)"
>
{{ $t('common:button:new') }}
{{ $t("common:button:new") }}
</el-button>
</div>
<el-table
:data="cd.ClinicalTableData.PreviousSurgeryList"
style="width: 100%"
>
<el-table-column
type="index"
width="50"
/>
<el-table-column type="index" width="50" />
<!-- 手术名称 -->
<el-table-column
prop="OperationName"
@@ -120,7 +131,11 @@
:label="$t('trials:uploadClinicalData:table:surgeryDate')"
>
<template slot-scope="scope">
{{ scope.row.OperationTime?moment(scope.row.OperationTime).format('YYYY-MM-DD'):'' }}
{{
scope.row.OperationTime
? moment(scope.row.OperationTime).format("YYYY-MM-DD")
: ""
}}
</template>
</el-table-column>
@@ -132,7 +147,7 @@
<template slot-scope="scope">
<!-- 编辑 -->
<el-button
v-if="(allowAddOrEdit)"
v-if="allowAddOrEdit"
icon="el-icon-edit-outline"
circle
:title="$t('common:button:edit')"
@@ -141,7 +156,10 @@
/>
<!-- 移除 -->
<el-button
v-if="data.SubmitState*1 < 2 || (data.SubmitState === 2 && data.IsQCConfirmedReupload)"
v-if="
data.SubmitState * 1 < 2 ||
(data.SubmitState === 2 && data.IsQCConfirmedReupload)
"
icon="el-icon-delete"
circle
:title="$t('common:button:delete')"
@@ -152,8 +170,8 @@
</el-table-column>
</el-table>
<!-- 既往其他治疗史 -->
<h4>{{ $t('trials:uploadClinicalData:title:others') }}</h4>
<div v-if="(allowAddOrEdit)" style="text-align:right">
<h4>{{ $t("trials:uploadClinicalData:title:others") }}</h4>
<div v-if="allowAddOrEdit" style="text-align: right">
<!-- 新增 -->
<el-button
type="primary"
@@ -161,17 +179,14 @@
size="small"
@click="addPreviousOther(cd.ClinicalDataTrialSetId)"
>
{{ $t('common:button:new') }}
{{ $t("common:button:new") }}
</el-button>
</div>
<el-table
:data="cd.ClinicalTableData.PreviousOtherList"
style="width: 100%"
>
<el-table-column
type="index"
width="50"
/>
<el-table-column type="index" width="50" />
<!-- 治疗类型 -->
<el-table-column
prop="TreatmentType"
@@ -183,7 +198,11 @@
:label="$t('trials:uploadClinicalData:table:treatmentbeginDate')"
>
<template slot-scope="scope">
{{ scope.row.StartTime?moment(scope.row.StartTime).format('YYYY-MM-DD'):'' }}
{{
scope.row.StartTime
? moment(scope.row.StartTime).format("YYYY-MM-DD")
: ""
}}
</template>
</el-table-column>
<!-- 结束日期 -->
@@ -192,7 +211,11 @@
:label="$t('trials:uploadClinicalData:table:treatmentendDate')"
>
<template slot-scope="scope">
{{ scope.row.EndTime?moment(scope.row.EndTime).format('YYYY-MM-DD'):'' }}
{{
scope.row.EndTime
? moment(scope.row.EndTime).format("YYYY-MM-DD")
: ""
}}
</template>
</el-table-column>
@@ -204,7 +227,7 @@
<template slot-scope="scope">
<!-- 编辑 -->
<el-button
v-if="( allowAddOrEdit)"
v-if="allowAddOrEdit"
icon="el-icon-edit-outline"
circle
:title="$t('common:button:edit')"
@@ -213,7 +236,10 @@
/>
<!-- 移除 -->
<el-button
v-if="(data.SubmitState*1 < 2 || (data.SubmitState === 2 && data.IsQCConfirmedReupload))"
v-if="
data.SubmitState * 1 < 2 ||
(data.SubmitState === 2 && data.IsQCConfirmedReupload)
"
icon="el-icon-delete"
circle
:title="$t('common:button:delete')"
@@ -226,7 +252,7 @@
</div>
<!-- PDF录入 -->
<div v-if="cd.ClinicalUploadType === 1">
<div v-if="(allowAddOrEdit)" style="text-align:right">
<div v-if="allowAddOrEdit" style="text-align: right">
<!-- 下载模板 -->
<el-button
v-if="cd.Path"
@@ -236,42 +262,78 @@
:loading="downloadLoading"
@click.native.prevent="handleDownloadTpl(cd)"
>
{{ $t('trials:uploadClinicalData:button:downloadTemplate') }}
{{ $t("trials:uploadClinicalData:button:downloadTemplate") }}
</el-button>
<!-- 新增 -->
<el-button
icon="el-icon-plus"
type="primary"
size="small"
@click.native.prevent="addFile(cd.Id,cd.ClinicalDataTrialSetId)"
<div
id="directoryInputWrapper"
class="btn btn-link"
style="
position: relative;
overflow: hidden;
display: inline-block;
"
>
{{ $t('common:button:new') }}
</el-button>
<!-- 新增 -->
<el-button
icon="el-icon-plus"
type="primary"
size="small"
:disabled="btnLoading"
:loading="btnLoading"
>
{{ $t("common:button:new") }}
</el-button>
<input
type="file"
name="file"
multiple
ref="file"
style="
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: 0;
cursor: pointer;
"
:accept="faccept.join(',')"
@change="
($event) =>
beginScanFiles($event, cd.Id, cd.ClinicalDataTrialSetId)
"
/>
</div>
</div>
<el-table
:data="cd.PDFFileList"
style="width: 100%"
>
<el-table-column
type="index"
width="50"
/>
<el-table :data="cd.PDFFileList" style="width: 100%">
<el-table-column type="index" width="50" />
<!-- 文件名称 -->
<el-table-column
prop="FileName"
:label="$t('trials:uploadClinicalData:table:fileName')"
width="250"
/>
<!-- 文件大小 -->
<el-table-column
prop="Size"
:label="$t('trials:uploadClinicalData:table:fileSize')"
width="150"
>
<template slot-scope="scope">
<span>{{
scope.row.Size && scope.row.Size > 0
? `${(scope.row.Size / 1024 / 1024).toFixed(2)}MB`
: 0
}}</span>
</template>
</el-table-column>
<!-- 上传时间 -->
<el-table-column
prop="CreateTime"
:label="$t('trials:uploadClinicalData:table:uploadedTime')"
width="200"
/>
<el-table-column
:label="$t('common:action:action')"
width="200"
>
<el-table-column :label="$t('common:action:action')" width="200">
<template slot-scope="scope">
<!-- 预览 -->
<el-button
@@ -283,7 +345,7 @@
/>
<!-- 移除 -->
<el-button
v-if="(allowAddOrEdit)"
v-if="allowAddOrEdit"
icon="el-icon-delete"
circle
:title="$t('common:button:delete')"
@@ -333,7 +395,13 @@
append-to-body
custom-class="base-dialog-wrapper"
>
<PreviousRadiotherapy v-if="prVisible" :data="currentRow" :subject-visit-id="subjectVisitId" @closePRDialog="closePRDialog" @refresh="refresh" />
<PreviousRadiotherapy
v-if="prVisible"
:data="currentRow"
:subject-visit-id="subjectVisitId"
@closePRDialog="closePRDialog"
@refresh="refresh"
/>
</el-dialog>
<!-- 既往手术史 -->
<el-dialog
@@ -345,7 +413,14 @@
append-to-body
custom-class="base-dialog-wrapper"
>
<PreviousSurgery v-if="psVisible" :data="currentRow" :parent-data="data" :subject-visit-id="subjectVisitId" @closePSDialog="closePSDialog" @refresh="refresh" />
<PreviousSurgery
v-if="psVisible"
:data="currentRow"
:parent-data="data"
:subject-visit-id="subjectVisitId"
@closePSDialog="closePSDialog"
@refresh="refresh"
/>
</el-dialog>
<!-- 既往其他治疗史 -->
<el-dialog
@@ -357,7 +432,14 @@
append-to-body
custom-class="base-dialog-wrapper"
>
<PreviousOther v-if="poVisible" :data="currentRow" :parent-data="data" :subject-visit-id="subjectVisitId" @closePODialog="closePODialog" @refresh="refresh" />
<PreviousOther
v-if="poVisible"
:data="currentRow"
:parent-data="data"
:subject-visit-id="subjectVisitId"
@closePODialog="closePODialog"
@refresh="refresh"
/>
</el-dialog>
<!-- 上传文件 -->
<el-dialog
@@ -369,7 +451,14 @@
append-to-body
custom-class="base-dialog-wrapper"
>
<PreviousFiles v-if="upVisible" :data="currentRow" :parent-data="data" :subject-visit-id="subjectVisitId" @closeUpDialog="closeUpDialog" @refresh="refresh" />
<PreviousFiles
v-if="upVisible"
:data="currentRow"
:parent-data="data"
:subject-visit-id="subjectVisitId"
@closeUpDialog="closeUpDialog"
@refresh="refresh"
/>
</el-dialog>
<!-- 预览文件 -->
<el-dialog
@@ -380,57 +469,79 @@
append-to-body
custom-class="base-dialog-wrapper"
>
<div class="base-modal-body" style="border:2px solid #ccc;padding: 10px">
<PreviewFile v-if="previewObj.visible" :file-path="previewObj.filePath" :file-type="previewObj.fileType" />
<div
class="base-modal-body"
style="border: 2px solid #ccc; padding: 10px"
>
<PreviewFile
v-if="previewObj.visible"
:file-path="previewObj.filePath"
:file-type="previewObj.fileType"
/>
</div>
</el-dialog>
</div>
</template>
<script>
import { deleteReadingClinicalDataPDF, deletePreviousHistory, deletePreviousOther, deletePreviousSurgery,
DownloadTrialClinicalFile } from '@/api/trials'
import { getCRCClinicalData } from '@/api/trials'
import PreviousRadiotherapy from './previousRadiotherapy'
import PreviousSurgery from './previousSurgery'
import PreviousOther from './previousOther'
import PreviousFiles from './previousFiles'
import clinicalDataQuestions from '@/components/clinicalDataQuestions'
import PreviewFile from '@/components/PreviewFile/index'
import moment from 'moment'
import {
deleteReadingClinicalDataPDF,
deletePreviousHistory,
deletePreviousOther,
deletePreviousSurgery,
DownloadTrialClinicalFile,
addOrUpdateReadingClinicalData,
getCRCClinicalData,
} from "@/api/trials";
import PreviousRadiotherapy from "./previousRadiotherapy";
import PreviousSurgery from "./previousSurgery";
import PreviousOther from "./previousOther";
import PreviousFiles from "./previousFiles";
import clinicalDataQuestions from "@/components/clinicalDataQuestions";
import PreviewFile from "@/components/PreviewFile/index";
import moment from "moment";
export default {
name: 'ClinicalData',
components: { PreviousRadiotherapy, PreviousSurgery, PreviousOther, PreviousFiles, clinicalDataQuestions,PreviewFile },
name: "ClinicalData",
components: {
PreviousRadiotherapy,
PreviousSurgery,
PreviousOther,
PreviousFiles,
clinicalDataQuestions,
PreviewFile,
},
props: {
data: {
type: Object,
default() {
return {}
}
return {};
},
},
subjectVisitId: {
type: String,
required: true
required: true,
},
enumType: {
type: Number,
default: 0
default: 0,
},
allowAddOrEdit: {
type: Boolean,
default: false
}
default: false,
},
},
data() {
return {
faccept: [".pdf"],
isShow: false,
userTypeEnumInt: zzSessionStorage.getItem('userTypeEnumInt') * 1,
userTypeEnumInt: zzSessionStorage.getItem("userTypeEnumInt") * 1,
loading: false,
PreviousHistoryList: [],
PreviousSurgeryList: [],
PreviousOtherList: [],
PreviousPDFList: [],
fileList: [],
addFileList: [],
btnLoading: false,
currentRow: {},
prVisible: false,
psVisible: false,
@@ -440,186 +551,302 @@ export default {
moment,
downloadLoading: false,
clinicalDatas: [],
previewObj:{visible:false,filePath:'',fileType:''}
}
previewObj: { visible: false, filePath: "", fileType: "" },
};
},
mounted() {
this.getClinicalData()
this.getClinicalData();
},
methods: {
beginScanFiles(e, id, clinicalDataTrialSetId) {
this.currentRow = {
Id: id,
ClinicalDataTrialSetId: clinicalDataTrialSetId,
SubjectId: this.data.SubjectId,
};
this.currentRow.TrialId = this.$route.query.trialId;
var files = e.target.files;
this.fileList= [];
for (var i = 0; i < files.length; ++i) {
const fileName = files[i].name;
var extendName = fileName
.substring(fileName.lastIndexOf("."))
.toLocaleLowerCase();
if (this.faccept.indexOf(extendName) !== -1) {
let obj = {
size:files[i].size,
type:extendName.split('.')[1],
file:files[i],
}
this.fileList.push(obj);
}
}
this.handleUploadFile();
this.$refs.file.value = null;
},
async handleUploadFile() {
this.btnLoading = true;
this.loading = true;
this.addFileList = [];
try {
for (var i = 0; i < this.fileList.length; ++i) {
const file = await this.fileToBlob(this.fileList[i].file);
var timestamp = Date.now();
const res = await this.OSSclient.put(
`/${this.trialId}/ClinicalData/${timestamp}_${this.fileList[i].file.name}`,
file
);
this.addFileList.push({
fileName: this.fileList[i].file.name,
path: this.$getObjectName(res.url),
url: this.$getObjectName(res.url),
type: this.fileList[i].type,
size: this.fileList[i].size,
});
}
this.saveClinicalData();
} catch (err) {
console.log(err);
this.btnLoading = false;
this.loading = false;
}
},
saveClinicalData() {
this.btnLoading = true;
this.loading = true;
var param = {
id: this.currentRow.Id,
trialId: this.currentRow.TrialId,
subjectId: this.currentRow.SubjectId,
readingId: this.subjectVisitId,
clinicalDataTrialSetId: this.currentRow.ClinicalDataTrialSetId,
isVisit: true,
deleteFileIds: [],
addFileList: this.addFileList,
};
// if (this.studyData.StudyId) {
// param.StudyId = this.studyData.StudyId;
// }
addOrUpdateReadingClinicalData(param)
.then((response) => {
this.btnLoading = false;
this.loading = false;
//
this.getClinicalData();
this.$message.success(
this.$t("trials:uploadClinicalData:message:uploadSuccessfully")
);
})
.catch(() => {
this.btnLoading = false;
this.loading = false;
});
},
getClinicalData() {
this.loading = true
this.data.TrialId = this.$route.query.trialId
this.loading = true;
this.data.TrialId = this.$route.query.trialId;
var param = {
subjectVisitId: this.subjectVisitId,
trialId: this.trialId,
subjectId: this.data.SubjectId,
isBaseLine: this.data.IsBaseLine
}
getCRCClinicalData(param).then(res => {
this.clinicalDatas = res.Result
this.loading = false
}).catch(() => {
this.loading = false
})
isBaseLine: this.data.IsBaseLine,
};
getCRCClinicalData(param)
.then((res) => {
this.clinicalDatas = res.Result;
this.loading = false;
})
.catch(() => {
this.loading = false;
});
},
//
editRow(row, type) {
if (type === 1) {
this.prVisible = true
this.prVisible = true;
} else if (type === 2) {
this.psVisible = true
this.psVisible = true;
} else if (type === 3) {
this.poVisible = true
this.poVisible = true;
}
this.currentRow = { ...row }
this.currentRow.TrialId = this.$route.query.trialId
this.currentRow = { ...row };
this.currentRow.TrialId = this.$route.query.trialId;
},
// ID
deletePreviousHistory(row) {
this.$confirm(this.$t('trials:uploadedDicoms:message:deleteMes'), {
type: 'warning',
distinguishCancelAndClose: true
})
.then(() => {
this.loading = true
deletePreviousHistory(this.$route.query.trialId, this.subjectVisitId, row.Id).then(res => {
this.loading = false
this.$confirm(this.$t("trials:uploadedDicoms:message:deleteMes"), {
type: "warning",
distinguishCancelAndClose: true,
}).then(() => {
this.loading = true;
deletePreviousHistory(
this.$route.query.trialId,
this.subjectVisitId,
row.Id
)
.then((res) => {
this.loading = false;
if (res.IsSuccess) {
this.getClinicalData()
this.$message.success(this.$t('trials:uploadedDicoms:message:deleteSuccessfully'))
this.$emit('getList')
this.getClinicalData();
this.$message.success(
this.$t("trials:uploadedDicoms:message:deleteSuccessfully")
);
this.$emit("getList");
}
}).catch(() => { this.loading = false })
})
})
.catch(() => {
this.loading = false;
});
});
},
// ID
deletePreviousSurgery(row) {
console.log(this.$route.query.trialId)
this.$confirm(this.$t('trials:uploadedDicoms:message:deleteMes'), {
type: 'warning',
distinguishCancelAndClose: true
})
.then(() => {
// row.Type = ''
this.loading = true
deletePreviousSurgery(this.$route.query.trialId, this.subjectVisitId, row.Id)
.then(res => {
this.loading = false
if (res.IsSuccess) {
this.getClinicalData()
this.$message.success(this.$t('trials:uploadedDicoms:message:deleteSuccessfully'))
this.$emit('getList')
}
}).catch(() => { this.loading = false })
})
console.log(this.$route.query.trialId);
this.$confirm(this.$t("trials:uploadedDicoms:message:deleteMes"), {
type: "warning",
distinguishCancelAndClose: true,
}).then(() => {
// row.Type = ''
this.loading = true;
deletePreviousSurgery(
this.$route.query.trialId,
this.subjectVisitId,
row.Id
)
.then((res) => {
this.loading = false;
if (res.IsSuccess) {
this.getClinicalData();
this.$message.success(
this.$t("trials:uploadedDicoms:message:deleteSuccessfully")
);
this.$emit("getList");
}
})
.catch(() => {
this.loading = false;
});
});
},
// ID
deletePreviousOther(row) {
this.$confirm(this.$t('trials:uploadedDicoms:message:deleteMes'), {
type: 'warning',
distinguishCancelAndClose: true
})
.then(() => {
// row.Type = ''
this.loading = true
deletePreviousOther(this.$route.query.trialId, this.subjectVisitId, row.Id)
.then(res => {
this.loading = false
if (res.IsSuccess) {
this.getClinicalData()
this.$message.success(this.$t('trials:uploadedDicoms:message:deleteSuccessfully'))
this.$emit('getList')
}
}).catch(() => { this.loading = false })
})
this.$confirm(this.$t("trials:uploadedDicoms:message:deleteMes"), {
type: "warning",
distinguishCancelAndClose: true,
}).then(() => {
// row.Type = ''
this.loading = true;
deletePreviousOther(
this.$route.query.trialId,
this.subjectVisitId,
row.Id
)
.then((res) => {
this.loading = false;
if (res.IsSuccess) {
this.getClinicalData();
this.$message.success(
this.$t("trials:uploadedDicoms:message:deleteSuccessfully")
);
this.$emit("getList");
}
})
.catch(() => {
this.loading = false;
});
});
},
//
preview(row) {
if (!row.Path) return
this.previewObj.fileName = row.FileName
this.previewObj.filePath = row.Path
this.previewObj.fileType ='pdf'
this.previewObj.visible = true
if (!row.Path) return;
this.previewObj.fileName = row.FileName;
this.previewObj.filePath = row.Path;
this.previewObj.fileType = "pdf";
this.previewObj.visible = true;
// window.open(this.OSSclientConfig.basePath + path, '_blank')
},
addPreviousHistory(clinicalDataTrialSetId) {
console.log(clinicalDataTrialSetId)
this.currentRow = { ClinicalDataTrialSetId: clinicalDataTrialSetId }
this.currentRow.TrialId = this.$route.query.trialId
this.prVisible = true
console.log(clinicalDataTrialSetId);
this.currentRow = { ClinicalDataTrialSetId: clinicalDataTrialSetId };
this.currentRow.TrialId = this.$route.query.trialId;
this.prVisible = true;
},
addPreviousSurgery(clinicalDataTrialSetId) {
this.currentRow = { ClinicalDataTrialSetId: clinicalDataTrialSetId }
this.currentRow.TrialId = this.$route.query.trialId
this.psVisible = true
this.currentRow = { ClinicalDataTrialSetId: clinicalDataTrialSetId };
this.currentRow.TrialId = this.$route.query.trialId;
this.psVisible = true;
},
addPreviousOther(clinicalDataTrialSetId) {
this.currentRow = { ClinicalDataTrialSetId: clinicalDataTrialSetId }
this.currentRow.TrialId = this.$route.query.trialId
this.poVisible = true
this.currentRow = { ClinicalDataTrialSetId: clinicalDataTrialSetId };
this.currentRow.TrialId = this.$route.query.trialId;
this.poVisible = true;
},
//
closePRDialog() {
this.prVisible = false
this.currentRow.TrialId = this.$route.query.trialId
this.prVisible = false;
this.currentRow.TrialId = this.$route.query.trialId;
},
closePSDialog() {
this.psVisible = false
this.currentRow.TrialId = this.$route.query.trialId
this.psVisible = false;
this.currentRow.TrialId = this.$route.query.trialId;
},
closePODialog() {
this.poVisible = false
this.currentRow.TrialId = this.$route.query.trialId
this.poVisible = false;
this.currentRow.TrialId = this.$route.query.trialId;
},
closeUpDialog() {
this.upVisible = false
this.currentRow.TrialId = this.$route.query.trialId
this.upVisible = false;
this.currentRow.TrialId = this.$route.query.trialId;
},
refresh() {
this.getClinicalData()
this.$emit('getList')
this.getClinicalData();
this.$emit("getList");
},
//
addFile(id, clinicalDataTrialSetId) {
this.currentRow = { Id: id, ClinicalDataTrialSetId: clinicalDataTrialSetId, SubjectId: this.data.SubjectId }
this.currentRow.TrialId = this.$route.query.trialId
this.upVisible = true
this.currentRow = {
Id: id,
ClinicalDataTrialSetId: clinicalDataTrialSetId,
SubjectId: this.data.SubjectId,
};
this.currentRow.TrialId = this.$route.query.trialId;
this.upVisible = true;
},
//
deleteFile(id) {
this.$confirm(this.$t('trials:uploadedDicoms:message:deleteMes'), {
type: 'warning',
distinguishCancelAndClose: true
})
.then(() => {
this.loading = true
deleteReadingClinicalDataPDF(id)
.then(res => {
this.loading = false
if (res.IsSuccess) {
this.getClinicalData()
this.$emit('getList')
this.$message.success(this.$t('trials:uploadedDicoms:message:deleteSuccessfully'))
}
}).catch(() => {
this.loading = false
})
})
this.$confirm(this.$t("trials:uploadedDicoms:message:deleteMes"), {
type: "warning",
distinguishCancelAndClose: true,
}).then(() => {
this.loading = true;
deleteReadingClinicalDataPDF(id)
.then((res) => {
this.loading = false;
if (res.IsSuccess) {
this.getClinicalData();
this.$emit("getList");
this.$message.success(
this.$t("trials:uploadedDicoms:message:deleteSuccessfully")
);
}
})
.catch(() => {
this.loading = false;
});
});
},
handleDownloadTpl(cd) {
window.open(this.OSSclientConfig.basePath + cd.Path)
}
}
}
window.open(this.OSSclientConfig.basePath + cd.Path);
},
},
};
</script>
<style lang="scss">
.clinical-data-wrapper{
.box-title{
padding: 12px;
margin-bottom: 10px;
background-color: #dcdfe6;
}
.clinical-data-wrapper {
.box-title {
padding: 12px;
margin-bottom: 10px;
background-color: #dcdfe6;
}
}
</style>
@@ -193,365 +193,389 @@
</el-table-column>
</el-table>
<!-- 多文件上传 -->
<form id="inputForm" ref="uploadForm" enctype="multipart/form-data">
<el-divider content-position="left">{{
$t("trials:uploadedDicoms:title:dicomFilesOnly")
}}</el-divider>
<div class="form-group">
<div id="directoryInputWrapper" class="btn btn-link file-input">
<el-button
type="primary"
:disabled="btnLoading"
:loading="btnLoading"
size="small"
>{{
$t("trials:uploadedDicomsicom:button:selectFolder")
}}</el-button
>
<input
type="file"
name="file"
ref="pathClear"
:disabled="btnLoading"
webkitdirectory
multiple
@change="beginScanFiles($event)"
/>
</div>
</div>
</form>
<!-- 文件列表 -->
<el-table
ref="dicomFilesTable"
:data="uploadQueues"
:row-key="(row) => row.studyIndex"
class="dicomFiles-table"
@selection-change="handleSelectionChange"
>
<el-table-column
type="selection"
width="55"
:selectable="handleSelectable"
/>
<el-table-column type="index" width="40" />
<el-table-column min-width="200" show-overflow-tooltip>
<template slot="header">
<el-tooltip placement="top">
<div slot="content">
{{ $t("trials:uploadDicomList:table:studyDetail1") }}<br />
{{ $t("trials:uploadDicomList:table:studyDetail2") }}<br />
{{ $t("trials:uploadedDicoms:table:studyDate") }}
</div>
<span>{{ $t("trials:uploadDicomList:table:studyInfo") }}</span>
</el-tooltip>
</template>
<template slot-scope="scope">
<div style="line-height: 15px">
<div>
<div>
<span v-if="scope.row.dicomInfo.accNumber"
><span style="font-weight: 500">Acc:</span>
{{ scope.row.dicomInfo.accNumber }}</span
>
<span v-else style="color: #f44336">N/A</span>
</div>
<div style="display: inline-block; margin-right: 2px">
<span v-if="scope.row.dicomInfo.modality.length > 0">
{{ scope.row.dicomInfo.modality.join("、") }},</span
>
<span v-else style="color: #f44336">N/A,</span>
</div>
<div style="display: inline-block; margin-right: 2px">
<span v-if="scope.row.seriesList.length"
>{{ scope.row.seriesList.length }} Series,</span
>
<span v-else style="color: #f44336">N/A,</span>
</div>
<div style="display: inline-block">
<span v-if="scope.row.fileList.length"
>{{ scope.row.fileList.length }} Instances</span
>
<span v-else style="color: #f44336">N/A</span>
</div>
</div>
<div>
<div style="display: inline-block; margin-right: 2px">
<span v-if="scope.row.dicomInfo.bodyPart">
{{ scope.row.dicomInfo.bodyPart }},
</span>
<span v-else style="color: #f44336">N/A, </span>
</div>
<div style="display: inline-block">
<span v-if="scope.row.dicomInfo.description">
{{ scope.row.dicomInfo.description }}</span
>
<span v-else style="color: #f44336">N/A</span>
</div>
</div>
<div>
{{ scope.row.dicomInfo.studyTime }}
<el-divider content-position="left">{{
$t("trials:uploadedDicoms:title:dicomFilesOnly")
}}</el-divider>
<el-tabs v-model="uploadActiveName">
<!-- 本地上传 -->
<el-tab-pane
:label="$t('trials:uploadedDicoms:tab:uploadFile')"
name="file"
>
<form id="inputForm" ref="uploadForm" enctype="multipart/form-data">
<div class="form-group">
<div id="directoryInputWrapper" class="btn btn-link file-input">
<el-button
type="primary"
:disabled="btnLoading"
:loading="btnLoading"
size="small"
>{{
$t("trials:uploadedDicomsicom:button:selectFolder")
}}</el-button
>
<input
type="file"
name="file"
ref="pathClear"
:disabled="btnLoading"
webkitdirectory
multiple
@change="beginScanFiles($event)"
/>
</div>
</div>
</template>
</el-table-column>
<el-table-column min-width="130" show-overflow-tooltip>
<template slot="header">
<el-tooltip placement="top">
<div slot="content">
{{ $t("trials:uploadDicomList:table:pId") }}<br />
{{ $t("trials:uploadDicomList:table:patientName") }}<br />
{{ $t("trials:uploadDicomList:table:pInfo") }}
</div>
<span>{{ $t("trials:uploadDicomList:table:patientInfo") }}</span>
</el-tooltip>
</template>
<template slot-scope="scope">
<div style="line-height: 15px">
<div>
<span v-if="scope.row.dicomInfo.patientId"
><span style="font-weight: 500">PID: </span
>{{ scope.row.dicomInfo.patientId }}</span
>
<span v-else style="color: #f44336">N/A</span>
</div>
<div>
<span
:class="[scope.row.dicomInfo.patientName ? '' : 'colorOfRed']"
>
{{
scope.row.dicomInfo.patientName
? scope.row.dicomInfo.patientName
: "N/A"
}}
</span>
</div>
<div>
<span
:class="[scope.row.dicomInfo.patientSex ? '' : 'colorOfRed']"
>
{{
scope.row.dicomInfo.patientSex
? scope.row.dicomInfo.patientSex
: "N/A"
}},
</span>
</form>
<span
:class="[scope.row.dicomInfo.patientAge ? '' : 'colorOfRed']"
>
{{
scope.row.dicomInfo.patientAge
? scope.row.dicomInfo.patientAge
: "N/A"
}},
</span>
<span
:class="[
scope.row.dicomInfo.patientBirthDate ? '' : 'colorOfRed',
]"
>
{{
scope.row.dicomInfo.patientBirthDate
? scope.row.dicomInfo.patientBirthDate
: "N/A"
}}
</span>
</div>
</div>
</template>
</el-table-column>
<el-table-column
:label="$t('trials:uploadDicomList:table:failedFileCount')"
min-width="120"
show-overflow-tooltip
>
<template slot-scope="scope">
<el-progress
color="#409eff"
:percentage="
(scope.row.dicomInfo.failedFileCount * 100) /
scope.row.dicomInfo.fileCount
"
:show-text="false"
<!-- 文件列表 -->
<el-table
ref="dicomFilesTable"
:data="uploadQueues"
:row-key="(row) => row.studyIndex"
class="dicomFiles-table"
@selection-change="handleSelectionChange"
>
<el-table-column
type="selection"
width="55"
:selectable="handleSelectable"
/>
<span
>{{ scope.row.dicomInfo.failedFileCount }} /
{{ scope.row.dicomInfo.fileCount }}</span
>
</template>
</el-table-column>
<el-table-column type="index" width="40" />
<el-table-column min-width="200" show-overflow-tooltip>
<template slot="header">
<el-tooltip placement="top">
<div slot="content">
{{ $t("trials:uploadDicomList:table:studyDetail1") }}<br />
{{ $t("trials:uploadDicomList:table:studyDetail2") }}<br />
{{ $t("trials:uploadedDicoms:table:studyDate") }}
</div>
<span>{{ $t("trials:uploadDicomList:table:studyInfo") }}</span>
</el-tooltip>
</template>
<template slot-scope="scope">
<div style="line-height: 15px">
<div>
<div>
<span v-if="scope.row.dicomInfo.accNumber"
><span style="font-weight: 500">Acc:</span>
{{ scope.row.dicomInfo.accNumber }}</span
>
<span v-else style="color: #f44336">N/A</span>
</div>
<div style="display: inline-block; margin-right: 2px">
<span v-if="scope.row.dicomInfo.modality.length > 0">
{{ scope.row.dicomInfo.modality.join("、") }},</span
>
<span v-else style="color: #f44336">N/A,</span>
</div>
<div style="display: inline-block; margin-right: 2px">
<span v-if="scope.row.seriesList.length"
>{{ scope.row.seriesList.length }} Series,</span
>
<span v-else style="color: #f44336">N/A,</span>
</div>
<div style="display: inline-block">
<span v-if="scope.row.fileList.length"
>{{ scope.row.fileList.length }} Instances</span
>
<span v-else style="color: #f44336">N/A</span>
</div>
</div>
<el-table-column
:label="$t('trials:uploadDicomList:table:status')"
min-width="140"
show-overflow-tooltip
>
<template slot-scope="scope">
<span
v-if="
!scope.row.dicomInfo.failedFileCount &&
!scope.row.dicomInfo.isInit
"
>
{{ $t("trials:uploadDicomList:table:status1") }}</span
>
<span
style="color: #409eff"
v-else-if="
!scope.row.dicomInfo.failedFileCount &&
scope.row.dicomInfo.isInit &&
btnLoading
"
>{{ $t("trials:uploadDicomList:table:status2") }}</span
>
<span
style="color: #409eff"
v-else-if="
scope.row.dicomInfo.failedFileCount <
scope.row.dicomInfo.fileCount && !scope.row.uploadState.record
"
>{{ $t("trials:uploadDicomList:table:status2") }}</span
>
<span
style="color: #2cc368"
v-else-if="
scope.row.dicomInfo.failedFileCount ===
scope.row.dicomInfo.fileCount
"
>{{ $t("trials:uploadDicomList:table:status3") }}</span
>
<span
style="color: #f66"
v-else-if="
scope.row.uploadState.record &&
scope.row.uploadState.record.fileCount === 0
"
>{{ $t("trials:uploadDicomList:table:status5") }}</span
>
<span style="color: #f66" v-else>{{
$t("trials:uploadDicomList:table:Failed")
}}</span>
</template>
</el-table-column>
<el-table-column
:label="$t('trials:uploadDicomList:table:record')"
min-width="140"
show-overflow-tooltip
>
<template slot-scope="scope">
<el-tooltip placement="top" v-if="scope.row.uploadState.record">
<div slot="content">
<div style="max-height: 500px; overflow-y: auto">
{{ $t("trials:uploadDicomList:table:Existed") }}:
<div v-if="scope.row.uploadState.record.Existed.length">
<div
v-for="item of scope.row.uploadState.record.Existed"
:key="item"
style="font-size: 12px; color: #baa72a"
>
{{ item }}
<div>
<div style="display: inline-block; margin-right: 2px">
<span v-if="scope.row.dicomInfo.bodyPart">
{{ scope.row.dicomInfo.bodyPart }},
</span>
<span v-else style="color: #f44336">N/A, </span>
</div>
<div style="display: inline-block">
<span v-if="scope.row.dicomInfo.description">
{{ scope.row.dicomInfo.description }}</span
>
<span v-else style="color: #f44336">N/A</span>
</div>
</div>
<div v-else>&nbsp;</div>
{{ $t("trials:uploadDicomList:table:Uploaded") }}:
<div v-if="scope.row.uploadState.record.Uploaded.length">
<div
v-for="item of scope.row.uploadState.record.Uploaded"
:key="item"
style="font-size: 12px; color: #24b837"
>
{{ item }}
</div>
<div>
{{ scope.row.dicomInfo.studyTime }}
</div>
<div v-else>&nbsp;</div>
<br />
{{ $t("trials:uploadDicomList:table:Failed") }}:
<div v-if="scope.row.uploadState.record.Failed.length">
<div
v-for="item of scope.row.uploadState.record.Failed"
:key="item"
style="font-size: 12px; color: #f66"
>
{{ item }}
</div>
</div>
<div v-else>&nbsp;</div>
</div>
</div>
<el-button size="mini" style="cursor: pointer">
<span style="font-size: 12px; color: #baa72a">{{
scope.row.uploadState.record.Existed.length
</template>
</el-table-column>
<el-table-column min-width="130" show-overflow-tooltip>
<template slot="header">
<el-tooltip placement="top">
<div slot="content">
{{ $t("trials:uploadDicomList:table:pId") }}<br />
{{ $t("trials:uploadDicomList:table:patientName") }}<br />
{{ $t("trials:uploadDicomList:table:pInfo") }}
</div>
<span>{{
$t("trials:uploadDicomList:table:patientInfo")
}}</span>
</el-tooltip>
</template>
<template slot-scope="scope">
<div style="line-height: 15px">
<div>
<span v-if="scope.row.dicomInfo.patientId"
><span style="font-weight: 500">PID: </span
>{{ scope.row.dicomInfo.patientId }}</span
>
<span v-else style="color: #f44336">N/A</span>
</div>
<div>
<span
:class="[
scope.row.dicomInfo.patientName ? '' : 'colorOfRed',
]"
>
{{
scope.row.dicomInfo.patientName
? scope.row.dicomInfo.patientName
: "N/A"
}}
</span>
</div>
<div>
<span
:class="[
scope.row.dicomInfo.patientSex ? '' : 'colorOfRed',
]"
>
{{
scope.row.dicomInfo.patientSex
? scope.row.dicomInfo.patientSex
: "N/A"
}},
</span>
<span
:class="[
scope.row.dicomInfo.patientAge ? '' : 'colorOfRed',
]"
>
{{
scope.row.dicomInfo.patientAge
? scope.row.dicomInfo.patientAge
: "N/A"
}},
</span>
<span
:class="[
scope.row.dicomInfo.patientBirthDate ? '' : 'colorOfRed',
]"
>
{{
scope.row.dicomInfo.patientBirthDate
? scope.row.dicomInfo.patientBirthDate
: "N/A"
}}
</span>
</div>
</div>
</template>
</el-table-column>
<el-table-column
:label="$t('trials:uploadDicomList:table:failedFileCount')"
min-width="120"
show-overflow-tooltip
>
<template slot-scope="scope">
<el-progress
color="#409eff"
:percentage="
(scope.row.dicomInfo.failedFileCount * 100) /
scope.row.dicomInfo.fileCount
"
:show-text="false"
/>
<span
>{{ scope.row.dicomInfo.failedFileCount }} /
{{ scope.row.dicomInfo.fileCount }}</span
>
</template>
</el-table-column>
<el-table-column
:label="$t('trials:uploadDicomList:table:status')"
min-width="140"
show-overflow-tooltip
>
<template slot-scope="scope">
<span
v-if="
!scope.row.dicomInfo.failedFileCount &&
!scope.row.dicomInfo.isInit
"
>
{{ $t("trials:uploadDicomList:table:status1") }}</span
>
<span
style="color: #409eff"
v-else-if="
!scope.row.dicomInfo.failedFileCount &&
scope.row.dicomInfo.isInit &&
btnLoading
"
>{{ $t("trials:uploadDicomList:table:status2") }}</span
>
<span
style="color: #409eff"
v-else-if="
scope.row.dicomInfo.failedFileCount <
scope.row.dicomInfo.fileCount &&
!scope.row.uploadState.record
"
>{{ $t("trials:uploadDicomList:table:status2") }}</span
>
<span
style="color: #2cc368"
v-else-if="
scope.row.dicomInfo.failedFileCount ===
scope.row.dicomInfo.fileCount
"
>{{ $t("trials:uploadDicomList:table:status3") }}</span
>
<span
style="color: #f66"
v-else-if="
scope.row.uploadState.record &&
scope.row.uploadState.record.fileCount === 0
"
>{{ $t("trials:uploadDicomList:table:status5") }}</span
>
<span style="color: #f66" v-else>{{
$t("trials:uploadDicomList:table:Failed")
}}</span>
/
<span style="font-size: 12px; color: #24b837">{{
scope.row.uploadState.record.Uploaded.length
}}</span>
/
<span style="font-size: 12px; color: #f66">{{
scope.row.uploadState.record.Failed.length
}}</span>
</el-button>
</el-tooltip>
</template>
</el-table-column>
<el-table-column
v-show="isScan"
:label="$t('common:action:action')"
width="200"
>
<template slot-scope="scope">
<!-- 预览 -->
<!-- :disabled="scope.row.dicomInfo.failedFileCount < scope.row.dicomInfo.fileCount && scope.row.dicomInfo.failedFileCount !== 0"-->
<el-button
icon="el-icon-view"
circle
:disabled="
scope.row.uploadState.stateCode !== '' &&
scope.row.dicomInfo.failedFileCount <
scope.row.dicomInfo.fileCount &&
!scope.row.uploadState.record
"
:title="$t('trials:uploadedDicoms:action:preview')"
size="small"
@click="handlePreview(scope.row.dicomInfo.studyUid)"
/>
<!-- 移除 -->
<el-button
icon="el-icon-delete"
circle
:title="$t('trials:uploadedDicoms:action:delete')"
size="small"
:disabled="
scope.row.uploadState.stateCode !== '' &&
scope.row.dicomInfo.failedFileCount <
scope.row.dicomInfo.fileCount &&
!scope.row.uploadState.record
"
@click="handleDelete(scope.$index, scope.row)"
/>
</template>
</el-table-column>
</el-table>
<div style="text-align: right; padding: 10px 0px">
<!-- 关闭 -->
<!-- <el-button :disabled="btnLoading" size="small" type="primary" @click="cancel">
</template>
</el-table-column>
<el-table-column
:label="$t('trials:uploadDicomList:table:record')"
min-width="140"
show-overflow-tooltip
>
<template slot-scope="scope">
<el-tooltip placement="top" v-if="scope.row.uploadState.record">
<div slot="content">
<div style="max-height: 500px; overflow-y: auto">
{{ $t("trials:uploadDicomList:table:Existed") }}:
<div v-if="scope.row.uploadState.record.Existed.length">
<div
v-for="item of scope.row.uploadState.record.Existed"
:key="item"
style="font-size: 12px; color: #baa72a"
>
{{ item }}
</div>
</div>
<div v-else>&nbsp;</div>
{{ $t("trials:uploadDicomList:table:Uploaded") }}:
<div v-if="scope.row.uploadState.record.Uploaded.length">
<div
v-for="item of scope.row.uploadState.record.Uploaded"
:key="item"
style="font-size: 12px; color: #24b837"
>
{{ item }}
</div>
</div>
<div v-else>&nbsp;</div>
<br />
{{ $t("trials:uploadDicomList:table:Failed") }}:
<div v-if="scope.row.uploadState.record.Failed.length">
<div
v-for="item of scope.row.uploadState.record.Failed"
:key="item"
style="font-size: 12px; color: #f66"
>
{{ item }}
</div>
</div>
<div v-else>&nbsp;</div>
</div>
</div>
<el-button size="mini" style="cursor: pointer">
<span style="font-size: 12px; color: #baa72a">{{
scope.row.uploadState.record.Existed.length
}}</span>
/
<span style="font-size: 12px; color: #24b837">{{
scope.row.uploadState.record.Uploaded.length
}}</span>
/
<span style="font-size: 12px; color: #f66">{{
scope.row.uploadState.record.Failed.length
}}</span>
</el-button>
</el-tooltip>
</template>
</el-table-column>
<el-table-column
v-show="isScan"
:label="$t('common:action:action')"
width="200"
>
<template slot-scope="scope">
<!-- 预览 -->
<!-- :disabled="scope.row.dicomInfo.failedFileCount < scope.row.dicomInfo.fileCount && scope.row.dicomInfo.failedFileCount !== 0"-->
<el-button
icon="el-icon-view"
circle
:disabled="
scope.row.uploadState.stateCode !== '' &&
scope.row.dicomInfo.failedFileCount <
scope.row.dicomInfo.fileCount &&
!scope.row.uploadState.record
"
:title="$t('trials:uploadedDicoms:action:preview')"
size="small"
@click="handlePreview(scope.row.dicomInfo.studyUid)"
/>
<!-- 移除 -->
<el-button
icon="el-icon-delete"
circle
:title="$t('trials:uploadedDicoms:action:delete')"
size="small"
:disabled="
scope.row.uploadState.stateCode !== '' &&
scope.row.dicomInfo.failedFileCount <
scope.row.dicomInfo.fileCount &&
!scope.row.uploadState.record
"
@click="handleDelete(scope.$index, scope.row)"
/>
</template>
</el-table-column>
</el-table>
<div style="text-align: right; padding: 10px 0px">
<!-- 关闭 -->
<!-- <el-button :disabled="btnLoading" size="small" type="primary" @click="cancel">
{{ $t('trials:uploadDicomList:button:close') }}
</el-button> -->
<!-- 上传 -->
<el-button
size="small"
type="primary"
:disabled="selectArr.length == 0 || !isScan"
:loading="btnLoading"
@click="beginUploadQueues"
<!-- 上传 -->
<el-button
size="small"
type="primary"
:disabled="selectArr.length == 0 || !isScan"
:loading="btnLoading"
@click="beginUploadQueues"
>
{{ $t("trials:uploadDicomList:button:upload") }}
</el-button>
</div>
</el-tab-pane>
<!-- pacs上传 -->
<el-tab-pane
:label="$t('trials:uploadNonDicoms:tab:uploadPacs')"
name="pacs"
:disabled="btnLoading"
>
{{ $t("trials:uploadDicomList:button:upload") }}
</el-button>
</div>
<uploadDicomPacs v-if="uploadActiveName === 'pacs'" />
</el-tab-pane>
</el-tabs>
<!-- 预览影像模态框 -->
<el-dialog
v-if="previewVisible"
@@ -758,9 +782,10 @@ import { dcmUpload } from "@/utils/dcmUpload/dcmUpload";
import { convertBytes } from "@/utils/dicom-character-set";
import moment from "moment";
import store from "@/store";
import uploadDicomPacs from "./uploadDiocmPacs.vue";
export default {
name: "UploadDicomFiles",
components: { DicomPreview, uploadPetClinicalData },
components: { DicomPreview, uploadPetClinicalData, uploadDicomPacs },
props: {
data: {
type: Object,
@@ -783,6 +808,7 @@ export default {
},
data() {
return {
uploadActiveName: "file",
editStudyInfoVisible: false,
studyForm: {
StudyCode: "",
@@ -1975,7 +2001,7 @@ export default {
}
var arr = bodyPart.split(separator);
var newArr = arr.map((i) => {
return this.$fd("Bodypart", i.trim(), "Code", this.BodyPart,'Name');
return this.$fd("Bodypart", i.trim(), "Code", this.BodyPart, "Name");
});
return newArr.join(" | ");
},
@@ -0,0 +1,311 @@
<template>
<BaseContainer>
<template slot="search-container">
<el-form :inline="true">
<!--所在中心-->
<el-form-item
:label="$t('trials:pushRecord:table:trialSiteKeyInfo')"
prop="TrialSiteKeyInfo"
>
<el-input
v-model="searchData.TrialSiteKeyInfo"
size="small"
clearable
style="width: 150px"
:placeholder="$t('trials:pushRecord:placeholder:trialSiteKeyInfo')"
/>
</el-form-item>
<!--接收端AE-->
<el-form-item
:label="$t('trials:pushRecord:table:calledAE')"
prop="CalledAE"
>
<el-select
v-model="searchData.CalledAE"
clearable
style="width: 120px"
>
<el-option
v-for="item of calledAEList"
:key="item"
:value="item"
:label="item"
/>
</el-select>
</el-form-item>
<!--发送端AE-->
<el-form-item
:label="$t('trials:pushRecord:table:callingAE')"
prop="CallingAE"
>
<el-select
v-model="searchData.CallingAE"
clearable
style="width: 120px"
>
<el-option
v-for="item of callingAEList"
:key="item"
:value="item"
:label="item"
/>
</el-select>
</el-form-item>
<!--最新接受日期-->
<el-form-item :label="$t('trials:pushRecord:table:createTime')">
<el-date-picker
v-model="datetimerange"
type="datetimerange"
:default-time="['00:00:00', '23:59:59']"
:start-placeholder="$t('trials:loginLog:table:beginTime')"
:end-placeholder="$t('trials:loginLog:table:endTime')"
value-format="yyyy-MM-dd HH:mm:ss"
@change="handleDatetimeChange"
/>
</el-form-item>
<el-form-item>
<el-button type="primary" icon="el-icon-search" @click="handleSearch">
{{ $t("common:button:search") }}
</el-button>
<!-- 重置 -->
<el-button
type="primary"
icon="el-icon-refresh-left"
@click="handleReset"
>
{{ $t("common:button:reset") }}
</el-button>
</el-form-item>
</el-form>
</template>
<template slot="main-container">
<el-table
v-loading="loading"
v-adaptive="{ bottomOffset: 120 }"
height="100"
:data="list"
class="table"
@sort-change="handleSortByColumn"
:default-sort="{ prop: 'StartTime', order: 'descending' }"
>
<el-table-column type="index" width="50" />
<!--中心编号-->
<el-table-column
:label="$t('trials:pushRecord:table:trialSiteCode')"
prop="TrialSiteCode"
min-width="160"
show-overflow-tooltip
sortable="custom"
/>
<!--中心名称-->
<el-table-column
:label="$t('trials:pushRecord:table:trialSiteAliasName')"
prop="TrialSiteAliasName"
min-width="160"
show-overflow-tooltip
sortable="custom"
/>
<!--发送端AE-->
<el-table-column
:label="$t('trials:pushRecord:table:callingAEList')"
prop="CallingAEList"
min-width="90"
show-overflow-tooltip
sortable="custom"
>
<template slot-scope="scope">
{{ scope.row.CallingAEList.join(", ") }}
</template>
</el-table-column>
<!--发送端IP-->
<el-table-column
:label="$t('trials:pushRecord:table:callingAEIP')"
prop="CallingAEIP"
min-width="160"
show-overflow-tooltip
sortable="custom"
/>
<!--接收端AE-->
<el-table-column
:label="$t('trials:pushRecord:table:calledAEList')"
prop="CalledAEList"
min-width="90"
show-overflow-tooltip
sortable="custom"
><template slot-scope="scope">
{{ scope.row.CallingAEList.join(", ") }}
</template>
</el-table-column>
<!--检查数-->
<el-table-column
:label="$t('trials:pushRecord:table:studyCount')"
prop="StudyCount"
min-width="160"
show-overflow-tooltip
sortable="custom"
/>
<!--图像数量-->
<el-table-column
:label="$t('trials:pushRecord:table:fileCount')"
prop="FileCount"
min-width="160"
show-overflow-tooltip
sortable="custom"
/>
<!--图像大小-->
<el-table-column
:label="$t('trials:pushRecord:table:fileSize')"
prop="FileSize"
min-width="160"
show-overflow-tooltip
sortable="custom"
/>
<!--推送开始时间-->
<el-table-column
:label="$t('trials:pushRecord:table:startTime')"
prop="StartTime"
min-width="160"
show-overflow-tooltip
sortable="custom"
/>
<!--推送结束时间-->
<el-table-column
:label="$t('trials:pushRecord:table:endTime')"
prop="EndTime"
min-width="160"
show-overflow-tooltip
sortable="custom"
/>
</el-table>
<!-- 分页组件 -->
<pagination
class="page"
:total="total"
:page.sync="searchData.PageIndex"
:limit.sync="searchData.PageSize"
@pagination="getList"
/>
</template>
</BaseContainer>
</template>
<script>
import {
getSCPImageUploadList,
getDicomCalledAEList,
getDicomCallingAEList,
} from "@/api/trials";
import BaseContainer from "@/components/BaseContainer";
import Pagination from "@/components/Pagination";
import moment from "moment";
const searchDataDefault = () => {
return {
CallingAE: null,
CalledAE: null,
StartTime: null,
EndTime: null,
TrialSiteKeyInfo: null,
PageIndex: 1,
PageSize: 20,
Asc: true,
SortField: "StartTime",
};
};
export default {
components: { BaseContainer, Pagination },
data() {
return {
moment,
searchData: searchDataDefault(),
list: [],
total: 0,
loading: false,
datetimerange: [],
calledAEList: [],
callingAEList: [],
};
},
created() {
this.getCalledAEList();
this.getCallingAEList();
},
mounted() {
this.getList();
},
methods: {
// AE
async getCalledAEList() {
try {
let params = {
TrialId: this.$route.query.trialId,
};
let res = await getDicomCalledAEList(params);
if (res.IsSuccess) {
this.calledAEList = res.Result;
}
} catch (err) {
console.log(err);
}
},
// AE
async getCallingAEList() {
try {
let params = {
TrialId: this.$route.query.trialId,
};
let res = await getDicomCallingAEList(params);
if (res.IsSuccess) {
this.callingAEList = res.Result;
}
} catch (err) {
console.log(err);
}
},
getList() {
this.loading = true;
this.searchData.TrialId = this.$route.query.trialId;
getSCPImageUploadList(this.searchData)
.then((res) => {
this.loading = false;
this.list = res.Result.CurrentPageData;
this.total = res.Result.TotalCount;
})
.catch(() => {
this.loading = false;
});
},
handleDatetimeChange(val) {
if (val) {
this.searchData.StartTime = val[0];
this.searchData.EndTime = val[1];
} else {
this.searchData.StartTime = "";
this.searchData.EndTime = "";
}
},
handleSearch() {
this.searchData.PageIndex = 1;
this.getList();
},
//
handleReset() {
this.datetimerange = null;
this.handleDatetimeChange();
this.searchData = searchDataDefault();
this.getList();
},
//
handleSortByColumn(column) {
if (column.order === "ascending") {
this.searchData.Asc = true;
} else {
this.searchData.Asc = false;
}
this.searchData.SortField = column.prop;
this.searchData.PageIndex = 1;
this.getList();
},
},
};
</script>
@@ -1045,7 +1045,7 @@ export default {
formRow: {},
searchData: searchDataDefault(),
loading: false,
uploadVisible: false,
uploadVisible: true,
qcVisible: false,
list: [],
total: 0,
+2 -2
View File
@@ -25,8 +25,8 @@ module.exports = {
devServer: {
port: '8080',
headers: {
'Cross-Origin-Opener-Policy': 'same-origin',
'Cross-Origin-Embedder-Policy': 'require-corp'
// 'Cross-Origin-Opener-Policy': 'same-origin',
// 'Cross-Origin-Embedder-Policy': 'require-corp'
},
// open: true,
overlay: {