修改顶部favicon.ico文件,工程师审核页面去除操作按钮排序,完成后台账号编辑页面
This commit is contained in:
@@ -101,7 +101,6 @@
|
||||
width="auto"
|
||||
align="center"
|
||||
show-overflow-tooltip
|
||||
sortable
|
||||
>
|
||||
<template v-slot:default="scope">
|
||||
<el-button type="success">通过</el-button>
|
||||
|
||||
@@ -101,7 +101,6 @@
|
||||
width="auto"
|
||||
align="center"
|
||||
show-overflow-tooltip
|
||||
sortable
|
||||
>
|
||||
<template v-slot:default="scope">
|
||||
<el-button type="success">通过</el-button>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user