v1.9 解决张峰提出的问题

This commit is contained in:
wuxw 2025-08-11 09:28:48 +08:00
parent 266b99a2d9
commit 21d75ed245
4 changed files with 21 additions and 17 deletions

View File

@ -1,5 +1,5 @@
<template>
<el-dialog :title="$t('systemInfo.editTitle')" :visible="visible" width="70%" :close-on-click-modal="false">
<el-dialog :title="$t('systemInfo.editTitle')" :visible="visible" width="70%" :close-on-click-modal="true" @close="close">
<el-form ref="form" :model="formData" label-width="150px" :rules="rules">
<el-row :gutter="20">
<el-col :span="12">
@ -64,14 +64,12 @@
<el-row :gutter="20">
<el-col :span="12">
<el-form-item :label="$t('systemInfo.propertyTitle')" prop="propertyTitle">
<el-input v-model="formData.propertyTitle"
/>
<el-input v-model="formData.propertyTitle" />
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item :label="$t('systemInfo.qqMapKey')" prop="qqMapKey">
<el-input v-model="formData.qqMapKey"
/>
<el-input v-model="formData.qqMapKey" />
</el-form-item>
</el-col>
</el-row>
@ -79,8 +77,7 @@
<el-row :gutter="20">
<el-col :span="12">
<el-form-item :label="$t('systemInfo.mallUrl')" prop="mallUrl">
<el-input v-model="formData.mallUrl"
/>
<el-input v-model="formData.mallUrl" />
</el-form-item>
</el-col>
</el-row>
@ -88,7 +85,7 @@
<div slot="footer" class="dialog-footer">
<el-button @click="visible = false">{{ $t('common.cancel') }}</el-button>
<el-button type="primary" @click="submitForm">{{$t('common.save')}}</el-button>
<el-button type="primary" @click="submitForm">{{ $t('common.save') }}</el-button>
</div>
</el-dialog>
@ -164,6 +161,9 @@ export default {
}
}
})
},
close() {
this.visible = false
}
}
}

View File

@ -654,6 +654,10 @@ const routes = [
icon: 'el-icon-s-home'
}
},
{
path: '/login',
redirect: '/views/user/login'
},
{
path: '/views/resource/printEquipmentAccountLabel',
name: '/views/resource/printEquipmentAccountLabel',

View File

@ -315,6 +315,10 @@ export default {
},
_toIndex(){
location.href = '/'
},
_closeSubMenu(){
this.subMenus = []
this.curMenuName = ''
}
}

View File

@ -9,7 +9,7 @@
{{ $t('common.edit') }}
</el-button>
</div>
<el-row :gutter="20">
<el-col :span="8">
<div class="info-item">
@ -91,11 +91,7 @@
</el-col>
</el-row>
<edit-system-info
ref="editSystemInfoRef"
:form-data="systemInfo"
@success="handleEditSuccess"
/>
<edit-system-info ref="editSystemInfoRef" :form-data="systemInfo" @success="handleEditSuccess" />
</div>
</template>
@ -160,16 +156,16 @@ export default {
<style lang="scss" scoped>
.system-info-manage-container {
padding: 20px;
.info-item {
margin-bottom: 20px;
text-align: left;
label {
margin-right: 10px;
}
}
.float-right {
float: right;
}