develop #1
@ -1,5 +1,5 @@
|
||||
NODE_ENV= development
|
||||
# VITE_HTTP_BASE_URL = http://10.39.13.78:8001/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://test-weapp-api.linyikj.com.cn/api/
|
||||
VITE_HTTP_BASE_URL= https://weapp-api.linyikj.com.cn/api/
|
||||
VITE_ACCESS_TOKEN_KEY= 'ACCESS_TOKEN_CUSTOMER'
|
||||
8
dist/dev/mp-weixin/BILL/bill_details/index.js
vendored
Normal file
8
dist/dev/mp-weixin/BILL/bill_details/index.js
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const _sfc_main = {};
|
||||
function _sfc_render(_ctx, _cache) {
|
||||
return {};
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/Users/zsq/Sources/github/2025property-pay/pay-employee/src/BILL/bill_details/index.vue"]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
4
dist/dev/mp-weixin/BILL/bill_details/index.json
vendored
Normal file
4
dist/dev/mp-weixin/BILL/bill_details/index.json
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"navigationBarTitleText": "账单详情",
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
dist/dev/mp-weixin/BILL/bill_details/index.wxml
vendored
Normal file
1
dist/dev/mp-weixin/BILL/bill_details/index.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<view><view class="bill_details_header"><view class="label"> 2025年1月待缴纳费用 </view><view class="fee"> ¥3232.32 </view></view><view class="bill_card_body"><view class="bill_card_head"><text>物业费</text> <text> ¥3232.32 </text></view><view class="bill_cell"> 单价 <text> ¥3232.32 </text></view><view class="bill_cell"> 房屋面积 <text> 89.9m² </text></view><view class="bill_cell"> 计算 <text> 3.5x89.9=314.65(月付) </text></view></view></view>
|
||||
45
dist/dev/mp-weixin/BILL/bill_details/index.wxss
vendored
Normal file
45
dist/dev/mp-weixin/BILL/bill_details/index.wxss
vendored
Normal file
@ -0,0 +1,45 @@
|
||||
page {
|
||||
background-color: #f8f8f8;
|
||||
}
|
||||
.bill_details_header {
|
||||
background-color: #e8f1ff;
|
||||
padding: 30rpx;
|
||||
margin: 30rpx;
|
||||
border-radius: 10rpx;
|
||||
}
|
||||
.bill_details_header .label {
|
||||
font-size: 27rpx;
|
||||
color: #333;
|
||||
padding-bottom: 5rpx;
|
||||
}
|
||||
.bill_details_header .fee {
|
||||
font-size: 40rpx;
|
||||
color: #2d75ff;
|
||||
font-weight: 550;
|
||||
}
|
||||
.bill_card_body {
|
||||
background-color: #fff;
|
||||
margin: 30rpx;
|
||||
border-radius: 10rpx;
|
||||
padding: 0 30rpx;
|
||||
}
|
||||
.bill_card_body .bill_card_head {
|
||||
padding: 30rpx 0 25rpx 0;
|
||||
border-bottom: 1rpx solid #eee;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 20rpx;
|
||||
}
|
||||
.bill_card_body .bill_card_head text:first-child {
|
||||
border-left: 10rpx solid #2d75ff;
|
||||
padding-left: 16rpx;
|
||||
}
|
||||
.bill_card_body .bill_cell {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
font-size: 28rpx;
|
||||
color: #333;
|
||||
padding-bottom: 20rpx;
|
||||
}
|
||||
106
dist/dev/mp-weixin/BILL/collection_record/index/index.js
vendored
Normal file
106
dist/dev/mp-weixin/BILL/collection_record/index/index.js
vendored
Normal file
@ -0,0 +1,106 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../common/vendor.js");
|
||||
const BILL_collection_record_index_model = require("./model.js");
|
||||
const BILL_collection_record_index_method = require("./method.js");
|
||||
const gen_Enums = require("../../../gen/Enums.js");
|
||||
require("../../../common/libraries/day.js");
|
||||
require("../../../common/libraries/apiLoading.js");
|
||||
require("../../../gen/Apis.js");
|
||||
require("../../../common/libraries/request.js");
|
||||
require("../../../common/store/useWeAppAuthStore.js");
|
||||
require("../../../common/store/useWorkStore.js");
|
||||
if (!Array) {
|
||||
const _easycom_hs_tabs2 = common_vendor.resolveComponent("hs-tabs");
|
||||
const _easycom_uni_icons2 = common_vendor.resolveComponent("uni-icons");
|
||||
const _easycom_up_icon2 = common_vendor.resolveComponent("up-icon");
|
||||
const _easycom_hs_enum_tag2 = common_vendor.resolveComponent("hs-enum-tag");
|
||||
const _easycom_cc_scroll_loading2 = common_vendor.resolveComponent("cc-scroll-loading");
|
||||
(_easycom_hs_tabs2 + _easycom_uni_icons2 + _easycom_up_icon2 + _easycom_hs_enum_tag2 + _easycom_cc_scroll_loading2)();
|
||||
}
|
||||
const _easycom_hs_tabs = () => "../../../components/hs-tabs/hs-tabs.js";
|
||||
const _easycom_uni_icons = () => "../../../uni_modules/uni-icons/components/uni-icons/uni-icons.js";
|
||||
const _easycom_up_icon = () => "../../../node-modules/uview-plus/components/u-icon/u-icon.js";
|
||||
const _easycom_hs_enum_tag = () => "../../../components/hs-enum-tag/hs-enum-tag.js";
|
||||
const _easycom_cc_scroll_loading = () => "../../../common/components/cc-scroll-loading/cc-scroll-loading.js";
|
||||
if (!Math) {
|
||||
(_easycom_hs_tabs + _easycom_uni_icons + _easycom_up_icon + _easycom_hs_enum_tag + _easycom_cc_scroll_loading)();
|
||||
}
|
||||
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
__name: "index",
|
||||
setup(__props) {
|
||||
const tablist = [
|
||||
{ label: "全部", value: "" },
|
||||
{ label: "已完成", value: "Completed" },
|
||||
{ label: "进行中", value: "Processing" }
|
||||
];
|
||||
common_vendor.onLoad(async () => {
|
||||
var _a, _b;
|
||||
await ((_a = common_vendor.getCurrentInstance()) == null ? void 0 : _a.appContext.config.globalProperties.$onLaunched);
|
||||
BILL_collection_record_index_model.useModel.dataList.value = [];
|
||||
(_b = BILL_collection_record_index_method.method) == null ? void 0 : _b.getList();
|
||||
});
|
||||
return (_ctx, _cache) => {
|
||||
var _a, _b, _c, _d, _e, _f, _g, _h;
|
||||
return {
|
||||
a: common_vendor.o((_a = common_vendor.unref(BILL_collection_record_index_method.method)) == null ? void 0 : _a.changeTab),
|
||||
b: common_vendor.p({
|
||||
list: tablist,
|
||||
current: (_c = (_b = common_vendor.unref(BILL_collection_record_index_model.useModel)) == null ? void 0 : _b.tabCurrent) == null ? void 0 : _c.value
|
||||
}),
|
||||
c: common_vendor.f((_e = (_d = common_vendor.unref(BILL_collection_record_index_model.useModel)) == null ? void 0 : _d.dataList) == null ? void 0 : _e.value, (i, index, i0) => {
|
||||
var _a2;
|
||||
return common_vendor.e({
|
||||
a: common_vendor.t(i == null ? void 0 : i.task_name),
|
||||
b: (i == null ? void 0 : i.status) === "Processing"
|
||||
}, (i == null ? void 0 : i.status) === "Processing" ? {
|
||||
c: "9447b322-2-" + i0 + ",9447b322-1",
|
||||
d: common_vendor.p({
|
||||
type: "refreshempty",
|
||||
size: "14",
|
||||
color: "#0082fa"
|
||||
})
|
||||
} : {}, {
|
||||
e: "9447b322-3-" + i0 + ",9447b322-1",
|
||||
f: common_vendor.t((_a2 = i == null ? void 0 : i.company_employee) == null ? void 0 : _a2.name),
|
||||
g: "9447b322-4-" + i0 + ",9447b322-1",
|
||||
h: common_vendor.t(i == null ? void 0 : i.created_at),
|
||||
i: "9447b322-5-" + i0 + ",9447b322-1",
|
||||
j: common_vendor.p({
|
||||
value: i == null ? void 0 : i.status,
|
||||
Enums: common_vendor.unref(gen_Enums.HouseCollectionTasksStatusEnum)
|
||||
}),
|
||||
k: "9447b322-6-" + i0 + ",9447b322-1",
|
||||
l: common_vendor.p({
|
||||
type: "right",
|
||||
size: "15",
|
||||
color: (i == null ? void 0 : i.status) === "Processing" ? "#0082fa" : "#67C23A"
|
||||
}),
|
||||
m: common_vendor.n(`status status_${i == null ? void 0 : i.status}`),
|
||||
n: `items_${index}`,
|
||||
o: common_vendor.n(`collection_record_item items_${i == null ? void 0 : i.status}`),
|
||||
p: common_vendor.o(($event) => {
|
||||
var _a3;
|
||||
return (_a3 = common_vendor.unref(BILL_collection_record_index_method.method)) == null ? void 0 : _a3.goDetail(i);
|
||||
}, `items_${index}`)
|
||||
});
|
||||
}),
|
||||
d: common_vendor.p({
|
||||
type: "person",
|
||||
size: "15",
|
||||
color: "#C4C4C4"
|
||||
}),
|
||||
e: common_vendor.p({
|
||||
name: "clock",
|
||||
size: "15",
|
||||
color: "#C4C4C4"
|
||||
}),
|
||||
f: common_vendor.o((_f = common_vendor.unref(BILL_collection_record_index_method.method)) == null ? void 0 : _f.load),
|
||||
g: common_vendor.p({
|
||||
meta: (_h = (_g = common_vendor.unref(BILL_collection_record_index_model.useModel)) == null ? void 0 : _g.meta) == null ? void 0 : _h.value
|
||||
})
|
||||
};
|
||||
};
|
||||
}
|
||||
});
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "/Users/zsq/Sources/github/2025property-pay/pay-employee/src/BILL/collection_record/index/index.vue"]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
10
dist/dev/mp-weixin/BILL/collection_record/index/index.json
vendored
Normal file
10
dist/dev/mp-weixin/BILL/collection_record/index/index.json
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
{
|
||||
"navigationBarTitleText": "催缴记录",
|
||||
"usingComponents": {
|
||||
"hs-tabs": "../../../components/hs-tabs/hs-tabs",
|
||||
"uni-icons": "../../../uni_modules/uni-icons/components/uni-icons/uni-icons",
|
||||
"up-icon": "../../../node-modules/uview-plus/components/u-icon/u-icon",
|
||||
"hs-enum-tag": "../../../components/hs-enum-tag/hs-enum-tag",
|
||||
"cc-scroll-loading": "../../../common/components/cc-scroll-loading/cc-scroll-loading"
|
||||
}
|
||||
}
|
||||
1
dist/dev/mp-weixin/BILL/collection_record/index/index.wxml
vendored
Normal file
1
dist/dev/mp-weixin/BILL/collection_record/index/index.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<view><view class="collection_record_header"><hs-tabs wx:if="{{b}}" bindonChange="{{a}}" u-i="9447b322-0" bind:__l="__l" u-p="{{b}}"/></view><view class="collection_record_body"><cc-scroll-loading wx:if="{{g}}" u-s="{{['d']}}" bindload="{{f}}" u-i="9447b322-1" bind:__l="__l" u-p="{{g}}"><view wx:for="{{c}}" wx:for-item="i" wx:key="n" class="{{i.o}}" bindtap="{{i.p}}"><view><view class="item_head_info">{{i.a}} <view wx:if="{{i.b}}" class="status_refresh"><uni-icons wx:if="{{i.d}}" u-i="{{i.c}}" bind:__l="__l" u-p="{{i.d}}"></uni-icons> 刷新状态 </view></view><view class="item_others_info"><view class="item_others_info_item"><uni-icons wx:if="{{d}}" u-i="{{i.e}}" bind:__l="__l" u-p="{{d}}"></uni-icons><text>{{i.f}}</text></view><view class="item_others_info_item"><up-icon wx:if="{{e}}" u-i="{{i.g}}" bind:__l="__l" u-p="{{e}}"/><text>{{i.h}}</text></view></view></view><view class="{{i.m}}"><hs-enum-tag wx:if="{{i.j}}" u-i="{{i.i}}" bind:__l="__l" u-p="{{i.j}}"/><uni-icons wx:if="{{i.l}}" u-i="{{i.k}}" bind:__l="__l" u-p="{{i.l}}"></uni-icons></view></view></cc-scroll-loading></view></view>
|
||||
75
dist/dev/mp-weixin/BILL/collection_record/index/index.wxss
vendored
Normal file
75
dist/dev/mp-weixin/BILL/collection_record/index/index.wxss
vendored
Normal file
@ -0,0 +1,75 @@
|
||||
page {
|
||||
background-color: #f8f8f8;
|
||||
}
|
||||
.collection_record_header {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
z-index: 100;
|
||||
background-color: #fff;
|
||||
box-shadow: 0px 3px 7px rgba(206, 206, 206, 0.25);
|
||||
}
|
||||
.collection_record_body {
|
||||
padding: 110rpx 30rpx 0 30rpx;
|
||||
}
|
||||
.collection_record_body .collection_record_item {
|
||||
display: flex;
|
||||
padding: 30rpx;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
background-color: #fff;
|
||||
border-left: 7px solid #0082fa;
|
||||
border-radius: 20rpx;
|
||||
font-size: 28rpx;
|
||||
margin: 30rpx 0 0 0;
|
||||
}
|
||||
.collection_record_body .collection_record_item .item_head_info {
|
||||
color: #3d3d3d;
|
||||
font-weight: 500;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding-bottom: 10rpx;
|
||||
}
|
||||
.collection_record_body .collection_record_item .item_head_info .status_refresh {
|
||||
margin-left: 30rpx;
|
||||
background-color: #f9fafb;
|
||||
border-radius: 100rpx;
|
||||
padding: 7rpx 20rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: #0082fa;
|
||||
font-weight: 400;
|
||||
font-size: 24rpx;
|
||||
}
|
||||
.collection_record_body .collection_record_item .item_others_info {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding-top: 10rpx;
|
||||
}
|
||||
.collection_record_body .collection_record_item .item_others_info .item_others_info_item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: #666;
|
||||
height: 25rpx;
|
||||
font-size: 28rpx;
|
||||
line-height: 25rpx;
|
||||
}
|
||||
.collection_record_body .collection_record_item .item_others_info .item_others_info_item text {
|
||||
padding-left: 5rpx;
|
||||
}
|
||||
.collection_record_body .collection_record_item .item_others_info .item_others_info_item:last-child {
|
||||
margin-left: 15rpx;
|
||||
padding-left: 15rpx;
|
||||
border-left: 1rpx solid #eee;
|
||||
}
|
||||
.collection_record_body .collection_record_item .status {
|
||||
color: #0082fa;
|
||||
}
|
||||
.collection_record_body .collection_record_item .status_Completed {
|
||||
color: #67c23a;
|
||||
}
|
||||
.collection_record_body .items_Completed {
|
||||
border-left: 7px solid #67c23a;
|
||||
}
|
||||
57
dist/dev/mp-weixin/BILL/collection_record/index/method.js
vendored
Normal file
57
dist/dev/mp-weixin/BILL/collection_record/index/method.js
vendored
Normal file
@ -0,0 +1,57 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../common/vendor.js");
|
||||
const common_libraries_apiLoading = require("../../../common/libraries/apiLoading.js");
|
||||
const gen_Apis = require("../../../gen/Apis.js");
|
||||
const BILL_collection_record_index_model = require("./model.js");
|
||||
const gen_Enums = require("../../../gen/Enums.js");
|
||||
const getList = () => {
|
||||
var _a, _b;
|
||||
gen_Apis.Apis.Collection.HouseCollectionTasks.List((_b = (_a = BILL_collection_record_index_model.useModel) == null ? void 0 : _a.formData) == null ? void 0 : _b.value).then((res) => {
|
||||
BILL_collection_record_index_model.useModel.dataList.value = [...BILL_collection_record_index_model.useModel.dataList.value, ...res == null ? void 0 : res.data];
|
||||
BILL_collection_record_index_model.useModel.meta.value = res == null ? void 0 : res.meta;
|
||||
console.log("登录", res == null ? void 0 : res.data);
|
||||
});
|
||||
};
|
||||
const getTaskRecords = (id) => {
|
||||
common_libraries_apiLoading.getApiLoading(gen_Apis.Apis.Collection.HouseCollectionRecords.GetTaskRecords, {
|
||||
collection_tasks_id: id
|
||||
}).then((res) => {
|
||||
BILL_collection_record_index_model.useModel.showDataTable.value = res == null ? void 0 : res.data;
|
||||
});
|
||||
};
|
||||
const method = {
|
||||
getList,
|
||||
changeTab(idx, e) {
|
||||
BILL_collection_record_index_model.useModel.tabCurrent.value = idx;
|
||||
BILL_collection_record_index_model.useModel.formData.value.status = e == null ? void 0 : e.value;
|
||||
BILL_collection_record_index_model.useModel.formData.value.page = 1;
|
||||
BILL_collection_record_index_model.useModel.dataList.value = [];
|
||||
getList();
|
||||
},
|
||||
load(e) {
|
||||
BILL_collection_record_index_model.useModel.formData.value.page = e == null ? void 0 : e.page;
|
||||
getList();
|
||||
},
|
||||
goDetail(e) {
|
||||
common_vendor.index.navigateTo({
|
||||
url: `/BILL/collection_record/show?id=${e == null ? void 0 : e.id}`
|
||||
});
|
||||
},
|
||||
getShow(id) {
|
||||
common_libraries_apiLoading.getApiLoading(gen_Apis.Apis.Collection.HouseCollectionTasks.Show, { id }).then((res) => {
|
||||
var _a;
|
||||
BILL_collection_record_index_model.useModel.showData.value = res == null ? void 0 : res.data;
|
||||
getTaskRecords((_a = res == null ? void 0 : res.data) == null ? void 0 : _a.id);
|
||||
});
|
||||
},
|
||||
getTaskRecords,
|
||||
getShowChannel(list) {
|
||||
let enums = "";
|
||||
list == null ? void 0 : list.map((key) => {
|
||||
var _a;
|
||||
enums += key ? `${(_a = gen_Enums.HouseCollectionTasksChannelEnum[key]) == null ? void 0 : _a.text} ` : "";
|
||||
});
|
||||
return enums;
|
||||
}
|
||||
};
|
||||
exports.method = method;
|
||||
12
dist/dev/mp-weixin/BILL/collection_record/index/model.js
vendored
Normal file
12
dist/dev/mp-weixin/BILL/collection_record/index/model.js
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../common/vendor.js");
|
||||
require("../../../common/libraries/day.js");
|
||||
const useModel = {
|
||||
formData: common_vendor.ref({ page: 1, status: "" }),
|
||||
dataList: common_vendor.ref([]),
|
||||
meta: common_vendor.ref({}),
|
||||
tabCurrent: common_vendor.ref(0),
|
||||
showData: common_vendor.ref({}),
|
||||
showDataTable: common_vendor.ref([])
|
||||
};
|
||||
exports.useModel = useModel;
|
||||
119
dist/dev/mp-weixin/BILL/collection_record/show/index.js
vendored
Normal file
119
dist/dev/mp-weixin/BILL/collection_record/show/index.js
vendored
Normal file
@ -0,0 +1,119 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../common/vendor.js");
|
||||
const BILL_collection_record_show_model = require("./model.js");
|
||||
const BILL_collection_record_show_method = require("./method.js");
|
||||
const gen_Enums = require("../../../gen/Enums.js");
|
||||
require("../../../common/libraries/day.js");
|
||||
require("../../../common/libraries/apiLoading.js");
|
||||
require("../../../gen/Apis.js");
|
||||
require("../../../common/libraries/request.js");
|
||||
require("../../../common/store/useWeAppAuthStore.js");
|
||||
require("../../../common/store/useWorkStore.js");
|
||||
if (!Array) {
|
||||
const _easycom_hs_cell2 = common_vendor.resolveComponent("hs-cell");
|
||||
const _easycom_hs_enum_tag2 = common_vendor.resolveComponent("hs-enum-tag");
|
||||
const _easycom_uni_icons2 = common_vendor.resolveComponent("uni-icons");
|
||||
const _easycom_hs_refresh2 = common_vendor.resolveComponent("hs-refresh");
|
||||
(_easycom_hs_cell2 + _easycom_hs_enum_tag2 + _easycom_uni_icons2 + _easycom_hs_refresh2)();
|
||||
}
|
||||
const _easycom_hs_cell = () => "../../../components/hs-cell/hs-cell.js";
|
||||
const _easycom_hs_enum_tag = () => "../../../components/hs-enum-tag/hs-enum-tag.js";
|
||||
const _easycom_uni_icons = () => "../../../uni_modules/uni-icons/components/uni-icons/uni-icons.js";
|
||||
const _easycom_hs_refresh = () => "../../../components/hs-refresh/hs-refresh.js";
|
||||
if (!Math) {
|
||||
(_easycom_hs_cell + _easycom_hs_enum_tag + _easycom_uni_icons + _easycom_hs_refresh)();
|
||||
}
|
||||
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
__name: "index",
|
||||
setup(__props) {
|
||||
common_vendor.onLoad((e) => {
|
||||
var _a;
|
||||
(_a = BILL_collection_record_show_method.method) == null ? void 0 : _a.getShow(e == null ? void 0 : e.id);
|
||||
});
|
||||
return (_ctx, _cache) => {
|
||||
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y;
|
||||
return {
|
||||
a: common_vendor.p({
|
||||
title: "催缴类型",
|
||||
borderTop: true,
|
||||
value: (_c = (_b = (_a = common_vendor.unref(BILL_collection_record_show_model.useModel)) == null ? void 0 : _a.showData) == null ? void 0 : _b.value) == null ? void 0 : _c.task_name
|
||||
}),
|
||||
b: common_vendor.p({
|
||||
value: (_f = (_e = (_d = common_vendor.unref(BILL_collection_record_show_model.useModel)) == null ? void 0 : _d.showData) == null ? void 0 : _e.value) == null ? void 0 : _f.status,
|
||||
Enums: common_vendor.unref(gen_Enums.HouseCollectionTasksStatusEnum)
|
||||
}),
|
||||
c: common_vendor.n(`status_tag_${(_i = (_h = (_g = common_vendor.unref(BILL_collection_record_show_model.useModel)) == null ? void 0 : _g.showData) == null ? void 0 : _h.value) == null ? void 0 : _i.status}`),
|
||||
d: common_vendor.p({
|
||||
title: "状态",
|
||||
borderTop: true
|
||||
}),
|
||||
e: common_vendor.p({
|
||||
title: "发起人",
|
||||
borderTop: true,
|
||||
value: (_m = (_l = (_k = (_j = common_vendor.unref(BILL_collection_record_show_model.useModel)) == null ? void 0 : _j.showData) == null ? void 0 : _k.value) == null ? void 0 : _l.company_employee) == null ? void 0 : _m.name
|
||||
}),
|
||||
f: common_vendor.t((_q = common_vendor.unref(BILL_collection_record_show_method.method)) == null ? void 0 : _q.getShowChannel((_p = (_o = (_n = common_vendor.unref(BILL_collection_record_show_model.useModel)) == null ? void 0 : _n.showData) == null ? void 0 : _o.value) == null ? void 0 : _p.channel)),
|
||||
g: common_vendor.p({
|
||||
title: "通知方式",
|
||||
borderTop: true
|
||||
}),
|
||||
h: common_vendor.p({
|
||||
title: "创建时间",
|
||||
borderTop: true,
|
||||
value: (_t = (_s = (_r = common_vendor.unref(BILL_collection_record_show_model.useModel)) == null ? void 0 : _r.showData) == null ? void 0 : _s.value) == null ? void 0 : _t.created_at
|
||||
}),
|
||||
i: common_vendor.f((_w = (_v = (_u = common_vendor.unref(BILL_collection_record_show_model.useModel)) == null ? void 0 : _u.showData) == null ? void 0 : _v.value) == null ? void 0 : _w.channel, (i, index, i0) => {
|
||||
return {
|
||||
a: "0647cc96-6-" + i0,
|
||||
b: common_vendor.p({
|
||||
value: i,
|
||||
Enums: common_vendor.unref(gen_Enums.HouseCollectionTasksChannelEnum)
|
||||
}),
|
||||
c: `h_td_${index}`
|
||||
};
|
||||
}),
|
||||
j: common_vendor.f((_y = (_x = common_vendor.unref(BILL_collection_record_show_model.useModel)) == null ? void 0 : _x.showDataTable) == null ? void 0 : _y.value, (i, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(i == null ? void 0 : i.full_name),
|
||||
b: common_vendor.f(i == null ? void 0 : i.notify_info, (k, idx, i1) => {
|
||||
return common_vendor.e({
|
||||
a: (k == null ? void 0 : k.status) === "Notified"
|
||||
}, (k == null ? void 0 : k.status) === "Notified" ? {
|
||||
b: "0647cc96-7-" + i0 + "-" + i1,
|
||||
c: common_vendor.p({
|
||||
type: "checkbox",
|
||||
color: "#67C23A",
|
||||
size: "20"
|
||||
})
|
||||
} : (k == null ? void 0 : k.status) === "Failed" ? {
|
||||
e: "0647cc96-8-" + i0 + "-" + i1,
|
||||
f: common_vendor.p({
|
||||
type: "close",
|
||||
color: "#F89898",
|
||||
size: "20"
|
||||
})
|
||||
} : {
|
||||
g: "0647cc96-9-" + i0 + "-" + i1,
|
||||
h: common_vendor.p({
|
||||
type: "spinner-cycle",
|
||||
color: "#999",
|
||||
size: "20"
|
||||
})
|
||||
}, {
|
||||
d: (k == null ? void 0 : k.status) === "Failed",
|
||||
i: `td_${idx}`
|
||||
});
|
||||
}),
|
||||
c: `tr_${index}`
|
||||
};
|
||||
}),
|
||||
k: common_vendor.o(($event) => {
|
||||
var _a2, _b2, _c2;
|
||||
return common_vendor.unref(BILL_collection_record_show_method.method).getShow((_c2 = (_b2 = (_a2 = common_vendor.unref(BILL_collection_record_show_model.useModel)) == null ? void 0 : _a2.showData) == null ? void 0 : _b2.value) == null ? void 0 : _c2.id);
|
||||
})
|
||||
};
|
||||
};
|
||||
}
|
||||
});
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "/Users/zsq/Sources/github/2025property-pay/pay-employee/src/BILL/collection_record/show/index.vue"]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
9
dist/dev/mp-weixin/BILL/collection_record/show/index.json
vendored
Normal file
9
dist/dev/mp-weixin/BILL/collection_record/show/index.json
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"navigationBarTitleText": "催缴详情",
|
||||
"usingComponents": {
|
||||
"hs-cell": "../../../components/hs-cell/hs-cell",
|
||||
"hs-enum-tag": "../../../components/hs-enum-tag/hs-enum-tag",
|
||||
"uni-icons": "../../../uni_modules/uni-icons/components/uni-icons/uni-icons",
|
||||
"hs-refresh": "../../../components/hs-refresh/hs-refresh"
|
||||
}
|
||||
}
|
||||
1
dist/dev/mp-weixin/BILL/collection_record/show/index.wxml
vendored
Normal file
1
dist/dev/mp-weixin/BILL/collection_record/show/index.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<view class="collection_record_show"><view class="show_card"><hs-cell wx:if="{{a}}" u-i="0647cc96-0" bind:__l="__l" u-p="{{a}}"/><hs-cell wx:if="{{d}}" u-s="{{['d']}}" u-i="0647cc96-1" bind:__l="__l" u-p="{{d}}"><view class="{{c}}"><hs-enum-tag wx:if="{{b}}" u-i="0647cc96-2,0647cc96-1" bind:__l="__l" u-p="{{b}}"/></view></hs-cell><hs-cell wx:if="{{e}}" u-i="0647cc96-3" bind:__l="__l" u-p="{{e}}"/><hs-cell wx:if="{{g}}" u-s="{{['d']}}" u-i="0647cc96-4" bind:__l="__l" u-p="{{g}}">{{f}}</hs-cell><hs-cell wx:if="{{h}}" u-i="0647cc96-5" bind:__l="__l" u-p="{{h}}"/></view><view class="show_card card_table"><view class="head_title"> 催缴房屋 </view><view class="record_table"><view class="table_thead"><view class="td"> 房屋名称 </view><view wx:for="{{i}}" wx:for-item="i" wx:key="c" class="td"><hs-enum-tag wx:if="{{i.b}}" u-i="{{i.a}}" bind:__l="__l" u-p="{{i.b}}"/></view></view><view class="table_tbody"><view wx:for="{{j}}" wx:for-item="i" wx:key="c" class="table_tr"><view class="td">{{i.a}}</view><block wx:for="{{i.b}}" wx:for-item="k" wx:key="i"><view class="td"><uni-icons wx:if="{{k.a}}" u-i="{{k.b}}" bind:__l="__l" u-p="{{k.c}}"></uni-icons><uni-icons wx:elif="{{k.d}}" u-i="{{k.e}}" bind:__l="__l" u-p="{{k.f}}"></uni-icons><uni-icons wx:else u-i="{{k.g}}" bind:__l="__l" u-p="{{k.h||''}}"></uni-icons></view></block></view></view></view></view><hs-refresh bindonClick="{{k}}" u-i="0647cc96-10" bind:__l="__l"/></view>
|
||||
67
dist/dev/mp-weixin/BILL/collection_record/show/index.wxss
vendored
Normal file
67
dist/dev/mp-weixin/BILL/collection_record/show/index.wxss
vendored
Normal file
@ -0,0 +1,67 @@
|
||||
page {
|
||||
background-color: #f8f8f8;
|
||||
}
|
||||
.collection_record_show {
|
||||
padding-bottom: 150rpx;
|
||||
}
|
||||
.show_card {
|
||||
background-color: #fff;
|
||||
margin-bottom: 30rpx;
|
||||
padding: 0 30rpx;
|
||||
}
|
||||
.show_card .head_title {
|
||||
padding: 30rpx 0;
|
||||
color: #333;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
.card_table {
|
||||
padding-bottom: 30rpx;
|
||||
}
|
||||
.status_tag_Processing {
|
||||
color: #0082fa;
|
||||
}
|
||||
.status_tag_Completed {
|
||||
color: #67c23a;
|
||||
}
|
||||
.record_table {
|
||||
background-color: #f9fafb;
|
||||
border-radius: 10rpx;
|
||||
}
|
||||
.record_table .table_thead {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 25rpx 30rpx;
|
||||
color: #333;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
.record_table .table_thead .td {
|
||||
width: 120rpx;
|
||||
text-align: center;
|
||||
}
|
||||
.record_table .table_thead .td:first-child {
|
||||
flex: 1;
|
||||
text-align: left;
|
||||
}
|
||||
.record_table .table_tbody {
|
||||
border-top: 1rpx solid #eee;
|
||||
}
|
||||
.record_table .table_tbody .table_tr {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 25rpx 30rpx;
|
||||
color: #333;
|
||||
font-size: 26rpx;
|
||||
}
|
||||
.record_table .table_tbody .table_tr .td {
|
||||
width: 120rpx;
|
||||
text-align: center;
|
||||
}
|
||||
.record_table .table_tbody .table_tr .td:first-child {
|
||||
flex: 1;
|
||||
text-align: left;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
57
dist/dev/mp-weixin/BILL/collection_record/show/method.js
vendored
Normal file
57
dist/dev/mp-weixin/BILL/collection_record/show/method.js
vendored
Normal file
@ -0,0 +1,57 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../common/vendor.js");
|
||||
const common_libraries_apiLoading = require("../../../common/libraries/apiLoading.js");
|
||||
const gen_Apis = require("../../../gen/Apis.js");
|
||||
const BILL_collection_record_show_model = require("./model.js");
|
||||
const gen_Enums = require("../../../gen/Enums.js");
|
||||
const getList = () => {
|
||||
var _a, _b;
|
||||
gen_Apis.Apis.Collection.HouseCollectionTasks.List((_b = (_a = BILL_collection_record_show_model.useModel) == null ? void 0 : _a.formData) == null ? void 0 : _b.value).then((res) => {
|
||||
BILL_collection_record_show_model.useModel.dataList.value = [...BILL_collection_record_show_model.useModel.dataList.value, ...res == null ? void 0 : res.data];
|
||||
BILL_collection_record_show_model.useModel.meta.value = res == null ? void 0 : res.meta;
|
||||
console.log("登录", res == null ? void 0 : res.data);
|
||||
});
|
||||
};
|
||||
const getTaskRecords = (id) => {
|
||||
common_libraries_apiLoading.getApiLoading(gen_Apis.Apis.Collection.HouseCollectionRecords.GetTaskRecords, {
|
||||
collection_tasks_id: id
|
||||
}).then((res) => {
|
||||
BILL_collection_record_show_model.useModel.showDataTable.value = res == null ? void 0 : res.data;
|
||||
});
|
||||
};
|
||||
const method = {
|
||||
getList,
|
||||
changeTab(idx, e) {
|
||||
BILL_collection_record_show_model.useModel.tabCurrent.value = idx;
|
||||
BILL_collection_record_show_model.useModel.formData.value.status = e == null ? void 0 : e.value;
|
||||
BILL_collection_record_show_model.useModel.formData.value.page = 1;
|
||||
BILL_collection_record_show_model.useModel.dataList.value = [];
|
||||
getList();
|
||||
},
|
||||
load(e) {
|
||||
BILL_collection_record_show_model.useModel.formData.value.page = e == null ? void 0 : e.page;
|
||||
getList();
|
||||
},
|
||||
goDetail(e) {
|
||||
common_vendor.index.navigateTo({
|
||||
url: `/BILL/collection_record/show?id=${e == null ? void 0 : e.id}`
|
||||
});
|
||||
},
|
||||
getShow(id) {
|
||||
common_libraries_apiLoading.getApiLoading(gen_Apis.Apis.Collection.HouseCollectionTasks.Show, { id }).then((res) => {
|
||||
var _a;
|
||||
BILL_collection_record_show_model.useModel.showData.value = res == null ? void 0 : res.data;
|
||||
getTaskRecords((_a = res == null ? void 0 : res.data) == null ? void 0 : _a.id);
|
||||
});
|
||||
},
|
||||
getTaskRecords,
|
||||
getShowChannel(list) {
|
||||
let enums = "";
|
||||
list == null ? void 0 : list.map((key) => {
|
||||
var _a;
|
||||
enums += key ? `${(_a = gen_Enums.HouseCollectionTasksChannelEnum[key]) == null ? void 0 : _a.text} ` : "";
|
||||
});
|
||||
return enums;
|
||||
}
|
||||
};
|
||||
exports.method = method;
|
||||
12
dist/dev/mp-weixin/BILL/collection_record/show/model.js
vendored
Normal file
12
dist/dev/mp-weixin/BILL/collection_record/show/model.js
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../common/vendor.js");
|
||||
require("../../../common/libraries/day.js");
|
||||
const useModel = {
|
||||
formData: common_vendor.ref({ page: 1, status: "" }),
|
||||
dataList: common_vendor.ref([]),
|
||||
meta: common_vendor.ref({}),
|
||||
tabCurrent: common_vendor.ref(0),
|
||||
showData: common_vendor.ref({}),
|
||||
showDataTable: common_vendor.ref([])
|
||||
};
|
||||
exports.useModel = useModel;
|
||||
98
dist/dev/mp-weixin/BILL/information_template/components/PopupSubmitTemplate.js
vendored
Normal file
98
dist/dev/mp-weixin/BILL/information_template/components/PopupSubmitTemplate.js
vendored
Normal file
@ -0,0 +1,98 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../common/vendor.js");
|
||||
const common_libraries_apiLoading = require("../../../common/libraries/apiLoading.js");
|
||||
const gen_Apis = require("../../../gen/Apis.js");
|
||||
require("../../../common/libraries/request.js");
|
||||
require("../../../common/store/useWeAppAuthStore.js");
|
||||
require("../../../common/store/useWorkStore.js");
|
||||
if (!Array) {
|
||||
const _easycom_hs_button2 = common_vendor.resolveComponent("hs-button");
|
||||
const _easycom_hs_popup2 = common_vendor.resolveComponent("hs-popup");
|
||||
const _easycom_hs_footer2 = common_vendor.resolveComponent("hs-footer");
|
||||
(_easycom_hs_button2 + _easycom_hs_popup2 + _easycom_hs_footer2)();
|
||||
}
|
||||
const _easycom_hs_button = () => "../../../components/hs-button/hs-button.js";
|
||||
const _easycom_hs_popup = () => "../../../components/hs-popup/hs-popup.js";
|
||||
const _easycom_hs_footer = () => "../../../components/hs-footer/hs-footer.js";
|
||||
if (!Math) {
|
||||
(_easycom_hs_button + _easycom_hs_popup + _easycom_hs_footer)();
|
||||
}
|
||||
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
__name: "PopupSubmitTemplate",
|
||||
props: ["formData", "type"],
|
||||
setup(__props) {
|
||||
const props = __props;
|
||||
const show = common_vendor.ref(false);
|
||||
const show_submit = common_vendor.ref(false);
|
||||
const handleSubmitClick = () => {
|
||||
var _a;
|
||||
console.log(props == null ? void 0 : props.type, "type");
|
||||
if (!((_a = props == null ? void 0 : props.type) == null ? void 0 : _a.length)) {
|
||||
common_vendor.index.showToast({
|
||||
title: "请选择通知方式!",
|
||||
icon: "none"
|
||||
});
|
||||
return;
|
||||
}
|
||||
show.value = !show.value;
|
||||
};
|
||||
const handleBack = () => {
|
||||
common_vendor.index.navigateBack({ delta: 1 });
|
||||
};
|
||||
const handleSubmitHouseCollectionTasks = () => {
|
||||
common_libraries_apiLoading.getApiLoading(gen_Apis.Apis.Collection.HouseCollectionTasks.Store, {
|
||||
...props.formData,
|
||||
channel: props.type
|
||||
}).then((res) => {
|
||||
show.value = false;
|
||||
show_submit.value = true;
|
||||
});
|
||||
};
|
||||
const handleQuery = () => {
|
||||
common_vendor.index.redirectTo({
|
||||
url: "/BILL/collection_record/index/index"
|
||||
});
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
var _a, _b;
|
||||
return {
|
||||
a: common_vendor.t((_b = (_a = props == null ? void 0 : props.formData) == null ? void 0 : _a.houses) == null ? void 0 : _b.length),
|
||||
b: common_vendor.o(handleSubmitHouseCollectionTasks),
|
||||
c: common_vendor.p({
|
||||
label: "确认提交",
|
||||
size: "md",
|
||||
type: "primary"
|
||||
}),
|
||||
d: common_vendor.o(handleSubmitClick),
|
||||
e: common_vendor.p({
|
||||
show: show.value,
|
||||
mode: "center",
|
||||
round: 15,
|
||||
closeable: true
|
||||
}),
|
||||
f: common_vendor.o(handleSubmitClick),
|
||||
g: common_vendor.p({
|
||||
btnParimaryName: "提交"
|
||||
}),
|
||||
h: common_vendor.o(handleBack),
|
||||
i: common_vendor.p({
|
||||
label: "返回欠费列表",
|
||||
size: "md",
|
||||
type: "default"
|
||||
}),
|
||||
j: common_vendor.o(handleQuery),
|
||||
k: common_vendor.p({
|
||||
label: "查看任务详情",
|
||||
size: "md"
|
||||
}),
|
||||
l: common_vendor.p({
|
||||
show: show_submit.value,
|
||||
mode: "center",
|
||||
round: 15
|
||||
})
|
||||
};
|
||||
};
|
||||
}
|
||||
});
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-ddb79a06"], ["__file", "/Users/zsq/Sources/github/2025property-pay/pay-employee/src/BILL/information_template/components/PopupSubmitTemplate.vue"]]);
|
||||
wx.createComponent(Component);
|
||||
8
dist/dev/mp-weixin/BILL/information_template/components/PopupSubmitTemplate.json
vendored
Normal file
8
dist/dev/mp-weixin/BILL/information_template/components/PopupSubmitTemplate.json
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"hs-button": "../../../components/hs-button/hs-button",
|
||||
"hs-popup": "../../../components/hs-popup/hs-popup",
|
||||
"hs-footer": "../../../components/hs-footer/hs-footer"
|
||||
}
|
||||
}
|
||||
1
dist/dev/mp-weixin/BILL/information_template/components/PopupSubmitTemplate.wxml
vendored
Normal file
1
dist/dev/mp-weixin/BILL/information_template/components/PopupSubmitTemplate.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<view class="data-v-ddb79a06"><hs-popup wx:if="{{e}}" class="data-v-ddb79a06" u-s="{{['d']}}" bindclose="{{d}}" u-i="ddb79a06-0" bind:__l="__l" u-p="{{e}}"><view class="popup_content data-v-ddb79a06"><view class="popup_title data-v-ddb79a06"> 确认提交 </view><view class="popup_subtitle data-v-ddb79a06"> 发送摘要 </view><view class="popup_card data-v-ddb79a06"><view class="popup_card_cell data-v-ddb79a06"> 发送房屋数量 <text class="data-v-ddb79a06">{{a}}户 </text></view></view><view class="popup_subtitle data-v-ddb79a06"> 公众号/小程序通知内容预览 </view><view class="popup_card popup_card_primary data-v-ddb79a06"> 【XX物业】您名下房产存在待缴账单,可点击详情缴纳。如已缴费请忽略。 </view><view class="popup_subtitle data-v-ddb79a06"> 企微批量发送内容预览 </view><view class="enterprise_wechat_content enterprise_wechat_content_popup data-v-ddb79a06"><view class="enterprise_wechat data-v-ddb79a06"><view class="cover_img data-v-ddb79a06"><image class=" data-v-ddb79a06" src="https://pay-prod-1369486729.cos.ap-guangzhou.myqcloud.com/uploads/cs-test/01K5B5RY2TQQAJ1GT2RZSK426V.jpg" mode="heightFix" lazy-load="false"/></view><view class="label data-v-ddb79a06"> 您的物业费账单已生成,请点击此处进行缴费! </view></view></view><view class="popup_footer_value data-v-ddb79a06"><hs-button wx:if="{{c}}" class="data-v-ddb79a06" bindclick="{{b}}" u-i="ddb79a06-1,ddb79a06-0" bind:__l="__l" u-p="{{c}}"/></view></view></hs-popup><hs-footer wx:if="{{g}}" class="data-v-ddb79a06" bindhandleParmaryClick="{{f}}" u-i="ddb79a06-2" bind:__l="__l" u-p="{{g}}"/><hs-popup wx:if="{{l}}" class="data-v-ddb79a06" u-s="{{['d']}}" u-i="ddb79a06-3" bind:__l="__l" u-p="{{l}}"><view class="popup_content data-v-ddb79a06"><view class="popup_title data-v-ddb79a06"> 提交成功 </view><view class="popup_icon data-v-ddb79a06"><image class="data-v-ddb79a06" src="https://jyw-dev-1322946948.cos.ap-guangzhou.myqcloud.com/uploads/cs-test/01K2KMD0BCXFS2BW4STQAYRZC4.png" mode="heightFix"/></view><view class="popup_submit_name data-v-ddb79a06"> 提交成功,任务正在处理中! </view><view class="popup_submit_path data-v-ddb79a06"> 您可随时前往【首页 > 催缴记录】查看任务。 </view><view class="popup_footer data-v-ddb79a06"><view class="btn data-v-ddb79a06"><hs-button wx:if="{{i}}" class="data-v-ddb79a06" bindclick="{{h}}" u-i="ddb79a06-4,ddb79a06-3" bind:__l="__l" u-p="{{i}}"/></view><view class="btn data-v-ddb79a06"><hs-button wx:if="{{k}}" class="data-v-ddb79a06" bindclick="{{j}}" u-i="ddb79a06-5,ddb79a06-3" bind:__l="__l" u-p="{{k}}"/></view></view></view></hs-popup></view>
|
||||
73
dist/dev/mp-weixin/BILL/information_template/components/PopupSubmitTemplate.wxss
vendored
Normal file
73
dist/dev/mp-weixin/BILL/information_template/components/PopupSubmitTemplate.wxss
vendored
Normal file
@ -0,0 +1,73 @@
|
||||
.popup_content.data-v-ddb79a06 {
|
||||
background-color: #fff;
|
||||
width: 94vw;
|
||||
border-radius: 15px;
|
||||
overflow: hidden;
|
||||
padding-bottom: 30rpx;
|
||||
}
|
||||
.popup_content .popup_title.data-v-ddb79a06 {
|
||||
padding: 30rpx 0;
|
||||
text-align: center;
|
||||
font-size: 38rpx;
|
||||
}
|
||||
.popup_content .popup_subtitle.data-v-ddb79a06 {
|
||||
color: #333;
|
||||
padding: 40rpx 30rpx 20rpx 30rpx;
|
||||
font-size: 30rpx;
|
||||
font-weight: 550;
|
||||
}
|
||||
.popup_content .popup_card.data-v-ddb79a06 {
|
||||
background-color: #f9fafb;
|
||||
padding: 30rpx 30rpx 10rpx 30rpx;
|
||||
margin: 0 30rpx;
|
||||
border-radius: 10rpx;
|
||||
}
|
||||
.popup_content .popup_card .popup_card_cell.data-v-ddb79a06 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding-bottom: 20rpx;
|
||||
color: #333;
|
||||
font-size: 30rpx;
|
||||
}
|
||||
.popup_content .popup_card_primary.data-v-ddb79a06 {
|
||||
color: #333;
|
||||
font-size: 28rpx;
|
||||
padding-bottom: 30rpx;
|
||||
}
|
||||
.popup_content .popup_icon.data-v-ddb79a06 {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
padding: 30rpx 0;
|
||||
}
|
||||
.popup_content .popup_icon image.data-v-ddb79a06 {
|
||||
width: 284rpx;
|
||||
height: 200rpx;
|
||||
}
|
||||
.popup_content .popup_submit_name.data-v-ddb79a06 {
|
||||
text-align: center;
|
||||
color: #3d3d3d;
|
||||
font-size: 32rpx;
|
||||
}
|
||||
.popup_content .popup_submit_path.data-v-ddb79a06 {
|
||||
text-align: center;
|
||||
color: #666;
|
||||
font-size: 28rpx;
|
||||
padding: 10rpx 0 30rpx 0;
|
||||
}
|
||||
.popup_footer_value.data-v-ddb79a06 {
|
||||
padding: 40rpx 30rpx 10rpx 30rpx;
|
||||
}
|
||||
.popup_footer.data-v-ddb79a06 {
|
||||
padding: 30rpx 30rpx 0 30rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 30rpx 30rpx 20rpx 30rpx;
|
||||
}
|
||||
.popup_footer .btn.data-v-ddb79a06 {
|
||||
width: 48%;
|
||||
}
|
||||
.enterprise_wechat_content_popup.data-v-ddb79a06 {
|
||||
margin: 0 30rpx;
|
||||
}
|
||||
83
dist/dev/mp-weixin/BILL/information_template/index.js
vendored
Normal file
83
dist/dev/mp-weixin/BILL/information_template/index.js
vendored
Normal file
@ -0,0 +1,83 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const BILL_information_template_method = require("./method.js");
|
||||
const BILL_information_template_model = require("./model.js");
|
||||
require("../../common/libraries/day.js");
|
||||
if (!Array) {
|
||||
const _easycom_up_icon2 = common_vendor.resolveComponent("up-icon");
|
||||
const _easycom_uni_icons2 = common_vendor.resolveComponent("uni-icons");
|
||||
(_easycom_up_icon2 + _easycom_uni_icons2)();
|
||||
}
|
||||
const _easycom_up_icon = () => "../../node-modules/uview-plus/components/u-icon/u-icon.js";
|
||||
const _easycom_uni_icons = () => "../../uni_modules/uni-icons/components/uni-icons/uni-icons.js";
|
||||
if (!Math) {
|
||||
(_easycom_up_icon + _easycom_uni_icons + MyPopupSubmitTemplate)();
|
||||
}
|
||||
const MyPopupSubmitTemplate = () => "./components/PopupSubmitTemplate.js";
|
||||
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
__name: "index",
|
||||
setup(__props) {
|
||||
common_vendor.onShow(() => {
|
||||
var _a;
|
||||
(_a = BILL_information_template_method.method) == null ? void 0 : _a.handleInit();
|
||||
});
|
||||
common_vendor.onLoad((e) => {
|
||||
BILL_information_template_model.useModel.formData.value = {
|
||||
houses: (e == null ? void 0 : e.data) ? JSON.parse(e == null ? void 0 : e.data) : []
|
||||
};
|
||||
});
|
||||
return (_ctx, _cache) => {
|
||||
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
|
||||
return common_vendor.e({
|
||||
a: common_vendor.p({
|
||||
name: "error-circle",
|
||||
size: "19",
|
||||
color: "#2d75ff"
|
||||
}),
|
||||
b: common_vendor.f((_b = (_a = common_vendor.unref(BILL_information_template_model.useModel)) == null ? void 0 : _a.selectType) == null ? void 0 : _b.value, (i, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.t(i == null ? void 0 : i.label),
|
||||
b: i == null ? void 0 : i.tab
|
||||
}, (i == null ? void 0 : i.tab) ? {
|
||||
c: common_vendor.t(i == null ? void 0 : i.tab)
|
||||
} : {}, {
|
||||
d: i == null ? void 0 : i.is_select
|
||||
}, (i == null ? void 0 : i.is_select) ? {
|
||||
e: "57161569-1-" + i0,
|
||||
f: common_vendor.p({
|
||||
type: "checkbox-filled",
|
||||
size: "20",
|
||||
color: "#0082FA"
|
||||
})
|
||||
} : {
|
||||
g: "57161569-2-" + i0,
|
||||
h: common_vendor.p({
|
||||
type: "circle",
|
||||
size: "20",
|
||||
color: "#999"
|
||||
})
|
||||
}, {
|
||||
i: common_vendor.t(i == null ? void 0 : i.des),
|
||||
j: i == null ? void 0 : i.subDes
|
||||
}, (i == null ? void 0 : i.subDes) ? {
|
||||
k: common_vendor.t(i == null ? void 0 : i.subDes)
|
||||
} : {}, {
|
||||
l: `items_${index}`,
|
||||
m: common_vendor.o(($event) => {
|
||||
var _a2;
|
||||
return (_a2 = common_vendor.unref(BILL_information_template_method.method)) == null ? void 0 : _a2.handleSelect(index, i);
|
||||
}, `items_${index}`)
|
||||
});
|
||||
}),
|
||||
c: (_e = (_d = (_c = common_vendor.unref(BILL_information_template_model.useModel)) == null ? void 0 : _c.selectEdType) == null ? void 0 : _d.value) == null ? void 0 : _e.length
|
||||
}, ((_h = (_g = (_f = common_vendor.unref(BILL_information_template_model.useModel)) == null ? void 0 : _f.selectEdType) == null ? void 0 : _g.value) == null ? void 0 : _h.length) ? {} : {}, {
|
||||
d: common_vendor.p({
|
||||
formData: (_j = (_i = common_vendor.unref(BILL_information_template_model.useModel)) == null ? void 0 : _i.formData) == null ? void 0 : _j.value,
|
||||
type: (_l = (_k = common_vendor.unref(BILL_information_template_model.useModel)) == null ? void 0 : _k.selectEdType) == null ? void 0 : _l.value
|
||||
})
|
||||
});
|
||||
};
|
||||
}
|
||||
});
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "/Users/zsq/Sources/github/2025property-pay/pay-employee/src/BILL/information_template/index.vue"]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
8
dist/dev/mp-weixin/BILL/information_template/index.json
vendored
Normal file
8
dist/dev/mp-weixin/BILL/information_template/index.json
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"navigationBarTitleText": "选择信息模版",
|
||||
"usingComponents": {
|
||||
"up-icon": "../../node-modules/uview-plus/components/u-icon/u-icon",
|
||||
"uni-icons": "../../uni_modules/uni-icons/components/uni-icons/uni-icons",
|
||||
"my-popup-submit-template": "./components/PopupSubmitTemplate"
|
||||
}
|
||||
}
|
||||
1
dist/dev/mp-weixin/BILL/information_template/index.wxml
vendored
Normal file
1
dist/dev/mp-weixin/BILL/information_template/index.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<view class="information_template"><view class="information_head"><up-icon wx:if="{{a}}" u-i="57161569-0" bind:__l="__l" u-p="{{a}}"/><text> 通知对象默认为常用联系人,如无则通知产权人 </text></view><view class="information_template_card"><view class="card_head_info"><view class="border_left"></view> 请选择通知方式 </view><view wx:for="{{b}}" wx:for-item="i" wx:key="l" class="card_select_cell" bindtap="{{i.m}}"><view class="cell_title"><view class="sending_message">{{i.a}} <text wx:if="{{i.b}}">{{i.c}}</text></view><uni-icons wx:if="{{i.d}}" u-i="{{i.e}}" bind:__l="__l" u-p="{{i.f}}"></uni-icons><uni-icons wx:else u-i="{{i.g}}" bind:__l="__l" u-p="{{i.h||''}}"></uni-icons></view><view class="cell_des">{{i.i}} <text wx:if="{{i.j}}">{{i.k}}</text></view></view><view wx:if="{{c}}" class="template_info"><view class="template_info_item"><view class="label"> 公众号/小程序通知内容预览 </view><view class="template_info_text"> 【XX物业】您名下房产存在待缴账单,可点击详情缴纳。如已缴费请忽略。 </view></view><view class="template_info_item"><view class="label"> 企微批量发送内容预览 </view><view class="enterprise_wechat_content"><view class="enterprise_wechat"><view class="cover_img"><image class="" src="https://pay-prod-1369486729.cos.ap-guangzhou.myqcloud.com/uploads/cs-test/01K5B5RY2TQQAJ1GT2RZSK426V.jpg" mode="heightFix" lazy-load="false"/></view><view class="label"> 您的物业费账单已生成,请点击此处进行缴费! </view></view></view></view></view></view><my-popup-submit-template wx:if="{{d}}" u-i="57161569-3" bind:__l="__l" u-p="{{d}}"/></view>
|
||||
116
dist/dev/mp-weixin/BILL/information_template/index.wxss
vendored
Normal file
116
dist/dev/mp-weixin/BILL/information_template/index.wxss
vendored
Normal file
@ -0,0 +1,116 @@
|
||||
page {
|
||||
background-color: #f8f8f8;
|
||||
}
|
||||
.information_template {
|
||||
padding-bottom: calc(150rpx + constant(safe-area-inset-bottom));
|
||||
padding-bottom: calc(150rpx + env(safe-area-inset-bottom));
|
||||
}
|
||||
.information_head {
|
||||
background-color: #f0f6fe;
|
||||
padding: 30rpx;
|
||||
margin: 30rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: #0082fa;
|
||||
font-size: 28rpx;
|
||||
border-radius: 10rpx;
|
||||
}
|
||||
.information_head text {
|
||||
padding-left: 10rpx;
|
||||
}
|
||||
.information_template_card {
|
||||
background-color: #fff;
|
||||
border-radius: 10rpx;
|
||||
margin: 0 30rpx;
|
||||
padding: 0 30rpx 10rpx 30rpx;
|
||||
}
|
||||
.information_template_card .card_head_info {
|
||||
color: #3d3d3d;
|
||||
padding: 30rpx 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.information_template_card .card_head_info .border_left {
|
||||
height: 35rpx;
|
||||
width: 8rpx;
|
||||
background-color: #0082fa;
|
||||
margin-right: 10rpx;
|
||||
}
|
||||
.information_template_card .card_select_cell {
|
||||
border: 1rpx solid #eee;
|
||||
border-radius: 10rpx;
|
||||
padding: 30rpx;
|
||||
margin-bottom: 30rpx;
|
||||
}
|
||||
.information_template_card .card_select_cell .cell_title {
|
||||
color: #333;
|
||||
font-size: 30rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
font-weight: 550;
|
||||
}
|
||||
.information_template_card .card_select_cell .cell_title .sending_message {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.information_template_card .card_select_cell .cell_title .sending_message text {
|
||||
background-color: #eee;
|
||||
color: #df3600;
|
||||
font-size: 24rpx;
|
||||
border-radius: 5rpx;
|
||||
margin-left: 20rpx;
|
||||
padding: 5rpx 10rpx;
|
||||
}
|
||||
.information_template_card .cell_des {
|
||||
color: #333;
|
||||
font-size: 24rpx;
|
||||
padding-top: 10rpx;
|
||||
}
|
||||
.information_template_card .cell_des text {
|
||||
color: #999;
|
||||
}
|
||||
.template_info {
|
||||
border-top: 1rpx solid #eee;
|
||||
}
|
||||
.template_info .template_info_item {
|
||||
margin: 30rpx 0;
|
||||
}
|
||||
.template_info .template_info_item .label {
|
||||
color: #333;
|
||||
font-size: 28rpx;
|
||||
font-weight: 500;
|
||||
padding-bottom: 20rpx;
|
||||
}
|
||||
.template_info .template_info_item .template_info_text {
|
||||
background-color: #f9fafb;
|
||||
margin: 0 0 20rpx 0;
|
||||
padding: 20rpx 30rpx;
|
||||
color: #333;
|
||||
border-radius: 10rpx;
|
||||
font-size: 24rpx;
|
||||
}
|
||||
.enterprise_wechat_content {
|
||||
background-color: #f9fafb;
|
||||
padding: 20rpx;
|
||||
border-radius: 10rpx;
|
||||
}
|
||||
.enterprise_wechat {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
background-color: #fff;
|
||||
padding: 20rpx;
|
||||
border-radius: 10rpx;
|
||||
}
|
||||
.enterprise_wechat .cover_img, .enterprise_wechat image {
|
||||
width: 100rpx;
|
||||
height: 100rpx;
|
||||
overflow: hidden;
|
||||
}
|
||||
.enterprise_wechat .label {
|
||||
font-size: 28rpx;
|
||||
padding-left: 30rpx;
|
||||
line-height: 40rpx;
|
||||
flex: 1;
|
||||
font-weight: 400;
|
||||
}
|
||||
43
dist/dev/mp-weixin/BILL/information_template/method.js
vendored
Normal file
43
dist/dev/mp-weixin/BILL/information_template/method.js
vendored
Normal file
@ -0,0 +1,43 @@
|
||||
"use strict";
|
||||
const BILL_information_template_model = require("./model.js");
|
||||
const method = {
|
||||
handleSelect(idx, e) {
|
||||
var _a, _b, _c, _d;
|
||||
let arr = [];
|
||||
let is = (_c = (_b = (_a = BILL_information_template_model.useModel) == null ? void 0 : _a.selectType) == null ? void 0 : _b.value[idx]) == null ? void 0 : _c.is_select;
|
||||
BILL_information_template_model.useModel.selectType.value[idx].is_select = !is;
|
||||
(_d = BILL_information_template_model.useModel.selectType.value) == null ? void 0 : _d.map((res) => {
|
||||
if (res == null ? void 0 : res.is_select) {
|
||||
arr == null ? void 0 : arr.push(e == null ? void 0 : e.type);
|
||||
}
|
||||
});
|
||||
BILL_information_template_model.useModel.selectEdType.value = arr;
|
||||
console.log(idx, "e");
|
||||
},
|
||||
handleInit() {
|
||||
BILL_information_template_model.useModel.selectEdType.value = ["SMS", "MiniProgram", "OfficialAccount"];
|
||||
BILL_information_template_model.useModel.selectType.value = [
|
||||
{
|
||||
label: "小程序催缴通知",
|
||||
des: "覆盖范围:仅限完成小程序订阅授权且保持通知开启状态的客户。",
|
||||
is_select: true,
|
||||
type: "MiniProgram"
|
||||
},
|
||||
{
|
||||
label: "公众号催缴通知",
|
||||
des: "覆盖范围:限定已关注物业服务公众号的客户。",
|
||||
is_select: true,
|
||||
type: "OfficialAccount"
|
||||
},
|
||||
{
|
||||
label: "发送短信通知",
|
||||
des: "该方式实现近100%客户触达",
|
||||
subDes: "(注:需号码状态正常且未设置短信拦截)",
|
||||
tab: "100%触达",
|
||||
is_select: true,
|
||||
type: "SMS"
|
||||
}
|
||||
];
|
||||
}
|
||||
};
|
||||
exports.method = method;
|
||||
10
dist/dev/mp-weixin/BILL/information_template/model.js
vendored
Normal file
10
dist/dev/mp-weixin/BILL/information_template/model.js
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
require("../../common/libraries/day.js");
|
||||
const useModel = {
|
||||
formData: common_vendor.ref({}),
|
||||
tasksChannelEnum: common_vendor.ref([]),
|
||||
selectEdType: common_vendor.ref([]),
|
||||
selectType: common_vendor.ref([])
|
||||
};
|
||||
exports.useModel = useModel;
|
||||
95
dist/dev/mp-weixin/BILL/outstanding_fee/add/index.js
vendored
Normal file
95
dist/dev/mp-weixin/BILL/outstanding_fee/add/index.js
vendored
Normal file
@ -0,0 +1,95 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../common/vendor.js");
|
||||
const common_libraries_naviHelper = require("../../../common/libraries/naviHelper.js");
|
||||
const BILL_outstanding_fee_add_model = require("./model.js");
|
||||
const common_libraries_apiLoading = require("../../../common/libraries/apiLoading.js");
|
||||
const gen_Apis = require("../../../gen/Apis.js");
|
||||
require("../../../common/libraries/day.js");
|
||||
require("../../../common/libraries/request.js");
|
||||
require("../../../common/store/useWeAppAuthStore.js");
|
||||
require("../../../common/store/useWorkStore.js");
|
||||
if (!Array) {
|
||||
const _easycom_up_icon2 = common_vendor.resolveComponent("up-icon");
|
||||
const _easycom_uni_icons2 = common_vendor.resolveComponent("uni-icons");
|
||||
const _easycom_hs_footer2 = common_vendor.resolveComponent("hs-footer");
|
||||
(_easycom_up_icon2 + _easycom_uni_icons2 + _easycom_hs_footer2)();
|
||||
}
|
||||
const _easycom_up_icon = () => "../../../node-modules/uview-plus/components/u-icon/u-icon.js";
|
||||
const _easycom_uni_icons = () => "../../../uni_modules/uni-icons/components/uni-icons/uni-icons.js";
|
||||
const _easycom_hs_footer = () => "../../../components/hs-footer/hs-footer.js";
|
||||
if (!Math) {
|
||||
(MyCollectionMethods + _easycom_up_icon + _easycom_uni_icons + MyCollectionResult + _easycom_hs_footer)();
|
||||
}
|
||||
const MyCollectionMethods = () => "../components/CollectionMethods.js";
|
||||
const MyCollectionResult = () => "../components/CollectionResult.js";
|
||||
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
__name: "index",
|
||||
setup(__props) {
|
||||
const onShowToast = (label) => {
|
||||
common_vendor.index.showToast({
|
||||
title: label || "",
|
||||
icon: "none"
|
||||
});
|
||||
return;
|
||||
};
|
||||
const handleChange = (e) => {
|
||||
var _a;
|
||||
BILL_outstanding_fee_add_model.useModel.formData.value.notified_time = (_a = e == null ? void 0 : e.detail) == null ? void 0 : _a.value;
|
||||
console.log(e);
|
||||
};
|
||||
const handleSubmit = () => {
|
||||
let data = BILL_outstanding_fee_add_model.useModel.formData.value;
|
||||
if (!(data == null ? void 0 : data.channel)) {
|
||||
return onShowToast("请选择催缴方式!");
|
||||
}
|
||||
if (!(data == null ? void 0 : data.notified_time)) {
|
||||
return onShowToast("请选择催缴时间!");
|
||||
}
|
||||
if (!(data == null ? void 0 : data.collection_result)) {
|
||||
return onShowToast("请选择催缴结果!");
|
||||
}
|
||||
common_libraries_apiLoading.getApiLoading(gen_Apis.Apis.Collection.HouseCollectionRecords.Store, BILL_outstanding_fee_add_model.useModel.formData.value).then((res) => {
|
||||
common_libraries_naviHelper.showToastBack("提交成功", 1, true);
|
||||
});
|
||||
console.log(data);
|
||||
};
|
||||
common_vendor.onLoad((e) => {
|
||||
BILL_outstanding_fee_add_model.useModel.formData.value = { total_unpaid_amount: e == null ? void 0 : e.amount, asset_houses_id: e == null ? void 0 : e.id };
|
||||
});
|
||||
return (_ctx, _cache) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.o(($event) => common_vendor.unref(BILL_outstanding_fee_add_model.useModel).formData.value.channel = $event),
|
||||
b: common_vendor.p({
|
||||
valueModel: common_vendor.unref(BILL_outstanding_fee_add_model.useModel).formData.value.channel
|
||||
}),
|
||||
c: common_vendor.p({
|
||||
name: "calendar",
|
||||
color: "#C4C4C4",
|
||||
size: "26"
|
||||
}),
|
||||
d: common_vendor.unref(BILL_outstanding_fee_add_model.useModel).formData.value.notified_time
|
||||
}, common_vendor.unref(BILL_outstanding_fee_add_model.useModel).formData.value.notified_time ? {
|
||||
e: common_vendor.t(common_vendor.unref(BILL_outstanding_fee_add_model.useModel).formData.value.notified_time || "请选择通知时间")
|
||||
} : {}, {
|
||||
f: common_vendor.p({
|
||||
type: "right",
|
||||
size: "15",
|
||||
color: "#333"
|
||||
}),
|
||||
g: common_vendor.o(handleChange),
|
||||
h: common_vendor.o(($event) => common_vendor.unref(BILL_outstanding_fee_add_model.useModel).formData.value.collection_result = $event),
|
||||
i: common_vendor.p({
|
||||
valueModel: common_vendor.unref(BILL_outstanding_fee_add_model.useModel).formData.value.collection_result
|
||||
}),
|
||||
j: common_vendor.unref(BILL_outstanding_fee_add_model.useModel).formData.value.collection_content,
|
||||
k: common_vendor.o(($event) => common_vendor.unref(BILL_outstanding_fee_add_model.useModel).formData.value.collection_content = $event.detail.value),
|
||||
l: common_vendor.o(handleSubmit),
|
||||
m: common_vendor.p({
|
||||
btnParimaryName: "提交"
|
||||
})
|
||||
});
|
||||
};
|
||||
}
|
||||
});
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "/Users/zsq/Sources/github/2025property-pay/pay-employee/src/BILL/outstanding_fee/add/index.vue"]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
10
dist/dev/mp-weixin/BILL/outstanding_fee/add/index.json
vendored
Normal file
10
dist/dev/mp-weixin/BILL/outstanding_fee/add/index.json
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
{
|
||||
"navigationBarTitleText": "新增催缴记录",
|
||||
"usingComponents": {
|
||||
"up-icon": "../../../node-modules/uview-plus/components/u-icon/u-icon",
|
||||
"uni-icons": "../../../uni_modules/uni-icons/components/uni-icons/uni-icons",
|
||||
"hs-footer": "../../../components/hs-footer/hs-footer",
|
||||
"my-collection-methods": "../components/CollectionMethods",
|
||||
"my-collection-result": "../components/CollectionResult"
|
||||
}
|
||||
}
|
||||
1
dist/dev/mp-weixin/BILL/outstanding_fee/add/index.wxml
vendored
Normal file
1
dist/dev/mp-weixin/BILL/outstanding_fee/add/index.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<view class="outstanding_fee_add"><view class="page_title"> 催缴方式 <text> * </text></view><my-collection-methods wx:if="{{b}}" u-i="5f339866-0" bind:__l="__l" bindupdateValueModel="{{a}}" u-p="{{b}}"/><view class="page_title"> 催缴时间 <text> * </text></view><picker bindchange="{{g}}" mode="date"><view class="select_day"><view class="select_day_content"><up-icon wx:if="{{c}}" u-i="5f339866-1" bind:__l="__l" u-p="{{c}}"></up-icon><text wx:if="{{d}}">{{e}}</text><text wx:else class="placeholder"> 请选择通知时间 </text></view><uni-icons wx:if="{{f}}" u-i="5f339866-2" bind:__l="__l" u-p="{{f}}"></uni-icons></view></picker><view class="page_title"> 催缴结果 <text> * </text></view><my-collection-result wx:if="{{i}}" u-i="5f339866-3" bind:__l="__l" bindupdateValueModel="{{h}}" u-p="{{i}}"/><view class="page_title"> 催缴内容 </view><view class="add_textarea"><block wx:if="{{r0}}"><textarea placeholder="请详细描述催缴过程和沟通内容" value="{{j}}" bindinput="{{k}}"></textarea></block></view><hs-footer wx:if="{{m}}" bindhandleParmaryClick="{{l}}" u-i="5f339866-4" bind:__l="__l" u-p="{{m}}"/></view>
|
||||
45
dist/dev/mp-weixin/BILL/outstanding_fee/add/index.wxss
vendored
Normal file
45
dist/dev/mp-weixin/BILL/outstanding_fee/add/index.wxss
vendored
Normal file
@ -0,0 +1,45 @@
|
||||
page {
|
||||
background-color: #f8f8f8;
|
||||
}
|
||||
.outstanding_fee_add {
|
||||
padding-bottom: calc(150rpx + constant(safe-area-inset-bottom));
|
||||
padding-bottom: calc(150rpx + env(safe-area-inset-bottom));
|
||||
}
|
||||
.page_title {
|
||||
padding: 30rpx 30rpx 0 30rpx;
|
||||
color: #333;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
.page_title text {
|
||||
color: #f00;
|
||||
}
|
||||
.select_day {
|
||||
margin: 30rpx 30rpx 0 30rpx;
|
||||
padding: 25rpx 30rpx;
|
||||
background-color: #fff;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
border-radius: 15rpx;
|
||||
font-size: 28rpx;
|
||||
color: #333;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.select_day .select_day_content {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.select_day text {
|
||||
padding-left: 6rpx;
|
||||
}
|
||||
.select_day .placeholder {
|
||||
color: #999;
|
||||
}
|
||||
.add_textarea {
|
||||
margin: 30rpx 30rpx 0 30rpx;
|
||||
background-color: #fff;
|
||||
padding: 25rpx;
|
||||
border-radius: 15rpx;
|
||||
}
|
||||
.add_textarea textarea {
|
||||
height: 200rpx;
|
||||
}
|
||||
7
dist/dev/mp-weixin/BILL/outstanding_fee/add/model.js
vendored
Normal file
7
dist/dev/mp-weixin/BILL/outstanding_fee/add/model.js
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../common/vendor.js");
|
||||
require("../../../common/libraries/day.js");
|
||||
const useModel = {
|
||||
formData: common_vendor.ref({})
|
||||
};
|
||||
exports.useModel = useModel;
|
||||
91
dist/dev/mp-weixin/BILL/outstanding_fee/components/CollectionMethods.js
vendored
Normal file
91
dist/dev/mp-weixin/BILL/outstanding_fee/components/CollectionMethods.js
vendored
Normal file
@ -0,0 +1,91 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../common/vendor.js");
|
||||
if (!Array) {
|
||||
const _easycom_up_icon2 = common_vendor.resolveComponent("up-icon");
|
||||
const _easycom_uni_icons2 = common_vendor.resolveComponent("uni-icons");
|
||||
(_easycom_up_icon2 + _easycom_uni_icons2)();
|
||||
}
|
||||
const _easycom_up_icon = () => "../../../node-modules/uview-plus/components/u-icon/u-icon.js";
|
||||
const _easycom_uni_icons = () => "../../../uni_modules/uni-icons/components/uni-icons/uni-icons.js";
|
||||
if (!Math) {
|
||||
(_easycom_up_icon + _easycom_uni_icons)();
|
||||
}
|
||||
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
__name: "CollectionMethods",
|
||||
props: ["valueModel"],
|
||||
emits: ["update:valueModel"],
|
||||
setup(__props, { emit }) {
|
||||
const props = __props;
|
||||
const valueModel = common_vendor.ref("");
|
||||
const handleSelect = (e) => {
|
||||
valueModel.value = e == null ? void 0 : e.type;
|
||||
emit("update:valueModel", e == null ? void 0 : e.type);
|
||||
};
|
||||
const list = [
|
||||
{
|
||||
label: "电话催缴",
|
||||
des: "直接电话联系",
|
||||
type: "PhoneCall",
|
||||
icon: "phone",
|
||||
color: "#00B75F"
|
||||
},
|
||||
{
|
||||
label: "上门催缴",
|
||||
des: "实地走访",
|
||||
type: "Visit",
|
||||
icon: "home",
|
||||
color: "#DF3600"
|
||||
},
|
||||
{
|
||||
label: "微信联系",
|
||||
des: "通过微信沟通",
|
||||
type: "WeChat",
|
||||
icon: "weixin-fill",
|
||||
color: "#00B75F"
|
||||
},
|
||||
{
|
||||
label: "书面通知",
|
||||
des: "张贴催缴通知",
|
||||
type: "WrittenNotice",
|
||||
icon: "edit-pen",
|
||||
color: "#0082FA"
|
||||
}
|
||||
];
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.f(list, (i, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: "b14fc94b-0-" + i0,
|
||||
b: common_vendor.p({
|
||||
name: i == null ? void 0 : i.icon,
|
||||
color: i == null ? void 0 : i.color,
|
||||
size: "26"
|
||||
}),
|
||||
c: common_vendor.t(i == null ? void 0 : i.label),
|
||||
d: (props == null ? void 0 : props.valueModel) === (i == null ? void 0 : i.type) || valueModel.value === (i == null ? void 0 : i.type)
|
||||
}, (props == null ? void 0 : props.valueModel) === (i == null ? void 0 : i.type) || valueModel.value === (i == null ? void 0 : i.type) ? {
|
||||
e: "b14fc94b-1-" + i0,
|
||||
f: common_vendor.p({
|
||||
type: "circle-filled",
|
||||
size: "18",
|
||||
color: "#0082FA"
|
||||
})
|
||||
} : {
|
||||
g: "b14fc94b-2-" + i0,
|
||||
h: common_vendor.p({
|
||||
type: "circle",
|
||||
size: "18",
|
||||
color: "#999"
|
||||
})
|
||||
}, {
|
||||
i: common_vendor.t(i == null ? void 0 : i.des),
|
||||
j: `item_${index}`,
|
||||
k: common_vendor.o(($event) => handleSelect(i), `item_${index}`)
|
||||
});
|
||||
})
|
||||
};
|
||||
};
|
||||
}
|
||||
});
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-b14fc94b"], ["__file", "/Users/zsq/Sources/github/2025property-pay/pay-employee/src/BILL/outstanding_fee/components/CollectionMethods.vue"]]);
|
||||
wx.createComponent(Component);
|
||||
7
dist/dev/mp-weixin/BILL/outstanding_fee/components/CollectionMethods.json
vendored
Normal file
7
dist/dev/mp-weixin/BILL/outstanding_fee/components/CollectionMethods.json
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"up-icon": "../../../node-modules/uview-plus/components/u-icon/u-icon",
|
||||
"uni-icons": "../../../uni_modules/uni-icons/components/uni-icons/uni-icons"
|
||||
}
|
||||
}
|
||||
1
dist/dev/mp-weixin/BILL/outstanding_fee/components/CollectionMethods.wxml
vendored
Normal file
1
dist/dev/mp-weixin/BILL/outstanding_fee/components/CollectionMethods.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<view class="methods_content data-v-b14fc94b"><view wx:for="{{a}}" wx:for-item="i" wx:key="j" class="items data-v-b14fc94b" bindtap="{{i.k}}"><view class="data-v-b14fc94b"><up-icon wx:if="{{i.b}}" class="data-v-b14fc94b" u-i="{{i.a}}" bind:__l="__l" u-p="{{i.b}}"></up-icon></view><view class="items_content_info data-v-b14fc94b"><view class="label data-v-b14fc94b">{{i.c}} <uni-icons wx:if="{{i.d}}" class="data-v-b14fc94b" u-i="{{i.e}}" bind:__l="__l" u-p="{{i.f}}"></uni-icons><uni-icons wx:else class="data-v-b14fc94b" u-i="{{i.g}}" bind:__l="__l" u-p="{{i.h||''}}"></uni-icons></view><view class="des data-v-b14fc94b">{{i.i}}</view></view></view></view>
|
||||
32
dist/dev/mp-weixin/BILL/outstanding_fee/components/CollectionMethods.wxss
vendored
Normal file
32
dist/dev/mp-weixin/BILL/outstanding_fee/components/CollectionMethods.wxss
vendored
Normal file
@ -0,0 +1,32 @@
|
||||
.methods_content.data-v-b14fc94b {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
margin: 0 30rpx;
|
||||
}
|
||||
.methods_content .items.data-v-b14fc94b {
|
||||
background-color: #fff;
|
||||
width: 43.5%;
|
||||
padding: 20rpx 15rpx;
|
||||
border-radius: 15rpx;
|
||||
margin-top: 30rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.methods_content .items .items_content_info.data-v-b14fc94b {
|
||||
flex: 1;
|
||||
padding-left: 5rpx;
|
||||
}
|
||||
.methods_content .items .label.data-v-b14fc94b {
|
||||
color: #333;
|
||||
font-size: 28rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.methods_content .items .des.data-v-b14fc94b {
|
||||
color: #999;
|
||||
font-size: 24rpx;
|
||||
padding-top: 10rpx;
|
||||
}
|
||||
85
dist/dev/mp-weixin/BILL/outstanding_fee/components/CollectionResult.js
vendored
Normal file
85
dist/dev/mp-weixin/BILL/outstanding_fee/components/CollectionResult.js
vendored
Normal file
@ -0,0 +1,85 @@
|
||||
"use strict";
|
||||
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({
|
||||
__name: "CollectionResult",
|
||||
props: ["valueModel"],
|
||||
emits: ["update:valueModel"],
|
||||
setup(__props, { emit }) {
|
||||
const props = __props;
|
||||
const valueModel = common_vendor.ref("");
|
||||
const handleSelect = (e) => {
|
||||
valueModel.value = e == null ? void 0 : e.type;
|
||||
emit("update:valueModel", e == null ? void 0 : e.type);
|
||||
};
|
||||
const list = [
|
||||
{
|
||||
label: "承若缴费",
|
||||
des: "住户承诺指定时间内缴费",
|
||||
type: "PromiseToPay",
|
||||
bgColor: "#E7FFD6",
|
||||
color: "##00B75F"
|
||||
},
|
||||
{
|
||||
label: "拒绝缴费",
|
||||
des: "住户明确拒绝缴费",
|
||||
type: "RefuseToPay",
|
||||
bgColor: "#FFE8E8",
|
||||
color: "#DF3600"
|
||||
},
|
||||
{
|
||||
label: "未联系到",
|
||||
des: "无法联系到住户",
|
||||
type: "NotReached",
|
||||
bgColor: "#E8E8E8",
|
||||
color: "#666666"
|
||||
},
|
||||
{
|
||||
label: "需要跟进",
|
||||
des: "需要后续继续跟进",
|
||||
type: "NeedFollowUp",
|
||||
bgColor: "#E8F2FF",
|
||||
color: "#0082FA"
|
||||
}
|
||||
];
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.f(list, (i, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.t(i == null ? void 0 : i.label),
|
||||
b: i == null ? void 0 : i.color,
|
||||
c: i == null ? void 0 : i.bgColor,
|
||||
d: (props == null ? void 0 : props.valueModel) === (i == null ? void 0 : i.type) || valueModel.value === (i == null ? void 0 : i.type)
|
||||
}, (props == null ? void 0 : props.valueModel) === (i == null ? void 0 : i.type) || valueModel.value === (i == null ? void 0 : i.type) ? {
|
||||
e: "62ac5915-0-" + i0,
|
||||
f: common_vendor.p({
|
||||
type: "circle-filled",
|
||||
size: "18",
|
||||
color: "#0082FA"
|
||||
})
|
||||
} : {
|
||||
g: "62ac5915-1-" + i0,
|
||||
h: common_vendor.p({
|
||||
type: "circle",
|
||||
size: "18",
|
||||
color: "#999"
|
||||
})
|
||||
}, {
|
||||
i: common_vendor.t(i == null ? void 0 : i.des),
|
||||
j: `item_${index}`,
|
||||
k: common_vendor.o(($event) => handleSelect(i), `item_${index}`)
|
||||
});
|
||||
})
|
||||
};
|
||||
};
|
||||
}
|
||||
});
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-62ac5915"], ["__file", "/Users/zsq/Sources/github/2025property-pay/pay-employee/src/BILL/outstanding_fee/components/CollectionResult.vue"]]);
|
||||
wx.createComponent(Component);
|
||||
6
dist/dev/mp-weixin/BILL/outstanding_fee/components/CollectionResult.json
vendored
Normal file
6
dist/dev/mp-weixin/BILL/outstanding_fee/components/CollectionResult.json
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"uni-icons": "../../../uni_modules/uni-icons/components/uni-icons/uni-icons"
|
||||
}
|
||||
}
|
||||
1
dist/dev/mp-weixin/BILL/outstanding_fee/components/CollectionResult.wxml
vendored
Normal file
1
dist/dev/mp-weixin/BILL/outstanding_fee/components/CollectionResult.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<view class="methods_content data-v-62ac5915"><view wx:for="{{a}}" wx:for-item="i" wx:key="j" class="items data-v-62ac5915" bindtap="{{i.k}}"><view class="label data-v-62ac5915"><text class="data-v-62ac5915" style="{{'color:' + i.b + ';' + ('background-color:' + i.c)}}">{{i.a}}</text><uni-icons wx:if="{{i.d}}" class="data-v-62ac5915" u-i="{{i.e}}" bind:__l="__l" u-p="{{i.f}}"></uni-icons><uni-icons wx:else class="data-v-62ac5915" u-i="{{i.g}}" bind:__l="__l" u-p="{{i.h||''}}"></uni-icons></view><view class="des data-v-62ac5915">{{i.i}}</view></view></view>
|
||||
31
dist/dev/mp-weixin/BILL/outstanding_fee/components/CollectionResult.wxss
vendored
Normal file
31
dist/dev/mp-weixin/BILL/outstanding_fee/components/CollectionResult.wxss
vendored
Normal file
@ -0,0 +1,31 @@
|
||||
.methods_content.data-v-62ac5915 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
margin: 0 30rpx;
|
||||
}
|
||||
.methods_content .items.data-v-62ac5915 {
|
||||
background-color: #fff;
|
||||
width: 43.5%;
|
||||
padding: 20rpx 15rpx;
|
||||
border-radius: 15rpx;
|
||||
margin-top: 30rpx;
|
||||
}
|
||||
.methods_content .items .label.data-v-62ac5915 {
|
||||
color: #333;
|
||||
font-size: 28rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.methods_content .items .label text.data-v-62ac5915 {
|
||||
padding: 8rpx 20rpx;
|
||||
border-radius: 100rpx;
|
||||
font-size: 24rpx;
|
||||
}
|
||||
.methods_content .items .des.data-v-62ac5915 {
|
||||
color: #999;
|
||||
font-size: 24rpx;
|
||||
padding-top: 10rpx;
|
||||
}
|
||||
45
dist/dev/mp-weixin/BILL/outstanding_fee/components/HeadSearchBtn.js
vendored
Normal file
45
dist/dev/mp-weixin/BILL/outstanding_fee/components/HeadSearchBtn.js
vendored
Normal file
@ -0,0 +1,45 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../common/vendor.js");
|
||||
const BILL_outstanding_fee_index_model = require("../index/model.js");
|
||||
const BILL_outstanding_fee_index_method = require("../index/method.js");
|
||||
require("../../../common/libraries/day.js");
|
||||
require("../../../common/libraries/sendWxWork.js");
|
||||
require("../../../common/libraries/naviHelper.js");
|
||||
require("../../../common/libraries/apiLoading.js");
|
||||
require("../../../gen/Apis.js");
|
||||
require("../../../common/libraries/request.js");
|
||||
require("../../../common/store/useWeAppAuthStore.js");
|
||||
require("../../../common/store/useWorkStore.js");
|
||||
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
__name: "HeadSearchBtn",
|
||||
setup(__props) {
|
||||
const btn_list = [
|
||||
{ label: "1天未催缴", value: "1" },
|
||||
{ label: "3天未催缴", value: "3" },
|
||||
{ label: "7天未催缴", value: "7" },
|
||||
{ label: "15天未催缴", value: "15" }
|
||||
];
|
||||
const handleSelect = (e) => {
|
||||
if (BILL_outstanding_fee_index_model.useModel.formData.value.uncollected_days === (e == null ? void 0 : e.value)) {
|
||||
BILL_outstanding_fee_index_model.useModel.formData.value.uncollected_days = void 0;
|
||||
} else {
|
||||
BILL_outstanding_fee_index_model.useModel.formData.value.uncollected_days = e == null ? void 0 : e.value;
|
||||
}
|
||||
BILL_outstanding_fee_index_method.method.handleSearch();
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.f(btn_list, (i, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(i == null ? void 0 : i.label),
|
||||
b: `item_${index}`,
|
||||
c: common_vendor.n(`item_btn ${common_vendor.unref(BILL_outstanding_fee_index_model.useModel).formData.value.uncollected_days === (i == null ? void 0 : i.value) ? "active" : ""}`),
|
||||
d: common_vendor.o(($event) => handleSelect(i))
|
||||
};
|
||||
})
|
||||
};
|
||||
};
|
||||
}
|
||||
});
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-f677089c"], ["__file", "/Users/zsq/Sources/github/2025property-pay/pay-employee/src/BILL/outstanding_fee/components/HeadSearchBtn.vue"]]);
|
||||
wx.createComponent(Component);
|
||||
4
dist/dev/mp-weixin/BILL/outstanding_fee/components/HeadSearchBtn.json
vendored
Normal file
4
dist/dev/mp-weixin/BILL/outstanding_fee/components/HeadSearchBtn.json
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
dist/dev/mp-weixin/BILL/outstanding_fee/components/HeadSearchBtn.wxml
vendored
Normal file
1
dist/dev/mp-weixin/BILL/outstanding_fee/components/HeadSearchBtn.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<view class="head_search_group_btn data-v-f677089c"><view wx:for="{{a}}" wx:for-item="i" ket="{{i.b}}" class="{{['data-v-f677089c', i.c]}}" bindtap="{{i.d}}">{{i.a}}</view></view>
|
||||
17
dist/dev/mp-weixin/BILL/outstanding_fee/components/HeadSearchBtn.wxss
vendored
Normal file
17
dist/dev/mp-weixin/BILL/outstanding_fee/components/HeadSearchBtn.wxss
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
.head_search_group_btn.data-v-f677089c {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 0 30rpx 20rpx 10rpx;
|
||||
}
|
||||
.head_search_group_btn .item_btn.data-v-f677089c {
|
||||
color: #666;
|
||||
border: 1px solid #999;
|
||||
border-radius: 100rpx;
|
||||
padding: 7rpx 15rpx;
|
||||
font-size: 24rpx;
|
||||
margin-left: 20rpx;
|
||||
}
|
||||
.head_search_group_btn .active.data-v-f677089c {
|
||||
color: #000;
|
||||
border: 1px solid #000;
|
||||
}
|
||||
39
dist/dev/mp-weixin/BILL/outstanding_fee/components/HeaderSearch.js
vendored
Normal file
39
dist/dev/mp-weixin/BILL/outstanding_fee/components/HeaderSearch.js
vendored
Normal file
@ -0,0 +1,39 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../common/vendor.js");
|
||||
const BILL_outstanding_fee_index_method = require("../index/method.js");
|
||||
const BILL_outstanding_fee_index_model = require("../index/model.js");
|
||||
require("../../../common/libraries/sendWxWork.js");
|
||||
require("../../../common/libraries/naviHelper.js");
|
||||
require("../../../common/libraries/apiLoading.js");
|
||||
require("../../../gen/Apis.js");
|
||||
require("../../../common/libraries/request.js");
|
||||
require("../../../common/store/useWeAppAuthStore.js");
|
||||
require("../../../common/store/useWorkStore.js");
|
||||
require("../../../common/libraries/day.js");
|
||||
if (!Array) {
|
||||
const _easycom_up_search2 = common_vendor.resolveComponent("up-search");
|
||||
_easycom_up_search2();
|
||||
}
|
||||
const _easycom_up_search = () => "../../../node-modules/uview-plus/components/u-search/u-search.js";
|
||||
if (!Math) {
|
||||
_easycom_up_search();
|
||||
}
|
||||
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
__name: "HeaderSearch",
|
||||
setup(__props) {
|
||||
return (_ctx, _cache) => {
|
||||
var _a;
|
||||
return {
|
||||
a: common_vendor.o((_a = common_vendor.unref(BILL_outstanding_fee_index_method.method)) == null ? void 0 : _a.handleSearch),
|
||||
b: common_vendor.o(($event) => common_vendor.unref(BILL_outstanding_fee_index_model.useModel).formData.value.full_name = $event),
|
||||
c: common_vendor.p({
|
||||
placeholder: "请输入小区名称",
|
||||
showAction: false,
|
||||
modelValue: common_vendor.unref(BILL_outstanding_fee_index_model.useModel).formData.value.full_name
|
||||
})
|
||||
};
|
||||
};
|
||||
}
|
||||
});
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-dfaa5c89"], ["__file", "/Users/zsq/Sources/github/2025property-pay/pay-employee/src/BILL/outstanding_fee/components/HeaderSearch.vue"]]);
|
||||
wx.createComponent(Component);
|
||||
6
dist/dev/mp-weixin/BILL/outstanding_fee/components/HeaderSearch.json
vendored
Normal file
6
dist/dev/mp-weixin/BILL/outstanding_fee/components/HeaderSearch.json
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"up-search": "../../../node-modules/uview-plus/components/u-search/u-search"
|
||||
}
|
||||
}
|
||||
1
dist/dev/mp-weixin/BILL/outstanding_fee/components/HeaderSearch.wxml
vendored
Normal file
1
dist/dev/mp-weixin/BILL/outstanding_fee/components/HeaderSearch.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<view class="head_search_view data-v-dfaa5c89"><up-search wx:if="{{c}}" class="data-v-dfaa5c89" bindsearch="{{a}}" u-i="dfaa5c89-0" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}"/></view>
|
||||
4
dist/dev/mp-weixin/BILL/outstanding_fee/components/HeaderSearch.wxss
vendored
Normal file
4
dist/dev/mp-weixin/BILL/outstanding_fee/components/HeaderSearch.wxss
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
.head_search_view.data-v-dfaa5c89 {
|
||||
border-top: 1rpx solid #eee;
|
||||
padding: 20rpx 30rpx;
|
||||
}
|
||||
46
dist/dev/mp-weixin/BILL/outstanding_fee/components/NoticeAlert.js
vendored
Normal file
46
dist/dev/mp-weixin/BILL/outstanding_fee/components/NoticeAlert.js
vendored
Normal file
@ -0,0 +1,46 @@
|
||||
"use strict";
|
||||
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({
|
||||
__name: "NoticeAlert",
|
||||
setup(__props) {
|
||||
const handleAlert = () => {
|
||||
common_vendor.index.showModal({
|
||||
title: "什么是批量通知",
|
||||
confirmColor: "#0082FA",
|
||||
content: "一次性给多套房屋发送账单链接,提醒用户缴费 关键操作:先选择哪些房屋要接收通知,然后选择发送方式(短信/公众号/小程序),系统会自动完成发送。通知对象:默认发给房屋的“常用联系人”;若没设置常用联系人,就发给房屋的“产权人”。",
|
||||
success: function(res) {
|
||||
if (res.confirm) {
|
||||
console.log("用户点击确定");
|
||||
} else if (res.cancel) {
|
||||
console.log("用户点击取消");
|
||||
}
|
||||
}
|
||||
});
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.p({
|
||||
type: "info",
|
||||
size: "20",
|
||||
color: "#ed6a0c"
|
||||
}),
|
||||
b: common_vendor.p({
|
||||
type: "right",
|
||||
size: "17",
|
||||
color: "#ed6a0c"
|
||||
}),
|
||||
c: common_vendor.o(handleAlert)
|
||||
};
|
||||
};
|
||||
}
|
||||
});
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-1be912f5"], ["__file", "/Users/zsq/Sources/github/2025property-pay/pay-employee/src/BILL/outstanding_fee/components/NoticeAlert.vue"]]);
|
||||
wx.createComponent(Component);
|
||||
6
dist/dev/mp-weixin/BILL/outstanding_fee/components/NoticeAlert.json
vendored
Normal file
6
dist/dev/mp-weixin/BILL/outstanding_fee/components/NoticeAlert.json
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"uni-icons": "../../../uni_modules/uni-icons/components/uni-icons/uni-icons"
|
||||
}
|
||||
}
|
||||
1
dist/dev/mp-weixin/BILL/outstanding_fee/components/NoticeAlert.wxml
vendored
Normal file
1
dist/dev/mp-weixin/BILL/outstanding_fee/components/NoticeAlert.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<view class="wathing_btn data-v-1be912f5" bindtap="{{c}}"><view class="wathing_left data-v-1be912f5"><uni-icons wx:if="{{a}}" class="data-v-1be912f5" u-i="1be912f5-0" bind:__l="__l" u-p="{{a}}"></uni-icons><text class="data-v-1be912f5"> 什么是批量通知? </text></view><uni-icons wx:if="{{b}}" class="data-v-1be912f5" u-i="1be912f5-1" bind:__l="__l" u-p="{{b}}"></uni-icons></view>
|
||||
13
dist/dev/mp-weixin/BILL/outstanding_fee/components/NoticeAlert.wxss
vendored
Normal file
13
dist/dev/mp-weixin/BILL/outstanding_fee/components/NoticeAlert.wxss
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
.wathing_btn.data-v-1be912f5 {
|
||||
padding: 20rpx 30rpx;
|
||||
background-color: #fffbe8;
|
||||
color: #ed6a0c;
|
||||
font-size: 28rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.wathing_btn .wathing_left.data-v-1be912f5 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
128
dist/dev/mp-weixin/BILL/outstanding_fee/index/index.js
vendored
Normal file
128
dist/dev/mp-weixin/BILL/outstanding_fee/index/index.js
vendored
Normal file
@ -0,0 +1,128 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../common/vendor.js");
|
||||
const BILL_outstanding_fee_index_method = require("./method.js");
|
||||
const BILL_outstanding_fee_index_model = require("./model.js");
|
||||
const common_libraries_day = require("../../../common/libraries/day.js");
|
||||
require("../../../common/libraries/sendWxWork.js");
|
||||
require("../../../common/libraries/naviHelper.js");
|
||||
require("../../../common/libraries/apiLoading.js");
|
||||
require("../../../gen/Apis.js");
|
||||
require("../../../common/libraries/request.js");
|
||||
require("../../../common/store/useWeAppAuthStore.js");
|
||||
require("../../../common/store/useWorkStore.js");
|
||||
if (!Array) {
|
||||
const _easycom_up_tabs2 = common_vendor.resolveComponent("up-tabs");
|
||||
const _easycom_uni_icons2 = common_vendor.resolveComponent("uni-icons");
|
||||
const _easycom_cc_scroll_loading2 = common_vendor.resolveComponent("cc-scroll-loading");
|
||||
const _easycom_cc_root_view2 = common_vendor.resolveComponent("cc-root-view");
|
||||
(_easycom_up_tabs2 + _easycom_uni_icons2 + _easycom_cc_scroll_loading2 + _easycom_cc_root_view2)();
|
||||
}
|
||||
const _easycom_up_tabs = () => "../../../node-modules/uview-plus/components/u-tabs/u-tabs.js";
|
||||
const _easycom_uni_icons = () => "../../../uni_modules/uni-icons/components/uni-icons/uni-icons.js";
|
||||
const _easycom_cc_scroll_loading = () => "../../../common/components/cc-scroll-loading/cc-scroll-loading.js";
|
||||
const _easycom_cc_root_view = () => "../../../common/components/cc-root-view/cc-root-view.js";
|
||||
if (!Math) {
|
||||
(_easycom_up_tabs + MyHeaderSearch + MyHeadSearchBtn + _easycom_uni_icons + _easycom_cc_scroll_loading + MyNoticeAlert + _easycom_cc_root_view)();
|
||||
}
|
||||
const MyHeadSearchBtn = () => "../components/HeadSearchBtn.js";
|
||||
const MyNoticeAlert = () => "../components/NoticeAlert.js";
|
||||
const MyHeaderSearch = () => "../components/HeaderSearch.js";
|
||||
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
__name: "index",
|
||||
setup(__props) {
|
||||
common_vendor.onLoad(async () => {
|
||||
var _a, _b, _c;
|
||||
await ((_a = common_vendor.getCurrentInstance()) == null ? void 0 : _a.appContext.config.globalProperties.$onLaunched);
|
||||
BILL_outstanding_fee_index_model.useModel.dataList.value = [];
|
||||
(_b = BILL_outstanding_fee_index_method.method) == null ? void 0 : _b.init();
|
||||
(_c = BILL_outstanding_fee_index_method.method) == null ? void 0 : _c.getList();
|
||||
});
|
||||
return (_ctx, _cache) => {
|
||||
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t;
|
||||
return common_vendor.e({
|
||||
a: (_c = (_b = (_a = common_vendor.unref(BILL_outstanding_fee_index_model.useModel)) == null ? void 0 : _a.headTabsList) == null ? void 0 : _b.value) == null ? void 0 : _c.length
|
||||
}, ((_f = (_e = (_d = common_vendor.unref(BILL_outstanding_fee_index_model.useModel)) == null ? void 0 : _d.headTabsList) == null ? void 0 : _e.value) == null ? void 0 : _f.length) ? {
|
||||
b: common_vendor.o((_g = common_vendor.unref(BILL_outstanding_fee_index_method.method)) == null ? void 0 : _g.handleListTabsChange),
|
||||
c: common_vendor.p({
|
||||
list: (_i = (_h = common_vendor.unref(BILL_outstanding_fee_index_model.useModel)) == null ? void 0 : _h.headTabsList) == null ? void 0 : _i.value,
|
||||
current: (_k = (_j = common_vendor.unref(BILL_outstanding_fee_index_model.useModel)) == null ? void 0 : _j.current) == null ? void 0 : _k.value
|
||||
})
|
||||
} : {}, {
|
||||
d: common_vendor.f((_m = (_l = common_vendor.unref(BILL_outstanding_fee_index_model.useModel)) == null ? void 0 : _l.dataList) == null ? void 0 : _m.value, (i, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: i == null ? void 0 : i.is_select
|
||||
}, (i == null ? void 0 : i.is_select) ? {
|
||||
b: "17d5eb04-5-" + i0 + ",17d5eb04-4",
|
||||
c: common_vendor.p({
|
||||
type: "checkbox-filled",
|
||||
size: "18",
|
||||
color: "#0082FA"
|
||||
})
|
||||
} : {
|
||||
d: "17d5eb04-6-" + i0 + ",17d5eb04-4",
|
||||
e: common_vendor.p({
|
||||
type: "circle",
|
||||
size: "18",
|
||||
color: "#666"
|
||||
})
|
||||
}, {
|
||||
f: common_vendor.t(i == null ? void 0 : i.full_name),
|
||||
g: common_vendor.o(($event) => {
|
||||
var _a2;
|
||||
return (_a2 = common_vendor.unref(BILL_outstanding_fee_index_method.method)) == null ? void 0 : _a2.handleSelect(index);
|
||||
}, `item_${index}`),
|
||||
h: common_vendor.t(i == null ? void 0 : i.total_overdue_amount),
|
||||
i: common_vendor.t(i == null ? void 0 : i.last_overdue_date),
|
||||
j: common_vendor.t(common_vendor.unref(common_libraries_day.ShowLastTime)(i == null ? void 0 : i.last_collection_time)),
|
||||
k: common_vendor.o(($event) => {
|
||||
var _a2;
|
||||
return (_a2 = common_vendor.unref(BILL_outstanding_fee_index_method.method)) == null ? void 0 : _a2.toDetail(i);
|
||||
}, `item_${index}`),
|
||||
l: `item_${index}`
|
||||
});
|
||||
}),
|
||||
e: common_vendor.o((_n = common_vendor.unref(BILL_outstanding_fee_index_method.method)) == null ? void 0 : _n.handleLoad),
|
||||
f: common_vendor.p({
|
||||
meta: (_p = (_o = common_vendor.unref(BILL_outstanding_fee_index_model.useModel)) == null ? void 0 : _o.meta) == null ? void 0 : _p.value
|
||||
}),
|
||||
g: (_r = (_q = common_vendor.unref(BILL_outstanding_fee_index_model.useModel)) == null ? void 0 : _q.allSelectStatus) == null ? void 0 : _r.value
|
||||
}, ((_t = (_s = common_vendor.unref(BILL_outstanding_fee_index_model.useModel)) == null ? void 0 : _s.allSelectStatus) == null ? void 0 : _t.value) ? {
|
||||
h: common_vendor.p({
|
||||
type: "checkbox-filled",
|
||||
size: "20",
|
||||
color: "#0082FA"
|
||||
})
|
||||
} : {
|
||||
i: common_vendor.p({
|
||||
type: "circle",
|
||||
size: "20",
|
||||
color: "#666"
|
||||
})
|
||||
}, {
|
||||
j: common_vendor.o(
|
||||
//@ts-ignore
|
||||
(...args) => {
|
||||
var _a2, _b2;
|
||||
return ((_a2 = common_vendor.unref(BILL_outstanding_fee_index_method.method)) == null ? void 0 : _a2.handleAllSelect) && ((_b2 = common_vendor.unref(BILL_outstanding_fee_index_method.method)) == null ? void 0 : _b2.handleAllSelect(...args));
|
||||
}
|
||||
),
|
||||
k: common_vendor.o(
|
||||
//@ts-ignore
|
||||
(...args) => {
|
||||
var _a2, _b2;
|
||||
return ((_a2 = common_vendor.unref(BILL_outstanding_fee_index_method.method)) == null ? void 0 : _a2.toInformationTemplate) && ((_b2 = common_vendor.unref(BILL_outstanding_fee_index_method.method)) == null ? void 0 : _b2.toInformationTemplate(...args));
|
||||
}
|
||||
),
|
||||
l: common_vendor.o(
|
||||
//@ts-ignore
|
||||
(...args) => {
|
||||
var _a2, _b2;
|
||||
return ((_a2 = common_vendor.unref(BILL_outstanding_fee_index_method.method)) == null ? void 0 : _a2.toMassSending) && ((_b2 = common_vendor.unref(BILL_outstanding_fee_index_method.method)) == null ? void 0 : _b2.toMassSending(...args));
|
||||
}
|
||||
)
|
||||
});
|
||||
};
|
||||
}
|
||||
});
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "/Users/zsq/Sources/github/2025property-pay/pay-employee/src/BILL/outstanding_fee/index/index.vue"]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
12
dist/dev/mp-weixin/BILL/outstanding_fee/index/index.json
vendored
Normal file
12
dist/dev/mp-weixin/BILL/outstanding_fee/index/index.json
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"navigationBarTitleText": "欠费房屋",
|
||||
"usingComponents": {
|
||||
"up-tabs": "../../../node-modules/uview-plus/components/u-tabs/u-tabs",
|
||||
"uni-icons": "../../../uni_modules/uni-icons/components/uni-icons/uni-icons",
|
||||
"cc-scroll-loading": "../../../common/components/cc-scroll-loading/cc-scroll-loading",
|
||||
"cc-root-view": "../../../common/components/cc-root-view/cc-root-view",
|
||||
"my-head-search-btn": "../components/HeadSearchBtn",
|
||||
"my-notice-alert": "../components/NoticeAlert",
|
||||
"my-header-search": "../components/HeaderSearch"
|
||||
}
|
||||
}
|
||||
1
dist/dev/mp-weixin/BILL/outstanding_fee/index/index.wxml
vendored
Normal file
1
dist/dev/mp-weixin/BILL/outstanding_fee/index/index.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<cc-root-view u-s="{{['d']}}" u-i="17d5eb04-0" bind:__l="__l"><view class="head_tabs_view"><up-tabs wx:if="{{a}}" bindchange="{{b}}" u-i="17d5eb04-1,17d5eb04-0" bind:__l="__l" u-p="{{c}}"></up-tabs><my-header-search u-i="17d5eb04-2,17d5eb04-0" bind:__l="__l"/><my-head-search-btn u-i="17d5eb04-3,17d5eb04-0" bind:__l="__l"/></view><view class="cc_scroll_loading_view"><cc-scroll-loading wx:if="{{f}}" u-s="{{['d']}}" bindload="{{e}}" u-i="17d5eb04-4,17d5eb04-0" bind:__l="__l" u-p="{{f}}"><view class="arrears_fees_view"><view wx:for="{{d}}" wx:for-item="i" wx:key="l" class="item"><view class="card_title" bindtap="{{i.g}}"><uni-icons wx:if="{{i.a}}" u-i="{{i.b}}" bind:__l="__l" u-p="{{i.c}}"></uni-icons><uni-icons wx:else u-i="{{i.d}}" bind:__l="__l" u-p="{{i.e||''}}"></uni-icons> {{i.f}}</view><view class="card_fee"> 欠费:{{i.h}}元 </view><view class="card_time"> 到期时间:{{i.i}}</view><view class="card_time"> 上次催缴:{{i.j}}</view><view class="toDetail" bindtap="{{i.k}}">查看详情 </view></view></view></cc-scroll-loading></view><view class="footer"><my-notice-alert u-i="17d5eb04-7,17d5eb04-0" bind:__l="__l"/><view class="footer_view"><view class="all_select_btn" bindtap="{{j}}"><uni-icons wx:if="{{g}}" u-i="17d5eb04-8,17d5eb04-0" bind:__l="__l" u-p="{{h}}"></uni-icons><uni-icons wx:else u-i="17d5eb04-9,17d5eb04-0" bind:__l="__l" u-p="{{i||''}}"></uni-icons> 全选 </view><view class="notice_btn_view"><view class="btn" bindtap="{{k}}"> 批量通知 </view><view class="btn" bindtap="{{l}}"> 微信群发 </view></view></view></view></cc-root-view>
|
||||
102
dist/dev/mp-weixin/BILL/outstanding_fee/index/index.wxss
vendored
Normal file
102
dist/dev/mp-weixin/BILL/outstanding_fee/index/index.wxss
vendored
Normal file
@ -0,0 +1,102 @@
|
||||
page {
|
||||
background-color: #f8f8f8;
|
||||
}
|
||||
.head_tabs_view {
|
||||
background-color: #fff;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
z-index: 100;
|
||||
box-shadow: 0px 3px 7px rgba(206, 206, 206, 0.25);
|
||||
}
|
||||
.cc_scroll_loading_view {
|
||||
padding: 260rpx 30rpx 0 30rpx;
|
||||
padding-bottom: calc(210rpx + constant(safe-area-inset-bottom));
|
||||
padding-bottom: calc(210rpx + env(safe-area-inset-bottom));
|
||||
}
|
||||
.arrears_fees_view {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.arrears_fees_view .item {
|
||||
width: 48%;
|
||||
background-color: #fff;
|
||||
border-radius: 10rpx;
|
||||
margin-top: 30rpx;
|
||||
}
|
||||
.arrears_fees_view .toDetail {
|
||||
padding: 20rpx 0;
|
||||
border-top: 1rpx solid #eee;
|
||||
color: #0082fa;
|
||||
text-align: center;
|
||||
font-size: 28rpx;
|
||||
margin-top: 10rpx;
|
||||
}
|
||||
.arrears_fees_view .card_title {
|
||||
font-size: 32rpx;
|
||||
font-weight: 550;
|
||||
padding: 20rpx 20rpx 15rpx 20rpx;
|
||||
display: flex;
|
||||
align-items: self-start;
|
||||
}
|
||||
.arrears_fees_view .card_fee {
|
||||
color: #df3600;
|
||||
font-size: 28rpx;
|
||||
font-weight: 550;
|
||||
padding: 0 20rpx 15rpx 20rpx;
|
||||
}
|
||||
.arrears_fees_view .card_time {
|
||||
padding-bottom: 15rpx;
|
||||
color: #666;
|
||||
font-size: 24rpx;
|
||||
padding: 0 20rpx 5rpx 20rpx;
|
||||
}
|
||||
.footer {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
padding-bottom: calc(22rpx + constant(safe-area-inset-bottom));
|
||||
padding-bottom: calc(22rpx + env(safe-area-inset-bottom));
|
||||
background-color: #fff;
|
||||
}
|
||||
.footer .footer_view {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 20rpx 30rpx 0 30rpx;
|
||||
}
|
||||
.footer .footer_view .all_select_btn {
|
||||
padding-right: 30rpx;
|
||||
font-size: 28rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: #666;
|
||||
}
|
||||
.footer .footer_view .notice_btn_view {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
.footer .footer_view .notice_btn_view .btn {
|
||||
background-color: #0082fa;
|
||||
color: #fff;
|
||||
width: 50%;
|
||||
border: 1px solid #0082fa;
|
||||
padding: 25rpx 0;
|
||||
}
|
||||
.footer .footer_view .notice_btn_view .btn:first-child {
|
||||
color: #0082fa;
|
||||
background-color: #fff;
|
||||
border-top-left-radius: 100rpx;
|
||||
border-bottom-left-radius: 100rpx;
|
||||
}
|
||||
.footer .footer_view .notice_btn_view .btn:last-child {
|
||||
border-top-right-radius: 100rpx;
|
||||
border-bottom-right-radius: 100rpx;
|
||||
}
|
||||
115
dist/dev/mp-weixin/BILL/outstanding_fee/index/method.js
vendored
Normal file
115
dist/dev/mp-weixin/BILL/outstanding_fee/index/method.js
vendored
Normal file
@ -0,0 +1,115 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../common/vendor.js");
|
||||
const common_libraries_sendWxWork = require("../../../common/libraries/sendWxWork.js");
|
||||
const gen_Apis = require("../../../gen/Apis.js");
|
||||
const BILL_outstanding_fee_index_model = require("./model.js");
|
||||
require("../../../common/libraries/request.js");
|
||||
const common_store_useWeAppAuthStore = require("../../../common/store/useWeAppAuthStore.js");
|
||||
require("../../../common/store/useWorkStore.js");
|
||||
const auth = common_store_useWeAppAuthStore.useWeAppAuthStore();
|
||||
const getList = () => {
|
||||
var _a, _b;
|
||||
gen_Apis.Apis.Bill.HouseBills.HouseList((_b = (_a = BILL_outstanding_fee_index_model.useModel) == null ? void 0 : _a.formData) == null ? void 0 : _b.value).then((res) => {
|
||||
var _a2;
|
||||
(_a2 = res == null ? void 0 : res.data) == null ? void 0 : _a2.map((item) => {
|
||||
item.is_select = BILL_outstanding_fee_index_model.useModel.allSelectStatus.value;
|
||||
});
|
||||
BILL_outstanding_fee_index_model.useModel.dataList.value = [...BILL_outstanding_fee_index_model.useModel.dataList.value, ...res == null ? void 0 : res.data];
|
||||
BILL_outstanding_fee_index_model.useModel.meta.value = res == null ? void 0 : res.meta;
|
||||
console.log("登录", res == null ? void 0 : res.data);
|
||||
});
|
||||
};
|
||||
const method = {
|
||||
init() {
|
||||
BILL_outstanding_fee_index_model.useModel.headTabsList.value = [
|
||||
{ name: "全部欠费", value: [] },
|
||||
{ name: "欠费1个月以内", value: [0, 1] },
|
||||
{ name: "欠费1-3个月", value: [1, 3] },
|
||||
{ name: "欠费4-6个月", value: [4, 6] },
|
||||
{ name: "欠费6-9个月", value: [6, 9] },
|
||||
{ name: "欠费9个月以上", value: [9, 30] }
|
||||
];
|
||||
},
|
||||
getList,
|
||||
handleSearch() {
|
||||
BILL_outstanding_fee_index_model.useModel.formData.value.page = 1;
|
||||
BILL_outstanding_fee_index_model.useModel.dataList.value = [];
|
||||
getList();
|
||||
},
|
||||
handleLoad(page) {
|
||||
BILL_outstanding_fee_index_model.useModel.formData.value.page = page;
|
||||
getList();
|
||||
},
|
||||
handleListTabsChange(e) {
|
||||
var _a, _b, _c;
|
||||
BILL_outstanding_fee_index_model.useModel.formData.value.page = 1;
|
||||
BILL_outstanding_fee_index_model.useModel.formData.value.overdue_months_range = (e == null ? void 0 : e.index) ? (_c = (_b = (_a = BILL_outstanding_fee_index_model.useModel) == null ? void 0 : _a.headTabsList) == null ? void 0 : _b.value[e == null ? void 0 : e.index]) == null ? void 0 : _c.value : void 0;
|
||||
BILL_outstanding_fee_index_model.useModel.dataList.value = [];
|
||||
getList();
|
||||
console.log("e", e);
|
||||
},
|
||||
handleSelect(idx) {
|
||||
var _a;
|
||||
let isAll = true;
|
||||
let is = BILL_outstanding_fee_index_model.useModel.dataList.value[idx].is_select;
|
||||
BILL_outstanding_fee_index_model.useModel.dataList.value[idx].is_select = !is;
|
||||
(_a = BILL_outstanding_fee_index_model.useModel.dataList.value) == null ? void 0 : _a.map((res) => {
|
||||
if (!res.is_select) {
|
||||
isAll = false;
|
||||
}
|
||||
});
|
||||
BILL_outstanding_fee_index_model.useModel.allSelectStatus.value = isAll;
|
||||
},
|
||||
handleAllSelect() {
|
||||
var _a, _b, _c;
|
||||
BILL_outstanding_fee_index_model.useModel.allSelectStatus.value = !((_b = (_a = BILL_outstanding_fee_index_model.useModel) == null ? void 0 : _a.allSelectStatus) == null ? void 0 : _b.value);
|
||||
(_c = BILL_outstanding_fee_index_model.useModel.dataList.value) == null ? void 0 : _c.map((res) => {
|
||||
res.is_select = BILL_outstanding_fee_index_model.useModel.allSelectStatus.value;
|
||||
});
|
||||
},
|
||||
toInformationTemplate() {
|
||||
var _a, _b, _c;
|
||||
let arr = [];
|
||||
(_c = (_b = (_a = BILL_outstanding_fee_index_model.useModel) == null ? void 0 : _a.dataList) == null ? void 0 : _b.value) == null ? void 0 : _c.map((res) => {
|
||||
if (res == null ? void 0 : res.is_select) {
|
||||
arr.push({
|
||||
asset_houses_id: res == null ? void 0 : res.id,
|
||||
total_unpaid_amount: parseFloat((res == null ? void 0 : res.total_overdue_amount) || 0)
|
||||
});
|
||||
}
|
||||
});
|
||||
if (!(arr == null ? void 0 : arr.length)) {
|
||||
common_vendor.index.showToast({
|
||||
title: "请至少选择一个!",
|
||||
icon: "none"
|
||||
});
|
||||
return;
|
||||
}
|
||||
common_vendor.index.navigateTo({
|
||||
url: `/BILL/information_template/index?data=${JSON.stringify(arr)}`
|
||||
});
|
||||
},
|
||||
toDetail(e) {
|
||||
common_vendor.index.navigateTo({
|
||||
url: `/BILL/outstanding_fee/show/index?id=${e == null ? void 0 : e.id}`
|
||||
});
|
||||
},
|
||||
toMassSending() {
|
||||
var _a;
|
||||
if (((_a = auth == null ? void 0 : auth.data) == null ? void 0 : _a.environment) === "wxwork") {
|
||||
common_libraries_sendWxWork.shareToExternalContact({
|
||||
externalUserIds: [],
|
||||
page: `/INDEX/bill/list/index`,
|
||||
title: `分享给您物业账单`,
|
||||
imgUrl: "https://pay-prod-1369486729.cos.ap-guangzhou.myqcloud.com/uploads/cs-test/01K5B5RY2TQQAJ1GT2RZSK426V.jpg"
|
||||
});
|
||||
} else {
|
||||
common_libraries_sendWxWork.navigateToMiniProgram({
|
||||
path: "/pages/forward/index?source=OutstandingFeeList",
|
||||
envVersion: "develop",
|
||||
extraData: { source: "OutstandingFeeList" }
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
exports.method = method;
|
||||
12
dist/dev/mp-weixin/BILL/outstanding_fee/index/model.js
vendored
Normal file
12
dist/dev/mp-weixin/BILL/outstanding_fee/index/model.js
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../common/vendor.js");
|
||||
require("../../../common/libraries/day.js");
|
||||
const useModel = {
|
||||
formData: common_vendor.ref({ page: 1, full_name: "" }),
|
||||
dataList: common_vendor.ref([]),
|
||||
current: common_vendor.ref(0),
|
||||
meta: common_vendor.ref({}),
|
||||
allSelectStatus: common_vendor.ref(false),
|
||||
headTabsList: common_vendor.ref([])
|
||||
};
|
||||
exports.useModel = useModel;
|
||||
115
dist/dev/mp-weixin/BILL/outstanding_fee/show/components/BillItem.js
vendored
Normal file
115
dist/dev/mp-weixin/BILL/outstanding_fee/show/components/BillItem.js
vendored
Normal file
@ -0,0 +1,115 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const gen_Enums = require("../../../../gen/Enums.js");
|
||||
const BILL_outstanding_fee_show_model = require("../model.js");
|
||||
const BILL_outstanding_fee_show_method = require("../method.js");
|
||||
require("../../../../common/libraries/day.js");
|
||||
require("../../../../common/libraries/apiLoading.js");
|
||||
require("../../../../gen/Apis.js");
|
||||
require("../../../../common/libraries/request.js");
|
||||
require("../../../../common/store/useWeAppAuthStore.js");
|
||||
require("../../../../common/store/useWorkStore.js");
|
||||
require("../../../../common/libraries/sendWxWork.js");
|
||||
require("../../../../common/libraries/naviHelper.js");
|
||||
if (!Array) {
|
||||
const _easycom_uni_icons2 = common_vendor.resolveComponent("uni-icons");
|
||||
const _easycom_hs_enum_tag2 = common_vendor.resolveComponent("hs-enum-tag");
|
||||
(_easycom_uni_icons2 + _easycom_hs_enum_tag2)();
|
||||
}
|
||||
const _easycom_uni_icons = () => "../../../../uni_modules/uni-icons/components/uni-icons/uni-icons.js";
|
||||
const _easycom_hs_enum_tag = () => "../../../../components/hs-enum-tag/hs-enum-tag.js";
|
||||
if (!Math) {
|
||||
(_easycom_uni_icons + _easycom_hs_enum_tag)();
|
||||
}
|
||||
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
__name: "BillItem",
|
||||
props: ["item", "index"],
|
||||
setup(__props) {
|
||||
const props = __props;
|
||||
const billsShow = common_vendor.ref(false);
|
||||
const handleCollapseAllCheckedBtn = () => {
|
||||
var _a, _b, _c, _d, _e, _f;
|
||||
let checked = (_a = props == null ? void 0 : props.item) == null ? void 0 : _a.checked;
|
||||
BILL_outstanding_fee_show_model.useModel.houseBillsData.value[props == null ? void 0 : props.index].checked = !checked;
|
||||
(_e = (_d = (_c = (_b = BILL_outstanding_fee_show_model.useModel) == null ? void 0 : _b.houseBillsData) == null ? void 0 : _c.value[props == null ? void 0 : props.index]) == null ? void 0 : _d.bills) == null ? void 0 : _e.map((i) => {
|
||||
i.checked = !checked;
|
||||
});
|
||||
(_f = BILL_outstanding_fee_show_method.method) == null ? void 0 : _f.setCalculateTotalPrice();
|
||||
};
|
||||
const handleCalculatePrice = (res, index) => {
|
||||
var _a, _b;
|
||||
let checked = res == null ? void 0 : res.checked;
|
||||
BILL_outstanding_fee_show_model.useModel.houseBillsData.value[props == null ? void 0 : props.index].bills[index].checked = !checked;
|
||||
if (checked) {
|
||||
BILL_outstanding_fee_show_model.useModel.houseBillsData.value[props == null ? void 0 : props.index].checked = false;
|
||||
} else {
|
||||
let allChecked = (_a = BILL_outstanding_fee_show_model.useModel.houseBillsData.value[props == null ? void 0 : props.index].bills) == null ? void 0 : _a.every(
|
||||
(item) => item == null ? void 0 : item.checked
|
||||
);
|
||||
BILL_outstanding_fee_show_model.useModel.houseBillsData.value[props == null ? void 0 : props.index].checked = allChecked;
|
||||
console.log(allChecked);
|
||||
}
|
||||
(_b = BILL_outstanding_fee_show_method.method) == null ? void 0 : _b.setCalculateTotalPrice();
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
var _a, _b, _c, _d, _e;
|
||||
return common_vendor.e({
|
||||
a: (_a = props == null ? void 0 : props.item) == null ? void 0 : _a.checked
|
||||
}, ((_b = props == null ? void 0 : props.item) == null ? void 0 : _b.checked) ? {
|
||||
b: common_vendor.p({
|
||||
type: "checkbox-filled",
|
||||
size: "20",
|
||||
color: "#2A7EFB"
|
||||
})
|
||||
} : {
|
||||
c: common_vendor.p({
|
||||
type: "circle",
|
||||
size: "20",
|
||||
color: "#888"
|
||||
})
|
||||
}, {
|
||||
d: common_vendor.t((_c = props == null ? void 0 : props.item) == null ? void 0 : _c.display_text),
|
||||
e: common_vendor.o(handleCollapseAllCheckedBtn),
|
||||
f: common_vendor.t((_d = props == null ? void 0 : props.item) == null ? void 0 : _d.pending_amount),
|
||||
g: common_vendor.p({
|
||||
type: "down",
|
||||
size: "15",
|
||||
color: "#666"
|
||||
}),
|
||||
h: common_vendor.o(($event) => billsShow.value = !billsShow.value),
|
||||
i: billsShow.value
|
||||
}, billsShow.value ? {
|
||||
j: common_vendor.f((_e = props == null ? void 0 : props.item) == null ? void 0 : _e.bills, (i, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: i == null ? void 0 : i.checked
|
||||
}, (i == null ? void 0 : i.checked) ? {
|
||||
b: "8af7247a-3-" + i0,
|
||||
c: common_vendor.p({
|
||||
type: "checkbox-filled",
|
||||
size: "20",
|
||||
color: "#2A7EFB"
|
||||
})
|
||||
} : {
|
||||
d: "8af7247a-4-" + i0,
|
||||
e: common_vendor.p({
|
||||
type: "circle",
|
||||
size: "20",
|
||||
color: "#888"
|
||||
})
|
||||
}, {
|
||||
f: "8af7247a-5-" + i0,
|
||||
g: common_vendor.p({
|
||||
value: i == null ? void 0 : i.type,
|
||||
Enums: common_vendor.unref(gen_Enums.HouseBillsTypeEnum)
|
||||
}),
|
||||
h: common_vendor.o(($event) => handleCalculatePrice(i, index), `fid_items_${index}`),
|
||||
i: common_vendor.t(i == null ? void 0 : i.total_payable_amount),
|
||||
j: `fid_items_${index}`
|
||||
});
|
||||
})
|
||||
} : {});
|
||||
};
|
||||
}
|
||||
});
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-8af7247a"], ["__file", "/Users/zsq/Sources/github/2025property-pay/pay-employee/src/BILL/outstanding_fee/show/components/BillItem.vue"]]);
|
||||
wx.createComponent(Component);
|
||||
7
dist/dev/mp-weixin/BILL/outstanding_fee/show/components/BillItem.json
vendored
Normal file
7
dist/dev/mp-weixin/BILL/outstanding_fee/show/components/BillItem.json
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"uni-icons": "../../../../uni_modules/uni-icons/components/uni-icons/uni-icons",
|
||||
"hs-enum-tag": "../../../../components/hs-enum-tag/hs-enum-tag"
|
||||
}
|
||||
}
|
||||
1
dist/dev/mp-weixin/BILL/outstanding_fee/show/components/BillItem.wxml
vendored
Normal file
1
dist/dev/mp-weixin/BILL/outstanding_fee/show/components/BillItem.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<view class="monthly_bill_content data-v-8af7247a"><view class="monthly_bill_header data-v-8af7247a"><view class="header_left_content data-v-8af7247a" bindtap="{{e}}"><uni-icons wx:if="{{a}}" class="data-v-8af7247a" u-i="8af7247a-0" bind:__l="__l" u-p="{{b}}"></uni-icons><uni-icons wx:else class="data-v-8af7247a" u-i="8af7247a-1" bind:__l="__l" u-p="{{c||''}}"></uni-icons><text class="data-v-8af7247a">{{d}}</text></view><view class="header_right_content data-v-8af7247a" bindtap="{{h}}"><text class="data-v-8af7247a"> ¥{{f}}</text><uni-icons wx:if="{{g}}" class="data-v-8af7247a" u-i="8af7247a-2" bind:__l="__l" u-p="{{g}}"></uni-icons></view></view><view wx:if="{{i}}" class="items_body data-v-8af7247a"><view wx:for="{{j}}" wx:for-item="i" wx:key="j" class="items_cell data-v-8af7247a"><view class="items_cell_left data-v-8af7247a" bindtap="{{i.h}}"><uni-icons wx:if="{{i.a}}" class="data-v-8af7247a" u-i="{{i.b}}" bind:__l="__l" u-p="{{i.c}}"></uni-icons><uni-icons wx:else class="data-v-8af7247a" u-i="{{i.d}}" bind:__l="__l" u-p="{{i.e||''}}"></uni-icons><hs-enum-tag wx:if="{{i.g}}" class="data-v-8af7247a" u-i="{{i.f}}" bind:__l="__l" u-p="{{i.g}}"/></view><view class="data-v-8af7247a"> ¥{{i.i}}</view></view></view></view>
|
||||
62
dist/dev/mp-weixin/BILL/outstanding_fee/show/components/BillItem.wxss
vendored
Normal file
62
dist/dev/mp-weixin/BILL/outstanding_fee/show/components/BillItem.wxss
vendored
Normal file
@ -0,0 +1,62 @@
|
||||
.monthly_bill_content.data-v-8af7247a {
|
||||
background-color: #f7f8fc;
|
||||
padding: 30rpx 20rpx;
|
||||
margin: 30rpx 30rpx 0 30rpx;
|
||||
border-radius: 10rpx;
|
||||
position: relative;
|
||||
}
|
||||
.monthly_bill_content .monthly_bill_header.data-v-8af7247a {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.monthly_bill_content .header_left_content.data-v-8af7247a {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-size: 28rpx;
|
||||
color: #333;
|
||||
}
|
||||
.monthly_bill_content .header_right_content.data-v-8af7247a {
|
||||
color: #df3600;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
.monthly_bill_content .header_right_content text.data-v-8af7247a {
|
||||
padding-right: 5rpx;
|
||||
}
|
||||
.monthly_bill_content .items_body.data-v-8af7247a {
|
||||
background-color: #fff;
|
||||
padding: 30rpx 30rpx 0 30rpx;
|
||||
border-radius: 10rpx;
|
||||
margin-top: 20rpx;
|
||||
}
|
||||
.monthly_bill_content .items_body .items_cell.data-v-8af7247a {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding-bottom: 30rpx;
|
||||
font-size: 28rpx;
|
||||
color: #333;
|
||||
}
|
||||
.monthly_bill_content .items_body .items_cell .items_cell_left.data-v-8af7247a {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.bill_to_detail.data-v-8af7247a {
|
||||
color: #666;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 23rpx;
|
||||
text-align: center;
|
||||
padding-bottom: 30rpx;
|
||||
}
|
||||
.bill_to_detail .btn.data-v-8af7247a {
|
||||
border: 1rpx solid #666;
|
||||
border-radius: 100rpx;
|
||||
padding: 10rpx 10rpx 10rpx 20rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
41
dist/dev/mp-weixin/BILL/outstanding_fee/show/components/BillRecord.js
vendored
Normal file
41
dist/dev/mp-weixin/BILL/outstanding_fee/show/components/BillRecord.js
vendored
Normal file
@ -0,0 +1,41 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const BILL_outstanding_fee_show_model = require("../model.js");
|
||||
require("../../../../common/libraries/day.js");
|
||||
if (!Array) {
|
||||
const _easycom_up_icon2 = common_vendor.resolveComponent("up-icon");
|
||||
_easycom_up_icon2();
|
||||
}
|
||||
const _easycom_up_icon = () => "../../../../node-modules/uview-plus/components/u-icon/u-icon.js";
|
||||
if (!Math) {
|
||||
_easycom_up_icon();
|
||||
}
|
||||
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
__name: "BillRecord",
|
||||
setup(__props) {
|
||||
const toPage = (url) => {
|
||||
var _a, _b, _c, _d, _e, _f;
|
||||
common_vendor.index.navigateTo({
|
||||
url: `${url}?asset_houses_id=${(_c = (_b = (_a = BILL_outstanding_fee_show_model.useModel) == null ? void 0 : _a.formData) == null ? void 0 : _b.value) == null ? void 0 : _c.asset_houses_id}&total_pending_amount=${(_f = (_e = (_d = BILL_outstanding_fee_show_model.useModel) == null ? void 0 : _d.showData) == null ? void 0 : _e.value) == null ? void 0 : _f.total_pending_amount}`
|
||||
});
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.p({
|
||||
name: "clock",
|
||||
size: "18",
|
||||
color: "#666"
|
||||
}),
|
||||
b: common_vendor.o(($event) => toPage("/BILL/record/urge_payment/index")),
|
||||
c: common_vendor.p({
|
||||
name: "rmb-circle",
|
||||
size: "18",
|
||||
color: "#666"
|
||||
}),
|
||||
d: common_vendor.o(($event) => toPage("/BILL/record/payment/index"))
|
||||
};
|
||||
};
|
||||
}
|
||||
});
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-7208113d"], ["__file", "/Users/zsq/Sources/github/2025property-pay/pay-employee/src/BILL/outstanding_fee/show/components/BillRecord.vue"]]);
|
||||
wx.createComponent(Component);
|
||||
6
dist/dev/mp-weixin/BILL/outstanding_fee/show/components/BillRecord.json
vendored
Normal file
6
dist/dev/mp-weixin/BILL/outstanding_fee/show/components/BillRecord.json
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"up-icon": "../../../../node-modules/uview-plus/components/u-icon/u-icon"
|
||||
}
|
||||
}
|
||||
1
dist/dev/mp-weixin/BILL/outstanding_fee/show/components/BillRecord.wxml
vendored
Normal file
1
dist/dev/mp-weixin/BILL/outstanding_fee/show/components/BillRecord.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<view class="bill_record data-v-7208113d"><view class="item_btn data-v-7208113d" bindtap="{{b}}"><up-icon wx:if="{{a}}" class="data-v-7208113d" u-i="7208113d-0" bind:__l="__l" u-p="{{a}}"/> <text class="data-v-7208113d">催费记录</text></view><view class="item_btn data-v-7208113d" bindtap="{{d}}"><up-icon wx:if="{{c}}" class="data-v-7208113d" u-i="7208113d-1" bind:__l="__l" u-p="{{c}}"/> <text class="data-v-7208113d">缴费记录</text></view></view>
|
||||
20
dist/dev/mp-weixin/BILL/outstanding_fee/show/components/BillRecord.wxss
vendored
Normal file
20
dist/dev/mp-weixin/BILL/outstanding_fee/show/components/BillRecord.wxss
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
.bill_record.data-v-7208113d {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
color: #333;
|
||||
padding: 20rpx 30rpx 0 30rpx;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
.bill_record .item_btn.data-v-7208113d {
|
||||
border: 1rpx solid #eee;
|
||||
border-radius: 4rpx;
|
||||
width: 300rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 22rpx 0;
|
||||
}
|
||||
.bill_record .item_btn text.data-v-7208113d {
|
||||
padding-left: 5rpx;
|
||||
}
|
||||
9
dist/dev/mp-weixin/BILL/outstanding_fee/show/components/ContactPersonPopup.json
vendored
Normal file
9
dist/dev/mp-weixin/BILL/outstanding_fee/show/components/ContactPersonPopup.json
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"hs-button": "../../../../components/hs-button/hs-button",
|
||||
"hs-enum-tag": "../../../../components/hs-enum-tag/hs-enum-tag",
|
||||
"uni-icons": "../../../../uni_modules/uni-icons/components/uni-icons/uni-icons",
|
||||
"hs-popup": "../../../../components/hs-popup/hs-popup"
|
||||
}
|
||||
}
|
||||
1
dist/dev/mp-weixin/BILL/outstanding_fee/show/components/ContactPersonPopup.wxml
vendored
Normal file
1
dist/dev/mp-weixin/BILL/outstanding_fee/show/components/ContactPersonPopup.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<hs-button wx:if="{{b}}" class="data-v-397a984e" bindclick="{{a}}" u-i="397a984e-0" bind:__l="__l" u-p="{{b}}"/><hs-popup wx:if="{{f}}" class="data-v-397a984e" u-s="{{['d']}}" bindclose="{{e}}" u-i="397a984e-1" bind:__l="__l" u-p="{{f}}"><view class="data-v-397a984e"><view class="popup_header data-v-397a984e"> 请选择联系对象 </view><view class="popup_user_content data-v-397a984e"><view wx:for="{{c}}" wx:for-item="i" wx:key="i" class="popup_user_item data-v-397a984e"><view class="user_info data-v-397a984e"><view class="name data-v-397a984e">{{i.a}} <text class="data-v-397a984e">{{i.b}}</text></view><view class="role data-v-397a984e"><text wx:if="{{i.c}}" class="data-v-397a984e"> 产权人 </text><hs-enum-tag wx:else class="data-v-397a984e" u-i="{{i.d}}" bind:__l="__l" u-p="{{i.e||''}}"/><text wx:if="{{i.f}}" class="is_contact data-v-397a984e"> 常用联系人 </text></view></view><view class="phone_btn data-v-397a984e" bindtap="{{i.h}}"><uni-icons wx:if="{{d}}" class="data-v-397a984e" u-i="{{i.g}}" bind:__l="__l" u-p="{{d}}"></uni-icons></view></view></view></view></hs-popup>
|
||||
62
dist/dev/mp-weixin/BILL/outstanding_fee/show/components/PageFooter.js
vendored
Normal file
62
dist/dev/mp-weixin/BILL/outstanding_fee/show/components/PageFooter.js
vendored
Normal file
@ -0,0 +1,62 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const BILL_outstanding_fee_show_method = require("../method.js");
|
||||
const BILL_outstanding_fee_show_model = require("../model.js");
|
||||
require("../../../../common/libraries/apiLoading.js");
|
||||
require("../../../../gen/Apis.js");
|
||||
require("../../../../common/libraries/request.js");
|
||||
require("../../../../common/store/useWeAppAuthStore.js");
|
||||
require("../../../../common/store/useWorkStore.js");
|
||||
require("../../../../common/libraries/sendWxWork.js");
|
||||
require("../../../../common/libraries/naviHelper.js");
|
||||
require("../../../../common/libraries/day.js");
|
||||
if (!Array) {
|
||||
const _easycom_hs_button2 = common_vendor.resolveComponent("hs-button");
|
||||
_easycom_hs_button2();
|
||||
}
|
||||
const _easycom_hs_button = () => "../../../../components/hs-button/hs-button.js";
|
||||
if (!Math) {
|
||||
_easycom_hs_button();
|
||||
}
|
||||
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
__name: "PageFooter",
|
||||
setup(__props) {
|
||||
return (_ctx, _cache) => {
|
||||
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j;
|
||||
return common_vendor.e({
|
||||
a: common_vendor.unref(BILL_outstanding_fee_show_model.useModel).tabsCurrent.value < 1
|
||||
}, common_vendor.unref(BILL_outstanding_fee_show_model.useModel).tabsCurrent.value < 1 ? common_vendor.e({
|
||||
b: common_vendor.unref(BILL_outstanding_fee_show_model.useModel).tabsCurrent.value === 0
|
||||
}, common_vendor.unref(BILL_outstanding_fee_show_model.useModel).tabsCurrent.value === 0 ? common_vendor.e({
|
||||
c: (_c = (_b = (_a = common_vendor.unref(BILL_outstanding_fee_show_model.useModel)) == null ? void 0 : _a.houseBillsData) == null ? void 0 : _b.value) == null ? void 0 : _c.length
|
||||
}, ((_f = (_e = (_d = common_vendor.unref(BILL_outstanding_fee_show_model.useModel)) == null ? void 0 : _d.houseBillsData) == null ? void 0 : _e.value) == null ? void 0 : _f.length) ? {
|
||||
d: common_vendor.t(((_h = (_g = common_vendor.unref(BILL_outstanding_fee_show_model.useModel)) == null ? void 0 : _g.total_amount) == null ? void 0 : _h.value) || "0.00"),
|
||||
e: common_vendor.o((_i = common_vendor.unref(BILL_outstanding_fee_show_method.method)) == null ? void 0 : _i.handleQRCode),
|
||||
f: common_vendor.p({
|
||||
label: "二维码收款",
|
||||
size: "md",
|
||||
type: "ghost"
|
||||
}),
|
||||
g: common_vendor.o((_j = common_vendor.unref(BILL_outstanding_fee_show_method.method)) == null ? void 0 : _j.handleSelectExternalContact),
|
||||
h: common_vendor.p({
|
||||
type: "primary",
|
||||
size: "md",
|
||||
label: "分享账单"
|
||||
})
|
||||
} : {
|
||||
i: common_vendor.p({
|
||||
label: "分享托收",
|
||||
size: "md",
|
||||
type: "ghost"
|
||||
}),
|
||||
j: common_vendor.p({
|
||||
type: "primary",
|
||||
size: "md",
|
||||
label: "分享预缴"
|
||||
})
|
||||
}) : {}) : {});
|
||||
};
|
||||
}
|
||||
});
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-86c19eb0"], ["__file", "/Users/zsq/Sources/github/2025property-pay/pay-employee/src/BILL/outstanding_fee/show/components/PageFooter.vue"]]);
|
||||
wx.createComponent(Component);
|
||||
6
dist/dev/mp-weixin/BILL/outstanding_fee/show/components/PageFooter.json
vendored
Normal file
6
dist/dev/mp-weixin/BILL/outstanding_fee/show/components/PageFooter.json
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"hs-button": "../../../../components/hs-button/hs-button"
|
||||
}
|
||||
}
|
||||
1
dist/dev/mp-weixin/BILL/outstanding_fee/show/components/PageFooter.wxml
vendored
Normal file
1
dist/dev/mp-weixin/BILL/outstanding_fee/show/components/PageFooter.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<view wx:if="{{a}}" class="footer_view data-v-86c19eb0"><block wx:if="{{b}}"><block wx:if="{{c}}"><view class="select_fee data-v-86c19eb0"><view class="label data-v-86c19eb0"> 您已选待缴金额: </view><view class="fee data-v-86c19eb0"> ¥{{d}}</view></view><view class="btn_group data-v-86c19eb0"><view class="btn_group_left data-v-86c19eb0"><hs-button wx:if="{{f}}" class="data-v-86c19eb0" bindclick="{{e}}" u-i="86c19eb0-0" bind:__l="__l" u-p="{{f}}"/></view><view class="btn_group_right data-v-86c19eb0"><hs-button wx:if="{{h}}" class="data-v-86c19eb0" bindclick="{{g}}" u-i="86c19eb0-1" bind:__l="__l" u-p="{{h}}"/></view></view></block><block wx:else><view class="btn_group data-v-86c19eb0"><view class="btn_group_left data-v-86c19eb0"><hs-button wx:if="{{i}}" class="data-v-86c19eb0" u-i="86c19eb0-2" bind:__l="__l" u-p="{{i}}"/></view><view class="btn_group_right data-v-86c19eb0"><hs-button wx:if="{{j}}" class="data-v-86c19eb0" u-i="86c19eb0-3" bind:__l="__l" u-p="{{j}}"/></view></view></block></block></view>
|
||||
38
dist/dev/mp-weixin/BILL/outstanding_fee/show/components/PageFooter.wxss
vendored
Normal file
38
dist/dev/mp-weixin/BILL/outstanding_fee/show/components/PageFooter.wxss
vendored
Normal file
@ -0,0 +1,38 @@
|
||||
.footer_view.data-v-86c19eb0 {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
background-color: #fff;
|
||||
z-index: 100;
|
||||
padding-bottom: calc(15rpx + constant(safe-area-inset-bottom));
|
||||
padding-bottom: calc(15rpx + env(safe-area-inset-bottom));
|
||||
}
|
||||
.footer_view .select_fee.data-v-86c19eb0 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
background-color: #edf6ff;
|
||||
padding: 25rpx 30rpx;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
.footer_view .select_fee .label.data-v-86c19eb0 {
|
||||
color: #555;
|
||||
}
|
||||
.footer_view .select_fee .fee.data-v-86c19eb0 {
|
||||
color: #df3600;
|
||||
font-size: 33rpx;
|
||||
font-weight: 550;
|
||||
}
|
||||
.footer_view .btn_group.data-v-86c19eb0 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 20rpx 30rpx 0 30rpx;
|
||||
}
|
||||
.footer_view .btn_group_left.data-v-86c19eb0, .footer_view .btn_group_right.data-v-86c19eb0 {
|
||||
width: 48%;
|
||||
}
|
||||
.footer_view .new_add_collection_fee.data-v-86c19eb0 {
|
||||
padding: 20rpx 30rpx 0 30rpx;
|
||||
}
|
||||
67
dist/dev/mp-weixin/BILL/outstanding_fee/show/components/PageHeader.js
vendored
Normal file
67
dist/dev/mp-weixin/BILL/outstanding_fee/show/components/PageHeader.js
vendored
Normal file
@ -0,0 +1,67 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const gen_Enums = require("../../../../gen/Enums.js");
|
||||
require("../../../../common/libraries/day.js");
|
||||
const BILL_outstanding_fee_show_model = require("../model.js");
|
||||
require("../method.js");
|
||||
require("../../../../common/libraries/apiLoading.js");
|
||||
require("../../../../gen/Apis.js");
|
||||
require("../../../../common/libraries/request.js");
|
||||
require("../../../../common/store/useWeAppAuthStore.js");
|
||||
require("../../../../common/store/useWorkStore.js");
|
||||
require("../../../../common/libraries/sendWxWork.js");
|
||||
require("../../../../common/libraries/naviHelper.js");
|
||||
if (!Array) {
|
||||
const _easycom_hs_enum_tag2 = common_vendor.resolveComponent("hs-enum-tag");
|
||||
_easycom_hs_enum_tag2();
|
||||
}
|
||||
const _easycom_hs_enum_tag = () => "../../../../components/hs-enum-tag/hs-enum-tag.js";
|
||||
if (!Math) {
|
||||
_easycom_hs_enum_tag();
|
||||
}
|
||||
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
__name: "PageHeader",
|
||||
setup(__props) {
|
||||
return (_ctx, _cache) => {
|
||||
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F, _G, _H, _I, _J, _K, _L, _M, _N, _O, _P, _Q, _R, _S, _T, _U, _V, _W, _X, _Y, _Z, __, _$, _aa, _ba, _ca, _da, _ea, _fa, _ga, _ha, _ia, _ja, _ka, _la, _ma, _na, _oa, _pa, _qa, _ra, _sa, _ta, _ua, _va, _wa, _xa, _ya, _za, _Aa, _Ba;
|
||||
return common_vendor.e({
|
||||
a: common_vendor.t(((_c = (_b = (_a = common_vendor.unref(BILL_outstanding_fee_show_model.useModel)) == null ? void 0 : _a.showData) == null ? void 0 : _b.value) == null ? void 0 : _c.full_name) || "-"),
|
||||
b: common_vendor.t(((_f = (_e = (_d = common_vendor.unref(BILL_outstanding_fee_show_model.useModel)) == null ? void 0 : _d.showData) == null ? void 0 : _e.value) == null ? void 0 : _f.total_pending_amount) ? "欠费" : "结清"),
|
||||
c: common_vendor.n(`type_text type_text_${((_i = (_h = (_g = common_vendor.unref(BILL_outstanding_fee_show_model.useModel)) == null ? void 0 : _g.showData) == null ? void 0 : _h.value) == null ? void 0 : _i.total_pending_amount) ? "red" : "green"}`),
|
||||
d: (_l = (_k = (_j = common_vendor.unref(BILL_outstanding_fee_show_model.useModel)) == null ? void 0 : _j.showData) == null ? void 0 : _k.value) == null ? void 0 : _l.total_pending_amount
|
||||
}, ((_o = (_n = (_m = common_vendor.unref(BILL_outstanding_fee_show_model.useModel)) == null ? void 0 : _m.showData) == null ? void 0 : _n.value) == null ? void 0 : _o.total_pending_amount) ? {
|
||||
e: common_vendor.t(((_r = (_q = (_p = common_vendor.unref(BILL_outstanding_fee_show_model.useModel)) == null ? void 0 : _p.showData) == null ? void 0 : _q.value) == null ? void 0 : _r.total_pending_amount) || "-")
|
||||
} : {}, {
|
||||
f: common_vendor.t(((_v = (_u = (_t = (_s = common_vendor.unref(BILL_outstanding_fee_show_model.useModel)) == null ? void 0 : _s.showData) == null ? void 0 : _t.value) == null ? void 0 : _u.asset_house) == null ? void 0 : _v.built_area) || "-"),
|
||||
g: common_vendor.t(((_z = (_y = (_x = (_w = common_vendor.unref(BILL_outstanding_fee_show_model.useModel)) == null ? void 0 : _w.showData) == null ? void 0 : _x.value) == null ? void 0 : _y.asset_house) == null ? void 0 : _z.room) || ""),
|
||||
h: common_vendor.t(((_D = (_C = (_B = (_A = common_vendor.unref(BILL_outstanding_fee_show_model.useModel)) == null ? void 0 : _A.showData) == null ? void 0 : _B.value) == null ? void 0 : _C.asset_house) == null ? void 0 : _D.hall) || ""),
|
||||
i: common_vendor.t(((_H = (_G = (_F = (_E = common_vendor.unref(BILL_outstanding_fee_show_model.useModel)) == null ? void 0 : _E.showData) == null ? void 0 : _F.value) == null ? void 0 : _G.asset_house) == null ? void 0 : _H.bathroom) || ""),
|
||||
j: common_vendor.t(((_L = (_K = (_J = (_I = common_vendor.unref(BILL_outstanding_fee_show_model.useModel)) == null ? void 0 : _I.showData) == null ? void 0 : _J.value) == null ? void 0 : _K.asset_house) == null ? void 0 : _L.kitchen) || ""),
|
||||
k: common_vendor.t(((_P = (_O = (_N = (_M = common_vendor.unref(BILL_outstanding_fee_show_model.useModel)) == null ? void 0 : _M.showData) == null ? void 0 : _N.value) == null ? void 0 : _O.asset_house) == null ? void 0 : _P.balcony) || ""),
|
||||
l: common_vendor.t(((_T = (_S = (_R = (_Q = common_vendor.unref(BILL_outstanding_fee_show_model.useModel)) == null ? void 0 : _Q.showData) == null ? void 0 : _R.value) == null ? void 0 : _S.asset_house) == null ? void 0 : _T.ownership_term) || "-"),
|
||||
m: (_X = (_W = (_V = (_U = common_vendor.unref(BILL_outstanding_fee_show_model.useModel)) == null ? void 0 : _U.showData) == null ? void 0 : _V.value) == null ? void 0 : _W.asset_house) == null ? void 0 : _X.status
|
||||
}, ((_$ = (__ = (_Z = (_Y = common_vendor.unref(BILL_outstanding_fee_show_model.useModel)) == null ? void 0 : _Y.showData) == null ? void 0 : _Z.value) == null ? void 0 : __.asset_house) == null ? void 0 : _$.status) ? {
|
||||
n: common_vendor.p({
|
||||
Enums: common_vendor.unref(gen_Enums.HouseRegistersHouseStatusEnum),
|
||||
value: (_da = (_ca = (_ba = (_aa = common_vendor.unref(BILL_outstanding_fee_show_model.useModel)) == null ? void 0 : _aa.showData) == null ? void 0 : _ba.value) == null ? void 0 : _ca.asset_house) == null ? void 0 : _da.status
|
||||
})
|
||||
} : {}, {
|
||||
o: (_ha = (_ga = (_fa = (_ea = common_vendor.unref(BILL_outstanding_fee_show_model.useModel)) == null ? void 0 : _ea.showData) == null ? void 0 : _fa.value) == null ? void 0 : _ga.asset_house) == null ? void 0 : _ha.orientation
|
||||
}, ((_la = (_ka = (_ja = (_ia = common_vendor.unref(BILL_outstanding_fee_show_model.useModel)) == null ? void 0 : _ia.showData) == null ? void 0 : _ja.value) == null ? void 0 : _ka.asset_house) == null ? void 0 : _la.orientation) ? {
|
||||
p: common_vendor.p({
|
||||
Enums: common_vendor.unref(gen_Enums.AssetHousesOrientationEnum),
|
||||
value: (_pa = (_oa = (_na = (_ma = common_vendor.unref(BILL_outstanding_fee_show_model.useModel)) == null ? void 0 : _ma.showData) == null ? void 0 : _na.value) == null ? void 0 : _oa.asset_house) == null ? void 0 : _pa.orientation
|
||||
})
|
||||
} : {}, {
|
||||
q: (_ta = (_sa = (_ra = (_qa = common_vendor.unref(BILL_outstanding_fee_show_model.useModel)) == null ? void 0 : _qa.showData) == null ? void 0 : _ra.value) == null ? void 0 : _sa.asset_house) == null ? void 0 : _ta.usage
|
||||
}, ((_xa = (_wa = (_va = (_ua = common_vendor.unref(BILL_outstanding_fee_show_model.useModel)) == null ? void 0 : _ua.showData) == null ? void 0 : _va.value) == null ? void 0 : _wa.asset_house) == null ? void 0 : _xa.usage) ? {
|
||||
r: common_vendor.p({
|
||||
Enums: common_vendor.unref(gen_Enums.AssetHousesUsageEnum),
|
||||
value: (_Ba = (_Aa = (_za = (_ya = common_vendor.unref(BILL_outstanding_fee_show_model.useModel)) == null ? void 0 : _ya.showData) == null ? void 0 : _za.value) == null ? void 0 : _Aa.asset_house) == null ? void 0 : _Ba.usage
|
||||
})
|
||||
} : {});
|
||||
};
|
||||
}
|
||||
});
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "/Users/zsq/Sources/github/2025property-pay/pay-employee/src/BILL/outstanding_fee/show/components/PageHeader.vue"]]);
|
||||
wx.createComponent(Component);
|
||||
6
dist/dev/mp-weixin/BILL/outstanding_fee/show/components/PageHeader.json
vendored
Normal file
6
dist/dev/mp-weixin/BILL/outstanding_fee/show/components/PageHeader.json
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"hs-enum-tag": "../../../../components/hs-enum-tag/hs-enum-tag"
|
||||
}
|
||||
}
|
||||
1
dist/dev/mp-weixin/BILL/outstanding_fee/show/components/PageHeader.wxml
vendored
Normal file
1
dist/dev/mp-weixin/BILL/outstanding_fee/show/components/PageHeader.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<view class="card_container container_header"><view class="card_cell_title"><view>{{a}}</view><view class="{{c}}">{{b}}</view></view><view wx:if="{{d}}" class="total_fee"><view class="title"> 欠费:</view><view class="fee">{{e}}元 </view></view></view><view class="card_container container_info"><view class="info_title"> 基本信息 </view><view class="basic_item_info"><view class="item"> 建筑面积:{{f}}㎡ </view><view class="item"> 户型:{{g}}房{{h}}厅{{i}}卫{{j}}厨{{k}}阳台 </view><view class="item"> 产权年限:{{l}}年 </view><view class="item"> 房屋状态:<hs-enum-tag wx:if="{{m}}" u-i="4053edec-0" bind:__l="__l" u-p="{{n}}"/><block wx:else>-</block></view><view class="item"> 朝向:<hs-enum-tag wx:if="{{o}}" u-i="4053edec-1" bind:__l="__l" u-p="{{p}}"/><block wx:else>-</block></view><view class="item"> 产权类型:<hs-enum-tag wx:if="{{q}}" u-i="4053edec-2" bind:__l="__l" u-p="{{r}}"/><block wx:else>-</block></view></view></view>
|
||||
0
dist/dev/mp-weixin/BILL/outstanding_fee/show/components/PageHeader.wxss
vendored
Normal file
0
dist/dev/mp-weixin/BILL/outstanding_fee/show/components/PageHeader.wxss
vendored
Normal file
86
dist/dev/mp-weixin/BILL/outstanding_fee/show/components/PersonnelList.js
vendored
Normal file
86
dist/dev/mp-weixin/BILL/outstanding_fee/show/components/PersonnelList.js
vendored
Normal file
@ -0,0 +1,86 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const gen_Enums = require("../../../../gen/Enums.js");
|
||||
require("../../../../common/libraries/request.js");
|
||||
require("../../../../common/store/useWeAppAuthStore.js");
|
||||
require("../../../../common/store/useWorkStore.js");
|
||||
const BILL_outstanding_fee_show_model = require("../model.js");
|
||||
require("../../../../gen/Apis.js");
|
||||
require("../../../../common/libraries/apiLoading.js");
|
||||
require("../../../../common/libraries/day.js");
|
||||
if (!Array) {
|
||||
const _easycom_hs_enum_tag2 = common_vendor.resolveComponent("hs-enum-tag");
|
||||
const _easycom_uni_icons2 = common_vendor.resolveComponent("uni-icons");
|
||||
(_easycom_hs_enum_tag2 + _easycom_uni_icons2)();
|
||||
}
|
||||
const _easycom_hs_enum_tag = () => "../../../../components/hs-enum-tag/hs-enum-tag.js";
|
||||
const _easycom_uni_icons = () => "../../../../uni_modules/uni-icons/components/uni-icons/uni-icons.js";
|
||||
if (!Math) {
|
||||
(_easycom_hs_enum_tag + _easycom_uni_icons)();
|
||||
}
|
||||
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
__name: "PersonnelList",
|
||||
setup(__props) {
|
||||
const handleCopyPhone = (phone) => {
|
||||
if (phone) {
|
||||
common_vendor.index.makePhoneCall({
|
||||
phoneNumber: phone
|
||||
//仅为示例,并非真实的电话号码
|
||||
});
|
||||
}
|
||||
};
|
||||
const handleNavigateToAddCustomer = (phone) => {
|
||||
common_vendor.index.setClipboardData({
|
||||
data: phone,
|
||||
success(res) {
|
||||
setTimeout(() => {
|
||||
common_vendor.index.qy.navigateToAddCustomer({
|
||||
success: function() {
|
||||
}
|
||||
});
|
||||
}, 1e3);
|
||||
}
|
||||
});
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.f(common_vendor.unref(BILL_outstanding_fee_show_model.useModel).listData.value, (i, index, i0) => {
|
||||
var _a, _b;
|
||||
return common_vendor.e({
|
||||
a: (_a = i == null ? void 0 : i.list) == null ? void 0 : _a.length
|
||||
}, ((_b = i == null ? void 0 : i.list) == null ? void 0 : _b.length) ? {
|
||||
b: common_vendor.t(i == null ? void 0 : i.label),
|
||||
c: common_vendor.f(i == null ? void 0 : i.list, (j, index2, i1) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.t(j == null ? void 0 : j.name),
|
||||
b: common_vendor.t(j == null ? void 0 : j.phone),
|
||||
c: (j == null ? void 0 : j.house_relation) === "Owner"
|
||||
}, (j == null ? void 0 : j.house_relation) === "Owner" ? {} : {
|
||||
d: "04f66b1b-0-" + i0 + "-" + i1,
|
||||
e: common_vendor.p({
|
||||
Enums: common_vendor.unref(gen_Enums.HouseOccupantsResidentialRelationEnum),
|
||||
value: j == null ? void 0 : j.residential_relation
|
||||
})
|
||||
}, {
|
||||
f: "04f66b1b-1-" + i0 + "-" + i1,
|
||||
g: common_vendor.o(($event) => handleCopyPhone(j == null ? void 0 : j.phone), `personnel_${index2}`),
|
||||
h: common_vendor.o(($event) => handleNavigateToAddCustomer(j == null ? void 0 : j.phone), `personnel_${index2}`),
|
||||
i: `personnel_${index2}`
|
||||
});
|
||||
}),
|
||||
d: common_vendor.p({
|
||||
type: "star-filled",
|
||||
size: "20",
|
||||
color: (i == null ? void 0 : i.is_contact) ? "#FFD666" : "#DCDFE6"
|
||||
}),
|
||||
e: common_vendor.t((i == null ? void 0 : i.is_contact) ? "常用联系人" : "设为常用")
|
||||
} : {}, {
|
||||
f: `item_${index}`
|
||||
});
|
||||
})
|
||||
};
|
||||
};
|
||||
}
|
||||
});
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-04f66b1b"], ["__file", "/Users/zsq/Sources/github/2025property-pay/pay-employee/src/BILL/outstanding_fee/show/components/PersonnelList.vue"]]);
|
||||
wx.createComponent(Component);
|
||||
7
dist/dev/mp-weixin/BILL/outstanding_fee/show/components/PersonnelList.json
vendored
Normal file
7
dist/dev/mp-weixin/BILL/outstanding_fee/show/components/PersonnelList.json
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"hs-enum-tag": "../../../../components/hs-enum-tag/hs-enum-tag",
|
||||
"uni-icons": "../../../../uni_modules/uni-icons/components/uni-icons/uni-icons"
|
||||
}
|
||||
}
|
||||
1
dist/dev/mp-weixin/BILL/outstanding_fee/show/components/PersonnelList.wxml
vendored
Normal file
1
dist/dev/mp-weixin/BILL/outstanding_fee/show/components/PersonnelList.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<view class="data-v-04f66b1b"><view wx:for="{{a}}" wx:for-item="i" wx:key="f" class="personnel_list data-v-04f66b1b"><view wx:if="{{i.a}}" class="data-v-04f66b1b"><view class="title data-v-04f66b1b">{{i.b}}</view><view wx:for="{{i.c}}" wx:for-item="j" wx:key="i" class="personnel_item data-v-04f66b1b"><view class="personnel_item_header data-v-04f66b1b"><view class="personnel_item_header_left data-v-04f66b1b"><view class="data-v-04f66b1b">{{j.a}}<text class="data-v-04f66b1b">{{j.b}}</text></view><view wx:if="{{j.c}}" class="personnel_item_type data-v-04f66b1b"> 产权人 </view><view wx:else class="personnel_item_type data-v-04f66b1b"><hs-enum-tag wx:if="{{j.e}}" class="data-v-04f66b1b" u-i="{{j.d}}" bind:__l="__l" u-p="{{j.e}}"/></view></view><view class="personnel_item_header_right data-v-04f66b1b"><uni-icons wx:if="{{i.d}}" class="data-v-04f66b1b" u-i="{{j.f}}" bind:__l="__l" u-p="{{i.d}}"></uni-icons><view class="label data-v-04f66b1b">{{i.e}}</view></view></view><view class="personnel_item_footer data-v-04f66b1b"><view class="btn data-v-04f66b1b" bindtap="{{j.g}}"> 拨打电话 </view><view class="btn data-v-04f66b1b" bindtap="{{j.h}}"> +微信 </view><view class="btn data-v-04f66b1b"> 查看详情 </view></view></view></view></view></view>
|
||||
68
dist/dev/mp-weixin/BILL/outstanding_fee/show/components/PersonnelList.wxss
vendored
Normal file
68
dist/dev/mp-weixin/BILL/outstanding_fee/show/components/PersonnelList.wxss
vendored
Normal file
@ -0,0 +1,68 @@
|
||||
.personnel_list.data-v-04f66b1b {
|
||||
padding: 0 30rpx;
|
||||
}
|
||||
.personnel_list .title.data-v-04f66b1b {
|
||||
font-size: 28rpx;
|
||||
font-weight: 500;
|
||||
color: #333;
|
||||
padding: 30rpx 0;
|
||||
}
|
||||
.personnel_list .personnel_item.data-v-04f66b1b {
|
||||
background-color: #f9fafb;
|
||||
border-radius: 20rpx;
|
||||
}
|
||||
.personnel_list .personnel_item .personnel_item_type.data-v-04f66b1b {
|
||||
color: #606266;
|
||||
font-size: 24rpx;
|
||||
border: 1px solid #c3c3c3;
|
||||
border-radius: 100rpx;
|
||||
padding: 5rpx 22rpx;
|
||||
background-color: #fff;
|
||||
display: inline-block;
|
||||
margin-top: 5rpx;
|
||||
}
|
||||
.personnel_list .personnel_item_header.data-v-04f66b1b {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 30rpx 30rpx 20rpx 30rpx;
|
||||
}
|
||||
.personnel_list .personnel_item_header_left.data-v-04f66b1b {
|
||||
color: #3d3d3d;
|
||||
font-size: 28rpx;
|
||||
font-weight: 500;
|
||||
flex: 1;
|
||||
}
|
||||
.personnel_list .personnel_item_header_left text.data-v-04f66b1b {
|
||||
font-weight: 400;
|
||||
padding-left: 6rpx;
|
||||
}
|
||||
.personnel_list .personnel_item_header_right.data-v-04f66b1b {
|
||||
font-size: 24rpx;
|
||||
text-align: center;
|
||||
color: #b1b3b8;
|
||||
}
|
||||
.personnel_list .personnel_item_header_right .label.data-v-04f66b1b {
|
||||
padding-top: 7rpx;
|
||||
}
|
||||
.personnel_list .personnel_item_footer.data-v-04f66b1b {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
text-align: center;
|
||||
padding: 20rpx 0;
|
||||
border-top: 1rpx solid #ededed;
|
||||
}
|
||||
.personnel_list .personnel_item_footer .btn.data-v-04f66b1b {
|
||||
flex: 1;
|
||||
color: #333;
|
||||
font-size: 28rpx;
|
||||
padding: 10rpx 0;
|
||||
}
|
||||
.personnel_list .personnel_item_footer .btn.data-v-04f66b1b:first-child {
|
||||
color: #0082fa;
|
||||
}
|
||||
.personnel_list .personnel_item_footer .btn.data-v-04f66b1b:nth-child(2) {
|
||||
border-left: 1rpx solid #ededed;
|
||||
border-right: 1rpx solid #ededed;
|
||||
}
|
||||
106
dist/dev/mp-weixin/BILL/outstanding_fee/show/components/WorkOrderList.js
vendored
Normal file
106
dist/dev/mp-weixin/BILL/outstanding_fee/show/components/WorkOrderList.js
vendored
Normal file
@ -0,0 +1,106 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const gen_Enums = require("../../../../gen/Enums.js");
|
||||
const BILL_outstanding_fee_show_model = require("../model.js");
|
||||
const common_libraries_day = require("../../../../common/libraries/day.js");
|
||||
const BILL_outstanding_fee_show_method = require("../method.js");
|
||||
require("../../../../common/libraries/apiLoading.js");
|
||||
require("../../../../gen/Apis.js");
|
||||
require("../../../../common/libraries/request.js");
|
||||
require("../../../../common/store/useWeAppAuthStore.js");
|
||||
require("../../../../common/store/useWorkStore.js");
|
||||
require("../../../../common/libraries/sendWxWork.js");
|
||||
require("../../../../common/libraries/naviHelper.js");
|
||||
if (!Array) {
|
||||
const _easycom_hs_enum_tag2 = common_vendor.resolveComponent("hs-enum-tag");
|
||||
const _easycom_hs_level2 = common_vendor.resolveComponent("hs-level");
|
||||
const _easycom_up_icon2 = common_vendor.resolveComponent("up-icon");
|
||||
(_easycom_hs_enum_tag2 + _easycom_hs_level2 + _easycom_up_icon2)();
|
||||
}
|
||||
const _easycom_hs_enum_tag = () => "../../../../components/hs-enum-tag/hs-enum-tag.js";
|
||||
const _easycom_hs_level = () => "../../../../components/hs-level/hs-level.js";
|
||||
const _easycom_up_icon = () => "../../../../node-modules/uview-plus/components/u-icon/u-icon.js";
|
||||
if (!Math) {
|
||||
(_easycom_hs_enum_tag + _easycom_hs_level + _easycom_up_icon)();
|
||||
}
|
||||
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
__name: "WorkOrderList",
|
||||
setup(__props) {
|
||||
let tabList = [
|
||||
{ label: "全部", value: void 0 },
|
||||
{ label: "待处理", value: "Pending" },
|
||||
{ label: "处理中", value: "Processing" },
|
||||
{ label: "已完成", value: "Completed" }
|
||||
];
|
||||
const toPageShow = (e) => {
|
||||
common_vendor.index.navigateTo({
|
||||
url: `/WORKORDER/show/index?id=${e == null ? void 0 : e.id}`
|
||||
});
|
||||
};
|
||||
const handleTabChange = (e) => {
|
||||
var _a;
|
||||
BILL_outstanding_fee_show_model.useModel.formData.value.status = e == null ? void 0 : e.value;
|
||||
BILL_outstanding_fee_show_model.useModel.listData.value = [];
|
||||
(_a = BILL_outstanding_fee_show_method.method) == null ? void 0 : _a.loadMore(1);
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
var _a, _b;
|
||||
return {
|
||||
a: common_vendor.f(common_vendor.unref(tabList), (i, index, i0) => {
|
||||
var _a2, _b2, _c;
|
||||
return {
|
||||
a: common_vendor.t(i == null ? void 0 : i.label),
|
||||
b: `tab_${index}`,
|
||||
c: common_vendor.n(`items ${((_c = (_b2 = (_a2 = common_vendor.unref(BILL_outstanding_fee_show_model.useModel)) == null ? void 0 : _a2.formData) == null ? void 0 : _b2.value) == null ? void 0 : _c.status) === (i == null ? void 0 : i.value) ? "active" : ""}`),
|
||||
d: common_vendor.o(($event) => handleTabChange(i), `tab_${index}`)
|
||||
};
|
||||
}),
|
||||
b: common_vendor.f((_b = (_a = common_vendor.unref(BILL_outstanding_fee_show_model.useModel)) == null ? void 0 : _a.listData) == null ? void 0 : _b.value, (i, index, i0) => {
|
||||
var _a2, _b2, _c, _d, _e;
|
||||
return common_vendor.e({
|
||||
a: "fb0c29a5-0-" + i0,
|
||||
b: common_vendor.p({
|
||||
value: i == null ? void 0 : i.type,
|
||||
Enums: common_vendor.unref(gen_Enums.HouseWorkOrdersTypeEnum)
|
||||
}),
|
||||
c: "fb0c29a5-1-" + i0,
|
||||
d: common_vendor.p({
|
||||
level: i == null ? void 0 : i.level
|
||||
}),
|
||||
e: "fb0c29a5-2-" + i0,
|
||||
f: common_vendor.p({
|
||||
value: i == null ? void 0 : i.status,
|
||||
Enums: common_vendor.unref(gen_Enums.HouseWorkOrdersStatusEnum)
|
||||
}),
|
||||
g: common_vendor.n(`btn_status status_${i == null ? void 0 : i.status}`),
|
||||
h: common_vendor.t((_a2 = i == null ? void 0 : i.asset_house) == null ? void 0 : _a2.full_name),
|
||||
i: common_vendor.t(i == null ? void 0 : i.content),
|
||||
j: common_vendor.f(i == null ? void 0 : i.attachments, (k, idx, i1) => {
|
||||
return {
|
||||
a: k == null ? void 0 : k.url,
|
||||
b: `img_${idx}`
|
||||
};
|
||||
}),
|
||||
k: (i == null ? void 0 : i.status) === "Pending"
|
||||
}, (i == null ? void 0 : i.status) === "Pending" ? {
|
||||
l: "fb0c29a5-3-" + i0,
|
||||
m: common_vendor.p({
|
||||
name: "clock",
|
||||
color: ((_b2 = common_vendor.unref(common_libraries_day.getTimeStatus)(i == null ? void 0 : i.expect_end_time)) == null ? void 0 : _b2.color) || "#000",
|
||||
size: "14"
|
||||
}),
|
||||
n: common_vendor.t((_c = common_vendor.unref(common_libraries_day.getTimeStatus)(i == null ? void 0 : i.expect_end_time)) == null ? void 0 : _c.label),
|
||||
o: common_vendor.n(`todo_done_card_footer status_${(_d = common_vendor.unref(common_libraries_day.getTimeStatus)(i == null ? void 0 : i.expect_end_time)) == null ? void 0 : _d.status}`)
|
||||
} : {}, {
|
||||
p: common_vendor.t(i == null ? void 0 : i.created_at),
|
||||
q: `items_${index}`,
|
||||
r: common_vendor.o(($event) => toPageShow(i), `items_${index}`),
|
||||
s: common_vendor.n(`todo_done_card ${(i == null ? void 0 : i.status) === "Pending" ? `card_status_${(_e = common_vendor.unref(common_libraries_day.getTimeStatus)(i == null ? void 0 : i.expect_end_time)) == null ? void 0 : _e.status}` : ""}`)
|
||||
});
|
||||
})
|
||||
};
|
||||
};
|
||||
}
|
||||
});
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-fb0c29a5"], ["__file", "/Users/zsq/Sources/github/2025property-pay/pay-employee/src/BILL/outstanding_fee/show/components/WorkOrderList.vue"]]);
|
||||
wx.createComponent(Component);
|
||||
8
dist/dev/mp-weixin/BILL/outstanding_fee/show/components/WorkOrderList.json
vendored
Normal file
8
dist/dev/mp-weixin/BILL/outstanding_fee/show/components/WorkOrderList.json
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"hs-enum-tag": "../../../../components/hs-enum-tag/hs-enum-tag",
|
||||
"hs-level": "../../../../components/hs-level/hs-level",
|
||||
"up-icon": "../../../../node-modules/uview-plus/components/u-icon/u-icon"
|
||||
}
|
||||
}
|
||||
1
dist/dev/mp-weixin/BILL/outstanding_fee/show/components/WorkOrderList.wxml
vendored
Normal file
1
dist/dev/mp-weixin/BILL/outstanding_fee/show/components/WorkOrderList.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<view class="todo_done_container data-v-fb0c29a5"><view class="todo_done_container_head_tab data-v-fb0c29a5"><view wx:for="{{a}}" wx:for-item="i" wx:key="b" class="{{['data-v-fb0c29a5', i.c]}}" bindtap="{{i.d}}">{{i.a}}</view></view><view class="todo_done_content data-v-fb0c29a5"><view wx:for="{{b}}" wx:for-item="i" wx:key="q" bindtap="{{i.r}}" class="{{['data-v-fb0c29a5', i.s]}}"><view class="todo_done_card_header data-v-fb0c29a5"><view class="group_type_btn data-v-fb0c29a5"><view class="type_btn data-v-fb0c29a5"><hs-enum-tag wx:if="{{i.b}}" class="data-v-fb0c29a5" u-i="{{i.a}}" bind:__l="__l" u-p="{{i.b}}"/></view><hs-level wx:if="{{i.d}}" class="data-v-fb0c29a5" u-i="{{i.c}}" bind:__l="__l" u-p="{{i.d}}"/></view><view class="{{['data-v-fb0c29a5', i.g]}}"><hs-enum-tag wx:if="{{i.f}}" class="data-v-fb0c29a5" u-i="{{i.e}}" bind:__l="__l" u-p="{{i.f}}"/></view></view><view class="todo_done_card_houses_title data-v-fb0c29a5">{{i.h}}</view><view class="todo_done_card_content data-v-fb0c29a5">{{i.i}}</view><view class="todo_done_card_attachments data-v-fb0c29a5"><view wx:for="{{i.j}}" wx:for-item="k" wx:key="b" class="item data-v-fb0c29a5"><image class="data-v-fb0c29a5" src="{{k.a}}" mode="aspectFill"/></view></view><view wx:if="{{i.k}}" class="{{['data-v-fb0c29a5', i.o]}}"><up-icon wx:if="{{i.m}}" class="data-v-fb0c29a5" u-i="{{i.l}}" bind:__l="__l" u-p="{{i.m}}"></up-icon><text class="data-v-fb0c29a5">{{i.n}}</text></view><view class="expected_time data-v-fb0c29a5">提报时间:{{i.p}}</view></view></view></view>
|
||||
147
dist/dev/mp-weixin/BILL/outstanding_fee/show/components/WorkOrderList.wxss
vendored
Normal file
147
dist/dev/mp-weixin/BILL/outstanding_fee/show/components/WorkOrderList.wxss
vendored
Normal file
@ -0,0 +1,147 @@
|
||||
.todo_done_container.data-v-fb0c29a5 {
|
||||
padding: 30rpx 30rpx 0 30rpx;
|
||||
}
|
||||
.todo_done_container .todo_done_container_head_tab.data-v-fb0c29a5 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.todo_done_container .todo_done_container_head_tab .items.data-v-fb0c29a5 {
|
||||
color: #c3c3c3;
|
||||
border: 1px solid #c3c3c3;
|
||||
border-radius: 100rpx;
|
||||
font-size: 24rpx;
|
||||
color: #666;
|
||||
height: 54rpx;
|
||||
line-height: 54rpx;
|
||||
width: 140rpx;
|
||||
text-align: center;
|
||||
}
|
||||
.todo_done_container .todo_done_container_head_tab .active.data-v-fb0c29a5 {
|
||||
color: #0082fa;
|
||||
border: 1px solid #0082fa;
|
||||
}
|
||||
.todo_done_container .todo_done_card.data-v-fb0c29a5 {
|
||||
background-color: #f9fafb;
|
||||
border-radius: 20rpx;
|
||||
padding: 0 30rpx 30rpx 30rpx;
|
||||
margin-top: 30rpx;
|
||||
}
|
||||
.todo_done_container .todo_done_card .todo_done_card_header.data-v-fb0c29a5 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 30rpx 0 25rpx 0;
|
||||
}
|
||||
.todo_done_container .todo_done_card .todo_done_card_header .group_type_btn.data-v-fb0c29a5 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.todo_done_container .todo_done_card .todo_done_card_header .type_btn.data-v-fb0c29a5 {
|
||||
border-radius: 100rpx;
|
||||
border: 1px solid #eee;
|
||||
color: #3d3d3d;
|
||||
font-size: 24rpx;
|
||||
padding: 8rpx 20rpx;
|
||||
margin-right: 16rpx;
|
||||
}
|
||||
.todo_done_container .todo_done_card .todo_done_card_header .btn_status.data-v-fb0c29a5 {
|
||||
border-radius: 100rpx;
|
||||
font-size: 28rpx;
|
||||
padding: 7rpx 19rpx;
|
||||
}
|
||||
.todo_done_container .todo_done_card .todo_done_card_header .status_Pending.data-v-fb0c29a5 {
|
||||
color: #f97316;
|
||||
background-color: #fff7ed;
|
||||
}
|
||||
.todo_done_container .todo_done_card .todo_done_card_header .status_Processing.data-v-fb0c29a5 {
|
||||
color: #0082fa;
|
||||
background-color: #edf4ff;
|
||||
}
|
||||
.todo_done_container .todo_done_card .todo_done_card_header .status_Completed.data-v-fb0c29a5 {
|
||||
color: #22c55e;
|
||||
background-color: #f0fdf4;
|
||||
}
|
||||
.todo_done_container .todo_done_card .todo_done_card_header .status_Closed.data-v-fb0c29a5 {
|
||||
color: #909399;
|
||||
background-color: #f3f3f4;
|
||||
}
|
||||
.todo_done_container .todo_done_card .todo_done_card_houses_title.data-v-fb0c29a5 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-size: 28rpx;
|
||||
font-weight: 500;
|
||||
padding: 10rpx 0;
|
||||
}
|
||||
.todo_done_container .todo_done_card .todo_done_card_houses_title .item.data-v-fb0c29a5 {
|
||||
height: 30rpx;
|
||||
line-height: 30rpx;
|
||||
}
|
||||
.todo_done_container .todo_done_card .todo_done_card_houses_title .item.data-v-fb0c29a5:last-child {
|
||||
padding-left: 20rpx;
|
||||
margin-left: 20rpx;
|
||||
border-left: 1rpx solid #eee;
|
||||
}
|
||||
.todo_done_container .todo_done_card .todo_done_card_content.data-v-fb0c29a5 {
|
||||
color: #444;
|
||||
font-size: 28rpx;
|
||||
padding: 5rpx 0 0 0;
|
||||
}
|
||||
.todo_done_container .todo_done_card_attachments.data-v-fb0c29a5 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
padding-bottom: 30rpx;
|
||||
border-bottom: 1rpx solid #eee;
|
||||
}
|
||||
.todo_done_container .todo_done_card_attachments .item.data-v-fb0c29a5 {
|
||||
width: 140rpx;
|
||||
height: 140rpx;
|
||||
border-radius: 10rpx;
|
||||
background-color: #f8f8f8;
|
||||
margin-top: 25rpx;
|
||||
margin-right: 25rpx;
|
||||
overflow: hidden;
|
||||
}
|
||||
.todo_done_container .todo_done_card_attachments .item.data-v-fb0c29a5:nth-child(4n) {
|
||||
margin-right: 0;
|
||||
}
|
||||
.todo_done_container .todo_done_card_attachments .item image.data-v-fb0c29a5 {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.todo_done_container .todo_done_card .todo_done_card_footer.data-v-fb0c29a5 {
|
||||
color: #666666;
|
||||
font-size: 28rpx;
|
||||
padding: 12rpx 20rpx;
|
||||
border-radius: 10rpx;
|
||||
color: #24bc21;
|
||||
background: linear-gradient(90deg, #edffed 0%, rgba(232, 255, 231, 0) 103%);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin: 25rpx 0 0 0;
|
||||
}
|
||||
.todo_done_container .todo_done_card .status_1.data-v-fb0c29a5 {
|
||||
color: #24bc21;
|
||||
background: linear-gradient(90deg, #edffed 0%, rgba(232, 255, 231, 0) 103%);
|
||||
}
|
||||
.todo_done_container .todo_done_card .status_2.data-v-fb0c29a5 {
|
||||
color: #0082fa;
|
||||
background: linear-gradient(90deg, #eff7ff 0%, rgba(231, 241, 255, 0) 103%);
|
||||
}
|
||||
.todo_done_container .todo_done_card .status_3.data-v-fb0c29a5 {
|
||||
color: #f97316;
|
||||
background: linear-gradient(90deg, #fff4ef 0%, rgba(255, 237, 231, 0) 103%);
|
||||
}
|
||||
.todo_done_container .todo_done_card .status_4.data-v-fb0c29a5 {
|
||||
color: #ea0000;
|
||||
background: linear-gradient(90deg, #ffe5e5 0%, rgba(255, 255, 255, 0) 103%);
|
||||
}
|
||||
.todo_done_container .todo_done_card .expected_time.data-v-fb0c29a5 {
|
||||
padding: 20rpx 0 0 0;
|
||||
color: #333;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
.todo_done_container .card_status_4.data-v-fb0c29a5 {
|
||||
border-top: 6px solid #ef4444;
|
||||
}
|
||||
91
dist/dev/mp-weixin/BILL/outstanding_fee/show/index.js
vendored
Normal file
91
dist/dev/mp-weixin/BILL/outstanding_fee/show/index.js
vendored
Normal file
@ -0,0 +1,91 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../common/vendor.js");
|
||||
const BILL_outstanding_fee_show_model = require("./model.js");
|
||||
const BILL_outstanding_fee_show_method = require("./method.js");
|
||||
require("../../../common/libraries/day.js");
|
||||
require("../../../common/libraries/apiLoading.js");
|
||||
require("../../../gen/Apis.js");
|
||||
require("../../../common/libraries/request.js");
|
||||
require("../../../common/store/useWeAppAuthStore.js");
|
||||
require("../../../common/store/useWorkStore.js");
|
||||
require("../../../common/libraries/sendWxWork.js");
|
||||
require("../../../common/libraries/naviHelper.js");
|
||||
if (!Array) {
|
||||
const _easycom_hs_tabs2 = common_vendor.resolveComponent("hs-tabs");
|
||||
const _easycom_cc_scroll_loading2 = common_vendor.resolveComponent("cc-scroll-loading");
|
||||
(_easycom_hs_tabs2 + _easycom_cc_scroll_loading2)();
|
||||
}
|
||||
const _easycom_hs_tabs = () => "../../../components/hs-tabs/hs-tabs.js";
|
||||
const _easycom_cc_scroll_loading = () => "../../../common/components/cc-scroll-loading/cc-scroll-loading.js";
|
||||
if (!Math) {
|
||||
(MyPageHeader + _easycom_hs_tabs + MyBillRecord + MyBillItem + MyWorkOrderList + MyPersonnelList + _easycom_cc_scroll_loading + MyPageFooter)();
|
||||
}
|
||||
const MyBillItem = () => "./components/BillItem.js";
|
||||
const MyPageHeader = () => "./components/PageHeader.js";
|
||||
const MyPageFooter = () => "./components/PageFooter.js";
|
||||
const MyBillRecord = () => "./components/BillRecord.js";
|
||||
const MyWorkOrderList = () => "./components/WorkOrderList.js";
|
||||
const MyPersonnelList = () => "./components/PersonnelList.js";
|
||||
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
__name: "index",
|
||||
setup(__props) {
|
||||
const tablist = [{ label: "房屋账单" }, { label: "房屋工单" }, { label: "房屋人员" }];
|
||||
common_vendor.onShow(async () => {
|
||||
var _a, _b, _c, _d, _e;
|
||||
await ((_a = common_vendor.getCurrentInstance()) == null ? void 0 : _a.appContext.config.globalProperties.$onLaunched);
|
||||
if ((_d = (_c = (_b = BILL_outstanding_fee_show_model.useModel) == null ? void 0 : _b.showData) == null ? void 0 : _c.value) == null ? void 0 : _d.id) {
|
||||
BILL_outstanding_fee_show_model.useModel.houseBillsData.value = [];
|
||||
BILL_outstanding_fee_show_model.useModel.collectionList.value = [];
|
||||
(_e = BILL_outstanding_fee_show_method.method) == null ? void 0 : _e.handleTabsChange(BILL_outstanding_fee_show_model.useModel.tabsCurrent.value);
|
||||
}
|
||||
});
|
||||
common_vendor.onUnload(() => {
|
||||
BILL_outstanding_fee_show_model.useModel.showData.value = void 0;
|
||||
BILL_outstanding_fee_show_model.useModel.houseBillsData.value = [];
|
||||
BILL_outstanding_fee_show_model.useModel.collectionList.value = [];
|
||||
BILL_outstanding_fee_show_model.useModel.total_amount.value = 0;
|
||||
});
|
||||
common_vendor.onLoad(async (e) => {
|
||||
var _a, _b, _c;
|
||||
BILL_outstanding_fee_show_model.useModel.tabsCurrent.value = 0;
|
||||
await ((_a = common_vendor.getCurrentInstance()) == null ? void 0 : _a.appContext.config.globalProperties.$onLaunched);
|
||||
BILL_outstanding_fee_show_model.useModel.formData.value.asset_houses_id = e == null ? void 0 : e.id;
|
||||
(_b = BILL_outstanding_fee_show_method.method) == null ? void 0 : _b.getShow(e == null ? void 0 : e.id);
|
||||
(_c = BILL_outstanding_fee_show_method.method) == null ? void 0 : _c.getHouseBills(1);
|
||||
});
|
||||
return (_ctx, _cache) => {
|
||||
var _a, _b, _c, _d, _e, _f;
|
||||
return common_vendor.e({
|
||||
a: common_vendor.o((_a = common_vendor.unref(BILL_outstanding_fee_show_method.method)) == null ? void 0 : _a.handleTabsChange),
|
||||
b: common_vendor.p({
|
||||
list: tablist,
|
||||
current: common_vendor.unref(BILL_outstanding_fee_show_model.useModel).tabsCurrent.value
|
||||
}),
|
||||
c: common_vendor.unref(BILL_outstanding_fee_show_model.useModel).tabsCurrent.value === 0
|
||||
}, common_vendor.unref(BILL_outstanding_fee_show_model.useModel).tabsCurrent.value === 0 ? {
|
||||
d: common_vendor.f((_c = (_b = common_vendor.unref(BILL_outstanding_fee_show_model.useModel)) == null ? void 0 : _b.houseBillsData) == null ? void 0 : _c.value, (i, index, i0) => {
|
||||
return {
|
||||
a: `items_${index}`,
|
||||
b: "e72aaab2-4-" + i0 + ",e72aaab2-2",
|
||||
c: common_vendor.p({
|
||||
item: i,
|
||||
index
|
||||
})
|
||||
};
|
||||
})
|
||||
} : {}, {
|
||||
e: common_vendor.unref(BILL_outstanding_fee_show_model.useModel).tabsCurrent.value === 1
|
||||
}, common_vendor.unref(BILL_outstanding_fee_show_model.useModel).tabsCurrent.value === 1 ? {} : {}, {
|
||||
f: common_vendor.unref(BILL_outstanding_fee_show_model.useModel).tabsCurrent.value === 2
|
||||
}, common_vendor.unref(BILL_outstanding_fee_show_model.useModel).tabsCurrent.value === 2 ? {} : {}, {
|
||||
g: common_vendor.o((_d = common_vendor.unref(BILL_outstanding_fee_show_method.method)) == null ? void 0 : _d.loadMore),
|
||||
h: common_vendor.p({
|
||||
meta: (_f = (_e = common_vendor.unref(BILL_outstanding_fee_show_model.useModel)) == null ? void 0 : _e.metaData) == null ? void 0 : _f.value
|
||||
}),
|
||||
i: common_vendor.n(`show_container_${common_vendor.unref(BILL_outstanding_fee_show_model.useModel).tabsCurrent.value}`)
|
||||
});
|
||||
};
|
||||
}
|
||||
});
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "/Users/zsq/Sources/github/2025property-pay/pay-employee/src/BILL/outstanding_fee/show/index.vue"]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
13
dist/dev/mp-weixin/BILL/outstanding_fee/show/index.json
vendored
Normal file
13
dist/dev/mp-weixin/BILL/outstanding_fee/show/index.json
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
{
|
||||
"navigationBarTitleText": "房屋详情",
|
||||
"usingComponents": {
|
||||
"hs-tabs": "../../../components/hs-tabs/hs-tabs",
|
||||
"cc-scroll-loading": "../../../common/components/cc-scroll-loading/cc-scroll-loading",
|
||||
"my-bill-item": "./components/BillItem",
|
||||
"my-page-header": "./components/PageHeader",
|
||||
"my-page-footer": "./components/PageFooter",
|
||||
"my-bill-record": "./components/BillRecord",
|
||||
"my-work-order-list": "./components/WorkOrderList",
|
||||
"my-personnel-list": "./components/PersonnelList"
|
||||
}
|
||||
}
|
||||
1
dist/dev/mp-weixin/BILL/outstanding_fee/show/index.wxml
vendored
Normal file
1
dist/dev/mp-weixin/BILL/outstanding_fee/show/index.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<view class="{{i}}"><my-page-header u-i="e72aaab2-0" bind:__l="__l"/><view class="card_container"><view class="card_header"><hs-tabs wx:if="{{b}}" bindonChange="{{a}}" u-i="e72aaab2-1" bind:__l="__l" u-p="{{b}}"/></view><view class="card_body"><cc-scroll-loading wx:if="{{h}}" u-s="{{['d']}}" bindload="{{g}}" u-i="e72aaab2-2" bind:__l="__l" u-p="{{h}}"><block wx:if="{{c}}"><my-bill-record u-i="e72aaab2-3,e72aaab2-2" bind:__l="__l"/><my-bill-item wx:for="{{d}}" wx:for-item="i" wx:key="a" u-i="{{i.b}}" bind:__l="__l" u-p="{{i.c}}"/></block><block wx:if="{{e}}"><my-work-order-list u-i="e72aaab2-5,e72aaab2-2" bind:__l="__l"/></block><block wx:if="{{f}}"><my-personnel-list u-i="e72aaab2-6,e72aaab2-2" bind:__l="__l"/></block></cc-scroll-loading></view></view><my-page-footer u-i="e72aaab2-7" bind:__l="__l"/></view>
|
||||
105
dist/dev/mp-weixin/BILL/outstanding_fee/show/index.wxss
vendored
Normal file
105
dist/dev/mp-weixin/BILL/outstanding_fee/show/index.wxss
vendored
Normal file
@ -0,0 +1,105 @@
|
||||
.card_container_footer .btn:last-child {
|
||||
padding-left: 30rpx;
|
||||
}
|
||||
page {
|
||||
background-color: #f8f8f8;
|
||||
}
|
||||
.show_container_0 {
|
||||
padding-bottom: calc(210rpx + constant(safe-area-inset-bottom));
|
||||
padding-bottom: calc(210rpx + env(safe-area-inset-bottom));
|
||||
}
|
||||
.show_container_1, .show_container_2 {
|
||||
padding-bottom: 50rpx;
|
||||
}
|
||||
.card_container {
|
||||
background-color: #fff;
|
||||
border-radius: 10rpx;
|
||||
margin: 30rpx;
|
||||
}
|
||||
.container_header .card_cell_title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 30rpx;
|
||||
}
|
||||
.container_header .type_text {
|
||||
color: #2d75ff;
|
||||
background-color: #e8f1ff;
|
||||
font-size: 26rpx;
|
||||
padding: 5rpx 15rpx;
|
||||
border-radius: 6rpx;
|
||||
}
|
||||
.container_header .type_text_red {
|
||||
background-color: #fff0eb;
|
||||
color: #df3600;
|
||||
}
|
||||
.container_header .type_text_green {
|
||||
background-color: #ebffe2;
|
||||
color: #389e0d;
|
||||
}
|
||||
.container_header .card_cell_min {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 10rpx 30rpx 0 30rpx;
|
||||
font-size: 25rpx;
|
||||
color: #4b5563;
|
||||
}
|
||||
.container_header .total_fee {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 0 30rpx 30rpx 30rpx;
|
||||
border-radius: 15rpx;
|
||||
color: #df3600;
|
||||
font-size: 32rpx;
|
||||
font-weight: 500;
|
||||
}
|
||||
.container_header .total_fee text {
|
||||
font-size: 25rpx;
|
||||
}
|
||||
.card_container_footer {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 0 30rpx 30rpx 30rpx;
|
||||
}
|
||||
.card_container_footer .btn {
|
||||
flex: 1;
|
||||
}
|
||||
.container_info {
|
||||
padding: 0 30rpx;
|
||||
}
|
||||
.container_info .info_title {
|
||||
font-size: 28rpx;
|
||||
font-weight: 500;
|
||||
color: #333;
|
||||
padding: 30rpx 0 20rpx 0;
|
||||
}
|
||||
.container_info .basic_item_info {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.container_info .basic_item_info .item {
|
||||
width: 50%;
|
||||
color: #666;
|
||||
font-size: 28rpx;
|
||||
padding-bottom: 30rpx;
|
||||
}
|
||||
.collection_info {
|
||||
background: linear-gradient(180deg, #f1f9ff 0%, #ffffff 50%);
|
||||
margin: 30rpx;
|
||||
padding: 30rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
color: #3d3d3d;
|
||||
font-size: 26rpx;
|
||||
border-radius: 8rpx;
|
||||
}
|
||||
.collection_info .btn {
|
||||
background-color: #0082fa;
|
||||
font-size: 26rpx;
|
||||
color: #fff;
|
||||
border-radius: 100rpx;
|
||||
padding: 10rpx 30rpx;
|
||||
}
|
||||
208
dist/dev/mp-weixin/BILL/outstanding_fee/show/method.js
vendored
Normal file
208
dist/dev/mp-weixin/BILL/outstanding_fee/show/method.js
vendored
Normal file
@ -0,0 +1,208 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../common/vendor.js");
|
||||
const common_libraries_apiLoading = require("../../../common/libraries/apiLoading.js");
|
||||
const gen_Apis = require("../../../gen/Apis.js");
|
||||
const BILL_outstanding_fee_show_model = require("./model.js");
|
||||
const common_libraries_sendWxWork = require("../../../common/libraries/sendWxWork.js");
|
||||
require("../../../common/libraries/request.js");
|
||||
const common_store_useWeAppAuthStore = require("../../../common/store/useWeAppAuthStore.js");
|
||||
require("../../../common/store/useWorkStore.js");
|
||||
const common_libraries_naviHelper = require("../../../common/libraries/naviHelper.js");
|
||||
const auth = common_store_useWeAppAuthStore.useWeAppAuthStore();
|
||||
const setCalculateTotalPrice = () => {
|
||||
var _a, _b, _c;
|
||||
let total_amount = 0;
|
||||
(_c = (_b = (_a = BILL_outstanding_fee_show_model.useModel) == null ? void 0 : _a.houseBillsData) == null ? void 0 : _b.value) == null ? void 0 : _c.map((res) => {
|
||||
var _a2;
|
||||
(_a2 = res == null ? void 0 : res.bills) == null ? void 0 : _a2.map((k) => {
|
||||
if (k == null ? void 0 : k.checked) {
|
||||
total_amount += parseFloat(k.amount || 0);
|
||||
}
|
||||
});
|
||||
});
|
||||
BILL_outstanding_fee_show_model.useModel.total_amount.value = parseFloat(total_amount == null ? void 0 : total_amount.toFixed(2));
|
||||
};
|
||||
const getHouseBills = (type) => {
|
||||
var _a, _b;
|
||||
common_libraries_apiLoading.getApiLoading(gen_Apis.Apis.Bill.HouseBills.List, {
|
||||
...(_b = (_a = BILL_outstanding_fee_show_model.useModel) == null ? void 0 : _a.formData) == null ? void 0 : _b.value,
|
||||
type
|
||||
}).then((res) => {
|
||||
var _a2;
|
||||
console.log(res == null ? void 0 : res.data, "res");
|
||||
(_a2 = res == null ? void 0 : res.data) == null ? void 0 : _a2.map((k) => {
|
||||
var _a3;
|
||||
k.checked = true;
|
||||
(_a3 = k == null ? void 0 : k.bills) == null ? void 0 : _a3.map((i) => {
|
||||
i.checked = true;
|
||||
});
|
||||
});
|
||||
BILL_outstanding_fee_show_model.useModel.houseBillsData.value = [...BILL_outstanding_fee_show_model.useModel.houseBillsData.value, ...res == null ? void 0 : res.data];
|
||||
BILL_outstanding_fee_show_model.useModel.metaData.value = res == null ? void 0 : res.meta;
|
||||
setCalculateTotalPrice();
|
||||
});
|
||||
};
|
||||
const getHouseWorkOrders = () => {
|
||||
var _a, _b;
|
||||
common_libraries_apiLoading.getApiLoading(gen_Apis.Apis.WorkOrder.HouseWorkOrders.GetHouseWorkOrders, (_b = (_a = BILL_outstanding_fee_show_model.useModel) == null ? void 0 : _a.formData) == null ? void 0 : _b.value).then(
|
||||
(res) => {
|
||||
BILL_outstanding_fee_show_model.useModel.listData.value = [...BILL_outstanding_fee_show_model.useModel.listData.value, ...res == null ? void 0 : res.data];
|
||||
BILL_outstanding_fee_show_model.useModel.metaData.value = res == null ? void 0 : res.meta;
|
||||
}
|
||||
);
|
||||
};
|
||||
const getBillIds = () => {
|
||||
var _a, _b, _c;
|
||||
let bill_ids = [];
|
||||
(_c = (_b = (_a = BILL_outstanding_fee_show_model.useModel) == null ? void 0 : _a.houseBillsData) == null ? void 0 : _b.value) == null ? void 0 : _c.map((res) => {
|
||||
var _a2, _b2;
|
||||
if ((_a2 = res == null ? void 0 : res.bills) == null ? void 0 : _a2.length) {
|
||||
(_b2 = res == null ? void 0 : res.bills) == null ? void 0 : _b2.map((i) => {
|
||||
if (i == null ? void 0 : i.checked) {
|
||||
bill_ids == null ? void 0 : bill_ids.push(i == null ? void 0 : i.id);
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
if (!(bill_ids == null ? void 0 : bill_ids.length)) {
|
||||
common_libraries_naviHelper.showToast("请至少选择一个月账单!");
|
||||
return false;
|
||||
}
|
||||
return bill_ids;
|
||||
};
|
||||
const getHouseOccupants = () => {
|
||||
var _a, _b;
|
||||
let ownerArr = [];
|
||||
let noOwnerArr = [];
|
||||
common_libraries_apiLoading.getApiLoading(gen_Apis.Apis.Archive.HouseOccupants.List, (_b = (_a = BILL_outstanding_fee_show_model.useModel) == null ? void 0 : _a.formData) == null ? void 0 : _b.value).then((res) => {
|
||||
var _a2;
|
||||
(_a2 = res.data) == null ? void 0 : _a2.map((i) => {
|
||||
if ((i == null ? void 0 : i.house_relation) === "Owner") {
|
||||
ownerArr == null ? void 0 : ownerArr.push(i);
|
||||
} else {
|
||||
noOwnerArr == null ? void 0 : noOwnerArr.push(i);
|
||||
}
|
||||
});
|
||||
BILL_outstanding_fee_show_model.useModel.listData.value = [
|
||||
{ label: "产权人", list: ownerArr },
|
||||
{ label: "非产权人", list: noOwnerArr }
|
||||
];
|
||||
});
|
||||
};
|
||||
const method = {
|
||||
getShow: (id) => {
|
||||
common_libraries_apiLoading.getApiLoading(gen_Apis.Apis.Bill.HouseBills.HouseArrearageAmount, { asset_houses_id: id }).then((res) => {
|
||||
BILL_outstanding_fee_show_model.useModel.showData.value = res == null ? void 0 : res.data;
|
||||
});
|
||||
},
|
||||
getHouseBills,
|
||||
loadMore(page) {
|
||||
BILL_outstanding_fee_show_model.useModel.formData.value.page = page;
|
||||
if (BILL_outstanding_fee_show_model.useModel.tabsCurrent.value === 0) {
|
||||
getHouseBills(1);
|
||||
}
|
||||
if (BILL_outstanding_fee_show_model.useModel.tabsCurrent.value === 1) {
|
||||
getHouseWorkOrders();
|
||||
}
|
||||
if (BILL_outstanding_fee_show_model.useModel.tabsCurrent.value === 2) {
|
||||
getHouseOccupants();
|
||||
}
|
||||
},
|
||||
handleTabsChange(idx) {
|
||||
BILL_outstanding_fee_show_model.useModel.tabsCurrent.value = idx;
|
||||
BILL_outstanding_fee_show_model.useModel.formData.value.page = 1;
|
||||
if (idx === 0) {
|
||||
BILL_outstanding_fee_show_model.useModel.houseBillsData.value = [];
|
||||
getHouseBills(1);
|
||||
}
|
||||
if (idx === 1) {
|
||||
BILL_outstanding_fee_show_model.useModel.listData.value = [];
|
||||
getHouseWorkOrders();
|
||||
}
|
||||
if (idx === 2) {
|
||||
BILL_outstanding_fee_show_model.useModel.listData.value = [];
|
||||
getHouseOccupants();
|
||||
}
|
||||
},
|
||||
handleQRCode() {
|
||||
var _a, _b, _c, _d;
|
||||
let bill_ids = getBillIds() || [];
|
||||
if (bill_ids == null ? void 0 : bill_ids.length) {
|
||||
common_libraries_apiLoading.getApiLoading(gen_Apis.Apis.HouseOrder.HouseOrders.Store, {
|
||||
bill_ids: bill_ids || [],
|
||||
total_payable_amount: (_b = (_a = BILL_outstanding_fee_show_model.useModel) == null ? void 0 : _a.total_amount) == null ? void 0 : _b.value,
|
||||
amount: (_d = (_c = BILL_outstanding_fee_show_model.useModel) == null ? void 0 : _c.total_amount) == null ? void 0 : _d.value
|
||||
}).then((res) => {
|
||||
var _a2, _b2, _c2, _d2, _e, _f, _g, _h, _i, _j, _k;
|
||||
common_vendor.index.navigateTo({
|
||||
url: `/BILL/poster/index?id=${(_b2 = (_a2 = BILL_outstanding_fee_show_model.useModel.showData) == null ? void 0 : _a2.value) == null ? void 0 : _b2.id}&order_id=${(_c2 = res == null ? void 0 : res.data) == null ? void 0 : _c2.id}&time=${(_d2 = res == null ? void 0 : res.data) == null ? void 0 : _d2.created_at}&name=${(_f = (_e = BILL_outstanding_fee_show_model.useModel.showData) == null ? void 0 : _e.value) == null ? void 0 : _f.full_name}&amount=${((_h = (_g = BILL_outstanding_fee_show_model.useModel) == null ? void 0 : _g.total_amount) == null ? void 0 : _h.value) || ((_k = (_j = (_i = BILL_outstanding_fee_show_model.useModel) == null ? void 0 : _i.showData) == null ? void 0 : _j.value) == null ? void 0 : _k.total_pending_amount)}`
|
||||
});
|
||||
});
|
||||
}
|
||||
},
|
||||
// handleSelect(idx: number) {
|
||||
// let isAll = true
|
||||
// let is = useModel.dataList.value[idx].is_select
|
||||
// useModel.dataList.value[idx].is_select = !is
|
||||
// useModel.dataList.value?.map((res: { is_select: boolean }) => {
|
||||
// if (!res.is_select) {
|
||||
// isAll = false
|
||||
// }
|
||||
// })
|
||||
// useModel.allSelectStatus.value = isAll
|
||||
// },
|
||||
// handleAllSelect() {
|
||||
// useModel.allSelectStatus.value = !useModel?.allSelectStatus?.value
|
||||
// useModel.dataList.value?.map((res: any) => {
|
||||
// res.is_select = useModel.allSelectStatus.value
|
||||
// })
|
||||
// },
|
||||
handleNotice(res) {
|
||||
let arr = [
|
||||
{
|
||||
asset_houses_id: res == null ? void 0 : res.id,
|
||||
total_unpaid_amount: parseFloat(res == null ? void 0 : res.total_pending_amount)
|
||||
}
|
||||
];
|
||||
common_vendor.index.navigateTo({
|
||||
url: `/BILL/information_template/index?data=${JSON.stringify(arr)}`
|
||||
});
|
||||
},
|
||||
setCalculateTotalPrice,
|
||||
handleSelectExternalContact() {
|
||||
var _a;
|
||||
let bill_ids = getBillIds() || [];
|
||||
console.log(bill_ids, "bill_ids");
|
||||
if (!(bill_ids == null ? void 0 : bill_ids.length)) {
|
||||
return false;
|
||||
}
|
||||
if (((_a = auth == null ? void 0 : auth.data) == null ? void 0 : _a.environment) === "wxwork") {
|
||||
common_vendor.index.qy.getContext({
|
||||
success: function(res) {
|
||||
var _a2, _b, _c;
|
||||
let entry = res.entry;
|
||||
if (entry === "single_chat_tools") {
|
||||
common_libraries_sendWxWork.sendChatMessage({
|
||||
page: `/INDEX/bill_order/index.html?bill_ids=${JSON.stringify(bill_ids)}&house_id=${BILL_outstanding_fee_show_model.useModel.formData.value.asset_houses_id}`,
|
||||
title: `分享给您${(_c = (_b = (_a2 = BILL_outstanding_fee_show_model.useModel) == null ? void 0 : _a2.showData) == null ? void 0 : _b.value) == null ? void 0 : _c.full_name}物业账单`,
|
||||
imgUrl: "https://pay-prod-1369486729.cos.ap-guangzhou.myqcloud.com/uploads/cs-test/01K5B5RY2TQQAJ1GT2RZSK426V.jpg"
|
||||
});
|
||||
} else {
|
||||
common_libraries_sendWxWork.navigateToMiniProgram({
|
||||
path: "/pages/forward/index?source=OutstandingFeeList",
|
||||
envVersion: "develop",
|
||||
extraData: { source: "OutstandingFeeList" }
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
} else {
|
||||
common_libraries_sendWxWork.navigateToMiniProgram({
|
||||
path: "/pages/forward/index?source=OutstandingFeeList",
|
||||
envVersion: "develop",
|
||||
extraData: { source: "OutstandingFeeList" }
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
exports.method = method;
|
||||
18
dist/dev/mp-weixin/BILL/outstanding_fee/show/model.js
vendored
Normal file
18
dist/dev/mp-weixin/BILL/outstanding_fee/show/model.js
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../common/vendor.js");
|
||||
require("../../../common/libraries/day.js");
|
||||
const useModel = {
|
||||
formData: common_vendor.ref({ page: 1 }),
|
||||
listData: common_vendor.ref([]),
|
||||
current: common_vendor.ref(0),
|
||||
meta: common_vendor.ref({}),
|
||||
showData: common_vendor.ref({}),
|
||||
metaData: common_vendor.ref({}),
|
||||
tabsCurrent: common_vendor.ref(0),
|
||||
houseBillsData: common_vendor.ref([]),
|
||||
allSelectStatus: common_vendor.ref(false),
|
||||
headTabsList: common_vendor.ref([]),
|
||||
collectionList: common_vendor.ref([]),
|
||||
total_amount: common_vendor.ref(0)
|
||||
};
|
||||
exports.useModel = useModel;
|
||||
27
dist/dev/mp-weixin/BILL/poster/index.js
vendored
Normal file
27
dist/dev/mp-weixin/BILL/poster/index.js
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const BILL_poster_method = require("./method.js");
|
||||
require("./model.js");
|
||||
require("../../gen/Apis.js");
|
||||
require("../../common/libraries/request.js");
|
||||
require("../../common/store/useWeAppAuthStore.js");
|
||||
require("../../common/libraries/apiLoading.js");
|
||||
require("../../common/store/useWorkStore.js");
|
||||
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
__name: "index",
|
||||
setup(__props) {
|
||||
common_vendor.onLoad((e) => {
|
||||
BILL_poster_method.method.setCanvas(e);
|
||||
});
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.o(
|
||||
//@ts-ignore
|
||||
(...args) => common_vendor.unref(BILL_poster_method.method).onDownloadPosters && common_vendor.unref(BILL_poster_method.method).onDownloadPosters(...args)
|
||||
)
|
||||
};
|
||||
};
|
||||
}
|
||||
});
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-9912baa1"], ["__file", "/Users/zsq/Sources/github/2025property-pay/pay-employee/src/BILL/poster/index.vue"]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
4
dist/dev/mp-weixin/BILL/poster/index.json
vendored
Normal file
4
dist/dev/mp-weixin/BILL/poster/index.json
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"navigationBarTitleText": "二维码收款",
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
dist/dev/mp-weixin/BILL/poster/index.wxml
vendored
Normal file
1
dist/dev/mp-weixin/BILL/poster/index.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<view class="poster_main data-v-9912baa1"><view class="poster_canvas data-v-9912baa1"><canvas class="data-v-9912baa1" canvas-id="firstCanvas" id="firstCanvas" style="width:345px;height:504px"></canvas></view><view class="poster_func data-v-9912baa1"><view class="poster_func_download data-v-9912baa1" bindtap="{{a}}">下载海报</view></view></view>
|
||||
67
dist/dev/mp-weixin/BILL/poster/index.wxss
vendored
Normal file
67
dist/dev/mp-weixin/BILL/poster/index.wxss
vendored
Normal file
@ -0,0 +1,67 @@
|
||||
.poster_main.data-v-9912baa1 {
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
background-color: #f1f2f5;
|
||||
}
|
||||
.poster_canvas.data-v-9912baa1 {
|
||||
padding-top: 30rpx;
|
||||
height: 534px;
|
||||
}
|
||||
#firstCanvas.data-v-9912baa1 {
|
||||
margin: 0 auto;
|
||||
}
|
||||
.poster_func.data-v-9912baa1 {
|
||||
margin-top: 40rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
.poster_func_choice.data-v-9912baa1 {
|
||||
font-size: 28rpx;
|
||||
font-weight: 400;
|
||||
color: #0082fa;
|
||||
text-decoration: underline;
|
||||
}
|
||||
.poster_func_download.data-v-9912baa1, .poster_func_link.data-v-9912baa1 {
|
||||
width: 500rpx;
|
||||
height: 80rpx;
|
||||
font-size: 28rpx;
|
||||
border-radius: 66rpx;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
background-color: #0082fa;
|
||||
margin-top: 30rpx;
|
||||
color: #fff;
|
||||
}
|
||||
.poster_func_link.data-v-9912baa1 {
|
||||
background-color: #fff;
|
||||
}
|
||||
.image_popup.data-v-9912baa1 {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.image_popup_card.data-v-9912baa1 {
|
||||
width: 90vw;
|
||||
z-index: 200;
|
||||
}
|
||||
.image_popup_card_title.data-v-9912baa1 {
|
||||
text-align: center;
|
||||
font-size: 36rpx;
|
||||
font-weight: 600;
|
||||
}
|
||||
.image_popup_card_title_text.data-v-9912baa1 {
|
||||
margin: 20rpx 0 60rpx 0;
|
||||
}
|
||||
.image_popup_card_enter.data-v-9912baa1 {
|
||||
margin: 100rpx 0 20rpx 0;
|
||||
}
|
||||
.image_popup_card_swiper_item.data-v-9912baa1 {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
.image_popup_card_swiper_image.data-v-9912baa1 {
|
||||
width: 480rpx;
|
||||
height: 320rpx;
|
||||
}
|
||||
98
dist/dev/mp-weixin/BILL/poster/method.js
vendored
Normal file
98
dist/dev/mp-weixin/BILL/poster/method.js
vendored
Normal file
@ -0,0 +1,98 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const gen_Apis = require("../../gen/Apis.js");
|
||||
const BILL_poster_model = require("./model.js");
|
||||
const common_libraries_apiLoading = require("../../common/libraries/apiLoading.js");
|
||||
const getQrCode = (data, fun) => {
|
||||
common_libraries_apiLoading.getApiLoading(gen_Apis.Apis.HouseOrder.HouseOrders.GetPayQrCode, {
|
||||
id: data == null ? void 0 : data.order_id
|
||||
}).then((res) => {
|
||||
var _a;
|
||||
const fs = common_vendor.index.getFileSystemManager();
|
||||
var times = new Date().getTime();
|
||||
var codeimg = common_vendor.wx$1.env.USER_DATA_PATH + "/" + times + ".png";
|
||||
fs.writeFile({
|
||||
filePath: codeimg,
|
||||
data: (_a = res == null ? void 0 : res.data) == null ? void 0 : _a.qr_code.slice(22),
|
||||
encoding: "base64",
|
||||
success: () => {
|
||||
return fun == null ? void 0 : fun(codeimg);
|
||||
}
|
||||
});
|
||||
});
|
||||
};
|
||||
const method = {
|
||||
//method
|
||||
getHouseDetail(id) {
|
||||
},
|
||||
updateCoverInfo() {
|
||||
this.setCanvas(BILL_poster_model.useModel.houseDetail.value);
|
||||
},
|
||||
setCanvas(data) {
|
||||
const context = common_vendor.index.createCanvasContext("firstCanvas");
|
||||
getQrCode(data, (url) => {
|
||||
common_vendor.index.downloadFile({
|
||||
url: "https://jyw-dev-1322946948.cos.ap-guangzhou.myqcloud.com/uploads/cs-test/01K2GQ7CEB6DJ9BN8HMRV8SSWE.png",
|
||||
success(res) {
|
||||
context.drawImage(res.tempFilePath, 0, 0, 345, 504);
|
||||
context.font = "bold 18px Arial";
|
||||
context.setTextAlign("center");
|
||||
context.fillText((data == null ? void 0 : data.name) || "-", 345 / 2, 45);
|
||||
context.font = "bold 16px Arial";
|
||||
context.fillStyle = "#DF3600";
|
||||
context.fillText(`缴费金额:${data == null ? void 0 : data.amount}元`, 345 / 2, 78);
|
||||
context.font = "14px Arial";
|
||||
context.fillStyle = "#333";
|
||||
context.fillText("请使用微信扫码支付", 345 / 2, 450);
|
||||
context.font = "12px Arial";
|
||||
context.fillStyle = "#666";
|
||||
context.fillText(`生成时间:${data == null ? void 0 : data.time}`, 345 / 2, 475);
|
||||
context.drawImage(url, 72.5, 150, 200, 200);
|
||||
context.restore();
|
||||
context.draw();
|
||||
}
|
||||
});
|
||||
console.log(url, "二维码路径");
|
||||
});
|
||||
},
|
||||
onDownloadPosters() {
|
||||
common_vendor.index.showLoading({
|
||||
title: "正在保存中..."
|
||||
});
|
||||
common_vendor.index.canvasToTempFilePath({
|
||||
x: 0,
|
||||
y: 0,
|
||||
width: 345,
|
||||
height: 504,
|
||||
destWidth: 345 * 4,
|
||||
destHeight: 504 * 4,
|
||||
canvasId: "firstCanvas",
|
||||
success: function(res) {
|
||||
common_vendor.index.hideLoading();
|
||||
common_vendor.index.saveImageToPhotosAlbum({
|
||||
filePath: res.tempFilePath,
|
||||
success: function() {
|
||||
console.log("save success");
|
||||
common_vendor.index.hideLoading();
|
||||
},
|
||||
fail() {
|
||||
common_vendor.index.hideLoading();
|
||||
}
|
||||
});
|
||||
console.log(res.tempFilePath);
|
||||
},
|
||||
fail() {
|
||||
common_vendor.index.hideLoading();
|
||||
}
|
||||
});
|
||||
},
|
||||
initActualImages: async (id) => {
|
||||
},
|
||||
choiceImgPopControl() {
|
||||
var _a;
|
||||
this.initActualImages((_a = BILL_poster_model.useModel.houseDetail.value) == null ? void 0 : _a.id);
|
||||
},
|
||||
copyLink() {
|
||||
}
|
||||
};
|
||||
exports.method = method;
|
||||
19
dist/dev/mp-weixin/BILL/poster/model.js
vendored
Normal file
19
dist/dev/mp-weixin/BILL/poster/model.js
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const useModel = {
|
||||
//model
|
||||
coverBgImg: "https://jyw-1322946948.cos.ap-guangzhou.myqcloud.com/upload/gjEDA6cmTu5FnMCWzyGSE.png",
|
||||
coverImg: common_vendor.ref(""),
|
||||
houseDetail: common_vendor.ref({}),
|
||||
qrCodeByBase64: common_vendor.ref(""),
|
||||
choiceImgShow: common_vendor.ref(false),
|
||||
posterStyle: {
|
||||
background: "url('https://jyw-1322946948.cos.ap-guangzhou.myqcloud.com/upload/jgKWriyfZrPSIBuHrlfNG.png')",
|
||||
backgroundSize: "100% 100%",
|
||||
marginTop: "30rpx",
|
||||
padding: "30rpx"
|
||||
},
|
||||
houseActualImages: common_vendor.ref([]),
|
||||
posterImage: common_vendor.ref("")
|
||||
};
|
||||
exports.useModel = useModel;
|
||||
73
dist/dev/mp-weixin/BILL/record/payment/index.js
vendored
Normal file
73
dist/dev/mp-weixin/BILL/record/payment/index.js
vendored
Normal file
@ -0,0 +1,73 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../common/vendor.js");
|
||||
const gen_Enums = require("../../../gen/Enums.js");
|
||||
const BILL_record_payment_method = require("./method.js");
|
||||
const BILL_record_payment_model = require("./model.js");
|
||||
require("../../../common/libraries/apiLoading.js");
|
||||
require("../../../gen/Apis.js");
|
||||
require("../../../common/libraries/request.js");
|
||||
require("../../../common/store/useWeAppAuthStore.js");
|
||||
require("../../../common/store/useWorkStore.js");
|
||||
if (!Array) {
|
||||
const _easycom_uni_icons2 = common_vendor.resolveComponent("uni-icons");
|
||||
const _easycom_hs_enum_tag2 = common_vendor.resolveComponent("hs-enum-tag");
|
||||
const _easycom_cc_scroll_loading2 = common_vendor.resolveComponent("cc-scroll-loading");
|
||||
(_easycom_uni_icons2 + _easycom_hs_enum_tag2 + _easycom_cc_scroll_loading2)();
|
||||
}
|
||||
const _easycom_uni_icons = () => "../../../uni_modules/uni-icons/components/uni-icons/uni-icons.js";
|
||||
const _easycom_hs_enum_tag = () => "../../../components/hs-enum-tag/hs-enum-tag.js";
|
||||
const _easycom_cc_scroll_loading = () => "../../../common/components/cc-scroll-loading/cc-scroll-loading.js";
|
||||
if (!Math) {
|
||||
(_easycom_uni_icons + _easycom_hs_enum_tag + _easycom_cc_scroll_loading)();
|
||||
}
|
||||
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
__name: "index",
|
||||
setup(__props) {
|
||||
const billsShow = common_vendor.ref(false);
|
||||
common_vendor.onLoad((e) => {
|
||||
var _a;
|
||||
console.log(e, "e");
|
||||
BILL_record_payment_model.useModel.formData.value.asset_houses_id = e == null ? void 0 : e.asset_houses_id;
|
||||
(_a = BILL_record_payment_method.method) == null ? void 0 : _a.getHouseBills();
|
||||
});
|
||||
return (_ctx, _cache) => {
|
||||
var _a, _b, _c, _d, _e;
|
||||
return {
|
||||
a: common_vendor.f((_b = (_a = common_vendor.unref(BILL_record_payment_model.useModel)) == null ? void 0 : _a.listData) == null ? void 0 : _b.value, (i, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.t((i == null ? void 0 : i.display_text) || "-"),
|
||||
b: common_vendor.t(i == null ? void 0 : i.total_paid_amount_monthly),
|
||||
c: "410f6c84-1-" + i0 + ",410f6c84-0",
|
||||
d: common_vendor.o(($event) => billsShow.value = !billsShow.value, `items_${index}`)
|
||||
}, billsShow.value ? {
|
||||
e: common_vendor.f(i == null ? void 0 : i.bills, (k, idx, i1) => {
|
||||
return {
|
||||
a: "410f6c84-2-" + i0 + "-" + i1 + ",410f6c84-0",
|
||||
b: common_vendor.p({
|
||||
value: k == null ? void 0 : k.type,
|
||||
Enums: common_vendor.unref(gen_Enums.HouseBillsTypeEnum)
|
||||
}),
|
||||
c: common_vendor.t(k == null ? void 0 : k.total_payable_amount),
|
||||
d: `bills_${index}_${idx}`
|
||||
};
|
||||
})
|
||||
} : {}, {
|
||||
f: `items_${index}`
|
||||
});
|
||||
}),
|
||||
b: common_vendor.p({
|
||||
type: "down",
|
||||
size: "15",
|
||||
color: "#666"
|
||||
}),
|
||||
c: billsShow.value,
|
||||
d: common_vendor.o((_c = common_vendor.unref(BILL_record_payment_method.method)) == null ? void 0 : _c.loadMore),
|
||||
e: common_vendor.p({
|
||||
meta: (_e = (_d = common_vendor.unref(BILL_record_payment_model.useModel)) == null ? void 0 : _d.metaData) == null ? void 0 : _e.value
|
||||
})
|
||||
};
|
||||
};
|
||||
}
|
||||
});
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "/Users/zsq/Sources/github/2025property-pay/pay-employee/src/BILL/record/payment/index.vue"]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
8
dist/dev/mp-weixin/BILL/record/payment/index.json
vendored
Normal file
8
dist/dev/mp-weixin/BILL/record/payment/index.json
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"navigationBarTitleText": "缴费记录",
|
||||
"usingComponents": {
|
||||
"uni-icons": "../../../uni_modules/uni-icons/components/uni-icons/uni-icons",
|
||||
"hs-enum-tag": "../../../components/hs-enum-tag/hs-enum-tag",
|
||||
"cc-scroll-loading": "../../../common/components/cc-scroll-loading/cc-scroll-loading"
|
||||
}
|
||||
}
|
||||
1
dist/dev/mp-weixin/BILL/record/payment/index.wxml
vendored
Normal file
1
dist/dev/mp-weixin/BILL/record/payment/index.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<view><cc-scroll-loading wx:if="{{e}}" u-s="{{['d']}}" bindload="{{d}}" u-i="410f6c84-0" bind:__l="__l" u-p="{{e}}"><view wx:for="{{a}}" wx:for-item="i" wx:key="f" class="payment_records_item"><view class="payment_records_item_cell">{{i.a}} <view class="header_right_content" bindtap="{{i.d}}"><text> ¥{{i.b}}</text><uni-icons wx:if="{{b}}" u-i="{{i.c}}" bind:__l="__l" u-p="{{b}}"></uni-icons></view></view><view wx:if="{{c}}" class="items_body"><block wx:for="{{i.e}}" wx:for-item="k" wx:key="d"><view class="bills_cell"><hs-enum-tag wx:if="{{k.b}}" u-i="{{k.a}}" bind:__l="__l" u-p="{{k.b}}"/><view> ¥{{k.c}}</view></view></block></view></view></cc-scroll-loading></view>
|
||||
36
dist/dev/mp-weixin/BILL/record/payment/index.wxss
vendored
Normal file
36
dist/dev/mp-weixin/BILL/record/payment/index.wxss
vendored
Normal file
@ -0,0 +1,36 @@
|
||||
page {
|
||||
background-color: #f8f8f8;
|
||||
}
|
||||
.payment_records_item {
|
||||
margin: 30rpx 30rpx 0 30rpx;
|
||||
background-color: #fff;
|
||||
padding: 30rpx;
|
||||
border-radius: 10rpx;
|
||||
}
|
||||
.payment_records_item .payment_records_item_cell {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
font-size: 29rpx;
|
||||
color: #333;
|
||||
}
|
||||
.payment_records_item .payment_records_item_cell .header_right_content {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.payment_records_item .payment_records_item_cell .header_right_content text {
|
||||
color: #df3600;
|
||||
}
|
||||
.payment_records_item .items_body {
|
||||
background-color: #f7f8fc;
|
||||
padding: 20rpx;
|
||||
border-radius: 15rpx;
|
||||
margin: 20rpx 0 0 0;
|
||||
}
|
||||
.payment_records_item .items_body .bills_cell {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
color: #333;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user