diff --git a/src/api/system/index.js b/src/api/system/index.js
index bb5a641..5f7be92 100644
--- a/src/api/system/index.js
+++ b/src/api/system/index.js
@@ -376,6 +376,13 @@ const system = {
data: data
});
},
+ complaint: async (data) => {
+ return request({
+ method: MethodsENUM.POST,
+ url: "/user/complaint",
+ data: data
+ });
+ },
}
export default system;
diff --git a/src/components/XFormItem.vue b/src/components/XFormItem.vue
index 57d6384..e1af400 100644
--- a/src/components/XFormItem.vue
+++ b/src/components/XFormItem.vue
@@ -9,7 +9,8 @@ const {label} = defineProps({
- {{ label }}
+ {{ label }}
+
diff --git a/src/pages.json b/src/pages.json
index 61a0459..ad674a3 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -176,6 +176,13 @@
"navigationBarTitleText": "新增帐号",
"navigationStyle": "custom"
}
+ },
+ {
+ "path": "pages/complaint/index",
+ "style": {
+ "navigationBarTitleText": "投诉邀请人",
+ "navigationStyle": "custom"
+ }
}
// #endif
],
diff --git a/src/pages/changeLog/index.vue b/src/pages/changeLog/index.vue
index ae5e322..3499431 100644
--- a/src/pages/changeLog/index.vue
+++ b/src/pages/changeLog/index.vue
@@ -5,7 +5,7 @@ import SQ from '../../static/icons/搜索.png';
import XNav from "../../components/XNav.vue";
import filer from "../../static/icons/filer-balck.png";
import XFilter from "../../components/XFilter.vue";
-import {reactive, ref} from "vue";
+import {reactive, ref, watch} from "vue";
import XFilterItem from "../../components/XFilterItem.vue";
import XRadioGroup from "../../components/XRadioGroup.vue";
import XRadio from "../../components/XRadio.vue";
@@ -15,10 +15,16 @@ import Api from "../../api/index.js";
const isVague = ref(false);
const showFilter = ref(false);
const isSearch = ref(false);
-const po = reactive({});
-const vo = reactive({});
-const sumPo = reactive({
+const po = reactive({
+ status: 0,
+ keyword: null,
type: 0,
+ order: 0,
+});
+const vo = reactive({
+ income: 0,
+ reward: 0,
+ total: 0,
});
const {loading, pagination, initFetchData} = useTableQuery({
@@ -28,6 +34,17 @@ const {loading, pagination, initFetchData} = useTableQuery({
Object.assign(vo, data);
}
});
+
+watch(
+ () => po.status,
+ () => initFetchData(),
+ {deep: true}
+)
+
+const handleSeach = async () => {
+ if (po.keyword === null || po.keyword === "") isSearch.value = false;
+ await initFetchData();
+}
@@ -35,10 +52,11 @@ const {loading, pagination, initFetchData} = useTableQuery({
-
+
我邀请的
他人邀请的
@@ -46,7 +64,7 @@ const {loading, pagination, initFetchData} = useTableQuery({
-
+
按收益
加入时间正序
@@ -70,28 +88,28 @@ const {loading, pagination, initFetchData} = useTableQuery({
- 今天
- 昨天
- 累计
+ 今天
+ 昨天
+ 累计
新增成员(个)
- 4
+ {{ vo.total }}
团队收益(元)
- 15.64
+ {{ vo.income.toFixed(2) }}
团队奖励(元)
- 5.60
+ {{ vo.reward.toFixed(2) }}
@@ -108,7 +126,7 @@ const {loading, pagination, initFetchData} = useTableQuery({
搜索
-
+
diff --git a/src/pages/complaint/index.vue b/src/pages/complaint/index.vue
new file mode 100644
index 0000000..e9b41e8
--- /dev/null
+++ b/src/pages/complaint/index.vue
@@ -0,0 +1,72 @@
+
+
+
+
+
+
+
+
+
+ *
+ 投诉内容
+
+
+
+
+ 22/200
+
+
+
+
+
+
+
+
+ *
+ 联系方式
+
+
+
+
+
+
+
+ 确定提交
+
+
+
+
+
+
+
diff --git a/src/pages/myTask/index.vue b/src/pages/myTask/index.vue
index f3e2990..4749704 100644
--- a/src/pages/myTask/index.vue
+++ b/src/pages/myTask/index.vue
@@ -1,7 +1,7 @@
@@ -23,11 +18,12 @@ const callPhone = () => {
{{ detail.nickname }}
联系TA
投诉
diff --git a/src/pages/user/index.vue b/src/pages/user/index.vue
index 6049931..532c14e 100644
--- a/src/pages/user/index.vue
+++ b/src/pages/user/index.vue
@@ -122,7 +122,7 @@ onMounted(() => {
提现记录
-
+
变动记录