|
|
|
|
@ -144,7 +144,7 @@
|
|
|
|
|
</template> |
|
|
|
|
<script setup> |
|
|
|
|
import moment from "moment"; |
|
|
|
|
import { listRights } from "@/api/rightsComfort/rights"; |
|
|
|
|
import { listRights,delRights } from "@/api/rightsComfort/rights"; |
|
|
|
|
import { delComfort } from "@/api/rightsComfort/comfort"; |
|
|
|
|
import { listPolice } from "@/api/system/police"; |
|
|
|
|
import { getDictLable } from "@/utils/util"; |
|
|
|
|
@ -191,7 +191,9 @@ function handleShow(row) {
|
|
|
|
|
|
|
|
|
|
const handleDelete = async (row) => { |
|
|
|
|
await feedback.confirm(`确定要删除该数据?`); |
|
|
|
|
await delComfort(row.rpcId); |
|
|
|
|
// await delComfort(row.rpcId); |
|
|
|
|
console.log('row.id',row) |
|
|
|
|
await delRights(row.personId) |
|
|
|
|
feedback.msgSuccess("删除成功"); |
|
|
|
|
getList(); |
|
|
|
|
}; |
|
|
|
|
|