diff --git a/src/api/trials.js b/src/api/trials.js index d7d3833..e02115f 100644 --- a/src/api/trials.js +++ b/src/api/trials.js @@ -3556,4 +3556,22 @@ export function getSystemConfirmedCreiterionList() { url: `/Patient/getSystemConfirmedCreiterionList`, method: 'get' }) +} + +// 获取项目授权码 +export function getTrialAuthorizationCode(params) { + return request({ + url: `/Patient/getTrialAuthorizationCode`, + method: 'get', + params + }) +} + +// 设置项目授权信息 +export function activateTrial(params) { + return request({ + url: `/Patient/activateTrial`, + method: 'put', + params + }) } \ No newline at end of file diff --git a/src/components/PreviewFileDialog/PreviewFileDialog.vue b/src/components/PreviewFileDialog/PreviewFileDialog.vue new file mode 100644 index 0000000..62bdd7a --- /dev/null +++ b/src/components/PreviewFileDialog/PreviewFileDialog.vue @@ -0,0 +1,40 @@ + + + \ No newline at end of file diff --git a/src/settings.js b/src/settings.js index 360c7b4..f6c931a 100644 --- a/src/settings.js +++ b/src/settings.js @@ -1,7 +1,7 @@ // eslint-disable-next-line no-undef module.exports = { - title: 'HIRIS', + title: 'HIRS', /** * @type {boolean} true | false diff --git a/src/views/system/user/components/UserInfo.vue b/src/views/system/user/components/UserInfo.vue index 942fe4f..a664cd0 100644 --- a/src/views/system/user/components/UserInfo.vue +++ b/src/views/system/user/components/UserInfo.vue @@ -61,8 +61,8 @@ > + + {{ data.TrialCode }} + + + +

+ {{ + form.Authorization + }} + {{ + $t("trials:trials-list:action:copy") + }} +

+
+ + + + + + + + + + + \ No newline at end of file diff --git a/src/views/trials/trials-list/index.vue b/src/views/trials/trials-list/index.vue index d8789a2..e188cdd 100644 --- a/src/views/trials/trials-list/index.vue +++ b/src/views/trials/trials-list/index.vue @@ -100,8 +100,16 @@ height="100" @sort-change="handleSortChange" > - - + + + + {{ scope.row.AuthorizationDate - ? scope.row.AuthorizationDate.split(" ")[0] + ? moment(scope.row.AuthorizationDate) : "" }} @@ -202,6 +210,13 @@ /> diff --git a/vue.config.js b/vue.config.js index d208a8b..80b135d 100644 --- a/vue.config.js +++ b/vue.config.js @@ -13,7 +13,7 @@ function resolve(dir) { return path.join(__dirname, dir) } -const name = defaultSettings.title || 'HIRIS' // page title +const name = defaultSettings.title || 'HIRS' // page title // eslint-disable-next-line no-undef module.exports = {