This commit is contained in:
2026-10-08 18:19:39 +08:00
parent 25b8d0104f
commit 75527ae81d
425 changed files with 53925 additions and 2645 deletions
+65
View File
@@ -0,0 +1,65 @@
<template>
<el-dialog title="新闻动态" :visible.sync="dialogVisible" width="60%">
<el-table :data="list" style="width: 100%">
<el-table-column prop="title" label="标题"/>
<el-table-column label="是否显示">
<template #default="{ row }">
<el-switch v-model="row.isShow" size="mini"
@change="changeShow($event, row._id)" :active-value="1"
:inactive-value="0"/>
</template>
</el-table-column>
<el-table-column prop="_add_time_str" label="发布时间"/>
<el-table-column label="详情">
<template #default="{ row }">
<el-button type="primary" size="mini" @click.native="doShowDetail(row)">查看详情</el-button>
</template>
</el-table-column>
</el-table>
<el-dialog title="新闻动态" :visible.sync="showDetail" width="60%" append-to-body="">
<div v-html="content"></div>
</el-dialog>
</el-dialog>
</template>
<script>
export default {
name: "ArticleList",
data() {
return {
dialogVisible: false,
showDetail: false,
list: [],
content: ''
}
},
methods: {
open(userId) {
this.getList(userId)
},
async getList(userId) {
const {rows} = await vk.callFunction({
url: 'admin/userArticle/list/sys/list',
data: {
userId
}
})
this.dialogVisible = true
this.list = rows
},
async changeShow(isShow, id) {
await vk.callFunction({
url: 'admin/userArticle/list/sys/changeShow',
data: {
id, isShow
}
})
},
doShowDetail(row) {
this.showDetail = true
this.content = row.content
}
}
}
</script>
@@ -0,0 +1,56 @@
<template>
<el-dialog title="授权人/法人变更历史" :visible.sync="dialogVisible" width="60%">
<el-table :data="list" style="width: 100%">
<el-table-column prop="type" label="授权人类型">
<template #default="{ row }">
{{ row.type === 1 ? '法人' : '授权人' }}
</template>
</el-table-column>
<el-table-column prop="personName" label="姓名"/>
<el-table-column prop="certType" label="证件类型">
<template #default="{ row }">
<div>{{ row.certType === 0 ? '身份证' : '护照'}}</div>
</template>
</el-table-column>
<el-table-column prop="idCard" label="证件号"/>
<el-table-column label="身份证头像面">
<template #default="{ row }">
<el-image :src="row.headPhotoPath"/>
</template>
</el-table-column>
<el-table-column label="身份证国徽面">
<template #default="{ row }">
<el-image :src="row.backgroundIdCardPath"/>
</template>
</el-table-column>
<el-table-column prop="_add_time_str" label="变更时间"/>
</el-table>
</el-dialog>
</template>
<script>
export default {
name: "ManagerChangeLog",
data() {
return {
dialogVisible: false,
list: [],
}
},
methods: {
open(userId){
this.getList(userId)
},
async getList(userId){
const {rows} = await vk.callFunction({
url: 'admin/system/user/sys/managerChangeLog',
data: {
userId
}
})
this.dialogVisible = true
this.list = rows
}
}
}
</script>