修改顶部favicon.ico文件,工程师审核页面去除操作按钮排序,完成后台账号编辑页面

This commit is contained in:
monanxiao
2024-10-11 11:48:04 +08:00
parent b0247d5efc
commit 352f15a832
4 changed files with 61 additions and 3 deletions
-1
View File
@@ -101,7 +101,6 @@
width="auto"
align="center"
show-overflow-tooltip
sortable
>
<template v-slot:default="scope">
<el-button type="success">通过</el-button>
-1
View File
@@ -101,7 +101,6 @@
width="auto"
align="center"
show-overflow-tooltip
sortable
>
<template v-slot:default="scope">
<el-button type="success">通过</el-button>
+61 -1
View File
@@ -1,10 +1,70 @@
<template>
<el-card>
<div> 编辑资料</div>
<el-form :model="form" label-width="auto" style="max-width: 600px;">
<el-form-item label="账号">
<span>admin</span>
</el-form-item>
<el-form-item
:rules="[
{ required: true, message: '请输入密码' },
]"
label="旧密码">
<el-input
v-model="form.name"
style="width: 240px"
type="password"
placeholder="请输入密码"
show-password
/>
</el-form-item>
<el-alert type="info" show-icon :closable="false" style="margin-bottom: 10px">
<p>留空则不修改账号名如果账号修改后旧账号将不能用</p>
</el-alert>
<el-form-item label="修改账号">
<el-input v-model="form.name" />
</el-form-item>
<el-alert type="info" show-icon :closable="false" style="margin-bottom: 10px">
<p>留空则不修改密码如果密码修改后旧密码将不能用</p>
</el-alert>
<el-form-item label="新密码">
<el-input
v-model="form.name"
style="width: 240px"
type="password"
placeholder="请输入新密码"
show-password
/>
</el-form-item>
<el-form-item>
<el-button type="primary" @click="onSubmit">修改</el-button>
</el-form-item>
</el-form>
</el-card>
</template>
<script setup>
import { reactive } from 'vue'
// do not use same name with ref
const form = reactive({
name: '',
region: '',
date1: '',
date2: '',
delivery: false,
type: [],
resource: '',
desc: '',
})
const onSubmit = () => {
console.log('submit!')
}
</script>
<style lang="scss" scoped></style>