Compare commits
2 Commits
a48dc114e8
...
f1c36ea688
| Author | SHA1 | Date |
|---|---|---|
|
|
f1c36ea688 | |
|
|
9568186497 |
|
|
@ -8,7 +8,7 @@
|
|||
<!-- <TopLang style="position: fixed;top: 40px;right: 40px" /> -->
|
||||
<div style="display: flex;justify-content: space-between;" v-if="!isPreview">
|
||||
<div>{{ $t('trials:researchForm:title:researchSurveyStatus') }} <el-tag>{{ $fd('ResearchRecord', state)
|
||||
}}</el-tag></div>
|
||||
}}</el-tag></div>
|
||||
<div>
|
||||
<!-- 提交 -->
|
||||
<el-button v-if="(state === 0 && userTypeEnumInt === 0)" type="primary" size="small"
|
||||
|
|
@ -323,7 +323,8 @@ export default {
|
|||
this.$emit('refreshPage')
|
||||
},
|
||||
// 退出
|
||||
handleBack() {
|
||||
async handleBack() {
|
||||
await this.$store.dispatch('user/logout')
|
||||
this.$router.push({ path: `/researchLogin?trialId=${this.trialId}&lang=${this.$i18n.locale}` })
|
||||
},
|
||||
handleHistory() {
|
||||
|
|
|
|||
|
|
@ -263,6 +263,8 @@ export default {
|
|||
this.setLanguage(this.$route.query.lang)
|
||||
store.dispatch('user/setToken', res.Result.Token)
|
||||
zzSessionStorage.setItem('TokenKey', res.Result.Token)
|
||||
zzSessionStorage.setItem('userId', res.Result.UserRoleId);
|
||||
zzSessionStorage.setItem('identityUserId', res.Result.IdentityUserId);
|
||||
var permissions = await getUserPermissions()
|
||||
var menuTree = await getUserMenuTree()
|
||||
store.dispatch('user/setTree', menuTree.Result)
|
||||
|
|
|
|||
|
|
@ -1162,6 +1162,9 @@ export default {
|
|||
if (isNAN) {
|
||||
num = ''
|
||||
}
|
||||
if (isNaN(parseFloat(num))) {
|
||||
num = Number(num).toFixed(this.digitPlaces)
|
||||
}
|
||||
this.$set(this.QuestionsForm, v.Id, num.toString());
|
||||
}
|
||||
});
|
||||
|
|
|
|||
|
|
@ -333,6 +333,10 @@ export default {
|
|||
}
|
||||
this.$refs.readingChart_report.init(e, obj, zIndex)
|
||||
},
|
||||
foo() {
|
||||
if (!this.$refs.readingChart_report) return false
|
||||
this.$refs.readingChart_report.foo()
|
||||
},
|
||||
limitBlur(questionForm, id, valueType) {
|
||||
const value = questionForm[id]
|
||||
if (valueType === 0) {
|
||||
|
|
|
|||
|
|
@ -52,8 +52,8 @@ module.exports = defineConfig({
|
|||
},
|
||||
|
||||
'/api': {
|
||||
// target: 'http://106.14.89.110:30000',
|
||||
target: 'http://101.132.253.119:7010', // uat
|
||||
target: 'http://106.14.89.110:30000',
|
||||
// target: 'http://101.132.253.119:7010', // uat
|
||||
changeOrigin: true,
|
||||
secure: false,
|
||||
pathRewrite: {
|
||||
|
|
|
|||
Loading…
Reference in New Issue