From 3d05517f932d0fe931dc29018cdfabf7df86093b Mon Sep 17 00:00:00 2001
From: zhongrj <646384940@qq.com>
Date: Wed, 20 Mar 2024 16:15:38 +0800
Subject: [PATCH] 住户列表顺序修改,二手交易删除修改
---
src/views/publicSecurity/positionManage/TransactRegist.vue | 6 +++---
src/views/userHouse/houseHoldList.vue | 37 +++++++++++++++++++------------------
src/api/task/labelReporting.js | 10 ++++++++++
3 files changed, 32 insertions(+), 21 deletions(-)
diff --git a/src/api/task/labelReporting.js b/src/api/task/labelReporting.js
index bd92914..0b64d5d 100644
--- a/src/api/task/labelReporting.js
+++ b/src/api/task/labelReporting.js
@@ -28,4 +28,14 @@
method: "post",
data: row,
});
+};
+
+export const remove = (ids) => {
+ return request({
+ url: "/api/blade-taskLabelReportingEvent/taskLabelReportingEvent/remove",
+ method: "post",
+ params: {
+ ids
+ },
+ });
};
\ No newline at end of file
diff --git a/src/views/publicSecurity/positionManage/TransactRegist.vue b/src/views/publicSecurity/positionManage/TransactRegist.vue
index 7fd9e40..116857f 100644
--- a/src/views/publicSecurity/positionManage/TransactRegist.vue
+++ b/src/views/publicSecurity/positionManage/TransactRegist.vue
@@ -63,7 +63,7 @@
import {
getList,
getDetail,
- removeTask,
+ remove as removeTask,
update,
add,
} from "@/api/task/labelReporting"
@@ -628,8 +628,8 @@
type: "warning",
})
.then(() => {
- row.isDeleted = 1
- return removeTask(row)
+ // row.isDeleted = 1
+ return removeTask(row.id)
})
.then(() => {
this.onLoad(this.page)
diff --git a/src/views/userHouse/houseHoldList.vue b/src/views/userHouse/houseHoldList.vue
index 575ab9e..95f5e41 100644
--- a/src/views/userHouse/houseHoldList.vue
+++ b/src/views/userHouse/houseHoldList.vue
@@ -229,24 +229,7 @@
dialogType: 'drawer',
dialogClickModal: false,
menuFixed: 'right',
- column: [{
- label: "与业主关系",
- prop: "relationship",
- type: "select",
- dicUrl: "/api/blade-system/dict-biz/dictionary?code=roleRelation",
- dataType: "number",
- // hide: true,
- width: 120,
- props: {
- label: "dictValue",
- value: "dictKey",
- },
- rules: [{
- required: true,
- message: "请选择与业主关系",
- trigger: "blur",
- }],
- },
+ column: [
{
width: 110,
@@ -381,6 +364,24 @@
value: "dictKey",
},
},
+ {
+ label: "与业主关系",
+ prop: "relationship",
+ type: "select",
+ dicUrl: "/api/blade-system/dict-biz/dictionary?code=roleRelation",
+ dataType: "number",
+ // hide: true,
+ width: 100,
+ props: {
+ label: "dictValue",
+ value: "dictKey",
+ },
+ rules: [{
+ required: true,
+ message: "请选择与业主关系",
+ trigger: "blur",
+ }],
+ },
// {
// label: "关系",
--
Gitblit v1.9.3