diff --git a/src/components/BaseForm/search-form.vue b/src/components/BaseForm/search-form.vue
index 378bec3a..101e399b 100644
--- a/src/components/BaseForm/search-form.vue
+++ b/src/components/BaseForm/search-form.vue
@@ -120,6 +120,7 @@
v-if="item.type === 'Daterange'"
v-model="searchData[item.prop]"
type="datetimerange"
+ :default-time="['00:00:00', '23:59:59']"
:range-separator="$t('baseForm:daterange:rangeSeparator')"
:start-placeholder="$t('baseForm:daterange:startPlaceholder')"
:end-placeholder="$t('baseForm:daterange:startendPlaceholder')"
diff --git a/src/components/toggleRole/index.vue b/src/components/toggleRole/index.vue
index d1e9222b..7d508b3a 100644
--- a/src/components/toggleRole/index.vue
+++ b/src/components/toggleRole/index.vue
@@ -40,6 +40,7 @@
type="primary"
size="small"
@click="save"
+ :disabled="saveDisabled"
:loading="loading"
v-if="hasRole"
>
@@ -78,6 +79,9 @@ export default {
hasRole() {
return this.roles && this.roles.length > 0
},
+ saveDisabled() {
+ return this.form.userRoleId === zzSessionStorage.getItem('userId')
+ },
},
methods: {
cancel() {
@@ -98,11 +102,13 @@ export default {
\ No newline at end of file
diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue
index 49442e19..1800836a 100644
--- a/src/layout/components/Navbar.vue
+++ b/src/layout/components/Navbar.vue
@@ -14,13 +14,13 @@
-
-
-
-
- {{ $t("trials:readingReport:button:skip") }}
-
-
- {{
- $t("common:button:save")
- }}
-
- {{
- $t("common:button:submit")
- }}
-
-
+
+
+
+ {{ $t("trials:readingReport:button:skip") }}
+
+
+ {{
+ $t("common:button:save")
+ }}
+
+ {{
+ $t("common:button:submit")
+ }}
+
{{
scope.row.TrialUserRoleList.map(
(item) => item.UserTypeShortName
- ).join(',')
+ ).join(', ')
}}
diff --git a/src/views/trials/trials-panel/setting/personnel-manage/components/staffExternalForm.vue b/src/views/trials/trials-panel/setting/personnel-manage/components/staffExternalForm.vue
index b068b91c..cb616a7d 100644
--- a/src/views/trials/trials-panel/setting/personnel-manage/components/staffExternalForm.vue
+++ b/src/views/trials/trials-panel/setting/personnel-manage/components/staffExternalForm.vue
@@ -1,6 +1,6 @@
-
+
{{ $t('trials:externalStaff:table:name') }}:
@@ -12,23 +12,54 @@
{{ $t('trials:externalStaff:table:phone') }}:
-
+
{{ $t('common:button:search') }}
-
+
{{ $t('common:button:reset') }}
-
+
{{ $t('trials:staff:button:permissionConfiguration') }}
-
+
{{ $t('trials:staff:button:sendEmail') }}
-
+
{{ $t('trials:staff:button:addExternalStaff') }}
@@ -57,7 +88,9 @@
sortable="custom"
min-width="100"
>
- {{ scope.row.LastName + ' / ' + scope.row.FirstName }}
+ {{
+ scope.row.LastName + ' / ' + scope.row.FirstName
+ }}
- {{ userTypeOptions.length > 0 ? userTypeOptions.find((v) => { return v.Id == scope.row.UserTypeId }).UserTypeShortName : '' }}
+ {{
+ userTypeOptions.length > 0
+ ? userTypeOptions.find((v) => {
+ return v.Id == scope.row.UserTypeId
+ }).UserTypeShortName
+ : ''
+ }}
- {{ $fd('IsJoin', scope.row.IsJoin) }}
+ {{
+ $fd('IsJoin', scope.row.IsJoin)
+ }}
-
+
-
+
-
-
+
+
- {{ item.label }}
+ {{ item.label }}
-
+
- {{ item.label }}
+ {{ item.label }}
-
+
- {{ item.label }}
+ {{ item.label }}
@@ -159,7 +238,14 @@
diff --git a/src/views/trials/trials-panel/setting/reading-unit/components/ArbitrationRules.vue b/src/views/trials/trials-panel/setting/reading-unit/components/ArbitrationRules.vue
index 75a91c56..8611acdd 100644
--- a/src/views/trials/trials-panel/setting/reading-unit/components/ArbitrationRules.vue
+++ b/src/views/trials/trials-panel/setting/reading-unit/components/ArbitrationRules.vue
@@ -72,12 +72,10 @@
"
:label="item.value"
v-if="
- (JudgyInfo.ArbitrationRule === 1 &&
- (item.value < 4 ||
- (item.value > 3 &&
- (QuestionList[index].Type === 'number' ||
- QuestionList[index].Type === 'calculation')))) ||
- (JudgyInfo.ArbitrationRule === 2 && item.value < 4)
+ item.value < 4 ||
+ (item.value > 3 &&
+ (QuestionList[index].Type === 'number' ||
+ QuestionList[index].Type === 'calculation'))
"
>
{{ item.label }}
diff --git a/src/views/trials/trials-panel/trial-summary/login-log/index.vue b/src/views/trials/trials-panel/trial-summary/login-log/index.vue
index f928d0da..27bc09b2 100644
--- a/src/views/trials/trials-panel/trial-summary/login-log/index.vue
+++ b/src/views/trials/trials-panel/trial-summary/login-log/index.vue
@@ -135,14 +135,14 @@
show-overflow-tooltip
sortable="custom"
/> -->
-
+ /> -->
+