fix:最新版本
This commit is contained in:
parent
8ba9d9ae86
commit
6de9094605
@ -1,5 +1,5 @@
|
||||
NODE_ENV= development
|
||||
# VITE_HTTP_BASE_URL = http://10.39.13.78:8001/api/
|
||||
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_ACCESS_TOKEN_KEY= 'ACCESS_TOKEN_CUSTOMER'
|
||||
# VITE_HTTP_BASE_URL= https://weapp-api.linyikj.com.cn/api/
|
||||
VITE_ACCESS_TOKEN_KEY= 'ACCESS_TOKEN_CUSTOMER'
|
||||
|
||||
33
.prettierrc
33
.prettierrc
@ -4,7 +4,36 @@
|
||||
"tabWidth": 2,
|
||||
"trailingComma": "none",
|
||||
"printWidth": 100,
|
||||
"htmlWhitespaceSensitivity": "ignore",
|
||||
"vueIndentScriptAndStyle": true,
|
||||
"endOfLine": "auto",
|
||||
|
||||
// SCSS/CSS 格式化规则
|
||||
"cssWhitespaceSensitivity": "ignore",
|
||||
"bracketSpacing": true,
|
||||
"bracketSameLine": false,
|
||||
"arrowParens": "avoid",
|
||||
"endOfLine": "auto"
|
||||
}
|
||||
|
||||
// 强制 CSS 属性排序
|
||||
"cssDeclarationSorterOrder": "alphabetical",
|
||||
|
||||
// SCSS 特定配置
|
||||
"scssBracketSameLine": false,
|
||||
|
||||
// 嵌套规则格式化
|
||||
"cssSingleLine": false,
|
||||
|
||||
// 属性格式化
|
||||
"attributeGroups": [
|
||||
"$ANGULAR_STRUCTURAL_DIRECTIVE",
|
||||
"$ANGULAR_ELEMENT_REF",
|
||||
"$ID",
|
||||
"$CLASS",
|
||||
"$DEFAULT",
|
||||
"$ANGULAR_ANIMATION",
|
||||
"$ANGULAR_ANIMATION_INPUT",
|
||||
"$ANGULAR_INPUT",
|
||||
"$ANGULAR_TWO_WAY_BINDING",
|
||||
"$ANGULAR_OUTPUT"
|
||||
]
|
||||
}
|
||||
|
||||
87
.vscode/settings.json
vendored
87
.vscode/settings.json
vendored
@ -1,17 +1,94 @@
|
||||
{
|
||||
// 全局保存时格式化
|
||||
"editor.formatOnSave": true,
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||
"[vue]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||
|
||||
// 保存时执行的操作
|
||||
"editor.codeActionsOnSave": {
|
||||
"source.fixAll.eslint": "explicit",
|
||||
"source.fixAll.stylelint": "explicit",
|
||||
"source.organizeImports": "explicit"
|
||||
},
|
||||
|
||||
// 指定不同文件的格式化工具
|
||||
"[vue]": {
|
||||
"editor.defaultFormatter": "Vue.volar"
|
||||
},
|
||||
|
||||
"[javascript]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||
},
|
||||
|
||||
"[typescript]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||
},
|
||||
|
||||
"[json]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||
},
|
||||
"prettier.requireConfig": true
|
||||
}
|
||||
|
||||
// SCSS/Sass 文件格式化
|
||||
"[scss]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||
"editor.formatOnSave": true
|
||||
},
|
||||
|
||||
"[sass]": {
|
||||
"editor.defaultFormatter": "sass.sass-indented",
|
||||
"editor.formatOnSave": true
|
||||
},
|
||||
|
||||
"[css]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||
"editor.formatOnSave": true
|
||||
},
|
||||
|
||||
// Vue 文件内部的语言格式化
|
||||
"volar.format.defaultFormatter.scss": "prettier",
|
||||
"volar.format.defaultFormatter.sass": "sass-formatter",
|
||||
"volar.format.defaultFormatter.css": "prettier",
|
||||
"volar.format.defaultFormatter.less": "prettier",
|
||||
"volar.format.defaultFormatter.stylus": "prettier",
|
||||
"volar.format.defaultFormatter.js": "prettier",
|
||||
"volar.format.defaultFormatter.ts": "prettier",
|
||||
"volar.format.defaultFormatter.json": "prettier",
|
||||
|
||||
// Prettier 详细配置
|
||||
"prettier.enable": true,
|
||||
"prettier.requireConfig": true,
|
||||
"prettier.withNodeModules": false,
|
||||
|
||||
// Stylelint 配置
|
||||
"stylelint.enable": true,
|
||||
"stylelint.validate": ["css", "scss", "vue", "sass"],
|
||||
"css.validate": false,
|
||||
"scss.validate": false,
|
||||
"less.validate": false,
|
||||
|
||||
// 缩进和空格设置
|
||||
"editor.tabSize": 2,
|
||||
"editor.insertSpaces": true,
|
||||
"editor.detectIndentation": false,
|
||||
"editor.trimAutoWhitespace": true,
|
||||
"files.trimTrailingWhitespace": true,
|
||||
"files.insertFinalNewline": true,
|
||||
|
||||
// 禁用 Vetur(如果安装了)
|
||||
"vetur.format.enable": false,
|
||||
"vetur.validation.template": false,
|
||||
|
||||
// Volar 配置
|
||||
"volar.format.enable": true,
|
||||
"volar.format.initialIndent": true,
|
||||
"volar.format.options.tabSize": 2,
|
||||
"volar.format.options.useTabs": false,
|
||||
"volar.codeLens.pugTools": false,
|
||||
|
||||
// Uniapp 配置
|
||||
"uni-app-vue.disable-auto-install": false,
|
||||
"files.associations": {
|
||||
"pages.json": "json",
|
||||
"manifest.json": "json",
|
||||
"*.scss": "scss",
|
||||
"*.sass": "sass"
|
||||
}
|
||||
}
|
||||
|
||||
2
ci/ci.js
2
ci/ci.js
@ -32,7 +32,7 @@ const privateList = fs.readdirSync(`${projectPath}/ci/privateKey`)
|
||||
const uploadInfo = {
|
||||
version: projectConfig.version,
|
||||
desc: CI_DESC === 'test' ? '测试环境' : CI_DESC === 'prod' ? '生产环境' : '开发环境',
|
||||
robot: 1
|
||||
robot: CI_DESC === 'test' ? 2: 1,
|
||||
}
|
||||
const command = process.argv.slice(2)[0]
|
||||
console.log('privateList', privateList)
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
{
|
||||
"version": "0.0.28"
|
||||
}
|
||||
"version": "0.0.47"
|
||||
}
|
||||
1
dist/build/mp-weixin/BILL/bill_details/index.js
vendored
Normal file
1
dist/build/mp-weixin/BILL/bill_details/index.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";const e={};const r=require("../../common/vendor.js")._export_sfc(e,[["render",function(e,r){return{}}]]);wx.createPage(r);
|
||||
4
dist/build/mp-weixin/BILL/bill_details/index.json
vendored
Normal file
4
dist/build/mp-weixin/BILL/bill_details/index.json
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"navigationBarTitleText": "账单详情",
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
dist/build/mp-weixin/BILL/bill_details/index.wxml
vendored
Normal file
1
dist/build/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>
|
||||
1
dist/build/mp-weixin/BILL/bill_details/index.wxss
vendored
Normal file
1
dist/build/mp-weixin/BILL/bill_details/index.wxss
vendored
Normal file
@ -0,0 +1 @@
|
||||
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;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}
|
||||
1
dist/build/mp-weixin/BILL/collection_record/index/index.js
vendored
Normal file
1
dist/build/mp-weixin/BILL/collection_record/index/index.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../../common/vendor.js"),o=require("./model.js"),n=require("./method.js"),s=require("../../../gen/Enums.js");if(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/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("hs-tabs")+e.resolveComponent("uni-icons")+e.resolveComponent("up-icon")+e.resolveComponent("hs-enum-tag")+e.resolveComponent("cc-scroll-loading"))()}Math||((()=>"../../../components/hs-tabs/hs-tabs.js")+(()=>"../../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../../node-modules/uview-plus/components/u-icon/u-icon.js")+(()=>"../../../components/hs-enum-tag/hs-enum-tag.js")+(()=>"../../../common/components/cc-scroll-loading/cc-scroll-loading.js"))();const t=e.defineComponent({__name:"index",setup(t){const l=[{label:"全部",value:""},{label:"已完成",value:"Completed"},{label:"进行中",value:"Processing"}];return e.onLoad((async()=>{var s,t;await(null==(s=e.getCurrentInstance())?void 0:s.appContext.config.globalProperties.$onLaunched),o.useModel.dataList.value=[],null==(t=n.method)||t.getList()})),(t,u)=>{var r,i,a,c,m,d,v,p;return{a:e.o(null==(r=e.unref(n.method))?void 0:r.changeTab),b:e.p({list:l,current:null==(a=null==(i=e.unref(o.useModel))?void 0:i.tabCurrent)?void 0:a.value}),c:e.f(null==(m=null==(c=e.unref(o.useModel))?void 0:c.dataList)?void 0:m.value,((o,t,l)=>{var u;return e.e({a:e.t(null==o?void 0:o.task_name),b:"Processing"===(null==o?void 0:o.status)},"Processing"===(null==o?void 0:o.status)?{c:"9447b322-2-"+l+",9447b322-1",d:e.p({type:"refreshempty",size:"14",color:"#0082fa"})}:{},{e:"9447b322-3-"+l+",9447b322-1",f:e.t(null==(u=null==o?void 0:o.company_employee)?void 0:u.name),g:"9447b322-4-"+l+",9447b322-1",h:e.t(null==o?void 0:o.created_at),i:"9447b322-5-"+l+",9447b322-1",j:e.p({value:null==o?void 0:o.status,Enums:e.unref(s.HouseCollectionTasksStatusEnum)}),k:"9447b322-6-"+l+",9447b322-1",l:e.p({type:"right",size:"15",color:"Processing"===(null==o?void 0:o.status)?"#0082fa":"#67C23A"}),m:e.n(`status status_${null==o?void 0:o.status}`),n:`items_${t}`,o:e.n(`collection_record_item items_${null==o?void 0:o.status}`),p:e.o((s=>{var t;return null==(t=e.unref(n.method))?void 0:t.goDetail(o)}),`items_${t}`)})})),d:e.p({type:"person",size:"15",color:"#C4C4C4"}),e:e.p({name:"clock",size:"15",color:"#C4C4C4"}),f:e.o(null==(d=e.unref(n.method))?void 0:d.load),g:e.p({meta:null==(p=null==(v=e.unref(o.useModel))?void 0:v.meta)?void 0:p.value})}}}});wx.createPage(t);
|
||||
10
dist/build/mp-weixin/BILL/collection_record/index/index.json
vendored
Normal file
10
dist/build/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/build/mp-weixin/BILL/collection_record/index/index.wxml
vendored
Normal file
1
dist/build/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>
|
||||
1
dist/build/mp-weixin/BILL/collection_record/index/index.wxss
vendored
Normal file
1
dist/build/mp-weixin/BILL/collection_record/index/index.wxss
vendored
Normal file
@ -0,0 +1 @@
|
||||
page{background-color:#f8f8f8}.collection_record_header{position:fixed;top:0;left:0;right:0;z-index:100;background-color:#fff;box-shadow:0 3px 7px rgba(206,206,206,.25)}.collection_record_body{padding:110rpx 30rpx 0}.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}.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}
|
||||
1
dist/build/mp-weixin/BILL/collection_record/index/method.js
vendored
Normal file
1
dist/build/mp-weixin/BILL/collection_record/index/method.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../../common/vendor.js"),l=require("../../../common/libraries/apiLoading.js"),o=require("../../../gen/Apis.js"),a=require("./model.js"),t=require("../../../gen/Enums.js"),s=()=>{var e,l;o.Apis.Collection.HouseCollectionTasks.List(null==(l=null==(e=a.useModel)?void 0:e.formData)?void 0:l.value).then((e=>{a.useModel.dataList.value=[...a.useModel.dataList.value,...null==e?void 0:e.data],a.useModel.meta.value=null==e?void 0:e.meta,console.log("登录",null==e?void 0:e.data)}))},i=e=>{l.getApiLoading(o.Apis.Collection.HouseCollectionRecords.GetTaskRecords,{collection_tasks_id:e}).then((e=>{a.useModel.showDataTable.value=null==e?void 0:e.data}))},u={getList:s,changeTab(e,l){a.useModel.tabCurrent.value=e,a.useModel.formData.value.status=null==l?void 0:l.value,a.useModel.formData.value.page=1,a.useModel.dataList.value=[],s()},load(e){a.useModel.formData.value.page=null==e?void 0:e.page,s()},goDetail(l){e.index.navigateTo({url:`/BILL/collection_record/show?id=${null==l?void 0:l.id}`})},getShow(e){l.getApiLoading(o.Apis.Collection.HouseCollectionTasks.Show,{id:e}).then((e=>{var l;a.useModel.showData.value=null==e?void 0:e.data,i(null==(l=null==e?void 0:e.data)?void 0:l.id)}))},getTaskRecords:i,getShowChannel(e){let l="";return null==e||e.map((e=>{var o;l+=e?`${null==(o=t.HouseCollectionTasksChannelEnum[e])?void 0:o.text} `:""})),l}};exports.method=u;
|
||||
1
dist/build/mp-weixin/BILL/collection_record/index/model.js
vendored
Normal file
1
dist/build/mp-weixin/BILL/collection_record/index/model.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../../common/vendor.js");require("../../../common/libraries/day.js");const r={formData:e.ref({page:1,status:""}),dataList:e.ref([]),meta:e.ref({}),tabCurrent:e.ref(0),showData:e.ref({}),showDataTable:e.ref([])};exports.useModel=r;
|
||||
1
dist/build/mp-weixin/BILL/collection_record/show/index.js
vendored
Normal file
1
dist/build/mp-weixin/BILL/collection_record/show/index.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../../common/vendor.js"),o=require("./model.js"),l=require("./method.js"),n=require("../../../gen/Enums.js");if(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/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("hs-cell")+e.resolveComponent("hs-enum-tag")+e.resolveComponent("uni-icons")+e.resolveComponent("hs-refresh"))()}Math||((()=>"../../../components/hs-cell/hs-cell.js")+(()=>"../../../components/hs-enum-tag/hs-enum-tag.js")+(()=>"../../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../../components/hs-refresh/hs-refresh.js"))();const u=e.defineComponent({__name:"index",setup:u=>(e.onLoad((e=>{var o;null==(o=l.method)||o.getShow(null==e?void 0:e.id)})),(u,s)=>{var i,r,t,a,d,v,c,m,h,p,f,j,b,_,g,w,q,C,M,y,D,T,k,S,A;return{a:e.p({title:"催缴类型",borderTop:!0,value:null==(t=null==(r=null==(i=e.unref(o.useModel))?void 0:i.showData)?void 0:r.value)?void 0:t.task_name}),b:e.p({value:null==(v=null==(d=null==(a=e.unref(o.useModel))?void 0:a.showData)?void 0:d.value)?void 0:v.status,Enums:e.unref(n.HouseCollectionTasksStatusEnum)}),c:e.n(`status_tag_${null==(h=null==(m=null==(c=e.unref(o.useModel))?void 0:c.showData)?void 0:m.value)?void 0:h.status}`),d:e.p({title:"状态",borderTop:!0}),e:e.p({title:"发起人",borderTop:!0,value:null==(b=null==(j=null==(f=null==(p=e.unref(o.useModel))?void 0:p.showData)?void 0:f.value)?void 0:j.company_employee)?void 0:b.name}),f:e.t(null==(q=e.unref(l.method))?void 0:q.getShowChannel(null==(w=null==(g=null==(_=e.unref(o.useModel))?void 0:_.showData)?void 0:g.value)?void 0:w.channel)),g:e.p({title:"通知方式",borderTop:!0}),h:e.p({title:"创建时间",borderTop:!0,value:null==(y=null==(M=null==(C=e.unref(o.useModel))?void 0:C.showData)?void 0:M.value)?void 0:y.created_at}),i:e.f(null==(k=null==(T=null==(D=e.unref(o.useModel))?void 0:D.showData)?void 0:T.value)?void 0:k.channel,((o,l,u)=>({a:"0647cc96-6-"+u,b:e.p({value:o,Enums:e.unref(n.HouseCollectionTasksChannelEnum)}),c:`h_td_${l}`}))),j:e.f(null==(A=null==(S=e.unref(o.useModel))?void 0:S.showDataTable)?void 0:A.value,((o,l,n)=>({a:e.t(null==o?void 0:o.full_name),b:e.f(null==o?void 0:o.notify_info,((o,l,u)=>e.e({a:"Notified"===(null==o?void 0:o.status)},"Notified"===(null==o?void 0:o.status)?{b:"0647cc96-7-"+n+"-"+u,c:e.p({type:"checkbox",color:"#67C23A",size:"20"})}:"Failed"===(null==o?void 0:o.status)?{e:"0647cc96-8-"+n+"-"+u,f:e.p({type:"close",color:"#F89898",size:"20"})}:{g:"0647cc96-9-"+n+"-"+u,h:e.p({type:"spinner-cycle",color:"#999",size:"20"})},{d:"Failed"===(null==o?void 0:o.status),i:`td_${l}`}))),c:`tr_${l}`}))),k:e.o((n=>{var u,s,i;return e.unref(l.method).getShow(null==(i=null==(s=null==(u=e.unref(o.useModel))?void 0:u.showData)?void 0:s.value)?void 0:i.id)}))}})});wx.createPage(u);
|
||||
9
dist/build/mp-weixin/BILL/collection_record/show/index.json
vendored
Normal file
9
dist/build/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/build/mp-weixin/BILL/collection_record/show/index.wxml
vendored
Normal file
1
dist/build/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>
|
||||
1
dist/build/mp-weixin/BILL/collection_record/show/index.wxss
vendored
Normal file
1
dist/build/mp-weixin/BILL/collection_record/show/index.wxss
vendored
Normal file
@ -0,0 +1 @@
|
||||
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}
|
||||
1
dist/build/mp-weixin/BILL/collection_record/show/method.js
vendored
Normal file
1
dist/build/mp-weixin/BILL/collection_record/show/method.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../../common/vendor.js"),l=require("../../../common/libraries/apiLoading.js"),o=require("../../../gen/Apis.js"),a=require("./model.js"),t=require("../../../gen/Enums.js"),s=()=>{var e,l;o.Apis.Collection.HouseCollectionTasks.List(null==(l=null==(e=a.useModel)?void 0:e.formData)?void 0:l.value).then((e=>{a.useModel.dataList.value=[...a.useModel.dataList.value,...null==e?void 0:e.data],a.useModel.meta.value=null==e?void 0:e.meta,console.log("登录",null==e?void 0:e.data)}))},i=e=>{l.getApiLoading(o.Apis.Collection.HouseCollectionRecords.GetTaskRecords,{collection_tasks_id:e}).then((e=>{a.useModel.showDataTable.value=null==e?void 0:e.data}))},u={getList:s,changeTab(e,l){a.useModel.tabCurrent.value=e,a.useModel.formData.value.status=null==l?void 0:l.value,a.useModel.formData.value.page=1,a.useModel.dataList.value=[],s()},load(e){a.useModel.formData.value.page=null==e?void 0:e.page,s()},goDetail(l){e.index.navigateTo({url:`/BILL/collection_record/show?id=${null==l?void 0:l.id}`})},getShow(e){l.getApiLoading(o.Apis.Collection.HouseCollectionTasks.Show,{id:e}).then((e=>{var l;a.useModel.showData.value=null==e?void 0:e.data,i(null==(l=null==e?void 0:e.data)?void 0:l.id)}))},getTaskRecords:i,getShowChannel(e){let l="";return null==e||e.map((e=>{var o;l+=e?`${null==(o=t.HouseCollectionTasksChannelEnum[e])?void 0:o.text} `:""})),l}};exports.method=u;
|
||||
1
dist/build/mp-weixin/BILL/collection_record/show/model.js
vendored
Normal file
1
dist/build/mp-weixin/BILL/collection_record/show/model.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../../common/vendor.js");require("../../../common/libraries/day.js");const r={formData:e.ref({page:1,status:""}),dataList:e.ref([]),meta:e.ref({}),tabCurrent:e.ref(0),showData:e.ref({}),showDataTable:e.ref([])};exports.useModel=r;
|
||||
1
dist/build/mp-weixin/BILL/information_template/components/PopupSubmitTemplate.js
vendored
Normal file
1
dist/build/mp-weixin/BILL/information_template/components/PopupSubmitTemplate.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../../common/vendor.js"),o=require("../../../common/libraries/apiLoading.js"),t=require("../../../gen/Apis.js");if(require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("hs-button")+e.resolveComponent("hs-popup")+e.resolveComponent("hs-footer"))()}Math||((()=>"../../../components/hs-button/hs-button.js")+(()=>"../../../components/hs-popup/hs-popup.js")+(()=>"../../../components/hs-footer/hs-footer.js"))();const r=e.defineComponent({__name:"PopupSubmitTemplate",props:["formData","type"],setup(r){const n=r,s=e.ref(!1),l=e.ref(!1),a=()=>{var o;console.log(null==n?void 0:n.type,"type"),(null==(o=null==n?void 0:n.type)?void 0:o.length)?s.value=!s.value:e.index.showToast({title:"请选择通知方式!",icon:"none"})},i=()=>{e.index.navigateBack({delta:1})},p=()=>{o.getApiLoading(t.Apis.Collection.HouseCollectionTasks.Store,{...n.formData,channel:n.type}).then((e=>{s.value=!1,l.value=!0}))},u=()=>{e.index.redirectTo({url:"/BILL/collection_record/index/index"})};return(o,t)=>{var r,m;return{a:e.t(null==(m=null==(r=null==n?void 0:n.formData)?void 0:r.houses)?void 0:m.length),b:e.o(p),c:e.p({label:"确认提交",size:"md",type:"primary"}),d:e.o(a),e:e.p({show:s.value,mode:"center",round:15,closeable:!0}),f:e.o(a),g:e.p({btnParimaryName:"提交"}),h:e.o(i),i:e.p({label:"返回欠费列表",size:"md",type:"default"}),j:e.o(u),k:e.p({label:"查看任务详情",size:"md"}),l:e.p({show:l.value,mode:"center",round:15})}}}}),n=e._export_sfc(r,[["__scopeId","data-v-7c88a356"]]);wx.createComponent(n);
|
||||
8
dist/build/mp-weixin/BILL/information_template/components/PopupSubmitTemplate.json
vendored
Normal file
8
dist/build/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/build/mp-weixin/BILL/information_template/components/PopupSubmitTemplate.wxml
vendored
Normal file
1
dist/build/mp-weixin/BILL/information_template/components/PopupSubmitTemplate.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<view class="data-v-7c88a356"><hs-popup wx:if="{{e}}" class="data-v-7c88a356" u-s="{{['d']}}" bindclose="{{d}}" u-i="7c88a356-0" bind:__l="__l" u-p="{{e}}"><view class="popup_content data-v-7c88a356"><view class="popup_title data-v-7c88a356"> 确认提交 </view><view class="popup_subtitle data-v-7c88a356"> 发送摘要 </view><view class="popup_card data-v-7c88a356"><view class="popup_card_cell data-v-7c88a356"> 发送房屋数量 <text class="data-v-7c88a356">{{a}}户 </text></view></view><view class="popup_subtitle data-v-7c88a356"> 公众号/小程序通知内容预览 </view><view class="popup_card popup_card_primary data-v-7c88a356"> 【XX物业】您名下房产存在待缴账单,可点击详情缴纳。如已缴费请忽略。 </view><view class="popup_subtitle data-v-7c88a356"> 企微批量发送内容预览 </view><view class="enterprise_wechat_content enterprise_wechat_content_popup data-v-7c88a356"><view class="enterprise_wechat data-v-7c88a356"><view class="cover_img data-v-7c88a356"><image class=" data-v-7c88a356" 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-7c88a356"> 您的物业费账单已生成,请点击此处进行缴费! </view></view></view><view class="popup_footer_value data-v-7c88a356"><hs-button wx:if="{{c}}" class="data-v-7c88a356" bindclick="{{b}}" u-i="7c88a356-1,7c88a356-0" bind:__l="__l" u-p="{{c}}"/></view></view></hs-popup><hs-footer wx:if="{{g}}" class="data-v-7c88a356" bindhandleParmaryClick="{{f}}" u-i="7c88a356-2" bind:__l="__l" u-p="{{g}}"/><hs-popup wx:if="{{l}}" class="data-v-7c88a356" u-s="{{['d']}}" u-i="7c88a356-3" bind:__l="__l" u-p="{{l}}"><view class="popup_content data-v-7c88a356"><view class="popup_title data-v-7c88a356"> 提交成功 </view><view class="popup_icon data-v-7c88a356"><image class="data-v-7c88a356" 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-7c88a356"> 提交成功,任务正在处理中! </view><view class="popup_submit_path data-v-7c88a356"> 您可随时前往【首页 > 催缴记录】查看任务。 </view><view class="popup_footer data-v-7c88a356"><view class="btn data-v-7c88a356"><hs-button wx:if="{{i}}" class="data-v-7c88a356" bindclick="{{h}}" u-i="7c88a356-4,7c88a356-3" bind:__l="__l" u-p="{{i}}"/></view><view class="btn data-v-7c88a356"><hs-button wx:if="{{k}}" class="data-v-7c88a356" bindclick="{{j}}" u-i="7c88a356-5,7c88a356-3" bind:__l="__l" u-p="{{k}}"/></view></view></view></hs-popup></view>
|
||||
1
dist/build/mp-weixin/BILL/information_template/components/PopupSubmitTemplate.wxss
vendored
Normal file
1
dist/build/mp-weixin/BILL/information_template/components/PopupSubmitTemplate.wxss
vendored
Normal file
@ -0,0 +1 @@
|
||||
.popup_content.data-v-7c88a356{background-color:#fff;width:94vw;border-radius:15px;overflow:hidden;padding-bottom:30rpx}.popup_content .popup_title.data-v-7c88a356{padding:30rpx 0;text-align:center;font-size:38rpx}.popup_content .popup_subtitle.data-v-7c88a356{color:#333;padding:40rpx 30rpx 20rpx;font-size:30rpx;font-weight:550}.popup_content .popup_card.data-v-7c88a356{background-color:#f9fafb;padding:30rpx 30rpx 10rpx;margin:0 30rpx;border-radius:10rpx}.popup_content .popup_card .popup_card_cell.data-v-7c88a356{display:flex;align-items:center;justify-content:space-between;padding-bottom:20rpx;color:#333;font-size:30rpx}.popup_content .popup_card_primary.data-v-7c88a356{color:#333;font-size:28rpx;padding-bottom:30rpx}.popup_content .popup_icon.data-v-7c88a356{width:100%;text-align:center;padding:30rpx 0}.popup_content .popup_icon image.data-v-7c88a356{width:284rpx;height:200rpx}.popup_content .popup_submit_name.data-v-7c88a356{text-align:center;color:#3d3d3d;font-size:32rpx}.popup_content .popup_submit_path.data-v-7c88a356{text-align:center;color:#666;font-size:28rpx;padding:10rpx 0 30rpx}.popup_footer_value.data-v-7c88a356{padding:40rpx 30rpx 10rpx}.popup_footer.data-v-7c88a356{padding:30rpx 30rpx 0;display:flex;align-items:center;justify-content:space-between;padding:30rpx 30rpx 20rpx}.popup_footer .btn.data-v-7c88a356{width:48%}.enterprise_wechat_content_popup.data-v-7c88a356{margin:0 30rpx}
|
||||
1
dist/build/mp-weixin/BILL/information_template/index.js
vendored
Normal file
1
dist/build/mp-weixin/BILL/information_template/index.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../common/vendor.js"),l=require("./method.js"),o=require("./model.js");if(require("../../common/libraries/day.js"),!Array){(e.resolveComponent("up-icon")+e.resolveComponent("uni-icons"))()}Math||((()=>"../../node-modules/uview-plus/components/u-icon/u-icon.js")+(()=>"../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+n)();const n=()=>"./components/PopupSubmitTemplate.js",u=e.defineComponent({__name:"index",setup:n=>(e.onShow((()=>{var e;null==(e=l.method)||e.handleInit()})),e.onLoad((e=>{o.useModel.formData.value={houses:(null==e?void 0:e.data)?JSON.parse(null==e?void 0:e.data):[]}})),(n,u)=>{var i,d,s,t,r,a,v,c,m,p,f,b;return e.e({a:e.p({name:"error-circle",size:"19",color:"#2d75ff"}),b:e.f(null==(d=null==(i=e.unref(o.useModel))?void 0:i.selectType)?void 0:d.value,((o,n,u)=>e.e({a:e.t(null==o?void 0:o.label),b:null==o?void 0:o.tab},(null==o?void 0:o.tab)?{c:e.t(null==o?void 0:o.tab)}:{},{d:null==o?void 0:o.is_select},(null==o?void 0:o.is_select)?{e:"57161569-1-"+u,f:e.p({type:"checkbox-filled",size:"20",color:"#0082FA"})}:{g:"57161569-2-"+u,h:e.p({type:"circle",size:"20",color:"#999"})},{i:e.t(null==o?void 0:o.des),j:null==o?void 0:o.subDes},(null==o?void 0:o.subDes)?{k:e.t(null==o?void 0:o.subDes)}:{},{l:`items_${n}`,m:e.o((u=>{var i;return null==(i=e.unref(l.method))?void 0:i.handleSelect(n,o)}),`items_${n}`)}))),c:null==(r=null==(t=null==(s=e.unref(o.useModel))?void 0:s.selectEdType)?void 0:t.value)?void 0:r.length},(null==(c=null==(v=null==(a=e.unref(o.useModel))?void 0:a.selectEdType)?void 0:v.value)||c.length,{}),{d:e.p({formData:null==(p=null==(m=e.unref(o.useModel))?void 0:m.formData)?void 0:p.value,type:null==(b=null==(f=e.unref(o.useModel))?void 0:f.selectEdType)?void 0:b.value})})})});wx.createPage(u);
|
||||
8
dist/build/mp-weixin/BILL/information_template/index.json
vendored
Normal file
8
dist/build/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/build/mp-weixin/BILL/information_template/index.wxml
vendored
Normal file
1
dist/build/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>
|
||||
1
dist/build/mp-weixin/BILL/information_template/index.wxss
vendored
Normal file
1
dist/build/mp-weixin/BILL/information_template/index.wxss
vendored
Normal file
@ -0,0 +1 @@
|
||||
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}.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;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}
|
||||
1
dist/build/mp-weixin/BILL/information_template/method.js
vendored
Normal file
1
dist/build/mp-weixin/BILL/information_template/method.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";const e=require("./model.js"),l={handleSelect(l,s){var t,u,c,i;let o=[],d=null==(c=null==(u=null==(t=e.useModel)?void 0:t.selectType)?void 0:u.value[l])?void 0:c.is_select;e.useModel.selectType.value[l].is_select=!d,null==(i=e.useModel.selectType.value)||i.map((e=>{(null==e?void 0:e.is_select)&&(null==o||o.push(null==s?void 0:s.type))})),e.useModel.selectEdType.value=o,console.log(l,"e")},handleInit(){e.useModel.selectEdType.value=["SMS","MiniProgram","OfficialAccount"],e.useModel.selectType.value=[{label:"小程序催缴通知",des:"覆盖范围:仅限完成小程序订阅授权且保持通知开启状态的客户。",is_select:!0,type:"MiniProgram"},{label:"公众号催缴通知",des:"覆盖范围:限定已关注物业服务公众号的客户。",is_select:!0,type:"OfficialAccount"},{label:"发送短信通知",des:"该方式实现近100%客户触达",subDes:"(注:需号码状态正常且未设置短信拦截)",tab:"100%触达",is_select:!0,type:"SMS"}]}};exports.method=l;
|
||||
1
dist/build/mp-weixin/BILL/information_template/model.js
vendored
Normal file
1
dist/build/mp-weixin/BILL/information_template/model.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../common/vendor.js");require("../../common/libraries/day.js");const r={formData:e.ref({}),tasksChannelEnum:e.ref([]),selectEdType:e.ref([]),selectType:e.ref([])};exports.useModel=r;
|
||||
1
dist/build/mp-weixin/BILL/outstanding_fee/add/index.js
vendored
Normal file
1
dist/build/mp-weixin/BILL/outstanding_fee/add/index.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../../common/vendor.js"),o=require("../../../common/libraries/naviHelper.js"),n=require("./model.js"),l=require("../../../common/libraries/apiLoading.js"),t=require("../../../gen/Apis.js");if(require("../../../common/libraries/day.js"),require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("up-icon")+e.resolveComponent("uni-icons")+e.resolveComponent("hs-footer"))()}Math||(r+(()=>"../../../node-modules/uview-plus/components/u-icon/u-icon.js")+(()=>"../../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+i+(()=>"../../../components/hs-footer/hs-footer.js"))();const r=()=>"../components/CollectionMethods.js",i=()=>"../components/CollectionResult.js",u=e.defineComponent({__name:"index",setup(r){const i=o=>{e.index.showToast({title:o||"",icon:"none"})},u=e=>{var o;n.useModel.formData.value.notified_time=null==(o=null==e?void 0:e.detail)?void 0:o.value,console.log(e)},s=()=>{let e=n.useModel.formData.value;return(null==e?void 0:e.channel)?(null==e?void 0:e.notified_time)?(null==e?void 0:e.collection_result)?(l.getApiLoading(t.Apis.Collection.HouseCollectionRecords.Store,n.useModel.formData.value).then((e=>{o.showToastBack("提交成功",1,!0)})),void console.log(e)):i("请选择催缴结果!"):i("请选择催缴时间!"):i("请选择催缴方式!")};return e.onLoad((e=>{n.useModel.formData.value={total_unpaid_amount:null==e?void 0:e.amount,asset_houses_id:null==e?void 0:e.id}})),(o,l)=>e.e({a:e.o((o=>e.unref(n.useModel).formData.value.channel=o)),b:e.p({valueModel:e.unref(n.useModel).formData.value.channel}),c:e.p({name:"calendar",color:"#C4C4C4",size:"26"}),d:e.unref(n.useModel).formData.value.notified_time},e.unref(n.useModel).formData.value.notified_time?{e:e.t(e.unref(n.useModel).formData.value.notified_time||"请选择通知时间")}:{},{f:e.p({type:"right",size:"15",color:"#333"}),g:e.o(u),h:e.o((o=>e.unref(n.useModel).formData.value.collection_result=o)),i:e.p({valueModel:e.unref(n.useModel).formData.value.collection_result}),j:e.unref(n.useModel).formData.value.collection_content,k:e.o((o=>e.unref(n.useModel).formData.value.collection_content=o.detail.value)),l:e.o(s),m:e.p({btnParimaryName:"提交"})})}});wx.createPage(u);
|
||||
10
dist/build/mp-weixin/BILL/outstanding_fee/add/index.json
vendored
Normal file
10
dist/build/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/build/mp-weixin/BILL/outstanding_fee/add/index.wxml
vendored
Normal file
1
dist/build/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>
|
||||
1
dist/build/mp-weixin/BILL/outstanding_fee/add/index.wxss
vendored
Normal file
1
dist/build/mp-weixin/BILL/outstanding_fee/add/index.wxss
vendored
Normal file
@ -0,0 +1 @@
|
||||
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;color:#333;font-size:28rpx}.page_title text{color:red}.select_day{margin:30rpx 30rpx 0;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;background-color:#fff;padding:25rpx;border-radius:15rpx}.add_textarea textarea{height:200rpx}
|
||||
1
dist/build/mp-weixin/BILL/outstanding_fee/add/model.js
vendored
Normal file
1
dist/build/mp-weixin/BILL/outstanding_fee/add/model.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../../common/vendor.js");require("../../../common/libraries/day.js");const r={formData:e.ref({})};exports.useModel=r;
|
||||
1
dist/build/mp-weixin/BILL/outstanding_fee/components/CollectionMethods.js
vendored
Normal file
1
dist/build/mp-weixin/BILL/outstanding_fee/components/CollectionMethods.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../../common/vendor.js");if(!Array){(e.resolveComponent("up-icon")+e.resolveComponent("uni-icons"))()}Math||((()=>"../../../node-modules/uview-plus/components/u-icon/u-icon.js")+(()=>"../../../uni_modules/uni-icons/components/uni-icons/uni-icons.js"))();const o=e.defineComponent({__name:"CollectionMethods",props:["valueModel"],emits:["update:valueModel"],setup(o,{emit:l}){const n=o,i=e.ref(""),t=[{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(o,u)=>({a:e.f(t,((o,t,u)=>e.e({a:"02a00658-0-"+u,b:e.p({name:null==o?void 0:o.icon,color:null==o?void 0:o.color,size:"26"}),c:e.t(null==o?void 0:o.label),d:(null==n?void 0:n.valueModel)===(null==o?void 0:o.type)||i.value===(null==o?void 0:o.type)},(null==n?void 0:n.valueModel)===(null==o?void 0:o.type)||i.value===(null==o?void 0:o.type)?{e:"02a00658-1-"+u,f:e.p({type:"circle-filled",size:"18",color:"#0082FA"})}:{g:"02a00658-2-"+u,h:e.p({type:"circle",size:"18",color:"#999"})},{i:e.t(null==o?void 0:o.des),j:`item_${t}`,k:e.o((e=>{return n=o,i.value=null==n?void 0:n.type,void l("update:valueModel",null==n?void 0:n.type);var n}),`item_${t}`)})))})}}),l=e._export_sfc(o,[["__scopeId","data-v-02a00658"]]);wx.createComponent(l);
|
||||
7
dist/build/mp-weixin/BILL/outstanding_fee/components/CollectionMethods.json
vendored
Normal file
7
dist/build/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/build/mp-weixin/BILL/outstanding_fee/components/CollectionMethods.wxml
vendored
Normal file
1
dist/build/mp-weixin/BILL/outstanding_fee/components/CollectionMethods.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<view class="methods_content data-v-02a00658"><view wx:for="{{a}}" wx:for-item="i" wx:key="j" class="items data-v-02a00658" bindtap="{{i.k}}"><view class="data-v-02a00658"><up-icon wx:if="{{i.b}}" class="data-v-02a00658" u-i="{{i.a}}" bind:__l="__l" u-p="{{i.b}}"></up-icon></view><view class="items_content_info data-v-02a00658"><view class="label data-v-02a00658">{{i.c}} <uni-icons wx:if="{{i.d}}" class="data-v-02a00658" u-i="{{i.e}}" bind:__l="__l" u-p="{{i.f}}"></uni-icons><uni-icons wx:else class="data-v-02a00658" u-i="{{i.g}}" bind:__l="__l" u-p="{{i.h||''}}"></uni-icons></view><view class="des data-v-02a00658">{{i.i}}</view></view></view></view>
|
||||
1
dist/build/mp-weixin/BILL/outstanding_fee/components/CollectionMethods.wxss
vendored
Normal file
1
dist/build/mp-weixin/BILL/outstanding_fee/components/CollectionMethods.wxss
vendored
Normal file
@ -0,0 +1 @@
|
||||
.methods_content.data-v-02a00658{display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between;margin:0 30rpx}.methods_content .items.data-v-02a00658{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-02a00658{flex:1;padding-left:5rpx}.methods_content .items .label.data-v-02a00658{color:#333;font-size:28rpx;display:flex;align-items:center;justify-content:space-between}.methods_content .items .des.data-v-02a00658{color:#999;font-size:24rpx;padding-top:10rpx}
|
||||
1
dist/build/mp-weixin/BILL/outstanding_fee/components/CollectionResult.js
vendored
Normal file
1
dist/build/mp-weixin/BILL/outstanding_fee/components/CollectionResult.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../../common/vendor.js");if(!Array){e.resolveComponent("uni-icons")()}Math;const l=e.defineComponent({__name:"CollectionResult",props:["valueModel"],emits:["update:valueModel"],setup(l,{emit:o}){const t=l,a=e.ref(""),d=[{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(l,i)=>({a:e.f(d,((l,d,i)=>e.e({a:e.t(null==l?void 0:l.label),b:null==l?void 0:l.color,c:null==l?void 0:l.bgColor,d:(null==t?void 0:t.valueModel)===(null==l?void 0:l.type)||a.value===(null==l?void 0:l.type)},(null==t?void 0:t.valueModel)===(null==l?void 0:l.type)||a.value===(null==l?void 0:l.type)?{e:"ca598a26-0-"+i,f:e.p({type:"circle-filled",size:"18",color:"#0082FA"})}:{g:"ca598a26-1-"+i,h:e.p({type:"circle",size:"18",color:"#999"})},{i:e.t(null==l?void 0:l.des),j:`item_${d}`,k:e.o((e=>{return t=l,a.value=null==t?void 0:t.type,void o("update:valueModel",null==t?void 0:t.type);var t}),`item_${d}`)})))})}}),o=e._export_sfc(l,[["__scopeId","data-v-ca598a26"]]);wx.createComponent(o);
|
||||
6
dist/build/mp-weixin/BILL/outstanding_fee/components/CollectionResult.json
vendored
Normal file
6
dist/build/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/build/mp-weixin/BILL/outstanding_fee/components/CollectionResult.wxml
vendored
Normal file
1
dist/build/mp-weixin/BILL/outstanding_fee/components/CollectionResult.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<view class="methods_content data-v-ca598a26"><view wx:for="{{a}}" wx:for-item="i" wx:key="j" class="items data-v-ca598a26" bindtap="{{i.k}}"><view class="label data-v-ca598a26"><text class="data-v-ca598a26" style="{{'color:' + i.b + ';' + ('background-color:' + i.c)}}">{{i.a}}</text><uni-icons wx:if="{{i.d}}" class="data-v-ca598a26" u-i="{{i.e}}" bind:__l="__l" u-p="{{i.f}}"></uni-icons><uni-icons wx:else class="data-v-ca598a26" u-i="{{i.g}}" bind:__l="__l" u-p="{{i.h||''}}"></uni-icons></view><view class="des data-v-ca598a26">{{i.i}}</view></view></view>
|
||||
1
dist/build/mp-weixin/BILL/outstanding_fee/components/CollectionResult.wxss
vendored
Normal file
1
dist/build/mp-weixin/BILL/outstanding_fee/components/CollectionResult.wxss
vendored
Normal file
@ -0,0 +1 @@
|
||||
.methods_content.data-v-ca598a26{display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between;margin:0 30rpx}.methods_content .items.data-v-ca598a26{background-color:#fff;width:43.5%;padding:20rpx 15rpx;border-radius:15rpx;margin-top:30rpx}.methods_content .items .label.data-v-ca598a26{color:#333;font-size:28rpx;display:flex;align-items:center;justify-content:space-between}.methods_content .items .label text.data-v-ca598a26{padding:8rpx 20rpx;border-radius:100rpx;font-size:24rpx}.methods_content .items .des.data-v-ca598a26{color:#999;font-size:24rpx;padding-top:10rpx}
|
||||
1
dist/build/mp-weixin/BILL/outstanding_fee/components/HeadSearchBtn.js
vendored
Normal file
1
dist/build/mp-weixin/BILL/outstanding_fee/components/HeadSearchBtn.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../../common/vendor.js"),r=require("../index/model.js"),o=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/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js");const a=e.defineComponent({__name:"HeadSearchBtn",setup(a){const l=[{label:"1天未催缴",value:"1"},{label:"3天未催缴",value:"3"},{label:"7天未催缴",value:"7"},{label:"15天未催缴",value:"15"}];return(a,u)=>({a:e.f(l,((a,l,u)=>({a:e.t(null==a?void 0:a.label),b:`item_${l}`,c:e.n("item_btn "+(e.unref(r.useModel).formData.value.uncollected_days===(null==a?void 0:a.value)?"active":"")),d:e.o((e=>{return l=a,r.useModel.formData.value.uncollected_days===(null==l?void 0:l.value)?r.useModel.formData.value.uncollected_days=void 0:r.useModel.formData.value.uncollected_days=null==l?void 0:l.value,void o.method.handleSearch();var l}))})))})}}),l=e._export_sfc(a,[["__scopeId","data-v-45802562"]]);wx.createComponent(l);
|
||||
1
dist/build/mp-weixin/BILL/outstanding_fee/components/HeadSearchBtn.wxml
vendored
Normal file
1
dist/build/mp-weixin/BILL/outstanding_fee/components/HeadSearchBtn.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<view class="head_search_group_btn data-v-45802562"><view wx:for="{{a}}" wx:for-item="i" ket="{{i.b}}" class="{{['data-v-45802562', i.c]}}" bindtap="{{i.d}}">{{i.a}}</view></view>
|
||||
1
dist/build/mp-weixin/BILL/outstanding_fee/components/HeadSearchBtn.wxss
vendored
Normal file
1
dist/build/mp-weixin/BILL/outstanding_fee/components/HeadSearchBtn.wxss
vendored
Normal file
@ -0,0 +1 @@
|
||||
.head_search_group_btn.data-v-45802562{display:flex;align-items:center;padding:0 30rpx 20rpx 10rpx}.head_search_group_btn .item_btn.data-v-45802562{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-45802562{color:#000;border:1px solid #000}
|
||||
1
dist/build/mp-weixin/BILL/outstanding_fee/components/HeaderSearch.js
vendored
Normal file
1
dist/build/mp-weixin/BILL/outstanding_fee/components/HeaderSearch.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../../common/vendor.js"),r=require("../index/method.js"),o=require("../index/model.js");if(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/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),require("../../../common/libraries/day.js"),!Array){e.resolveComponent("up-search")()}Math;const s=e.defineComponent({__name:"HeaderSearch",setup:s=>(s,n)=>{var a;return{a:e.o(null==(a=e.unref(r.method))?void 0:a.handleSearch),b:e.o((r=>e.unref(o.useModel).formData.value.full_name=r)),c:e.p({placeholder:"请输入小区名称",showAction:!1,modelValue:e.unref(o.useModel).formData.value.full_name})}}}),n=e._export_sfc(s,[["__scopeId","data-v-0dc1b32e"]]);wx.createComponent(n);
|
||||
6
dist/build/mp-weixin/BILL/outstanding_fee/components/HeaderSearch.json
vendored
Normal file
6
dist/build/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/build/mp-weixin/BILL/outstanding_fee/components/HeaderSearch.wxml
vendored
Normal file
1
dist/build/mp-weixin/BILL/outstanding_fee/components/HeaderSearch.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<view class="head_search_view data-v-0dc1b32e"><up-search wx:if="{{c}}" class="data-v-0dc1b32e" bindsearch="{{a}}" u-i="0dc1b32e-0" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}"/></view>
|
||||
1
dist/build/mp-weixin/BILL/outstanding_fee/components/HeaderSearch.wxss
vendored
Normal file
1
dist/build/mp-weixin/BILL/outstanding_fee/components/HeaderSearch.wxss
vendored
Normal file
@ -0,0 +1 @@
|
||||
.head_search_view.data-v-0dc1b32e{border-top:1rpx solid #eee;padding:20rpx 30rpx}
|
||||
1
dist/build/mp-weixin/BILL/outstanding_fee/components/NoticeAlert.js
vendored
Normal file
1
dist/build/mp-weixin/BILL/outstanding_fee/components/NoticeAlert.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";const o=require("../../../common/vendor.js");if(!Array){o.resolveComponent("uni-icons")()}Math;const e=o.defineComponent({__name:"NoticeAlert",setup(e){const c=()=>{o.index.showModal({title:"什么是批量通知",confirmColor:"#0082FA",content:"一次性给多套房屋发送账单链接,提醒用户缴费 关键操作:先选择哪些房屋要接收通知,然后选择发送方式(短信/公众号/小程序),系统会自动完成发送。通知对象:默认发给房屋的“常用联系人”;若没设置常用联系人,就发给房屋的“产权人”。",success:function(o){o.confirm?console.log("用户点击确定"):o.cancel&&console.log("用户点击取消")}})};return(e,n)=>({a:o.p({type:"info",size:"20",color:"#ed6a0c"}),b:o.p({type:"right",size:"17",color:"#ed6a0c"}),c:o.o(c)})}}),c=o._export_sfc(e,[["__scopeId","data-v-c2fdcd3b"]]);wx.createComponent(c);
|
||||
6
dist/build/mp-weixin/BILL/outstanding_fee/components/NoticeAlert.json
vendored
Normal file
6
dist/build/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/build/mp-weixin/BILL/outstanding_fee/components/NoticeAlert.wxml
vendored
Normal file
1
dist/build/mp-weixin/BILL/outstanding_fee/components/NoticeAlert.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<view class="wathing_btn data-v-c2fdcd3b" bindtap="{{c}}"><view class="wathing_left data-v-c2fdcd3b"><uni-icons wx:if="{{a}}" class="data-v-c2fdcd3b" u-i="c2fdcd3b-0" bind:__l="__l" u-p="{{a}}"></uni-icons><text class="data-v-c2fdcd3b"> 什么是批量通知? </text></view><uni-icons wx:if="{{b}}" class="data-v-c2fdcd3b" u-i="c2fdcd3b-1" bind:__l="__l" u-p="{{b}}"></uni-icons></view>
|
||||
1
dist/build/mp-weixin/BILL/outstanding_fee/components/NoticeAlert.wxss
vendored
Normal file
1
dist/build/mp-weixin/BILL/outstanding_fee/components/NoticeAlert.wxss
vendored
Normal file
@ -0,0 +1 @@
|
||||
.wathing_btn.data-v-c2fdcd3b{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-c2fdcd3b{display:flex;align-items:center}
|
||||
1
dist/build/mp-weixin/BILL/outstanding_fee/index/index.js
vendored
Normal file
1
dist/build/mp-weixin/BILL/outstanding_fee/index/index.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../../common/vendor.js"),o=require("./method.js"),l=require("./model.js"),n=require("../../../common/libraries/day.js");if(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/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("up-tabs")+e.resolveComponent("uni-icons")+e.resolveComponent("cc-scroll-loading")+e.resolveComponent("cc-root-view"))()}Math||((()=>"../../../node-modules/uview-plus/components/u-tabs/u-tabs.js")+u+t+(()=>"../../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../../common/components/cc-scroll-loading/cc-scroll-loading.js")+r+(()=>"../../../common/components/cc-root-view/cc-root-view.js"))();const t=()=>"../components/HeadSearchBtn.js",r=()=>"../components/NoticeAlert.js",u=()=>"../components/HeaderSearch.js",i=e.defineComponent({__name:"index",setup:t=>(e.onLoad((async()=>{var n,t,r;await(null==(n=e.getCurrentInstance())?void 0:n.appContext.config.globalProperties.$onLaunched),l.useModel.dataList.value=[],null==(t=o.method)||t.init(),null==(r=o.method)||r.getList()})),(t,r)=>{var u,i,s,d,a,c,m,v,p,h,f,b,j,g,S,_,q,L,M,A;return e.e({a:null==(s=null==(i=null==(u=e.unref(l.useModel))?void 0:u.headTabsList)?void 0:i.value)?void 0:s.length},(null==(c=null==(a=null==(d=e.unref(l.useModel))?void 0:d.headTabsList)?void 0:a.value)?void 0:c.length)?{b:e.o(null==(m=e.unref(o.method))?void 0:m.handleListTabsChange),c:e.p({list:null==(p=null==(v=e.unref(l.useModel))?void 0:v.headTabsList)?void 0:p.value,current:null==(f=null==(h=e.unref(l.useModel))?void 0:h.current)?void 0:f.value})}:{},{d:e.f(null==(j=null==(b=e.unref(l.useModel))?void 0:b.dataList)?void 0:j.value,((l,t,r)=>e.e({a:null==l?void 0:l.is_select},(null==l?void 0:l.is_select)?{b:"17d5eb04-5-"+r+",17d5eb04-4",c:e.p({type:"checkbox-filled",size:"18",color:"#0082FA"})}:{d:"17d5eb04-6-"+r+",17d5eb04-4",e:e.p({type:"circle",size:"18",color:"#666"})},{f:e.t(null==l?void 0:l.full_name),g:e.o((l=>{var n;return null==(n=e.unref(o.method))?void 0:n.handleSelect(t)}),`item_${t}`),h:e.t(null==l?void 0:l.total_overdue_amount),i:e.t(null==l?void 0:l.last_overdue_date),j:e.t(e.unref(n.ShowLastTime)(null==l?void 0:l.last_collection_time)),k:e.o((n=>{var t;return null==(t=e.unref(o.method))?void 0:t.toDetail(l)}),`item_${t}`),l:`item_${t}`}))),e:e.o(null==(g=e.unref(o.method))?void 0:g.handleLoad),f:e.p({meta:null==(_=null==(S=e.unref(l.useModel))?void 0:S.meta)?void 0:_.value}),g:null==(L=null==(q=e.unref(l.useModel))?void 0:q.allSelectStatus)?void 0:L.value},(null==(A=null==(M=e.unref(l.useModel))?void 0:M.allSelectStatus)?void 0:A.value)?{h:e.p({type:"checkbox-filled",size:"20",color:"#0082FA"})}:{i:e.p({type:"circle",size:"20",color:"#666"})},{j:e.o(((...l)=>{var n,t;return(null==(n=e.unref(o.method))?void 0:n.handleAllSelect)&&(null==(t=e.unref(o.method))?void 0:t.handleAllSelect(...l))})),k:e.o(((...l)=>{var n,t;return(null==(n=e.unref(o.method))?void 0:n.toInformationTemplate)&&(null==(t=e.unref(o.method))?void 0:t.toInformationTemplate(...l))})),l:e.o(((...l)=>{var n,t;return(null==(n=e.unref(o.method))?void 0:n.toMassSending)&&(null==(t=e.unref(o.method))?void 0:t.toMassSending(...l))}))})})});wx.createPage(i);
|
||||
12
dist/build/mp-weixin/BILL/outstanding_fee/index/index.json
vendored
Normal file
12
dist/build/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/build/mp-weixin/BILL/outstanding_fee/index/index.wxml
vendored
Normal file
1
dist/build/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>
|
||||
1
dist/build/mp-weixin/BILL/outstanding_fee/index/index.wxss
vendored
Normal file
1
dist/build/mp-weixin/BILL/outstanding_fee/index/index.wxss
vendored
Normal file
@ -0,0 +1 @@
|
||||
page{background-color:#f8f8f8}.head_tabs_view{background-color:#fff;position:fixed;top:0;left:0;right:0;z-index:100;box-shadow:0 3px 7px rgba(206,206,206,.25)}.cc_scroll_loading_view{padding:260rpx 30rpx 0;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;display:flex;align-items:self-start}.arrears_fees_view .card_fee{color:#df3600;font-size:28rpx;font-weight:550;padding:0 20rpx 15rpx}.arrears_fees_view .card_time{padding-bottom:15rpx;color:#666;font-size:24rpx;padding:0 20rpx 5rpx}.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}.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}
|
||||
1
dist/build/mp-weixin/BILL/outstanding_fee/index/method.js
vendored
Normal file
1
dist/build/mp-weixin/BILL/outstanding_fee/index/method.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../../common/vendor.js"),l=require("../../../common/libraries/sendWxWork.js"),a=require("../../../gen/Apis.js"),t=require("./model.js");require("../../../common/libraries/request.js"),require("../../../common/store/useWatermarkStore.js");const o=require("../../../common/store/useWeAppAuthStore.js");require("../../../common/store/useWorkStore.js");const s=o.useWeAppAuthStore(),u=()=>{var e,l;a.Apis.Bill.HouseBills.HouseList(null==(l=null==(e=t.useModel)?void 0:e.formData)?void 0:l.value).then((e=>{var l;null==(l=null==e?void 0:e.data)||l.map((e=>{e.is_select=t.useModel.allSelectStatus.value})),t.useModel.dataList.value=[...t.useModel.dataList.value,...null==e?void 0:e.data],t.useModel.meta.value=null==e?void 0:e.meta,console.log("登录",null==e?void 0:e.data)}))},i={init(){t.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:u,handleSearch(){t.useModel.formData.value.page=1,t.useModel.dataList.value=[],u()},handleLoad(e){t.useModel.formData.value.page=e,u()},handleListTabsChange(e){var l,a,o;t.useModel.formData.value.page=1,t.useModel.formData.value.overdue_months_range=(null==e?void 0:e.index)?null==(o=null==(a=null==(l=t.useModel)?void 0:l.headTabsList)?void 0:a.value[null==e?void 0:e.index])?void 0:o.value:void 0,t.useModel.dataList.value=[],u(),console.log("e",e)},handleSelect(e){var l;let a=!0,o=t.useModel.dataList.value[e].is_select;t.useModel.dataList.value[e].is_select=!o,null==(l=t.useModel.dataList.value)||l.map((e=>{e.is_select||(a=!1)})),t.useModel.allSelectStatus.value=a},handleAllSelect(){var e,l,a;t.useModel.allSelectStatus.value=!(null==(l=null==(e=t.useModel)?void 0:e.allSelectStatus)?void 0:l.value),null==(a=t.useModel.dataList.value)||a.map((e=>{e.is_select=t.useModel.allSelectStatus.value}))},toInformationTemplate(){var l,a,o;let s=[];null==(o=null==(a=null==(l=t.useModel)?void 0:l.dataList)?void 0:a.value)||o.map((e=>{(null==e?void 0:e.is_select)&&s.push({asset_houses_id:null==e?void 0:e.id,total_unpaid_amount:parseFloat((null==e?void 0:e.total_overdue_amount)||0)})})),(null==s?void 0:s.length)?e.index.navigateTo({url:`/BILL/information_template/index?data=${JSON.stringify(s)}`}):e.index.showToast({title:"请至少选择一个!",icon:"none"})},toDetail(l){e.index.navigateTo({url:`/BILL/outstanding_fee/show/index?id=${null==l?void 0:l.id}`})},toMassSending(){var e;"wxwork"===(null==(e=null==s?void 0:s.data)?void 0:e.environment)?l.shareToExternalContact({externalUserIds:[],page:"/INDEX/bill/list/index",title:"分享给您物业账单",imgUrl:"https://pay-prod-1369486729.cos.ap-guangzhou.myqcloud.com/uploads/cs-test/01K5B5RY2TQQAJ1GT2RZSK426V.jpg"}):l.navigateToMiniProgram({path:"/pages/forward/index?source=OutstandingFeeList",envVersion:"develop",extraData:{source:"OutstandingFeeList"}})}};exports.method=i;
|
||||
1
dist/build/mp-weixin/BILL/outstanding_fee/index/model.js
vendored
Normal file
1
dist/build/mp-weixin/BILL/outstanding_fee/index/model.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../../common/vendor.js");require("../../../common/libraries/day.js");const r={formData:e.ref({page:1,full_name:""}),dataList:e.ref([]),current:e.ref(0),meta:e.ref({}),allSelectStatus:e.ref(!1),headTabsList:e.ref([])};exports.useModel=r;
|
||||
1
dist/build/mp-weixin/BILL/outstanding_fee/show/components/BillItem.js
vendored
Normal file
1
dist/build/mp-weixin/BILL/outstanding_fee/show/components/BillItem.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../../../common/vendor.js"),l=require("../../../../gen/Enums.js"),o=require("../model.js"),i=require("../method.js");if(require("../../../../common/libraries/day.js"),require("../../../../common/libraries/request.js"),require("../../../../common/store/useWeAppAuthStore.js"),require("../../../../gen/Apis.js"),require("../../../../common/store/useWatermarkStore.js"),require("../../../../common/store/useWorkStore.js"),require("../../../../common/libraries/apiLoading.js"),require("../../../../common/libraries/naviHelper.js"),require("../../../../common/libraries/sendWxWork.js"),!Array){(e.resolveComponent("uni-icons")+e.resolveComponent("hs-enum-tag"))()}Math||((()=>"../../../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../../../components/hs-enum-tag/hs-enum-tag.js"))();const n=e.defineComponent({__name:"BillItem",props:["item","index"],setup(n){const u=n,s=e.ref(!1),r=()=>{var e,l,n,s,r,d;let t=null==(e=null==u?void 0:u.item)?void 0:e.checked;o.useModel.houseBillsData.value[null==u?void 0:u.index].checked=!t,null==(r=null==(s=null==(n=null==(l=o.useModel)?void 0:l.houseBillsData)?void 0:n.value[null==u?void 0:u.index])?void 0:s.bills)||r.map((e=>{e.checked=!t})),null==(d=i.method)||d.setCalculateTotalPrice()};return(n,d)=>{var t,c,a,m,v;return e.e({a:null==(t=null==u?void 0:u.item)?void 0:t.checked},(null==(c=null==u?void 0:u.item)?void 0:c.checked)?{b:e.p({type:"checkbox-filled",size:"20",color:"#2A7EFB"})}:{c:e.p({type:"circle",size:"20",color:"#888"})},{d:e.t(null==(a=null==u?void 0:u.item)?void 0:a.display_text),e:e.o(r),f:e.t(null==(m=null==u?void 0:u.item)?void 0:m.pending_amount),g:e.p({type:"down",size:"15",color:"#666"}),h:e.o((e=>s.value=!s.value)),i:s.value},s.value?{j:e.f(null==(v=null==u?void 0:u.item)?void 0:v.bills,((n,s,r)=>e.e({a:null==n?void 0:n.checked},(null==n?void 0:n.checked)?{b:"8b74a834-3-"+r,c:e.p({type:"checkbox-filled",size:"20",color:"#2A7EFB"})}:{d:"8b74a834-4-"+r,e:e.p({type:"circle",size:"20",color:"#888"})},{f:"8b74a834-5-"+r,g:e.p({value:null==n?void 0:n.type,Enums:e.unref(l.HouseBillsTypeEnum)}),h:e.o((e=>((e,l)=>{var n,s;let r=null==e?void 0:e.checked;if(o.useModel.houseBillsData.value[null==u?void 0:u.index].bills[l].checked=!r,r)o.useModel.houseBillsData.value[null==u?void 0:u.index].checked=!1;else{let e=null==(n=o.useModel.houseBillsData.value[null==u?void 0:u.index].bills)?void 0:n.every((e=>null==e?void 0:e.checked));o.useModel.houseBillsData.value[null==u?void 0:u.index].checked=e,console.log(e)}null==(s=i.method)||s.setCalculateTotalPrice()})(n,s)),`fid_items_${s}`),i:e.t(null==n?void 0:n.total_payable_amount),j:`fid_items_${s}`})))}:{})}}}),u=e._export_sfc(n,[["__scopeId","data-v-8b74a834"]]);wx.createComponent(u);
|
||||
7
dist/build/mp-weixin/BILL/outstanding_fee/show/components/BillItem.json
vendored
Normal file
7
dist/build/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/build/mp-weixin/BILL/outstanding_fee/show/components/BillItem.wxml
vendored
Normal file
1
dist/build/mp-weixin/BILL/outstanding_fee/show/components/BillItem.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<view class="monthly_bill_content data-v-8b74a834"><view class="monthly_bill_header data-v-8b74a834"><view class="header_left_content data-v-8b74a834" bindtap="{{e}}"><uni-icons wx:if="{{a}}" class="data-v-8b74a834" u-i="8b74a834-0" bind:__l="__l" u-p="{{b}}"></uni-icons><uni-icons wx:else class="data-v-8b74a834" u-i="8b74a834-1" bind:__l="__l" u-p="{{c||''}}"></uni-icons><text class="data-v-8b74a834">{{d}}</text></view><view class="header_right_content data-v-8b74a834" bindtap="{{h}}"><text class="data-v-8b74a834"> ¥{{f}}</text><uni-icons wx:if="{{g}}" class="data-v-8b74a834" u-i="8b74a834-2" bind:__l="__l" u-p="{{g}}"></uni-icons></view></view><view wx:if="{{i}}" class="items_body data-v-8b74a834"><view wx:for="{{j}}" wx:for-item="i" wx:key="j" class="items_cell data-v-8b74a834"><view class="items_cell_left data-v-8b74a834" bindtap="{{i.h}}"><uni-icons wx:if="{{i.a}}" class="data-v-8b74a834" u-i="{{i.b}}" bind:__l="__l" u-p="{{i.c}}"></uni-icons><uni-icons wx:else class="data-v-8b74a834" u-i="{{i.d}}" bind:__l="__l" u-p="{{i.e||''}}"></uni-icons><hs-enum-tag wx:if="{{i.g}}" class="data-v-8b74a834" u-i="{{i.f}}" bind:__l="__l" u-p="{{i.g}}"/></view><view class="data-v-8b74a834"> ¥{{i.i}}</view></view></view></view>
|
||||
1
dist/build/mp-weixin/BILL/outstanding_fee/show/components/BillItem.wxss
vendored
Normal file
1
dist/build/mp-weixin/BILL/outstanding_fee/show/components/BillItem.wxss
vendored
Normal file
@ -0,0 +1 @@
|
||||
.monthly_bill_content.data-v-8b74a834{background-color:#f7f8fc;padding:30rpx 20rpx;margin:30rpx 30rpx 0;border-radius:10rpx;position:relative}.monthly_bill_content .monthly_bill_header.data-v-8b74a834{display:flex;align-items:center;justify-content:space-between}.monthly_bill_content .header_left_content.data-v-8b74a834{display:flex;align-items:center;font-size:28rpx;color:#333}.monthly_bill_content .header_right_content.data-v-8b74a834{color:#df3600;display:flex;align-items:center;justify-content:space-between;font-size:28rpx}.monthly_bill_content .header_right_content text.data-v-8b74a834{padding-right:5rpx}.monthly_bill_content .items_body.data-v-8b74a834{background-color:#fff;padding:30rpx 30rpx 0;border-radius:10rpx;margin-top:20rpx}.monthly_bill_content .items_body .items_cell.data-v-8b74a834{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-8b74a834{display:flex;align-items:center}.bill_to_detail.data-v-8b74a834{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-8b74a834{border:1rpx solid #666;border-radius:100rpx;padding:10rpx 10rpx 10rpx 20rpx;display:flex;align-items:center}
|
||||
1
dist/build/mp-weixin/BILL/outstanding_fee/show/components/BillRecord.js
vendored
Normal file
1
dist/build/mp-weixin/BILL/outstanding_fee/show/components/BillRecord.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../../../common/vendor.js"),o=require("../model.js");if(require("../../../../common/libraries/day.js"),!Array){e.resolveComponent("up-icon")()}Math;const n=e.defineComponent({__name:"BillRecord",setup(n){const r=n=>{var r,a,l,i,t,d;e.index.navigateTo({url:`${n}?asset_houses_id=${null==(l=null==(a=null==(r=o.useModel)?void 0:r.formData)?void 0:a.value)?void 0:l.asset_houses_id}&total_pending_amount=${null==(d=null==(t=null==(i=o.useModel)?void 0:i.showData)?void 0:t.value)?void 0:d.total_pending_amount}`})};return(o,n)=>({a:e.p({name:"clock",size:"18",color:"#666"}),b:e.o((e=>r("/BILL/record/urge_payment/index"))),c:e.p({name:"rmb-circle",size:"18",color:"#666"}),d:e.o((e=>r("/BILL/record/payment/index")))})}}),r=e._export_sfc(n,[["__scopeId","data-v-c5a6e4d1"]]);wx.createComponent(r);
|
||||
6
dist/build/mp-weixin/BILL/outstanding_fee/show/components/BillRecord.json
vendored
Normal file
6
dist/build/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/build/mp-weixin/BILL/outstanding_fee/show/components/BillRecord.wxml
vendored
Normal file
1
dist/build/mp-weixin/BILL/outstanding_fee/show/components/BillRecord.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<view class="bill_record data-v-c5a6e4d1"><view class="item_btn data-v-c5a6e4d1" bindtap="{{b}}"><up-icon wx:if="{{a}}" class="data-v-c5a6e4d1" u-i="c5a6e4d1-0" bind:__l="__l" u-p="{{a}}"/> <text class="data-v-c5a6e4d1">催费记录</text></view><view class="item_btn data-v-c5a6e4d1" bindtap="{{d}}"><up-icon wx:if="{{c}}" class="data-v-c5a6e4d1" u-i="c5a6e4d1-1" bind:__l="__l" u-p="{{c}}"/> <text class="data-v-c5a6e4d1">缴费记录</text></view></view>
|
||||
1
dist/build/mp-weixin/BILL/outstanding_fee/show/components/BillRecord.wxss
vendored
Normal file
1
dist/build/mp-weixin/BILL/outstanding_fee/show/components/BillRecord.wxss
vendored
Normal file
@ -0,0 +1 @@
|
||||
.bill_record.data-v-c5a6e4d1{display:flex;align-items:center;justify-content:space-between;color:#333;padding:20rpx 30rpx 0;font-size:28rpx}.bill_record .item_btn.data-v-c5a6e4d1{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-c5a6e4d1{padding-left:5rpx}
|
||||
9
dist/build/mp-weixin/BILL/outstanding_fee/show/components/ContactPersonPopup.json
vendored
Normal file
9
dist/build/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/build/mp-weixin/BILL/outstanding_fee/show/components/ContactPersonPopup.wxml
vendored
Normal file
1
dist/build/mp-weixin/BILL/outstanding_fee/show/components/ContactPersonPopup.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<hs-button wx:if="{{b}}" class="data-v-c5fc260f" bindclick="{{a}}" u-i="c5fc260f-0" bind:__l="__l" u-p="{{b}}"/><hs-popup wx:if="{{f}}" class="data-v-c5fc260f" u-s="{{['d']}}" bindclose="{{e}}" u-i="c5fc260f-1" bind:__l="__l" u-p="{{f}}"><view class="data-v-c5fc260f"><view class="popup_header data-v-c5fc260f"> 请选择联系对象 </view><view class="popup_user_content data-v-c5fc260f"><view wx:for="{{c}}" wx:for-item="i" wx:key="i" class="popup_user_item data-v-c5fc260f"><view class="user_info data-v-c5fc260f"><view class="name data-v-c5fc260f">{{i.a}} <text class="data-v-c5fc260f">{{i.b}}</text></view><view class="role data-v-c5fc260f"><text wx:if="{{i.c}}" class="data-v-c5fc260f"> 产权人 </text><hs-enum-tag wx:else class="data-v-c5fc260f" u-i="{{i.d}}" bind:__l="__l" u-p="{{i.e||''}}"/><text wx:if="{{i.f}}" class="is_contact data-v-c5fc260f"> 常用联系人 </text></view></view><view class="phone_btn data-v-c5fc260f" bindtap="{{i.h}}"><uni-icons wx:if="{{d}}" class="data-v-c5fc260f" u-i="{{i.g}}" bind:__l="__l" u-p="{{d}}"></uni-icons></view></view></view></view></hs-popup>
|
||||
1
dist/build/mp-weixin/BILL/outstanding_fee/show/components/PageFooter.js
vendored
Normal file
1
dist/build/mp-weixin/BILL/outstanding_fee/show/components/PageFooter.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../../../common/vendor.js"),r=require("../method.js"),o=require("../model.js");if(require("../../../../common/libraries/request.js"),require("../../../../common/store/useWeAppAuthStore.js"),require("../../../../gen/Apis.js"),require("../../../../common/store/useWatermarkStore.js"),require("../../../../common/store/useWorkStore.js"),require("../../../../common/libraries/apiLoading.js"),require("../../../../common/libraries/naviHelper.js"),require("../../../../common/libraries/sendWxWork.js"),require("../../../../common/libraries/day.js"),!Array){e.resolveComponent("hs-button")()}Math;const l=e.defineComponent({__name:"PageFooter",setup:l=>(l,u)=>{var n,s,t,a,i,d,m,v,p,c;return e.e({a:e.unref(o.useModel).tabsCurrent.value<1},e.unref(o.useModel).tabsCurrent.value<1?e.e({b:0===e.unref(o.useModel).tabsCurrent.value},0===e.unref(o.useModel).tabsCurrent.value?e.e({c:null==(t=null==(s=null==(n=e.unref(o.useModel))?void 0:n.houseBillsData)?void 0:s.value)?void 0:t.length},(null==(d=null==(i=null==(a=e.unref(o.useModel))?void 0:a.houseBillsData)?void 0:i.value)?void 0:d.length)?{d:e.t((null==(v=null==(m=e.unref(o.useModel))?void 0:m.total_amount)?void 0:v.value)||"0.00"),e:e.o(null==(p=e.unref(r.method))?void 0:p.handleQRCode),f:e.p({label:"二维码收款",size:"md",type:"ghost"}),g:e.o(null==(c=e.unref(r.method))?void 0:c.handleSelectExternalContact),h:e.p({type:"primary",size:"md",label:"分享账单"})}:{i:e.p({label:"分享托收",size:"md",type:"ghost"}),j:e.p({type:"primary",size:"md",label:"分享预缴"})}):{}):{})}}),u=e._export_sfc(l,[["__scopeId","data-v-5db077a5"]]);wx.createComponent(u);
|
||||
6
dist/build/mp-weixin/BILL/outstanding_fee/show/components/PageFooter.json
vendored
Normal file
6
dist/build/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/build/mp-weixin/BILL/outstanding_fee/show/components/PageFooter.wxml
vendored
Normal file
1
dist/build/mp-weixin/BILL/outstanding_fee/show/components/PageFooter.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<view wx:if="{{a}}" class="footer_view data-v-5db077a5"><block wx:if="{{b}}"><block wx:if="{{c}}"><view class="select_fee data-v-5db077a5"><view class="label data-v-5db077a5"> 您已选待缴金额: </view><view class="fee data-v-5db077a5"> ¥{{d}}</view></view><view class="btn_group data-v-5db077a5"><view class="btn_group_left data-v-5db077a5"><hs-button wx:if="{{f}}" class="data-v-5db077a5" bindclick="{{e}}" u-i="5db077a5-0" bind:__l="__l" u-p="{{f}}"/></view><view class="btn_group_right data-v-5db077a5"><hs-button wx:if="{{h}}" class="data-v-5db077a5" bindclick="{{g}}" u-i="5db077a5-1" bind:__l="__l" u-p="{{h}}"/></view></view></block><block wx:else><view class="btn_group data-v-5db077a5"><view class="btn_group_left data-v-5db077a5"><hs-button wx:if="{{i}}" class="data-v-5db077a5" u-i="5db077a5-2" bind:__l="__l" u-p="{{i}}"/></view><view class="btn_group_right data-v-5db077a5"><hs-button wx:if="{{j}}" class="data-v-5db077a5" u-i="5db077a5-3" bind:__l="__l" u-p="{{j}}"/></view></view></block></block></view>
|
||||
1
dist/build/mp-weixin/BILL/outstanding_fee/show/components/PageFooter.wxss
vendored
Normal file
1
dist/build/mp-weixin/BILL/outstanding_fee/show/components/PageFooter.wxss
vendored
Normal file
@ -0,0 +1 @@
|
||||
.footer_view.data-v-5db077a5{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-5db077a5{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-5db077a5{color:#555}.footer_view .select_fee .fee.data-v-5db077a5{color:#df3600;font-size:33rpx;font-weight:550}.footer_view .btn_group.data-v-5db077a5{display:flex;align-items:center;justify-content:space-between;padding:20rpx 30rpx 0}.footer_view .btn_group_left.data-v-5db077a5,.footer_view .btn_group_right.data-v-5db077a5{width:48%}.footer_view .new_add_collection_fee.data-v-5db077a5{padding:20rpx 30rpx 0}
|
||||
1
dist/build/mp-weixin/BILL/outstanding_fee/show/components/PageHeader.js
vendored
Normal file
1
dist/build/mp-weixin/BILL/outstanding_fee/show/components/PageHeader.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";const l=require("../../../../common/vendor.js"),e=require("../../../../gen/Enums.js");require("../../../../common/libraries/day.js");const u=require("../model.js");if(require("../method.js"),require("../../../../common/libraries/request.js"),require("../../../../common/store/useWeAppAuthStore.js"),require("../../../../gen/Apis.js"),require("../../../../common/store/useWatermarkStore.js"),require("../../../../common/store/useWorkStore.js"),require("../../../../common/libraries/apiLoading.js"),require("../../../../common/libraries/naviHelper.js"),require("../../../../common/libraries/sendWxWork.js"),!Array){l.resolveComponent("hs-enum-tag")()}Math;const o=l.defineComponent({__name:"PageHeader",setup:o=>(o,n)=>{var s,a,i,d,t,v,r,h,m,_,f,w,M,D,p,c,g,q,j,b,E,A,H,k,y,W,x,S,C,L,O,P,R,U,z,B,F,G,I,J,K,N,Q,T,V,X,Y,Z,$,ll,el,ul,ol,nl,sl,al,il,dl,tl,vl,rl,hl,ml,_l,fl,wl,Ml,Dl,pl,cl,gl,ql,jl,bl,El,Al,Hl,kl,yl,Wl,xl,Sl;return l.e({a:l.t((null==(i=null==(a=null==(s=l.unref(u.useModel))?void 0:s.showData)?void 0:a.value)?void 0:i.full_name)||"-"),b:l.t((null==(v=null==(t=null==(d=l.unref(u.useModel))?void 0:d.showData)?void 0:t.value)?void 0:v.total_pending_amount)?"欠费":"结清"),c:l.n("type_text type_text_"+((null==(m=null==(h=null==(r=l.unref(u.useModel))?void 0:r.showData)?void 0:h.value)?void 0:m.total_pending_amount)?"red":"green")),d:null==(w=null==(f=null==(_=l.unref(u.useModel))?void 0:_.showData)?void 0:f.value)?void 0:w.total_pending_amount},(null==(p=null==(D=null==(M=l.unref(u.useModel))?void 0:M.showData)?void 0:D.value)?void 0:p.total_pending_amount)?{e:l.t((null==(q=null==(g=null==(c=l.unref(u.useModel))?void 0:c.showData)?void 0:g.value)?void 0:q.total_pending_amount)||"-")}:{},{f:l.t((null==(A=null==(E=null==(b=null==(j=l.unref(u.useModel))?void 0:j.showData)?void 0:b.value)?void 0:E.asset_house)?void 0:A.built_area)||"-"),g:l.t((null==(W=null==(y=null==(k=null==(H=l.unref(u.useModel))?void 0:H.showData)?void 0:k.value)?void 0:y.asset_house)?void 0:W.room)||""),h:l.t((null==(L=null==(C=null==(S=null==(x=l.unref(u.useModel))?void 0:x.showData)?void 0:S.value)?void 0:C.asset_house)?void 0:L.hall)||""),i:l.t((null==(U=null==(R=null==(P=null==(O=l.unref(u.useModel))?void 0:O.showData)?void 0:P.value)?void 0:R.asset_house)?void 0:U.bathroom)||""),j:l.t((null==(G=null==(F=null==(B=null==(z=l.unref(u.useModel))?void 0:z.showData)?void 0:B.value)?void 0:F.asset_house)?void 0:G.kitchen)||""),k:l.t((null==(N=null==(K=null==(J=null==(I=l.unref(u.useModel))?void 0:I.showData)?void 0:J.value)?void 0:K.asset_house)?void 0:N.balcony)||""),l:l.t((null==(X=null==(V=null==(T=null==(Q=l.unref(u.useModel))?void 0:Q.showData)?void 0:T.value)?void 0:V.asset_house)?void 0:X.ownership_term)||"-"),m:null==(ll=null==($=null==(Z=null==(Y=l.unref(u.useModel))?void 0:Y.showData)?void 0:Z.value)?void 0:$.asset_house)?void 0:ll.status},(null==(nl=null==(ol=null==(ul=null==(el=l.unref(u.useModel))?void 0:el.showData)?void 0:ul.value)?void 0:ol.asset_house)?void 0:nl.status)?{n:l.p({Enums:l.unref(e.HouseRegistersHouseStatusEnum),value:null==(dl=null==(il=null==(al=null==(sl=l.unref(u.useModel))?void 0:sl.showData)?void 0:al.value)?void 0:il.asset_house)?void 0:dl.status})}:{},{o:null==(hl=null==(rl=null==(vl=null==(tl=l.unref(u.useModel))?void 0:tl.showData)?void 0:vl.value)?void 0:rl.asset_house)?void 0:hl.orientation},(null==(wl=null==(fl=null==(_l=null==(ml=l.unref(u.useModel))?void 0:ml.showData)?void 0:_l.value)?void 0:fl.asset_house)?void 0:wl.orientation)?{p:l.p({Enums:l.unref(e.AssetHousesOrientationEnum),value:null==(cl=null==(pl=null==(Dl=null==(Ml=l.unref(u.useModel))?void 0:Ml.showData)?void 0:Dl.value)?void 0:pl.asset_house)?void 0:cl.orientation})}:{},{q:null==(bl=null==(jl=null==(ql=null==(gl=l.unref(u.useModel))?void 0:gl.showData)?void 0:ql.value)?void 0:jl.asset_house)?void 0:bl.usage},(null==(kl=null==(Hl=null==(Al=null==(El=l.unref(u.useModel))?void 0:El.showData)?void 0:Al.value)?void 0:Hl.asset_house)?void 0:kl.usage)?{r:l.p({Enums:l.unref(e.AssetHousesUsageEnum),value:null==(Sl=null==(xl=null==(Wl=null==(yl=l.unref(u.useModel))?void 0:yl.showData)?void 0:Wl.value)?void 0:xl.asset_house)?void 0:Sl.usage})}:{})}});wx.createComponent(o);
|
||||
6
dist/build/mp-weixin/BILL/outstanding_fee/show/components/PageHeader.json
vendored
Normal file
6
dist/build/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/build/mp-weixin/BILL/outstanding_fee/show/components/PageHeader.wxml
vendored
Normal file
1
dist/build/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/build/mp-weixin/BILL/outstanding_fee/show/components/PageHeader.wxss
vendored
Normal file
0
dist/build/mp-weixin/BILL/outstanding_fee/show/components/PageHeader.wxss
vendored
Normal file
1
dist/build/mp-weixin/BILL/outstanding_fee/show/components/PersonnelList.js
vendored
Normal file
1
dist/build/mp-weixin/BILL/outstanding_fee/show/components/PersonnelList.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../../../common/vendor.js"),n=require("../../../../gen/Enums.js"),o=require("../model.js");if(require("../../../../common/libraries/day.js"),!Array){(e.resolveComponent("hs-enum-tag")+e.resolveComponent("uni-icons"))()}Math||((()=>"../../../../components/hs-enum-tag/hs-enum-tag.js")+(()=>"../../../../uni_modules/uni-icons/components/uni-icons/uni-icons.js"))();const l=e.defineComponent({__name:"PersonnelList",setup:l=>(l,i)=>({a:e.f(e.unref(o.useModel).listData.value,((o,i,t)=>{var s,u;return e.e({a:null==(s=null==o?void 0:o.list)?void 0:s.length},(null==(u=null==o?void 0:o.list)?void 0:u.length)?{b:e.t(null==o?void 0:o.label),c:e.f(null==o?void 0:o.list,((o,i,s)=>e.e({a:e.t(null==o?void 0:o.name),b:e.t(null==o?void 0:o.phone),c:"Owner"===(null==o?void 0:o.house_relation)},"Owner"===(null==o?void 0:o.house_relation)?{}:{d:"9e55057e-0-"+t+"-"+s,e:e.p({Enums:e.unref(n.HouseOccupantsResidentialRelationEnum),value:null==o?void 0:o.residential_relation})},{f:"9e55057e-1-"+t+"-"+s,g:e.o((e=>{var n;return null==(n=l.method)?void 0:n.handleSetContact(o)}),`personnel_${i}`),h:e.o((n=>{var l;(l=null==o?void 0:o.phone)&&e.index.makePhoneCall({phoneNumber:l})}),`personnel_${i}`),i:e.o((n=>{return l=null==o?void 0:o.phone,void e.index.setClipboardData({data:l,success(n){setTimeout((()=>{e.index.qy.navigateToAddCustomer({success:function(){}})}),1e3)}});var l}),`personnel_${i}`),j:e.o((n=>{return l=null==o?void 0:o.id,void e.index.navigateTo({url:`/CUSTOMER/show/index?id=${l}`});var l}),`personnel_${i}`),k:`personnel_${i}`}))),d:e.p({type:"star-filled",size:"20",color:(null==o?void 0:o.is_contact)?"#FFD666":"#DCDFE6"}),e:e.t((null==o?void 0:o.is_contact)?"常用联系人":"设为常用")}:{},{f:`item_${i}`})}))})}),i=e._export_sfc(l,[["__scopeId","data-v-9e55057e"]]);wx.createComponent(i);
|
||||
7
dist/build/mp-weixin/BILL/outstanding_fee/show/components/PersonnelList.json
vendored
Normal file
7
dist/build/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/build/mp-weixin/BILL/outstanding_fee/show/components/PersonnelList.wxml
vendored
Normal file
1
dist/build/mp-weixin/BILL/outstanding_fee/show/components/PersonnelList.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<view class="data-v-9e55057e"><view wx:for="{{a}}" wx:for-item="i" wx:key="f" class="personnel_list data-v-9e55057e"><view wx:if="{{i.a}}" class="data-v-9e55057e"><view class="title data-v-9e55057e">{{i.b}}</view><view wx:for="{{i.c}}" wx:for-item="j" wx:key="k" class="personnel_item data-v-9e55057e"><view class="personnel_item_header data-v-9e55057e"><view class="personnel_item_header_left data-v-9e55057e"><view class="data-v-9e55057e">{{j.a}}<text class="data-v-9e55057e">{{j.b}}</text></view><view wx:if="{{j.c}}" class="personnel_item_type data-v-9e55057e"> 产权人 </view><view wx:else class="personnel_item_type data-v-9e55057e"><hs-enum-tag wx:if="{{j.e}}" class="data-v-9e55057e" u-i="{{j.d}}" bind:__l="__l" u-p="{{j.e}}"/></view></view><view class="personnel_item_header_right data-v-9e55057e" bindtap="{{j.g}}"><uni-icons wx:if="{{i.d}}" class="data-v-9e55057e" u-i="{{j.f}}" bind:__l="__l" u-p="{{i.d}}"></uni-icons><view class="label data-v-9e55057e">{{i.e}}</view></view></view><view class="personnel_item_footer data-v-9e55057e"><view class="btn data-v-9e55057e" bindtap="{{j.h}}"> 拨打电话 </view><view class="btn data-v-9e55057e" bindtap="{{j.i}}"> +微信 </view><view class="btn data-v-9e55057e" bindtap="{{j.j}}"> 查看详情 </view></view></view></view></view></view>
|
||||
1
dist/build/mp-weixin/BILL/outstanding_fee/show/components/PersonnelList.wxss
vendored
Normal file
1
dist/build/mp-weixin/BILL/outstanding_fee/show/components/PersonnelList.wxss
vendored
Normal file
@ -0,0 +1 @@
|
||||
.personnel_list.data-v-9e55057e{padding:0 30rpx}.personnel_list .title.data-v-9e55057e{font-size:28rpx;font-weight:500;color:#333;padding:30rpx 0}.personnel_list .personnel_item.data-v-9e55057e{background-color:#f9fafb;border-radius:20rpx}.personnel_list .personnel_item .personnel_item_type.data-v-9e55057e{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-9e55057e{display:flex;align-items:center;justify-content:space-between;padding:30rpx 30rpx 20rpx}.personnel_list .personnel_item_header_left.data-v-9e55057e{color:#3d3d3d;font-size:28rpx;font-weight:500;flex:1}.personnel_list .personnel_item_header_left text.data-v-9e55057e{font-weight:400;padding-left:6rpx}.personnel_list .personnel_item_header_right.data-v-9e55057e{font-size:24rpx;text-align:center;color:#b1b3b8}.personnel_list .personnel_item_header_right .label.data-v-9e55057e{padding-top:7rpx}.personnel_list .personnel_item_footer.data-v-9e55057e{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-9e55057e{flex:1;color:#333;font-size:28rpx;padding:10rpx 0}.personnel_list .personnel_item_footer .btn.data-v-9e55057e:first-child{color:#0082fa}.personnel_list .personnel_item_footer .btn.data-v-9e55057e:nth-child(2){border-left:1rpx solid #ededed;border-right:1rpx solid #ededed}
|
||||
1
dist/build/mp-weixin/BILL/outstanding_fee/show/components/WorkOrderList.js
vendored
Normal file
1
dist/build/mp-weixin/BILL/outstanding_fee/show/components/WorkOrderList.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../../../common/vendor.js"),o=require("../../../../gen/Enums.js"),l=require("../model.js"),n=require("../../../../common/libraries/day.js"),u=require("../method.js");if(require("../../../../common/libraries/request.js"),require("../../../../common/store/useWeAppAuthStore.js"),require("../../../../gen/Apis.js"),require("../../../../common/store/useWatermarkStore.js"),require("../../../../common/store/useWorkStore.js"),require("../../../../common/libraries/apiLoading.js"),require("../../../../common/libraries/naviHelper.js"),require("../../../../common/libraries/sendWxWork.js"),!Array){(e.resolveComponent("hs-enum-tag")+e.resolveComponent("hs-level")+e.resolveComponent("up-icon"))()}Math||((()=>"../../../../components/hs-enum-tag/hs-enum-tag.js")+(()=>"../../../../components/hs-level/hs-level.js")+(()=>"../../../../node-modules/uview-plus/components/u-icon/u-icon.js"))();const t=e.defineComponent({__name:"WorkOrderList",setup(t){let s=[{label:"全部",value:void 0},{label:"待处理",value:"Pending"},{label:"处理中",value:"Processing"},{label:"已完成",value:"Completed"}];return(t,r)=>{var i,a;return{a:e.f(e.unref(s),((o,n,t)=>{var s,r,i;return{a:e.t(null==o?void 0:o.label),b:`tab_${n}`,c:e.n("items "+((null==(i=null==(r=null==(s=e.unref(l.useModel))?void 0:s.formData)?void 0:r.value)?void 0:i.status)===(null==o?void 0:o.value)?"active":"")),d:e.o((e=>(e=>{var o;l.useModel.formData.value.status=null==e?void 0:e.value,l.useModel.listData.value=[],null==(o=u.method)||o.loadMore(1)})(o)),`tab_${n}`)}})),b:e.f(null==(a=null==(i=e.unref(l.useModel))?void 0:i.listData)?void 0:a.value,((l,u,t)=>{var s,r,i,a,d;return e.e({a:"08c86bd8-0-"+t,b:e.p({value:null==l?void 0:l.type,Enums:e.unref(o.HouseWorkOrdersTypeEnum)}),c:"08c86bd8-1-"+t,d:e.p({level:null==l?void 0:l.level}),e:"08c86bd8-2-"+t,f:e.p({value:null==l?void 0:l.status,Enums:e.unref(o.HouseWorkOrdersStatusEnum)}),g:e.n(`btn_status status_${null==l?void 0:l.status}`),h:e.t(null==(s=null==l?void 0:l.asset_house)?void 0:s.full_name),i:e.t(null==l?void 0:l.content),j:e.f(null==l?void 0:l.attachments,((e,o,l)=>({a:null==e?void 0:e.url,b:`img_${o}`}))),k:"Pending"===(null==l?void 0:l.status)},"Pending"===(null==l?void 0:l.status)?{l:"08c86bd8-3-"+t,m:e.p({name:"clock",color:(null==(r=e.unref(n.getTimeStatus)(null==l?void 0:l.expect_end_time))?void 0:r.color)||"#000",size:"14"}),n:e.t(null==(i=e.unref(n.getTimeStatus)(null==l?void 0:l.expect_end_time))?void 0:i.label),o:e.n(`todo_done_card_footer status_${null==(a=e.unref(n.getTimeStatus)(null==l?void 0:l.expect_end_time))?void 0:a.status}`)}:{},{p:e.t(null==l?void 0:l.created_at),q:`items_${u}`,r:e.o((o=>{return n=l,void e.index.navigateTo({url:`/WORKORDER/show/index?id=${null==n?void 0:n.id}`});var n}),`items_${u}`),s:e.n("todo_done_card "+("Pending"===(null==l?void 0:l.status)?`card_status_${null==(d=e.unref(n.getTimeStatus)(null==l?void 0:l.expect_end_time))?void 0:d.status}`:""))})}))}}}}),s=e._export_sfc(t,[["__scopeId","data-v-08c86bd8"]]);wx.createComponent(s);
|
||||
8
dist/build/mp-weixin/BILL/outstanding_fee/show/components/WorkOrderList.json
vendored
Normal file
8
dist/build/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/build/mp-weixin/BILL/outstanding_fee/show/components/WorkOrderList.wxml
vendored
Normal file
1
dist/build/mp-weixin/BILL/outstanding_fee/show/components/WorkOrderList.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<view class="todo_done_container data-v-08c86bd8"><view class="todo_done_container_head_tab data-v-08c86bd8"><view wx:for="{{a}}" wx:for-item="i" wx:key="b" class="{{['data-v-08c86bd8', i.c]}}" bindtap="{{i.d}}">{{i.a}}</view></view><view class="todo_done_content data-v-08c86bd8"><view wx:for="{{b}}" wx:for-item="i" wx:key="q" bindtap="{{i.r}}" class="{{['data-v-08c86bd8', i.s]}}"><view class="todo_done_card_header data-v-08c86bd8"><view class="group_type_btn data-v-08c86bd8"><view class="type_btn data-v-08c86bd8"><hs-enum-tag wx:if="{{i.b}}" class="data-v-08c86bd8" u-i="{{i.a}}" bind:__l="__l" u-p="{{i.b}}"/></view><hs-level wx:if="{{i.d}}" class="data-v-08c86bd8" u-i="{{i.c}}" bind:__l="__l" u-p="{{i.d}}"/></view><view class="{{['data-v-08c86bd8', i.g]}}"><hs-enum-tag wx:if="{{i.f}}" class="data-v-08c86bd8" u-i="{{i.e}}" bind:__l="__l" u-p="{{i.f}}"/></view></view><view class="todo_done_card_houses_title data-v-08c86bd8">{{i.h}}</view><view class="todo_done_card_content data-v-08c86bd8">{{i.i}}</view><view class="todo_done_card_attachments data-v-08c86bd8"><view wx:for="{{i.j}}" wx:for-item="k" wx:key="b" class="item data-v-08c86bd8"><image class="data-v-08c86bd8" src="{{k.a}}" mode="aspectFill"/></view></view><view wx:if="{{i.k}}" class="{{['data-v-08c86bd8', i.o]}}"><up-icon wx:if="{{i.m}}" class="data-v-08c86bd8" u-i="{{i.l}}" bind:__l="__l" u-p="{{i.m}}"></up-icon><text class="data-v-08c86bd8">{{i.n}}</text></view><view class="expected_time data-v-08c86bd8">提报时间:{{i.p}}</view></view></view></view>
|
||||
1
dist/build/mp-weixin/BILL/outstanding_fee/show/components/WorkOrderList.wxss
vendored
Normal file
1
dist/build/mp-weixin/BILL/outstanding_fee/show/components/WorkOrderList.wxss
vendored
Normal file
@ -0,0 +1 @@
|
||||
.todo_done_container.data-v-08c86bd8{padding:30rpx 30rpx 0}.todo_done_container .todo_done_container_head_tab.data-v-08c86bd8{display:flex;align-items:center;justify-content:space-between}.todo_done_container .todo_done_container_head_tab .items.data-v-08c86bd8{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-08c86bd8{color:#0082fa;border:1px solid #0082fa}.todo_done_container .todo_done_card.data-v-08c86bd8{background-color:#f9fafb;border-radius:20rpx;padding:0 30rpx 30rpx;margin-top:30rpx}.todo_done_container .todo_done_card .todo_done_card_header.data-v-08c86bd8{display:flex;align-items:center;justify-content:space-between;padding:30rpx 0 25rpx}.todo_done_container .todo_done_card .todo_done_card_header .group_type_btn.data-v-08c86bd8{display:flex;align-items:center}.todo_done_container .todo_done_card .todo_done_card_header .type_btn.data-v-08c86bd8{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-08c86bd8{border-radius:100rpx;font-size:28rpx;padding:7rpx 19rpx}.todo_done_container .todo_done_card .todo_done_card_header .status_Pending.data-v-08c86bd8{color:#f97316;background-color:#fff7ed}.todo_done_container .todo_done_card .todo_done_card_header .status_Processing.data-v-08c86bd8{color:#0082fa;background-color:#edf4ff}.todo_done_container .todo_done_card .todo_done_card_header .status_Completed.data-v-08c86bd8{color:#22c55e;background-color:#f0fdf4}.todo_done_container .todo_done_card .todo_done_card_header .status_Closed.data-v-08c86bd8{color:#909399;background-color:#f3f3f4}.todo_done_container .todo_done_card .todo_done_card_houses_title.data-v-08c86bd8{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-08c86bd8{height:30rpx;line-height:30rpx}.todo_done_container .todo_done_card .todo_done_card_houses_title .item.data-v-08c86bd8: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-08c86bd8{color:#444;font-size:28rpx;padding:5rpx 0 0}.todo_done_container .todo_done_card_attachments.data-v-08c86bd8{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-08c86bd8{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-08c86bd8:nth-child(4n){margin-right:0}.todo_done_container .todo_done_card_attachments .item image.data-v-08c86bd8{width:100%;height:100%}.todo_done_container .todo_done_card .todo_done_card_footer.data-v-08c86bd8{color:#666;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}.todo_done_container .todo_done_card .status_1.data-v-08c86bd8{color:#24bc21;background:linear-gradient(90deg,#edffed 0%,rgba(232,255,231,0) 103%)}.todo_done_container .todo_done_card .status_2.data-v-08c86bd8{color:#0082fa;background:linear-gradient(90deg,#eff7ff 0%,rgba(231,241,255,0) 103%)}.todo_done_container .todo_done_card .status_3.data-v-08c86bd8{color:#f97316;background:linear-gradient(90deg,#fff4ef 0%,rgba(255,237,231,0) 103%)}.todo_done_container .todo_done_card .status_4.data-v-08c86bd8{color:#ea0000;background:linear-gradient(90deg,#ffe5e5 0%,rgba(255,255,255,0) 103%)}.todo_done_container .todo_done_card .expected_time.data-v-08c86bd8{padding:20rpx 0 0;color:#333;font-size:28rpx}.todo_done_container .card_status_4.data-v-08c86bd8{border-top:6px solid #ef4444}
|
||||
1
dist/build/mp-weixin/BILL/outstanding_fee/show/index.js
vendored
Normal file
1
dist/build/mp-weixin/BILL/outstanding_fee/show/index.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../../common/vendor.js"),o=require("./model.js"),l=require("./method.js");if(require("../../../common/libraries/day.js"),require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../gen/Apis.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),require("../../../common/libraries/apiLoading.js"),require("../../../common/libraries/naviHelper.js"),require("../../../common/libraries/sendWxWork.js"),!Array){(e.resolveComponent("hs-tabs")+e.resolveComponent("cc-scroll-loading"))()}Math||(s+(()=>"../../../components/hs-tabs/hs-tabs.js")+a+n+u+t+(()=>"../../../common/components/cc-scroll-loading/cc-scroll-loading.js")+r)();const n=()=>"./components/BillItem.js",s=()=>"./components/PageHeader.js",r=()=>"./components/PageFooter.js",a=()=>"./components/BillRecord.js",u=()=>"./components/WorkOrderList.js",t=()=>"./components/PersonnelList.js",i=e.defineComponent({__name:"index",setup(n){const s=[{label:"房屋账单"},{label:"房屋工单"},{label:"房屋人员"}];return e.onShow((async()=>{var n,s,r,a,u;await(null==(n=e.getCurrentInstance())?void 0:n.appContext.config.globalProperties.$onLaunched),(null==(a=null==(r=null==(s=o.useModel)?void 0:s.showData)?void 0:r.value)?void 0:a.id)&&(o.useModel.houseBillsData.value=[],o.useModel.collectionList.value=[],null==(u=l.method)||u.handleTabsChange(o.useModel.tabsCurrent.value))})),e.onUnload((()=>{o.useModel.showData.value=void 0,o.useModel.houseBillsData.value=[],o.useModel.collectionList.value=[],o.useModel.total_amount.value=0})),e.onLoad((async n=>{var s,r,a;o.useModel.tabsCurrent.value=0,await(null==(s=e.getCurrentInstance())?void 0:s.appContext.config.globalProperties.$onLaunched),o.useModel.formData.value.asset_houses_id=null==n?void 0:n.id,null==(r=l.method)||r.getShow(null==n?void 0:n.id),null==(a=l.method)||a.getHouseBills(1)})),(n,r)=>{var a,u,t,i,d,c;return e.e({a:e.o(null==(a=e.unref(l.method))?void 0:a.handleTabsChange),b:e.p({list:s,current:e.unref(o.useModel).tabsCurrent.value}),c:0===e.unref(o.useModel).tabsCurrent.value},0===e.unref(o.useModel).tabsCurrent.value?{d:e.f(null==(t=null==(u=e.unref(o.useModel))?void 0:u.houseBillsData)?void 0:t.value,((o,l,n)=>({a:`items_${l}`,b:"e72aaab2-4-"+n+",e72aaab2-2",c:e.p({item:o,index:l})})))}:{},{e:1===e.unref(o.useModel).tabsCurrent.value},(e.unref(o.useModel).tabsCurrent.value,{}),{f:2===e.unref(o.useModel).tabsCurrent.value},(e.unref(o.useModel).tabsCurrent.value,{}),{g:e.o(null==(i=e.unref(l.method))?void 0:i.loadMore),h:e.p({meta:null==(c=null==(d=e.unref(o.useModel))?void 0:d.metaData)?void 0:c.value}),i:e.n(`show_container_${e.unref(o.useModel).tabsCurrent.value}`)})}}});wx.createPage(i);
|
||||
13
dist/build/mp-weixin/BILL/outstanding_fee/show/index.json
vendored
Normal file
13
dist/build/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/build/mp-weixin/BILL/outstanding_fee/show/index.wxml
vendored
Normal file
1
dist/build/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>
|
||||
1
dist/build/mp-weixin/BILL/outstanding_fee/show/index.wxss
vendored
Normal file
1
dist/build/mp-weixin/BILL/outstanding_fee/show/index.wxss
vendored
Normal file
@ -0,0 +1 @@
|
||||
.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;font-size:25rpx;color:#4b5563}.container_header .total_fee{display:flex;align-items:center;padding:0 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}.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}.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}
|
||||
1
dist/build/mp-weixin/BILL/outstanding_fee/show/method.js
vendored
Normal file
1
dist/build/mp-weixin/BILL/outstanding_fee/show/method.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/build/mp-weixin/BILL/outstanding_fee/show/model.js
vendored
Normal file
1
dist/build/mp-weixin/BILL/outstanding_fee/show/model.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../../common/vendor.js");require("../../../common/libraries/day.js");const r={formData:e.ref({page:1}),listData:e.ref([]),current:e.ref(0),meta:e.ref({}),showData:e.ref({}),metaData:e.ref({}),tabsCurrent:e.ref(0),houseBillsData:e.ref([]),allSelectStatus:e.ref(!1),headTabsList:e.ref([]),collectionList:e.ref([]),total_amount:e.ref(0)};exports.useModel=r;
|
||||
1
dist/build/mp-weixin/BILL/poster/index.js
vendored
Normal file
1
dist/build/mp-weixin/BILL/poster/index.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../common/vendor.js"),o=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/useWatermarkStore.js"),require("../../common/store/useWorkStore.js");const r=e.defineComponent({__name:"index",setup:r=>(e.onLoad((e=>{o.method.setCanvas(e)})),(r,s)=>({a:e.o(((...r)=>e.unref(o.method).onDownloadPosters&&e.unref(o.method).onDownloadPosters(...r)))}))}),s=e._export_sfc(r,[["__scopeId","data-v-b54158fc"]]);wx.createPage(s);
|
||||
4
dist/build/mp-weixin/BILL/poster/index.json
vendored
Normal file
4
dist/build/mp-weixin/BILL/poster/index.json
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"navigationBarTitleText": "二维码收款",
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
dist/build/mp-weixin/BILL/poster/index.wxml
vendored
Normal file
1
dist/build/mp-weixin/BILL/poster/index.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<view class="poster_main data-v-b54158fc"><view class="poster_canvas data-v-b54158fc"><canvas class="data-v-b54158fc" canvas-id="firstCanvas" id="firstCanvas" style="width:345px;height:504px"></canvas></view><view class="poster_func data-v-b54158fc"><view class="poster_func_download data-v-b54158fc" bindtap="{{a}}">下载海报</view></view></view>
|
||||
1
dist/build/mp-weixin/BILL/poster/index.wxss
vendored
Normal file
1
dist/build/mp-weixin/BILL/poster/index.wxss
vendored
Normal file
@ -0,0 +1 @@
|
||||
.poster_main.data-v-b54158fc{width:100vw;height:100vh;background-color:#f1f2f5}.poster_canvas.data-v-b54158fc{padding-top:30rpx;height:534px}#firstCanvas.data-v-b54158fc{margin:0 auto}.poster_func.data-v-b54158fc{margin-top:40rpx;display:flex;flex-direction:column;align-items:center}.poster_func_choice.data-v-b54158fc{font-size:28rpx;font-weight:400;color:#0082fa;text-decoration:underline}.poster_func_download.data-v-b54158fc,.poster_func_link.data-v-b54158fc{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-b54158fc{background-color:#fff}.image_popup.data-v-b54158fc{display:flex;justify-content:center;align-items:center}.image_popup_card.data-v-b54158fc{width:90vw;z-index:200}.image_popup_card_title.data-v-b54158fc{text-align:center;font-size:36rpx;font-weight:600}.image_popup_card_title_text.data-v-b54158fc{margin:20rpx 0 60rpx}.image_popup_card_enter.data-v-b54158fc{margin:100rpx 0 20rpx}.image_popup_card_swiper_item.data-v-b54158fc{display:flex;justify-content:center}.image_popup_card_swiper_image.data-v-b54158fc{width:480rpx;height:320rpx}
|
||||
1
dist/build/mp-weixin/BILL/poster/method.js
vendored
Normal file
1
dist/build/mp-weixin/BILL/poster/method.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../common/vendor.js"),i=require("../../gen/Apis.js"),o=require("./model.js"),t=require("../../common/libraries/apiLoading.js"),l={getHouseDetail(e){},updateCoverInfo(){this.setCanvas(o.useModel.houseDetail.value)},setCanvas(o){const l=e.index.createCanvasContext("firstCanvas");((o,l)=>{t.getApiLoading(i.Apis.HouseOrder.HouseOrders.GetPayQrCode,{id:null==o?void 0:o.order_id}).then((i=>{var o;const t=e.index.getFileSystemManager();var a=(new Date).getTime(),n=e.wx$1.env.USER_DATA_PATH+"/"+a+".png";t.writeFile({filePath:n,data:null==(o=null==i?void 0:i.data)?void 0:o.qr_code.slice(22),encoding:"base64",success:()=>null==l?void 0:l(n)})}))})(o,(i=>{e.index.downloadFile({url:"https://jyw-dev-1322946948.cos.ap-guangzhou.myqcloud.com/uploads/cs-test/01K2GQ7CEB6DJ9BN8HMRV8SSWE.png",success(e){l.drawImage(e.tempFilePath,0,0,345,504),l.font="bold 18px Arial",l.setTextAlign("center"),l.fillText((null==o?void 0:o.name)||"-",172.5,45),l.font="bold 16px Arial",l.fillStyle="#DF3600",l.fillText(`缴费金额:${null==o?void 0:o.amount}元`,172.5,78),l.font="14px Arial",l.fillStyle="#333",l.fillText("请使用微信扫码支付",172.5,450),l.font="12px Arial",l.fillStyle="#666",l.fillText(`生成时间:${null==o?void 0:o.time}`,172.5,475),l.drawImage(i,72.5,150,200,200),l.restore(),l.draw()}}),console.log(i,"二维码路径")}))},onDownloadPosters(){e.index.showLoading({title:"正在保存中..."}),e.index.canvasToTempFilePath({x:0,y:0,width:345,height:504,destWidth:1380,destHeight:2016,canvasId:"firstCanvas",success:function(i){e.index.hideLoading(),e.index.saveImageToPhotosAlbum({filePath:i.tempFilePath,success:function(){console.log("save success"),e.index.hideLoading()},fail(){e.index.hideLoading()}}),console.log(i.tempFilePath)},fail(){e.index.hideLoading()}})},initActualImages:async e=>{},choiceImgPopControl(){var e;this.initActualImages(null==(e=o.useModel.houseDetail.value)?void 0:e.id)},copyLink(){}};exports.method=l;
|
||||
1
dist/build/mp-weixin/BILL/poster/model.js
vendored
Normal file
1
dist/build/mp-weixin/BILL/poster/model.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";const o=require("../../common/vendor.js"),e={coverBgImg:"https://jyw-1322946948.cos.ap-guangzhou.myqcloud.com/upload/gjEDA6cmTu5FnMCWzyGSE.png",coverImg:o.ref(""),houseDetail:o.ref({}),qrCodeByBase64:o.ref(""),choiceImgShow:o.ref(!1),posterStyle:{background:"url('https://jyw-1322946948.cos.ap-guangzhou.myqcloud.com/upload/jgKWriyfZrPSIBuHrlfNG.png')",backgroundSize:"100% 100%",marginTop:"30rpx",padding:"30rpx"},houseActualImages:o.ref([]),posterImage:o.ref("")};exports.useModel=e;
|
||||
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