Commit c6cacdef by ext.wangyuman1

Merge branch 'vue3-master' of https://e.coding.net/linkwechat/linkwechat-front/l…

…inkwechat into bs-dev-wangyuman
2 parents 79cdc416 6c016cb5
......@@ -2,8 +2,8 @@
2023.xx.xx
1.
2.
1. 新增登录框显隐密码功能
2. 新增登录和修改密码使用 RSA 加密传输
3.
### v5.1.0
......
......@@ -105,6 +105,7 @@ export default {
pageNum: 1,
pageSize: 10,
name: '',
noRepeat: true
},
customerList: [],
customerTotal: 0,
......
......@@ -146,7 +146,7 @@ export default {
}
</script>
<style lang="scss" scoped>
$selectedColor: #f6f7ff;
$selectedColor: var(--color-light-10);
.drawing-item {
position: relative;
......@@ -272,13 +272,13 @@ $selectedColor: #f6f7ff;
margin-right: 10px;
}
.el-form:not(.el-form--inline) .el-input,
.el-form:not(.el-form--inline) .el-select,
.el-form:not(.el-form--inline) .el-textarea,
.el-form:not(.el-form--inline) .el-input-number,
.el-form:not(.el-form--inline) .el-cascader,
.el-form:not(.el-form--inline) .el-date-editor--daterange,
.el-form:not(.el-form--inline) .el-date-editor--datetimerange {
max-width: 100%;
}
// .el-form:not(.el-form--inline) .el-input,
// .el-form:not(.el-form--inline) .el-select,
// .el-form:not(.el-form--inline) .el-textarea,
// .el-form:not(.el-form--inline) .el-input-number,
// .el-form:not(.el-form--inline) .el-cascader,
// .el-form:not(.el-form--inline) .el-date-editor--daterange,
// .el-form:not(.el-form--inline) .el-date-editor--datetimerange {
// max-width: 100%;
// }
</style>
......@@ -725,10 +725,12 @@ export default {
//单选与多选的转换
switchChange(newX) {
if (newX) {
this.activeData.label = '多选项'
this.activeData.tag = 'el-checkbox-group'
this.activeData.tagIcon = 'checkbox'
this.activeData.defaultValue = []
} else {
this.activeData.label = '单选项'
this.activeData.tag = 'el-radio-group'
this.activeData.tagIcon = 'radio'
this.activeData.defaultValue = undefined
......
......@@ -223,7 +223,7 @@ export const inputComponents = [
},
{
formCodeId: 8,
label: '选项组',
label: '单选项',
tag: 'el-radio-group',
_props: {
tag: 'div',
......
......@@ -159,11 +159,11 @@ export default {
}
})
}
console.log('confClone', confClone.formCodeId)
Object.assign(dataObject, confClone)
// console.log('confClone', confClone.formCodeId)
if (confClone.layout != 'rowFormItem') {
vModel(this, dataObject, confClone.defaultValue)
}
Object.assign(dataObject, confClone)
for (const key in dataObject._props) {
if (Object.hasOwnProperty.call(dataObject._props, key)) {
......
......@@ -65,7 +65,7 @@
<div class="companyName">{{ $store.user.companyName }}</div>
<div class="info">
当前版本:
<span class="fr">{{ lwConfig._version || table.currentEdition }}</span>
<span class="fr">{{ table.currentEdition }}</span>
</div>
<div class="info">
使用人数:
......
......@@ -15,13 +15,20 @@
<el-form-item prop="password">
<el-input
v-model="loginForm.password"
type="password"
:type="isPassword ? 'password' : 'text'"
auto-complete="off"
placeholder="密码"
@keyup.enter="handleLogin">
<template #prefix>
<svg-icon style="height: 33px" icon="password" class="el-input__icon input-icon" />
</template>
<template #suffix>
<svg-icon
style="height: 33px"
:icon="isPassword ? 'eye' : 'eye-open'"
class="el-input__icon input-icon cp"
@click="isPassword = !isPassword" />
</template>
</el-input>
</el-form-item>
<el-form-item prop="code">
......@@ -75,6 +82,7 @@ export default {
codeUrl: '',
wechatCodeUrl: '',
cookiePassword: '',
isPassword: true,
loginForm: {
username: '',
password: '',
......@@ -162,7 +170,7 @@ export default {
Cookies.remove('rememberMe')
}
let loginForm = JSON.parse(JSON.stringify(this.loginForm))
loginForm.password = encrypt(this.loginForm.password)
// loginForm.password = encrypt(this.loginForm.password)
this.$store
.Login(loginForm)
.then(() => {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!