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