fix:更新,托收

This commit is contained in:
Your Name 2026-04-07 10:17:45 +08:00
parent 3a5e3111c6
commit f66fdb8b5f
10 changed files with 326 additions and 335 deletions

View File

@ -1,5 +1,5 @@
NODE_ENV= development NODE_ENV= development
VITE_HTTP_BASE_URL = http://10.39.13.78:8002/api/ # VITE_HTTP_BASE_URL = http://10.39.13.78:8002/api/
# VITE_HTTP_BASE_URL = https://test-weapp-api.linyikj.com.cn/api/ VITE_HTTP_BASE_URL = https://test-weapp-api.linyikj.com.cn/api/
# VITE_HTTP_BASE_URL = https://weapp-api.linyikj.com.cn/api/ # VITE_HTTP_BASE_URL = https://weapp-api.linyikj.com.cn/api/
VITE_ACCESS_TOKEN_KEY= 'ACCESS_TOKEN_CUSTOMER' VITE_ACCESS_TOKEN_KEY= 'ACCESS_TOKEN_CUSTOMER'

View File

@ -63,27 +63,29 @@ const _sfc_defineComponent = /* @__PURE__ */ common_vendor.defineComponent({
}; };
}); });
return (_ctx, _cache) => { return (_ctx, _cache) => {
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j; var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p;
return { return common_vendor.e({
a: common_vendor.t(((_e = (_d = (_c = (_b = (_a = common_vendor.unref(INDEX_archive_houses_model.useModel)) == null ? void 0 : _a.showData) == null ? void 0 : _b.value) == null ? void 0 : _c.house_relation) == null ? void 0 : _d.asset_house) == null ? void 0 : _e.full_name) || ""), a: common_vendor.t(((_e = (_d = (_c = (_b = (_a = common_vendor.unref(INDEX_archive_houses_model.useModel)) == null ? void 0 : _a.showData) == null ? void 0 : _b.value) == null ? void 0 : _c.house_relation) == null ? void 0 : _d.asset_house) == null ? void 0 : _e.full_name) || ""),
b: common_vendor.o(($event) => show.value = true), b: common_vendor.o(($event) => show.value = true),
c: common_vendor.t((_h = (_g = (_f = common_vendor.unref(INDEX_archive_houses_model.useModel)) == null ? void 0 : _f.showData) == null ? void 0 : _g.value) == null ? void 0 : _h.house_occupants_num), c: common_vendor.t((_h = (_g = (_f = common_vendor.unref(INDEX_archive_houses_model.useModel)) == null ? void 0 : _f.showData) == null ? void 0 : _g.value) == null ? void 0 : _h.house_occupants_num),
d: common_vendor.f((_j = (_i = common_vendor.unref(INDEX_archive_houses_model.useModel)) == null ? void 0 : _i.listData) == null ? void 0 : _j.value, (k, index, i0) => { d: !((_k = (_j = (_i = common_vendor.unref(INDEX_archive_houses_model.useModel)) == null ? void 0 : _i.listData) == null ? void 0 : _j.value) == null ? void 0 : _k.length)
}, !((_n = (_m = (_l = common_vendor.unref(INDEX_archive_houses_model.useModel)) == null ? void 0 : _l.listData) == null ? void 0 : _m.value) == null ? void 0 : _n.length) ? {} : {}, {
e: common_vendor.f((_p = (_o = common_vendor.unref(INDEX_archive_houses_model.useModel)) == null ? void 0 : _o.listData) == null ? void 0 : _p.value, (k, index, i0) => {
var _a2, _b2; var _a2, _b2;
return common_vendor.e({ return common_vendor.e({
a: common_vendor.t(k == null ? void 0 : k.label), a: common_vendor.t(k == null ? void 0 : k.label),
b: !((_a2 = k.list) == null ? void 0 : _a2.length) b: !((_a2 = k.list) == null ? void 0 : _a2.length)
}, !((_b2 = k.list) == null ? void 0 : _b2.length) ? { }, !((_b2 = k.list) == null ? void 0 : _b2.length) ? {
c: "afe28dc2-1-" + i0 c: "afe28dc2-2-" + i0
} : {}, { } : {}, {
d: common_vendor.f(k.list, (i, index2, i1) => { d: common_vendor.f(k.list, (i, index2, i1) => {
var _a3, _b3, _c2, _d2, _e2, _f2, _g2, _h2; var _a3, _b3, _c2, _d2, _e2, _f2, _g2, _h2;
return common_vendor.e({ return common_vendor.e({
a: "afe28dc2-2-" + i0 + "-" + i1, a: "afe28dc2-3-" + i0 + "-" + i1,
b: common_vendor.t(i == null ? void 0 : i.name), b: common_vendor.t(i == null ? void 0 : i.name),
c: (i == null ? void 0 : i.house_relation) === "Owner" c: (i == null ? void 0 : i.house_relation) === "Owner"
}, (i == null ? void 0 : i.house_relation) === "Owner" ? { }, (i == null ? void 0 : i.house_relation) === "Owner" ? {
d: "afe28dc2-3-" + i0 + "-" + i1, d: "afe28dc2-4-" + i0 + "-" + i1,
e: common_vendor.p({ e: common_vendor.p({
value: i == null ? void 0 : i.house_relation, value: i == null ? void 0 : i.house_relation,
Enums: common_vendor.unref(gen_Enums.HouseOccupantsHouseRelationEnum), Enums: common_vendor.unref(gen_Enums.HouseOccupantsHouseRelationEnum),
@ -92,7 +94,7 @@ const _sfc_defineComponent = /* @__PURE__ */ common_vendor.defineComponent({
} : {}, { } : {}, {
f: (i == null ? void 0 : i.house_relation) === "NonOwner" f: (i == null ? void 0 : i.house_relation) === "NonOwner"
}, (i == null ? void 0 : i.house_relation) === "NonOwner" ? { }, (i == null ? void 0 : i.house_relation) === "NonOwner" ? {
g: "afe28dc2-4-" + i0 + "-" + i1, g: "afe28dc2-5-" + i0 + "-" + i1,
h: common_vendor.p({ h: common_vendor.p({
value: i == null ? void 0 : i.residential_relation, value: i == null ? void 0 : i.residential_relation,
Enums: common_vendor.unref(gen_Enums.HouseOccupantsResidentialRelationEnum), Enums: common_vendor.unref(gen_Enums.HouseOccupantsResidentialRelationEnum),
@ -112,19 +114,19 @@ const _sfc_defineComponent = /* @__PURE__ */ common_vendor.defineComponent({
e: `item_${index}` e: `item_${index}`
}); });
}), }),
e: common_vendor.p({ f: common_vendor.p({
text: "U", text: "U",
fontSize: "18", fontSize: "18",
bgColor: "#ffeade", bgColor: "#ffeade",
color: "#333" color: "#333"
}), }),
f: common_vendor.o(($event) => show.value = false), g: common_vendor.o(($event) => show.value = false),
g: common_vendor.o(handleSelectedHouse), h: common_vendor.o(handleSelectedHouse),
h: common_vendor.p({ i: common_vendor.p({
show: show.value, show: show.value,
pageSource: "archive_houses" pageSource: "archive_houses"
}) })
}; });
}; };
} }
}); });

View File

@ -1 +1 @@
<view><hs-collection u-i="afe28dc2-0" bind:__l="__l"/><view class="archive_header_card"><view class="archive_card_header">{{a}} <text bindtap="{{b}}">切换房屋</text></view><view class="archive_card_role"><view class="item"> 您的身份事:产权人 </view><view class="item"> 房屋已绑定:{{c}}人 </view></view></view><view class="archive_houses_content"><view wx:for="{{d}}" wx:for-item="k" wx:key="e" class="archive_container"><view class="archive_header_number"><view class="border_left"></view><view class="title">{{k.a}}</view></view><hs-empty wx:if="{{k.b}}" u-i="{{k.c}}" bind:__l="__l"/><view wx:for="{{k.d}}" wx:for-item="i" wx:key="k" class="archive_items"><view class="archive_items_heander"><view class="avatar"><up-avatar wx:if="{{e}}" u-i="{{i.a}}" bind:__l="__l" u-p="{{e}}"/></view><view class="user_info"><view class="name">{{i.b}}</view><view class="tabs"><hs-enum-tag wx:if="{{i.c}}" u-i="{{i.d}}" bind:__l="__l" u-p="{{i.e}}"/><hs-enum-tag wx:if="{{i.f}}" u-i="{{i.g}}" bind:__l="__l" u-p="{{i.h}}"/></view></view><view wx:if="{{i.i}}" class="remove" bindtap="{{i.j}}"> 移除该住户 </view></view></view></view></view><my-create-household u-i="afe28dc2-5" bind:__l="__l"/><hs-popup-switch-house wx:if="{{h}}" bindclose="{{f}}" bindchange="{{g}}" u-i="afe28dc2-6" bind:__l="__l" u-p="{{h}}"/></view> <view><hs-collection u-i="afe28dc2-0" bind:__l="__l"/><view class="archive_header_card"><view class="archive_card_header">{{a}} <text bindtap="{{b}}">切换房屋</text></view><view class="archive_card_role"><view class="item"> 您的身份事:产权人 </view><view class="item"> 房屋已绑定:{{c}}人 </view></view></view><view class="archive_houses_content"><hs-empty wx:if="{{d}}" u-i="afe28dc2-1" bind:__l="__l"/><view wx:for="{{e}}" wx:for-item="k" wx:key="e" class="archive_container"><view class="archive_header_number"><view class="border_left"></view><view class="title">{{k.a}}</view></view><hs-empty wx:if="{{k.b}}" u-i="{{k.c}}" bind:__l="__l"/><view wx:for="{{k.d}}" wx:for-item="i" wx:key="k" class="archive_items"><view class="archive_items_heander"><view class="avatar"><up-avatar wx:if="{{f}}" u-i="{{i.a}}" bind:__l="__l" u-p="{{f}}"/></view><view class="user_info"><view class="name">{{i.b}}</view><view class="tabs"><hs-enum-tag wx:if="{{i.c}}" u-i="{{i.d}}" bind:__l="__l" u-p="{{i.e}}"/><hs-enum-tag wx:if="{{i.f}}" u-i="{{i.g}}" bind:__l="__l" u-p="{{i.h}}"/></view></view><view wx:if="{{i.i}}" class="remove" bindtap="{{i.j}}"> 移除该住户 </view></view></view></view></view><my-create-household u-i="afe28dc2-6" bind:__l="__l"/><hs-popup-switch-house wx:if="{{i}}" bindclose="{{g}}" bindchange="{{h}}" u-i="afe28dc2-7" bind:__l="__l" u-p="{{i}}"/></view>

View File

@ -3,7 +3,7 @@ const common_vendor = require("../vendor.js");
const common_store_useWeAppAuthStore = require("../store/useWeAppAuthStore.js"); const common_store_useWeAppAuthStore = require("../store/useWeAppAuthStore.js");
const http = new common_vendor.Request(); const http = new common_vendor.Request();
http.setConfig((config) => { http.setConfig((config) => {
config.baseURL = "http://10.39.13.78:8002/api/"; config.baseURL = "https://test-weapp-api.linyikj.com.cn/api/";
config.header = { config.header = {
...config.header ...config.header
}; };

View File

@ -11680,15 +11680,23 @@ class Request2 {
} }
} }
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {}; var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
var dayjs_minExports = {}; function getDefaultExportFromCjs(x) {
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
}
var dayjs_minExports$1 = {};
var dayjs_min = { var dayjs_min = {
get exports() { get exports() {
return dayjs_minExports; return dayjs_minExports$1;
}, },
set exports(v) { set exports(v) {
dayjs_minExports = v; dayjs_minExports$1 = v;
} }
}; };
var hasRequiredDayjs_min;
function requireDayjs_min() {
if (hasRequiredDayjs_min)
return dayjs_minExports$1;
hasRequiredDayjs_min = 1;
(function(module2, exports2) { (function(module2, exports2) {
!function(t2, e2) { !function(t2, e2) {
module2.exports = e2(); module2.exports = e2();
@ -11978,7 +11986,10 @@ var dayjs_min = {
}, O.en = D[g], O.Ls = D, O.p = {}, O; }, O.en = D[g], O.Ls = D, O.p = {}, O;
}); });
})(dayjs_min); })(dayjs_min);
const dayjs = dayjs_minExports; return dayjs_minExports$1;
}
var dayjs_minExports = requireDayjs_min();
const dayjs = /* @__PURE__ */ getDefaultExportFromCjs(dayjs_minExports);
var relativeTimeExports = {}; var relativeTimeExports = {};
var relativeTime$1 = { var relativeTime$1 = {
get exports() { get exports() {
@ -12042,7 +12053,7 @@ var zhCn = {
}; };
(function(module2, exports2) { (function(module2, exports2) {
!function(e2, _) { !function(e2, _) {
module2.exports = _(dayjs_minExports); module2.exports = _(requireDayjs_min());
}(commonjsGlobal, function(e2) { }(commonjsGlobal, function(e2) {
function _(e3) { function _(e3) {
return e3 && "object" == typeof e3 && "default" in e3 ? e3 : { default: e3 }; return e3 && "object" == typeof e3 && "default" in e3 ? e3 : { default: e3 };

View File

@ -1,30 +1,10 @@
"use strict"; "use strict";
const common_vendor = require("../../common/vendor.js"); const common_vendor = require("../../common/vendor.js");
if (!Array) {
const _easycom_uni_icons2 = common_vendor.resolveComponent("uni-icons");
_easycom_uni_icons2();
}
const _easycom_uni_icons = () => "../../uni_modules/uni-icons/components/uni-icons/uni-icons.js";
if (!Math) {
_easycom_uni_icons();
}
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
__name: "hs-collection", __name: "hs-collection",
setup(__props) { setup(__props) {
const toCollectionPage = () => {
common_vendor.index.navigateTo({
url: "/INDEX/collection/index"
});
};
return (_ctx, _cache) => { return (_ctx, _cache) => {
return { return {};
a: common_vendor.p({
type: "right",
size: "12",
color: "#fff"
}),
b: common_vendor.o(toCollectionPage)
};
}; };
} }
}); });

View File

@ -1,6 +1,4 @@
{ {
"component": true, "component": true,
"usingComponents": { "usingComponents": {}
"uni-icons": "../../uni_modules/uni-icons/components/uni-icons/uni-icons"
}
} }

View File

@ -1 +0,0 @@
<view class="hs_collection"> 一键开通自动托收,无需担心忘记缴费 <view class="btn" bindtap="{{b}}"> 立即开通 <uni-icons wx:if="{{a}}" u-i="05506432-0" bind:__l="__l" u-p="{{a}}"></uni-icons></view></view>

View File

@ -15,6 +15,7 @@
</view> </view>
<view class="archive_houses_content"> <view class="archive_houses_content">
<hs-empty v-if="!useModel?.listData?.value?.length" />
<view <view
class="archive_container" class="archive_container"
v-for="(k, index) in useModel?.listData?.value" v-for="(k, index) in useModel?.listData?.value"

View File

@ -1,10 +1,10 @@
<template> <template>
<view class="hs_collection"> <!-- <view class="hs_collection">
一键开通自动托收无需担心忘记缴费 一键开通自动托收无需担心忘记缴费
<view class="btn" @click="toCollectionPage"> <view class="btn" @click="toCollectionPage">
立即开通 <uni-icons type="right" size="12" color="#fff"></uni-icons> 立即开通 <uni-icons type="right" size="12" color="#fff"></uni-icons>
</view> </view>
</view> </view> -->
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
const toCollectionPage = () => { const toCollectionPage = () => {