+
-
{{ $t('trials:audit:table:isReading') }}
-
-
-
{{ $t('trials:audit:table:isDelete') }}
-
+
+ {{ $t('trials:audit:table:isReading') }}
+
+
+
+ {{ $t('trials:audit:table:isDelete') }}
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Search
+ Reset
+
+
+
+ New
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dictionary/institutions/components/Sites.vue b/src/views/dictionary/institutions/components/Sites.vue
index 09daef6e..cadc28d2 100644
--- a/src/views/dictionary/institutions/components/Sites.vue
+++ b/src/views/dictionary/institutions/components/Sites.vue
@@ -213,11 +213,10 @@ export default {
},
// 删除Site
handleDelete(row) {
- this.$confirm('Sure to delete?', {
+ this.$confirm(this.$t('trials:uploadedDicoms:message:deleteMes'), {
type: 'warning',
distinguishCancelAndClose: true,
- confirmButtonText: 'Ok',
- cancelButtonText: 'Cancel'
+
})
.then(() => {
this.loading = true
@@ -227,7 +226,7 @@ export default {
if (res.IsSuccess) {
this.list.splice(this.list.findIndex(item => item.Id === row.Id), 1)
this.$store.dispatch('global/setSite', {})
- this.$message.success('Deleted successfully!')
+ this.$message.success(this.$t('common:message:deletedSuccessfully'))
}
}).catch(() => {
this.loading = false
diff --git a/src/views/dictionary/institutions/components/Sponsors.vue b/src/views/dictionary/institutions/components/Sponsors.vue
index db31ad96..f1292653 100644
--- a/src/views/dictionary/institutions/components/Sponsors.vue
+++ b/src/views/dictionary/institutions/components/Sponsors.vue
@@ -139,11 +139,10 @@ export default {
},
// 删除Sponsor
handleDelete(row) {
- this.$confirm('Sure to delete?', {
+ this.$confirm(this.$t('trials:uploadedDicoms:message:deleteMes'), {
type: 'warning',
distinguishCancelAndClose: true,
- confirmButtonText: 'Ok',
- cancelButtonText: 'Cancel'
+
})
.then(() => {
this.loading = true
@@ -152,7 +151,7 @@ export default {
this.loading = false
if (res.IsSuccess) {
this.list.splice(this.list.findIndex(item => item.Id === row.Id), 1)
- this.$message.success('Deleted successfully!')
+ this.$message.success(this.$t('common:message:deletedSuccessfully'))
}
}).catch(() => {
this.loading = false
diff --git a/src/views/dictionary/newdictionary/bool/index.vue b/src/views/dictionary/newdictionary/bool/index.vue
index 31a6fd70..bf3ca8d3 100644
--- a/src/views/dictionary/newdictionary/bool/index.vue
+++ b/src/views/dictionary/newdictionary/bool/index.vue
@@ -182,11 +182,10 @@ export default {
})
},
handleDelete(row) {
- this.$confirm('Sure to delete?', {
+ this.$confirm(this.$t('trials:uploadedDicoms:message:deleteMes'), {
type: 'warning',
distinguishCancelAndClose: true,
- confirmButtonText: 'Ok',
- cancelButtonText: 'Cancel'
+
})
.then(() => {
this.loading = true
@@ -195,7 +194,7 @@ export default {
this.loading = false
if (res.IsSuccess) {
this.list.splice(this.list.findIndex(item => item.Id === row.Id), 1)
- this.$message.success('Deleted successfully!')
+ this.$message.success(this.$t('common:message:deletedSuccessfully'))
}
}).catch(() => { this.loading = false })
})
diff --git a/src/views/dictionary/newdictionary/components/DictionaryChild.vue b/src/views/dictionary/newdictionary/components/DictionaryChild.vue
index 93b39132..5e9a7493 100644
--- a/src/views/dictionary/newdictionary/components/DictionaryChild.vue
+++ b/src/views/dictionary/newdictionary/components/DictionaryChild.vue
@@ -154,11 +154,10 @@ export default {
})
},
handleDelete(row) {
- this.$confirm('Sure to delete?', {
+ this.$confirm(this.$t('trials:uploadedDicoms:message:deleteMes'), {
type: 'warning',
distinguishCancelAndClose: true,
- confirmButtonText: 'Ok',
- cancelButtonText: 'Cancel'
+
})
.then(() => {
this.loading = true
@@ -167,7 +166,7 @@ export default {
this.loading = false
if (res.IsSuccess) {
this.list.splice(this.list.findIndex(item => item.Id === row.Id), 1)
- this.$message.success('Deleted successfully!')
+ this.$message.success(this.$t('common:message:deletedSuccessfully'))
}
}).catch(() => { this.loading = false })
})
diff --git a/src/views/dictionary/newdictionary/config/index.vue b/src/views/dictionary/newdictionary/config/index.vue
index 0355d9ce..c1a0dcf3 100644
--- a/src/views/dictionary/newdictionary/config/index.vue
+++ b/src/views/dictionary/newdictionary/config/index.vue
@@ -183,11 +183,10 @@ export default {
})
},
handleDelete(row) {
- this.$confirm('Sure to delete?', {
+ this.$confirm(this.$t('trials:uploadedDicoms:message:deleteMes'), {
type: 'warning',
distinguishCancelAndClose: true,
- confirmButtonText: 'Ok',
- cancelButtonText: 'Cancel'
+
})
.then(() => {
this.loading = true
@@ -196,7 +195,7 @@ export default {
this.loading = false
if (res.IsSuccess) {
this.list.splice(this.list.findIndex(item => item.Id === row.Id), 1)
- this.$message.success('Deleted successfully!')
+ this.$message.success(this.$t('common:message:deletedSuccessfully'))
}
}).catch(() => { this.loading = false })
})
diff --git a/src/views/dictionary/newdictionary/enum/index.vue b/src/views/dictionary/newdictionary/enum/index.vue
index fc0f0a3c..a4683819 100644
--- a/src/views/dictionary/newdictionary/enum/index.vue
+++ b/src/views/dictionary/newdictionary/enum/index.vue
@@ -182,11 +182,10 @@ export default {
})
},
handleDelete(row) {
- this.$confirm('Sure to delete?', {
+ this.$confirm(this.$t('trials:uploadedDicoms:message:deleteMes'), {
type: 'warning',
distinguishCancelAndClose: true,
- confirmButtonText: 'Ok',
- cancelButtonText: 'Cancel'
+
})
.then(() => {
this.loading = true
@@ -195,7 +194,7 @@ export default {
this.loading = false
if (res.IsSuccess) {
this.list.splice(this.list.findIndex(item => item.Id === row.Id), 1)
- this.$message.success('Deleted successfully!')
+ this.$message.success(this.$t('common:message:deletedSuccessfully'))
}
}).catch(() => { this.loading = false })
})
diff --git a/src/views/dictionary/newdictionary/list/components/DictionaryChild.vue b/src/views/dictionary/newdictionary/list/components/DictionaryChild.vue
index 68e4be05..f843d92c 100644
--- a/src/views/dictionary/newdictionary/list/components/DictionaryChild.vue
+++ b/src/views/dictionary/newdictionary/list/components/DictionaryChild.vue
@@ -153,11 +153,10 @@ export default {
})
},
handleDelete(row) {
- this.$confirm('Sure to delete?', {
+ this.$confirm(this.$t('trials:uploadedDicoms:message:deleteMes'), {
type: 'warning',
distinguishCancelAndClose: true,
- confirmButtonText: 'Ok',
- cancelButtonText: 'Cancel'
+
})
.then(() => {
this.loading = true
@@ -166,7 +165,7 @@ export default {
this.loading = false
if (res.IsSuccess) {
this.list.splice(this.list.findIndex(item => item.Id === row.Id), 1)
- this.$message.success('Deleted successfully!')
+ this.$message.success(this.$t('common:message:deletedSuccessfully'))
}
}).catch(() => { this.loading = false })
})
diff --git a/src/views/dictionary/newdictionary/list/index.vue b/src/views/dictionary/newdictionary/list/index.vue
index 1d99476e..4c45bb6f 100644
--- a/src/views/dictionary/newdictionary/list/index.vue
+++ b/src/views/dictionary/newdictionary/list/index.vue
@@ -206,11 +206,10 @@ export default {
})
},
handleDelete(row) {
- this.$confirm('Sure to delete?', {
+ this.$confirm(this.$t('trials:uploadedDicoms:message:deleteMes'), {
type: 'warning',
distinguishCancelAndClose: true,
- confirmButtonText: 'Ok',
- cancelButtonText: 'Cancel'
+
})
.then(() => {
this.loading = true
@@ -219,7 +218,7 @@ export default {
this.loading = false
if (res.IsSuccess) {
this.list.splice(this.list.findIndex(item => item.Id === row.Id), 1)
- this.$message.success('Deleted successfully!')
+ this.$message.success(this.$t('common:message:deletedSuccessfully'))
}
}).catch(() => { this.loading = false })
})
diff --git a/src/views/dictionary/newdictionary/select/index.vue b/src/views/dictionary/newdictionary/select/index.vue
index 3ab7d358..acca8552 100644
--- a/src/views/dictionary/newdictionary/select/index.vue
+++ b/src/views/dictionary/newdictionary/select/index.vue
@@ -183,11 +183,10 @@ export default {
})
},
handleDelete(row) {
- this.$confirm('Sure to delete?', {
+ this.$confirm(this.$t('trials:uploadedDicoms:message:deleteMes'), {
type: 'warning',
distinguishCancelAndClose: true,
- confirmButtonText: 'Ok',
- cancelButtonText: 'Cancel'
+
})
.then(() => {
this.loading = true
@@ -196,7 +195,7 @@ export default {
this.loading = false
if (res.IsSuccess) {
this.list.splice(this.list.findIndex(item => item.Id === row.Id), 1)
- this.$message.success('Deleted successfully!')
+ this.$message.success(this.$t('common:message:deletedSuccessfully'))
}
}).catch(() => { this.loading = false })
})
diff --git a/src/views/dictionary/newdictionary/setting/index.vue b/src/views/dictionary/newdictionary/setting/index.vue
index b50f5803..be1d6fb5 100644
--- a/src/views/dictionary/newdictionary/setting/index.vue
+++ b/src/views/dictionary/newdictionary/setting/index.vue
@@ -122,11 +122,10 @@ export default {
})
},
handleDelete(row) {
- this.$confirm('Sure to delete?', {
+ this.$confirm(this.$t('trials:uploadedDicoms:message:deleteMes'), {
type: 'warning',
distinguishCancelAndClose: true,
- confirmButtonText: 'Ok',
- cancelButtonText: 'Cancel'
+
})
.then(() => {
this.loading = true
@@ -135,7 +134,7 @@ export default {
this.loading = false
if (res.IsSuccess) {
this.list.splice(this.list.findIndex(item => item.Id === row.Id), 1)
- this.$message.success('Deleted successfully!')
+ this.$message.success(this.$t('common:message:deletedSuccessfully'))
}
}).catch(() => { this.loading = false })
})
diff --git a/src/views/dictionary/sign/components/SceneList.vue b/src/views/dictionary/sign/components/SceneList.vue
index c5892828..eb67bce5 100644
--- a/src/views/dictionary/sign/components/SceneList.vue
+++ b/src/views/dictionary/sign/components/SceneList.vue
@@ -1,162 +1,161 @@
-
-
-
-
-
-
- Add
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Edit
-
- Delete
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+ Add
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Edit
+
+ Delete
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dictionary/sign/index.vue b/src/views/dictionary/sign/index.vue
index 07236d35..7e84582b 100644
--- a/src/views/dictionary/sign/index.vue
+++ b/src/views/dictionary/sign/index.vue
@@ -1,229 +1,228 @@
-
-
-
-
-
-
-
-
-
-
-
-
- Reset
- Search
-
-
-
-
- New
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Edit
-
-
- 场景配置
-
-
- Delete
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+ Reset
+ Search
+
+
+
+
+ New
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Edit
+
+
+ 场景配置
+
+
+ Delete
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dictionary/template/components/Anonymization.vue b/src/views/dictionary/template/components/Anonymization.vue
index d976aca0..d202154b 100644
--- a/src/views/dictionary/template/components/Anonymization.vue
+++ b/src/views/dictionary/template/components/Anonymization.vue
@@ -162,11 +162,10 @@ export default {
})
},
handleDelete(row) {
- this.$confirm('Sure to delete?', {
+ this.$confirm(this.$t('trials:uploadedDicoms:message:deleteMes'), {
type: 'warning',
distinguishCancelAndClose: true,
- confirmButtonText: 'Ok',
- cancelButtonText: 'Cancel'
+
})
.then(() => {
this.loading = true
@@ -175,7 +174,7 @@ export default {
this.loading = false
if (res.IsSuccess) {
this.list.splice(this.list.findIndex(item => item.Id === row.Id), 1)
- this.$message.success('Deleted successfully!')
+ this.$message.success(this.$t('common:message:deletedSuccessfully'))
}
}).catch(() => { this.loading = false })
})
diff --git a/src/views/dictionary/template/components/CriterionDictionary.vue b/src/views/dictionary/template/components/CriterionDictionary.vue
index 42b35fbd..a2cbdc69 100644
--- a/src/views/dictionary/template/components/CriterionDictionary.vue
+++ b/src/views/dictionary/template/components/CriterionDictionary.vue
@@ -7,6 +7,7 @@
@@ -59,12 +60,13 @@
show-overflow-tooltip
>
-
+
配置
删除
@@ -151,6 +153,10 @@ export default {
criterionId: {
type: String,
required: true
+ },
+ isCompleteConfig: {
+ type: Boolean,
+ required: true
}
},
components: {
diff --git a/src/views/dictionary/template/components/CriterionQuestionForm.vue b/src/views/dictionary/template/components/CriterionQuestionForm.vue
index 8bec7ff2..37267972 100644
--- a/src/views/dictionary/template/components/CriterionQuestionForm.vue
+++ b/src/views/dictionary/template/components/CriterionQuestionForm.vue
@@ -19,6 +19,52 @@
/>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -406,6 +406,7 @@
-
+
-
+
diff --git a/src/views/financials/monthlyPayment/adjustment.vue b/src/views/financials/monthlyPayment/adjustment.vue
index d62af939..e6f1f9b0 100644
--- a/src/views/financials/monthlyPayment/adjustment.vue
+++ b/src/views/financials/monthlyPayment/adjustment.vue
@@ -1,242 +1,241 @@
-
-
-
-
-
- Reset
- Search
- New
-
-
-
-
-
- {{ scope.row.LastName + ' / ' + scope.row.FirstName }}
-
-
-
-
- {{ scope.row.AdjustPaymentUSD | rounding }}
-
-
-
- {{ scope.row.AdjustPaymentCNY | rounding }}
-
-
-
-
-
-
- Edit
- Delete
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+ Reset
+ Search
+ New
+
+
+
+
+
+ {{ scope.row.LastName + ' / ' + scope.row.FirstName }}
+
+
+
+
+ {{ scope.row.AdjustPaymentUSD | rounding }}
+
+
+
+ {{ scope.row.AdjustPaymentCNY | rounding }}
+
+
+
+
+
+
+ Edit
+ Delete
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/financials/monthlyPayment/components/ExchangeRate.vue b/src/views/financials/monthlyPayment/components/ExchangeRate.vue
index e21c515d..c2da9188 100644
--- a/src/views/financials/monthlyPayment/components/ExchangeRate.vue
+++ b/src/views/financials/monthlyPayment/components/ExchangeRate.vue
@@ -1,198 +1,198 @@
-
-
-
-
- Reset
- Search
- New
-
-
-
-
-
-
-
-
-
-
-
- Edit
- Delete
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+ Reset
+ Search
+ New
+
+
+
+
+
+
+
+
+
+
+
+ Edit
+ Delete
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/financials/monthlyPayment/components/RankBasedRates.vue b/src/views/financials/monthlyPayment/components/RankBasedRates.vue
index 18063b63..3fa65d11 100644
--- a/src/views/financials/monthlyPayment/components/RankBasedRates.vue
+++ b/src/views/financials/monthlyPayment/components/RankBasedRates.vue
@@ -1,324 +1,323 @@
-
-
-
-
Rank-Based Rates
-
New
-
-
-
-
-
-
- {{ scope.row.Training | rounding }}
-
-
-
-
- {{ scope.row.RefresherTraining | rounding }}
-
-
-
-
-
- {{ scope.row.Timepoint | rounding }}
-
-
-
-
-
- {{ scope.row.TimepointIn48H | rounding }}
-
-
-
-
- {{ scope.row.TimepointIn24H | rounding }}
-
-
-
-
-
-
- {{ scope.row.Adjudication | rounding }}
-
-
-
-
-
- {{ scope.row.AdjudicationIn48H | rounding }}
-
-
-
-
- {{ scope.row.AdjudicationIn24H | rounding }}
-
-
-
-
-
- {{ scope.row.Global | rounding }}
-
-
-
-
-
- {{ scope.row.Downtime | rounding }}
-
-
-
-
-
- Edit
- Delete
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
Rank-Based Rates
+
New
+
+
+
+
+
+
+ {{ scope.row.Training | rounding }}
+
+
+
+
+ {{ scope.row.RefresherTraining | rounding }}
+
+
+
+
+
+ {{ scope.row.Timepoint | rounding }}
+
+
+
+
+
+ {{ scope.row.TimepointIn48H | rounding }}
+
+
+
+
+ {{ scope.row.TimepointIn24H | rounding }}
+
+
+
+
+
+
+ {{ scope.row.Adjudication | rounding }}
+
+
+
+
+
+ {{ scope.row.AdjudicationIn48H | rounding }}
+
+
+
+
+ {{ scope.row.AdjudicationIn24H | rounding }}
+
+
+
+
+
+ {{ scope.row.Global | rounding }}
+
+
+
+
+
+ {{ scope.row.Downtime | rounding }}
+
+
+
+
+
+ Edit
+ Delete
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/financials/monthlyPayment/components/TrialsData.vue b/src/views/financials/monthlyPayment/components/TrialsData.vue
index 61853543..f87b9ddb 100644
--- a/src/views/financials/monthlyPayment/components/TrialsData.vue
+++ b/src/views/financials/monthlyPayment/components/TrialsData.vue
@@ -340,11 +340,10 @@ export default {
},
handleView(row) { row.SowFullPath ? window.open(row.SowFullPath, '_blank') : '' },
handleDeleteSOW(row) {
- this.$confirm('Sure to delete?', {
+ this.$confirm(this.$t('trials:uploadedDicoms:message:deleteMes'), {
type: 'warning',
distinguishCancelAndClose: true,
- confirmButtonText: 'OK',
- cancelButtonText: 'Cancel'
+
})
.then(() => {
const param = { SowPath: row.SowPath, TrialId: row.TrialId }
diff --git a/src/views/financials/monthlyPayment/components/UploadSow.vue b/src/views/financials/monthlyPayment/components/UploadSow.vue
index f24d6a2c..be7c3083 100644
--- a/src/views/financials/monthlyPayment/components/UploadSow.vue
+++ b/src/views/financials/monthlyPayment/components/UploadSow.vue
@@ -92,7 +92,7 @@ export default {
if (res.IsSuccess) {
this.fileList = []
this.$message({
- message: 'Deleted successfully!',
+ message: this.$t('common:message:deletedSuccessfully'),
type: 'success'
})
this.$emit('getFileList', this.fileList)
diff --git a/src/views/forgetpassword/index.vue b/src/views/forgetpassword/index.vue
index 83986c47..c38b5683 100644
--- a/src/views/forgetpassword/index.vue
+++ b/src/views/forgetpassword/index.vue
@@ -7,7 +7,7 @@
ref="resetForm"
v-loading="formLoading"
:model="form"
- label-width="150px"
+ label-width="200px"
:rules="rules"
class="demo-ruleForm"
size="small"
@@ -31,7 +31,7 @@
-
+
@@ -122,17 +122,17 @@ export default {
}
}
}
- var validatePass = (rule, value, callback) => {
- if (value === '') {
- // 请输入密码
- callback(new Error(this.$t('passwordReset:formRule:password')))
- } else {
- if (this.CheckPass !== '') {
- this.$refs.resetForm.validateField('CheckPass')
- }
- callback()
- }
- }
+ // var validatePass = (rule, value, callback) => {
+ // if (value === '') {
+ // // 请输入密码
+ // callback(new Error(this.$t('passwordReset:formRule:password')))
+ // } else {
+ // if (this.CheckPass !== '') {
+ // this.$refs.resetForm.validateField('CheckPass')
+ // }
+ // callback()
+ // }
+ // }
var validatePass2 = (rule, value, callback) => {
if (value === '' || value === undefined) {
// 请再次输入密码
@@ -205,6 +205,8 @@ export default {
verifyAnonymousVerifyCode(this.form.EmailOrPhone, this.form.VerificationCode).then(res => {
this.formLoading = false
this.users = res.Result
+ // 验证成功
+ this.$message.success(this.$t('passwordReset:message:verifiedSuccessfully'))
}).catch(() => { this.formLoading = false })
},
handleEmailChange() {
@@ -268,7 +270,7 @@ export default {
/*/deep/ .is-error{*/
/* margin-bottom: 40px;*/
/*}*/
-/deep/ .is-error.my_new_pwd{
+.is-error.my_new_pwd{
margin-bottom: 40px;
}
diff --git a/src/views/login/index.vue b/src/views/login/index.vue
index a885db87..10bcfc37 100644
--- a/src/views/login/index.vue
+++ b/src/views/login/index.vue
@@ -7,7 +7,7 @@

@@ -78,7 +78,7 @@
type="primary"
style="width:100%;margin-bottom:10px;"
size="medium"
- @click.native.prevent="loginIn"
+ @click.native.prevent="handleLogin"
>
{{ $t('login:button:login') }}
@@ -109,7 +109,7 @@
关于
-
+
{
if (valid) {
- this.isShow = true
+ if (this.showCode) {
+ this.isShow = true
+ } else {
+ this.onSuccess()
+ }
} else {
// console.log('error submit!!')
return false
@@ -239,6 +244,7 @@ export default {
},
loginIn() {
this.loading = true
+ this.showCode = false
this.$store.dispatch('user/login', this.loginForm).then((res) => {
if (!res) {
// 当前用户为首次登录,请先修改密码之后再次登录
@@ -273,6 +279,7 @@ export default {
})
})
.catch(() => {
+ this.showCode = true
this.loading = false
})
},
diff --git a/src/views/research/form.vue b/src/views/research/form.vue
index 53110a49..daa58125 100644
--- a/src/views/research/form.vue
+++ b/src/views/research/form.vue
@@ -14,7 +14,7 @@
v-if="(state === 0 && userTypeEnumInt === 0)"
type="primary"
size="small"
- @click="handleSubmit"
+ @click="handleSubmit('submit')"
>
{{ $t('trials:researchForm:button:submit') }}
@@ -23,7 +23,7 @@
v-if="(state === 1 && hasPermi(['role:spm','role:cpm']))"
type="primary"
size="small"
- @click="handleSubmit"
+ @click="handleSubmit('approve')"
>
{{ $t('trials:researchForm:button:auditPasses') }}
@@ -243,35 +243,22 @@ export default {
}).catch(() => { this.loading = false })
},
// 提交
- handleSubmit() {
+ handleSubmit(type) {
if (this.userTypeEnumInt === 0) {
- // if (this.$refs['researchParticipants'].list.length === 0 && this.$refs['researchEquipments'].list.length === 0) {
- // this.$alert(this.$t('trials:researchForm:message:saveWarning'))
- // return
- // }
- // var list = this.$refs['researchParticipants'].list
- // var cIdx = list.findIndex(i => parseInt(i.TrialRoleCode) === 1)
- // var pIdx = list.findIndex(i => parseInt(i.TrialRoleCode) === 4)
- // if (cIdx === -1 || pIdx === -1) {
- // // 提交时校验必须crc角色和影像负责人角色至少有1个
- // this.$alert(this.$t('trials:researchForm:message:saveWarning1'))
- // return
- // }
-
this.loading = true
this.$refs['baseResearchInfo'].handleSave(true).then(res => {
this.loading = false
if (res) {
- this.submit()
+ this.submit(type)
}
}).catch(() => { this.loading = false })
} else {
- this.submit()
+ this.submit(type)
}
},
submit() {
// 是否确认提交
- this.$confirm(this.$t('trials:researchForm:message:submitWarning'), {
+ this.$confirm(this.userTypeEnumInt === 0 ? this.$t('trials:researchForm:message:submitWarning') : this.$t('trials:researchForm:message:submitWarning2'), {
type: 'warning',
distinguishCancelAndClose: true
}).then(() => {
@@ -287,7 +274,12 @@ export default {
if (this.userTypeEnumInt !== 0) {
this.$emit('refreshPage')
}
- this.$message.success(this.$t('common:message:savedSuccessfully'))
+ // this.$message.success(this.$t('common:message:savedSuccessfully'))
+ if(type === 'approve'){
+ this.$message.success(this.$t('common:message:approvedSuccessfully'))
+ }else{
+ this.$message.success(this.$t('trials:researchForm:message:savedSuccessfully'))
+ }
}
}).catch(() => { this.loading = false })
}).catch(() => {})
@@ -320,7 +312,7 @@ export default {
if (res.IsSuccess) {
this.initPage()
this.$emit('refreshPage')
- this.$message.success(this.$t('common:message:savedSuccessfully'))
+ this.$message.success(this.$t('common:message:approvedSuccessfully'))
}
}).catch(() => {
this.loading = false
diff --git a/src/views/resumeInfo/components/BasicInfo.vue b/src/views/resumeInfo/components/BasicInfo.vue
index f20e8a81..6e205bef 100644
--- a/src/views/resumeInfo/components/BasicInfo.vue
+++ b/src/views/resumeInfo/components/BasicInfo.vue
@@ -53,13 +53,13 @@
-
-
-
- {{ basicInfo.WeChat }}
-
-
-
+
+
+
+
+
+
+
diff --git a/src/views/resumeInfo/components/Employment.vue b/src/views/resumeInfo/components/Employment.vue
index 380098a6..ec46e5d9 100644
--- a/src/views/resumeInfo/components/Employment.vue
+++ b/src/views/resumeInfo/components/Employment.vue
@@ -14,27 +14,27 @@
{{ employment.RankCN }}
-
-
- {{ employment.Physician }}
- {{ employment.PhysicianCN }}
-
-
+
+
+
+
+
+
{{ employment.Position }}
{{ employment.PositionCN }}
-
-
-
{{ employment.HospitalName }}
{{ employment.HospitalNameCN }}
+
+
+
{{ employment.UniversityAffiliated }}
diff --git a/src/views/resumeInfo/index.vue b/src/views/resumeInfo/index.vue
index 9d5dfda4..e5a5dad2 100644
--- a/src/views/resumeInfo/index.vue
+++ b/src/views/resumeInfo/index.vue
@@ -189,8 +189,8 @@ export default {
this.pageLoading = false
if (res.IsSuccess) {
if (res.Result) {
- this.holiday = res.Result.InHoliday ? 'Yes' : 'No'
this.doctorInfo = res.Result
+ this.holiday = res.Result.InHoliday ? 'Yes' : 'No'
!this.doctorInfo.ResearchPublicationView ? this.doctorInfo.ResearchPublicationView = {} : '';
this.title = `${this.doctorInfo.BasicInfoView.FirstName} ${this.doctorInfo.BasicInfoView.LastName}${this.$t('resumeInfo:title:Details')}`
this.htmlTitle = this.title
diff --git a/src/views/reviewers/ReviewersResearch.vue b/src/views/reviewers/ReviewersResearch.vue
index 84b8f39d..cf78879a 100644
--- a/src/views/reviewers/ReviewersResearch.vue
+++ b/src/views/reviewers/ReviewersResearch.vue
@@ -3,7 +3,8 @@
- 独立阅片人信息填写
+
+ {{$t("trials:researchForm:form:title")}}
{
@@ -149,9 +151,14 @@ export default {
isHaveSiteSurveyRecord: false
}
},
+ created(){
+ this.$i18n.locale = this.$route.query.lang
+ this.setLanguage(this.$route.query.lang)
+ },
mounted() {
},
methods: {
+ ...mapMutations({ setLanguage: 'lang/setLanguage' }),
// 提交
onSubmit() {
this.$refs['resetForm'].validate(valid => {
@@ -176,7 +183,7 @@ export default {
store.dispatch('user/setTree', menuTree.Result)
store.dispatch('user/setPermissions', permissions.Result)
// this.$router.push({ path: `/researchForm?trialId=${this.trialId}&trialSiteSurveyId=${res.Result.TrialSiteSurveyId}` })
- this.$router.push({path: `/ReviewersResearchForm?Id=${res.Result.DoctorId ? res.Result.DoctorId : ''}&tabActive=BasicInfo&ReviewStatus=${res.Result.ReviewStatus}`})
+ this.$router.push({path: `/ReviewersResearchForm?Id=${res.Result.DoctorId ? res.Result.DoctorId : ''}&tabActive=BasicInfo&ReviewStatus=${res.Result.ReviewStatus}&lang=${this.$route.query.lang}`})
}).catch(() => {
this.btnLoading = false
this.sendDisabled = false
diff --git a/src/views/reviewers/ReviewersResearchForm.vue b/src/views/reviewers/ReviewersResearchForm.vue
index ae9b9908..e4d9d8ae 100644
--- a/src/views/reviewers/ReviewersResearchForm.vue
+++ b/src/views/reviewers/ReviewersResearchForm.vue
@@ -1,32 +1,33 @@
-
+
-
+
-
+
-
-
+
+
-
+
+
-
+
-
+
-
+
-
+
@@ -44,6 +45,7 @@ import Resumes from './components/Resumes'
import Agreements from './components/Agreements'
import Setting from './components/Setting'
import { changeURLStatic, getQueryString } from '@/utils/history.js'
+import { mapMutations } from 'vuex'
export default {
components: {
BasicInfo,
@@ -74,6 +76,10 @@ export default {
}
}
},
+ created(){
+ this.$i18n.locale = this.$route.query.lang
+ this.setLanguage(this.$route.query.lang)
+ },
mounted() {
this.active = this.$route.query.tabActive
if (this.$route.query.Id === '' && this.active !== 'BasicInfo') {
@@ -82,13 +88,14 @@ export default {
this.load[this.active] = true
},
methods: {
+ ...mapMutations({ setLanguage: 'lang/setLanguage' }),
clickTab(tab, event) {
if (this.load[tab.name] === false) {
this.load[tab.name] = true
}
changeURLStatic('tabActive', tab.name)
const id = getQueryString('Id')
- this.$router.push({ path: `/ReviewersResearchForm?Id=${id}&tabActive=${tab.name}&ReviewStatus=${getQueryString('ReviewStatus')}` })
+ this.$router.push({ path: `/ReviewersResearchForm?Id=${id}&tabActive=${tab.name}&ReviewStatus=${getQueryString('ReviewStatus')}&lang=${this.$i18n.locale}` })
},
checkLeave() {
const id = getQueryString('Id')
diff --git a/src/views/reviewers/components/Agreements.vue b/src/views/reviewers/components/Agreements.vue
index 7226c696..2a3dead9 100644
--- a/src/views/reviewers/components/Agreements.vue
+++ b/src/views/reviewers/components/Agreements.vue
@@ -1,21 +1,21 @@
-
Consultant Agreement
+
{{$t('system:Agreements:title:Consultant Agreement')}}
-
(must be in pdf format)
+
{{ $t('system:GcpCertificate:tap:must') }}
-
-
-
+
+
+
- View
- Delete
+ {{$t('trials:enrolledReviews:button:view')}}
+ {{$t('common:button:delete')}}
@@ -24,21 +24,22 @@
{{$t('trials:enrolledReviews:message:SOW')}}
- Upload
+
+ {{ $t('common:button:upload') }}
- Template
+ {{ $t('common:button:template') }}
-
+
{{ scope.row.CriterionName }}
-
-
+
+
-
-
-
+
+
+
- View
- Edit
- Delete
+ {{$t('trials:enrolledReviews:button:view')}}
+
+ {{ $t('common:button:edit') }}
+ {{ $t('common:button:delete') }}
@@ -62,17 +64,17 @@
{{$t('trials:enrolledReviews:message:EQC')}}
-
Upload
+
{{$t('common:button:upload')}}
-
+
{{ scope.row.CriterionName }}
-
-
+
+
-
-
+
+
- View
- Edit
- Delete
+ {{$t('common:button:view')}}
+ {{$t('common:button:edit')}}
+ {{$t('common:button:delete')}}
@@ -101,7 +103,7 @@
label-width="120px"
size="small"
>
-
+
-
+
{{$t('common:button:upload')}}
-
+
-
+
- Cancel
- Save
+ {{ $t('common:button:cancel') }}
+ {{ $t('common:button:save') }}
@@ -272,6 +274,7 @@ export default {
this.model_cfg.title = title
},
initSowList() {
+ if (!this.doctorId) return
getDoctorCriterionFile({
fileType: 0,
DoctorId: this.doctorId
diff --git a/src/views/reviewers/components/BasicInfo.vue b/src/views/reviewers/components/BasicInfo.vue
index 8463d6cd..80a76aad 100644
--- a/src/views/reviewers/components/BasicInfo.vue
+++ b/src/views/reviewers/components/BasicInfo.vue
@@ -15,31 +15,31 @@
>
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
-
-
-
-
-
-
+
+
+
+
+
-
+
-
+
+
+
Save
+ > {{ $t('common:button:save') }}
diff --git a/src/views/reviewers/components/Credentials.vue b/src/views/reviewers/components/Credentials.vue
index 996aefc2..5e2af223 100644
--- a/src/views/reviewers/components/Credentials.vue
+++ b/src/views/reviewers/components/Credentials.vue
@@ -2,7 +2,7 @@
- Diploma of the highest medical degree 最高医学学位毕业证书
+
{{$t('system:Credentials:title:Diploma of the highest medical degree')}}
@@ -12,7 +12,7 @@
- Medical Qualification Certificate 医师资格证
+
{{$t('system:Credentials:title:Medical Qualification Certificate')}}
@@ -22,7 +22,7 @@
- Practice License 医师执业证
+
{{$t('system:Credentials:title:Practice License')}}
@@ -31,7 +31,7 @@
-
Modality Certificate 大型医用设备上岗证
+
{{$t('system:Credentials:title:Modality Certificate')}}
CT
diff --git a/src/views/reviewers/components/EducationTraining.vue b/src/views/reviewers/components/EducationTraining.vue
index 0ae527fe..476ab668 100644
--- a/src/views/reviewers/components/EducationTraining.vue
+++ b/src/views/reviewers/components/EducationTraining.vue
@@ -1,8 +1,9 @@
@@ -528,7 +532,6 @@ export default {
if (valid) {
this.isDisabled = true
this.educationForm.DoctorId = this.$route.query.Id
-
if (this.educationForm.Degree === 'Bachelor') {
this.educationForm.DegreeCN = '学士'
} else if (this.educationForm.Degree === 'Master') {
@@ -564,8 +567,7 @@ export default {
this.$confirm('Confirm to delete?', {
type: 'warning',
distinguishCancelAndClose: true,
- confirmButtonText: 'OK',
- cancelButtonText: 'Cancel'
+
})
.then(() => {
deleteEducationInfo(row.Id)
@@ -633,8 +635,7 @@ export default {
this.$confirm('Confirm to delete?', {
type: 'warning',
distinguishCancelAndClose: true,
- confirmButtonText: 'OK',
- cancelButtonText: 'Cancel'
+
})
.then(() => {
deletePostgraduateInfo(row.Id)
diff --git a/src/views/reviewers/components/Employment.vue b/src/views/reviewers/components/Employment.vue
index 80a142b9..24bbeea7 100644
--- a/src/views/reviewers/components/Employment.vue
+++ b/src/views/reviewers/components/Employment.vue
@@ -13,7 +13,7 @@
-
+
-
+
@@ -53,29 +52,29 @@
-
-
+
+
-
-
+
+
-
-
+
+
-
+
-
+
@@ -170,99 +169,98 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
- Save
+ {{ $t('common:button:save') }}
@@ -377,9 +375,9 @@ export default {
this.loading = true
this.isDisabled = true
const param = {}
- var o = this.$d.PhysicianOriginal.find(v => {
- return v.id === this.employmentForm.PhysicianId
- })
+ // var o = this.$d.PhysicianOriginal.find(v => {
+ // return v.id === this.employmentForm.PhysicianId
+ // })
param.Id = this.$route.query.Id
param.DepartmentId = this.employmentForm.DepartmentId
param.DepartmentOther = this.employmentForm.DepartmentId === this.otherId ? this.employmentForm.DepartmentOther : ''
@@ -387,9 +385,9 @@ export default {
param.RankId = this.employmentForm.RankId
param.RankOther = this.employmentForm.RankId === this.otherId ? this.employmentForm.RankOther : ''
param.RankOtherCN = this.employmentForm.RankId === this.otherId ? this.employmentForm.RankOtherCN : ''
- param.PhysicianId = this.employmentForm.PhysicianId
- param.Physician = o.label !== '其它' && o.label !== 'Other' ? o.raw.Value : this.employmentForm.Physician
- param.PhysicianCN = o.label !== '其它' && o.label !== 'Other' ? o.raw.ValueCN : this.employmentForm.PhysicianCN
+ // param.PhysicianId = this.employmentForm.PhysicianId
+ // param.Physician = o.label !== '其它' && o.label !== 'Other' ? o.raw.Value : this.employmentForm.Physician
+ // param.PhysicianCN = o.label !== '其它' && o.label !== 'Other' ? o.raw.ValueCN : this.employmentForm.PhysicianCN
param.PositionId = this.employmentForm.PositionId
param.PositionOther = this.employmentForm.PositionId === this.otherId ? this.employmentForm.PositionOther : ''
param.PositionOtherCN = this.employmentForm.PositionId === this.otherId ? this.employmentForm.PositionOtherCN : ''
diff --git a/src/views/reviewers/components/GcpCertificate.vue b/src/views/reviewers/components/GcpCertificate.vue
index 43e8b015..fa56dc4a 100644
--- a/src/views/reviewers/components/GcpCertificate.vue
+++ b/src/views/reviewers/components/GcpCertificate.vue
@@ -1,8 +1,8 @@
- Yes
- No
+ {{ $t('system:GcpCertificate:radio:Yes') }}
+ {{ $t('system:GcpCertificate:radio:No') }}
@@ -19,13 +19,13 @@
:on-exceed="handleExceed"
accept=".pdf"
>
- Upload
- (must be in pdf format)
+ {{ $t('system:GcpCertificate:upload:Upload') }}
+ {{ $t('system:GcpCertificate:tap:must') }}
- Save
+ {{ $t('common:button:save') }}
@@ -97,6 +97,7 @@ export default {
})
},
initFileList() {
+ if(!this.doctorId) return
getAttachmentByType(this.doctorId, 'GCP')
.then(res => {
if (res.IsSuccess) {
@@ -181,7 +182,7 @@ export default {
this.fileList = []
this.GCPID = ''
this.$message({
- message: 'Deleted successfully!',
+ message: this.$t('common:message:deletedSuccessfully'),
type: 'success'
})
}
diff --git a/src/views/reviewers/components/ResearchPublication.vue b/src/views/reviewers/components/ResearchPublication.vue
index 7b0362c1..be01fb15 100644
--- a/src/views/reviewers/components/ResearchPublication.vue
+++ b/src/views/reviewers/components/ResearchPublication.vue
@@ -1,7 +1,7 @@
-
+
@@ -11,7 +11,7 @@
-
+
@@ -21,7 +21,7 @@
-
+
@@ -31,7 +31,7 @@
-
+
@@ -42,7 +42,8 @@
- Save
+
+ {{ $t('common:button:save') }}
diff --git a/src/views/reviewers/components/Resumes.vue b/src/views/reviewers/components/Resumes.vue
index 8c6dadfe..33486ca5 100644
--- a/src/views/reviewers/components/Resumes.vue
+++ b/src/views/reviewers/components/Resumes.vue
@@ -1,7 +1,7 @@
-
Resume
+
{{ $t('system:Resumes:title:Resume') }}
@@ -14,21 +14,21 @@
:file-list="resumeList"
accept=".doc,.docx"
>
- Upload
+ {{ $t('system:GcpCertificate:upload:Upload') }}
-
(must be in doc,docx format)
+
{{ $t('system:GcpCertificate:tap:must') }}
-
-
+
+
@@ -37,7 +37,7 @@
@@ -46,23 +46,23 @@
-
+
- Download
- Delete
+ {{ $t('common:button:download') }}
+ {{ $t('common:button:delete') }}
Set as Official
+ >{{ $t('system:Resumes:button:Set as Official') }}
-
中文简历
+
{{ $t('system:Resumes:title:ResumeCN') }}
- 上传
+ {{ $t('system:GcpCertificate:upload:Upload') }}
-
(必须是 doc,docx 格式)
+
{{ $t('system:GcpCertificate:tap:must') }}
-
-
+
+
@@ -96,7 +96,7 @@
@@ -105,16 +105,16 @@
-
+
- Download
- Delete
+ {{ $t('common:button:download') }}
+ {{ $t('common:button:delete') }}
Set as Official
+ >{{ $t('system:Resumes:button:Set as Official') }}
@@ -163,6 +163,7 @@ export default {
}
},
created() {
+ if(!this.doctorId) return
this.getResumeList()
},
methods: {
@@ -266,11 +267,10 @@ export default {
}
},
handleRemoveFile(row) {
- this.$confirm('Sure to delete?', {
+ this.$confirm(this.$t('trials:uploadedDicoms:message:deleteMes'), {
type: 'warning',
distinguishCancelAndClose: true,
- confirmButtonText: 'Ok',
- cancelButtonText: 'Cancel'
+
}).then(() => {
deleteAttachment(row.Id, row.Path)
.then(res => {
@@ -278,7 +278,7 @@ export default {
this.resumeList.splice(this.resumeList.findIndex(item => item.Id === row.Id), 1)
this.filterByLanguage()
this.$message({
- message: 'Deleted successfully!',
+ message: this.$t('common:message:deletedSuccessfully'),
type: 'success'
})
}
diff --git a/src/views/reviewers/components/Setting.vue b/src/views/reviewers/components/Setting.vue
index e4cf68e1..a3b17759 100644
--- a/src/views/reviewers/components/Setting.vue
+++ b/src/views/reviewers/components/Setting.vue
@@ -2,68 +2,68 @@
-
+
- Delete
+ {{ $t('common:button:delete') }}
-