1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

后端添加域名访问首页入口单页;前端打包塞入Gateway中

This commit is contained in:
2023-04-22 17:18:24 +08:00
parent d4edba9212
commit f5bc5b9eef
52 changed files with 451 additions and 157 deletions

View File

@@ -71,34 +71,6 @@
</el-card>
</el-col>
</el-row>
<el-card shadow="hover" style="height: 403px">
<template #header>
<div class="clearfix">
<span>预警列表</span>
<el-button style="float: right; padding: 3px 0" text>添加</el-button>
</div>
</template>
<el-table :show-header="false" :data="todoList" style="width: 100%">
<el-table-column width="40">
<template #default="scope">
<el-checkbox v-model="scope.row.status"></el-checkbox>
</template>
</el-table-column>
<el-table-column>
<template #default="scope">
<div
class="todo-item"
:class="{
'todo-item-del': scope.row.status
}"
>
{{ scope.row.title }}
</div>
</template>
</el-table-column>
</el-table>
</el-card>
</el-col>
</el-row>
</div>

View File

@@ -113,15 +113,15 @@ const onSubmit = async () => {
text: '请稍候',
background: 'rgba(0, 0, 0, 0.7)',
});
await send_request('v1/user/alterPSW', "POST", {
"userId": form.user_id,
"oldPSW": form.old,
"newPSW": form.new
}, (data: any) => {
console.log(data);
ElMessage.success('删除成功');
// tableData.value.splice(index, 1);
})
// await send_request('v1/user/alterPSW', "POST", {
// "userId": form.user_id,
// "oldPSW": form.old,
// "newPSW": form.new
// }, (data: any) => {
// console.log(data);
// ElMessage.success('删除成功');
// // tableData.value.splice(index, 1);
// })
loading.close();
})