Commit 84ed50a8 authored by zuoliyuan's avatar zuoliyuan

bushu

parent 8efc2120

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

......@@ -93,7 +93,7 @@
</HCard>
</view>
</template>
<!-- 常用功能 -->
<!-- 数据面板 -->
<template v-if="item.show && item.jnpfKey === 'dataBoard'">
<view class="u-m-b-20">
<HCard :cardData="item">
......@@ -103,7 +103,7 @@
</HCard>
</view>
</template>
<!-- 数据面板 -->
<!-- 常用功能 -->
<template v-if="item.show && item.jnpfKey === 'commonFunc'">
<view class="u-m-b-20">
<HCard :cardData="item">
......
"use strict";const t=require("../../utils/request.js");exports.addUsual=function(e){return t.request({url:"/api/app/Data",method:"post",data:e})},exports.delUsual=function(e){return t.request({url:"/api/app/Data/"+e,method:"delete"})},exports.getDataList=function(){return t.request({url:"/api/app/Data/getDataList"})},exports.getFlowList=function(e){return t.request({url:"/api/app/Data/getFlowList",data:e})},exports.getMenuList=function(e){return t.request({url:"/api/app/Menu",method:"get",data:e,options:{load:!1}})},exports.getUsualList=function(e){return t.request({url:"/api/app/Data?type="+e,options:{load:!1}})};
"use strict";const e=require("../../utils/request.js");exports.Delete=function(t){return e.request({url:`/api/extend/CrmOrder/${t}`,method:"DELETE"})},exports.getCustomerList=function(t){return e.request({url:"/api/extend/CrmOrder/Customer",method:"get",data:{keyword:t||""},options:{load:!1}})},exports.getGoodsList=function(t){return e.request({url:"/api/extend/CrmOrder/Goods",method:"get",data:t,options:{load:!1}})},exports.getOrderList=function(t,r){return e.request({url:"/api/extend/CrmOrder",method:"get",data:t,options:r})};
"use strict";const e=require("../../utils/request.js");exports.createLog=function(t){return e.request({url:"/api/extend/WorkLog",method:"POST",data:t})},exports.delLog=function(t){return e.request({url:`/api/extend/WorkLog/${t}`,method:"DELETE"})},exports.getLogInfo=function(t){return e.request({url:`/api/extend/WorkLog/${t}`,method:"GET"})},exports.getReceiveList=function(t,r){return e.request({url:"/api/extend/WorkLog/Receive",method:"GET",data:t,options:r})},exports.getSendList=function(t,r){return e.request({url:"/api/extend/WorkLog/Send",method:"GET",data:t,options:r})},exports.updateLog=function(t){return e.request({url:`/api/extend/WorkLog/${t.id}`,method:"PUT",data:t})};
"use strict";const e=require("../../utils/request.js");exports.createModel=function(t,n){return e.request({url:`/api/visualdev/OnlineDev/${t}`,method:"POST",data:n})},exports.deteleModel=function(t,n){return e.request({url:`/api/visualdev/OnlineDev/${t}/${n}`,method:"DELETE"})},exports.getConfigData=function(t,n){return e.request({url:`/api/visualdev/OnlineDev/${t}/Config?type=${n}`,method:"GET"})},exports.getModelInfo=function(t,n){return e.request({url:`/api/visualdev/OnlineDev/${t}/${n}`,method:"GET"})},exports.getModelList=function(t,n,r){return e.request({url:`/api/visualdev/OnlineDev/${t}/List`,method:"POST",data:n,options:{load:!1}})},exports.updateModel=function(t,n){return e.request({url:`/api/visualdev/OnlineDev/${t}/${n.id}`,method:"PUT",data:n})};
"use strict";const e=require("../utils/request.js");exports.UpdateAvatar=function(t){return e.request({url:`/api/permission/Users/Current/Avatar/${t}`,method:"PUT"})},exports.UpdateUser=function(t){return e.request({url:"/api/permission/Users/Current/BaseInfo",method:"PUT",data:t})},exports.UserSettingInfo=function(){return e.request({url:"/api/permission/Users/Current/BaseInfo",method:"GET"})},exports.accountCancel=function(t){return e.request({url:"/api/oauth/logoutCurrentUser",method:"post",token:t,header:{"Content-Type":"application/x-www-form-urlencoded"}})},exports.confirmLogin=function(t){return e.request({url:`/api/oauth/confirmLogin/${t}`,method:"GET",options:{load:!1}})},exports.createSignImg=t=>e.request({url:"/api/permission/Users/Current/SignImg",method:"post",data:t,options:{load:!1}}),exports.delSignImg=t=>e.request({url:`/api/permission/Users/Current/${t}/SignImg`,method:"delete",options:{load:!1}}),exports.getAddress=function(t){return e.request({url:"/api/system/Location/regeo",method:"get",data:t})},exports.getAppVersion=function(){return e.request({url:"/api/app/Version"})},exports.getAroundList=function(t){return e.request({url:"/api/system/Location/around",method:"get",data:t})},exports.getBillNumber=function(t){return e.request({url:`/api/system/BillRule/BillNumber/${t}`,method:"GET",options:{load:!1}})},exports.getConfig=function(t){return e.request({url:`/api/oauth/getConfig/${t}`,method:"get"})},exports.getCurrentUser=function(){return e.request({url:"/api/oauth/CurrentUser?type=app",options:{load:!1}})},exports.getDataChange=function(t,r){return e.request({url:`/api/visualdev/OnlineDev/${t}/${r}/DataChange`,method:"GET"})},exports.getDataInterfaceDataInfoByIds=function(t,r){return e.request({url:`/api/system/DataInterface/${t}/Actions/InfoByIds`,method:"POST",data:r})},exports.getDataInterfaceRes=function(t,r){return e.request({url:`/api/system/DataInterface/${t}/Actions/Preview`,method:"post",options:{load:!1},data:r||{}})},exports.getDepartmentSelector=function(){return e.request({url:"/api/permission/Organize/Department/Selector/0",options:{load:!1}})},exports.getDictionaryDataAll=function(){return e.request({url:"/api/system/DictionaryData/All",options:{load:!1}})},exports.getDictionaryDataSelector=function(t){return e.request({url:`/api/system/DictionaryData/${t}/Data/Selector`,options:{load:!1}})},exports.getDownloadUrl=function(t,r){return e.request({url:`/api/file/Download/${t}/${r}`,method:"GET"})},exports.getGroupCondition=t=>e.request({url:"/api/permission/Group/GroupCondition",method:"POST",data:t}),exports.getGroupSelector=()=>e.request({url:"/api/permission/Group/Selector",method:"GET"}),exports.getImUser=function(t,r){return e.request({url:"/api/permission/Users/ImUser",data:t,options:{load:!1}})},exports.getLoginConfig=function(){return e.request({url:"/api/oauth/getLoginConfig"})},exports.getOrgByOrganizeCondition=t=>e.request({url:"/api/permission/Organize/OrganizeCondition",method:"post",data:t}),exports.getOrganization=t=>e.request({url:"/api/permission/Users/getOrganization",method:"get",data:{keyword:t,organizeId:"0"}}),exports.getOrganizeSelector=function(){return e.request({url:"/api/permission/Organize/Selector/0",options:{load:!1}})},exports.getPopSelect=function(t,r,o){return e.request({url:`/api/system/DataInterface/${t}/Actions/List`,method:"POST",data:r,options:{load:!0}})},exports.getPositionByPositionCondition=t=>e.request({url:"/api/permission/Position/PositionCondition",method:"post",data:t}),exports.getPositionSelector=function(){return e.request({url:"/api/permission/Position/Selector",options:{load:!1}})},exports.getProvinceSelector=function(t){return e.request({url:`/api/system/Area/${t}/Selector/0`,method:"GET"})},exports.getProvinceSelectorInfoList=function(t){return e.request({url:"/api/system/Area/GetAreaByIds",method:"post",data:{idsList:t}})},exports.getRelationSelect=function(t,r,o){return e.request({url:`/api/visualdev/Base/${t}/FieldDataSelect`,data:r,options:{load:!1}})},exports.getRoleCondition=t=>e.request({url:"/api/permission/Role/RoleCondition",method:"POST",data:t}),exports.getRoleSelector=()=>e.request({url:"/api/permission/Role/Selector",method:"GET",options:{load:!1}}),exports.getSelectedList=t=>e.request({url:"/api/permission/Users/getSelectedList",method:"post",data:{ids:t}}),exports.getSelectedUserList=t=>e.request({url:"/api/permission/Users/getSelectedUserList",method:"post",data:t}),exports.getSignImgList=()=>e.request({url:"/api/permission/Users/Current/SignImg",method:"GET",options:{load:!1}}),exports.getSubordinate=function(t){return e.request({url:`/api/permission/Users/Current/Subordinate/${t||"0"}`,method:"GET"})},exports.getSubordinates=t=>e.request({url:"/api/permission/Users/getSubordinates",method:"post",data:{keyword:t}}),exports.getSystemConfig=function(){return e.request({url:"/api/system/SysConfig",method:"GET"})},exports.getTextList=function(t){return e.request({url:"/api/system/Location/text",method:"get",data:t})},exports.getTicket=function(){return e.request({url:"/api/oauth/getTicket",method:"GET"})},exports.getTicketStatus=function(t){return e.request({url:`/api/oauth/getTicketStatus/${t}`,method:"GET"})},exports.getUesrDetail=function(t){return e.request({url:"/api/app/User/"+t,method:"GET"})},exports.getUserAll=function(){return e.request({url:"/api/permission/Users/All",options:{load:!1}})},exports.getUserInfoList=t=>e.request({url:"/api/permission/Users/getUserList",method:"post",data:{ids:t}}),exports.getUserOrganizes=function(t){return e.request({url:"/api/permission/Users/Current/getUserOrganizes",method:"GET",data:t})},exports.getUserPositions=function(t){return e.request({url:"/api/permission/Users/Current/getUserPositions",method:"GET",data:t})},exports.getUserSelector=function(){return e.request({url:"/api/permission/Users/Selector",options:{load:!1}})},exports.getUserSelectorNew=function(t,r){return e.request({url:`/api/permission/Users/ImUser/Selector/${t}`,method:"POST",data:{keyword:r},options:{load:!1}})},exports.login=function(t){return e.request({url:"/api/oauth/Login",method:"post",data:t,header:{"Content-Type":"application/x-www-form-urlencoded"}})},exports.logout=function(){return e.request({url:"/api/oauth/Logout"})},exports.setCodeCertificateStatus=function(t,r){return e.request({url:`/api/oauth/setCodeCertificateStatus/${t}/${r}`,method:"GET",options:{load:!1}})},exports.setDefSignImg=t=>e.request({url:`/api/permission/Users/Current/${t}/SignImg`,method:"put",options:{load:!1}}),exports.setMajor=function(t){return e.request({url:"/api/permission/Users/Current/major",method:"put",data:t})},exports.socialsLogin=function(t){return e.request({url:"/api/oauth/Login/socials",data:t,header:{"Content-Type":"application/x-www-form-urlencoded"}})},exports.updatePassword=function(t){return e.request({url:"/api/permission/Users/Current/Actions/ModifyPassword",method:"POST",data:t})},exports.updatePasswordMessage=function(){return e.request({url:"/api/oauth/updatePasswordMessage",method:"POST",options:{load:!1}})};
"use strict";const e=require("../utils/request.js");exports.Create=function(t){return e.request({url:"/api/system/CommonWords",method:"post",data:t})},exports.Update=function(t){return e.request({url:`/api/system/CommonWords/${t.id}`,method:"put",data:t})},exports.deleteCommonWordsInfo=function(t){return e.request({url:`/api/system/CommonWords/${t}`,method:"DELETE"})},exports.getSelector=function(){return e.request({url:"/api/system/CommonWords/Selector?type=App",method:"get"})};
"use strict";const e=require("../utils/request.js");exports.MessageAllRead=function(t){return e.request({url:"/api/message/Actions/ReadAll",method:"POST",data:t})},exports.checkInfo=function(t){return e.request({url:`/api/workflow/Engine/FlowBefore/${t}/Info`,method:"get"})},exports.getIMReply=function(){return e.request({url:"/api/message/imreply",options:{load:!0}})},exports.getMessageDetail=function(t){return e.request({url:`/api/message/ReadInfo/${t}`,method:"get"})},exports.getMessageList=function(t){return e.request({url:"/api/message",data:t,options:{load:!1}})},exports.getUnReadMsgNum=function(t){return e.request({url:"/api/message/getUnReadMsgNum",data:t,options:{load:!1}})},exports.relocation=function(t){return e.request({url:`/api/message/imreply/relocation/${t}`,method:"delete"})};
"use strict";const t=require("../../utils/request.js");exports.PortalList=function(){return t.request({url:"/api/visualdev/Portal/Selector?platform=App&type=1",method:"get",options:{load:!1}})},exports.SetPortal=function(e){return t.request({url:`/api/visualdev/Portal/${e}/Actions/SetDefault?platform=App`,method:"put",options:{load:!1}})},exports.auth=function(e){return t.request({url:`/api/visualdev/Portal/${e}/auth?platform=App`,method:"get",options:{load:!1}})},exports.getPreviewPortal=e=>t.request({url:"/api/visualdev/Portal/"+e,method:"GET",options:{load:!1}});
"use strict";const e=require("../../utils/request.js");exports.ScheduleDelete=function(t,u){return e.request({url:`/api/system/Schedule/${t}/${u}`,method:"DELETE",options:{load:!1}})},exports.ScheduleDetail=function(t,u){return e.request({url:`/api/system/Schedule/detail/?groupId=${t}&id=${u}`,method:"get",options:{load:!1}})};
"use strict";const t=require("../utils/request.js");exports.getListByIds=function(s){return t.request({url:"/api/system/Signature/ListByIds",method:"post",data:s})};
"use strict";const e=require("../../utils/request.js");exports.Create=function(t){return e.request({url:"/api/workflow/Engine/FlowDelegate",method:"post",data:t})},exports.DeleteDelagate=function(t){return e.request({url:`/api/workflow/Engine/FlowDelegate/${t}`,method:"DELETE"})},exports.FlowDelegateInfo=function(t){return e.request({url:`/api/workflow/Engine/FlowDelegate/${t}`,method:"get"})},exports.FlowDelegateList=function(t){return e.request({url:"/api/workflow/Engine/FlowDelegate",method:"get",data:t})},exports.Update=function(t){return e.request({url:`/api/workflow/Engine/FlowDelegate/${t.id}`,method:"PUT",data:t})},exports.delegateGetflow=function(t){return e.request({url:"/api/workflow/Engine/FlowDelegate/getflow",method:"get",data:t})},exports.entrustStop=function(t){return e.request({url:`/api/workflow/Engine/FlowDelegate/Stop/${t}`,method:"put"})},exports.getUserListByFlowId=function(t){return e.request({url:"/api/workflow/Engine/FlowDelegate/userList",method:"get",data:t})};
"use strict";const e=require("../../utils/request.js");exports.Audit=function(o,t){return e.request({url:`/api/workflow/Engine/FlowBefore/Audit/${o}`,method:"post",data:t})},exports.CandidateUser=function(o,t){return e.request({url:`/api/workflow/Engine/FlowBefore/CandidateUser/${o}`,method:"post",data:t})},exports.Candidates=function(o,t){return e.request({url:`/api/workflow/Engine/FlowBefore/Candidates/${o}`,method:"post",data:t})},exports.FlowBeforeInfo=function(o,t){return e.request({url:`/api/workflow/Engine/FlowBefore/${o}`,method:"get",data:t})},exports.FlowBeforeList=function(o,t,r){return e.request({url:`/api/workflow/Engine/FlowBefore/List/${o}`,method:"get",data:t,options:{load:!1}})},exports.FreeApprover=function(o,t){return e.request({url:`/api/workflow/Engine/FlowBefore/freeApprover/${o}`,method:"post",data:t})},exports.Recall=function(o,t){return e.request({url:`/api/workflow/Engine/FlowBefore/Recall/${o}`,method:"post",data:t})},exports.Reject=function(o,t){return e.request({url:`/api/workflow/Engine/FlowBefore/Reject/${o}`,method:"post",data:t})},exports.RejectList=function(o){return e.request({url:`/api/workflow/Engine/FlowBefore/RejectList/${o}`,method:"get"})},exports.SaveAudit=function(o,t){return e.request({url:`/api/workflow/Engine/FlowBefore/SaveAudit/${o}`,method:"post",data:t})},exports.SubFlowInfo=function(o){return e.request({url:`/api/workflow/Engine/FlowBefore/SubFlowInfo/${o}`,method:"get"})},exports.Transfer=function(o,t){return e.request({url:`/api/workflow/Engine/FlowBefore/Transfer/${o}`,method:"post",data:t})},exports.cancel=function(o,t){return e.request({url:`/api/workflow/Engine/FlowBefore/Cancel/${o}`,method:"post",data:t})},exports.getRecordList=function(o,t){return e.request({url:`/api/workflow/Engine/FlowBefore/RecordList/${o}`,method:"get",data:t})},exports.getTaskUserList=function(o,t){return e.request({url:`/api/workflow/Engine/FlowBefore/TaskUserList/${o}`,method:"get",data:t})};
"use strict";const e=require("../../utils/request.js");exports.FlowEngineAll=function(t){return e.request({url:"/api/workflow/Engine/flowTemplate/getflowAll",method:"get",data:t})},exports.FlowEngineListAll=function(){return e.request({url:"/api/workflow/Engine/flowTemplate/ListAll",method:"get",options:{load:!1}})},exports.FlowEnginePageList=function(t){return e.request({url:"/api/workflow/Engine/flowTemplate/PageListAll",method:"get",data:t,options:{load:!1}})},exports.FlowJsonList=function(t,o){return e.request({url:`/api/workflow/Engine/flowTemplate/FlowJsonList/${t}`,method:"get",data:{type:o}})},exports.createComment=function(t){return e.request({url:"/api/workflow/Engine/FlowComment",method:"post",data:t})},exports.delComment=function(t){return e.request({url:`/api/workflow/Engine/FlowComment/${t}`,method:"delete"})},exports.flowForm=function(t){return e.request({url:`/api/flowForm/Form/${t}`,method:"get"})},exports.getCommentList=function(t){return e.request({url:"/api/workflow/Engine/FlowComment",method:"get",data:t})},exports.getFlowEngineListByIds=function(t){return e.request({url:"/api/workflow/Engine/flowTemplate/getflowList",method:"post",data:t})},exports.getFlowIdByCode=function(t){return e.request({url:`/api/workflow/Engine/flowTemplate/getFlowIdByCode/${t}`,method:"get"})},exports.getFlowTodoCount=function(t){return e.request({url:"/api/visualdev/Dashboard/FlowTodoCount",method:"post",data:t})};
"use strict";const e=require("../../utils/request.js");exports.Delete=function(t){return e.request({url:`/api/workflow/Engine/FlowLaunch/${t}`,method:"DELETE"})},exports.FlowLaunchList=function(t,o){return e.request({url:"/api/workflow/Engine/FlowLaunch",method:"get",data:t,options:{load:!1}})},exports.Press=function(t){return e.request({url:`/api/workflow/Engine/FlowLaunch/Press/${t}`,method:"post"})},exports.Revoke=function(t,o){return e.request({url:`/api/workflow/Engine/FlowLaunch/${t}/Actions/Withdraw`,method:"PUT",data:o})};
"use strict";const t=require("../../utils/request.js");exports.Create=function(e,o){return t.request({url:"/api/workflow/Engine/FlowTask",method:"post",data:o,options:{load:!0}})},exports.Update=function(e,o){return t.request({url:`/api/workflow/Engine/FlowTask/${o.id}`,method:"put",data:o})};
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./common/vendor.js");require("./libs/chat.js");const s=require("./api/common.js"),t=require("./api/message.js"),i=require("./store/modules/user.js"),o=require("./store/modules/chat.js"),r=require("./store/index.js"),n=require("./uni_modules/vk-uview-ui/index.js"),a=require("./utils/share.js"),p=require("./libs/permission.js"),d=require("./utils/define.js"),u=require("./utils/request.js"),l=require("./utils/jnpf.js");Math,i.useUserStore();const c=o.useChatStore();e.index.getStorageSync("token");const m={data:()=>({version:0,resVersion:0,modileSystem:"android",Apk:""}),onLaunch(){},methods:{getAppVersion(){s.getAppVersion().then((e=>{let s=e.data.sysVersion||"";const t=s.match(/(\d+\.\d+\.\d+)/);t&&t.length>0&&(this.Apk=`https://cdn.jnpfsoft.com/apk/Android-java-${t[0]}.apk`),s.trim(),this.version=Number(s.replace(/[^0-9]/gi,"")),this.$nextTick((()=>{this.onUpdate()}))})).catch((e=>{}))},onUpdate(){plus.runtime.getProperty(plus.runtime.appid,(s=>{let t=this.define.sysVersion;t.trim(),this.resVersion=Number(t.replace(/[^0-9]/gi,"")),this.version!=this.resVersion&&(e.index.setStorageSync("isUpdate",1),e.index.showModal({title:"立即更新版本",success:s=>{if(s.confirm){if(e.index.removeStorageSync("isUpdate"),"Android"===plus.os.name){if(!this.Apk)return this.$u.toast("下载链接为空");plus.runtime.openURL(this.Apk)}else plus.runtime.launchApplication({action:"itms-apps://itunes.apple.com/cn/app/idappleId自行配置"},(function(e){}))}else s.cancel&&("ios"==this.modileSystem?plus.ios.import("UIApplication").sharedApplication().performSelector("exit"):"android"==this.modileSystem&&plus.runtime.quit())}}))}))},toIm(s){c.reduceBadgeNum(0),e.index.navigateTo({url:"/pages/message/im/index?name="+s.realName+"/"+s.account+"&formUserId="+s.formUserId+"&headIcon="+s.headIcon})},toFlow(s){t.getMessageDetail(s).then((s=>{c.setMsgInfoNum();let i=s.data.bodyText?JSON.parse(s.data.bodyText):{},o={id:i.processId,enCode:i.enCode,flowId:i.flowId,formType:i.formType,opType:1==i.type?0:2==i.type?1:i.type,taskNodeId:i.taskNodeId,taskId:i.taskOperatorId,fullName:s.data.title,status:i.status};2==i.type?t.checkInfo(i.taskOperatorId).then((s=>{s.data&&s.data.isCheck&&(o.opType=3),setTimeout((()=>{e.index.navigateTo({url:"/pages/workFlow/flowBefore/index?config="+this.jnpf.base64.encode(JSON.stringify(o))})}),300)})).catch((e=>{})):e.index.navigateTo({url:"/pages/workFlow/flowBefore/index?config="+this.jnpf.base64.encode(JSON.stringify(o))})})).catch((e=>{}))},handlePush(){}}};function h(){const s=e.createSSRApp(m);return s.use(r.store),s.use(n.uView),s.mixin(a.share),s.config.globalProperties.$permission=p.permission,s.config.globalProperties.define=d.define,s.config.globalProperties.request=u.request,s.config.globalProperties.jnpf=l.jnpf,{app:s}}h().app.mount("#app"),exports.createApp=h;
{
"pages": [
"pages/launch/index",
"pages/login/index",
"pages/login/sso-redirect",
"pages/login/scanLogin",
"pages/login/otherLogin",
"pages/index/index",
"pages/index/message",
"pages/index/workFlow",
"pages/index/apply",
"pages/portal/schedule/detail",
"pages/portal/scanPortal/index",
"pages/index/my"
],
"subPackages": [
{
"root": "pages/message",
"pages": [
"contacts/index",
"userDetail/index",
"message/index",
"messageDetail/index",
"im/index"
]
},
{
"root": "pages/workFlow",
"pages": [
"flowBefore/index",
"flowBefore/subFlowForm",
"flowLaunch/index",
"flowTodo/index",
"flowDone/index",
"flowCopy/index",
"entrust/index",
"entrust/form",
"entrust/flow",
"filePreview/index",
"operate/index",
"scanForm/index",
"comment/index",
"allApp/index",
"candiDateUserSelect/index"
]
},
{
"root": "pages/apply",
"pages": [
"reportLog/index",
"reportLog/form",
"interPage/signInvokeList",
"order/index",
"popSelect/index",
"dynamicModel/index",
"dynamicModel/form",
"dynamicModel/detail",
"dynamicModel/scanForm",
"tableLinkage/index",
"location/index",
"customBtn/index",
"externalLink/index"
]
},
{
"root": "pages/my",
"pages": [
"settings/index",
"scanResult/index",
"modifyPsd/index",
"contactUs/index",
"abouts/index",
"accountSecurity/index",
"cancellation/index",
"personalData/index",
"business/index",
"subordinate/index"
]
}
],
"usingComponents": {
"ly-tree-node": "/components/ly-tree/ly-tree-node"
},
"window": {
"navigationBarTitleText": "智慧党建",
"navigationBarTextStyle": "black",
"navigationBarBackgroundColor": "#ffffff",
"backgroundColor": "#f0f2f6"
},
"tabBar": {
"color": "#ffffff",
"selectedColor": "#ffaa00",
"backgroundColor": "#c5101b",
"list": [
{
"pagePath": "pages/index/index",
"text": "首页",
"iconPath": "static/image/tabbar/home.png",
"selectedIconPath": "static/image/tabbar/homeHL.png"
},
{
"pagePath": "pages/index/workFlow",
"text": "协同",
"iconPath": "static/image/tabbar/workFlow.png",
"selectedIconPath": "static/image/tabbar/workFlowHL.png"
},
{
"pagePath": "pages/index/apply",
"text": "工作台",
"iconPath": "static/image/tabbar/apply.png",
"selectedIconPath": "static/image/tabbar/applyHL.png"
},
{
"pagePath": "pages/index/message",
"text": "消息",
"iconPath": "static/image/tabbar/message.png",
"selectedIconPath": "static/image/tabbar/messageHL.png"
},
{
"pagePath": "pages/index/my",
"text": "我的",
"iconPath": "static/image/tabbar/my.png",
"selectedIconPath": "static/image/tabbar/myHL.png"
}
]
},
"preloadRule": {
"pages/index/message": {
"network": "all",
"packages": [
"pages/message"
]
},
"pages/index/workFlow": {
"network": "all",
"packages": [
"pages/workFlow"
]
},
"pages/index/apply": {
"network": "all",
"packages": [
"pages/apply"
]
},
"pages/index/my": {
"network": "all",
"packages": [
"pages/my"
]
}
},
"permission": {
"scope.userLocation": {
"desc": "你的位置信息将用于小程序位置接口的效果展示"
}
},
"requiredPrivateInfos": [
"getLocation",
"chooseLocation"
]
}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
"use strict";const e=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/100.65b4c415.gif"},Symbol.toStringTag,{value:"Module"})),t=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/101.848b1651.gif"},Symbol.toStringTag,{value:"Module"})),_=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/102.0a03c90a.gif"},Symbol.toStringTag,{value:"Module"})),o=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/103.209588b1.gif"},Symbol.toStringTag,{value:"Module"})),l=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/104.f9144919.gif"},Symbol.toStringTag,{value:"Module"})),r=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/105.c7c302d3.gif"},Symbol.toStringTag,{value:"Module"})),a=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/106.322fbed0.gif"},Symbol.toStringTag,{value:"Module"})),b=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/107.d8af4a14.gif"},Symbol.toStringTag,{value:"Module"})),f=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/108.5913ef7b.gif"},Symbol.toStringTag,{value:"Module"})),s=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/109.861017b7.gif"},Symbol.toStringTag,{value:"Module"})),g=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/110.8eced44f.gif"},Symbol.toStringTag,{value:"Module"})),u=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/111.80c16c75.gif"},Symbol.toStringTag,{value:"Module"})),i=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/112.be42bd31.gif"},Symbol.toStringTag,{value:"Module"})),d=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/113.402753f4.gif"},Symbol.toStringTag,{value:"Module"})),p=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/114.6960b5db.gif"},Symbol.toStringTag,{value:"Module"})),n=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/115.86feecb1.gif"},Symbol.toStringTag,{value:"Module"})),c=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/116.8b0d9453.gif"},Symbol.toStringTag,{value:"Module"})),j=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/117.4f0d1782.gif"},Symbol.toStringTag,{value:"Module"})),v=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/118.bcd10991.gif"},Symbol.toStringTag,{value:"Module"})),y=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/119.41867a64.gif"},Symbol.toStringTag,{value:"Module"})),O=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/120.1ca30d96.gif"},Symbol.toStringTag,{value:"Module"})),S=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/121.fd7447c9.gif"},Symbol.toStringTag,{value:"Module"})),m=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/122.45335191.gif"},Symbol.toStringTag,{value:"Module"})),x=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/123.fd2b5f59.gif"},Symbol.toStringTag,{value:"Module"})),P=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/124.80e98c6f.gif"},Symbol.toStringTag,{value:"Module"})),z=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/125.08d62a48.gif"},Symbol.toStringTag,{value:"Module"})),M=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/126.20593491.gif"},Symbol.toStringTag,{value:"Module"})),T=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/127.ea06d62c.gif"},Symbol.toStringTag,{value:"Module"})),$=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/128.21de1f7c.gif"},Symbol.toStringTag,{value:"Module"})),I=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/129.6e956f69.gif"},Symbol.toStringTag,{value:"Module"})),k=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/130.c091d116.gif"},Symbol.toStringTag,{value:"Module"})),w=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/131.290eb227.gif"},Symbol.toStringTag,{value:"Module"})),H=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/132.c44492d4.gif"},Symbol.toStringTag,{value:"Module"})),L=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/133.2faf04cd.gif"},Symbol.toStringTag,{value:"Module"})),h=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/134.225cfa12.gif"},Symbol.toStringTag,{value:"Module"})),q=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/135.734531a4.gif"},Symbol.toStringTag,{value:"Module"})),A=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/136.b38ce64c.gif"},Symbol.toStringTag,{value:"Module"})),B=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/137.ced121f6.gif"},Symbol.toStringTag,{value:"Module"})),C=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/138.4d41f077.gif"},Symbol.toStringTag,{value:"Module"})),D=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/139.565bc725.gif"},Symbol.toStringTag,{value:"Module"})),E=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/140.c3613f82.gif"},Symbol.toStringTag,{value:"Module"})),F=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/141.6c54bbc6.gif"},Symbol.toStringTag,{value:"Module"})),G=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/142.d5de0f63.gif"},Symbol.toStringTag,{value:"Module"})),J=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/143.68159699.gif"},Symbol.toStringTag,{value:"Module"})),K=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/144.61a74762.gif"},Symbol.toStringTag,{value:"Module"})),N=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/145.67b1c653.gif"},Symbol.toStringTag,{value:"Module"})),Q=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/146.b6db5bd6.gif"},Symbol.toStringTag,{value:"Module"})),R=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/147.56fc0460.gif"},Symbol.toStringTag,{value:"Module"})),U=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/148.dfc37462.gif"},Symbol.toStringTag,{value:"Module"})),V=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/149.9661c930.gif"},Symbol.toStringTag,{value:"Module"})),W=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/150.42a345c0.gif"},Symbol.toStringTag,{value:"Module"})),X=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/151.f5a490d3.gif"},Symbol.toStringTag,{value:"Module"})),Y=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/152.1a61dc3f.gif"},Symbol.toStringTag,{value:"Module"})),Z=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/153.438c0693.gif"},Symbol.toStringTag,{value:"Module"})),ee=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/154.ba070edb.gif"},Symbol.toStringTag,{value:"Module"})),te=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/155.07ecbb3c.gif"},Symbol.toStringTag,{value:"Module"})),_e=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/156.1cee69ca.gif"},Symbol.toStringTag,{value:"Module"})),oe=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/157.e7884953.gif"},Symbol.toStringTag,{value:"Module"})),le=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/158.4a60e800.gif"},Symbol.toStringTag,{value:"Module"})),re=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/159.298428b5.gif"},Symbol.toStringTag,{value:"Module"})),ae=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/160.24fa08c1.gif"},Symbol.toStringTag,{value:"Module"})),be=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/161.c7b12794.gif"},Symbol.toStringTag,{value:"Module"})),fe=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/162.03a4ca1a.gif"},Symbol.toStringTag,{value:"Module"})),se=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/163.64ff911c.gif"},Symbol.toStringTag,{value:"Module"})),ge=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/164.340ae45c.gif"},Symbol.toStringTag,{value:"Module"})),ue=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/165.0b367370.gif"},Symbol.toStringTag,{value:"Module"})),ie=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/166.afd2b6f0.gif"},Symbol.toStringTag,{value:"Module"})),de=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/167.c30cc761.gif"},Symbol.toStringTag,{value:"Module"})),pe=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/168.1e4f29bf.gif"},Symbol.toStringTag,{value:"Module"})),ne=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/169.4a4e5fd1.gif"},Symbol.toStringTag,{value:"Module"})),ce=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/170.c20acd37.gif"},Symbol.toStringTag,{value:"Module"})),je=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/171.c9cf5ecf.gif"},Symbol.toStringTag,{value:"Module"})),ve=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/172.52812cfd.gif"},Symbol.toStringTag,{value:"Module"})),ye=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/173.3768ab09.gif"},Symbol.toStringTag,{value:"Module"})),Oe=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/174.517dd204.gif"},Symbol.toStringTag,{value:"Module"})),Se=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/175.0257877a.gif"},Symbol.toStringTag,{value:"Module"})),me=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/176.8916fa4e.gif"},Symbol.toStringTag,{value:"Module"})),xe=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/177.a50e034e.gif"},Symbol.toStringTag,{value:"Module"})),Pe=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/178.ea8c321f.gif"},Symbol.toStringTag,{value:"Module"})),ze=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/179.af3c397a.gif"},Symbol.toStringTag,{value:"Module"})),Me=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/180.e18bb8e7.gif"},Symbol.toStringTag,{value:"Module"})),Te=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/181.f67a509d.gif"},Symbol.toStringTag,{value:"Module"})),$e=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/182.6163d2cd.gif"},Symbol.toStringTag,{value:"Module"})),Ie=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/183.f37fcb1b.gif"},Symbol.toStringTag,{value:"Module"})),ke=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/184.d6410c93.gif"},Symbol.toStringTag,{value:"Module"})),we=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/185.8d226187.gif"},Symbol.toStringTag,{value:"Module"})),He=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/186.93374f44.gif"},Symbol.toStringTag,{value:"Module"})),Le=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/187.fbb1a162.gif"},Symbol.toStringTag,{value:"Module"})),he=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/188.3073aa4b.gif"},Symbol.toStringTag,{value:"Module"})),qe=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/189.e1d5878b.gif"},Symbol.toStringTag,{value:"Module"})),Ae=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/190.d5feaf79.gif"},Symbol.toStringTag,{value:"Module"})),Be=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/191.15635408.gif"},Symbol.toStringTag,{value:"Module"})),Ce=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/192.019a3853.gif"},Symbol.toStringTag,{value:"Module"})),De=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/193.2466b5dc.gif"},Symbol.toStringTag,{value:"Module"})),Ee=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/194.00c54bbe.gif"},Symbol.toStringTag,{value:"Module"})),Fe=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/195.56d6575d.gif"},Symbol.toStringTag,{value:"Module"})),Ge=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/196.8ebab5e3.gif"},Symbol.toStringTag,{value:"Module"})),Je=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/197.7b8aa33d.gif"},Symbol.toStringTag,{value:"Module"})),Ke=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/198.1d079be3.gif"},Symbol.toStringTag,{value:"Module"})),Ne=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/199.776df4fd.gif"},Symbol.toStringTag,{value:"Module"})),Qe=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/200.f905fc5d.png"},Symbol.toStringTag,{value:"Module"})),Re=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/201.3719916b.png"},Symbol.toStringTag,{value:"Module"})),Ue=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/202.6adf63e5.png"},Symbol.toStringTag,{value:"Module"})),Ve=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/203.fbc6ccff.png"},Symbol.toStringTag,{value:"Module"})),We=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/204.cfa57117.png"},Symbol.toStringTag,{value:"Module"})),Xe=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/205.a87cc1a6.png"},Symbol.toStringTag,{value:"Module"})),Ye=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/206.d640e4d7.png"},Symbol.toStringTag,{value:"Module"})),Ze=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/207.1245d14c.png"},Symbol.toStringTag,{value:"Module"})),et=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/208.c0b59a2f.png"},Symbol.toStringTag,{value:"Module"})),tt=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/209.92c6c270.png"},Symbol.toStringTag,{value:"Module"})),_t=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/210.4614d266.png"},Symbol.toStringTag,{value:"Module"})),ot=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/211.57e0f861.png"},Symbol.toStringTag,{value:"Module"})),lt=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/212.ca33b328.png"},Symbol.toStringTag,{value:"Module"})),rt=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/213.abde0dbe.png"},Symbol.toStringTag,{value:"Module"})),at=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/214.9cae9b87.png"},Symbol.toStringTag,{value:"Module"})),bt=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/215.416354c8.png"},Symbol.toStringTag,{value:"Module"})),ft=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/216.61050e9d.png"},Symbol.toStringTag,{value:"Module"})),st=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/217.815e094e.png"},Symbol.toStringTag,{value:"Module"})),gt=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/218.3392fdac.png"},Symbol.toStringTag,{value:"Module"})),ut=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/219.c531aa2b.png"},Symbol.toStringTag,{value:"Module"})),it=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/100.65b4c415.gif"},Symbol.toStringTag,{value:"Module"})),dt=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/101.848b1651.gif"},Symbol.toStringTag,{value:"Module"})),pt=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/102.0a03c90a.gif"},Symbol.toStringTag,{value:"Module"})),nt=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/103.209588b1.gif"},Symbol.toStringTag,{value:"Module"})),ct=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/104.f9144919.gif"},Symbol.toStringTag,{value:"Module"})),jt=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/105.c7c302d3.gif"},Symbol.toStringTag,{value:"Module"})),vt=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/106.322fbed0.gif"},Symbol.toStringTag,{value:"Module"})),yt=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/107.d8af4a14.gif"},Symbol.toStringTag,{value:"Module"})),Ot=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/108.5913ef7b.gif"},Symbol.toStringTag,{value:"Module"})),St=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/109.861017b7.gif"},Symbol.toStringTag,{value:"Module"})),mt=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/110.8eced44f.gif"},Symbol.toStringTag,{value:"Module"})),xt=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/111.80c16c75.gif"},Symbol.toStringTag,{value:"Module"})),Pt=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/112.be42bd31.gif"},Symbol.toStringTag,{value:"Module"})),zt=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/113.402753f4.gif"},Symbol.toStringTag,{value:"Module"})),Mt=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/114.6960b5db.gif"},Symbol.toStringTag,{value:"Module"})),Tt=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/115.86feecb1.gif"},Symbol.toStringTag,{value:"Module"})),$t=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/116.8b0d9453.gif"},Symbol.toStringTag,{value:"Module"})),It=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/117.4f0d1782.gif"},Symbol.toStringTag,{value:"Module"})),kt=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/118.bcd10991.gif"},Symbol.toStringTag,{value:"Module"})),wt=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/119.41867a64.gif"},Symbol.toStringTag,{value:"Module"})),Ht=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/120.1ca30d96.gif"},Symbol.toStringTag,{value:"Module"})),Lt=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/121.fd7447c9.gif"},Symbol.toStringTag,{value:"Module"})),ht=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/122.45335191.gif"},Symbol.toStringTag,{value:"Module"})),qt=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/123.fd2b5f59.gif"},Symbol.toStringTag,{value:"Module"})),At=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/124.80e98c6f.gif"},Symbol.toStringTag,{value:"Module"})),Bt=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/125.08d62a48.gif"},Symbol.toStringTag,{value:"Module"})),Ct=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/126.20593491.gif"},Symbol.toStringTag,{value:"Module"})),Dt=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/127.ea06d62c.gif"},Symbol.toStringTag,{value:"Module"})),Et=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/128.21de1f7c.gif"},Symbol.toStringTag,{value:"Module"})),Ft=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/129.6e956f69.gif"},Symbol.toStringTag,{value:"Module"})),Gt=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/130.c091d116.gif"},Symbol.toStringTag,{value:"Module"})),Jt=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/131.290eb227.gif"},Symbol.toStringTag,{value:"Module"})),Kt=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/132.c44492d4.gif"},Symbol.toStringTag,{value:"Module"})),Nt=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/133.2faf04cd.gif"},Symbol.toStringTag,{value:"Module"})),Qt=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/134.225cfa12.gif"},Symbol.toStringTag,{value:"Module"})),Rt=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/135.734531a4.gif"},Symbol.toStringTag,{value:"Module"})),Ut=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/136.b38ce64c.gif"},Symbol.toStringTag,{value:"Module"})),Vt=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/137.ced121f6.gif"},Symbol.toStringTag,{value:"Module"})),Wt=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/138.4d41f077.gif"},Symbol.toStringTag,{value:"Module"})),Xt=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/139.565bc725.gif"},Symbol.toStringTag,{value:"Module"})),Yt=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/140.c3613f82.gif"},Symbol.toStringTag,{value:"Module"})),Zt=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/141.6c54bbc6.gif"},Symbol.toStringTag,{value:"Module"})),e_=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/142.d5de0f63.gif"},Symbol.toStringTag,{value:"Module"})),t_=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/143.68159699.gif"},Symbol.toStringTag,{value:"Module"})),__=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/144.61a74762.gif"},Symbol.toStringTag,{value:"Module"})),o_=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/145.67b1c653.gif"},Symbol.toStringTag,{value:"Module"})),l_=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/146.b6db5bd6.gif"},Symbol.toStringTag,{value:"Module"})),r_=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/147.56fc0460.gif"},Symbol.toStringTag,{value:"Module"})),a_=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/148.dfc37462.gif"},Symbol.toStringTag,{value:"Module"})),b_=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/149.9661c930.gif"},Symbol.toStringTag,{value:"Module"})),f_=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/150.42a345c0.gif"},Symbol.toStringTag,{value:"Module"})),s_=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/151.f5a490d3.gif"},Symbol.toStringTag,{value:"Module"})),g_=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/152.1a61dc3f.gif"},Symbol.toStringTag,{value:"Module"})),u_=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/153.438c0693.gif"},Symbol.toStringTag,{value:"Module"})),i_=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/154.ba070edb.gif"},Symbol.toStringTag,{value:"Module"})),d_=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/155.07ecbb3c.gif"},Symbol.toStringTag,{value:"Module"})),p_=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/156.1cee69ca.gif"},Symbol.toStringTag,{value:"Module"})),n_=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/157.e7884953.gif"},Symbol.toStringTag,{value:"Module"})),c_=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/158.4a60e800.gif"},Symbol.toStringTag,{value:"Module"})),j_=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/159.298428b5.gif"},Symbol.toStringTag,{value:"Module"})),v_=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/160.24fa08c1.gif"},Symbol.toStringTag,{value:"Module"})),y_=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/161.c7b12794.gif"},Symbol.toStringTag,{value:"Module"})),O_=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/162.03a4ca1a.gif"},Symbol.toStringTag,{value:"Module"})),S_=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/163.64ff911c.gif"},Symbol.toStringTag,{value:"Module"})),m_=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/164.340ae45c.gif"},Symbol.toStringTag,{value:"Module"})),x_=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/165.0b367370.gif"},Symbol.toStringTag,{value:"Module"})),P_=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/166.afd2b6f0.gif"},Symbol.toStringTag,{value:"Module"})),z_=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/167.c30cc761.gif"},Symbol.toStringTag,{value:"Module"})),M_=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/168.1e4f29bf.gif"},Symbol.toStringTag,{value:"Module"})),T_=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/169.4a4e5fd1.gif"},Symbol.toStringTag,{value:"Module"})),$_=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/170.c20acd37.gif"},Symbol.toStringTag,{value:"Module"})),I_=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/171.c9cf5ecf.gif"},Symbol.toStringTag,{value:"Module"})),k_=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/172.52812cfd.gif"},Symbol.toStringTag,{value:"Module"})),w_=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/173.3768ab09.gif"},Symbol.toStringTag,{value:"Module"})),H_=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/174.517dd204.gif"},Symbol.toStringTag,{value:"Module"})),L_=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/175.0257877a.gif"},Symbol.toStringTag,{value:"Module"})),h_=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/176.8916fa4e.gif"},Symbol.toStringTag,{value:"Module"})),q_=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/177.a50e034e.gif"},Symbol.toStringTag,{value:"Module"})),A_=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/178.ea8c321f.gif"},Symbol.toStringTag,{value:"Module"})),B_=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/179.af3c397a.gif"},Symbol.toStringTag,{value:"Module"})),C_=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/180.e18bb8e7.gif"},Symbol.toStringTag,{value:"Module"})),D_=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/181.f67a509d.gif"},Symbol.toStringTag,{value:"Module"})),E_=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/182.6163d2cd.gif"},Symbol.toStringTag,{value:"Module"})),F_=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/183.f37fcb1b.gif"},Symbol.toStringTag,{value:"Module"})),G_=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/184.d6410c93.gif"},Symbol.toStringTag,{value:"Module"})),J_=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/185.8d226187.gif"},Symbol.toStringTag,{value:"Module"})),K_=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/186.93374f44.gif"},Symbol.toStringTag,{value:"Module"})),N_=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/187.fbb1a162.gif"},Symbol.toStringTag,{value:"Module"})),Q_=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/188.3073aa4b.gif"},Symbol.toStringTag,{value:"Module"})),R_=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/189.e1d5878b.gif"},Symbol.toStringTag,{value:"Module"})),U_=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/190.d5feaf79.gif"},Symbol.toStringTag,{value:"Module"})),V_=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/191.15635408.gif"},Symbol.toStringTag,{value:"Module"})),W_=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/192.019a3853.gif"},Symbol.toStringTag,{value:"Module"})),X_=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/193.2466b5dc.gif"},Symbol.toStringTag,{value:"Module"})),Y_=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/194.00c54bbe.gif"},Symbol.toStringTag,{value:"Module"})),Z_=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/195.56d6575d.gif"},Symbol.toStringTag,{value:"Module"})),eo=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/196.8ebab5e3.gif"},Symbol.toStringTag,{value:"Module"})),to=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/197.7b8aa33d.gif"},Symbol.toStringTag,{value:"Module"})),_o=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/198.1d079be3.gif"},Symbol.toStringTag,{value:"Module"})),oo=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/199.776df4fd.gif"},Symbol.toStringTag,{value:"Module"})),lo=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/200.f905fc5d.png"},Symbol.toStringTag,{value:"Module"})),ro=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/201.3719916b.png"},Symbol.toStringTag,{value:"Module"})),ao=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/202.6adf63e5.png"},Symbol.toStringTag,{value:"Module"})),bo=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/203.fbc6ccff.png"},Symbol.toStringTag,{value:"Module"})),fo=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/204.cfa57117.png"},Symbol.toStringTag,{value:"Module"})),so=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/205.a87cc1a6.png"},Symbol.toStringTag,{value:"Module"})),go=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/206.d640e4d7.png"},Symbol.toStringTag,{value:"Module"})),uo=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/207.1245d14c.png"},Symbol.toStringTag,{value:"Module"})),io=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/208.c0b59a2f.png"},Symbol.toStringTag,{value:"Module"})),po=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/209.92c6c270.png"},Symbol.toStringTag,{value:"Module"})),no=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/210.4614d266.png"},Symbol.toStringTag,{value:"Module"})),co=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/211.57e0f861.png"},Symbol.toStringTag,{value:"Module"})),jo=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/212.ca33b328.png"},Symbol.toStringTag,{value:"Module"})),vo=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/213.abde0dbe.png"},Symbol.toStringTag,{value:"Module"})),yo=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/214.9cae9b87.png"},Symbol.toStringTag,{value:"Module"})),Oo=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/215.416354c8.png"},Symbol.toStringTag,{value:"Module"})),So=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/216.61050e9d.png"},Symbol.toStringTag,{value:"Module"})),mo=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/217.815e094e.png"},Symbol.toStringTag,{value:"Module"})),xo=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/218.3392fdac.png"},Symbol.toStringTag,{value:"Module"})),Po=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/219.c531aa2b.png"},Symbol.toStringTag,{value:"Module"})),zo=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/100.65b4c415.gif"},Symbol.toStringTag,{value:"Module"})),Mo=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/101.848b1651.gif"},Symbol.toStringTag,{value:"Module"})),To=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/102.0a03c90a.gif"},Symbol.toStringTag,{value:"Module"})),$o=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/103.209588b1.gif"},Symbol.toStringTag,{value:"Module"})),Io=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/104.f9144919.gif"},Symbol.toStringTag,{value:"Module"})),ko=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/105.c7c302d3.gif"},Symbol.toStringTag,{value:"Module"})),wo=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/106.322fbed0.gif"},Symbol.toStringTag,{value:"Module"})),Ho=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/107.d8af4a14.gif"},Symbol.toStringTag,{value:"Module"})),Lo=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/108.5913ef7b.gif"},Symbol.toStringTag,{value:"Module"})),ho=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/109.861017b7.gif"},Symbol.toStringTag,{value:"Module"})),qo=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/110.8eced44f.gif"},Symbol.toStringTag,{value:"Module"})),Ao=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/111.80c16c75.gif"},Symbol.toStringTag,{value:"Module"})),Bo=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/112.be42bd31.gif"},Symbol.toStringTag,{value:"Module"})),Co=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/113.402753f4.gif"},Symbol.toStringTag,{value:"Module"})),Do=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/114.6960b5db.gif"},Symbol.toStringTag,{value:"Module"})),Eo=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/115.86feecb1.gif"},Symbol.toStringTag,{value:"Module"})),Fo=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/116.8b0d9453.gif"},Symbol.toStringTag,{value:"Module"})),Go=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/117.4f0d1782.gif"},Symbol.toStringTag,{value:"Module"})),Jo=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/118.bcd10991.gif"},Symbol.toStringTag,{value:"Module"})),Ko=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/119.41867a64.gif"},Symbol.toStringTag,{value:"Module"})),No=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/120.1ca30d96.gif"},Symbol.toStringTag,{value:"Module"})),Qo=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/121.fd7447c9.gif"},Symbol.toStringTag,{value:"Module"})),Ro=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/122.45335191.gif"},Symbol.toStringTag,{value:"Module"})),Uo=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/123.fd2b5f59.gif"},Symbol.toStringTag,{value:"Module"})),Vo=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/124.80e98c6f.gif"},Symbol.toStringTag,{value:"Module"})),Wo=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/125.08d62a48.gif"},Symbol.toStringTag,{value:"Module"})),Xo=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/126.20593491.gif"},Symbol.toStringTag,{value:"Module"})),Yo=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/127.ea06d62c.gif"},Symbol.toStringTag,{value:"Module"})),Zo=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/128.21de1f7c.gif"},Symbol.toStringTag,{value:"Module"})),el=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/129.6e956f69.gif"},Symbol.toStringTag,{value:"Module"})),tl=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/130.c091d116.gif"},Symbol.toStringTag,{value:"Module"})),_l=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/131.290eb227.gif"},Symbol.toStringTag,{value:"Module"})),ol=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/132.c44492d4.gif"},Symbol.toStringTag,{value:"Module"})),ll=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/133.2faf04cd.gif"},Symbol.toStringTag,{value:"Module"})),rl=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/134.225cfa12.gif"},Symbol.toStringTag,{value:"Module"})),al=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/135.734531a4.gif"},Symbol.toStringTag,{value:"Module"})),bl=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/136.b38ce64c.gif"},Symbol.toStringTag,{value:"Module"})),fl=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/137.ced121f6.gif"},Symbol.toStringTag,{value:"Module"})),sl=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/138.4d41f077.gif"},Symbol.toStringTag,{value:"Module"})),gl=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/139.565bc725.gif"},Symbol.toStringTag,{value:"Module"})),ul=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/140.c3613f82.gif"},Symbol.toStringTag,{value:"Module"})),il=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/141.6c54bbc6.gif"},Symbol.toStringTag,{value:"Module"})),dl=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/142.d5de0f63.gif"},Symbol.toStringTag,{value:"Module"})),pl=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/143.68159699.gif"},Symbol.toStringTag,{value:"Module"})),nl=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/144.61a74762.gif"},Symbol.toStringTag,{value:"Module"})),cl=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/145.67b1c653.gif"},Symbol.toStringTag,{value:"Module"})),jl=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/146.b6db5bd6.gif"},Symbol.toStringTag,{value:"Module"})),vl=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/147.56fc0460.gif"},Symbol.toStringTag,{value:"Module"})),yl=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/148.dfc37462.gif"},Symbol.toStringTag,{value:"Module"})),Ol=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/149.9661c930.gif"},Symbol.toStringTag,{value:"Module"})),Sl=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/150.42a345c0.gif"},Symbol.toStringTag,{value:"Module"})),ml=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/151.f5a490d3.gif"},Symbol.toStringTag,{value:"Module"})),xl=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/152.1a61dc3f.gif"},Symbol.toStringTag,{value:"Module"})),Pl=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/153.438c0693.gif"},Symbol.toStringTag,{value:"Module"})),zl=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/154.ba070edb.gif"},Symbol.toStringTag,{value:"Module"})),Ml=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/155.07ecbb3c.gif"},Symbol.toStringTag,{value:"Module"})),Tl=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/156.1cee69ca.gif"},Symbol.toStringTag,{value:"Module"})),$l=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/157.e7884953.gif"},Symbol.toStringTag,{value:"Module"})),Il=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/158.4a60e800.gif"},Symbol.toStringTag,{value:"Module"})),kl=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/159.298428b5.gif"},Symbol.toStringTag,{value:"Module"})),wl=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/160.24fa08c1.gif"},Symbol.toStringTag,{value:"Module"})),Hl=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/161.c7b12794.gif"},Symbol.toStringTag,{value:"Module"})),Ll=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/162.03a4ca1a.gif"},Symbol.toStringTag,{value:"Module"})),hl=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/163.64ff911c.gif"},Symbol.toStringTag,{value:"Module"})),ql=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/164.340ae45c.gif"},Symbol.toStringTag,{value:"Module"})),Al=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/165.0b367370.gif"},Symbol.toStringTag,{value:"Module"})),Bl=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/166.afd2b6f0.gif"},Symbol.toStringTag,{value:"Module"})),Cl=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/167.c30cc761.gif"},Symbol.toStringTag,{value:"Module"})),Dl=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/168.1e4f29bf.gif"},Symbol.toStringTag,{value:"Module"})),El=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/169.4a4e5fd1.gif"},Symbol.toStringTag,{value:"Module"})),Fl=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/170.c20acd37.gif"},Symbol.toStringTag,{value:"Module"})),Gl=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/171.c9cf5ecf.gif"},Symbol.toStringTag,{value:"Module"})),Jl=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/172.52812cfd.gif"},Symbol.toStringTag,{value:"Module"})),Kl=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/173.3768ab09.gif"},Symbol.toStringTag,{value:"Module"})),Nl=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/174.517dd204.gif"},Symbol.toStringTag,{value:"Module"})),Ql=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/175.0257877a.gif"},Symbol.toStringTag,{value:"Module"})),Rl=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/176.8916fa4e.gif"},Symbol.toStringTag,{value:"Module"})),Ul=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/177.a50e034e.gif"},Symbol.toStringTag,{value:"Module"})),Vl=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/178.ea8c321f.gif"},Symbol.toStringTag,{value:"Module"})),Wl=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/179.af3c397a.gif"},Symbol.toStringTag,{value:"Module"})),Xl=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/180.e18bb8e7.gif"},Symbol.toStringTag,{value:"Module"})),Yl=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/181.f67a509d.gif"},Symbol.toStringTag,{value:"Module"})),Zl=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/182.6163d2cd.gif"},Symbol.toStringTag,{value:"Module"})),er=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/183.f37fcb1b.gif"},Symbol.toStringTag,{value:"Module"})),tr=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/184.d6410c93.gif"},Symbol.toStringTag,{value:"Module"})),_r=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/185.8d226187.gif"},Symbol.toStringTag,{value:"Module"})),or=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/186.93374f44.gif"},Symbol.toStringTag,{value:"Module"})),lr=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/187.fbb1a162.gif"},Symbol.toStringTag,{value:"Module"})),rr=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/188.3073aa4b.gif"},Symbol.toStringTag,{value:"Module"})),ar=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/189.e1d5878b.gif"},Symbol.toStringTag,{value:"Module"})),br=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/190.d5feaf79.gif"},Symbol.toStringTag,{value:"Module"})),fr=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/191.15635408.gif"},Symbol.toStringTag,{value:"Module"})),sr=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/192.019a3853.gif"},Symbol.toStringTag,{value:"Module"})),gr=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/193.2466b5dc.gif"},Symbol.toStringTag,{value:"Module"})),ur=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/194.00c54bbe.gif"},Symbol.toStringTag,{value:"Module"})),ir=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/195.56d6575d.gif"},Symbol.toStringTag,{value:"Module"})),dr=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/196.8ebab5e3.gif"},Symbol.toStringTag,{value:"Module"})),pr=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/197.7b8aa33d.gif"},Symbol.toStringTag,{value:"Module"})),nr=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/198.1d079be3.gif"},Symbol.toStringTag,{value:"Module"})),cr=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/199.776df4fd.gif"},Symbol.toStringTag,{value:"Module"})),jr=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/200.f905fc5d.png"},Symbol.toStringTag,{value:"Module"})),vr=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/201.3719916b.png"},Symbol.toStringTag,{value:"Module"})),yr=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/202.6adf63e5.png"},Symbol.toStringTag,{value:"Module"})),Or=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/203.fbc6ccff.png"},Symbol.toStringTag,{value:"Module"})),Sr=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/204.cfa57117.png"},Symbol.toStringTag,{value:"Module"})),mr=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/205.a87cc1a6.png"},Symbol.toStringTag,{value:"Module"})),xr=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/206.d640e4d7.png"},Symbol.toStringTag,{value:"Module"})),Pr=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/207.1245d14c.png"},Symbol.toStringTag,{value:"Module"})),zr=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/208.c0b59a2f.png"},Symbol.toStringTag,{value:"Module"})),Mr=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/209.92c6c270.png"},Symbol.toStringTag,{value:"Module"})),Tr=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/210.4614d266.png"},Symbol.toStringTag,{value:"Module"})),$r=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/211.57e0f861.png"},Symbol.toStringTag,{value:"Module"})),Ir=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/212.ca33b328.png"},Symbol.toStringTag,{value:"Module"})),kr=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/213.abde0dbe.png"},Symbol.toStringTag,{value:"Module"})),wr=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/214.9cae9b87.png"},Symbol.toStringTag,{value:"Module"})),Hr=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/215.416354c8.png"},Symbol.toStringTag,{value:"Module"})),Lr=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/216.61050e9d.png"},Symbol.toStringTag,{value:"Module"})),hr=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/217.815e094e.png"},Symbol.toStringTag,{value:"Module"})),qr=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/218.3392fdac.png"},Symbol.toStringTag,{value:"Module"})),Ar=Object.freeze(Object.defineProperty({__proto__:null,default:"/assets/219.c531aa2b.png"},Symbol.toStringTag,{value:"Module"}));exports.__vite_glob_0_0=e,exports.__vite_glob_0_0$1=zo,exports.__vite_glob_0_0$2=it,exports.__vite_glob_0_1=t,exports.__vite_glob_0_1$1=Mo,exports.__vite_glob_0_1$2=dt,exports.__vite_glob_0_10=g,exports.__vite_glob_0_10$1=qo,exports.__vite_glob_0_10$2=mt,exports.__vite_glob_0_100=Qe,exports.__vite_glob_0_100$1=jr,exports.__vite_glob_0_100$2=lo,exports.__vite_glob_0_101=Re,exports.__vite_glob_0_101$1=vr,exports.__vite_glob_0_101$2=ro,exports.__vite_glob_0_102=Ue,exports.__vite_glob_0_102$1=yr,exports.__vite_glob_0_102$2=ao,exports.__vite_glob_0_103=Ve,exports.__vite_glob_0_103$1=Or,exports.__vite_glob_0_103$2=bo,exports.__vite_glob_0_104=We,exports.__vite_glob_0_104$1=Sr,exports.__vite_glob_0_104$2=fo,exports.__vite_glob_0_105=Xe,exports.__vite_glob_0_105$1=mr,exports.__vite_glob_0_105$2=so,exports.__vite_glob_0_106=Ye,exports.__vite_glob_0_106$1=xr,exports.__vite_glob_0_106$2=go,exports.__vite_glob_0_107=Ze,exports.__vite_glob_0_107$1=Pr,exports.__vite_glob_0_107$2=uo,exports.__vite_glob_0_108=et,exports.__vite_glob_0_108$1=zr,exports.__vite_glob_0_108$2=io,exports.__vite_glob_0_109=tt,exports.__vite_glob_0_109$1=Mr,exports.__vite_glob_0_109$2=po,exports.__vite_glob_0_11=u,exports.__vite_glob_0_11$1=Ao,exports.__vite_glob_0_11$2=xt,exports.__vite_glob_0_110=_t,exports.__vite_glob_0_110$1=Tr,exports.__vite_glob_0_110$2=no,exports.__vite_glob_0_111=ot,exports.__vite_glob_0_111$1=$r,exports.__vite_glob_0_111$2=co,exports.__vite_glob_0_112=lt,exports.__vite_glob_0_112$1=Ir,exports.__vite_glob_0_112$2=jo,exports.__vite_glob_0_113=rt,exports.__vite_glob_0_113$1=kr,exports.__vite_glob_0_113$2=vo,exports.__vite_glob_0_114=at,exports.__vite_glob_0_114$1=wr,exports.__vite_glob_0_114$2=yo,exports.__vite_glob_0_115=bt,exports.__vite_glob_0_115$1=Hr,exports.__vite_glob_0_115$2=Oo,exports.__vite_glob_0_116=ft,exports.__vite_glob_0_116$1=Lr,exports.__vite_glob_0_116$2=So,exports.__vite_glob_0_117=st,exports.__vite_glob_0_117$1=hr,exports.__vite_glob_0_117$2=mo,exports.__vite_glob_0_118=gt,exports.__vite_glob_0_118$1=qr,exports.__vite_glob_0_118$2=xo,exports.__vite_glob_0_119=ut,exports.__vite_glob_0_119$1=Ar,exports.__vite_glob_0_119$2=Po,exports.__vite_glob_0_12=i,exports.__vite_glob_0_12$1=Bo,exports.__vite_glob_0_12$2=Pt,exports.__vite_glob_0_13=d,exports.__vite_glob_0_13$1=Co,exports.__vite_glob_0_13$2=zt,exports.__vite_glob_0_14=p,exports.__vite_glob_0_14$1=Do,exports.__vite_glob_0_14$2=Mt,exports.__vite_glob_0_15=n,exports.__vite_glob_0_15$1=Eo,exports.__vite_glob_0_15$2=Tt,exports.__vite_glob_0_16=c,exports.__vite_glob_0_16$1=Fo,exports.__vite_glob_0_16$2=$t,exports.__vite_glob_0_17=j,exports.__vite_glob_0_17$1=Go,exports.__vite_glob_0_17$2=It,exports.__vite_glob_0_18=v,exports.__vite_glob_0_18$1=Jo,exports.__vite_glob_0_18$2=kt,exports.__vite_glob_0_19=y,exports.__vite_glob_0_19$1=Ko,exports.__vite_glob_0_19$2=wt,exports.__vite_glob_0_2=_,exports.__vite_glob_0_2$1=To,exports.__vite_glob_0_2$2=pt,exports.__vite_glob_0_20=O,exports.__vite_glob_0_20$1=No,exports.__vite_glob_0_20$2=Ht,exports.__vite_glob_0_21=S,exports.__vite_glob_0_21$1=Qo,exports.__vite_glob_0_21$2=Lt,exports.__vite_glob_0_22=m,exports.__vite_glob_0_22$1=Ro,exports.__vite_glob_0_22$2=ht,exports.__vite_glob_0_23=x,exports.__vite_glob_0_23$1=Uo,exports.__vite_glob_0_23$2=qt,exports.__vite_glob_0_24=P,exports.__vite_glob_0_24$1=Vo,exports.__vite_glob_0_24$2=At,exports.__vite_glob_0_25=z,exports.__vite_glob_0_25$1=Wo,exports.__vite_glob_0_25$2=Bt,exports.__vite_glob_0_26=M,exports.__vite_glob_0_26$1=Xo,exports.__vite_glob_0_26$2=Ct,exports.__vite_glob_0_27=T,exports.__vite_glob_0_27$1=Yo,exports.__vite_glob_0_27$2=Dt,exports.__vite_glob_0_28=$,exports.__vite_glob_0_28$1=Zo,exports.__vite_glob_0_28$2=Et,exports.__vite_glob_0_29=I,exports.__vite_glob_0_29$1=el,exports.__vite_glob_0_29$2=Ft,exports.__vite_glob_0_3=o,exports.__vite_glob_0_3$1=$o,exports.__vite_glob_0_3$2=nt,exports.__vite_glob_0_30=k,exports.__vite_glob_0_30$1=tl,exports.__vite_glob_0_30$2=Gt,exports.__vite_glob_0_31=w,exports.__vite_glob_0_31$1=_l,exports.__vite_glob_0_31$2=Jt,exports.__vite_glob_0_32=H,exports.__vite_glob_0_32$1=ol,exports.__vite_glob_0_32$2=Kt,exports.__vite_glob_0_33=L,exports.__vite_glob_0_33$1=ll,exports.__vite_glob_0_33$2=Nt,exports.__vite_glob_0_34=h,exports.__vite_glob_0_34$1=rl,exports.__vite_glob_0_34$2=Qt,exports.__vite_glob_0_35=q,exports.__vite_glob_0_35$1=al,exports.__vite_glob_0_35$2=Rt,exports.__vite_glob_0_36=A,exports.__vite_glob_0_36$1=bl,exports.__vite_glob_0_36$2=Ut,exports.__vite_glob_0_37=B,exports.__vite_glob_0_37$1=fl,exports.__vite_glob_0_37$2=Vt,exports.__vite_glob_0_38=C,exports.__vite_glob_0_38$1=sl,exports.__vite_glob_0_38$2=Wt,exports.__vite_glob_0_39=D,exports.__vite_glob_0_39$1=gl,exports.__vite_glob_0_39$2=Xt,exports.__vite_glob_0_4=l,exports.__vite_glob_0_4$1=Io,exports.__vite_glob_0_4$2=ct,exports.__vite_glob_0_40=E,exports.__vite_glob_0_40$1=ul,exports.__vite_glob_0_40$2=Yt,exports.__vite_glob_0_41=F,exports.__vite_glob_0_41$1=il,exports.__vite_glob_0_41$2=Zt,exports.__vite_glob_0_42=G,exports.__vite_glob_0_42$1=dl,exports.__vite_glob_0_42$2=e_,exports.__vite_glob_0_43=J,exports.__vite_glob_0_43$1=pl,exports.__vite_glob_0_43$2=t_,exports.__vite_glob_0_44=K,exports.__vite_glob_0_44$1=nl,exports.__vite_glob_0_44$2=__,exports.__vite_glob_0_45=N,exports.__vite_glob_0_45$1=cl,exports.__vite_glob_0_45$2=o_,exports.__vite_glob_0_46=Q,exports.__vite_glob_0_46$1=jl,exports.__vite_glob_0_46$2=l_,exports.__vite_glob_0_47=R,exports.__vite_glob_0_47$1=vl,exports.__vite_glob_0_47$2=r_,exports.__vite_glob_0_48=U,exports.__vite_glob_0_48$1=yl,exports.__vite_glob_0_48$2=a_,exports.__vite_glob_0_49=V,exports.__vite_glob_0_49$1=Ol,exports.__vite_glob_0_49$2=b_,exports.__vite_glob_0_5=r,exports.__vite_glob_0_5$1=ko,exports.__vite_glob_0_5$2=jt,exports.__vite_glob_0_50=W,exports.__vite_glob_0_50$1=Sl,exports.__vite_glob_0_50$2=f_,exports.__vite_glob_0_51=X,exports.__vite_glob_0_51$1=ml,exports.__vite_glob_0_51$2=s_,exports.__vite_glob_0_52=Y,exports.__vite_glob_0_52$1=xl,exports.__vite_glob_0_52$2=g_,exports.__vite_glob_0_53=Z,exports.__vite_glob_0_53$1=Pl,exports.__vite_glob_0_53$2=u_,exports.__vite_glob_0_54=ee,exports.__vite_glob_0_54$1=zl,exports.__vite_glob_0_54$2=i_,exports.__vite_glob_0_55=te,exports.__vite_glob_0_55$1=Ml,exports.__vite_glob_0_55$2=d_,exports.__vite_glob_0_56=_e,exports.__vite_glob_0_56$1=Tl,exports.__vite_glob_0_56$2=p_,exports.__vite_glob_0_57=oe,exports.__vite_glob_0_57$1=$l,exports.__vite_glob_0_57$2=n_,exports.__vite_glob_0_58=le,exports.__vite_glob_0_58$1=Il,exports.__vite_glob_0_58$2=c_,exports.__vite_glob_0_59=re,exports.__vite_glob_0_59$1=kl,exports.__vite_glob_0_59$2=j_,exports.__vite_glob_0_6=a,exports.__vite_glob_0_6$1=wo,exports.__vite_glob_0_6$2=vt,exports.__vite_glob_0_60=ae,exports.__vite_glob_0_60$1=wl,exports.__vite_glob_0_60$2=v_,exports.__vite_glob_0_61=be,exports.__vite_glob_0_61$1=Hl,exports.__vite_glob_0_61$2=y_,exports.__vite_glob_0_62=fe,exports.__vite_glob_0_62$1=Ll,exports.__vite_glob_0_62$2=O_,exports.__vite_glob_0_63=se,exports.__vite_glob_0_63$1=hl,exports.__vite_glob_0_63$2=S_,exports.__vite_glob_0_64=ge,exports.__vite_glob_0_64$1=ql,exports.__vite_glob_0_64$2=m_,exports.__vite_glob_0_65=ue,exports.__vite_glob_0_65$1=Al,exports.__vite_glob_0_65$2=x_,exports.__vite_glob_0_66=ie,exports.__vite_glob_0_66$1=Bl,exports.__vite_glob_0_66$2=P_,exports.__vite_glob_0_67=de,exports.__vite_glob_0_67$1=Cl,exports.__vite_glob_0_67$2=z_,exports.__vite_glob_0_68=pe,exports.__vite_glob_0_68$1=Dl,exports.__vite_glob_0_68$2=M_,exports.__vite_glob_0_69=ne,exports.__vite_glob_0_69$1=El,exports.__vite_glob_0_69$2=T_,exports.__vite_glob_0_7=b,exports.__vite_glob_0_7$1=Ho,exports.__vite_glob_0_7$2=yt,exports.__vite_glob_0_70=ce,exports.__vite_glob_0_70$1=Fl,exports.__vite_glob_0_70$2=$_,exports.__vite_glob_0_71=je,exports.__vite_glob_0_71$1=Gl,exports.__vite_glob_0_71$2=I_,exports.__vite_glob_0_72=ve,exports.__vite_glob_0_72$1=Jl,exports.__vite_glob_0_72$2=k_,exports.__vite_glob_0_73=ye,exports.__vite_glob_0_73$1=Kl,exports.__vite_glob_0_73$2=w_,exports.__vite_glob_0_74=Oe,exports.__vite_glob_0_74$1=Nl,exports.__vite_glob_0_74$2=H_,exports.__vite_glob_0_75=Se,exports.__vite_glob_0_75$1=Ql,exports.__vite_glob_0_75$2=L_,exports.__vite_glob_0_76=me,exports.__vite_glob_0_76$1=Rl,exports.__vite_glob_0_76$2=h_,exports.__vite_glob_0_77=xe,exports.__vite_glob_0_77$1=Ul,exports.__vite_glob_0_77$2=q_,exports.__vite_glob_0_78=Pe,exports.__vite_glob_0_78$1=Vl,exports.__vite_glob_0_78$2=A_,exports.__vite_glob_0_79=ze,exports.__vite_glob_0_79$1=Wl,exports.__vite_glob_0_79$2=B_,exports.__vite_glob_0_8=f,exports.__vite_glob_0_8$1=Lo,exports.__vite_glob_0_8$2=Ot,exports.__vite_glob_0_80=Me,exports.__vite_glob_0_80$1=Xl,exports.__vite_glob_0_80$2=C_,exports.__vite_glob_0_81=Te,exports.__vite_glob_0_81$1=Yl,exports.__vite_glob_0_81$2=D_,exports.__vite_glob_0_82=$e,exports.__vite_glob_0_82$1=Zl,exports.__vite_glob_0_82$2=E_,exports.__vite_glob_0_83=Ie,exports.__vite_glob_0_83$1=er,exports.__vite_glob_0_83$2=F_,exports.__vite_glob_0_84=ke,exports.__vite_glob_0_84$1=tr,exports.__vite_glob_0_84$2=G_,exports.__vite_glob_0_85=we,exports.__vite_glob_0_85$1=_r,exports.__vite_glob_0_85$2=J_,exports.__vite_glob_0_86=He,exports.__vite_glob_0_86$1=or,exports.__vite_glob_0_86$2=K_,exports.__vite_glob_0_87=Le,exports.__vite_glob_0_87$1=lr,exports.__vite_glob_0_87$2=N_,exports.__vite_glob_0_88=he,exports.__vite_glob_0_88$1=rr,exports.__vite_glob_0_88$2=Q_,exports.__vite_glob_0_89=qe,exports.__vite_glob_0_89$1=ar,exports.__vite_glob_0_89$2=R_,exports.__vite_glob_0_9=s,exports.__vite_glob_0_9$1=ho,exports.__vite_glob_0_9$2=St,exports.__vite_glob_0_90=Ae,exports.__vite_glob_0_90$1=br,exports.__vite_glob_0_90$2=U_,exports.__vite_glob_0_91=Be,exports.__vite_glob_0_91$1=fr,exports.__vite_glob_0_91$2=V_,exports.__vite_glob_0_92=Ce,exports.__vite_glob_0_92$1=sr,exports.__vite_glob_0_92$2=W_,exports.__vite_glob_0_93=De,exports.__vite_glob_0_93$1=gr,exports.__vite_glob_0_93$2=X_,exports.__vite_glob_0_94=Ee,exports.__vite_glob_0_94$1=ur,exports.__vite_glob_0_94$2=Y_,exports.__vite_glob_0_95=Fe,exports.__vite_glob_0_95$1=ir,exports.__vite_glob_0_95$2=Z_,exports.__vite_glob_0_96=Ge,exports.__vite_glob_0_96$1=dr,exports.__vite_glob_0_96$2=eo,exports.__vite_glob_0_97=Je,exports.__vite_glob_0_97$1=pr,exports.__vite_glob_0_97$2=to,exports.__vite_glob_0_98=Ke,exports.__vite_glob_0_98$1=nr,exports.__vite_glob_0_98$2=_o,exports.__vite_glob_0_99=Ne,exports.__vite_glob_0_99$1=cr,exports.__vite_glob_0_99$2=oo,exports._imports_0="/static/image/tabbar/contactsHL.png",exports._imports_0$1="/static/image/mark.png",exports._imports_0$2="/static/image/jnpf.png",exports._imports_1="/static/image/locate.png",exports._imports_2="/static/image/waite.png",exports.emptyImg="/static/image/defPortal.png",exports.logoImg="/static/login_logo.svg";
This source diff could not be displayed because it is too large. You can view the blob instead.
"use strict";const e=require("../../../common/vendor.js"),t={name:"jnpf-alert",props:{type:{type:String,default:"success"},title:{type:String,default:"这是一个提示"},tagIcon:{type:String,default:"icon-ym icon-ym-generator-alert"},showIcon:{type:Boolean,default:!1},closable:{type:Boolean,default:!1},description:{type:String,default:""},closeText:{type:String,default:""}},data:()=>({show:!0,titleStyle:{"word-break":"break-all","line-height":"34rpx"},descStyle:{"word-break":"break-all","line-height":"40rpx"}})};if(!Array){e.resolveComponent("u-alert-tips")()}Math;const o=e._export_sfc(t,[["render",function(t,o,l,r,n,s){return{a:e.o((e=>n.show=!1)),b:e.p({type:l.type,title:l.title,"show-icon":l.showIcon,description:l.description,"close-able":l.closable,"close-text":l.closeText,show:n.show,"title-style":n.titleStyle,"desc-style":n.descStyle})}}]]);wx.createComponent(o);
{
"component": true,
"usingComponents": {
"u-alert-tips": "../../../uni_modules/vk-uview-ui/components/u-alert-tips/u-alert-tips"
}
}
\ No newline at end of file
<u-alert-tips wx:if="{{b}}" class="jnpf-alert" bindclose="{{a}}" u-i="c7441232-0" bind:__l="__l" u-p="{{b}}"/>
\ No newline at end of file
"use strict";const e=require("../../../api/common.js"),t=require("../../../common/vendor.js"),s={label:"fullName",value:"id",icon:"icon",children:"children"};var l;const i={name:"tree-select",props:{selectedData:{type:Array,default:()=>[]},ids:{type:Array,default:()=>[]},border:{type:Boolean,default:!0},modelValue:{type:Boolean,default:!1},cancelColor:{type:String,default:"#606266"},confirmColor:{type:String,default:"#2979ff"},zIndex:{type:[String,Number],default:99999},safeAreaInsetBottom:{type:Boolean,default:!1},maskCloseAble:{type:Boolean,default:!0},props:{type:Object,default:()=>({label:"fullName",value:"id",icon:"icon",children:"children",isLeaf:"isLeaf"})},multiple:{type:Boolean,default:!1},title:{type:String,default:""},cancelText:{type:String,default:"取消"},confirmText:{type:String,default:"确认"},level:{type:Number,default:2}},data:()=>({moving:!1,selectList:[],selectListId:[],newListId:[],options:[],selectData:[]}),watch:{modelValue:{immediate:!0,handler(e){this.showPopup=e,e&&setTimeout((()=>this.init()),10)}}},created(){l=this,this.init()},computed:{uZIndex(){return this.zIndex?this.zIndex:this.$u.zIndex.popup},realProps(){return{...s,...this.props}}},methods:{init(){this.selectList=JSON.parse(JSON.stringify(this.selectedData)),this.selectListId=this.ids?this.ids:[]},loadNode(t,s){let i=null===t.key?-1:t.key,o=t.level;e.getProvinceSelector(i).then((e=>{const t=e.data.list.map(((e,t)=>({id:e.id,fullName:e.fullName,isLeaf:o>=l.level||e.isLeaf})));s(t)}))},handleNodeClick(e){if(!e.isLeaf)return;let t=this.$refs.tree.getNodePath(e),s=[],l=[],i=[];for(let n=0;n<t.length;n++){s.push(t[n].fullName),l.push(t[n].id);let e={fullName:t[n].fullName,id:t[n].id};i.push(e)}if(l.length===this.level+1){this.multiple||(this.selectList=[],this.selectListId=[],this.selectData=[]);for(var o=!1,a=0;a<this.selectList.length;a++)if(this.selectList[a]==s.join("/")){o=!0;break}!o&&this.selectListId.push(l),!o&&this.selectList.push(s.join("/")),!o&&this.selectData.push(i)}},delSelect(e){this.selectList.splice(e,1),this.multiple||(this.selectListId=[],this.selectData=[]),this.selectListId.splice(e,1)},setCheckAll(){this.selectList=[],this.selectListId=[],this.$refs.tree.setCheckAll(!1)},handleConfirm(){this.$emit("confirm",this.selectList,this.selectListId,this.selectData),this.close()},close(){this.$emit("close")}}};if(!Array){(t.resolveComponent("u-tag")+t.resolveComponent("ly-tree")+t.resolveComponent("u-button")+t.resolveComponent("u-popup"))()}Math||((()=>"../../../uni_modules/vk-uview-ui/components/u-tag/u-tag.js")+(()=>"../../ly-tree/ly-tree.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-button/u-button.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-popup/u-popup.js"))();const o=t._export_sfc(i,[["render",function(e,s,l,i,o,a){return t.e({a:t.o((e=>a.close())),b:l.multiple},l.multiple?{c:t.o(((...e)=>a.setCheckAll&&a.setCheckAll(...e)))}:{},{d:t.f(o.selectList,((e,s,l)=>({a:t.o((e=>a.delSelect(s)),s),b:s,c:"379bffa8-1-"+l+",379bffa8-0",d:t.p({closeable:!0,text:e})}))),e:t.sr("tree","379bffa8-2,379bffa8-0"),f:t.o(a.handleNodeClick),g:t.p({"node-key":a.realProps.value,"tree-data":o.options,"show-checkbox":!1,defaultExpandAll:!1,props:a.realProps,"show-node-icon":!0,"show-radio":!1,load:a.loadNode,lazy:!0}),h:t.o((e=>a.close())),i:t.o((e=>a.handleConfirm())),j:t.p({type:"primary"}),k:t.o(a.close),l:t.o((t=>e.showPopup=t)),m:t.p({maskCloseAble:l.maskCloseAble,mode:"right",safeAreaInsetBottom:l.safeAreaInsetBottom,"z-index":a.uZIndex,width:"100%",modelValue:e.showPopup})})}]]);wx.createComponent(o);
{
"component": true,
"usingComponents": {
"u-tag": "../../../uni_modules/vk-uview-ui/components/u-tag/u-tag",
"ly-tree": "../../ly-tree/ly-tree",
"u-button": "../../../uni_modules/vk-uview-ui/components/u-button/u-button",
"u-popup": "../../../uni_modules/vk-uview-ui/components/u-popup/u-popup"
}
}
\ No newline at end of file
<u-popup wx:if="{{m}}" u-s="{{['d']}}" class="jnpf-tree-select-popup" bindclose="{{k}}" u-i="379bffa8-0" bind:__l="__l" bindupdateModelValue="{{l}}" u-p="{{m}}"><view class="jnpf-tree-select-body"><view class="jnpf-tree-select-title"><text class="icon-ym icon-ym-report-icon-preview-pagePre backIcon" bindtap="{{a}}"></text><view class="title">省市区</view></view><view class="jnpf-tree-selected"><view class="jnpf-tree-selected-head"><view>已选</view><view wx:if="{{b}}" class="clear-btn" bindtap="{{c}}">清空列表</view></view><view class="jnpf-tree-selected-box"><scroll-view scroll-y="true" class="select-list"><u-tag wx:for="{{d}}" wx:for-item="list" wx:key="b" bindclose="{{list.a}}" class="u-selectTag" u-i="{{list.c}}" bind:__l="__l" u-p="{{list.d}}"/></scroll-view></view></view><view class="jnpf-tree-select-tree"><scroll-view scroll-y="{{true}}" style="height:100%"><ly-tree wx:if="{{g}}" class="r" u-r="tree" bindnodeClick="{{f}}" u-i="379bffa8-2,379bffa8-0" bind:__l="__l" u-p="{{g}}"/></scroll-view></view><view class="jnpf-tree-select-actions"><u-button u-s="{{['d']}}" class="buttom-btn" bindclick="{{h}}" u-i="379bffa8-3,379bffa8-0" bind:__l="__l">取消</u-button><u-button wx:if="{{j}}" u-s="{{['d']}}" class="buttom-btn" catchclick="{{i}}" u-i="379bffa8-4,379bffa8-0" bind:__l="__l" u-p="{{j}}">确定</u-button></view></view></u-popup>
\ No newline at end of file
"use strict";const e=require("../../../api/common.js"),t=require("../../../common/vendor.js"),l={name:"jnpf-area-select",components:{Tree:()=>"./Tree.js"},props:{modelValue:{default:""},placeholder:{type:String,default:"请选择"},props:{type:Object,default:()=>({label:"fullName",value:"id",children:"children",isLeaf:"isLeaf"})},disabled:{type:Boolean,default:!1},multiple:{type:Boolean,default:!1},level:{type:Number,default:2}},watch:{modelValue:{handler(e){this.setDefault(e)},immediate:!0}},data:()=>({selectShow:!1,innerValue:"",selectedData:[]}),methods:{setDefault(t){this.innerValue="",this.selectedData=[],Array.isArray(t)&&0!==t.length&&(this.multiple||(t=[t]),e.getProvinceSelectorInfoList(t).then((e=>{const t=e.data;let l="";for(let a=0;a<t.length;a++)l+=(a?",":"")+t[a].join("/"),this.selectedData.push(t[a].join("/"));this.innerValue=l})))},openSelect(){this.disabled||(this.selectShow=!0)},handleClose(){this.selectShow=!1},handleConfirm(e,t,l){this.selectedData=e;this.defaultValue=[],this.innerValue=e.join(),this.multiple?(this.$emit("update:modelValue",t),this.$emit("change",t,l)):(this.$emit("update:modelValue",t[0]),this.$emit("change",t[0],l))}}};if(!Array){(t.resolveComponent("u-input")+t.resolveComponent("Tree"))()}Math;const a=t._export_sfc(l,[["render",function(e,l,a,o,s,i){return t.e({a:t.o(i.openSelect),b:t.o((e=>s.innerValue=e)),c:t.p({"input-align":"right",type:"select","select-open":s.selectShow,placeholder:a.placeholder,modelValue:s.innerValue}),d:s.selectShow},s.selectShow?{e:t.o(i.handleConfirm),f:t.o((e=>i.handleClose())),g:t.o((e=>s.selectShow=e)),h:t.p({multiple:a.multiple,props:a.props,selectedData:s.selectedData,level:a.level,ids:a.modelValue,modelValue:s.selectShow})}:{})}],["__scopeId","data-v-d18f375c"]]);wx.createComponent(a);
{
"component": true,
"usingComponents": {
"tree": "./Tree",
"u-input": "../../../uni_modules/vk-uview-ui/components/u-input/u-input"
}
}
\ No newline at end of file
<view class="jnpf-area-select data-v-d18f375c"><u-input wx:if="{{c}}" class="data-v-d18f375c" bindclick="{{a}}" u-i="d18f375c-0" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}"/><tree wx:if="{{d}}" class="data-v-d18f375c" bindconfirm="{{e}}" bindclose="{{f}}" u-i="d18f375c-1" bind:__l="__l" bindupdateModelValue="{{g}}" u-p="{{h}}"/></view>
\ No newline at end of file
"use strict";const e=require("../../../libs/resources.js"),t=require("../../../api/common.js"),i=require("../../../common/vendor.js"),s={props:{interfaceId:{type:String,default:""},clearable:{type:Boolean,default:!0},relationField:{type:String,default:"fullName"},total:{type:[String,Number],default:50},formData:{type:Object},templateJson:{type:Array,default:()=>[]},rowIndex:{default:null}},data:()=>({istQuery:{keyword:"",pageSize:1e3},icon:e.resources.message.nodata,showPopup:!1,value:"",showList:[],timer:""}),methods:{init(e){this.showPopup=!0,this.value=e,this.getDataInterfaceList()},getDataInterfaceList(){this.showList=[];const e=this.getParamList();let i={interfaceId:this.interfaceId,relationField:this.relationField,pageSize:1e4,paramList:e};t.getPopSelect(this.interfaceId,i).then((e=>{let t=JSON.parse(JSON.stringify(e.data.list))||[];t.length&&(t=this.unique(t,this.relationField)),this.showList=t.splice(0,this.total)}))},unique(e,t){const i=new Map;return e.filter((e=>!i.has(e[t])&&i.set(e[t],1)))},getParamList(){let e=this.templateJson;for(let t=0;t<e.length;t++){if(e[t].relationField&&this.formData&&1==e[t].sourceType)if(e[t].relationField.includes("-")){let i=e[t].relationField.split("-")[0],s=e[t].relationField.split("-")[1];e[t].defaultValue=this.formData[i]&&this.formData[i][this.rowIndex]&&this.formData[i][this.rowIndex][s]||""}else e[t].defaultValue=this.formData[e[t].relationField]||"";"@keyword"==e[t].relationField&&(e[t].defaultValue=this.value)}return e},onInput(e){this.value=e,this.$emit("confirm",this.value),this.timer&&clearTimeout(this.timer),this.timer=setTimeout((()=>{this.list=[],this.getDataInterfaceList()}),300)},close(){this.showPopup=!1},selectThisItem(e){this.value=e[this.relationField],this.$emit("confirm",this.value),this.close()}}};if(!Array){(i.resolveComponent("u-icon")+i.resolveComponent("u-input")+i.resolveComponent("u-popup"))()}Math||((()=>"../../../uni_modules/vk-uview-ui/components/u-icon/u-icon.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-input/u-input.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-popup/u-popup.js"))();const o=i._export_sfc(s,[["render",function(e,t,s,o,a,l){return i.e({a:i.o((e=>a.showPopup=!1)),b:i.p({name:"close"}),c:i.o(l.onInput),d:i.o((e=>a.value=e)),e:i.p({type:"text",placeholder:"请输入",clearable:s.clearable,modelValue:a.value}),f:a.showList.length>0},a.showList.length>0?{g:i.f(a.showList,((e,t,o)=>({a:i.t(e[s.relationField]),b:t,c:i.o((t=>l.selectThisItem(e)),t)})))}:{},{h:a.showList.length<1},a.showList.length<1?{i:a.icon}:{},{j:i.o(l.close),k:i.o((e=>a.showPopup=e)),l:i.p({width:"100%",height:"100vh",mode:"right",mask:!1,modelValue:a.showPopup})})}]]);wx.createComponent(o);
{
"component": true,
"usingComponents": {
"u-icon": "../../../uni_modules/vk-uview-ui/components/u-icon/u-icon",
"u-input": "../../../uni_modules/vk-uview-ui/components/u-input/u-input",
"u-popup": "../../../uni_modules/vk-uview-ui/components/u-popup/u-popup"
}
}
\ No newline at end of file
<view class="search-popup-v"><u-popup wx:if="{{l}}" u-s="{{['d']}}" bindclose="{{j}}" u-i="2676a99b-0" bind:__l="__l" bindupdateModelValue="{{k}}" u-p="{{l}}"><view class="search-popup-b"><view class="search-popup-h"><view class="search-popup-h-txt"><u-icon wx:if="{{b}}" bindclick="{{a}}" class="search-popup-h-icon" u-i="2676a99b-1,2676a99b-0" bind:__l="__l" u-p="{{b}}"/></view><u-input wx:if="{{e}}" bindinput="{{c}}" u-i="2676a99b-2,2676a99b-0" bind:__l="__l" bindupdateModelValue="{{d}}" u-p="{{e}}"/></view></view><view wx:if="{{f}}" class="search-popup-item"><view wx:for="{{g}}" wx:for-item="item" wx:key="b" bindtap="{{item.c}}" class="u-p-l-20 u-p-r-20">{{item.a}}</view></view><view wx:if="{{h}}" class="search-notData"><view class="notData-box u-flex-col"><view class="u-flex-col notData-inner"><image src="{{i}}" class="iconImg"></image><text class="notData-inner-text">暂无数据</text></view></view></view></u-popup></view>
\ No newline at end of file
.search-popup-v .search-popup-b{height:158rpx}.search-popup-v .search-popup-b .search-popup-h{padding:0 20rpx;border-bottom:1rpx solid #cbcbcb;position:fixed;width:100%;background-color:#fff;z-index:9;text-align:center}.search-popup-v .search-popup-b .search-popup-h .search-popup-h-txt{height:86rpx;width:100%;padding:15rpx 0;text-align:center;line-height:54rpx;box-sizing:border-box;font-size:32rpx;font-weight:700;letter-spacing:2rpx}.search-popup-v .search-popup-b .search-popup-h .search-popup-h-txt .search-popup-h-icon{float:right;margin-top:12rpx}.search-popup-v .search-popup-item{width:100%;height:100%;z-index:9997}.search-popup-v .search-notData{width:100%;height:calc(100% - 160rpx);background-color:#fff}.search-popup-v .search-notData .notData-box{width:100%;height:100%;justify-content:center;align-items:center}.search-popup-v .search-notData .notData-box .notData-inner{width:280rpx;height:340rpx;align-items:center}.search-popup-v .search-notData .notData-box .notData-inner .iconImg{width:100%;height:100%}.search-popup-v .search-notData .notData-box .notData-inner .notData-inner-text{padding:30rpx 0;color:#909399}
"use strict";const e=require("../../../common/vendor.js"),t={name:"jnpf-auto-complete",components:{SearchForm:()=>"./SearchForm.js"},props:{modelValue:{default:""},formData:{type:Object},options:{type:Array,default:()=>[]},placeholder:{type:String,default:"请输入"},clearable:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},templateJson:{type:Array,default:()=>[]},interfaceId:{type:String,default:""},relationField:{type:String,default:"fullName"},total:{type:Number,default:50},rowIndex:{default:null}},data:()=>({innerValue:""}),watch:{modelValue:{handler(e){this.innerValue=e||""},immediate:!0}},methods:{showSearch(){this.disabled||this.$nextTick((()=>{this.$refs.searchForm.init(this.innerValue)}))},confirm(e){this.innerValue=e,this.$emit("update:modelValue",e),this.$emit("change",e)}}};if(!Array){(e.resolveComponent("u-input")+e.resolveComponent("SearchForm"))()}Math;const a=e._export_sfc(t,[["render",function(t,a,r,l,o,n){return{a:e.o(n.showSearch),b:e.o((e=>o.innerValue=e)),c:e.p({"input-align":"right",type:"select",placeholder:r.placeholder,modelValue:o.innerValue}),d:e.sr("searchForm","295a6c9a-1"),e:e.o(n.confirm),f:e.p({interfaceId:r.interfaceId,relationField:r.relationField,templateJson:r.templateJson,total:r.total||50,formData:r.formData,clearable:r.clearable,rowIndex:r.rowIndex})}}]]);wx.createComponent(a);
{
"component": true,
"usingComponents": {
"search-form": "./SearchForm",
"u-input": "../../../uni_modules/vk-uview-ui/components/u-input/u-input"
}
}
\ No newline at end of file
<view class="jnpf-auto-complete"><u-input wx:if="{{c}}" bindclick="{{a}}" u-i="295a6c9a-0" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}"/><search-form wx:if="{{f}}" class="r" u-r="searchForm" bindconfirm="{{e}}" u-i="295a6c9a-1" bind:__l="__l" u-p="{{f}}"/></view>
\ No newline at end of file
.jnpf-auto-complete{width:100%}.jnpf-auto-complete .str-auto-complete-container{width:549rpx;height:360px;border-radius:8rpx;box-shadow:0 0 12rpx #dfe3e9;position:absolute;z-index:9997;background:#fff;top:94rpx;left:0;right:0;overflow-y:scroll}.jnpf-auto-complete .str-auto-complete-container .str-auto-complete-mask{width:100%;height:calc(100% - 90rpx);position:fixed;left:0;top:0;bottom:0;right:0;z-index:9999}.jnpf-auto-complete .str-auto-complete-container .str-auto-complete-item{position:relative;padding:10rpx;z-index:9999}.jnpf-auto-complete .auto-complete-b{width:549rpx;height:360px;z-index:999;position:absolute;background-color:#fff;border:1px solid red;top:94rpx;left:0;right:0}
"use strict";const t=require("../../../common/vendor.js");let e=0;const a={name:"jnpf-barcode",props:{dataType:{type:String,default:"static"},format:{type:String,default:"code128"},lineColor:{type:String,default:"#000"},background:{type:String,default:"#fff"},relationField:{type:String,default:""},formData:{type:Object},width:{type:Number,default:4},height:{type:Number,default:40},staticText:{type:String,default:""}},components:{tkiBarcode:()=>"./tki-barcode/tki-barcode.js"},data:()=>({cid:"",relationText:"",showBarCode:!1,key:+new Date}),computed:{barcode(){var t;return"static"===this.dataType?this.staticText:null==(t=this.relationText)?void 0:t.toString()},opations(){return{format:this.format,width:this.width,height:this.height,displayValue:!1,lineColor:this.lineColor,background:this.background}}},created(){this.cid=this.uuid(),this.showBarCode=!0,t.index.$on("updateCode",(()=>{this.showBarCode=!1,this.$nextTick((()=>{this.showBarCode=!0}))}))},watch:{formData:{handler:function(t){t&&"relation"===this.dataType&&this.relationField&&this.relationText!=t[this.relationField]&&(this.relationText=t[this.relationField],setTimeout((()=>{this.key=+new Date}),50))},deep:!0,immediate:!0}},methods:{uuid(){const t=Date.now(),a=Math.floor(1e9*Math.random());return e++,"barcode_"+a+e+String(t)}}};if(!Array){t.resolveComponent("tki-barcode")()}const o=t._export_sfc(a,[["render",function(e,a,o,i,r,d){return t.e({a:d.barcode&&r.showBarCode},d.barcode&&r.showBarCode?{b:t.sr("barcode","84a973d5-0"),c:r.key,d:t.p({format:o.format,cid:r.cid,val:d.barcode,opations:d.opations,loadMake:!0})}:{})}],["__scopeId","data-v-84a973d5"]]);wx.createComponent(o);
{
"component": true,
"usingComponents": {
"tki-barcode": "./tki-barcode/tki-barcode"
}
}
\ No newline at end of file
<tki-barcode wx:if="{{a}}" class="jnpf-barcode r data-v-84a973d5" u-r="barcode" key="{{c}}" u-i="84a973d5-0" bind:__l="__l" u-p="{{d}}"/>
\ No newline at end of file
.jnpf-barcode.data-v-84a973d5{width:100%;overflow:hidden;margin-bottom:-20rpx}
"use strict";const t=require("../../../../common/vendor.js"),e=require("./barcodes/index.js");let i={};i=function(i,n,o,a,r){let l,g,h,s,d,m,f;var p;if(d=n,m=a,f=r,l=Object.assign({},o),(p=l).marginTop=null==p.marginTop?p.margin:p.marginTop,p.marginBottom=null==p.marginBottom?p.margin:p.marginBottom,p.marginRight=null==p.marginRight?p.margin:p.marginRight,p.marginLeft=null==p.marginLeft?p.margin:p.marginLeft,""==l.text||!i)return!1;h=i,s=t.index.createCanvasContext(d,h),g=new(e.barcodes[l.format.toUpperCase()])(l.text,l).encode();let c=function(t,e){let i,n=[],o=e.marginLeft+e.marginRight;return Array.isArray(t)?n=[...t]:n[0]=JSON.parse(JSON.stringify(t)),n.forEach(((t,a)=>{let r=s.measureText(n[a].text?n[a].text:"").width,l=n[a].data.length*e.width,g=0;e.displayValue&&l<r&&("center"==e.textAlign?g=Math.floor((r-l)/2):"left"==e.textAlign?g=0:"right"==e.textAlign&&(g=Math.floor(r-l))),n[a].barcodePadding=g,n[a].width=Math.ceil(Math.max(r,l)),o+=n[a].width,n[a].options&&null!=n[a].options.height?n[a].height=n[a].options.height+(e.displayValue&&(n[a].text?n[a].text:"").length>0?e.fontSize+e.textMargin:0)+e.marginTop+e.marginBottom:n[a].height=i=e.height+(e.displayValue&&(n[a].text?n[a].text:"").length>0?e.fontSize+e.textMargin:0)+e.marginTop+e.marginBottom})),{encodings:n,width:o,height:i}}(g,l);m({width:c.width,height:c.height}),setTimeout((()=>{x.render(l,c)}),50);let x={render(t,e){this.prepare(t,e),e.encodings.forEach(((e,i)=>{this.barcode(t,e),this.text(t,e),this.move(e)})),this.draw(t,e)},barcode(t,e){let i,n=e.data;i="top"==t.textPosition?t.marginTop+t.fontSize+t.textMargin:t.marginTop,s.fillStyle=t.lineColor;for(let o=0;o<n.length;o++){let a=o*t.width+e.barcodePadding,r=t.height;e.options&&null!=e.options.height&&(r=e.options.height),"1"===n[o]?s.fillRect(a,i,t.width,r):n[o]&&s.fillRect(a,i,t.width,r*n[o])}},text(t,e){if(t.displayValue){let i,n,o,a;n="top"==t.textPosition?t.marginTop+t.fontSize:t.height+t.textMargin+t.marginTop+t.fontSize,e.options?(null!=e.options.textAlign&&(o=e.options.textAlign),null!=e.options.fontSize&&(a=e.options.fontSize)):(o=t.textAlign,a=t.fontSize),s.setFontSize(a),"left"==o||e.barcodePadding>0?(i=0,s.setTextAlign("left")):"right"==o?(i=e.width-1,s.setTextAlign("right")):(i=e.width/2,s.setTextAlign("center")),s.fillStyle=t.fontColor,null!=e.text&&s.fillText(e.text,i,n)}},move(t){s.translate(t.width,0)},prepare(t,e){t.background&&(s.fillStyle=t.background,s.fillRect(0,0,e.width,e.height)),s.translate(t.marginLeft,0)},draw(t,e){s.draw(!1,(()=>{this.toImgs(t,e)}))},toImgs(e,i){setTimeout((()=>{try{t.index.canvasToTempFilePath({width:i.width,height:i.height,destWidth:i.width,destHeight:i.height,canvasId:d,fileType:"png",success:function(t){f(t.tempFilePath)},fail:function(t){f(t)},complete:function(){t.index.hideLoading()}},h)}catch(e){}}),e.text.length+100)}}};const n=i;exports.barCode=n;
"use strict";exports.Barcode=function t(n,s){!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t),this.data=n,this.text=s.text||n,this.options=s};
"use strict";const t=require("../Barcode.js"),e=require("./constants.js");var n=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}();var r=function(r){function o(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,o);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,t.substring(1),e));return n.bytes=t.split("").map((function(t){return t.charCodeAt(0)})),n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(o,t.Barcode),n(o,[{key:"valid",value:function(){return/^[\x00-\x7F\xC8-\xD3]+$/.test(this.data)}},{key:"encode",value:function(){var t=this.bytes,n=t.shift()-105,r=e._constants.SET_BY_CODE[n];if(void 0===r)throw new RangeError("The encoding does not start with a start character.");!0===this.shouldEncodeAsEan128()&&t.unshift(e._constants.FNC1);var s=o.next(t,1,r);return{text:this.text===this.data?this.text.replace(/[^\x20-\x7E]/g,""):this.text,data:o.getBar(n)+s.result+o.getBar((s.checksum+n)%e._constants.MODULO)+o.getBar(e._constants.STOP)}}},{key:"shouldEncodeAsEan128",value:function(){var t=this.options.ean128||!1;return"string"==typeof t&&(t="true"===t.toLowerCase()),t}}],[{key:"getBar",value:function(t){return e._constants.BARS[t]?e._constants.BARS[t].toString():""}},{key:"correctIndex",value:function(t,n){if(n===e._constants.SET_A){var r=t.shift();return r<32?r+64:r-32}return n===e._constants.SET_B?t.shift()-32:10*(t.shift()-48)+t.shift()-48}},{key:"next",value:function(t,n,r){if(!t.length)return{result:"",checksum:0};var s=void 0,a=void 0;if(t[0]>=200){a=t.shift()-105;var c=e._constants.SWAP[a];void 0!==c?s=o.next(t,n+1,c):(r!==e._constants.SET_A&&r!==e._constants.SET_B||a!==e._constants.SHIFT||(t[0]=r===e._constants.SET_A?t[0]>95?t[0]-96:t[0]:t[0]<32?t[0]+96:t[0]),s=o.next(t,n+1,r))}else a=o.correctIndex(t,r),s=o.next(t,n+1,r);var i=a*n;return{result:o.getBar(a)+s.result,checksum:i+s.checksum}}}]),o}();exports.CODE128=r;
"use strict";const t=require("./CODE128.js"),e=require("./constants.js");var n=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}();var r=function(r){function o(t,n){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,o),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,e._constants.A_START_CHAR+t,n))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(o,t.CODE128),n(o,[{key:"valid",value:function(){return new RegExp("^"+e._constants.A_CHARS+"+$").test(this.data)}}]),o}();exports.CODE128A=r;
"use strict";const t=require("./CODE128.js"),e=require("./constants.js");var n=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}();var r=function(r){function o(t,n){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,o),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,e._constants.B_START_CHAR+t,n))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(o,t.CODE128),n(o,[{key:"valid",value:function(){return new RegExp("^"+e._constants.B_CHARS+"+$").test(this.data)}}]),o}();exports.CODE128B=r;
"use strict";const t=require("./CODE128.js"),e=require("./constants.js");var n=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}();var r=function(r){function o(t,n){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,o),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,e._constants.C_START_CHAR+t,n))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(o,t.CODE128),n(o,[{key:"valid",value:function(){return new RegExp("^"+e._constants.C_CHARS+"+$").test(this.data)}}]),o}();exports.CODE128C=r;
"use strict";const t=require("./CODE128.js"),e=require("./auto.js");function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var r=function(r){function n(t,r){if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n),/^[\x00-\x7F\xC8-\xD3]+$/.test(t))var i=o(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e.auto(t),r));else i=o(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,t,r));return o(i)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(n,t.CODE128),n}();exports.CODE128AUTO=r;
"use strict";const n=require("./constants.js");var t=function(t){return t.match(new RegExp("^"+n._constants.A_CHARS+"*"))[0].length},r=function(t){return t.match(new RegExp("^"+n._constants.B_CHARS+"*"))[0].length},e=function(t){return t.match(new RegExp("^"+n._constants.C_CHARS+"*"))[0]};function s(t,r){var e=r?n._constants.A_CHARS:n._constants.B_CHARS,a=t.match(new RegExp("^("+e+"+?)(([0-9]{2}){2,})([^0-9]|$)"));if(a)return a[1]+String.fromCharCode(204)+o(t.substring(a[1].length));var c=t.match(new RegExp("^"+e+"+"))[0];return c.length===t.length?t:c+String.fromCharCode(r?205:206)+s(t.substring(c.length),!r)}function o(n){var o=e(n),a=o.length;if(a===n.length)return n;n=n.substring(a);var c=t(n)>=r(n);return o+String.fromCharCode(c?206:205)+s(n,c)}exports.auto=function(a){var c=void 0;if(e(a).length>=2)c=n._constants.C_START_CHAR+o(a);else{var u=t(a)>r(a);c=(u?n._constants.A_START_CHAR:n._constants.B_START_CHAR)+s(a,u)}return c.replace(/[\xCD\xCE]([^])[\xCD\xCE]/,(function(n,t){return String.fromCharCode(203)+t}))};
"use strict";var e;function S(e,S,r){return S in e?Object.defineProperty(e,S,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[S]=r,e}const r={SET_A:0,SET_B:1,SET_C:2,SHIFT:98,START_A:103,START_B:104,START_C:105,MODULO:103,STOP:106,FNC1:207,SET_BY_CODE:(S(e={},103,0),S(e,104,1),S(e,105,2),e),SWAP:{101:0,100:1,99:2},A_START_CHAR:String.fromCharCode(208),B_START_CHAR:String.fromCharCode(209),C_START_CHAR:String.fromCharCode(210),A_CHARS:"[\0-_È-Ï]",B_CHARS:"[ -È-Ï]",C_CHARS:"(Ï*[0-9]{2}Ï*)",BARS:[11011001100,11001101100,11001100110,10010011e3,10010001100,10001001100,10011001e3,10011000100,10001100100,11001001e3,11001000100,11000100100,10110011100,10011011100,10011001110,10111001100,10011101100,10011100110,11001110010,11001011100,11001001110,11011100100,11001110100,11101101110,11101001100,11100101100,11100100110,11101100100,11100110100,11100110010,11011011e3,11011000110,11000110110,10100011e3,10001011e3,10001000110,10110001e3,10001101e3,10001100010,11010001e3,11000101e3,11000100010,10110111e3,10110001110,10001101110,10111011e3,10111000110,10001110110,11101110110,11010001110,11000101110,11011101e3,11011100010,11011101110,11101011e3,11101000110,11100010110,11101101e3,11101100010,11100011010,11101111010,11001000010,11110001010,1010011e4,10100001100,1001011e4,10010000110,10000101100,10000100110,1011001e4,10110000100,1001101e4,10011000010,10000110100,10000110010,11000010010,1100101e4,11110111010,11000010100,10001111010,10100111100,10010111100,10010011110,10111100100,10011110100,10011110010,11110100100,11110010100,11110010010,11011011110,11011110110,11110110110,10101111e3,10100011110,10001011110,10111101e3,10111100010,11110101e3,11110100010,10111011110,10111101110,11101011110,11110101110,11010000100,1101001e4,11010011100,1100011101011]};exports._constants=r;
"use strict";const C=require("./CODE128_AUTO.js"),O=require("./CODE128A.js"),D=require("./CODE128B.js"),E=require("./CODE128C.js"),e={CODE128:C.CODE128AUTO,CODE128A:O.CODE128A,CODE128B:D.CODE128B,CODE128C:E.CODE128C};exports._CODE2=e;
"use strict";const t=require("../Barcode.js");var e=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();var r=function(r){function o(t,e){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,o),t=t.toUpperCase(),e.mod43&&(t+=(r=function(t){for(var e=0,r=0;r<t.length;r++)e+=i(t[r]);return e%=43}(t),n[r])),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,t,e))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(o,t.Barcode),e(o,[{key:"encode",value:function(){for(var t=a("*"),e=0;e<this.data.length;e++)t+=a(this.data[e])+"0";return{data:t+=a("*"),text:this.text}}},{key:"valid",value:function(){return-1!==this.data.search(/^[0-9A-Z\-\.\ \$\/\+\%]+$/)}}]),o}(),n=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","-","."," ","$","/","+","%","*"],o=[20957,29783,23639,30485,20951,29813,23669,20855,29789,23645,29975,23831,30533,22295,30149,24005,21623,29981,23837,22301,30023,23879,30545,22343,30161,24017,21959,30065,23921,22385,29015,18263,29141,17879,29045,18293,17783,29021,18269,17477,17489,17681,20753,35770];function a(t){return e=i(t),o[e].toString(2);var e}function i(t){return n.indexOf(t)}exports.CODE39=r;
"use strict";const t=require("./constants.js"),e=require("./encoder.js"),n=require("../Barcode.js");var o=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}();var r=function(r){function i(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(i.__proto__||Object.getPrototypeOf(i)).call(this,t,e));return n.fontSize=!e.flat&&e.fontSize>10*e.width?10*e.width:e.fontSize,n.guardHeight=e.height+n.fontSize/2+e.textMargin,n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(i,n.Barcode),o(i,[{key:"encode",value:function(){return this.options.flat?this.encodeFlat():this.encodeGuarded()}},{key:"leftText",value:function(t,e){return this.text.substr(t,e)}},{key:"leftEncode",value:function(t,n){return e.encode(t,n)}},{key:"rightText",value:function(t,e){return this.text.substr(t,e)}},{key:"rightEncode",value:function(t,n){return e.encode(t,n)}},{key:"encodeGuarded",value:function(){var e={fontSize:this.fontSize},n={height:this.guardHeight};return[{data:t._constants.SIDE_BIN,options:n},{data:this.leftEncode(),text:this.leftText(),options:e},{data:t._constants.MIDDLE_BIN,options:n},{data:this.rightEncode(),text:this.rightText(),options:e},{data:t._constants.SIDE_BIN,options:n}]}},{key:"encodeFlat",value:function(){return{data:[t._constants.SIDE_BIN,this.leftEncode(),t._constants.MIDDLE_BIN,this.rightEncode(),t._constants.SIDE_BIN].join(""),text:this.text}}}]),i}();exports.EAN=r;
"use strict";const t=require("./constants.js"),e=require("./EAN.js");var o=function(){function t(t,e){for(var o=0;o<e.length;o++){var r=e[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,o,r){return o&&t(e.prototype,o),r&&t(e,r),e}}(),r=function t(e,o,r){null===e&&(e=Function.prototype);var n=Object.getOwnPropertyDescriptor(e,o);if(void 0===n){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,o,r)}if("value"in n)return n.value;var a=n.get;return void 0!==a?a.call(r):void 0};var n=function(t){return(10-t.substr(0,12).split("").map((function(t){return+t})).reduce((function(t,e,o){return o%2?t+3*e:t+e}),0)%10)%10},i=function(i){function a(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),-1!==t.search(/^[0-9]{12}$/)&&(t+=n(t));var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,t,e));return o.lastChar=e.lastChar,o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(a,e.EAN),o(a,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{13}$/)&&+this.data[12]===n(this.data)}},{key:"leftText",value:function(){return r(a.prototype.__proto__||Object.getPrototypeOf(a.prototype),"leftText",this).call(this,1,6)}},{key:"leftEncode",value:function(){var e=this.data.substr(1,6),o=t._constants.EAN13_STRUCTURE[this.data[0]];return r(a.prototype.__proto__||Object.getPrototypeOf(a.prototype),"leftEncode",this).call(this,e,o)}},{key:"rightText",value:function(){return r(a.prototype.__proto__||Object.getPrototypeOf(a.prototype),"rightText",this).call(this,7,6)}},{key:"rightEncode",value:function(){var t=this.data.substr(7,6);return r(a.prototype.__proto__||Object.getPrototypeOf(a.prototype),"rightEncode",this).call(this,t,"RRRRRR")}},{key:"encodeGuarded",value:function(){var t=r(a.prototype.__proto__||Object.getPrototypeOf(a.prototype),"encodeGuarded",this).call(this);return this.options.displayValue&&(t.unshift({data:"000000000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),this.options.lastChar&&(t.push({data:"00"}),t.push({data:"00000",text:this.options.lastChar,options:{fontSize:this.fontSize}}))),t}}]),a}();exports.EAN13=i;
"use strict";const e=require("./constants.js"),t=require("./encoder.js"),r=require("../Barcode.js");var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();var o=function(o){function a(e,t){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,e,t))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(a,r.Barcode),n(a,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{2}$/)}},{key:"encode",value:function(){var r=e._constants.EAN2_STRUCTURE[parseInt(this.data)%4];return{data:"1011"+t.encode(this.data,r,"01"),text:this.text}}}]),a}();exports.EAN2=o;
"use strict";const e=require("./constants.js"),t=require("./encoder.js"),n=require("../Barcode.js");var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var o=function(o){function i(e,t){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(i.__proto__||Object.getPrototypeOf(i)).call(this,e,t))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(i,n.Barcode),r(i,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{5}$/)}},{key:"encode",value:function(){var n,r=e._constants.EAN5_STRUCTURE[(n=this.data,n.split("").map((function(e){return+e})).reduce((function(e,t,n){return n%2?e+9*t:e+3*t}),0)%10)];return{data:"1011"+t.encode(this.data,r,"01"),text:this.text}}}]),i}();exports.EAN5=o;
"use strict";const t=require("./EAN.js");var e=function(){function t(t,e){for(var r=0;r<e.length;r++){var o=e[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,r,o){return r&&t(e.prototype,r),o&&t(e,o),e}}(),r=function t(e,r,o){null===e&&(e=Function.prototype);var n=Object.getOwnPropertyDescriptor(e,r);if(void 0===n){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,r,o)}if("value"in n)return n.value;var u=n.get;return void 0!==u?u.call(o):void 0};var o=function(t){return(10-t.substr(0,7).split("").map((function(t){return+t})).reduce((function(t,e,r){return r%2?t+e:t+3*e}),0)%10)%10},n=function(n){function i(t,e){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),-1!==t.search(/^[0-9]{7}$/)&&(t+=o(t)),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(i.__proto__||Object.getPrototypeOf(i)).call(this,t,e))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(i,t.EAN),e(i,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{8}$/)&&+this.data[7]===o(this.data)}},{key:"leftText",value:function(){return r(i.prototype.__proto__||Object.getPrototypeOf(i.prototype),"leftText",this).call(this,0,4)}},{key:"leftEncode",value:function(){var t=this.data.substr(0,4);return r(i.prototype.__proto__||Object.getPrototypeOf(i.prototype),"leftEncode",this).call(this,t,"LLLL")}},{key:"rightText",value:function(){return r(i.prototype.__proto__||Object.getPrototypeOf(i.prototype),"rightText",this).call(this,4,4)}},{key:"rightEncode",value:function(){var t=this.data.substr(4,4);return r(i.prototype.__proto__||Object.getPrototypeOf(i.prototype),"rightEncode",this).call(this,t,"RRRR")}}]),i}();exports.EAN8=n;
"use strict";const t=require("./encoder.js");var e=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}();function i(t){var e,i=0;for(e=1;e<11;e+=2)i+=parseInt(t[e]);for(e=0;e<11;e+=2)i+=3*parseInt(t[e]);return(10-i%10)%10}const n={UPC:function(n){function a(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),-1!==t.search(/^[0-9]{11}$/)&&(t+=i(t));var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,t,e));return n.displayValue=e.displayValue,e.fontSize>10*e.width?n.fontSize=10*e.width:n.fontSize=e.fontSize,n.guardHeight=e.height+n.fontSize/2+e.textMargin,n}return e(a,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{12}$/)&&this.data[11]==i(this.data)}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var e="";return e+="101",e+=t.encode(this.data.substr(0,6),"LLLLLL"),e+="01010",e+=t.encode(this.data.substr(6,6),"RRRRRR"),{data:e+="101",text:this.text}}},{key:"guardedEncoding",value:function(){var e=[];return this.displayValue&&e.push({data:"00000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),e.push({data:"101"+t.encode(this.data[0],"L"),options:{height:this.guardHeight}}),e.push({data:t.encode(this.data.substr(1,5),"LLLLL"),text:this.text.substr(1,5),options:{fontSize:this.fontSize}}),e.push({data:"01010",options:{height:this.guardHeight}}),e.push({data:t.encode(this.data.substr(6,5),"RRRRR"),text:this.text.substr(6,5),options:{fontSize:this.fontSize}}),e.push({data:t.encode(this.data[11],"R")+"101",options:{height:this.guardHeight}}),this.displayValue&&e.push({data:"00000000",text:this.text.substr(11,1),options:{textAlign:"right",fontSize:this.fontSize}}),e}}]),a}(),checksum:i};exports.UPC=n;
"use strict";const t=require("./encoder.js"),e=require("../Barcode.js"),i=require("./UPC.js");var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}();function r(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var o=["XX00000XXX","XX10000XXX","XX20000XXX","XXX00000XX","XXXX00000X","XXXXX00005","XXXXX00006","XXXXX00007","XXXXX00008","XXXXX00009"],s=[["EEEOOO","OOOEEE"],["EEOEOO","OOEOEE"],["EEOOEO","OOEEOE"],["EEOOOE","OOEEEO"],["EOEEOO","OEOOEE"],["EOOEEO","OEEOOE"],["EOOOEE","OEEEOO"],["EOEOEO","OEOEOE"],["EOEOOE","OEOEEO"],["EOOEOE","OEEOEO"]],u=function(i){function o(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,o);var i=r(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,t,e));if(i.isValid=!1,-1!==t.search(/^[0-9]{6}$/))i.middleDigits=t,i.upcA=a(t,"0"),i.text=e.text||""+i.upcA[0]+t+i.upcA[i.upcA.length-1],i.isValid=!0;else{if(-1===t.search(/^[01][0-9]{7}$/))return r(i);if(i.middleDigits=t.substring(1,t.length-1),i.upcA=a(i.middleDigits,t[0]),i.upcA[i.upcA.length-1]!==t[t.length-1])return r(i);i.isValid=!0}return i.displayValue=e.displayValue,e.fontSize>10*e.width?i.fontSize=10*e.width:i.fontSize=e.fontSize,i.guardHeight=e.height+i.fontSize/2+e.textMargin,i}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(o,e.Barcode),n(o,[{key:"valid",value:function(){return this.isValid}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var t="";return t+="101",t+=this.encodeMiddleDigits(),{data:t+="010101",text:this.text}}},{key:"guardedEncoding",value:function(){var t=[];return this.displayValue&&t.push({data:"00000000",text:this.text[0],options:{textAlign:"left",fontSize:this.fontSize}}),t.push({data:"101",options:{height:this.guardHeight}}),t.push({data:this.encodeMiddleDigits(),text:this.text.substring(1,7),options:{fontSize:this.fontSize}}),t.push({data:"010101",options:{height:this.guardHeight}}),this.displayValue&&t.push({data:"00000000",text:this.text[7],options:{textAlign:"right",fontSize:this.fontSize}}),t}},{key:"encodeMiddleDigits",value:function(){var e=this.upcA[0],i=this.upcA[this.upcA.length-1],n=s[parseInt(i)][parseInt(e)];return t.encode(this.middleDigits,n)}}]),o}();function a(t,e){for(var n=parseInt(t[t.length-1]),r=o[n],s="",u=0,a=0;a<r.length;a++){var E=r[a];s+="X"===E?t[u++]:E}return""+(s=""+e+s)+(0,i.UPC.checksum)(s)}exports.UPCE=u;
"use strict";const L={SIDE_BIN:"101",MIDDLE_BIN:"01010",BINARIES:{L:["0001101","0011001","0010011","0111101","0100011","0110001","0101111","0111011","0110111","0001011"],G:["0100111","0110011","0011011","0100001","0011101","0111001","0000101","0010001","0001001","0010111"],R:["1110010","1100110","1101100","1000010","1011100","1001110","1010000","1000100","1001000","1110100"],O:["0001101","0011001","0010011","0111101","0100011","0110001","0101111","0111011","0110111","0001011"],E:["0100111","0110011","0011011","0100001","0011101","0111001","0000101","0010001","0001001","0010111"]},EAN2_STRUCTURE:["LL","LG","GL","GG"],EAN5_STRUCTURE:["GGLLL","GLGLL","GLLGL","GLLLG","LGGLL","LLGGL","LLLGG","LGLGL","LGLLG","LLGLG"],EAN13_STRUCTURE:["LLLLLL","LLGLGG","LLGGLG","LLGGGL","LGLLGG","LGGLLG","LGGGLL","LGLGLG","LGLGGL","LGGLGL"]};exports._constants=L;
"use strict";const n=require("./constants.js");exports.encode=function(t,r,e){var o=t.split("").map((function(t,e){return n._constants.BINARIES[r[e]]})).map((function(n,r){return n?n[t[r]]:""}));if(e){var s=t.length-1;o=o.map((function(n,t){return t<s?n+e:n}))}return o.join("")};
"use strict";const E=require("./EAN13.js"),e=require("./EAN8.js"),r=require("./EAN5.js"),A=require("./EAN2.js"),N=require("./UPC.js"),s=require("./UPCE.js"),C={EAN13:E.EAN13,EAN8:e.EAN8,EAN5:r.EAN5,EAN2:A.EAN2,UPC:N.UPC.UPC,UPCE:s.UPCE};exports._EAN_UPC=C;
"use strict";const t=require("./constants.js"),e=require("../Barcode.js");var n=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}();function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var a=function(a){function i(){return r(this,i),o(this,(i.__proto__||Object.getPrototypeOf(i)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(i,e.Barcode),n(i,[{key:"valid",value:function(){return-1!==this.data.search(/^([0-9]{2})+$/)}},{key:"encode",value:function(){var e=this,n=this.data.match(/.{2}/g).map((function(t){return e.encodePair(t)})).join("");return{data:t._constants.START_BIN+n+t._constants.END_BIN,text:this.text}}},{key:"encodePair",value:function(e){var n=t._constants.BINARIES[e[1]];return t._constants.BINARIES[e[0]].split("").map((function(t,e){return("1"===t?"111":"1")+("1"===n[e]?"000":"0")})).join("")}}]),i}();exports.ITF=a;
"use strict";const t=require("./ITF.js");var e=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();var r=function(t){var e=t.substr(0,13).split("").map((function(t){return parseInt(t,10)})).reduce((function(t,e,r){return t+e*(3-r%2*2)}),0);return 10*Math.ceil(e/10)-e},n=function(n){function o(t,e){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,o),-1!==t.search(/^[0-9]{13}$/)&&(t+=r(t)),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,t,e))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(o,t.ITF),e(o,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{14}$/)&&+this.data[13]===r(this.data)}}]),o}();exports.ITF14=n;
"use strict";const s={START_BIN:"1010",END_BIN:"11101",BINARIES:["00110","10001","01001","11000","00101","10100","01100","00011","10010","01010"]};exports._constants=s;
"use strict";const F=require("./ITF.js"),I=require("./ITF14.js"),T={ITF:F.ITF,ITF14:I.ITF14};exports._ITF=T;
"use strict";const t=require("../Barcode.js");var e=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();var r=function(r){function o(t,e){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,o),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,t,e))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(o,t.Barcode),e(o,[{key:"encode",value:function(){for(var t="110",e=0;e<this.data.length;e++){var r=parseInt(this.data[e]).toString(2);r=n(r,4-r.length);for(var o=0;o<r.length;o++)t+="0"==r[o]?"100":"110"}return{data:t+="1001",text:this.text}}},{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]+$/)}}]),o}();function n(t,e){for(var r=0;r<e;r++)t="0"+t;return t}exports.MSI=r;
"use strict";const e=require("./MSI.js"),t=require("./checksums.js");var o=function(o){function r(e,o){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,e+(0,t._checksums.mod10)(e),o))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(r,e.MSI),r}();exports.MSI10=o;
"use strict";const e=require("./MSI.js"),t=require("./checksums.js");var o=function(o){function r(e,o){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),e+=(0,t._checksums.mod10)(e),e+=(0,t._checksums.mod10)(e),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,e,o))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(r,e.MSI),r}();exports.MSI1010=o;
"use strict";const e=require("./MSI.js"),t=require("./checksums.js");var o=function(o){function r(e,o){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,e+(0,t._checksums.mod11)(e),o))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(r,e.MSI),r}();exports.MSI11=o;
"use strict";const e=require("./MSI.js"),t=require("./checksums.js");var o=function(o){function r(e,o){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),e+=(0,t._checksums.mod11)(e),e+=(0,t._checksums.mod10)(e),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,e,o))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(r,e.MSI),r}();exports.MSI1110=o;
"use strict";const t={mod10:function(t){for(var r=0,n=0;n<t.length;n++){var e=parseInt(t[n]);(n+t.length)%2==0?r+=e:r+=2*e%10+Math.floor(2*e/10)}return(10-r%10)%10},mod11:function(t){for(var r=0,n=[2,3,4,5,6,7],e=0;e<t.length;e++){var o=parseInt(t[t.length-1-e]);r+=n[e%n.length]*o}return(11-r%11)%11}};exports._checksums=t;
"use strict";const I=require("./MSI.js"),M=require("./MSI10.js"),S=require("./MSI11.js"),e=require("./MSI1010.js"),r=require("./MSI1110.js"),s={MSI:I.MSI,MSI10:M.MSI10,MSI11:S.MSI11,MSI1010:e.MSI1010,MSI1110:r.MSI1110};exports._MSI=s;
"use strict";const t=require("../Barcode.js");var e=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}();var n=function(n){function r(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,r),0===t.search(/^[0-9\-\$\:\.\+\/]+$/)&&(t="A"+t+"A");var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,t.toUpperCase(),e));return n.text=n.options.text||n.text.replace(/[A-D]/g,""),n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(r,t.Barcode),e(r,[{key:"valid",value:function(){return-1!==this.data.search(/^[A-D][0-9\-\$\:\.\+\/]+[A-D]$/)}},{key:"encode",value:function(){for(var t=[],e=this.getEncodings(),n=0;n<this.data.length;n++)t.push(e[this.data.charAt(n)]),n!==this.data.length-1&&t.push("0");return{text:this.text,data:t.join("")}}},{key:"getEncodings",value:function(){return{0:"101010011",1:"101011001",2:"101001011",3:"110010101",4:"101101001",5:"110101001",6:"100101011",7:"100101101",8:"100110101",9:"110100101","-":"101001101",$:"101100101",":":"1101011011","/":"1101101011",".":"1101101101","+":"101100110011",A:"1011001001",B:"1001001011",C:"1010010011",D:"1010011001"}}}]),r}();exports.codabar=n;
"use strict";const E=require("./CODE39/index.js"),C=require("./CODE128/index.js"),e=require("./EAN_UPC/index.js"),_=require("./ITF/index.js"),I=require("./MSI/index.js"),r=require("./pharmacode/index.js"),A=require("./codabar/index.js"),D={CODE128:C._CODE2.CODE128,CODE128A:C._CODE2.CODE128A,CODE128B:C._CODE2.CODE128B,CODE128C:C._CODE2.CODE128C,EAN13:e._EAN_UPC.EAN13,EAN8:e._EAN_UPC.EAN8,EAN5:e._EAN_UPC.EAN5,EAN2:e._EAN_UPC.EAN2,UPC:e._EAN_UPC.UPCE,UPCE:e._EAN_UPC.UPCE,ITF14:_._ITF.ITF14,ITF:_._ITF.ITF,MSI:I._MSI.MSI,MSI10:I._MSI.MSI10,MSI11:I._MSI.MSI11,MSI1010:I._MSI.MSI1010,MSI1110:I._MSI.MSI1110,PHARMACODE:r.pharmacode,CODABAR:A.codabar,CODE39:E.CODE39};exports.barcodes=D;
"use strict";const e=require("../Barcode.js");var t=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();var r=function(r){function n(e,t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e,t));return r.number=parseInt(e,10),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,e.Barcode),t(n,[{key:"encode",value:function(){for(var e=this.number,t="";!isNaN(e)&&0!=e;)e%2==0?(t="11100"+t,e=(e-2)/2):(t="100"+t,e=(e-1)/2);return{data:t=t.slice(0,-2),text:this.text}}},{key:"valid",value:function(){return this.number>=3&&this.number<=131070}}]),n}();exports.pharmacode=r;
"use strict";const t=require("../../../../common/vendor.js"),e=require("./barcode.js"),i={width:4,height:120,displayValue:!0,textAlign:"center",textPosition:"bottom",textMargin:0,fontSize:24,fontColor:"#000000",lineColor:"#000000",background:"#FFFFFF",margin:0,marginTop:void 0,marginBottom:void 0,marginLeft:void 0,marginRight:void 0},a={name:"tkiBarcode",props:{show:{type:Boolean,default:!0},cid:{type:String,default:"tki-barcode-canvas"},unit:{type:String,default:"upx"},val:{type:String,default:""},format:{type:String,default:"CODE128"},opations:{type:Object,default:function(){return{}}},onval:{type:Boolean,default:!1},loadMake:{type:Boolean,default:!0}},data:()=>({result:"",canvasWidth:0,canvasHeight:0,defaultOpations:Object.assign({},i)}),onUnload:function(){},methods:{_makeCode(){let a=this;Object.assign(this.defaultOpations,this.opations),"upx"==a.unit&&(a.defaultOpations.width&&(a.defaultOpations.width=t.index.upx2px(a.defaultOpations.width)),a.defaultOpations.height&&(a.defaultOpations.height=t.index.upx2px(a.defaultOpations.height)),a.defaultOpations.fontSize&&(a.defaultOpations.fontSize=t.index.upx2px(a.defaultOpations.fontSize))),a._empty(a.defaultOpations.text)&&(a.defaultOpations.text=a.val),a._empty(a.defaultOpations.format)&&(a.defaultOpations.format=a.format),new e.barCode(a,a.cid,a.defaultOpations,(function(t){a.canvasWidth=t.width,a.canvasHeight=t.height}),(function(t){a._result(t),a.defaultOpations=i}))},_clearCode(){this._result("")},_saveCode(){let e=this;""!=this.result&&t.index.saveImageToPhotosAlbum({filePath:e.result,success:function(){t.index.showToast({title:"条形码保存成功",icon:"success",duration:2e3})}})},_result(t){this.result=t,this.$emit("result",t)},_empty(t){let e=typeof t,i=!1;return"number"==e&&""==String(t)||"undefined"==e?i=!0:"object"==e?"{}"!=JSON.stringify(t)&&"[]"!=JSON.stringify(t)&&null!=t||(i=!0):"string"==e?""!=t&&"undefined"!=t&&"null"!=t&&"{}"!=t&&"[]"!=t||(i=!0):"function"==e&&(i=!1),i}},watch:{val(t,e){this.onval&&(t==e||this._empty(t)||setTimeout((()=>{this._makeCode()}),0))},opations:{handler(t,e){this.onval&&(this._empty(t)||setTimeout((()=>{this._makeCode()}),0))},deep:!0}},mounted:function(){this.loadMake&&(this._empty(this.val)||setTimeout((()=>{this._makeCode()}),0))}};const n=t._export_sfc(a,[["render",function(t,e,i,a,n,o){return{a:i.cid,b:n.canvasWidth+"px",c:n.canvasHeight+"px",d:i.show,e:n.result,f:n.canvasWidth+"px",g:n.canvasHeight+"px"}}]]);wx.createComponent(n);
{
"component": true,
"usingComponents": {}
}
\ No newline at end of file
<view class="tki-barcode"><block wx:if="{{r0}}"><canvas class="tki-barcode-canvas" canvas-id="{{a}}" style="{{'width:' + b + ';' + ('height:' + c)}}"/></block><image hidden="{{!d}}" src="{{e}}" style="{{'width:' + f + ';' + ('height:' + g)}}"/></view>
\ No newline at end of file
.tki-barcode{text-align:right;position:relative}.tki-barcode-canvas{position:fixed!important;top:-99999rpx;left:-99999rpx;z-index:-99999}
"use strict";const t=require("../../../common/vendor.js"),e={name:"jnpf-button",props:{align:{default:"left"},buttonText:{default:""},disabled:{type:Boolean,default:!1},type:{default:""}},computed:{realType(){return this.type?"danger"===this.type?"error":this.type:"default"}},data:()=>({customStyle:{display:"inline-block"}}),methods:{onClick(t){this.$emit("click",t)}}};if(!Array){t.resolveComponent("u-button")()}Math;const n=t._export_sfc(e,[["render",function(e,n,o,a,l,r){return{a:t.t(o.buttonText),b:t.o(r.onClick),c:t.p({"custom-style":l.customStyle,type:r.realType,disabled:o.disabled}),d:t.n("jnpf-button jnpf-button-"+o.align)}}],["__scopeId","data-v-47017920"]]);wx.createComponent(n);
{
"component": true,
"usingComponents": {
"u-button": "../../../uni_modules/vk-uview-ui/components/u-button/u-button"
}
}
\ No newline at end of file
<view class="{{['data-v-47017920', d]}}"><u-button wx:if="{{c}}" class="data-v-47017920" u-s="{{['d']}}" bindclick="{{b}}" u-i="47017920-0" bind:__l="__l" u-p="{{c}}">{{a}}</u-button></view>
\ No newline at end of file
.jnpf-button.data-v-47017920{width:100%}.jnpf-button.jnpf-button-left.data-v-47017920{text-align:left}.jnpf-button.jnpf-button-center.data-v-47017920{text-align:center}.jnpf-button.jnpf-button-right.data-v-47017920{text-align:right}
"use strict";const e=require("../../../common/vendor.js"),t=e=>{const t=[],n=[],r=e=>e.length>0?e[e.length-1]:null,s=(e,t)=>{const n=e=>["+-","×÷","()"].findIndex((t=>t.includes(e)));return n(e)-n(t)};for(e.forEach((e=>{if("string"==typeof e&&Number.isNaN(Number(e)))if("("===e)t.push(e);else if(")"===e){let e;do{e=t.pop(),"("!==e&&n.push(e)}while(t.length&&"("!==e)}else{let i=r(t);if(i){for(;i&&"("!==i&&s(i,e)>=0;)n.push(t.pop()),i=r(t);t.push(e)}else t.push(e)}else n.push(e)}));t.length;)n.push(t.pop());return n},n=e=>{const t=[],n=e=>/^[\d|\.]$/.test(e);for(let r=0;r<e.length;r++)r>0&&n(e[r-1])&&n(e[r])?t[t.length-1]+=e[r]:t.push(e[r]);return t},r={name:"jnpf-calculation",props:{modelValue:{type:[String,Number],default:""},vModel:{type:String,default:""},thousands:{type:Boolean,default:!1},precision:{default:0},isAmountChinese:{type:Boolean,default:!1},expression:{type:Array,default:[]},config:{type:Object,default:{}},formData:{type:Object,default:{}},rowIndex:{type:[String,Number],default:""}},data(){return{innerValue:"",RPN_EXP:t(n(this.expression)),rmbText:"",subValue:0}},watch:{formData:{handler(e,t){setTimeout((()=>{this.execRPN()}),0)},deep:!0,immediate:!0},modelValue:{handler(e,t){this.innerValue=e},deep:!0,immediate:!0}},methods:{execRPN(){const e=this.RPN_EXP.map((e=>"object"==typeof e?this.getFormVal(e.__vModel__):e));this.innerValue=parseFloat(parseFloat((e=>{e=e.concat();const t=(e,t,n)=>{let r=Number(e),s=Number(t);switch(n){case"+":return r+s;case"-":return r-s;case"×":return r*s;case"÷":return r/s}};for(let n=2;n<e.length;n++)if("+-×÷".includes(e[n])){let r=t(e[n-2],e[n-1],e[n]);e.splice(n-2,3,r),n-=2}return e[0]})(e)).toFixed(this.precision||0)),this.subValue=JSON.parse(JSON.stringify(this.innerValue)),isNaN(this.innerValue)&&(this.innerValue=0),this.rmbText=this.jnpf.getAmountChinese(Number(this.subValue)||0),this.$emit("update:modelValue",this.subValue),this.thousands&&(this.innerValue=this.numFormat(this.innerValue))},numFormat(e){let t=(e=e.toString().split("."))[0].split("").reverse(),n=[];for(let r=0,s=t.length;r<s;r++)r%3==0&&0!==r&&n.push(","),n.push(t[r]);return n.reverse(),n=e[1]?n.join("").concat("."+e[1]):n.join(""),n},getFormVal(e){try{if(e.indexOf(".")>-1){let[t,n]=e.split(".");return"number"==typeof this.rowIndex?this.formData[t][this.rowIndex][n]||0:this.formData[t].reduce(((e,t)=>(t[n]?Number(t[n]):0)+e),0)}return this.formData[e]||0}catch(t){return console.warn("计算公式出错, 可能包含无效的组件值",t),0}}}};if(!Array){e.resolveComponent("u-input")()}Math;const s=e._export_sfc(r,[["render",function(t,n,r,s,i,u){return e.e({a:e.o((e=>i.innerValue=e)),b:e.p({"input-align":"right",disabled:!0,placeholder:"0.00",modelValue:i.innerValue}),c:r.isAmountChinese},r.isAmountChinese?{d:e.t(i.rmbText)}:{})}],["__scopeId","data-v-7bb548cf"]]);wx.createComponent(s);
{
"component": true,
"usingComponents": {
"u-input": "../../../uni_modules/vk-uview-ui/components/u-input/u-input"
}
}
\ No newline at end of file
<view class="jnpf-calculation jnpf-calculation-right data-v-7bb548cf"><u-input wx:if="{{b}}" class="data-v-7bb548cf" u-i="7bb548cf-0" bind:__l="__l" bindupdateModelValue="{{a}}" u-p="{{b}}"/><view wx:if="{{c}}" class="tips data-v-7bb548cf">{{d}}</view></view>
\ No newline at end of file
.jnpf-calculation.data-v-7bb548cf{width:100%}.jnpf-calculation.jnpf-calculation-right.data-v-7bb548cf{text-align:right}.jnpf-calculation .tips.data-v-7bb548cf{color:#999;line-height:40rpx}
"use strict";require("../../../utils/request.js");const e=require("../../../common/vendor.js"),t={label:"fullName",value:"id",icon:"icon",children:"children"},s={name:"tree-select",props:{selectList:{type:Array,default:()=>[]},selectedId:{type:Array,default:()=>[]},selectData:{type:Array,default:()=>[]},options:{type:Array,default:()=>[]},border:{type:Boolean,default:!0},filterable:{type:Boolean,default:!1},showAllLevels:{type:Boolean,default:!0},clearable:{type:Boolean,default:!1},modelValue:{type:Boolean,default:!1},cancelColor:{type:String,default:"#606266"},confirmColor:{type:String,default:"#2979ff"},zIndex:{type:[String,Number],default:0},safeAreaInsetBottom:{type:Boolean,default:!1},maskCloseAble:{type:Boolean,default:!0},props:{type:Object,default:()=>({label:"fullName",value:"id",icon:"icon",children:"children",isLeaf:"isLeaf"})},multiple:{type:Boolean,default:!1},title:{type:String,default:""},cancelText:{type:String,default:"取消"},confirmText:{type:String,default:"确认"},level:{type:Number,default:0}},data:()=>({moving:!1,selectListText:[],selectListId:[],selectListData:[],newListId:[],filterText:"",showPopup:!1}),watch:{modelValue:{immediate:!0,handler(e){this.showPopup=e,e&&setTimeout((()=>this.init()),10)}},filterText(e){this.$refs.tree.filter(e)}},created(){this.init()},computed:{uZIndex(){return this.zIndex?this.zIndex:this.$u.zIndex.popup},realProps(){return{...t,...this.props}}},methods:{init(){this.selectListText=this.$u.deepClone(this.selectList),this.selectListId=this.$u.deepClone(this.selectedId),this.selectListData=this.$u.deepClone(this.selectData)},filterNode(e,t){return!e||-1!==t[this.props.label].indexOf(e)},handleNodeClick(e){if(!e.parentId&&!e.isLeaf)return;let t=this.$refs.tree.getNodePath(e),s=[],l=e.data;this.multiple||(this.selectListText=[],this.selectListId=[],this.selectListData=[]);let i="",o="";for(let n=0;n<t.length;n++)s.push(t[n][this.props.value]),o+=(n?",":"")+t[n][this.props.value],i+=(n?"/":"")+t[n][this.props.label];this.showAllLevels?this.selectListText.push(i):this.selectListText.push(l[this.props.label]),this.selectListText=[...new Set(this.selectListText)];for(var a=!1,r=0;r<this.selectListId.length;r++)if(this.selectListId[r].join(",")===o){a=!0;break}!a&&this.selectListId.push(s),this.selectListData=t},delSelect(e){this.selectListText.splice(e,1),this.selectListId.splice(e,1),this.selectListData.splice(e,1)},setCheckAll(){this.selectListText=[],this.selectListId=[],this.selectListData=[],this.$refs.tree.setCheckAll(!1)},handleConfirm(){this.$emit("confirm",this.selectListText,this.selectListId,this.selectListData),this.close()},close(){this.$emit("close",!1)}}};if(!Array){(e.resolveComponent("u-search")+e.resolveComponent("u-tag")+e.resolveComponent("ly-tree")+e.resolveComponent("u-button")+e.resolveComponent("u-popup"))()}Math||((()=>"../../../uni_modules/vk-uview-ui/components/u-search/u-search.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-tag/u-tag.js")+(()=>"../../ly-tree/ly-tree.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-button/u-button.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-popup/u-popup.js"))();const l=e._export_sfc(s,[["render",function(t,s,l,i,o,a){return e.e({a:e.o(((...e)=>a.close&&a.close(...e))),b:l.filterable},l.filterable?{c:e.o((e=>o.filterText=e)),d:e.p({placeholder:"请输入关键词搜索",height:"72","show-action":!1,"bg-color":"#f0f2f6",shape:"square",modelValue:o.filterText})}:{},{e:l.multiple},l.multiple?{f:e.o(((...e)=>a.setCheckAll&&a.setCheckAll(...e)))}:{},{g:e.f(o.selectListText,((t,s,l)=>({a:e.o((e=>a.delSelect(s)),s),b:s,c:"f8992112-2-"+l+",f8992112-0",d:e.p({closeable:!0,text:t})}))),h:e.sr("tree","f8992112-3,f8992112-0"),i:e.o(a.handleNodeClick),j:e.p({"tree-data":l.options,"check-on-click-node":!0,"default-expand-all":!0,"node-key":a.realProps.value,"highlight-current":!0,props:a.realProps,"filter-node-method":a.filterNode}),k:e.o((e=>a.close())),l:e.o(a.handleConfirm),m:e.p({type:"primary"}),n:e.o(a.close),o:e.o((e=>o.showPopup=e)),p:e.p({width:"100%",length:"auto",mode:"right",popup:!1,safeAreaInsetBottom:l.safeAreaInsetBottom,maskCloseAble:l.maskCloseAble,"z-index":a.uZIndex,modelValue:o.showPopup})})}]]);wx.createComponent(l);
{
"component": true,
"usingComponents": {
"u-search": "../../../uni_modules/vk-uview-ui/components/u-search/u-search",
"u-tag": "../../../uni_modules/vk-uview-ui/components/u-tag/u-tag",
"ly-tree": "../../ly-tree/ly-tree",
"u-button": "../../../uni_modules/vk-uview-ui/components/u-button/u-button",
"u-popup": "../../../uni_modules/vk-uview-ui/components/u-popup/u-popup"
}
}
\ No newline at end of file
<u-popup wx:if="{{p}}" u-s="{{['d']}}" class="jnpf-tree-select-popup" bindclose="{{n}}" u-i="f8992112-0" bind:__l="__l" bindupdateModelValue="{{o}}" u-p="{{p}}"><view class="jnpf-tree-select-body"><view class="jnpf-tree-select-title"><text class="icon-ym icon-ym-report-icon-preview-pagePre backIcon" bindtap="{{a}}"></text><view class="title">级联选择</view></view><view wx:if="{{b}}" class="jnpf-tree-select-search"><u-search wx:if="{{d}}" u-i="f8992112-1,f8992112-0" bind:__l="__l" bindupdateModelValue="{{c}}" u-p="{{d}}"></u-search></view><view class="jnpf-tree-selected"><view class="jnpf-tree-selected-head"><view>已选</view><view wx:if="{{e}}" class="clear-btn" bindtap="{{f}}">清空列表</view></view><view class="jnpf-tree-selected-box"><scroll-view scroll-y="true" class="select-list"><u-tag wx:for="{{g}}" wx:for-item="list" wx:key="b" bindclose="{{list.a}}" class="u-selectTag" u-i="{{list.c}}" bind:__l="__l" u-p="{{list.d}}"/></scroll-view></view></view><view class="jnpf-tree-select-tree"><scroll-view scroll-y="{{true}}" style="height:100%"><ly-tree wx:if="{{j}}" class="r" u-r="tree" bindnodeClick="{{i}}" u-i="f8992112-3,f8992112-0" bind:__l="__l" u-p="{{j}}"/></scroll-view></view><view class="jnpf-tree-select-actions"><u-button u-s="{{['d']}}" class="buttom-btn" bindclick="{{k}}" u-i="f8992112-4,f8992112-0" bind:__l="__l">取消</u-button><u-button wx:if="{{m}}" u-s="{{['d']}}" class="buttom-btn" catchclick="{{l}}" u-i="f8992112-5,f8992112-0" bind:__l="__l" u-p="{{m}}">确定</u-button></view></view></u-popup>
\ No newline at end of file
"use strict";const e=require("../../../common/vendor.js"),l={name:"jnpf-cascader",components:{Tree:()=>"./Tree.js"},props:{modelValue:{default:""},placeholder:{type:String,default:"请选择"},options:{type:Array,default:()=>[]},props:{type:Object,default:()=>({label:"fullName",value:"id",children:"children"})},disabled:{type:Boolean,default:!1},multiple:{type:Boolean,default:!1},showAllLevels:{type:Boolean,default:!0},filterable:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1}},watch:{modelValue:{handler(e){this.setDefault(this.modelValue)},immediate:!0},options:{handler(e){this.setDefault(this.modelValue)},deep:!0}},data:()=>({selectShow:!1,innerValue:"",selectList:[],selectData:[],allList:[]}),methods:{async setDefault(l){if(this.innerValue="",this.selectData=[],this.selectList=[],!l||!(null==l?void 0:l.length))return;this.allList=await this.treeToArray(l),this.multiple||(l=[l]);let t=[];for(let s=0;s<l.length;s++){let a=e.index.$u.deepClone(l[s]);for(let e=0;e<a.length;e++)for(let l=0;l<this.allList.length;l++)if(a[e]===this.allList[l][this.props.value]){a[e]=this.allList[l][this.props.label],this.selectData.push(this.allList[l]);break}t.push(a)}this.selectList=t.map((e=>this.showAllLevels?e.join("/"):e[e.length-1])),this.innerValue=this.selectList.join()},async treeToArray(){let l=e.index.$u.deepClone(this.options),t=[];const s=e=>{for(let l=0;l<e.length;l++){const a=e[l];t.push(a),a[this.props.children]&&Array.isArray(a[this.props.children])&&s(a[this.props.children])}};return s(l),t},openSelect(){this.disabled||(this.selectShow=!0)},handleConfirm(e,l,t){this.selectList=e,this.innerValue=e.join(),this.multiple?(this.$emit("update:modelValue",l),this.$emit("change",l,t)):(this.$emit("update:modelValue",l[0]),this.$emit("change",l[0],t[0]))},handleClose(){this.selectShow=!1}}};if(!Array){(e.resolveComponent("u-input")+e.resolveComponent("Tree"))()}Math;const t=e._export_sfc(l,[["render",function(l,t,s,a,i,o){return e.e({a:e.o(o.openSelect),b:e.o((e=>i.innerValue=e)),c:e.p({"input-align":"right",type:"select","select-open":i.selectShow,placeholder:s.placeholder,modelValue:i.innerValue}),d:i.selectShow},i.selectShow?{e:e.o(o.handleClose),f:e.o(o.handleConfirm),g:e.o((e=>i.selectShow=e)),h:e.p({multiple:s.multiple,props:s.props,selectList:i.selectList,options:s.options,selectedId:s.multiple?s.modelValue:[s.modelValue],filterable:s.filterable,selectData:i.selectData,clearable:s.clearable,showAllLevels:s.showAllLevels,modelValue:i.selectShow})}:{})}],["__scopeId","data-v-6294fc0b"]]);wx.createComponent(t);
{
"component": true,
"usingComponents": {
"tree": "./Tree",
"u-input": "../../../uni_modules/vk-uview-ui/components/u-input/u-input"
}
}
\ No newline at end of file
<view class="jnpf-cascader data-v-6294fc0b"><u-input wx:if="{{c}}" class="data-v-6294fc0b" bindclick="{{a}}" u-i="6294fc0b-0" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}"/><tree wx:if="{{d}}" class="data-v-6294fc0b" bindclose="{{e}}" bindconfirm="{{f}}" u-i="6294fc0b-1" bind:__l="__l" bindupdateModelValue="{{g}}" u-p="{{h}}"/></view>
\ No newline at end of file
"use strict";const e=require("../../../common/vendor.js"),t={name:"jnpf-checkbox",inheritAttrs:!1,props:{modelValue:{type:Array,default:()=>[]},direction:{type:String,default:"horizontal"},options:{type:Array,default:()=>[]},props:{type:Object,default:()=>({label:"fullName",value:"id"})},disabled:{type:Boolean,default:!1}},data:()=>({optionList:[]}),watch:{modelValue:{handler(e){if(!e||!(null==e?void 0:e.length))return this.setColumnData();this.setDefault()},immediate:!0},options:{handler(e){this.setColumnData()},immediate:!0}},methods:{setDefault(){var e;if(this.modelValue&&(null==(e=this.modelValue)?void 0:e.length))for(let t=0;t<this.modelValue.length;t++)e:for(let e=0;e<this.optionList.length;e++)if(this.modelValue[t]===this.optionList[e][this.props.value]){this.optionList[e].checked=!0;break e}},setColumnData(){this.optionList=this.options.map((e=>({...e,checked:!1}))),this.setDefault()},onChange(e){const t=this.optionList.filter((e=>e.checked))||[];this.$emit("update:modelValue",e),this.$emit("change",e,t)}}};if(!Array){(e.resolveComponent("u-checkbox")+e.resolveComponent("u-checkbox-group"))()}Math||((()=>"../../../uni_modules/vk-uview-ui/components/u-checkbox/u-checkbox.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-checkbox-group/u-checkbox-group.js"))();const o=e._export_sfc(t,[["render",function(t,o,i,a,l,n){return{a:e.f(l.optionList,((t,o,a)=>({a:e.t(t[i.props.label]),b:o,c:"2b0ba8a4-1-"+a+",2b0ba8a4-0",d:e.o((e=>t.checked=e),o),e:e.p({name:t[i.props.value],modelValue:t.checked})}))),b:e.o(n.onChange),c:e.p({disabled:i.disabled,wrap:"horizontal"!=i.direction})}}]]);wx.createComponent(o);
{
"component": true,
"usingComponents": {
"u-checkbox": "../../../uni_modules/vk-uview-ui/components/u-checkbox/u-checkbox",
"u-checkbox-group": "../../../uni_modules/vk-uview-ui/components/u-checkbox-group/u-checkbox-group"
}
}
\ No newline at end of file
<u-checkbox-group wx:if="{{c}}" u-s="{{['d']}}" class="jnpf-checkbox" bindchange="{{b}}" u-i="2b0ba8a4-0" bind:__l="__l" u-p="{{c}}"><u-checkbox wx:for="{{a}}" wx:for-item="item" wx:key="b" u-s="{{['d']}}" u-i="{{item.c}}" bind:__l="__l" bindupdateModelValue="{{item.d}}" u-p="{{item.e}}">{{item.a}}</u-checkbox></u-checkbox-group>
\ No newline at end of file
"use strict";const o=require("../../../libs/color-typeConversion.js"),t=require("../../../common/vendor.js"),e={name:"jnpf-color-picker",components:{tColorPicker:()=>"./t-color-picker.js"},props:{modelValue:{default:""},colorFormat:{type:String,default:"hex"},disabled:{type:Boolean,default:!1}},data:()=>({bgColor:"#fff",hsvObj:{},hsvList:["h","s","v"],innerValue:""}),watch:{modelValue:{handler(o){this.innerValue=o,this.setDafault()},immediate:!0}},methods:{open(o){this.disabled||this.$refs.colorPicker.open()},confirm(o){this.bgColor=o.colorVal,this.$emit("update:modelValue",this.bgColor),this.$emit("change",this.bgColor)},setDafault(){if(!this.innerValue)return this.bgColor="#fff";this.$nextTick((()=>{if("hsv"===this.colorFormat){let t="";this.innerValue.match(/\(([^)]*)\)/)[1].split(",").forEach(((o,t)=>{this.$set(this[this.colorFormat+"Obj"],this[this.colorFormat+"List"][t],o)})),t=o.conversion.hsv2rgb(this[this.colorFormat+"Obj"].h,this[this.colorFormat+"Obj"].s,this[this.colorFormat+"Obj"].v),this.bgColor=`rgb(${t.r},${t.g},${t.b})`}else this.bgColor=this.innerValue}))}}};if(!Array){(t.resolveComponent("uni-icons")+t.resolveComponent("t-color-picker"))()}Math;const r=t._export_sfc(e,[["render",function(o,e,r,i,s,l){return{a:t.p({type:"bottom",size:"10",color:"#c7c7c7"}),b:s.bgColor,c:t.o(((...o)=>l.open&&l.open(...o))),d:t.sr("colorPicker","174f191c-1"),e:t.o(l.confirm),f:t.p({color:s.innerValue,colorFormat:r.colorFormat})}}]]);wx.createComponent(r);
{
"component": true,
"usingComponents": {
"t-color-picker": "./t-color-picker",
"uni-icons": "../../../uni_modules/uni-icons/components/uni-icons/uni-icons"
}
}
\ No newline at end of file
<view class="jnpf-color-picker"><view class="color-box" bindtap="{{c}}"><view class="colorVal" style="{{'background-color:' + b}}"><uni-icons wx:if="{{a}}" u-i="174f191c-0" bind:__l="__l" u-p="{{a}}"></uni-icons></view></view><t-color-picker wx:if="{{f}}" class="r" u-r="colorPicker" bindconfirm="{{e}}" u-i="174f191c-1" bind:__l="__l" u-p="{{f}}"/></view>
\ No newline at end of file
.jnpf-color-picker{flex:1;display:flex;flex-direction:row;align-items:center;justify-content:flex-end}.jnpf-color-picker .color-box{width:70rpx;height:70rpx;border:1px solid #e6e6e6;background-color:#fff;border-radius:10rpx;display:flex;flex-direction:column;align-items:center;justify-content:center}.jnpf-color-picker .color-box .colorVal{width:48rpx;height:48rpx;border:1px solid #999;border-radius:6rpx;display:flex;flex-direction:column;align-items:center;justify-content:center;background-color:#fff}.jnpf-color-picker .color-box .colorVal .colorVal-inner{width:100%;height:100%;color:#c7c7c7;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center}
"use strict";const t=require("../../../common/vendor.js"),s=require("../../../libs/color-typeConversion.js"),o={props:{color:{default:""},colorFormat:{default:"hex"},isCommonColor:{type:Boolean,default:!1}},data:()=>({show:!1,active:!1,rgba:{r:0,g:0,b:0,a:1},hsb:{h:0,s:0,b:0},site:[{top:0,left:0},{left:0},{left:0}],index:0,bgcolor:{r:255,g:0,b:0,a:1},hex:"#000000",hsvList:["h","s","v"],hsvObj:{},hslList:["h","s","l"],hslObj:{},colorVal:"#000000",hsv:"",rgbObj:{},rgbList:["r","g","b"],rgbaList:["r","g","b","a"],rgbaObj:{},hsl:"",conversion:s.conversion}),created(){},methods:{open(){this.show=!0,this.$nextTick((()=>{this.init(),setTimeout((()=>{this.active=!0,setTimeout((()=>{this.getSelectorQuery()}),350)}),50)}))},init(){this.color&&("rgb"==this.colorFormat||"rgba"==this.colorFormat||"hsv"==this.colorFormat||"hsl"==this.colorFormat?(this.color.match(/\(([^)]*)\)/)[1].split(",").forEach(((t,s)=>{this.$set(this[this.colorFormat+"Obj"],this[this.colorFormat+"List"][s],t)})),"rgb"!=this.colorFormat&&"rgba"!=this.colorFormat||(this.rgba=this[this.colorFormat+"Obj"],this.hsb=s.conversion.rgbToHex(this.rgba),this.setValue(this.rgba)),"hsv"==this.colorFormat&&(this.rgba=s.conversion.hsv2rgb(this[this.colorFormat+"Obj"].h,this[this.colorFormat+"Obj"].s,this[this.colorFormat+"Obj"].v),this.hsb=s.conversion.rgbToHex(this.rgba),this.setValue(this.rgba)),"hsl"==this.colorFormat&&(this.rgba=s.conversion.hsl2rgb(parseInt(this.hslObj.h),parseInt(this.hslObj.s),parseInt(this.hslObj.l)),this.hsb=s.conversion.rgbToHex(this.rgba),this.setValue(this.rgba))):(this.rgba=s.conversion.hex2rgba(this.color),this.hsb=s.conversion.rgbToHex(this.rgba),this.setValue(this.rgba)))},moveHandle(){},close(){this.active=!1,this.$nextTick((()=>{setTimeout((()=>{this.show=!1}),500)}))},confirm(){this.$emit("confirm",{rgba:this.rgba,hex:this.hex,colorVal:this.colorVal,hsv:this.hsv,hsl:this.hsl}),this.close()},selectColor(t){this.setColorBySelect(t)},touchstart(t,s){const{clientX:o,clientY:h}=t.touches[0];this.pageX=o,this.pageY=h,this.setPosition(o,h,s)},touchmove(t,s){const{clientX:o,clientY:h}=t.touches[0];this.moveX=o,this.moveY=h,this.setPosition(o,h,s)},touchend(t,s){},setPosition(t,s,o){this.index=o;const{top:h,left:i,width:r,height:e}=this.position[o];this.site[o].left=Math.max(0,Math.min(parseInt(t-i),r)),0===o?(this.site[o].top=Math.max(0,Math.min(parseInt(s-h),e)),this.hsb.s=parseInt(100*this.site[o].left/r),this.hsb.b=parseInt(100-100*this.site[o].top/e),this.setColor(),this.setValue(this.rgba)):this.setControl(o,this.site[o].left)},setColor(){const t=s.conversion.HSBToRGB(this.hsb);this.rgba.r=t.r,this.rgba.g=t.g,this.rgba.b=t.b},setValue(t){let o=s.conversion.rgb2hsv(t.r,t.g,t.b),h=s.conversion.rgb2hsl(t.r,t.g,t.b);if(this.hsv="hsv("+o.h+","+o.s+","+o.v+")",this.hex="#"+s.conversion.rgbToHex(t),this.hsl="hsl("+h.h+","+h.s+","+h.l+")","hsv"==this.colorFormat){for(let t in o)"h"!=t&&(o[t]+="%");this.colorVal="hsv("+o.h+","+o.s+","+o.v+")"}else"hsl"==this.colorFormat?this.colorVal="hsl("+h.h+","+h.s+","+h.l+")":"rgba"==this.colorFormat?this.colorVal=this.colorFormat+"("+t.r+","+t.g+","+t.b+","+t.a+")":"rgb"==this.colorFormat?this.colorVal=this.colorFormat+"("+t.r+","+t.g+","+t.b+")":this.colorVal="#"+s.conversion.rgbToHex(t)},setControl(t,o){const{top:h,left:i,width:r,height:e}=this.position[t];1===t?(this.hsb.h=parseInt(360*o/r),this.bgcolor=s.conversion.HSBToRGB({h:this.hsb.h,s:100,b:100}),this.setColor()):this.rgba.a=(o/r).toFixed(1),this.setValue(this.rgba)},setColorBySelect(t){const{r:o,g:h,b:i,a:r}=t;let e={};e={r:o?parseInt(o):0,g:h?parseInt(h):0,b:i?parseInt(i):0,a:r||0},this.rgba=e,this.hsb=s.conversion.rgbToHsb(e),this.changeViewByHsb()},changeViewByHsb(){const[t,o,h]=this.position;this.site[0].left=parseInt(this.hsb.s*t.width/100),this.site[0].top=parseInt((100-this.hsb.b)*t.height/100),this.setColor(this.hsb.h),this.setValue(this.rgba),this.bgcolor=s.conversion.HSBToRGB({h:this.hsb.h,s:100,b:100}),this.site[1].left=this.hsb.h/360*o.width,"rgba"==this.colorFormat&&(this.site[2].left=this.rgba.a*h.width)},getSelectorQuery(){t.index.createSelectorQuery().in(this).selectAll(".boxs").boundingClientRect((t=>{t&&0!==t.length?(this.position=t,this.setColorBySelect(this.rgba)):this.getSelectorQuery()})).exec()}}};const h=t._export_sfc(o,[["render",function(s,o,h,i,r,e){return t.e({a:r.active?1:"",b:t.o(((...t)=>e.close&&e.close(...t))),c:t.o(((...t)=>e.close&&e.close(...t))),d:t.o(((...t)=>e.confirm&&e.confirm(...t))),e:r.site[0].top-8+"px",f:r.site[0].left-8+"px",g:t.o((t=>e.touchstart(t,0))),h:t.o((t=>e.touchmove(t,0))),i:t.o((t=>e.touchend(t,0))),j:"rgb("+r.bgcolor.r+","+r.bgcolor.g+","+r.bgcolor.b+")",k:"rgba"==h.colorFormat},"rgba"==h.colorFormat?{l:"rgba("+r.rgba.r+","+r.rgba.g+","+r.rgba.b+","+r.rgba.a+")"}:{},{m:r.site[1].left-12+"px",n:t.o((t=>e.touchstart(t,1))),o:t.o((t=>e.touchmove(t,1))),p:t.o((t=>e.touchend(t,1))),q:"rgba"==h.colorFormat},"rgba"==h.colorFormat?{r:r.site[2].left-12+"px",s:t.o((t=>e.touchstart(t,2))),t:t.o((t=>e.touchmove(t,2))),v:t.o((t=>e.touchend(t,2)))}:{},{w:t.t(r.colorVal),x:h.isCommonColor},h.isCommonColor?{y:t.f(r.conversion.colorList,((s,o,h)=>({a:"rgba("+s.r+","+s.g+","+s.b+","+s.a+")",b:t.o((t=>e.selectColor(s)),o),c:o})))}:{},{z:r.active?1:"",A:r.show,B:t.o(((...t)=>e.moveHandle&&e.moveHandle(...t)))})}]]);wx.createComponent(h);
{
"component": true,
"usingComponents": {}
}
\ No newline at end of file
<view hidden="{{!A}}" class="t-wrapper" catchtouchmove="{{B}}"><view class="{{['t-mask', a && 'active']}}" catchtap="{{b}}"></view><view class="{{['t-box', z && 'active']}}"><view class="t-header"><view class="t-header-button" bindtap="{{c}}">取消</view><view class="t-header-button" bindtap="{{d}}">确认</view></view><view class="t-color__box" style="{{'background:' + j}}"><view class="t-background boxs" bindtouchstart="{{g}}" bindtouchmove="{{h}}" bindtouchend="{{i}}"><view class="t-color-mask"></view><view class="t-pointer" style="{{'top:' + e + ';' + ('left:' + f)}}"></view></view></view><view class="t-control__box"><view wx:if="{{k}}" class="t-control__color"><view class="t-control__color-content" style="{{'background:' + l}}"></view></view><view class="t-control-box__item"><view class="t-controller boxs" bindtouchstart="{{n}}" bindtouchmove="{{o}}" bindtouchend="{{p}}"><view class="t-hue"><view class="t-circle" style="{{'left:' + m}}"></view></view></view><view wx:if="{{q}}" class="t-controller boxs" bindtouchstart="{{s}}" bindtouchmove="{{t}}" bindtouchend="{{v}}"><view class="t-transparency"><view class="t-circle" style="{{'left:' + r}}"></view></view></view></view></view><view class="t-result__box"><view class="t-result__item"><view class="t-result__box-input">{{w}}</view></view></view><view wx:if="{{x}}" class="t-alternative"><view wx:for="{{y}}" wx:for-item="item" wx:key="c" class="t-alternative__item"><view class="t-alternative__item-content" style="{{'background:' + item.a}}" bindtap="{{item.b}}"></view></view></view></view></view>
\ No newline at end of file
.t-wrapper{position:fixed;top:0;bottom:0;left:0;width:100%;box-sizing:border-box;z-index:9999}.t-box{width:100%;position:absolute;bottom:0;padding:30rpx 0;padding-top:0;background:#fff;transition:all .3s;transform:translateY(100%)}.t-box.active{transform:translateY(0)}.t-header{display:flex;justify-content:space-between;width:100%;height:100rpx;border-bottom:1px #eee solid;box-shadow:1px 0 2px rgba(0,0,0,.1);background:#fff}.t-header-button{display:flex;align-items:center;width:150rpx;height:100rpx;font-size:30rpx;color:#666;padding-left:20rpx}.t-header-button:last-child{justify-content:flex-end;padding-right:20rpx}.t-mask{position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.6);z-index:-1;transition:all .3s;opacity:0}.t-mask.active{opacity:1}.t-color__box{position:relative;height:400rpx;background:red;overflow:hidden;margin:20rpx 20rpx 0;box-sizing:border-box}.t-background{position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(to right,#fff,rgba(255,255,255,0))}.t-color-mask{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:400rpx;background:linear-gradient(to top,#000,rgba(0,0,0,0))}.t-pointer{position:absolute;bottom:-8px;left:-8px;z-index:2;width:15px;height:15px;border:1px #fff solid;border-radius:50%}.t-show-color{width:100rpx;height:50rpx}.t-control__box{margin-top:50rpx;width:100%;display:flex;padding-left:20rpx;box-sizing:border-box}.t-control__color{flex-shrink:0;width:100rpx;height:100rpx;border-radius:50%;background-color:#fff;background-image:linear-gradient(45deg,#eee 25%,transparent 25%,transparent 75%,#eee 75%,#eee),linear-gradient(45deg,#eee 25%,transparent 25%,transparent 75%,#eee 75%,#eee);background-size:36rpx 36rpx;background-position:0 0,18rpx 18rpx;border:1px #eee solid;overflow:hidden}.t-control__color-content{width:100%;height:100%}.t-control-box__item{display:flex;flex-direction:column;justify-content:space-between;width:100%;padding:0 30rpx}.t-controller{position:relative;width:100%;height:16px;background-color:#fff;background-image:linear-gradient(45deg,#eee 25%,transparent 25%,transparent 75%,#eee 75%,#eee),linear-gradient(45deg,#eee 25%,transparent 25%,transparent 75%,#eee 75%,#eee);background-size:32rpx 32rpx;background-position:0 0,16rpx 16rpx}.t-hue{width:100%;height:100%;background:linear-gradient(to right,red,#ff0 17%,#0f0 33%,#0ff,#00f 67%,#f0f 83%,red)}.t-transparency{width:100%;height:100%;background:linear-gradient(to right,rgba(0,0,0,0),#000)}.t-circle{position:absolute;top:-2px;width:20px;height:20px;box-sizing:border-box;border-radius:50%;background:#fff;box-shadow:0 0 2px 1px rgba(0,0,0,.1)}.t-result__box{margin-top:20rpx;padding:10rpx;width:100%;display:flex;box-sizing:border-box}.t-result__item{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:10rpx;width:100%;box-sizing:border-box}.t-result__box-input{padding:10rpx 0;width:100%;font-size:28rpx;box-shadow:0 0 1px 1px rgba(0,0,0,.1);color:#999;text-align:center;background:#fff}.t-result__box-text{margin-top:10rpx;font-size:28rpx;line-height:2}.t-select{flex-shrink:0;width:150rpx;padding:0 30rpx}.t-select .t-result__box-input{border-radius:10rpx;border:none;color:#999;box-shadow:1px 1px 2px 1px rgba(0,0,0,.1);background:#fff}.t-select .t-result__box-input:active{box-shadow:0 0 1px rgba(0,0,0,.1)}.t-alternative{display:flex;flex-wrap:wrap;width:100%;padding-right:10rpx;box-sizing:border-box}.t-alternative__item{margin-left:12rpx;margin-top:10rpx;width:50rpx;height:50rpx;border-radius:10rpx;background-color:#fff;background-image:linear-gradient(45deg,#eee 25%,transparent 25%,transparent 75%,#eee 75%,#eee),linear-gradient(45deg,#eee 25%,transparent 25%,transparent 75%,#eee 75%,#eee);background-size:36rpx 36rpx;background-position:0 0,18rpx 18rpx;border:1px #eee solid;overflow:hidden}.t-alternative__item-content{width:50rpx;height:50rpx;background:rgba(255,0,0,.5)}.t-alternative__item:active{transition:all .3s;transform:scale(1.1)}
"use strict";const t=require("../../../common/vendor.js"),e={name:"u-picker",props:{params:{type:Object,default:()=>({year:!0,month:!0,day:!0,hour:!1,minute:!1,second:!1,timestamp:!0})},range:{type:Array,default:()=>[]},defaultSelector:{type:Array,default:()=>[0]},rangeKey:{type:String,default:""},mode:{type:String,default:"time"},startDate:{type:String,default:"1899-01-01 00:00:00"},endDate:{type:String,default:"2250-12-31 23:59:59"},cancelColor:{type:String,default:"#606266"},confirmColor:{type:String,default:"#2979ff"},defaultTime:{type:String,default:""},showTimeTag:{type:Boolean,default:!0},safeAreaInsetBottom:{type:Boolean,default:!1},maskCloseAble:{type:Boolean,default:!1},modelValue:{type:Boolean,default:!1},zIndex:{type:[String,Number],default:0},title:{type:String,default:""},cancelText:{type:String,default:"取消"},confirmText:{type:String,default:"确认"},format:{type:String,default:"yyyy-MM-dd HH:mm:ss"}},data:()=>({years:[],months:[],days:[],hours:[],minutes:[],seconds:[],year:0,month:0,day:0,hour:0,minute:0,second:0,reset:!1,valueArr:[],moving:!1,showPopup:!1}),mounted(){this.init()},computed:{propsChange(){return`${this.mode}-${this.defaultTime}-${this.startYear}-${this.endYear}-${this.defaultRegion}-${this.areaCode}`},yearAndMonth(){return`${this.year}-${this.month}`},uZIndex(){return this.zIndex?this.zIndex:this.$u.zIndex.popup}},watch:{propsChange(){this.reset=!0,setTimeout((()=>this.init()),10)},yearAndMonth(t){this.params.year&&this.setDays()},modelValue:{handler(t){t&&(this.showPopup=t,this.reset=!0,setTimeout((()=>this.init()),10))},immediate:!0}},methods:{pickstart(){this.moving=!0},pickend(){this.moving=!1},getIndex:function(t,e){let s=t.indexOf(e);return~s?s:0},initTimeValue(){let t=this.defaultTime.replace(/\-/g,"/");t=t&&-1==t.indexOf("/")?`1899/01/01 ${t}`:t;let e=null;e=t?new Date(t):new Date,this.year=e.getFullYear(),this.month=Number(e.getMonth())+1,this.day=e.getDate(),this.hour=e.getHours(),this.minute=e.getMinutes(),this.second=e.getSeconds()},init(){this.valueArr=[],this.reset=!1,this.initTimeValue(),this.params.year&&(this.valueArr.push(0),this.setYears()),this.params.month&&(this.valueArr.push(0),this.setMonths()),this.params.day&&(this.valueArr.push(0),this.setDays()),this.params.hour&&(this.valueArr.push(0),this.setHours()),this.params.minute&&(this.valueArr.push(0),this.setMinutes()),this.params.second&&(this.valueArr.push(0),this.setSeconds())},setYears(){this.generateArray("year"),this.years[0]>this.year&&(this.year=this.years[0]),this.years[this.years.length-1]<this.year&&(this.year=this.years[this.years.length-1]),this.valueArr.splice(this.valueArr.length-1,1,this.getIndex(this.years,this.year))},setMonths(){this.generateArray("month"),this.months[0]>this.month&&(this.month=this.months[0]),this.months[this.months.length-1]<this.month&&(this.month=this.months[this.months.length-1]),this.valueArr.splice(this.valueArr.length-1,1,this.getIndex(this.months,this.month))},setDays(){new Date(this.year,this.month,0).getDate(),this.generateArray("day");let t=0;t=this.params.year&&this.params.month?2:this.params.month||this.params.year?1:0,this.days[0]>this.day&&(this.day=this.days[0]),this.days[this.days.length-1]<this.day&&(this.day=this.days[this.days.length-1]),this.valueArr.splice(t,1,this.getIndex(this.days,this.day))},setHours(){this.generateArray("hour"),this.hours[0]>this.hour&&(this.hour=this.hours[0]),this.hours[this.hours.length-1]<this.hour&&(this.hour=this.hours[this.hours.length-1]),this.valueArr.splice(this.valueArr.length-1,1,this.getIndex(this.hours,this.hour))},setMinutes(){this.generateArray("minute"),this.minutes[0]>this.minute&&(this.minute=this.minutes[0]),this.minutes[this.minutes.length-1]<this.minute&&(this.minute=this.minutes[this.minutes.length-1]),this.valueArr.splice(this.valueArr.length-1,1,this.getIndex(this.minutes,this.minute))},setSeconds(){this.generateArray("second"),this.seconds[0]>this.second&&(this.second=this.seconds[0]),this.seconds[this.seconds.length-1]<this.second&&(this.second=this.seconds[this.seconds.length-1]),this.valueArr.splice(this.valueArr.length-1,1,this.getIndex(this.seconds,this.second))},generateArray(t){let e=this.startDate.split(" "),s=this.endDate.split(" ");this.month||(this.month=this.months[this.months.length-1]);let r=new Date(this.year,this.month,0).getDate(),i=e[0]?e[0].split("-"):[],h=e[1]?e[1].split(":"):[],a=Number(i[0])||1,m=Number(i[1])||1,n=Number(i[2])||1,o=Number(h[0])||0,u=Number(h[1])||0,y=Number(h[2])||0,l=s[0]?s[0].split("-"):[],d=s[1]?s[1].split(":"):[],p=Number(l[0])||12,c=Number(l[1])||12,g=Number(l[2])||r,b=Number(d[0])||0,A=Number(d[1])||0,N=Number(d[2])||0;if("year"==t)a=Number(a),p=Number(p),p=p>a?p:a,this.years=[...Array(p+1).keys()].slice(a),this.generateArray("month");else if("month"==t){let t=[];t=a==Number(this.year)?p==Number(this.year)?[...Array(c+1).keys()].slice(m):[...Array(13).keys()].slice(m):p==Number(this.year)?[...Array(c+1).keys()].slice(1):[...Array(13).keys()].slice(1),this.months=t,this.generateArray("day")}else if("day"===t){let t=[];t=a==Number(this.year)&&m==Number(this.month)?p==Number(this.year)&&c==Number(this.month)?[...Array(g+1).keys()].slice(n):[...Array(r+1).keys()].slice(n):p==Number(this.year)&&c==Number(this.month)?[...Array(g+1).keys()].slice(1):[...Array(r+1).keys()].slice(1),this.days=t,this.generateArray("hour")}else if("hour"===t){let t=[];t=a==Number(this.year)&&m==Number(this.month)&&n==Number(this.day)?p==Number(this.year)&&c==Number(this.month)&&g==Number(this.day)?[...Array(b+1).keys()].slice(o):[...Array(24).keys()].slice(o):p==Number(this.year)&&c==Number(this.month)&&g==Number(this.day)?[...Array(b+1).keys()].slice(0):[...Array(24).keys()].slice(0),this.hours=t,this.generateArray("minute")}else if("minute"===t){let t=[];t=a==Number(this.year)&&m==Number(this.month)&&n==Number(this.day)&&o==Number(this.hour)?p==Number(this.year)&&c==Number(this.month)&&g==Number(this.day)&&b==Number(this.hour)?[...Array(A+1).keys()].slice(u):[...Array(60).keys()].slice(u):p==Number(this.year)&&c==Number(this.month)&&g==Number(this.day)&&b==Number(this.hour)?[...Array(A+1).keys()].slice(0):[...Array(60).keys()].slice(0),this.minutes=t,this.generateArray("seconds")}else{let t=[];t=a==Number(this.year)&&m==Number(this.month)&&n==Number(this.day)&&o==Number(this.hour)&&u==Number(this.minute)?p==Number(this.year)&&c==Number(this.month)&&g==Number(this.day)&&b==Number(this.hour)&&A==Number(this.minute)?[...Array(N+1).keys()].slice(y):[...Array(60).keys()].slice(y):p==Number(this.year)&&c==Number(this.month)&&g==Number(this.day)&&b==Number(this.hour)&&A==Number(this.minute)?[...Array(N+1).keys()].slice(0):[...Array(60).keys()].slice(0),this.seconds=t}},close(){this.$emit("close")},change(t){this.valueArr=t.detail.value;let e=0;if(this.params.year&&(this.year=this.years[this.valueArr[e++]],this.generateArray("year")),this.params.month&&(this.month=this.months[this.valueArr[e++]],this.generateArray("month")),this.params.day){const t=this.valueArr[e++];this.day=this.days[t]?this.days[t]:this.days[0],this.generateArray("day")}this.params.hour&&(this.hour=this.hours[this.valueArr[e++]],this.generateArray("hour")),this.params.minute&&(this.minute=this.minutes[this.valueArr[e++]],this.generateArray("minute")),this.params.second&&(this.second=this.seconds[this.valueArr[e++]],this.generateArray("second"))},getResult(){if(this.moving)return;let t={};this.params.year&&(t.year=this.formatNumber(this.year||0)),this.params.month&&(t.month=this.formatNumber(this.month||0)),this.params.day&&(t.day=this.formatNumber(this.day||0)),this.params.hour&&(t.hour=this.formatNumber(this.hour||0)),this.params.minute&&(t.minute=this.formatNumber(this.minute||0)),this.params.second&&(t.second=this.formatNumber(this.second||0)),this.params.timestamp&&(t.timestamp=this.getTimestamp()),this.$emit("confirm",t),this.close()},formatNumber:t=>+t<10?"0"+t:String(t),getTimestamp(){let t=this.jnpf.handelFormat(this.format),e="yyyy"===t?"/01/01 00:00:00":"yyyy-MM"===t?"/01 00:00:00":"yyyy-MM-dd"===t?" 00:00:00":"",s="";return s=!this.params.year||this.params.month||this.params.day||this.params.hour||this.params.minute||this.params.second?!this.params.year||!this.params.month||this.params.day||this.params.hour||this.params.minute||this.params.second?this.params.year&&this.params.month&&this.params.day&&!this.params.hour&&!this.params.minute&&!this.params.second?this.year+"/"+this.month+"/"+this.day+e:this.params.year&&this.params.month&&this.params.day&&this.params.hour&&!this.params.minute&&!this.params.second?this.year+"/"+this.month+"/"+this.day+" "+this.hour+e:this.params.year&&this.params.month&&this.params.day&&this.params.hour&&this.params.minute&&!this.params.second?this.year+"/"+this.month+"/"+this.day+" "+this.hour+":"+this.minute+e:this.year+"/"+this.month+"/"+this.day+" "+this.hour+":"+this.minute+":"+this.second+e:this.year+"/"+this.month+e:this.year+e,new Date(s).getTime()}}};if(!Array){t.resolveComponent("u-popup")()}Math;const s=t._export_sfc(e,[["render",function(e,s,r,i,h,a){return t.e({a:t.t(r.cancelText),b:r.cancelColor,c:t.o((t=>a.close())),d:t.t(r.title),e:t.t(r.confirmText),f:h.moving?r.cancelColor:r.confirmColor,g:t.o((t=>a.getResult("confirm"))),h:h.valueArr.length},h.valueArr.length?t.e({i:!h.reset&&r.params.year},!h.reset&&r.params.year?{j:t.f(h.years,((e,s,i)=>t.e({a:t.t(e)},(r.showTimeTag,{}),{b:s}))),k:r.showTimeTag}:{},{l:!h.reset&&r.params.month},!h.reset&&r.params.month?{m:t.f(h.months,((e,s,i)=>t.e({a:t.t(a.formatNumber(e))},(r.showTimeTag,{}),{b:s}))),n:r.showTimeTag}:{},{o:!h.reset&&r.params.day},!h.reset&&r.params.day?{p:t.f(h.days,((e,s,i)=>t.e({a:t.t(a.formatNumber(e))},(r.showTimeTag,{}),{b:s}))),q:r.showTimeTag}:{},{r:!h.reset&&r.params.hour},!h.reset&&r.params.hour?{s:t.f(h.hours,((e,s,i)=>t.e({a:t.t(a.formatNumber(e))},(r.showTimeTag,{}),{b:s}))),t:r.showTimeTag}:{},{v:!h.reset&&r.params.minute},!h.reset&&r.params.minute?{w:t.f(h.minutes,((e,s,i)=>t.e({a:t.t(a.formatNumber(e))},(r.showTimeTag,{}),{b:s}))),x:r.showTimeTag}:{},{y:!h.reset&&r.params.second},!h.reset&&r.params.second?{z:t.f(h.seconds,((e,s,i)=>t.e({a:t.t(a.formatNumber(e))},(r.showTimeTag,{}),{b:s}))),A:r.showTimeTag}:{},{B:h.valueArr,C:t.o(((...t)=>a.change&&a.change(...t))),D:t.o(((...t)=>a.pickstart&&a.pickstart(...t))),E:t.o(((...t)=>a.pickend&&a.pickend(...t)))}):{},{F:t.o(a.close),G:t.o((t=>h.showPopup=t)),H:t.p({maskCloseAble:r.maskCloseAble,mode:"bottom",popup:!1,length:"auto",safeAreaInsetBottom:r.safeAreaInsetBottom,"z-index":a.uZIndex,modelValue:h.showPopup})})}],["__scopeId","data-v-dbfdd496"]]);wx.createComponent(s);
{
"component": true,
"usingComponents": {
"u-popup": "../../../uni_modules/vk-uview-ui/components/u-popup/u-popup"
}
}
\ No newline at end of file
<view class="data-v-dbfdd496"><u-popup wx:if="{{H}}" class="data-v-dbfdd496" u-s="{{['d']}}" bindclose="{{F}}" u-i="dbfdd496-0" bind:__l="__l" bindupdateModelValue="{{G}}" u-p="{{H}}"><view class="u-datetime-picker data-v-dbfdd496"><view class="u-picker-header data-v-dbfdd496"><view class="u-btn-picker u-btn-picker--tips data-v-dbfdd496" style="{{'color:' + b}}" hover-class="u-opacity" hover-stay-time="{{150}}" bindtap="{{c}}">{{a}}</view><view class="u-picker__title data-v-dbfdd496">{{d}}</view><view class="u-btn-picker u-btn-picker--primary data-v-dbfdd496" style="{{'color:' + f}}" hover-class="u-opacity" hover-stay-time="{{150}}" catchtap="{{g}}">{{e}}</view></view><view class="u-picker-body data-v-dbfdd496"><picker-view wx:if="{{h}}" value="{{B}}" bindchange="{{C}}" class="u-picker-view data-v-dbfdd496" bindpickstart="{{D}}" bindpickend="{{E}}"><picker-view-column wx:if="{{i}}" class="data-v-dbfdd496"><view wx:for="{{j}}" wx:for-item="item" wx:key="b" class="u-column-item data-v-dbfdd496">{{item.a}} <text wx:if="{{k}}" class="u-text data-v-dbfdd496">年</text></view></picker-view-column><picker-view-column wx:if="{{l}}" class="data-v-dbfdd496"><view wx:for="{{m}}" wx:for-item="item" wx:key="b" class="u-column-item data-v-dbfdd496">{{item.a}} <text wx:if="{{n}}" class="u-text data-v-dbfdd496">月</text></view></picker-view-column><picker-view-column wx:if="{{o}}" class="data-v-dbfdd496"><view wx:for="{{p}}" wx:for-item="item" wx:key="b" class="u-column-item data-v-dbfdd496">{{item.a}} <text wx:if="{{q}}" class="u-text data-v-dbfdd496">日</text></view></picker-view-column><picker-view-column wx:if="{{r}}" class="data-v-dbfdd496"><view wx:for="{{s}}" wx:for-item="item" wx:key="b" class="u-column-item data-v-dbfdd496">{{item.a}} <text wx:if="{{t}}" class="u-text data-v-dbfdd496">时</text></view></picker-view-column><picker-view-column wx:if="{{v}}" class="data-v-dbfdd496"><view wx:for="{{w}}" wx:for-item="item" wx:key="b" class="u-column-item data-v-dbfdd496">{{item.a}} <text wx:if="{{x}}" class="u-text data-v-dbfdd496">分</text></view></picker-view-column><picker-view-column wx:if="{{y}}" class="data-v-dbfdd496"><view wx:for="{{z}}" wx:for-item="item" wx:key="b" class="u-column-item data-v-dbfdd496">{{item.a}} <text wx:if="{{A}}" class="u-text data-v-dbfdd496">秒</text></view></picker-view-column></picker-view></view></view></u-popup></view>
\ No newline at end of file
.u-datetime-picker.data-v-dbfdd496{position:relative;z-index:999}.u-picker-view.data-v-dbfdd496{height:100%;box-sizing:border-box}.u-picker-header.data-v-dbfdd496{width:100%;height:90rpx;padding:0 40rpx;display:flex;justify-content:space-between;align-items:center;box-sizing:border-box;font-size:30rpx;background:#fff;position:relative}.u-picker-header.data-v-dbfdd496:after{content:"";position:absolute;border-bottom:1rpx solid #eaeef1;transform:scaleY(.5);bottom:0;right:0;left:0}.u-picker__title.data-v-dbfdd496{color:#606266}.u-picker-body.data-v-dbfdd496{width:100%;height:500rpx;overflow:hidden;background-color:#fff}.u-column-item.data-v-dbfdd496{display:flex;align-items:center;justify-content:center;font-size:32rpx;color:#303133;padding:0 8rpx}.u-text.data-v-dbfdd496{font-size:24rpx;padding-left:8rpx}.u-btn-picker.data-v-dbfdd496{padding:16rpx;box-sizing:border-box;text-align:center;text-decoration:none}.u-opacity.data-v-dbfdd496{opacity:.5}.u-btn-picker--primary.data-v-dbfdd496{color:#2979ff}.u-btn-picker--tips.data-v-dbfdd496{color:#909399}
"use strict";const e=require("../../../common/vendor.js"),t={name:"jnpf-dateTime",components:{Select:()=>"./Select.js"},props:{scene:{type:String,default:"form"},inputType:{type:String,default:"select"},modelValue:{type:[String,Number],default:""},placeholder:{type:String,default:"请选择"},disabled:{type:Boolean,default:!1},type:{type:String,default:"date"},startTime:{type:[String,Number],default:0},selectType:{type:String,default:""},endTime:{type:[String,Number],default:0},format:{type:String,default:"yyyy-MM-dd HH:mm:ss"}},data:()=>({startDate:"",endDate:"",params:{year:!0,month:!0,day:!0,hour:!0,minute:!0,second:!0,timestamp:!0},defaultTime:"",selectShow:!1,innerValue:"",startTimestamp:-25140,endTimestamp:7289625599e3,formatObj:{yyyy:"yyyy","yyyy-MM":"yyyy-mm","yyyy-MM-dd":"yyyy-mm-dd","yyyy-MM-dd HH:mm":"yyyy-mm-dd hh:MM","yyyy-MM-dd HH:mm:ss":"yyyy-mm-dd hh:MM:ss","HH:mm:ss":"hh:MM:ss","HH:mm":"hh:MM",YYYY:"yyyy","YYYY-MM":"yyyy-mm","YYYY-MM-DD":"yyyy-mm-dd","YYYY-MM-DD HH:mm":"yyyy-mm-dd hh:MM","YYYY-MM-DD HH:mm:ss":"yyyy-mm-dd hh:MM:ss"}}),watch:{modelValue(e){this.setDefault()},startTime(e){this.setMode()},endTime(e){this.setMode()}},created(){this.setMode(),this.setDefault()},methods:{setMode(){let e=this.formatObj[this.format]||"yyyy-mm-dd hh:MM:ss",t=e.trim().split(" ");if("time"===this.type){let e=t[0].split(":")||[];this.params={...this.params,year:!1,month:!1,day:!1,hour:e.includes("hh"),minute:e.includes("MM"),second:e.includes("ss")},this.startDate=this.startTime?this.getYearDate()+" "+this.startTime:this.getYearDate()+" 00:00:00",this.endDate=this.endTime?this.getYearDate()+" "+this.endTime:this.getYearDate()+" 23:59:59"}else{let s=t[0]?t[0].split("-"):[],i=t[1]?t[1].split(":"):[];this.params={...this.params,year:s.includes("yyyy"),month:s.includes("mm"),day:s.includes("dd"),hour:i.includes("hh"),minute:i.includes("MM"),second:i.includes("ss")},this.startDate=this.startTime?this.$u.timeFormat(this.startTime,e):"970-1-1 00:00:00",this.endDate=this.endTime?this.$u.timeFormat(this.endTime,e):"2500-12-31 23:59:59"}},getYearDate(){let e=new Date;return e.getFullYear()+"-"+(e.getMonth()+1)+"-"+e.getDate()},setDefault(){if(!this.modelValue)return this.innerValue="";if("time"===this.type){let e=this.modelValue.split(":"),t=this.formatObj[this.format].split(":");this.innerValue=this.modelValue,e.length!=t.length&&(this.innerValue=e[0]+":"+e[1]),this.defaultTime=this.getYearDate()+" "+this.modelValue}else{const e="yyyy-mm-dd hh:MM:ss";this.innerValue=this.$u.timeFormat(this.modelValue,this.formatObj[this.format]),this.defaultTime=this.$u.timeFormat(this.modelValue,e)}},openSelect(){if(e.index.hideKeyboard(),!this.disabled)return new Date(this.startDate).getTime()>new Date(this.endDate).getTime()?this.$u.toast("开始时间不能大于结束时间"):void(this.selectShow=!0)},handleConfirm(e){this.format,this.innerValue="",this.params.year&&(this.innerValue+=e.year),this.params.month&&(this.innerValue+="-"+e.month),this.params.day&&(this.innerValue+="-"+e.day),this.params.hour&&(this.innerValue+=("time"===this.type?"":" ")+e.hour),this.params.minute&&(this.innerValue+=":"+e.minute),this.params.second&&(this.innerValue+=":"+e.second);const t="time"===this.type?this.innerValue:e.timestamp;this.modelValue!==t&&(this.$emit("update:modelValue",t),this.$emit("change",t,this.selectType))},handleClose(){this.selectShow=!1}}};if(!Array){(e.resolveComponent("u-input")+e.resolveComponent("Select"))()}Math;const s=e._export_sfc(t,[["render",function(t,s,i,a,m,h){return e.e({a:e.o(h.openSelect),b:e.o((e=>m.innerValue=e)),c:e.p({"input-align":"right",type:"select","select-open":m.selectShow,placeholder:i.placeholder,modelValue:m.innerValue}),d:m.selectShow},m.selectShow?{e:e.o(h.handleClose),f:e.o(h.handleConfirm),g:e.o((e=>m.selectShow=e)),h:e.p({mode:"time",defaultTime:m.defaultTime,params:m.params,startDate:m.startDate,endDate:m.endDate,format:i.format,modelValue:m.selectShow})}:{})}],["__scopeId","data-v-50e8577c"]]);wx.createComponent(s);
{
"component": true,
"usingComponents": {
"select": "./Select",
"u-input": "../../../uni_modules/vk-uview-ui/components/u-input/u-input"
}
}
\ No newline at end of file
<view class="jnpf-date-time data-v-50e8577c"><u-input wx:if="{{c}}" class="data-v-50e8577c" bindclick="{{a}}" u-i="50e8577c-0" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}"/><select wx:if="{{d}}" class="data-v-50e8577c" bindclose="{{e}}" bindconfirm="{{f}}" u-i="50e8577c-1" bind:__l="__l" bindupdateModelValue="{{g}}" u-p="{{h}}"/></view>
\ No newline at end of file
"use strict";const e=require("../../../common/vendor.js"),t={name:"jnpf-date-range",props:{modelValue:{type:Array,default:()=>[]},placeholder:{type:String,default:"请选择日期范围"},disabled:{type:Boolean,default:!1},format:{type:String,default:"yyyy-MM-dd HH:mm:ss"},type:{type:String,default:"date"}},data:()=>({startDefaultTime:"",endDefaultTime:"",startValue:"",endValue:"",datetimerange:[],datetimerangeObj:{},key:+new Date}),watch:{modelValue:{handler(e){Array.isArray(e)&&e.length?(this.startValue=e[0],this.endValue=e[1]):(this.startValue="",this.endValue="",this.datetimerangeObj={})},immediate:!0}},methods:{change(e,t){if(this.datetimerange=[],"start"==t){const a="yyyy-mm-dd hh:MM:ss";this.$set(this.datetimerangeObj,t,e),this.$refs.dateTime.defaultTime="time"==this.type?this.datetimerangeObj.start:this.$u.timeFormat(this.datetimerangeObj.start,a),this.handelValue()}else this.$set(this.datetimerangeObj,t,e),this.handelValue()},handelValue(){if(this.datetimerange.unshift(this.datetimerangeObj.start),this.datetimerange.push(this.datetimerangeObj.end),this.datetimerange[0]>this.datetimerange[1])return this.$u.toast("开始不能大于结束"),void setTimeout((()=>{this.startValue="",this.endValue="",this.datetimerangeObj={},this.datetimerange=[],this.key=+new Date}),500);this.$emit("update:modelValue",this.datetimerange)}}};if(!Array){(e.resolveComponent("JnpfDatePicker")+e.resolveComponent("JnpfTimePicker"))()}Math||((()=>"../DatePicker/index.js")+(()=>"../TimePicker/index.js"))();const a=e._export_sfc(t,[["render",function(t,a,d,i,s,r){return e.e({a:"date"==d.type},"date"==d.type?{b:e.sr("dateTime","1da57ffa-0"),c:e.o(r.change),d:s.key,e:e.o((e=>s.startValue=e)),f:e.p({placeholder:d.placeholder,disabled:d.disabled,inputType:"text",scene:"searchList",format:d.format,defaultTime:s.startDefaultTime,selectType:"start",modelValue:s.startValue})}:{g:e.sr("dateTime","1da57ffa-1"),h:e.o(r.change),i:s.key,j:e.o((e=>s.startValue=e)),k:e.p({placeholder:d.placeholder,disabled:d.disabled,inputType:"text",scene:"searchList",format:d.format,defaultTime:s.startDefaultTime,selectType:"start",modelValue:s.startValue})},{l:"date"==d.type},"date"==d.type?{m:e.sr("dateTime","1da57ffa-2"),n:e.o(r.change),o:s.key+1,p:e.o((e=>s.endValue=e)),q:e.p({placeholder:d.placeholder,disabled:d.disabled,inputType:"text",scene:"searchList",format:d.format,defaultTime:s.endDefaultTime,selectType:"end",modelValue:s.endValue})}:{r:e.sr("dateTime","1da57ffa-3"),s:e.o(r.change),t:s.key+1,v:e.o((e=>s.endValue=e)),w:e.p({placeholder:d.placeholder,disabled:d.disabled,inputType:"text",scene:"searchList",format:d.format,defaultTime:s.endDefaultTime,selectType:"end",modelValue:s.endValue})})}]]);wx.createComponent(a);
{
"component": true,
"usingComponents": {
"jnpf-date-picker": "../DatePicker/index",
"jnpf-time-picker": "../TimePicker/index"
}
}
\ No newline at end of file
<view class="jnpf-date-range"><jnpf-date-picker wx:if="{{a}}" class="r" bindchange="{{c}}" key="{{d}}" u-r="dateTime" u-i="1da57ffa-0" bind:__l="__l" bindupdateModelValue="{{e}}" u-p="{{f}}"/><jnpf-time-picker wx:else class="r" bindchange="{{h}}" key="{{i}}" u-r="dateTime" u-i="1da57ffa-1" bind:__l="__l" bindupdateModelValue="{{j}}" u-p="{{k||''}}"/><view class="u-p-l-10 u-p-r-10"> 至 </view><jnpf-date-picker wx:if="{{l}}" class="r" bindchange="{{n}}" key="{{o}}" u-r="dateTime" u-i="1da57ffa-2" bind:__l="__l" bindupdateModelValue="{{p}}" u-p="{{q}}"/><jnpf-time-picker wx:else class="r" bindchange="{{s}}" key="{{t}}" u-r="dateTime" u-i="1da57ffa-3" bind:__l="__l" bindupdateModelValue="{{v}}" u-p="{{w||''}}"/></view>
\ No newline at end of file
"use strict";require("../../../utils/request.js");const e=require("../../../common/vendor.js"),t={label:"fullName",value:"id",icon:"icon",children:"children"},s={props:{options:{type:Array,default:()=>[]},selectedData:{type:Array,default:()=>[]},ids:{default:""},title:{default:"选择"},type:{default:""},modelValue:{type:Boolean,default:!1},zIndex:{type:[String,Number],default:0},props:{type:Object,default:()=>({label:"fullName",value:"id",icon:"icon",children:"children",isLeaf:"isLeaf"})},multiple:{type:Boolean,default:!1}},data:()=>({moving:!1,selectList:[],selectListId:[],newListId:[],keyword:"",showPopup:!1}),watch:{modelValue:{handler(e){this.showPopup=e,e&&setTimeout((()=>this.init()),10)},immediate:!0}},computed:{uZIndex(){return this.zIndex?this.zIndex:this.$u.zIndex.popup},realProps(){return{...t,...this.props}}},methods:{init(){this.keyword="",this.selectListId=JSON.parse(JSON.stringify(this.ids)),Array.isArray(this.ids)||(this.selectListId=[]),this.selectList=JSON.parse(JSON.stringify(this.selectedData))},handleNodeClick(e){if("position"===this.type){if("position"!=e.data.type)return}else if("department"!=e.data.type)return;let t=!1;this.multiple||(this.selectList=[],this.selectListId=[]);for(var s=0;s<this.selectList.length;s++)if(this.selectList[s].id==e.data.id){t=!0;break}!t&&this.selectList.push(e.data),!t&&this.selectListId.push(e.data[this.props.value])},delSelect(e){this.selectList.splice(e,1),this.selectListId.splice(e,1)},setCheckAll(){this.selectListId=[],this.selectList=[],this.$refs.tree.setCheckAll(!1)},filterNode(e,t){return!e||-1!==t[this.realProps.label].indexOf(e)},handleSearch(e){this.$refs.tree&&this.$refs.tree.filter(e)},handleConfirm(){this.$emit("confirm",this.selectList,this.selectListId),this.close()},close(){this.$emit("close",!1)}}};if(!Array){(e.resolveComponent("u-search")+e.resolveComponent("u-tag")+e.resolveComponent("ly-tree")+e.resolveComponent("u-button")+e.resolveComponent("u-popup"))()}Math||((()=>"../../../uni_modules/vk-uview-ui/components/u-search/u-search.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-tag/u-tag.js")+(()=>"../../ly-tree/ly-tree.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-button/u-button.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-popup/u-popup.js"))();const i=e._export_sfc(s,[["render",function(t,s,i,l,o,r){return e.e({a:e.o((e=>r.close())),b:e.t(i.title),c:e.o(r.handleSearch),d:e.o((e=>o.keyword=e)),e:e.p({placeholder:"请输入关键词搜索",height:"72","show-action":!1,"bg-color":"#f0f2f6",shape:"square",modelValue:o.keyword}),f:i.multiple},i.multiple?{g:e.o(((...e)=>r.setCheckAll&&r.setCheckAll(...e)))}:{},{h:e.f(o.selectList,((t,s,i)=>({a:e.o((e=>r.delSelect(s)),s),b:s,c:"2c67f0ec-2-"+i+",2c67f0ec-0",d:e.p({closeable:!0,text:t.lastFullName?t.lastFullName:t.fullName})}))),i:e.sr("tree","2c67f0ec-3,2c67f0ec-0"),j:e.o(r.handleNodeClick),k:e.p({"node-key":r.realProps.value,"tree-data":i.options,"show-checkbox":!1,props:r.realProps,"show-node-icon":!0,"show-radio":!1,"filter-node-method":r.filterNode,"highlight-current":!0}),l:e.o((e=>r.close())),m:e.o((e=>r.handleConfirm())),n:e.p({type:"primary"}),o:e.o(r.close),p:e.o((e=>o.showPopup=e)),q:e.p({mode:"right",popup:!1,length:"auto","z-index":r.uZIndex,width:"100%",modelValue:o.showPopup})})}]]);wx.createComponent(i);
{
"component": true,
"usingComponents": {
"u-search": "../../../uni_modules/vk-uview-ui/components/u-search/u-search",
"u-tag": "../../../uni_modules/vk-uview-ui/components/u-tag/u-tag",
"ly-tree": "../../ly-tree/ly-tree",
"u-button": "../../../uni_modules/vk-uview-ui/components/u-button/u-button",
"u-popup": "../../../uni_modules/vk-uview-ui/components/u-popup/u-popup"
}
}
\ No newline at end of file
<u-popup wx:if="{{q}}" u-s="{{['d']}}" class="jnpf-tree-select-popup" bindclose="{{o}}" u-i="2c67f0ec-0" bind:__l="__l" bindupdateModelValue="{{p}}" u-p="{{q}}"><view class="jnpf-tree-select-body"><view class="jnpf-tree-select-title"><text class="icon-ym icon-ym-report-icon-preview-pagePre backIcon" bindtap="{{a}}"></text><view class="title">{{b}}</view></view><view class="jnpf-tree-select-search"><u-search wx:if="{{e}}" bindchange="{{c}}" u-i="2c67f0ec-1,2c67f0ec-0" bind:__l="__l" bindupdateModelValue="{{d}}" u-p="{{e}}"></u-search></view><view class="jnpf-tree-selected"><view class="jnpf-tree-selected-head"><view>已选</view><view wx:if="{{f}}" class="clear-btn" bindtap="{{g}}">清空列表</view></view><view class="jnpf-tree-selected-box"><scroll-view scroll-y="true" class="select-list"><u-tag wx:for="{{h}}" wx:for-item="list" wx:key="b" bindclose="{{list.a}}" class="u-selectTag" u-i="{{list.c}}" bind:__l="__l" u-p="{{list.d}}"/></scroll-view></view></view><view class="jnpf-tree-select-tree"><scroll-view scroll-y="{{true}}" style="height:100%"><ly-tree wx:if="{{k}}" class="r" u-r="tree" bindnodeClick="{{j}}" u-i="2c67f0ec-3,2c67f0ec-0" bind:__l="__l" u-p="{{k}}"/></scroll-view></view><view class="jnpf-tree-select-actions"><u-button u-s="{{['d']}}" class="buttom-btn" bindclick="{{l}}" u-i="2c67f0ec-4,2c67f0ec-0" bind:__l="__l">取消</u-button><u-button wx:if="{{n}}" u-s="{{['d']}}" class="buttom-btn" catchclick="{{m}}" u-i="2c67f0ec-5,2c67f0ec-0" bind:__l="__l" u-p="{{n}}">确定</u-button></view></view></u-popup>
\ No newline at end of file
"use strict";const e=require("../../../api/common.js"),t=require("../../../store/modules/base.js"),l=require("../../../common/vendor.js"),s=t.useBaseStore(),i={components:{Tree:()=>"./Tree.js"},props:{modelValue:{default:""},placeholder:{type:String,default:"请选择"},props:{type:Object,default:()=>({label:"fullName",value:"id",children:"children",isLeaf:"isLeaf"})},disabled:{type:Boolean,default:!1},multiple:{type:Boolean,default:!1},selectType:{type:String,default:"all"},ableIds:{type:Array,default:()=>[]},type:{type:String,default:"user"}},data:()=>({selectShow:!1,innerValue:"",selectedData:[],allList:[],options:[],title:"选择"}),computed:{getIsPosition(){return"position"===this.type}},watch:{modelValue:{immediate:!0,handler(e){this.title=this.getIsPosition?"岗位选择":"部门选择",this.getOptions(),e&&e.length||(this.innerValue="",this.selectedData=[])}}},methods:{async getOptions(){if(this.options=await s[this.getIsPosition?"getPositionTree":"getDepartmentTree"](),this.allList=await this.treeToArray(),"all"!==this.selectType){this.options=[];let t={};this.getIsPosition?t.ids=this.ableIds:t.departIds=this.ableIds;let l=this.getIsPosition?e.getPositionByPositionCondition:e.getOrgByOrganizeCondition;await l(t).then((e=>{this.options=e.data.list}))}this.modelValue&&this.modelValue.length&&this.setDefault()},setDefault(){this.selectedData=[];let e=this.multiple?this.modelValue:[this.modelValue];for(let l=0;l<e.length;l++)e:for(let t=0;t<this.allList.length;t++)if(this.allList[t].id===e[l]){this.selectedData.push(this.allList[t]);break e}let t="";for(let l=0;l<this.selectedData.length;l++)this.selectedData[l].lastFullName?t+=(l?",":"")+this.selectedData[l].lastFullName:t+=(l?",":"")+this.selectedData[l].fullName;this.innerValue=t},async treeToArray(){let e=JSON.parse(JSON.stringify(this.options)),t=[];const l=e=>{for(let s=0;s<e.length;s++){const i=e[s];t.push(i),i.hasChildren&&i.children&&Array.isArray(i.children)&&l(i.children)}};return l(e),t},openSelect(){this.disabled||(this.selectShow=!0)},handleConfirm(e,t){this.multiple?(this.$emit("update:modelValue",t),this.$emit("change",t,e)):(this.$emit("update:modelValue",t[0]),this.$emit("change",t[0],e[0]))},handleClose(){this.selectShow=!1}}};if(!Array){(l.resolveComponent("u-input")+l.resolveComponent("Tree"))()}Math;const a=l._export_sfc(i,[["render",function(e,t,s,i,a,o){return l.e({a:l.o(o.openSelect),b:l.o((e=>a.innerValue=e)),c:l.p({"input-align":"right",type:"select","select-open":a.selectShow,placeholder:s.placeholder,modelValue:a.innerValue}),d:a.selectShow},a.selectShow?{e:l.o(o.handleClose),f:l.o(o.handleConfirm),g:l.o((e=>a.selectShow=e)),h:l.p({multiple:s.multiple,props:s.props,selectedData:a.selectedData,options:a.options,ids:s.multiple?s.modelValue:[s.modelValue],title:a.title,type:s.type,modelValue:a.selectShow})}:{})}],["__scopeId","data-v-668e826a"]]);wx.createComponent(a);
{
"component": true,
"usingComponents": {
"tree": "./Tree",
"u-input": "../../../uni_modules/vk-uview-ui/components/u-input/u-input"
}
}
\ No newline at end of file
<view class="jnpf-dep-select data-v-668e826a"><u-input wx:if="{{c}}" class="data-v-668e826a" bindclick="{{a}}" u-i="668e826a-0" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}"/><tree wx:if="{{d}}" class="data-v-668e826a" bindclose="{{e}}" bindconfirm="{{f}}" u-i="668e826a-1" bind:__l="__l" bindupdateModelValue="{{g}}" u-p="{{h}}"/></view>
\ No newline at end of file
"use strict";const e=require("../../../common/vendor.js"),t={name:"jnpf-divider",props:{content:{default:""}}};if(!Array){e.resolveComponent("u-divider")()}Math;const n=e._export_sfc(t,[["render",function(t,n,r,o,i,c){return{a:e.t(r.content),b:e.p({"half-width":"200",height:"80"})}}]]);wx.createComponent(n);
{
"component": true,
"usingComponents": {
"u-divider": "../../../uni_modules/vk-uview-ui/components/u-divider/u-divider"
}
}
\ No newline at end of file
<u-divider wx:if="{{b}}" u-s="{{['d']}}" u-i="23b6c738-0" bind:__l="__l" u-p="{{b}}">{{a}}</u-divider>
\ No newline at end of file
"use strict";const t=require("../../../common/vendor.js"),e={name:"jnpf-editor",props:{modelValue:{type:String,default:""},placeholder:{type:String,default:"请输入"},disabled:{type:Boolean,default:!1},detailed:{type:Boolean,default:!1}},data(){return{innerValue:"",readOnly:!1,formats:{},editorChange:!1,id:"jnpf-editor-"+this.jnpf.idGenerator()}},watch:{modelValue(t){this.editorChange&&t||(this.editorChange=!1,this.editorCtx&&this.editorCtx.setContents({html:t}))}},onLoad(){t.index.loadFontFace({family:"Pacifico",source:'url("/Pacifico-Regular.ttf")'})},methods:{readOnlyChange(){this.readOnly=!this.readOnly},onEditorReady(){t.index.createSelectorQuery().in(this).select("#"+this.id).context((t=>{this.editorCtx=t.context,this.editorCtx.setContents({html:this.modelValue})})).exec()},undo(){this.editorCtx.undo()},redo(){this.editorCtx.redo()},format(t){let{name:e,value:o}=t.target.dataset;e&&this.editorCtx.format(e,o)},onStatusChange(t){const e=t.detail;this.formats=e},insertDivider(){this.editorCtx.insertDivider()},clear(){this.editorCtx.clear()},removeFormat(){this.editorCtx.removeFormat()},insertDate(){const t=new Date,e=`${t.getFullYear()}/${t.getMonth()+1}/${t.getDate()}`;this.editorCtx.insertText({text:e})},insertImage(){t.index.chooseImage({count:1,success:t=>{this.getImageBase64(t)}})},getImageBase64(e){const o=e.tempFilePaths[0];t.index.getFileSystemManager().readFile({filePath:o,encoding:"base64",success:t=>{this.insertImageVal("data:image/jpeg;base64,"+t.data)}})},insertImageVal(t){this.editorCtx.insertImage({src:t,alt:"图像",success:function(){}})},getValue(t){this.editorChange=!0;const e=this;this.editorCtx.getContents({success:function(t){let o="\n"===t.text?"":t.html;e.$emit("update:modelValue",o)}})}}};if(!Array){t.resolveComponent("mp-html")()}Math;const o=t._export_sfc(e,[["render",function(e,o,a,r,i,m){return t.e({a:!a.detailed},a.detailed?{ak:t.p({content:a.modelValue})}:{b:i.formats.bold?1:"",c:t.o(((...t)=>m.format&&m.format(...t))),d:i.formats.italic?1:"",e:t.o(((...t)=>m.format&&m.format(...t))),f:i.formats.underline?1:"",g:t.o(((...t)=>m.format&&m.format(...t))),h:i.formats.strike?1:"",i:t.o(((...t)=>m.format&&m.format(...t))),j:"left"===i.formats.align?1:"",k:t.o(((...t)=>m.format&&m.format(...t))),l:"center"===i.formats.align?1:"",m:t.o(((...t)=>m.format&&m.format(...t))),n:"right"===i.formats.align?1:"",o:t.o(((...t)=>m.format&&m.format(...t))),p:"justify"===i.formats.align?1:"",q:t.o(((...t)=>m.format&&m.format(...t))),r:i.formats.lineHeight?1:"",s:t.o(((...t)=>m.format&&m.format(...t))),t:i.formats.letterSpacing?1:"",v:t.o(((...t)=>m.format&&m.format(...t))),w:i.formats.marginTop?1:"",x:t.o(((...t)=>m.format&&m.format(...t))),y:i.formats.marginBottom?1:"",z:t.o(((...t)=>m.format&&m.format(...t))),A:t.o(((...t)=>m.removeFormat&&m.removeFormat(...t))),B:i.formats.fontFamily?1:"",C:t.o(((...t)=>m.format&&m.format(...t))),D:"24px"===i.formats.fontSize?1:"",E:t.o(((...t)=>m.format&&m.format(...t))),F:"#0000ff"===i.formats.color?1:"",G:t.o(((...t)=>m.format&&m.format(...t))),H:"#00ff00"===i.formats.backgroundColor?1:"",I:t.o(((...t)=>m.format&&m.format(...t))),J:t.o(((...t)=>m.insertDate&&m.insertDate(...t))),K:t.o(((...t)=>m.format&&m.format(...t))),L:"ordered"===i.formats.list?1:"",M:t.o(((...t)=>m.format&&m.format(...t))),N:"bullet"===i.formats.list?1:"",O:t.o(((...t)=>m.format&&m.format(...t))),P:t.o(((...t)=>m.undo&&m.undo(...t))),Q:t.o(((...t)=>m.redo&&m.redo(...t))),R:t.o(((...t)=>m.format&&m.format(...t))),S:t.o(((...t)=>m.format&&m.format(...t))),T:t.o(((...t)=>m.insertDivider&&m.insertDivider(...t))),U:t.o(((...t)=>m.insertImage&&m.insertImage(...t))),V:1===i.formats.header?1:"",W:t.o(((...t)=>m.format&&m.format(...t))),X:"sub"===i.formats.script?1:"",Y:t.o(((...t)=>m.format&&m.format(...t))),Z:"super"===i.formats.script?1:"",aa:t.o(((...t)=>m.format&&m.format(...t))),ab:t.o(((...t)=>m.clear&&m.clear(...t))),ac:"rtl"===i.formats.direction?1:"",ad:t.o(((...t)=>m.format&&m.format(...t))),ae:i.id,af:a.placeholder,ag:t.o(((...t)=>m.onStatusChange&&m.onStatusChange(...t))),ah:a.disabled,ai:t.o(((...t)=>m.onEditorReady&&m.onEditorReady(...t))),aj:t.o(((...t)=>m.getValue&&m.getValue(...t)))})}],["__scopeId","data-v-df80f508"]]);wx.createComponent(o);
{
"component": true,
"usingComponents": {
"mp-html": "../../../uni_modules/mp-html/components/mp-html/mp-html"
}
}
\ No newline at end of file
<view class="jnpf-editor data-v-df80f508"><block wx:if="{{a}}"><view class="toolbar data-v-df80f508"><view class="{{[b && 'ql-active', 'iconfont', 'icon-zitijiacu', 'data-v-df80f508']}}" data-name="bold" bindtap="{{c}}"></view><view class="{{[d && 'ql-active', 'iconfont', 'icon-zitixieti', 'data-v-df80f508']}}" data-name="italic" bindtap="{{e}}"></view><view class="{{[f && 'ql-active', 'iconfont', 'icon-zitixiahuaxian', 'data-v-df80f508']}}" data-name="underline" bindtap="{{g}}"></view><view class="{{[h && 'ql-active', 'iconfont', 'icon-zitishanchuxian', 'data-v-df80f508']}}" data-name="strike" bindtap="{{i}}"></view><view class="{{[j && 'ql-active', 'iconfont', 'icon-zuoduiqi', 'data-v-df80f508']}}" data-name="align" data-value="left" bindtap="{{k}}"></view><view class="{{[l && 'ql-active', 'iconfont', 'icon-juzhongduiqi', 'data-v-df80f508']}}" data-name="align" data-value="center" bindtap="{{m}}"></view><view class="{{[n && 'ql-active', 'iconfont', 'icon-youduiqi', 'data-v-df80f508']}}" data-name="align" data-value="right" bindtap="{{o}}"></view><view class="{{[p && 'ql-active', 'iconfont', 'icon-zuoyouduiqi', 'data-v-df80f508']}}" data-name="align" data-value="justify" bindtap="{{q}}"></view><view class="{{[r && 'ql-active', 'iconfont', 'icon-line-height', 'data-v-df80f508']}}" data-name="lineHeight" data-value="2" bindtap="{{s}}"></view><view class="{{[t && 'ql-active', 'iconfont', 'icon-Character-Spacing', 'data-v-df80f508']}}" data-name="letterSpacing" data-value="2em" bindtap="{{v}}"></view><view class="{{[w && 'ql-active', 'iconfont', 'icon-722bianjiqi_duanqianju', 'data-v-df80f508']}}" data-name="marginTop" data-value="20px" bindtap="{{x}}"></view><view class="{{[y && 'ql-active', 'iconfont', 'icon-723bianjiqi_duanhouju', 'data-v-df80f508']}}" data-name="marginBottom" data-value="20px" bindtap="{{z}}"></view><view class="iconfont icon-clearedformat data-v-df80f508" bindtap="{{A}}"></view><view class="{{[B && 'ql-active', 'iconfont', 'icon-font', 'data-v-df80f508']}}" data-name="fontFamily" data-value="Pacifico" bindtap="{{C}}"></view><view class="{{[D && 'ql-active', 'iconfont', 'icon-fontsize', 'data-v-df80f508']}}" data-name="fontSize" data-value="24px" bindtap="{{E}}"></view><view class="{{[F && 'ql-active', 'iconfont', 'icon-text_color', 'data-v-df80f508']}}" data-name="color" data-value="#0000ff" bindtap="{{G}}"></view><view class="{{[H && 'ql-active', 'iconfont', 'icon-fontbgcolor', 'data-v-df80f508']}}" data-name="backgroundColor" data-value="#00ff00" bindtap="{{I}}"></view><view class="iconfont icon-date data-v-df80f508" bindtap="{{J}}"></view><view class="iconfont icon--checklist data-v-df80f508" data-name="list" data-value="check" bindtap="{{K}}"></view><view class="{{[L && 'ql-active', 'iconfont', 'icon-youxupailie', 'data-v-df80f508']}}" data-name="list" data-value="ordered" bindtap="{{M}}"></view><view class="{{[N && 'ql-active', 'iconfont', 'icon-wuxupailie', 'data-v-df80f508']}}" data-name="list" data-value="bullet" bindtap="{{O}}"></view><view class="iconfont icon-undo data-v-df80f508" bindtap="{{P}}"></view><view class="iconfont icon-redo data-v-df80f508" bindtap="{{Q}}"></view><view class="iconfont icon-outdent data-v-df80f508" data-name="indent" data-value="-1" bindtap="{{R}}"></view><view class="iconfont icon-indent data-v-df80f508" data-name="indent" data-value="+1" bindtap="{{S}}"></view><view class="iconfont icon-fengexian data-v-df80f508" bindtap="{{T}}"></view><view class="iconfont icon-charutupian data-v-df80f508" bindtap="{{U}}"></view><view class="{{[V && 'ql-active', 'iconfont', 'icon-format-header-1', 'data-v-df80f508']}}" data-name="header" data-value="{{1}}" bindtap="{{W}}"></view><view class="{{[X && 'ql-active', 'iconfont', 'icon-zitixiabiao', 'data-v-df80f508']}}" data-name="script" data-value="sub" bindtap="{{Y}}"></view><view class="{{[Z && 'ql-active', 'iconfont', 'icon-zitishangbiao', 'data-v-df80f508']}}" data-name="script" data-value="super" bindtap="{{aa}}"></view><view class="iconfont icon-shanchu data-v-df80f508" bindtap="{{ab}}"></view><view class="{{[ac && 'ql-active', 'iconfont', 'icon-direction-rtl', 'data-v-df80f508']}}" data-name="direction" data-value="rtl" bindtap="{{ad}}"></view></view><view class="editor-wrapper data-v-df80f508"><block wx:if="{{r0}}"><editor id="{{ae}}" class="ql-container data-v-df80f508" placeholder="{{af}}" showImgSize showImgToolbar showImgResize bindstatuschange="{{ag}}" read-only="{{ah}}" bindready="{{ai}}" bindinput="{{aj}}"></editor></block></view></block><view wx:else class="data-v-df80f508"><mp-html wx:if="{{ak}}" class="editor-box data-v-df80f508" u-i="df80f508-0" bind:__l="__l" u-p="{{ak}}"/></view></view>
\ No newline at end of file
@font-face{font-family:iconfont;src:url(data:font/truetype;charset=utf-8;base64,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AAsAJgFuAAoAQwByAGUAYQB0AGUAZAAgAGIAeQAgAGkAYwBvAG4AZgBvAG4AdAAKAAAKQ3JlYXRlZCBieSBpY29uZm9udAoAAGkAYwBvAG4AZgBvAG4AdAAAaWNvbmZvbnQAAFIAZQBnAHUAbABhAHIAAFJlZ3VsYXIAAGkAYwBvAG4AZgBvAG4AdAAAaWNvbmZvbnQAAGkAYwBvAG4AZgBvAG4AdAAAaWNvbmZvbnQAAFYAZQByAHMAaQBvAG4AIAAxAC4AMAAAVmVyc2lvbiAxLjAAAGkAYwBvAG4AZgBvAG4AdAAAaWNvbmZvbnQAAEcAZQBuAGUAcgBhAHQAZQBkACAAYgB5ACAAcwB2AGcAMgB0AHQAZgAgAGYAcgBvAG0AIABGAG8AbgB0AGUAbABsAG8AIABwAHIAbwBqAGUAYwB0AC4AAEdlbmVyYXRlZCBieSBzdmcydHRmIGZyb20gRm9udGVsbG8gcHJvamVjdC4AAGgAdAB0AHAAOgAvAC8AZgBvAG4AdABlAGwAbABvAC4AYwBvAG0AAGh0dHA6Ly9mb250ZWxsby5jb20AAAIAAAAAAAAACgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOwAAAAEAAgECAQMBBAEFAQYBBwEIAQkBCgELAQwBDQEOAQ8BEAERARIBEwEUARUBFgEXARgBGQEaARsBHAEdAR4BHwEgASEBIgEjASQBJQEmAScBKAEpASoBKwEsAS0BLgEvATABMQEyATMBNAE1ATYBNwE4ATkEcmVkbwlzZWxlY3RhbGwHcHJldmlldwR1bmRvBGRhdGUHY2xlYXJ1cBU3MjNiaWFuamlxaV9kdWFuaG91anUWNzIyYmlhbmppcWlfZHVhbnFpYW5qdQotY2hlY2tsaXN0DWRpcmVjdGlvbi1sdHINZGlyZWN0aW9uLXJ0bAtmb250Ymdjb2xvcg1jbGVhcmVkZm9ybWF0BGZvbnQHb3V0ZGVudAhmb250c2l6ZQp0ZXh0X2NvbG9yD2Zvcm1hdC1oZWFkZXItMg9mb3JtYXQtaGVhZGVyLTMLbGluZS1oZWlnaHQPZm9ybWF0LWhlYWRlci0xD2Zvcm1hdC1oZWFkZXItNA9mb3JtYXQtaGVhZGVyLTUPZm9ybWF0LWhlYWRlci02EUNoYXJhY3Rlci1TcGFjaW5nBmluZGVudAZiYW9jdW4IcXVhbnBpbmcFZnV6aGkHc2hhbmNodQxiaWFuamlzZWt1YWkJZmVuZ2V4aWFuB2RpYW56YW4MY2hhcnVsaWFuamllC2NoYXJ1dHVwaWFuCnd1eHVwYWlsaWUManV6aG9uZ2R1aXFpB3lpbnlvbmcLeW91eHVwYWlsaWUIeW91ZHVpcWkJeml0aWRhaW1hCHhpYW9saWFuCXppdGlqaWFjdQ96aXRpc2hhbmNodXhpYW4Neml0aXNoYW5nYmlhbwp6aXRpYmlhb3RpDnppdGl4aWFodWF4aWFuCXppdGl4aWV0aQl6aXRpeWFuc2UIenVvZHVpcWkJeml0aXl1bGFuC3ppdGl4aWFiaWFvC3p1b3lvdWR1aXFpB2R1aWdvdXgGZ3VhbmJpDnNoZW5neWluX3NoaXRpAAAAAAAB//8AAgABAAAADAAAABYAAAACAAEAAwA6AAEABAAAAAIAAAAAAAAAAQAAAADVpCcIAAAAANhk6GIAAAAA2GToYg==) format("truetype");font-weight:400;font-style:normal;font-display:swap}.iconfont.data-v-df80f508{font-family:iconfont!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-redo.data-v-df80f508:before{content:"\e627"}.icon-undo.data-v-df80f508:before{content:"\e633"}.icon-indent.data-v-df80f508:before{content:"\eb28"}.icon-outdent.data-v-df80f508:before{content:"\e6e8"}.icon-fontsize.data-v-df80f508:before{content:"\e6fd"}.icon-format-header-1.data-v-df80f508:before{content:"\e860"}.icon-format-header-4.data-v-df80f508:before{content:"\e863"}.icon-format-header-5.data-v-df80f508:before{content:"\e864"}.icon-format-header-6.data-v-df80f508:before{content:"\e865"}.icon-clearup.data-v-df80f508:before{content:"\e64d"}.icon-preview.data-v-df80f508:before{content:"\e631"}.icon-date.data-v-df80f508:before{content:"\e63e"}.icon-fontbgcolor.data-v-df80f508:before{content:"\e678"}.icon-clearedformat.data-v-df80f508:before{content:"\e67e"}.icon-font.data-v-df80f508:before{content:"\e684"}.icon-723bianjiqi_duanhouju.data-v-df80f508:before{content:"\e65f"}.icon-722bianjiqi_duanqianju.data-v-df80f508:before{content:"\e660"}.icon-text_color.data-v-df80f508:before{content:"\e72c"}.icon-format-header-2.data-v-df80f508:before{content:"\e75c"}.icon-format-header-3.data-v-df80f508:before{content:"\e75d"}.icon--checklist.data-v-df80f508:before{content:"\e664"}.icon-baocun.data-v-df80f508:before{content:"\ec09"}.icon-line-height.data-v-df80f508:before{content:"\e7f8"}.icon-quanping.data-v-df80f508:before{content:"\ec13"}.icon-direction-rtl.data-v-df80f508:before{content:"\e66e"}.icon-direction-ltr.data-v-df80f508:before{content:"\e66d"}.icon-selectall.data-v-df80f508:before{content:"\e62b"}.icon-fuzhi.data-v-df80f508:before{content:"\ec7a"}.icon-shanchu.data-v-df80f508:before{content:"\ec7b"}.icon-bianjisekuai.data-v-df80f508:before{content:"\ec7c"}.icon-fengexian.data-v-df80f508:before{content:"\ec7f"}.icon-dianzan.data-v-df80f508:before{content:"\ec80"}.icon-charulianjie.data-v-df80f508:before{content:"\ec81"}.icon-charutupian.data-v-df80f508:before{content:"\ec82"}.icon-wuxupailie.data-v-df80f508:before{content:"\ec83"}.icon-juzhongduiqi.data-v-df80f508:before{content:"\ec84"}.icon-yinyong.data-v-df80f508:before{content:"\ec85"}.icon-youxupailie.data-v-df80f508:before{content:"\ec86"}.icon-youduiqi.data-v-df80f508:before{content:"\ec87"}.icon-zitidaima.data-v-df80f508:before{content:"\ec88"}.icon-xiaolian.data-v-df80f508:before{content:"\ec89"}.icon-zitijiacu.data-v-df80f508:before{content:"\ec8a"}.icon-zitishanchuxian.data-v-df80f508:before{content:"\ec8b"}.icon-zitishangbiao.data-v-df80f508:before{content:"\ec8c"}.icon-zitibiaoti.data-v-df80f508:before{content:"\ec8d"}.icon-zitixiahuaxian.data-v-df80f508:before{content:"\ec8e"}.icon-zitixieti.data-v-df80f508:before{content:"\ec8f"}.icon-zitiyanse.data-v-df80f508:before{content:"\ec90"}.icon-zuoduiqi.data-v-df80f508:before{content:"\ec91"}.icon-zitiyulan.data-v-df80f508:before{content:"\ec92"}.icon-zitixiabiao.data-v-df80f508:before{content:"\ec93"}.icon-zuoyouduiqi.data-v-df80f508:before{content:"\ec94"}.icon-duigoux.data-v-df80f508:before{content:"\ec9e"}.icon-guanbi.data-v-df80f508:before{content:"\eca0"}.icon-shengyin_shiti.data-v-df80f508:before{content:"\eca5"}.icon-Character-Spacing.data-v-df80f508:before{content:"\e964"}.data-v-df80f508 .ql-editor{word-break:break-all}.jnpf-editor.data-v-df80f508{background-color:#fff}.jnpf-editor .iconfont.data-v-df80f508{display:inline-block;width:80rpx;height:80rpx;cursor:pointer;font-size:20px;line-height:80rpx;text-align:center}.jnpf-editor .toolbar.data-v-df80f508{height:240rpx;background:#f5f5f5;overflow-y:auto;box-sizing:border-box;border-bottom:0;font-family:Helvetica Neue,Helvetica,Arial,sans-serif}.jnpf-editor .ql-container.data-v-df80f508{box-sizing:border-box;padding:20rpx;width:100%;height:400rpx;margin-top:20rpx;font-size:30rpx;line-height:1.5}.jnpf-editor .ql-active.data-v-df80f508{color:#06c}
"use strict";const e=require("../../../common/vendor.js"),t={label:"fullName",value:"id",icon:"icon",children:"children"},s={props:{options:{type:Array,default:()=>[]},selectedData:{type:Array,default:()=>[]},selectId:{default:""},modelValue:{type:Boolean,default:!1},zIndex:{type:[String,Number],default:99999},props:{type:Object,default:()=>({label:"fullName",value:"id",icon:"icon",children:"children",isLeaf:"isLeaf"})},multiple:{type:Boolean,default:!1}},data:()=>({moving:!1,selectList:[],selectListId:[],newListId:[],keyword:"",showPopup:!1}),watch:{modelValue:{handler(e){this.showPopup=e,e&&setTimeout((()=>this.init()),10)},immediate:!0}},created(){this.init()},computed:{uZIndex(){return this.zIndex?this.zIndex:this.$u.zIndex.popup},realProps(){return{...t,...this.props}}},methods:{init(){this.keyword="",this.selectListId=JSON.parse(JSON.stringify(this.selectId)),Array.isArray(this.selectId)||(this.selectListId=[]),this.selectList=JSON.parse(JSON.stringify(this.selectedData))},handleNodeClick(e){1!=e.level&&(this.multiple||(this.selectList=[],this.selectListId=[]),this.selectList.some((t=>t.id===e.data.id))||(this.selectList.push(e.data),this.selectListId.push(e.data.id)))},delSelect(e){this.selectList.splice(e,1),this.selectListId.splice(e,1)},setCheckAll(){this.selectList=[],this.selectListId=[],this.$refs.tree.setCheckAll(!1)},handleConfirm(){this.$emit("confirm",this.selectList,this.selectListId),this.close()},close(){this.$emit("close")},filterNode(e,t){return!e||-1!==t[this.realProps.label].indexOf(e)},handleSearch(e){this.$refs.tree&&this.$refs.tree.filter(this.keyword)}}};if(!Array){(e.resolveComponent("u-search")+e.resolveComponent("u-tag")+e.resolveComponent("ly-tree")+e.resolveComponent("u-button")+e.resolveComponent("u-popup"))()}Math||((()=>"../../../uni_modules/vk-uview-ui/components/u-search/u-search.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-tag/u-tag.js")+(()=>"../../ly-tree/ly-tree.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-button/u-button.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-popup/u-popup.js"))();const i=e._export_sfc(s,[["render",function(t,s,i,o,l,r){return e.e({a:e.o((e=>r.close())),b:e.o(r.handleSearch),c:e.o((e=>l.keyword=e)),d:e.p({placeholder:"请输入关键词搜索",height:"72","show-action":!1,"bg-color":"#f0f2f6",shape:"square",modelValue:l.keyword}),e:i.multiple},i.multiple?{f:e.o(((...e)=>r.setCheckAll&&r.setCheckAll(...e)))}:{},{g:e.f(l.selectList,((t,s,i)=>({a:e.o((e=>r.delSelect(s)),s),b:s,c:"8884f9cc-2-"+i+",8884f9cc-0",d:e.p({closeable:!0,text:t.fullName})}))),h:e.sr("tree","8884f9cc-3,8884f9cc-0"),i:e.o(r.handleNodeClick),j:e.p({"node-key":r.realProps.value,"tree-data":i.options,"show-checkbox":!1,props:r.realProps,"show-node-icon":!0,"show-radio":!1,"filter-node-method":r.filterNode,"highlight-current":!0}),k:e.o((e=>r.close())),l:e.o((e=>r.handleConfirm())),m:e.p({type:"primary"}),n:e.o(r.close),o:e.o((e=>l.showPopup=e)),p:e.p({mode:"right","z-index":r.uZIndex,width:"100%",modelValue:l.showPopup})})}]]);wx.createComponent(i);
{
"component": true,
"usingComponents": {
"u-search": "../../../uni_modules/vk-uview-ui/components/u-search/u-search",
"u-tag": "../../../uni_modules/vk-uview-ui/components/u-tag/u-tag",
"ly-tree": "../../ly-tree/ly-tree",
"u-button": "../../../uni_modules/vk-uview-ui/components/u-button/u-button",
"u-popup": "../../../uni_modules/vk-uview-ui/components/u-popup/u-popup"
}
}
\ No newline at end of file
<u-popup wx:if="{{p}}" u-s="{{['d']}}" class="jnpf-tree-select-popup" bindclose="{{n}}" u-i="8884f9cc-0" bind:__l="__l" bindupdateModelValue="{{o}}" u-p="{{p}}"><view class="jnpf-tree-select-body"><view class="jnpf-tree-select-title"><text class="icon-ym icon-ym-report-icon-preview-pagePre backIcon" bindtap="{{a}}"></text><view class="title">分组选择</view></view><view class="jnpf-tree-select-search"><u-search wx:if="{{d}}" bindchange="{{b}}" u-i="8884f9cc-1,8884f9cc-0" bind:__l="__l" bindupdateModelValue="{{c}}" u-p="{{d}}"></u-search></view><view class="jnpf-tree-selected"><view class="jnpf-tree-selected-head"><view>已选</view><view wx:if="{{e}}" class="clear-btn" bindtap="{{f}}">清空列表</view></view><view class="jnpf-tree-selected-box"><scroll-view scroll-y="true" class="select-list"><u-tag wx:for="{{g}}" wx:for-item="list" wx:key="b" bindclose="{{list.a}}" class="u-selectTag" u-i="{{list.c}}" bind:__l="__l" u-p="{{list.d}}"/></scroll-view></view></view><view class="jnpf-tree-select-tree"><scroll-view scroll-y="{{true}}" style="height:100%"><ly-tree wx:if="{{j}}" class="r" u-r="tree" bindnodeClick="{{i}}" u-i="8884f9cc-3,8884f9cc-0" bind:__l="__l" u-p="{{j}}"/></scroll-view></view><view class="jnpf-tree-select-actions"><u-button u-s="{{['d']}}" class="buttom-btn" bindclick="{{k}}" u-i="8884f9cc-4,8884f9cc-0" bind:__l="__l">取消</u-button><u-button wx:if="{{m}}" u-s="{{['d']}}" class="buttom-btn" catchclick="{{l}}" u-i="8884f9cc-5,8884f9cc-0" bind:__l="__l" u-p="{{m}}">确定</u-button></view></view></u-popup>
\ No newline at end of file
"use strict";const e=require("../../../api/common.js"),t=require("../../../store/modules/base.js"),l=require("../../../common/vendor.js"),s=t.useBaseStore(),i={name:"jnpf-group-select",components:{Tree:()=>"./Tree.js"},props:{modelValue:{default:""},placeholder:{type:String,default:"请选择"},props:{type:Object,default:()=>({label:"fullName",value:"id",children:"children",isLeaf:"isLeaf"})},disabled:{type:Boolean,default:!1},multiple:{type:Boolean,default:!1},selectType:{type:String,default:"all"},ableIds:{type:Array,default:()=>[]}},data:()=>({selectShow:!1,innerValue:"",options:[],selectedData:[],allList:[]}),watch:{modelValue:{handler(e){this.getOptions()},immediate:!0}},methods:{getOptions(){"custom"===this.selectType?this.getGroupCondition():this.getAllOptions()},setDefault(){if(!this.modelValue||!this.modelValue.length)return this.setNullValue();this.selectedData=[];let e=this.multiple?this.modelValue:[this.modelValue];for(let t=0;t<e.length;t++)e:for(let l=0;l<this.allList.length;l++)if(this.allList[l].id===e[t]){this.selectedData.push(this.allList[l]);break e}this.innerValue=this.selectedData.map((e=>e.fullName)).join()},async getAllOptions(){this.options=await s.getGroupTree(),this.allList=await this.treeToArray(),this.setDefault()},getGroupCondition(){let t={ids:this.ableIds};e.getGroupCondition(t).then((e=>{this.options=e.data.list||[],this.allList=this.treeToArray(),this.setDefault()}))},setNullValue(){this.innerValue="",this.selectedData=[]},treeToArray(){let e=JSON.parse(JSON.stringify(this.options)),t=[];const l=e=>{for(let s=0;s<e.length;s++){const i=e[s];t.push(i),i.children&&Array.isArray(i.children)&&l(i.children)}};return l(e),t},openSelect(){this.disabled||(this.selectShow=!0)},handleConfirm(e,t){this.multiple?(this.$emit("update:modelValue",t),this.$emit("change",t,e)):(this.$emit("update:modelValue",t[0]),this.$emit("change",t[0],e[0]))},handleClose(){this.selectShow=!1}}};if(!Array){(l.resolveComponent("u-input")+l.resolveComponent("Tree"))()}Math;const a=l._export_sfc(i,[["render",function(e,t,s,i,a,o){return{a:l.o(o.openSelect),b:l.o((e=>a.innerValue=e)),c:l.p({"input-align":"right",type:"select","select-open":a.selectShow,placeholder:s.placeholder,modelValue:a.innerValue}),d:l.o(o.handleClose),e:l.o(o.handleConfirm),f:l.o((e=>a.selectShow=e)),g:l.p({options:a.options,multiple:s.multiple,props:s.props,selectedData:a.selectedData,selectId:s.multiple?s.modelValue:[s.modelValue],modelValue:a.selectShow})}}],["__scopeId","data-v-e2f14d17"]]);wx.createComponent(a);
{
"component": true,
"usingComponents": {
"tree": "./Tree",
"u-input": "../../../uni_modules/vk-uview-ui/components/u-input/u-input"
}
}
\ No newline at end of file
<view class="jnpf-group-select data-v-e2f14d17"><u-input wx:if="{{c}}" class="data-v-e2f14d17" bindclick="{{a}}" u-i="e2f14d17-0" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}"/><tree wx:if="{{g}}" class="data-v-e2f14d17" bindclose="{{d}}" bindconfirm="{{e}}" u-i="e2f14d17-1" bind:__l="__l" bindupdateModelValue="{{f}}" u-p="{{g}}"/></view>
\ No newline at end of file
"use strict";const e=require("../../../common/vendor.js"),t={name:"jnpf-group-title",props:{content:{type:String,default:""},helpMessage:{type:String,default:""},contentPosition:{type:String,default:"left"}},methods:{handleClick(){this.helpMessage&&this.$emit("groupIcon")}}};if(!Array){e.resolveComponent("u-icon")()}Math;const n=e._export_sfc(t,[["render",function(t,n,o,c,i,r){return{a:e.t(o.content),b:e.p({name:o.helpMessage?"question-circle-fill":"",color:"#a0acb7"}),c:o.contentPosition,d:e.o((e=>r.handleClick()))}}],["__scopeId","data-v-2b0efe4e"]]);wx.createComponent(n);
{
"component": true,
"usingComponents": {
"u-icon": "../../../uni_modules/vk-uview-ui/components/u-icon/u-icon"
}
}
\ No newline at end of file
<view class="jnpf-group-title data-v-2b0efe4e" style="{{'text-align:' + c}}" bindtap="{{d}}">{{a}} <u-icon wx:if="{{b}}" class="u-m-l-10 data-v-2b0efe4e" u-i="2b0efe4e-0" bind:__l="__l" u-p="{{b}}"></u-icon></view>
\ No newline at end of file
.jnpf-group-title.data-v-2b0efe4e{width:100%;color:#333;font-size:32rpx;line-height:70rpx;margin:0;padding:0 20rpx}
"use strict";const e=require("../../../common/vendor.js"),t=require("./useTextMask.js"),a={name:"jnpf-input",props:{modelValue:{type:[String,Number],default:""},placeholder:{type:String,default:""},maxlength:{type:Number,default:null},showPassword:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},detailed:{type:Boolean,default:!1},showOverflow:{type:Boolean,default:!1},addonBefore:{type:String,default:""},addonAfter:{type:String,default:""},align:{type:String,default:"right"},useScan:{type:Boolean,default:!1},useMask:{type:Boolean,default:!1},maskConfig:{type:Object,default:()=>{}},showCount:{type:Boolean,default:!1}},data:()=>({innerValue:"",maskedValue:""}),watch:{modelValue:{handler(e){if(this.innerValue=e,!this.useMask)return this.maskedValue=e;const{getMaskedText:a}=t.useTextMask(this.maskConfig);this.maskedValue=a(e)},immediate:!0}},methods:{onInput(e){this.$emit("update:modelValue",e),this.$emit("change",e)},onBlur(e){this.$emit("blur",e)},isJSON(e){try{var t=JSON.parse(e);return!("object"!=typeof t||!t)}catch(a){return!1}},scanCode(){e.index.scanCode({success:e=>{e.result&&"string"==typeof e.result&&this.onInput(e.result)}})}}};if(!Array){e.resolveComponent("u-input")()}Math;const n=e._export_sfc(a,[["render",function(t,a,n,o,d,l){return e.e({a:!n.detailed},n.detailed?e.e({q:n.addonBefore},n.addonBefore?{r:e.t(n.addonBefore)}:{},{s:e.t(d.maskedValue),t:n.addonAfter},n.addonAfter?{v:e.t(n.addonAfter)}:{},{w:n.showOverflow?1:"",x:"detail-text-"+n.align}):e.e({b:n.addonBefore},n.addonBefore?{c:e.t(n.addonBefore)}:{},{d:e.o(l.onInput),e:e.o(l.onBlur),f:e.o((e=>d.innerValue=e)),g:e.p({"input-align":"right",border:!1,type:n.showPassword?"password":"text",maxlength:n.maxlength||0===n.maxlength?n.maxlength:9999,placeholder:n.placeholder,disabled:n.disabled,clearable:!n.disabled&&n.clearable,modelValue:d.innerValue}),h:n.useScan},n.useScan?{i:e.o(((...e)=>l.scanCode&&l.scanCode(...e)))}:{},{j:n.addonAfter},n.addonAfter?{k:e.t(n.addonAfter)}:{},{l:n.showCount&&!n.addonBefore&&!n.addonAfter},!n.showCount||n.addonBefore||n.addonAfter?{}:e.e({m:e.t(d.innerValue?String(d.innerValue).length:0),n:n.maxlength},n.maxlength?{o:e.t(n.maxlength)}:{}),{p:n.addonBefore||n.addonAfter?1:""}))}]]);wx.createComponent(n);
{
"component": true,
"usingComponents": {
"u-input": "../../../uni_modules/vk-uview-ui/components/u-input/u-input"
}
}
\ No newline at end of file
<view class="jnpf-input"><block wx:if="{{a}}"><view class="{{['input-content', p && 'input-border']}}"><view wx:if="{{b}}" class="input-left u-line-1">{{c}}</view><view class="input-center"><u-input wx:if="{{g}}" bindinput="{{d}}" bindblur="{{e}}" u-i="f4a9d856-0" bind:__l="__l" bindupdateModelValue="{{f}}" u-p="{{g}}"/></view><text wx:if="{{h}}" class="icon-ym icon-ym-scanCode1" bindtap="{{i}}"/><view wx:if="{{j}}" class="input-right u-line-1">{{k}}</view><view wx:if="{{l}}" class="input-count"><text>{{m}}</text><text wx:if="{{n}}">/{{o}}</text></view></view></block><view wx:else class="{{['detail-text', w && 'ellipsis', x]}}"><text wx:if="{{q}}" class="detail-text-addon">{{r}}</text> {{s}} <text wx:if="{{t}}" class="detail-text-addon">{{v}}</text></view></view>
\ No newline at end of file
.jnpf-input{width:100%}.jnpf-input .input-content{display:flex;border-radius:10rpx;height:74rpx}.jnpf-input .input-content.input-border{border:1rpx solid #dcdfe6}.jnpf-input .input-content .input-center{flex:1;padding:0 8rpx}.jnpf-input .input-content .input-left,.jnpf-input .input-content .input-right{flex-shrink:0;width:128rpx;background-color:#f5f7fa;color:#909399;padding:0 10rpx;text-align:center}.jnpf-input .input-content .input-left{border-right:1rpx solid #dcdfe6;border-radius:10rpx 0 0 10rpx}.jnpf-input .input-content .input-right{border-left:1rpx solid #dcdfe6;border-radius:0 10px 10px 0}.jnpf-input .input-content .icon-ym-scanCode1{margin-right:8rpx;color:#909399}.jnpf-input .input-content .input-count{color:#909399;font-size:24rpx}.jnpf-input .detail-text{word-break:break-all;text-align:right}.jnpf-input .detail-text .detail-text-addon{color:#909399}.jnpf-input .detail-text.ellipsis{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.jnpf-input .detail-text.detail-text-left{text-align:left}
"use strict";const e={filler:"*",maskType:1,prefixType:1,prefixLimit:0,prefixSpecifyChar:"",suffixType:1,suffixLimit:0,suffixSpecifyChar:"",ignoreChar:"",useUnrealMask:!1,unrealMaskLength:1};exports.useTextMask=function(t={}){const r={...e,...t};function n(e){return r.filler.repeat(e.length)}function i(e){if(e.length<=1)return e;const t=e[0];if(2===e.length)return t+r.filler;const n=e.slice(-1);return t+r.filler.repeat(e.length-2)+n}function s(e){if(e.length<=7)return e;const t=e.slice(0,3),n=e.slice(-4);return t+r.filler.repeat(e.length-7)+n}function l(e){const t=e.indexOf("@");if(e.length<=3||t>-1&&t<3)return e;let n=0,i=e.length-3;t>0&&(n=t,i=t-3);const s=e.slice(0,3),l=n?e.slice(n):"";return s+r.filler.repeat(i)+l}function f(e){if(e.length<=9)return e;const t=e.slice(0,6),n=e.slice(-3);return t+r.filler.repeat(4)+n}function a(e){const t=e.split(".");if(t.length<1)return e;const n=("."+r.filler.repeat(3)).repeat(3);return t[0]+n}function p(e){if(e.length<=3)return e;const t=e[0],n=e.slice(-2);return t+r.filler.repeat(e.length-3)+n}function u(e){if(e.length<=10)return e;const t=e.slice(0,6),n=e.slice(-4);return t+r.filler.repeat(e.length-10)+n}function c(e){let t=0,n=0;if(2===r.prefixType&&(t=r.prefixLimit||0),(3===r.prefixType||4===r.prefixType)&&r.prefixSpecifyChar){let n=e.indexOf(r.prefixSpecifyChar);n>-1&&(t=3===r.prefixType?n:n+r.prefixSpecifyChar.length)}if(2===r.suffixType&&(n=r.suffixLimit||0),(3===r.suffixType||4===r.suffixType)&&r.suffixSpecifyChar){let t=e.indexOf(r.suffixSpecifyChar);t>-1&&(n=3===r.suffixType?e.length-t-r.suffixSpecifyChar.length:e.length-t)}if(t+n>=e.length)return e;const i=t?e.slice(0,t):"",s=n?e.slice(-n):"";let l="";if(r.ignoreChar){const i=r.ignoreChar.split(","),s=e.slice(t,e.length-n),f=new RegExp("("+i.map((e=>e.replace(/\*/g,"\\*"))).join("|")+")","g");let a=s.split(f);a=a.map((e=>{if(e&&!i.includes(e)){const t=r.useUnrealMask?r.unrealMaskLength||1:e.length;e=r.filler.repeat(t)}return e})),l=a.join("")}else{const i=r.useUnrealMask?r.unrealMaskLength||1:e.length-t-n;l=r.filler.repeat(i)}return i+l+s}return{maskAll:n,maskName:i,maskPhoneNumber:s,maskEmailAddress:l,maskIdNumber:f,maskIPAddress:a,maskLicensePlate:p,maskBankCard:u,maskCustom:c,getMaskedText:function(e){return e?1===r.maskType?n(e):2===r.maskType?i(e):3===r.maskType?s(e):4===r.maskType?l(e):5===r.maskType?f(e):6===r.maskType?a(e):7===r.maskType?p(e):8===r.maskType?u(e):0===r.maskType?c(e):e:""}}};
"use strict";const e=require("../../../common/vendor.js"),t={name:"jnpf-input-number",props:{modelValue:{type:[Number,String],default:""},min:{type:Number,default:-999999999999999},max:{type:Number,default:999999999999999},step:{type:Number,default:1},disabled:{type:Boolean,default:!1},addonBefore:{default:""},addonAfter:{default:""},precision:{type:Number},controls:{type:Boolean,default:!0},thousands:{type:Boolean,default:!1},isAmountChinese:{type:Boolean,default:!1},detailed:{type:Boolean,default:!1},type:{default:""},placeholder:{default:"请输入"}},data:()=>({innerValue:null,key:+new Date}),watch:{modelValue:{handler(e){this.setValue(e)},immediate:!0},getChineseName(t){e.index.$emit("initCollapse")}},computed:{getChineseName(){return!this.isAmountChinese||!this.getNumberValue&&0!==this.getNumberValue?"":this.jnpf.getAmountChinese(this.getNumberValue)},getNumberValue(){return this.handleConvertNum(this.innerValue)}},methods:{setValue(e){if(this.innerValue=!e&&0!==e||isNaN(e)?null:Number(e),!this.innerValue&&0!==this.innerValue)return this.key=+new Date;if(this.innerValue<this.min&&(this.innerValue=this.min),this.innerValue>this.max&&(this.innerValue=this.max),!isNaN(this.precision)){const e=Number(this.getNumberValue).toFixed(this.precision);this.innerValue=this.controls?Number(e):e}this.thousands&&(this.innerValue=this.jnpf.thousandsFormat(this.innerValue))},onChange(){this.setValue(this.innerValue),this.$emit("update:modelValue",this.innerValue),this.$emit("change",this.innerValue)},onInputChange(){this.$emit("change",this.innerValue)},onNumberBlur(){this.key=+new Date,this.setValue(this.innerValue),this.$emit("blur",this.innerValue)},onBlur(e){this.setValue(this.getNumberValue),this.$emit("blur",this.getNumberValue),this.$emit("update:modelValue",this.getNumberValue)},onFocus(){this.innerValue&&(this.innerValue.toString().indexOf("e+")>-1||(this.innerValue=isNaN(this.precision)?this.getNumberValue:Number(this.getNumberValue).toFixed(this.precision)))},handleConvertNum(e){if(!e&&0!==e)return null;let t=this.$u.deepClone(e.toString().split("."));const n=t.length>1?t[1].split("").filter((e=>!isNaN(e))).join(""):[];let i=t[0].split("").filter((e=>!isNaN(e))).join(""),a=t[1]?i+"."+n:Number(i);return-1!=e.toString().indexOf("-")?Number("-"+a):a}}};if(!Array){(e.resolveComponent("u-number-box")+e.resolveComponent("u-input"))()}Math||((()=>"../../../uni_modules/vk-uview-ui/components/u-number-box/u-number-box.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-input/u-input.js"))();const n=e._export_sfc(t,[["render",function(t,n,i,a,u,o){return e.e({a:!i.detailed},i.detailed?e.e({r:i.addonBefore&&!i.controls},i.addonBefore&&!i.controls?{s:e.t(i.addonBefore)}:{},{t:e.t(i.thousands?t.jnpf.thousandsFormat(u.innerValue):u.innerValue),v:i.addonAfter&&!i.controls},i.addonAfter&&!i.controls?{w:e.t(i.addonAfter)}:{}):e.e({b:i.controls},i.controls?{c:u.key,d:e.o(o.onNumberBlur),e:e.o(o.onChange),f:e.o((e=>u.innerValue=e)),g:e.p({step:i.step,min:i.min,max:i.max,disabled:i.disabled,"positive-integer":!1,"input-height":60,modelValue:u.innerValue})}:e.e({h:i.addonBefore},i.addonBefore?{i:e.t(i.addonBefore)}:{},{j:e.o(o.onFocus),k:e.o(o.onBlur),l:e.o(o.onInputChange),m:e.o((e=>u.innerValue=e)),n:e.p({placeholder:i.placeholder,"input-align":i.addonBefore||i.addonAfter?"center":"right",disabled:i.disabled,clearable:!1,modelValue:u.innerValue}),o:i.addonAfter},i.addonAfter?{p:e.t(i.addonAfter)}:{},{q:i.addonBefore||i.addonAfter?1:""})),{x:i.isAmountChinese&&o.getChineseName},i.isAmountChinese&&o.getChineseName?{y:e.t(o.getChineseName)}:{})}],["__scopeId","data-v-4fe55622"]]);wx.createComponent(n);
{
"component": true,
"usingComponents": {
"u-number-box": "../../../uni_modules/vk-uview-ui/components/u-number-box/u-number-box",
"u-input": "../../../uni_modules/vk-uview-ui/components/u-input/u-input"
}
}
\ No newline at end of file
<view class="jnpf-input-number data-v-4fe55622"><view wx:if="{{a}}" class="data-v-4fe55622"><u-number-box wx:if="{{b}}" class="data-v-4fe55622" key="{{c}}" bindblur="{{d}}" bindchange="{{e}}" u-i="4fe55622-0" bind:__l="__l" bindupdateModelValue="{{f}}" u-p="{{g}}"/><view wx:else class="{{['input-content', 'data-v-4fe55622', q && 'input-border']}}"><view wx:if="{{h}}" class="input-left u-line-1 data-v-4fe55622">{{i}}</view><view class="input-center data-v-4fe55622"><u-input wx:if="{{n}}" class="data-v-4fe55622" bindfocus="{{j}}" bindblur="{{k}}" bindinput="{{l}}" u-i="4fe55622-1" bind:__l="__l" bindupdateModelValue="{{m}}" u-p="{{n}}"></u-input></view><view wx:if="{{o}}" class="input-right u-line-1 data-v-4fe55622">{{p}}</view></view></view><view wx:else class="data-v-4fe55622"><view class="detail-content u-flex data-v-4fe55622"><view wx:if="{{r}}" class="detail-left u-line-1 data-v-4fe55622">{{s}}</view><view class="detail-center data-v-4fe55622">{{t}}</view><view wx:if="{{v}}" class="detail-right u-line-1 data-v-4fe55622">{{w}}</view></view></view><view wx:if="{{x}}" class="amount-chinese-name data-v-4fe55622">{{y}}</view></view>
\ No newline at end of file
.jnpf-input-number.data-v-4fe55622{width:100%;display:flex;flex-direction:column;align-items:flex-end}.jnpf-input-number.data-v-4fe55622 .u-number-input{width:150rpx!important}.jnpf-input-number .input-content.data-v-4fe55622{display:flex;border-radius:10rpx;height:74rpx}.jnpf-input-number .input-content.input-border.data-v-4fe55622{border:1rpx solid #dcdfe6}.jnpf-input-number .input-content .input-left.data-v-4fe55622,.jnpf-input-number .input-content .input-right.data-v-4fe55622{flex-shrink:0;width:128rpx;background-color:#f5f7fa;color:#909399;padding:0 10rpx;text-align:center}.jnpf-input-number .input-content .input-left.data-v-4fe55622{border-right:1rpx solid #dcdfe6;border-radius:10rpx 0 0 10rpx}.jnpf-input-number .input-content .input-right.data-v-4fe55622{border-left:1rpx solid #dcdfe6;border-radius:0 10px 10px 0}.jnpf-input-number .detail-content .detail-left.data-v-4fe55622{max-width:128rpx;padding-right:16rpx;color:#909399}.jnpf-input-number .detail-content .detail-right.data-v-4fe55622{max-width:128rpx;padding-left:16rpx;color:#909399}.jnpf-input-number .amount-chinese-name.data-v-4fe55622{color:#999;line-height:40rpx;padding:10rpx 10rpx 0 0}
"use strict";const t=require("../../../common/vendor.js"),e={name:"jnpf-link",props:{content:{type:String,default:"文本链接"},href:{type:String,default:""},target:{type:String,default:""},textStyle:{type:Object,default:{}}},methods:{handleClick(e){if(!this.href)return this.$u.toast("未配置跳转链接");this.target,t.index.navigateTo({url:"/pages/apply/externalLink/index?url="+this.href,fail:t=>{this.$u.toast("暂无此页面")}})}}};const n=t._export_sfc(e,[["render",function(e,n,r,a,i,o){return{a:t.t(r.content),b:t.s(r.textStyle),c:t.o((t=>o.handleClick()))}}],["__scopeId","data-v-9d34e126"]]);wx.createComponent(n);
{
"component": true,
"usingComponents": {}
}
\ No newline at end of file
<view class="jnpf-link data-v-9d34e126" style="{{b}}" bindtap="{{c}}"><text class="data-v-9d34e126">{{a}}</text></view>
\ No newline at end of file
.jnpf-link.data-v-9d34e126{width:100%;color:#1890ff;text-align:center}
"use strict";const e=require("../../../common/vendor.js"),t=require("../../../api/common.js"),i={lat:"",lng:"",name:"",fullAddress:""},n={name:"jnpf-location",props:{modelValue:{type:String,default:""},autoLocation:{type:Boolean,default:!1},enableLocationScope:{type:Boolean,default:!1},adjustmentScope:{type:Number,default:500},enableDesktopLocation:{type:Boolean,default:!1},locationScope:{type:Array,default:[]},disabled:{type:Boolean,default:!1},detailed:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1}},data:()=>({innerValue:"",errTitle:"",emitKey:""}),watch:{modelValue:{handler(e){this.innerValue=e?JSON.parse(e):i},immediate:!0}},computed:{staticMapUrl(){if(!this.enableLocationScope)return" ";const e=this.innerValue.lng+","+this.innerValue.lat;return`${this.define.baseURL}/api/system/Location/staticmap?location=${e}&zoom=19&size=80*80&key=${this.define.aMapWebKey}`}},created(){this.errTitle="",this.handleAutoLocation(),this.handleListen()},methods:{handleListen(){this.emitKey="location"+this.jnpf.idGenerator(),e.index.$on(this.emitKey,(e=>{this.handleConfirm(e)}))},handleLocation(t){if(this.disabled||this.detailed)return;const i={adjustmentScope:this.adjustmentScope,enableLocationScope:this.enableLocationScope,enableDesktopLocation:this.enableDesktopLocation,locationScope:this.locationScope,emitKey:this.emitKey};e.index.navigateTo({url:"/pages/apply/location/index?data="+JSON.stringify(i)})},handleAutoLocation(){!this.autoLocation||this.innerValue.fullAddress||this.detailed||e.index.getLocation({type:"gcj02",isHighAccuracy:!0,success:e=>{const i=()=>{const i={location:e.longitude+","+e.latitude,key:this.define.aMapWebKey};t.getAddress(i).then((t=>{const i=t.data.regeocode.addressComponent;this.innerValue={pName:i.province,cName:i.city,adName:i.district,address:i.streetNumber.street+i.streetNumber.number,name:t.data.regeocode.formatted_address,lng:e.longitude,lat:e.latitude,fullAddress:t.data.regeocode.formatted_address},this.$emit("update:modelValue",JSON.stringify(this.innerValue)),this.$emit("change",JSON.stringify(this.innerValue))})).catch((()=>{this.handelError()}))};if(this.enableDesktopLocation&&this.locationScope.length){let t=[];for(let i=0;i<this.locationScope.length;i++){const n=this.locationScope[i],a=this.jnpf.getDistance(n.lat,n.lng,e.latitude,e.longitude)||0;t.push(a>n.radius)}if(t.every((e=>!0===e)))return;i()}else i()},fail:e=>{this.handelError()}})},handleConfirm(e){this.innerValue=e?JSON.parse(e):i,this.errTitle="",this.onchange()},handelError(){this.errTitle="定位失败,请检查网络畅通、定位开启后重试"},handleClear(){this.innerValue=i,this.$emit("update:modelValue",""),this.$emit("change","")},onchange(){let e=this.$u.deepClone(this.innerValue);this.$emit("update:modelValue",JSON.stringify(e)),this.$emit("change",JSON.stringify(e))},openMap(){e.index.openLocation({latitude:Number(this.innerValue.lat),longitude:Number(this.innerValue.lng),name:this.innerValue.name,address:this.innerValue.address,success:()=>{},fail:function(e){console.log(e)}})},getLocation(){if(this.detailed)return this.openMap();this.enableLocationScope&&this.handleLocation()}}};if(!Array){(e.resolveComponent("u-icon")+e.resolveComponent("u-button"))()}Math||((()=>"../../../uni_modules/vk-uview-ui/components/u-icon/u-icon.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-button/u-button.js"))();const a=e._export_sfc(n,[["render",function(t,i,n,a,o,l){return e.e({a:!n.detailed},n.detailed?{}:{b:e.p({name:"map"}),c:e.t(o.innerValue.fullAddress||o.errTitle?"重新定位":"添加定位"),d:e.o(l.handleLocation),e:e.p({size:"mini"})},{f:o.innerValue.fullAddress},o.innerValue.fullAddress?e.e({g:n.enableLocationScope},n.enableLocationScope?{h:l.staticMapUrl}:{},{i:e.t(o.innerValue.fullAddress),j:!n.detailed&&!n.disabled&&n.clearable},n.detailed||n.disabled||!n.clearable?{}:{k:e.o(l.handleClear),l:e.p({name:"close-circle-fill"})},{m:e.o(((...e)=>l.getLocation&&l.getLocation(...e)))}):{},{n:o.errTitle},o.errTitle?{o:e.t(o.errTitle)}:{})}]]);wx.createComponent(a);
{
"component": true,
"usingComponents": {
"u-icon": "../../../uni_modules/vk-uview-ui/components/u-icon/u-icon",
"u-button": "../../../uni_modules/vk-uview-ui/components/u-button/u-button"
}
}
\ No newline at end of file
<view class="jnpf-location"><u-button wx:if="{{a}}" u-s="{{['d']}}" class="jnpf-location-btn" bindclick="{{d}}" u-i="36d7e920-0" bind:__l="__l" u-p="{{e}}"><u-icon wx:if="{{b}}" class="jnpf-location-icon" u-i="36d7e920-1,36d7e920-0" bind:__l="__l" u-p="{{b}}"/> {{c}}</u-button><view wx:if="{{f}}" class="location-card"><view class="location-card-info" bindtap="{{m}}"><image wx:if="{{g}}" class="location-card-static-map" src="{{h}}"/><view class="location-card-address">{{i}}</view><u-icon wx:if="{{j}}" bindclick="{{k}}" u-i="36d7e920-2" bind:__l="__l" u-p="{{l}}"/></view></view><view wx:if="{{n}}" class="errTitle">{{o}}</view></view>
\ No newline at end of file
.jnpf-location{width:100%;display:flex;flex-wrap:wrap;justify-content:flex-end}.jnpf-location .jnpf-location-btn{margin:unset}.jnpf-location .jnpf-location-btn .jnpf-location-icon{font-size:28rpx;padding-right:2px}.jnpf-location .location-card{display:flex;align-items:center;margin-top:16rpx;background:#f2f2f6;padding:16rpx;border-radius:16rpx;justify-content:space-between}.jnpf-location .location-card .location-card-info{flex:1;display:flex;align-items:center}.jnpf-location .location-card .location-card-info .location-card-static-map{width:96rpx;height:96rpx;margin-right:8rpx;flex-shrink:0}.jnpf-location .location-card .location-card-info .location-card-address{line-height:1.5;padding:0 8rpx;word-break:normal;white-space:normal}.jnpf-location .location-card .location-card-actions{color:#878f95;cursor:pointer;flex-shrink:0}.jnpf-location .errTitle{color:#fa3534}
"use strict";const e=require("../../../common/vendor.js"),i={name:"jnpf-number-range",props:{modelValue:{type:Array,default:()=>[]},disabled:{type:Boolean,default:!1},precision:{type:Number,default:void 0}},data:()=>({min:"",max:""}),watch:{modelValue:{handler(e){Array.isArray(e)&&2===e.length?(this.min=e[0],this.max=e[1]):(this.min="",this.max="")},immediate:!0},min(e){this.onChange()},max(e){this.onChange()}},methods:{onblur(e,i){this[i]=isNaN(this.precision)||"0"!=e&&!e?e:Number(e).toFixed(this.precision)},onChange(){if(!this.min&&0!==this.min&&!this.max&&0!==this.max)return this.$emit("update:modelValue",[]);this.$emit("update:modelValue",[this.min,this.max])}}};if(!Array){e.resolveComponent("u-input")()}Math;const t=e._export_sfc(i,[["render",function(i,t,n,a,m,o){return{a:e.o((e=>o.onblur(e,"min"))),b:e.o((e=>m.min=e)),c:e.p({"input-align":"right",placeholder:"最小值",type:"number",modelValue:m.min}),d:e.o((e=>o.onblur(e,"max"))),e:e.o((e=>m.max=e)),f:e.p({"input-align":"right",placeholder:"最大值",type:"number",modelValue:m.max})}}],["__scopeId","data-v-7a4358ce"]]);wx.createComponent(t);
{
"component": true,
"usingComponents": {
"u-input": "../../../uni_modules/vk-uview-ui/components/u-input/u-input"
}
}
\ No newline at end of file
<view class="jnpf-num-range data-v-7a4358ce"><u-input wx:if="{{c}}" class="data-v-7a4358ce" bindblur="{{a}}" u-i="7a4358ce-0" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}"/><text class="separator data-v-7a4358ce">-</text><u-input wx:if="{{f}}" class="data-v-7a4358ce" bindblur="{{d}}" u-i="7a4358ce-1" bind:__l="__l" bindupdateModelValue="{{e}}" u-p="{{f}}"/></view>
\ No newline at end of file
.jnpf-num-range.data-v-7a4358ce{width:100%;display:flex;justify-content:space-between;align-items:center}.jnpf-num-range .separator.data-v-7a4358ce{margin:0 20rpx;flex-shrink:0}
"use strict";const e=require("../../../common/vendor.js"),t={name:"jnpf-open-data",props:{modelValue:{type:String,default:""},type:{type:String,default:""},showLevel:{type:String,default:"last"}},data:()=>({innerValue:"",userInfo:""}),watch:{showLevel(){this.setDefault()}},created(){this.userInfo=e.index.getStorageSync("userInfo")||{},this.setDefault()},methods:{setDefault(){"currUser"===this.type&&(this.innerValue=this.userInfo.userName+"/"+this.userInfo.userAccount,this.userInfo.userName||this.userInfo.userAccount||(this.innerValue="")),"currTime"===this.type&&(this.innerValue=this.$u.timeFormat(new Date,"yyyy-mm-dd hh:MM:ss")),"currOrganize"===this.type&&(this.innerValue="last"===this.showLevel?this.userInfo.departmentName:this.userInfo.organizeName),"currPosition"===this.type&&(this.innerValue=this.userInfo.positionName||"")}}};if(!Array){e.resolveComponent("u-input")()}Math;const s=e._export_sfc(t,[["render",function(t,s,r,n,i,u){return{a:e.p({"input-align":"right",modelValue:r.modelValue,placeholder:"系统自动生成",disabled:!0})}}]]);wx.createComponent(s);
{
"component": true,
"usingComponents": {
"u-input": "../../../uni_modules/vk-uview-ui/components/u-input/u-input"
}
}
\ No newline at end of file
<u-input wx:if="{{a}}" u-i="1ca69882-0" bind:__l="__l" u-p="{{a}}"/>
\ No newline at end of file
"use strict";require("../../../utils/request.js");const e=require("../../../common/vendor.js"),t={label:"fullName",value:"id",icon:"icon",children:"children"},s={props:{options:{type:Array,default:()=>[]},selectedData:{type:Array,default:()=>[]},ids:{type:[Array,String],default:()=>[]},modelValue:{type:Boolean,default:!1},zIndex:{type:[String,Number],default:0},props:{type:Object,default:()=>({label:"fullName",value:"id",icon:"icon",children:"children",isLeaf:"isLeaf"})},multiple:{type:Boolean,default:!1}},data:()=>({moving:!1,selectList:[],selectListId:[],keyword:"",showPopup:!1}),watch:{modelValue:{handler(e){this.showPopup=e,e&&setTimeout((()=>this.init()),10)},immediate:!0}},created(){this.init()},computed:{uZIndex(){return this.zIndex?this.zIndex:this.$u.zIndex.popup},realProps(){return{...t,...this.props}}},methods:{init(){this.keyword="",this.selectListId=Array.isArray(this.ids)?JSON.parse(JSON.stringify(this.ids)):[],this.selectList=JSON.parse(JSON.stringify(this.selectedData))},filterNode(e,t){return!e||-1!==t[this.realProps.label].indexOf(e)},handleNodeClick(e){this.multiple?(this.selectList.push(e.data.organize),this.selectList=[...new Set(this.selectList)],e.data.organizeIds.length&&this.selectListId.push(e.data.organizeIds),this.selectListId=[...new Set(this.selectListId)],this.selectListId=this.selectListId.filter((e=>Array.isArray(e)))):(this.selectList=[],this.selectList.push(e.data.organize),this.selectList=[...new Set(this.selectList)],this.selectListId=e.data.organizeIds)},delSelect(e){this.selectList.splice(e,1),this.selectListId.splice(e,1)},setCheckAll(){this.selectListId=[],this.selectList=[],this.$refs.tree.setCheckAll(!1)},handleSearch(e){this.$refs.tree&&this.$refs.tree.filter(e)},handleConfirm(){this.$emit("confirm",this.selectList,this.selectListId),this.close()},close(){this.$emit("close",!1)}}};if(!Array){(e.resolveComponent("u-search")+e.resolveComponent("u-tag")+e.resolveComponent("ly-tree")+e.resolveComponent("u-button")+e.resolveComponent("u-popup"))()}Math||((()=>"../../../uni_modules/vk-uview-ui/components/u-search/u-search.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-tag/u-tag.js")+(()=>"../../ly-tree/ly-tree.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-button/u-button.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-popup/u-popup.js"))();const i=e._export_sfc(s,[["render",function(t,s,i,l,o,r){return e.e({a:e.o((e=>r.close())),b:e.o(r.handleSearch),c:e.o((e=>o.keyword=e)),d:e.p({placeholder:"请输入关键词搜索",height:"72","show-action":!1,"bg-color":"#f0f2f6",shape:"square",modelValue:o.keyword}),e:i.multiple},i.multiple?{f:e.o(((...e)=>r.setCheckAll&&r.setCheckAll(...e)))}:{},{g:e.f(o.selectList,((t,s,i)=>({a:e.o((e=>r.delSelect(s)),s),b:s,c:"1d740856-2-"+i+",1d740856-0",d:e.p({closeable:!0,text:t})}))),h:e.sr("tree","1d740856-3,1d740856-0"),i:e.o(r.handleNodeClick),j:e.p({"node-key":r.realProps.value,"tree-data":i.options,"show-checkbox":!1,props:r.realProps,"show-node-icon":!0,"show-radio":!1,"filter-node-method":r.filterNode,"default-expand-all":!0,"highlight-current":!0}),k:e.o((e=>r.close())),l:e.o((e=>r.handleConfirm())),m:e.p({type:"primary"}),n:e.o(r.close),o:e.o((e=>o.showPopup=e)),p:e.p({mode:"right",width:"100%",modelValue:o.showPopup})})}]]);wx.createComponent(i);
{
"component": true,
"usingComponents": {
"u-search": "../../../uni_modules/vk-uview-ui/components/u-search/u-search",
"u-tag": "../../../uni_modules/vk-uview-ui/components/u-tag/u-tag",
"ly-tree": "../../ly-tree/ly-tree",
"u-button": "../../../uni_modules/vk-uview-ui/components/u-button/u-button",
"u-popup": "../../../uni_modules/vk-uview-ui/components/u-popup/u-popup"
}
}
\ No newline at end of file
<u-popup wx:if="{{p}}" u-s="{{['d']}}" class="jnpf-tree-select-popup" bindclose="{{n}}" u-i="1d740856-0" bind:__l="__l" bindupdateModelValue="{{o}}" u-p="{{p}}"><view class="jnpf-tree-select-body"><view class="jnpf-tree-select-title"><text class="icon-ym icon-ym-report-icon-preview-pagePre backIcon" bindtap="{{a}}"></text><view class="title">组织选择</view></view><view class="jnpf-tree-select-search"><u-search wx:if="{{d}}" bindchange="{{b}}" u-i="1d740856-1,1d740856-0" bind:__l="__l" bindupdateModelValue="{{c}}" u-p="{{d}}"></u-search></view><view class="jnpf-tree-selected"><view class="jnpf-tree-selected-head"><view>已选</view><view wx:if="{{e}}" class="clear-btn" bindtap="{{f}}">清空列表</view></view><view class="jnpf-tree-selected-box"><scroll-view scroll-y="true" class="select-list"><u-tag wx:for="{{g}}" wx:for-item="list" wx:key="b" bindclose="{{list.a}}" class="u-selectTag" u-i="{{list.c}}" bind:__l="__l" u-p="{{list.d}}"/></scroll-view></view></view><view class="jnpf-tree-select-tree"><scroll-view scroll-y="{{true}}" style="height:100%"><ly-tree wx:if="{{j}}" class="r" u-r="tree" bindnodeClick="{{i}}" u-i="1d740856-3,1d740856-0" bind:__l="__l" u-p="{{j}}"/></scroll-view></view><view class="jnpf-tree-select-actions"><u-button u-s="{{['d']}}" class="buttom-btn" bindclick="{{k}}" u-i="1d740856-4,1d740856-0" bind:__l="__l">取消</u-button><u-button wx:if="{{m}}" u-s="{{['d']}}" class="buttom-btn" catchclick="{{l}}" u-i="1d740856-5,1d740856-0" bind:__l="__l" u-p="{{m}}">确定</u-button></view></view></u-popup>
\ No newline at end of file
"use strict";const e=require("../../../store/modules/base.js"),t=require("../../../api/common.js"),l=require("../../../common/vendor.js"),a=e.useBaseStore(),s={name:"jnpf-organize-select",components:{Tree:()=>"./Tree.js"},props:{modelValue:{default:""},placeholder:{type:String,default:"请选择"},props:{type:Object,default:()=>({label:"fullName",value:"id",children:"children",isLeaf:"isLeaf"})},disabled:{type:Boolean,default:!1},multiple:{type:Boolean,default:!1},selectType:{type:String,default:"all"},ableIds:{type:Array,default:()=>[]}},data:()=>({selectShow:!1,innerValue:"",selectedData:[],allList:[],options:[]}),watch:{modelValue:{handler(e){this.getOptions()},immediate:!0}},methods:{async getOptions(){if(this.options=await a.getDepartmentTree(),this.allList=await this.treeToArray(),"all"!==this.selectType){const e={departIds:this.ableIds?this.ableIds.map((e=>e[e.length-1])):[]};await t.getOrgByOrganizeCondition(e).then((e=>{this.options=e.data.list||[]}))}if(!this.modelValue||!this.modelValue.length)return this.innerValue="",void(this.selectedData=[]);this.setDefault()},setDefault(){let e=this.multiple?this.modelValue:[this.modelValue],t=[];for(let l=0;l<e.length;l++){let a=e[l];e:for(let e=0;e<this.allList.length;e++)if(a.toString()===this.allList[e].organizeIds.toString()){a=this.allList[e].organize;break e}t.push(a)}this.selectedData=t,this.innerValue=this.selectedData.join(",")},async treeToArray(){let e=JSON.parse(JSON.stringify(this.options)),t=[];const l=e=>{for(let a=0;a<e.length;a++){const s=e[a];t.push(s),s.hasChildren&&s.children&&Array.isArray(s.children)&&l(s.children)}};return l(e),t},openSelect(){this.disabled||(this.selectShow=!0)},handleConfirm(e,t){this.$emit("update:modelValue",t),this.$emit("change",t,e)},handleClose(){this.selectShow=!1}}};if(!Array){(l.resolveComponent("u-input")+l.resolveComponent("Tree"))()}Math;const i=l._export_sfc(s,[["render",function(e,t,a,s,i,o){return{a:l.o(o.openSelect),b:l.o((e=>i.innerValue=e)),c:l.p({"input-align":"right",type:"select","select-open":i.selectShow,placeholder:a.placeholder,modelValue:i.innerValue}),d:l.o(o.handleClose),e:l.o(o.handleConfirm),f:l.o((e=>i.selectShow=e)),g:l.p({multiple:a.multiple,props:a.props,selectedData:i.selectedData,options:i.options,ids:a.multiple?a.modelValue:[a.modelValue],modelValue:i.selectShow})}}],["__scopeId","data-v-e24a4ba3"]]);wx.createComponent(i);
{
"component": true,
"usingComponents": {
"tree": "./Tree",
"u-input": "../../../uni_modules/vk-uview-ui/components/u-input/u-input"
}
}
\ No newline at end of file
<view class="jnpf-organize-select data-v-e24a4ba3"><u-input wx:if="{{c}}" class="data-v-e24a4ba3" bindclick="{{a}}" u-i="e24a4ba3-0" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}"/><tree wx:if="{{g}}" class="data-v-e24a4ba3" bindclose="{{d}}" bindconfirm="{{e}}" u-i="e24a4ba3-1" bind:__l="__l" bindupdateModelValue="{{f}}" u-p="{{g}}"/></view>
\ No newline at end of file
"use strict";const e=require("../../../common/vendor.js"),i=["createUser","createTime","currOrganize","currDept","currPosition","billRule"],o=["link","editor","button","alert"],t={name:"Item",inject:["parameter"],emits:["input","clickIcon","clickFun","collapseChange","tabChange"],components:{childTable:()=>"./childTable.js",Item:()=>Promise.resolve().then((()=>l))},data:()=>({value:void 0,tabCurrent:0,stepCurrent:0}),props:{itemData:{type:Object,required:!0},formConf:{type:Object,required:!0},formData:{type:Object,required:!0}},computed:{item(){return e.index.$u.deepClone(this.itemData)},config(){return this.item.__config__},isSystem(){return i.indexOf(this.config.jnpfKey)>-1},labelWidth(){return o.indexOf(this.config.jnpfKey)>-1?0:this.config.labelWidth?1.5*this.config.labelWidth:void 0},label(){return this.config.showLabel&&o.indexOf(this.config.jnpfKey)<0?this.config.label:""},realLabel(){return this.label?this.label+(this.formConf.labelSuffix||""):""},leftIcon(){return this.config.tipLabel&&this.label&&this.config.showLabel?"question-circle-fill":""}},watch:{value(e){this.item.__config__.defaultValue=e,this.$emit("input",this.item)}},created(){this.initData()},mounted(){"collapse"===this.config.jnpfKey&&e.index.$on("initCollapse",(()=>{this.$refs.collapseRef&&this.$refs.collapseRef.init()}))},methods:{onStepChange(e,i){this.stepCurrent!==e&&(i.__config__.active=e,this.stepCurrent=e)},initData(){if("steps"===this.config.jnpfKey&&(this.stepCurrent=this.config.active),"tab"!=this.config.jnpfKey)return this.value=this.config.defaultValue;for(var e=0;e<this.config.children.length;e++)if(this.config.active==this.config.children[e].name){this.tabCurrent=e;break}},onBlur(e){this.setScriptFunc(e,this.item,"blur")},onChange(i,o){this.setScriptFunc(o||i,this.item),["popupSelect","relationForm"].includes(this.item.__config__.jnpfKey)&&this.setTransferFormData(o||i,this.item.__config__,this.item.__config__.jnpfKey),this.$nextTick((()=>{e.index.$emit("subChange",this.item,o||i)}))},setScriptFunc(e,i,o="change"){if(i&&i.on&&i.on[o]){const t=this.jnpf.getScriptFunc(i.on[o]);if(!t)return;t.call(this,{data:e,...this.parameter})}},setTransferFormData(e,i,o){if(i.transferList.length)for(let t=0;t<i.transferList.length;t++){const o=i.transferList[t];this.parameter.setFormData(o.sourceValue,e[o.targetField])}},onTabChange(i){if(this.tabCurrent===i)return;this.tabCurrent=i;const o=this.item.__config__.children[i].name;this.$emit("tab-change",this.item,o),this.$nextTick((()=>{e.index.$emit("updateCode"),e.index.$emit("initCollapse")}))},onChildTabChange(e,i){this.$emit("tab-change",e,i)},onCollapseChange(i){this.$emit("collapse-change",this.item,i),this.$nextTick((()=>{e.index.$emit("initCollapse")}))},onChildCollapseChange(e,i){this.$emit("collapse-change",e,i)},setValue(e,i){this.$emit("input",e,i)},onClick(e){this.$emit("clickFun",this.item,e||"")},onChildClick(e,i){this.$emit("clickFun",i,e||"")},clickIcon(e){this.$emit("clickIcon",e)}}};if(!Array){(e.resolveComponent("JnpfText")+e.resolveComponent("JnpfGroupTitle")+e.resolveComponent("JnpfDivider")+e.resolveComponent("u-icon")+e.resolveComponent("item")+e.resolveComponent("u-steps")+e.resolveComponent("u-tabs")+e.resolveComponent("u-collapse-item")+e.resolveComponent("u-collapse")+e.resolveComponent("child-table")+e.resolveComponent("JnpfInput")+e.resolveComponent("JnpfTextarea")+e.resolveComponent("JnpfInputNumber")+e.resolveComponent("JnpfSwitch")+e.resolveComponent("JnpfRadio")+e.resolveComponent("JnpfCheckbox")+e.resolveComponent("JnpfSelect")+e.resolveComponent("JnpfCascader")+e.resolveComponent("JnpfDatePicker")+e.resolveComponent("JnpfTimePicker")+e.resolveComponent("JnpfUploadFile")+e.resolveComponent("JnpfUploadImg")+e.resolveComponent("JnpfColorPicker")+e.resolveComponent("JnpfRate")+e.resolveComponent("JnpfSlider")+e.resolveComponent("JnpfBarcode")+e.resolveComponent("JnpfQrcode")+e.resolveComponent("JnpfOrganizeSelect")+e.resolveComponent("JnpfDepSelect")+e.resolveComponent("JnpfPosSelect")+e.resolveComponent("JnpfUserSelect")+e.resolveComponent("JnpfUsersSelect")+e.resolveComponent("JnpfRoleSelect")+e.resolveComponent("JnpfGroupSelect")+e.resolveComponent("JnpfTreeSelect")+e.resolveComponent("JnpfAutoComplete")+e.resolveComponent("JnpfAreaSelect")+e.resolveComponent("JnpfRelationForm")+e.resolveComponent("JnpfRelationFormAttr")+e.resolveComponent("JnpfPopupSelect")+e.resolveComponent("JnpfPopupAttr")+e.resolveComponent("JnpfCalculate")+e.resolveComponent("JnpfSign")+e.resolveComponent("JnpfSignature")+e.resolveComponent("JnpfLocation")+e.resolveComponent("JnpfOpenData")+e.resolveComponent("JnpfLink")+e.resolveComponent("JnpfEditor")+e.resolveComponent("JnpfButton")+e.resolveComponent("JnpfAlert")+e.resolveComponent("u-form-item"))()}Math||((()=>"../Text/index.js")+(()=>"../GroupTitle/index.js")+(()=>"../Divider/index.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-icon/u-icon.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-steps/u-steps.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-tabs/u-tabs.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-collapse-item/u-collapse-item.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-collapse/u-collapse.js")+(()=>"../Input/index.js")+(()=>"../Textarea/index.js")+(()=>"../InputNumber/index.js")+(()=>"../Switch/index.js")+(()=>"../Radio/index.js")+(()=>"../Checkbox/index.js")+(()=>"../Select/index.js")+(()=>"../Cascader/index.js")+(()=>"../DatePicker/index.js")+(()=>"../TimePicker/index.js")+(()=>"../UploadFile/index.js")+(()=>"../UploadImg/index.js")+(()=>"../ColorPicker/index.js")+(()=>"../Rate/index.js")+(()=>"../Slider/index.js")+(()=>"../Barcode/index.js")+(()=>"../Qrcode/index.js")+(()=>"../OrganizeSelect/index.js")+(()=>"../DepSelect/index.js")+(()=>"../PosSelect/index.js")+(()=>"../UserSelect/index.js")+(()=>"../UsersSelect/index.js")+(()=>"../RoleSelect/index.js")+(()=>"../GroupSelect/index.js")+(()=>"../TreeSelect/index.js")+(()=>"../AutoComplete/index.js")+(()=>"../AreaSelect/index.js")+(()=>"../RelationForm/index.js")+(()=>"../RelationFormAttr/index.js")+(()=>"../PopupSelect/index.js")+(()=>"../PopupAttr/index.js")+(()=>"../Calculate/index.js")+(()=>"../Sign/index.js")+(()=>"../Signature/index.js")+(()=>"../Location/index.js")+(()=>"../OpenData/index.js")+(()=>"../Link/index.js")+(()=>"../Editor/index.js")+(()=>"../Button/index.js")+(()=>"../Alert/index.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-form-item/u-form-item.js"))();const n=e._export_sfc(t,[["render",function(i,o,t,n,l,a){return e.e({a:"text"==a.config.jnpfKey},"text"==a.config.jnpfKey?{b:e.p({content:a.item.content,textStyle:a.item.textStyle})}:"groupTitle"==a.config.jnpfKey?{d:e.o((e=>a.clickIcon(a.item))),e:e.p({content:a.item.content,"content-position":a.item.contentPosition,helpMessage:a.item.helpMessage})}:"divider"==a.config.jnpfKey?{g:e.p({content:a.item.content})}:"card"===a.config.jnpfKey||"row"===a.config.jnpfKey?e.e({i:a.item.header},a.item.header?{j:e.t(a.item.header),k:e.p({name:a.config.tipLabel?"question-circle-fill":"",color:"#a0acb7"}),l:e.o((e=>a.clickIcon(a.item)))}:{},{m:e.f(a.config.children,((i,o,n)=>e.e({a:!i.__config__.noShow&&i.__config__.isVisibility},!i.__config__.noShow&&i.__config__.isVisibility?{b:e.sr(i.__vModel__?i.__vModel__:"ref"+a.item.__config__.formId,"263b581c-4-"+n,{f:1}),c:i.__vModel__?i.__vModel__:"ref"+a.item.__config__.formId,d:e.o(a.setValue,i.__config__.renderKey),e:e.o(a.clickIcon,i.__config__.renderKey),f:e.o(a.onChildClick,i.__config__.renderKey),g:e.o(a.onChildCollapseChange,i.__config__.renderKey),h:e.o(a.onChildTabChange,i.__config__.renderKey),i:"263b581c-4-"+n,j:e.p({itemData:i,formConf:t.formConf,formData:t.formData})}:{},{k:i.__config__.renderKey})))}):"steps"===a.config.jnpfKey?{o:e.o((e=>a.onStepChange(e,a.item))),p:e.p({list:a.config.children,mode:a.item.simple?"dot":"number",name:"title",current:l.stepCurrent}),q:e.f(a.config.children,((i,o,n)=>({a:e.f(i.__config__.children,((i,o,l)=>e.e({a:!i.__config__.noShow&&i.__config__.isVisibility},!i.__config__.noShow&&i.__config__.isVisibility?{b:e.sr(i.__vModel__?i.__vModel__:"ref"+a.item.__config__.formId,"263b581c-6-"+n+"-"+l,{f:1}),c:i.__vModel__?i.__vModel__:"ref"+a.item.__config__.formId,d:e.o(a.setValue,i.__config__.renderKey),e:e.o(a.clickIcon,i.__config__.renderKey),f:e.o(a.onChildClick,i.__config__.renderKey),g:e.o(a.onChildCollapseChange,i.__config__.renderKey),h:"263b581c-6-"+n+"-"+l,i:e.p({itemData:i,formConf:t.formConf,formData:t.formData})}:{},{j:i.__config__.renderKey}))),b:o==l.stepCurrent,c:o})))}:"tab"===a.config.jnpfKey?{s:e.o(a.onTabChange),t:e.o((e=>l.tabCurrent=e)),v:e.p({"is-scroll":!0,list:a.config.children,name:"title",modelValue:l.tabCurrent}),w:e.f(a.config.children,((i,o,n)=>({a:e.f(i.__config__.children,((i,o,l)=>e.e({a:!i.__config__.noShow&&i.__config__.isVisibility},!i.__config__.noShow&&i.__config__.isVisibility?{b:e.sr(i.__vModel__?i.__vModel__:"ref"+a.item.__config__.formId,"263b581c-8-"+n+"-"+l,{f:1}),c:i.__vModel__?i.__vModel__:"ref"+a.item.__config__.formId,d:e.o(a.setValue,i.__config__.renderKey),e:e.o(a.clickIcon,i.__config__.renderKey),f:e.o(a.onChildClick,i.__config__.renderKey),g:e.o(a.onChildCollapseChange,i.__config__.renderKey),h:e.o(a.onChildTabChange,i.__config__.renderKey),i:"263b581c-8-"+n+"-"+l,j:e.p({itemData:i,formConf:t.formConf,formData:t.formData})}:{},{k:i.__config__.renderKey}))),b:o==l.tabCurrent,c:o})))}:"collapse"===a.config.jnpfKey?{y:e.f(a.config.children,((i,o,n)=>({a:e.f(i.__config__.children,((i,o,l)=>e.e({a:!i.__config__.noShow&&i.__config__.isVisibility},!i.__config__.noShow&&i.__config__.isVisibility?{b:e.sr(i.__vModel__?i.__vModel__:"ref"+a.item.__config__.formId,"263b581c-11-"+n+"-"+l+",263b581c-10-"+n,{f:1}),c:i.__vModel__?i.__vModel__:"ref"+a.item.__config__.formId,d:e.o(a.setValue,i.__config__.renderKey),e:e.o(a.clickIcon,i.__config__.renderKey),f:e.o(a.onChildClick,i.__config__.renderKey),g:e.o(a.onChildCollapseChange,i.__config__.renderKey),h:e.o(a.onChildTabChange,i.__config__.renderKey),i:"263b581c-11-"+n+"-"+l+",263b581c-10-"+n,j:e.p({itemData:i,formConf:t.formConf,formData:t.formData})}:{},{k:i.__config__.renderKey}))),b:o,c:e.o(a.onCollapseChange,o),d:"263b581c-10-"+n+",263b581c-9",e:e.p({title:i.title,open:a.config.active.indexOf(i.name)>-1})}))),z:e.sr("collapseRef","263b581c-9"),A:e.p({"head-style":{"padding-left":"20rpx"},accordion:a.item.accordion})}:"table"===a.config.jnpfKey?e.e({C:a.config.isVisibility},a.config.isVisibility?{D:e.sr(a.item.__vModel__,"263b581c-12"),E:a.item.__vModel__,F:e.o(a.setValue),G:e.o((e=>l.value=e)),H:e.p({config:a.item,formData:t.formData,modelValue:l.value})}:{}):e.e({I:"input"==a.config.jnpfKey},"input"==a.config.jnpfKey?{J:e.o(a.onChange),K:e.o(a.onBlur),L:e.o((e=>l.value=e)),M:e.p({showPassword:a.item.showPassword,placeholder:a.item.placeholder,maxlength:a.item.maxlength,showCount:a.item.showCount,disabled:a.item.disabled,clearable:a.item.clearable,useScan:a.item.useScan,addonBefore:a.item.addonBefore,addonAfter:a.item.addonAfter,modelValue:l.value})}:{},{N:"textarea"==a.config.jnpfKey},"textarea"==a.config.jnpfKey?{O:e.o(a.onChange),P:e.o(a.onBlur),Q:e.o((e=>l.value=e)),R:e.p({placeholder:a.item.placeholder,maxlength:a.item.maxlength,showCount:a.item.showCount,disabled:a.item.disabled,clearable:a.item.clearable,modelValue:l.value})}:{},{S:"inputNumber"==a.config.jnpfKey},"inputNumber"==a.config.jnpfKey?{T:e.o(a.onChange),U:e.o(a.onBlur),V:e.o((e=>l.value=e)),W:e.p({step:a.item.step,max:a.item.max||999999999999999,min:a.item.min||-999999999999999,disabled:a.item.disabled,placeholder:a.item.placeholder,isAmountChinese:a.item.isAmountChinese,thousands:a.item.thousands,addonAfter:a.item.addonAfter,addonBefore:a.item.addonBefore,controls:a.item.controls,precision:a.item.precision,modelValue:l.value})}:{},{X:"switch"==a.config.jnpfKey},"switch"==a.config.jnpfKey?{Y:e.o(a.onChange),Z:e.o((e=>l.value=e)),aa:e.p({disabled:a.item.disabled,modelValue:l.value})}:{},{ab:"radio"==a.config.jnpfKey},"radio"==a.config.jnpfKey?{ac:e.o(a.onChange),ad:e.o((e=>l.value=e)),ae:e.p({options:a.item.options,props:a.item.props,disabled:a.item.disabled,direction:a.item.direction,modelValue:l.value})}:{},{af:"checkbox"==a.config.jnpfKey},"checkbox"==a.config.jnpfKey?{ag:e.o(a.onChange),ah:e.o((e=>l.value=e)),ai:e.p({options:a.item.options,props:a.item.props,disabled:a.item.disabled,direction:a.item.direction,modelValue:l.value})}:{},{aj:"select"==a.config.jnpfKey},"select"==a.config.jnpfKey?{ak:e.o(a.onChange),al:e.o((e=>l.value=e)),am:e.p({placeholder:a.item.placeholder,options:a.item.options,props:a.item.props,multiple:a.item.multiple,disabled:a.item.disabled,filterable:a.item.filterable,modelValue:l.value})}:{},{an:"cascader"==a.config.jnpfKey},"cascader"==a.config.jnpfKey?{ao:e.o(a.onChange),ap:e.o((e=>l.value=e)),aq:e.p({placeholder:a.item.placeholder,options:a.item.options,props:a.item.props,disabled:a.item.disabled,multiple:a.item.multiple,filterable:a.item.filterable,clearable:a.item.clearable,showAllLevels:a.item.showAllLevels,modelValue:l.value})}:{},{ar:"datePicker"==a.config.jnpfKey},"datePicker"==a.config.jnpfKey?{as:e.o(a.onChange),at:e.o((e=>l.value=e)),av:e.p({placeholder:a.item.placeholder,disabled:a.item.disabled,format:a.item.format,startTime:a.item.startTime,endTime:a.item.endTime,modelValue:l.value})}:{},{aw:"timePicker"==a.config.jnpfKey},"timePicker"==a.config.jnpfKey?{ax:e.o(a.onChange),ay:e.o((e=>l.value=e)),az:e.p({placeholder:a.item.placeholder,disabled:a.item.disabled,format:a.item.format,startTime:a.item.startTime,endTime:a.item.endTime,modelValue:l.value})}:{},{aA:"uploadFile"==a.config.jnpfKey},"uploadFile"==a.config.jnpfKey?{aB:e.o(a.onChange),aC:e.o((e=>l.value=e)),aD:e.p({disabled:a.item.disabled,limit:a.item.limit,sizeUnit:a.item.sizeUnit,fileSize:a.item.fileSize,pathType:a.item.pathType,isAccount:a.item.isAccount,folder:a.item.folder,accept:a.item.accept,tipText:a.item.tipText,sortRule:a.item.sortRule,timeFormat:a.item.timeFormat,modelValue:l.value})}:{},{aE:"uploadImg"==a.config.jnpfKey},"uploadImg"==a.config.jnpfKey?{aF:e.o(a.onChange),aG:e.o((e=>l.value=e)),aH:e.p({disabled:a.item.disabled,limit:a.item.limit,sizeUnit:a.item.sizeUnit,fileSize:a.item.fileSize,pathType:a.item.pathType,isAccount:a.item.isAccount,folder:a.item.folder,tipText:a.item.tipText,sortRule:a.item.sortRule,timeFormat:a.item.timeFormat,modelValue:l.value})}:{},{aI:"colorPicker"==a.config.jnpfKey},"colorPicker"==a.config.jnpfKey?{aJ:e.o(a.onChange),aK:e.o((e=>l.value=e)),aL:e.p({colorFormat:a.item.colorFormat,disabled:a.item.disabled,modelValue:l.value})}:{},{aM:"rate"==a.config.jnpfKey},"rate"==a.config.jnpfKey?{aN:e.o(a.onChange),aO:e.o((e=>l.value=e)),aP:e.p({max:a.item.count,allowHalf:a.item.allowHalf,disabled:a.item.disabled,modelValue:l.value})}:{},{aQ:"slider"==a.config.jnpfKey},"slider"==a.config.jnpfKey?{aR:e.o(a.onChange),aS:e.o((e=>l.value=e)),aT:e.p({step:a.item.step,min:a.item.min,max:a.item.max,disabled:a.item.disabled,modelValue:l.value})}:{},{aU:"barcode"==a.config.jnpfKey},"barcode"==a.config.jnpfKey?{aV:e.p({staticText:a.item.staticText,width:a.item.width,height:a.item.height,format:a.item.format,dataType:a.item.dataType,lineColor:a.item.lineColor,background:a.item.background,relationField:a.item.relationField,formData:t.formData})}:{},{aW:"qrcode"==a.config.jnpfKey},"qrcode"==a.config.jnpfKey?{aX:e.p({staticText:a.item.staticText,width:a.item.width,dataType:a.item.dataType,colorDark:a.item.colorDark,colorLight:a.item.colorLight,relationField:a.item.relationField,formData:t.formData})}:{},{aY:"organizeSelect"==a.config.jnpfKey},"organizeSelect"==a.config.jnpfKey?{aZ:e.o(a.onChange),ba:e.o((e=>l.value=e)),bb:e.p({multiple:a.item.multiple,placeholder:a.item.placeholder,disabled:a.item.disabled,ableIds:a.item.ableIds,selectType:a.item.selectType,modelValue:l.value})}:{},{bc:"depSelect"==a.config.jnpfKey},"depSelect"==a.config.jnpfKey?{bd:e.o(a.onChange),be:e.o((e=>l.value=e)),bf:e.p({multiple:a.item.multiple,placeholder:a.item.placeholder,disabled:a.item.disabled,ableIds:a.item.ableIds,selectType:a.item.selectType,modelValue:l.value})}:{},{bg:"posSelect"==a.config.jnpfKey},"posSelect"==a.config.jnpfKey?{bh:e.o(a.onChange),bi:e.o((e=>l.value=e)),bj:e.p({multiple:a.item.multiple,placeholder:a.item.placeholder,disabled:a.item.disabled,ableIds:a.item.ableIds,selectType:a.item.selectType,modelValue:l.value})}:{},{bk:"userSelect"==a.config.jnpfKey},"userSelect"==a.config.jnpfKey?{bl:e.o(a.onChange),bm:e.o((e=>l.value=e)),bn:e.p({multiple:a.item.multiple,placeholder:a.item.placeholder,disabled:a.item.disabled,selectType:a.item.selectType,ableIds:a.item.ableIds,clearable:a.item.clearable,ableRelationIds:a.item.ableRelationIds,modelValue:l.value})}:{},{bo:"usersSelect"==a.config.jnpfKey},"usersSelect"==a.config.jnpfKey?{bp:e.o(a.onChange),bq:e.o((e=>l.value=e)),br:e.p({multiple:a.item.multiple,placeholder:a.item.placeholder,disabled:a.item.disabled,selectType:a.item.selectType,ableIds:a.item.ableIds,clearable:a.item.clearable,modelValue:l.value})}:{},{bs:"roleSelect"==a.config.jnpfKey},"roleSelect"==a.config.jnpfKey?{bt:e.o(a.onChange),bv:e.o((e=>l.value=e)),bw:e.p({vModel:a.item.__vModel__,multiple:a.item.multiple,disabled:a.item.disabled,placeholder:a.item.placeholder,ableIds:a.item.ableIds,selectType:a.item.selectType,modelValue:l.value})}:{},{bx:"groupSelect"==a.config.jnpfKey},"groupSelect"==a.config.jnpfKey?{by:e.o(a.onChange),bz:e.o((e=>l.value=e)),bA:e.p({vModel:a.item.__vModel__,multiple:a.item.multiple,disabled:a.item.disabled,ableIds:a.item.ableIds,selectType:a.item.selectType,placeholder:a.item.placeholder,modelValue:l.value})}:{},{bB:"treeSelect"==a.config.jnpfKey},"treeSelect"==a.config.jnpfKey?{bC:e.o(a.onChange),bD:e.o((e=>l.value=e)),bE:e.p({options:a.item.options,props:a.item.props,multiple:a.item.multiple,placeholder:a.item.placeholder,disabled:a.item.disabled,filterable:a.item.filterable,modelValue:l.value})}:{},{bF:"autoComplete"==a.config.jnpfKey},"autoComplete"==a.config.jnpfKey?{bG:e.o(a.onChange),bH:e.o((e=>l.value=e)),bI:e.p({disabled:a.item.disabled,interfaceName:a.item.interfaceName,placeholder:a.item.placeholder,interfaceId:a.item.interfaceId,total:a.item.total,templateJson:a.item.templateJson,formData:t.formData,relationField:a.item.relationField,propsValue:a.item.propsValue,clearable:a.item.clearable,modelValue:l.value})}:{},{bJ:"areaSelect"==a.config.jnpfKey},"areaSelect"==a.config.jnpfKey?{bK:e.o(a.onChange),bL:e.o((e=>l.value=e)),bM:e.p({placeholder:a.item.placeholder,level:a.item.level,disabled:a.item.disabled,multiple:a.item.multiple,modelValue:l.value})}:{},{bN:"relationForm"==a.config.jnpfKey},"relationForm"==a.config.jnpfKey?{bO:e.o(a.onChange),bP:e.o((e=>l.value=e)),bQ:e.p({placeholder:a.item.placeholder,disabled:a.item.disabled,modelId:a.item.modelId,columnOptions:a.item.columnOptions,relationField:a.item.relationField,hasPage:a.item.hasPage,pageSize:a.item.pageSize,vModel:a.config.tableName?a.item.__vModel__+"_jnpfTable_"+a.config.tableName+(a.config.isSubTable?"0":"1"):a.item.__vModel__,popupTitle:a.item.popupTitle,modelValue:l.value})}:{},{bR:"relationFormAttr"==a.config.jnpfKey},"relationFormAttr"==a.config.jnpfKey?{bS:e.o(a.onChange),bT:e.o((e=>l.value=e)),bU:e.p({showField:a.item.showField,relationField:a.item.relationField,isStorage:a.item.isStorage,modelValue:l.value})}:{},{bV:"popupSelect"==a.config.jnpfKey||"popupTableSelect"==a.config.jnpfKey},"popupSelect"==a.config.jnpfKey||"popupTableSelect"==a.config.jnpfKey?{bW:e.o(a.onChange),bX:e.o((e=>l.value=e)),bY:e.p({placeholder:a.item.placeholder,disabled:a.item.disabled,interfaceId:a.item.interfaceId,formData:t.formData,templateJson:a.item.templateJson,columnOptions:a.item.columnOptions,relationField:a.item.relationField,propsValue:a.item.propsValue,hasPage:a.item.hasPage,pageSize:a.item.pageSize,vModel:a.config.tableName?a.item.__vModel__+"_jnpfTable_"+a.config.tableName+(a.config.isSubTable?"0":"1"):a.config.__vModel__,popupTitle:a.item.popupTitle,multiple:a.item.multiple,modelValue:l.value})}:{},{bZ:"popupAttr"==a.config.jnpfKey},"popupAttr"==a.config.jnpfKey?{ca:e.o(a.onChange),cb:e.o((e=>l.value=e)),cc:e.p({showField:a.item.showField,relationField:a.item.relationField,isStorage:a.item.isStorage,modelValue:l.value})}:{},{cd:"calculate"==a.config.jnpfKey},"calculate"==a.config.jnpfKey?{ce:e.o((e=>l.value=e)),cf:e.p({expression:a.item.expression,vModel:a.item.__vModel__,config:a.item.__config__,formData:t.formData,precision:a.item.precision,isAmountChinese:a.item.isAmountChinese,thousands:a.item.thousands,modelValue:l.value})}:{},{cg:"sign"==a.config.jnpfKey},"sign"==a.config.jnpfKey?{ch:e.o(a.onChange),ci:e.o((e=>l.value=e)),cj:e.p({disabled:a.item.disabled,fieldKey:a.item.__vModel__,isInvoke:a.item.isInvoke,modelValue:l.value})}:{},{ck:"signature"==a.config.jnpfKey},"signature"==a.config.jnpfKey?{cl:e.o(a.onChange),cm:e.o((e=>l.value=e)),cn:e.p({disabled:a.item.disabled,ableIds:a.item.ableIds,modelValue:l.value})}:{},{co:"location"==a.config.jnpfKey},"location"==a.config.jnpfKey?{cp:e.o(a.onChange),cq:e.o((e=>l.value=e)),cr:e.p({autoLocation:a.item.autoLocation,adjustmentScope:a.item.adjustmentScope,enableLocationScope:a.item.enableLocationScope,enableDesktopLocation:a.item.enableDesktopLocation,locationScope:a.item.locationScope,disabled:a.item.disabled,clearable:a.item.clearable,modelValue:l.value})}:{},{cs:a.isSystem},a.isSystem?{ct:e.o((e=>l.value=e)),cv:e.p({type:a.item.type,showLevel:a.item.showLevel,modelValue:l.value})}:{},{cw:"modifyUser"===a.config.jnpfKey||"modifyTime"===a.config.jnpfKey},"modifyUser"===a.config.jnpfKey||"modifyTime"===a.config.jnpfKey?{cx:e.o((e=>l.value=e)),cy:e.p({placeholder:"系统自动生成",disabled:!0,modelValue:l.value})}:{},{cz:"link"==a.config.jnpfKey},"link"==a.config.jnpfKey?{cA:e.o(a.onClick),cB:e.p({content:a.item.content,href:a.item.href,target:a.item.target,textStyle:a.item.textStyle})}:{},{cC:"editor"==a.config.jnpfKey},"editor"==a.config.jnpfKey?{cD:e.o((e=>l.value=e)),cE:e.p({disabled:a.item.disabled,placeholder:a.item.placeholder,modelValue:l.value})}:{},{cF:"button"==a.config.jnpfKey},"button"==a.config.jnpfKey?{cG:e.o((e=>a.onClick(e))),cH:e.p({buttonText:a.item.buttonText,align:a.item.align,type:a.item.type,disabled:a.item.disabled})}:{},{cI:"alert"==a.config.jnpfKey},"alert"==a.config.jnpfKey?{cJ:e.p({type:a.item.type,title:a.item.title,tagIcon:a.item.tagIcon,showIcon:a.item.showIcon,closable:a.item.closable,description:a.item.description,closeText:a.item.closeText})}:{},{cK:e.o((e=>a.clickIcon(a.item))),cL:e.p({label:a.realLabel,prop:a.item.__vModel__,required:a.config.required,"label-width":a.labelWidth,"left-icon":a.leftIcon,"left-icon-style":{color:"#a8aaaf"}})}),{c:"groupTitle"==a.config.jnpfKey,f:"divider"==a.config.jnpfKey,h:"card"===a.config.jnpfKey||"row"===a.config.jnpfKey,n:"steps"===a.config.jnpfKey,r:"tab"===a.config.jnpfKey,x:"collapse"===a.config.jnpfKey,B:"table"===a.config.jnpfKey})}],["__scopeId","data-v-263b581c"]]);wx.createComponent(n);const l=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));
{
"component": true,
"usingComponents": {
"child-table": "./childTable",
"item": "./Item",
"jnpf-text": "../Text/index",
"jnpf-group-title": "../GroupTitle/index",
"jnpf-divider": "../Divider/index",
"u-icon": "../../../uni_modules/vk-uview-ui/components/u-icon/u-icon",
"u-steps": "../../../uni_modules/vk-uview-ui/components/u-steps/u-steps",
"u-tabs": "../../../uni_modules/vk-uview-ui/components/u-tabs/u-tabs",
"u-collapse-item": "../../../uni_modules/vk-uview-ui/components/u-collapse-item/u-collapse-item",
"u-collapse": "../../../uni_modules/vk-uview-ui/components/u-collapse/u-collapse",
"jnpf-input": "../Input/index",
"jnpf-textarea": "../Textarea/index",
"jnpf-input-number": "../InputNumber/index",
"jnpf-switch": "../Switch/index",
"jnpf-radio": "../Radio/index",
"jnpf-checkbox": "../Checkbox/index",
"jnpf-select": "../Select/index",
"jnpf-cascader": "../Cascader/index",
"jnpf-date-picker": "../DatePicker/index",
"jnpf-time-picker": "../TimePicker/index",
"jnpf-upload-file": "../UploadFile/index",
"jnpf-upload-img": "../UploadImg/index",
"jnpf-color-picker": "../ColorPicker/index",
"jnpf-rate": "../Rate/index",
"jnpf-slider": "../Slider/index",
"jnpf-barcode": "../Barcode/index",
"jnpf-qrcode": "../Qrcode/index",
"jnpf-organize-select": "../OrganizeSelect/index",
"jnpf-dep-select": "../DepSelect/index",
"jnpf-pos-select": "../PosSelect/index",
"jnpf-user-select": "../UserSelect/index",
"jnpf-users-select": "../UsersSelect/index",
"jnpf-role-select": "../RoleSelect/index",
"jnpf-group-select": "../GroupSelect/index",
"jnpf-tree-select": "../TreeSelect/index",
"jnpf-auto-complete": "../AutoComplete/index",
"jnpf-area-select": "../AreaSelect/index",
"jnpf-relation-form": "../RelationForm/index",
"jnpf-relation-form-attr": "../RelationFormAttr/index",
"jnpf-popup-select": "../PopupSelect/index",
"jnpf-popup-attr": "../PopupAttr/index",
"jnpf-calculate": "../Calculate/index",
"jnpf-sign": "../Sign/index",
"jnpf-signature": "../Signature/index",
"jnpf-location": "../Location/index",
"jnpf-open-data": "../OpenData/index",
"jnpf-link": "../Link/index",
"jnpf-editor": "../Editor/index",
"jnpf-button": "../Button/index",
"jnpf-alert": "../Alert/index",
"u-form-item": "../../../uni_modules/vk-uview-ui/components/u-form-item/u-form-item"
}
}
\ No newline at end of file
<jnpf-text wx:if="{{a}}" class="data-v-263b581c" u-i="263b581c-0" bind:__l="__l" u-p="{{b}}"/><jnpf-group-title wx:elif="{{c}}" class="data-v-263b581c" bindgroupIcon="{{d}}" u-i="263b581c-1" bind:__l="__l" u-p="{{e}}"/><jnpf-divider wx:elif="{{f}}" class="data-v-263b581c" u-i="263b581c-2" bind:__l="__l" u-p="{{g}}"/><view wx:elif="{{h}}" class="jnpf-card data-v-263b581c"><view wx:if="{{i}}" class="jnpf-card-cap u-line-1 u-flex data-v-263b581c" bindtap="{{l}}">{{j}} <u-icon wx:if="{{k}}" class="u-m-l-10 data-v-263b581c" u-i="263b581c-3" bind:__l="__l" u-p="{{k}}"/></view><block wx:for="{{m}}" wx:for-item="child" wx:key="k"><item wx:if="{{child.a}}" class="r-i-f data-v-263b581c" u-r="{{child.c}}" bindinput="{{child.d}}" bindclickIcon="{{child.e}}" bindclickFun="{{child.f}}" bindcollapseChange="{{child.g}}" bindtabChange="{{child.h}}" u-i="{{child.i}}" bind:__l="__l" u-p="{{child.j}}"/></block></view><block wx:elif="{{n}}"><view class="step-container data-v-263b581c"><u-steps wx:if="{{p}}" class="data-v-263b581c" bindchange="{{o}}" u-i="263b581c-5" bind:__l="__l" u-p="{{p}}"></u-steps></view><view wx:for="{{q}}" wx:for-item="it" wx:key="c" class="data-v-263b581c"><view class="data-v-263b581c" hidden="{{!it.b}}"><block wx:for="{{it.a}}" wx:for-item="child" wx:key="j"><item wx:if="{{child.a}}" class="r-i-f data-v-263b581c" u-r="{{child.c}}" bindinput="{{child.d}}" bindclickIcon="{{child.e}}" bindclickFun="{{child.f}}" bindcollapseChange="{{child.g}}" u-i="{{child.h}}" bind:__l="__l" u-p="{{child.i}}"/></block></view></view></block><view wx:elif="{{r}}" class="jnpf-tab data-v-263b581c"><u-tabs wx:if="{{v}}" class="data-v-263b581c" bindchange="{{s}}" u-i="263b581c-7" bind:__l="__l" bindupdateModelValue="{{t}}" u-p="{{v}}"/><view wx:for="{{w}}" wx:for-item="it" wx:key="c" class="data-v-263b581c"><view class="data-v-263b581c" hidden="{{!it.b}}"><block wx:for="{{it.a}}" wx:for-item="child" wx:key="k"><item wx:if="{{child.a}}" class="r-i-f data-v-263b581c" u-r="{{child.c}}" bindinput="{{child.d}}" bindclickIcon="{{child.e}}" bindclickFun="{{child.f}}" bindcollapseChange="{{child.g}}" bindtabChange="{{child.h}}" u-i="{{child.i}}" bind:__l="__l" u-p="{{child.j}}"/></block></view></view></view><view wx:elif="{{x}}" class="data-v-263b581c"><u-collapse wx:if="{{A}}" class="r data-v-263b581c" u-s="{{['d']}}" u-r="collapseRef" u-i="263b581c-9" bind:__l="__l" u-p="{{A}}"><u-collapse-item wx:for="{{y}}" wx:for-item="it" wx:key="b" class="data-v-263b581c" u-s="{{['d']}}" bindchange="{{it.c}}" u-i="{{it.d}}" bind:__l="__l" u-p="{{it.e}}"><block wx:for="{{it.a}}" wx:for-item="child" wx:key="k"><item wx:if="{{child.a}}" class="r-i-f data-v-263b581c" u-r="{{child.c}}" bindinput="{{child.d}}" bindclickIcon="{{child.e}}" bindclickFun="{{child.f}}" bindcollapseChange="{{child.g}}" bindtabChange="{{child.h}}" u-i="{{child.i}}" bind:__l="__l" u-p="{{child.j}}"/></block></u-collapse-item></u-collapse></view><view wx:elif="{{B}}" class="data-v-263b581c"><child-table wx:if="{{C}}" class="r data-v-263b581c" u-r="{{E}}" bindinput="{{F}}" u-i="263b581c-12" bind:__l="__l" bindupdateModelValue="{{G}}" u-p="{{H}}"/></view><u-form-item wx:else class="data-v-263b581c" u-s="{{['d']}}" bindclickIcon="{{cK}}" u-i="263b581c-13" bind:__l="__l" u-p="{{cL||''}}"><jnpf-input wx:if="{{I}}" class="data-v-263b581c" bindchange="{{J}}" bindblur="{{K}}" u-i="263b581c-14,263b581c-13" bind:__l="__l" bindupdateModelValue="{{L}}" u-p="{{M}}"/><jnpf-textarea wx:if="{{N}}" class="data-v-263b581c" bindchange="{{O}}" bindblur="{{P}}" u-i="263b581c-15,263b581c-13" bind:__l="__l" bindupdateModelValue="{{Q}}" u-p="{{R}}"/><jnpf-input-number wx:if="{{S}}" class="data-v-263b581c" bindchange="{{T}}" bindblur="{{U}}" u-i="263b581c-16,263b581c-13" bind:__l="__l" bindupdateModelValue="{{V}}" u-p="{{W}}"/><jnpf-switch wx:if="{{X}}" class="data-v-263b581c" bindchange="{{Y}}" u-i="263b581c-17,263b581c-13" bind:__l="__l" bindupdateModelValue="{{Z}}" u-p="{{aa}}"/><jnpf-radio wx:if="{{ab}}" class="data-v-263b581c" bindchange="{{ac}}" u-i="263b581c-18,263b581c-13" bind:__l="__l" bindupdateModelValue="{{ad}}" u-p="{{ae}}"/><jnpf-checkbox wx:if="{{af}}" class="data-v-263b581c" bindchange="{{ag}}" u-i="263b581c-19,263b581c-13" bind:__l="__l" bindupdateModelValue="{{ah}}" u-p="{{ai}}"/><jnpf-select wx:if="{{aj}}" class="data-v-263b581c" bindchange="{{ak}}" u-i="263b581c-20,263b581c-13" bind:__l="__l" bindupdateModelValue="{{al}}" u-p="{{am}}"/><jnpf-cascader wx:if="{{an}}" class="data-v-263b581c" bindchange="{{ao}}" u-i="263b581c-21,263b581c-13" bind:__l="__l" bindupdateModelValue="{{ap}}" u-p="{{aq}}"/><jnpf-date-picker wx:if="{{ar}}" class="data-v-263b581c" bindchange="{{as}}" u-i="263b581c-22,263b581c-13" bind:__l="__l" bindupdateModelValue="{{at}}" u-p="{{av}}"/><jnpf-time-picker wx:if="{{aw}}" class="data-v-263b581c" bindchange="{{ax}}" u-i="263b581c-23,263b581c-13" bind:__l="__l" bindupdateModelValue="{{ay}}" u-p="{{az}}"/><jnpf-upload-file wx:if="{{aA}}" class="data-v-263b581c" bindchange="{{aB}}" u-i="263b581c-24,263b581c-13" bind:__l="__l" bindupdateModelValue="{{aC}}" u-p="{{aD}}"/><jnpf-upload-img wx:if="{{aE}}" class="data-v-263b581c" bindchange="{{aF}}" u-i="263b581c-25,263b581c-13" bind:__l="__l" bindupdateModelValue="{{aG}}" u-p="{{aH}}"/><jnpf-color-picker wx:if="{{aI}}" class="data-v-263b581c" bindchange="{{aJ}}" u-i="263b581c-26,263b581c-13" bind:__l="__l" bindupdateModelValue="{{aK}}" u-p="{{aL}}"/><jnpf-rate wx:if="{{aM}}" class="data-v-263b581c" bindchange="{{aN}}" u-i="263b581c-27,263b581c-13" bind:__l="__l" bindupdateModelValue="{{aO}}" u-p="{{aP}}"/><jnpf-slider wx:if="{{aQ}}" class="data-v-263b581c" bindchange="{{aR}}" u-i="263b581c-28,263b581c-13" bind:__l="__l" bindupdateModelValue="{{aS}}" u-p="{{aT}}"/><jnpf-barcode wx:if="{{aU}}" class="data-v-263b581c" u-i="263b581c-29,263b581c-13" bind:__l="__l" u-p="{{aV}}"/><jnpf-qrcode wx:if="{{aW}}" class="data-v-263b581c" u-i="263b581c-30,263b581c-13" bind:__l="__l" u-p="{{aX}}"/><jnpf-organize-select wx:if="{{aY}}" class="data-v-263b581c" bindchange="{{aZ}}" u-i="263b581c-31,263b581c-13" bind:__l="__l" bindupdateModelValue="{{ba}}" u-p="{{bb}}"/><jnpf-dep-select wx:if="{{bc}}" class="data-v-263b581c" bindchange="{{bd}}" u-i="263b581c-32,263b581c-13" bind:__l="__l" bindupdateModelValue="{{be}}" u-p="{{bf}}"/><jnpf-pos-select wx:if="{{bg}}" class="data-v-263b581c" bindchange="{{bh}}" u-i="263b581c-33,263b581c-13" bind:__l="__l" bindupdateModelValue="{{bi}}" u-p="{{bj}}"/><jnpf-user-select wx:if="{{bk}}" class="data-v-263b581c" bindchange="{{bl}}" u-i="263b581c-34,263b581c-13" bind:__l="__l" bindupdateModelValue="{{bm}}" u-p="{{bn}}"/><jnpf-users-select wx:if="{{bo}}" class="data-v-263b581c" bindchange="{{bp}}" u-i="263b581c-35,263b581c-13" bind:__l="__l" bindupdateModelValue="{{bq}}" u-p="{{br}}"/><jnpf-role-select wx:if="{{bs}}" class="data-v-263b581c" bindchange="{{bt}}" u-i="263b581c-36,263b581c-13" bind:__l="__l" bindupdateModelValue="{{bv}}" u-p="{{bw}}"/><jnpf-group-select wx:if="{{bx}}" class="data-v-263b581c" bindchange="{{by}}" u-i="263b581c-37,263b581c-13" bind:__l="__l" bindupdateModelValue="{{bz}}" u-p="{{bA}}"/><jnpf-tree-select wx:if="{{bB}}" class="data-v-263b581c" bindchange="{{bC}}" u-i="263b581c-38,263b581c-13" bind:__l="__l" bindupdateModelValue="{{bD}}" u-p="{{bE}}"/><jnpf-auto-complete wx:if="{{bF}}" class="data-v-263b581c" bindchange="{{bG}}" u-i="263b581c-39,263b581c-13" bind:__l="__l" bindupdateModelValue="{{bH}}" u-p="{{bI}}"/><jnpf-area-select wx:if="{{bJ}}" class="data-v-263b581c" bindchange="{{bK}}" u-i="263b581c-40,263b581c-13" bind:__l="__l" bindupdateModelValue="{{bL}}" u-p="{{bM}}"/><jnpf-relation-form wx:if="{{bN}}" class="data-v-263b581c" bindchange="{{bO}}" u-i="263b581c-41,263b581c-13" bind:__l="__l" bindupdateModelValue="{{bP}}" u-p="{{bQ}}"/><jnpf-relation-form-attr wx:if="{{bR}}" class="data-v-263b581c" bindchange="{{bS}}" u-i="263b581c-42,263b581c-13" bind:__l="__l" bindupdateModelValue="{{bT}}" u-p="{{bU}}"/><jnpf-popup-select wx:if="{{bV}}" class="data-v-263b581c" bindchange="{{bW}}" u-i="263b581c-43,263b581c-13" bind:__l="__l" bindupdateModelValue="{{bX}}" u-p="{{bY}}"/><jnpf-popup-attr wx:if="{{bZ}}" class="data-v-263b581c" bindchange="{{ca}}" u-i="263b581c-44,263b581c-13" bind:__l="__l" bindupdateModelValue="{{cb}}" u-p="{{cc}}"/><jnpf-calculate wx:if="{{cd}}" class="data-v-263b581c" u-i="263b581c-45,263b581c-13" bind:__l="__l" bindupdateModelValue="{{ce}}" u-p="{{cf}}"/><jnpf-sign wx:if="{{cg}}" class="data-v-263b581c" bindchange="{{ch}}" u-i="263b581c-46,263b581c-13" bind:__l="__l" bindupdateModelValue="{{ci}}" u-p="{{cj}}"/><jnpf-signature wx:if="{{ck}}" class="data-v-263b581c" bindchange="{{cl}}" u-i="263b581c-47,263b581c-13" bind:__l="__l" bindupdateModelValue="{{cm}}" u-p="{{cn}}"/><jnpf-location wx:if="{{co}}" class="data-v-263b581c" bindchange="{{cp}}" u-i="263b581c-48,263b581c-13" bind:__l="__l" bindupdateModelValue="{{cq}}" u-p="{{cr}}"/><jnpf-open-data wx:if="{{cs}}" class="data-v-263b581c" u-i="263b581c-49,263b581c-13" bind:__l="__l" bindupdateModelValue="{{ct}}" u-p="{{cv}}"/><jnpf-input wx:if="{{cw}}" class="data-v-263b581c" u-i="263b581c-50,263b581c-13" bind:__l="__l" bindupdateModelValue="{{cx}}" u-p="{{cy}}"/><jnpf-link wx:if="{{cz}}" class="data-v-263b581c" bindclick="{{cA}}" u-i="263b581c-51,263b581c-13" bind:__l="__l" u-p="{{cB}}"/><jnpf-editor wx:if="{{cC}}" class="data-v-263b581c" u-i="263b581c-52,263b581c-13" bind:__l="__l" bindupdateModelValue="{{cD}}" u-p="{{cE}}"/><jnpf-button wx:if="{{cF}}" class="data-v-263b581c" bindclick="{{cG}}" u-i="263b581c-53,263b581c-13" bind:__l="__l" u-p="{{cH}}"/><jnpf-alert wx:if="{{cI}}" class="data-v-263b581c" u-i="263b581c-54,263b581c-13" bind:__l="__l" u-p="{{cJ}}"/></u-form-item>
\ No newline at end of file
.form-item-box.data-v-263b581c{padding:0 20rpx}
"use strict";const e=require("../../../common/vendor.js"),t=require("../../../api/common.js"),a=require("../../../store/modules/base.js").useBaseStore(),l=["select","cascader","treeSelect"],i=["createUser","createTime","modifyUser","modifyTime","currOrganize","currDept","currPosition","billRule"],o={name:"jnpf-child-table",inject:["parameter","relations","isShortLink"],props:{config:{type:Object,default:()=>{}},formData:{type:Object,required:!0},modelValue:{type:[Array,String],default:()=>[]}},data:()=>({systemList:i,dataInterfaceInfo:[],activeRowIndex:0,tableData:[],tableFormData:[],summaryField:[],isIgnore:!1,tableVmodel:"",childRelations:{},userInfo:{},showTipsModal:!1,tipsContent:"",tipsTitle:"提示",contentStyle:{fontSize:"28rpx",padding:"20rpx",lineHeight:"44rpx",textAlign:"left"},titleStyle:{padding:"20rpx"},confirmStyle:{height:"80rpx",lineHeight:"80rpx"}}),watch:{tableFormData:{handler(e,t){const a=this.submit(!0);this.config.__config__.defaultValue=a,this.$emit("input",this.config),this.getTableSummaries()},deep:!0}},computed:{disabled(){return this.config.disabled},getFooterBtnsList(){var e,t;if(!(null==(t=null==(e=this.config)?void 0:e.footerBtnsList)?void 0:t.length))return[];let a=this.config.footerBtnsList.filter((e=>e.show));return this.isShortLink&&(a=a.filter((e=>["add"].includes(e.value)))),a=a.filter((e=>"batchRemove"!=e.value)),a}},created(){this.init()},methods:{init(){this.userInfo=e.index.getStorageSync("userInfo")||{},this.tableData=this.config.__config__.children||[],this.handleSummary(),this.buildOptions(),this.handleListen(),this.buildRelation()},handleSummary(){this.summaryField=[];let e=this.config.summaryField||[];for(let t=0;t<e.length;t++)for(let a=0;a<this.tableData.length;a++){const l=this.tableData[a];l.__vModel__!==e[t]||l.__config__.noShow||this.summaryField.push({value:"0.00",...l})}},handleListen(){e.index.$on("linkPageConfirm",((t,a)=>{this.config.__vModel__===a&&(t.forEach((e=>{this.tableFormData.push(this.getEmptyItem(e)),this.buildRowAttr(this.tableFormData.length-1,e)})),setTimeout((()=>{e.index.$emit("initCollapse")}),50))})),e.index.$on("handleRelation",this.handleRelationForParent)},buildOptions(){for(let i=0;i<this.tableData.length;i++){const o=this.tableData[i].__config__;if(l.indexOf(o.jnpfKey)>-1&&("dictionary"===o.dataType&&o.dictionaryType&&a.getDicDataSelector(o.dictionaryType).then((t=>{this.tableData[i].options=t||[],e.index.$emit("initCollapse")})),"dynamic"===o.dataType&&o.propsUrl)){let e={paramList:this.getDefaultParamList(o.templateJson,this.formData)};const a={matchInfo:JSON.stringify({id:o.propsUrl,query:e}),rowIndex:-1,colIndex:i};this.dataInterfaceInfo.push(a),t.getDataInterfaceRes(o.propsUrl,e).then((e=>{this.tableData[i].options=Array.isArray(e.data)?e.data:[]}))}}this.initData()},initData(){Array.isArray(this.modelValue)&&this.modelValue.length&&(this.modelValue.forEach(((e,t)=>{this.tableFormData.push(this.getEmptyItem(e)),this.buildAttr(t,e)})),this.initRelationData(),this.$nextTick((()=>{e.index.$emit("initCollapse")})))},buildAttr(i,o){let n=this.tableFormData[i];for(let s=0;s<n.length;s++){let o=n[s];const d=o.__config__;if(l.indexOf(d.jnpfKey)>-1&&("dictionary"===d.dataType&&d.dictionaryType&&a.getDicDataSelector(d.dictionaryType).then((t=>{o.options=t||[],e.index.$emit("initCollapse")})),"dynamic"===d.dataType&&d.propsUrl)){if(this.handleRelation(o,i),o.options&&o.options.length&&(!d.templateJson||!d.templateJson.length||!this.hasTemplateJsonRelation(d.templateJson)))continue;let a={paramList:this.getParamList(d.templateJson,this.formData,i)};const l=JSON.stringify({id:d.propsUrl,query:a}),n={matchInfo:l,rowIndex:i,colIndex:s},r=this.dataInterfaceInfo.findIndex((e=>e.matchInfo===l));let _=!1;if(-1===r)this.dataInterfaceInfo.push(n);else{const t=this.getCacheOptions(r);t.length&&(o.options=t,_=!0,e.index.$emit("initCollapse"))}_||t.getDataInterfaceRes(d.propsUrl,a).then((t=>{o.options=Array.isArray(t.data)?t.data:[],e.index.$emit("initCollapse")}))}}},buildRelation(){for(let e in this.relations)if(e.includes("-")){if(e.split("-")[0]===this.config.__vModel__){let t=e.split("-")[1];this.childRelations[t]=this.relations[e]}}},getTableSummaries(){if(!this.config.showSummary)return;if(!this.tableFormData.length)return this.handleSummary();const e=this.tableFormData.map(((e,t)=>e.reduce(((e,t)=>(e[t.__vModel__]=t.value,e)),{})));for(let t=0;t<this.summaryField.length;t++){let a=0;for(let i=0;i<e.length;i++){const l=e[i][this.summaryField[t].__vModel__];if(l){a+=isNaN(l)?0:Number(l)}}let l=a&&!Number.isInteger(a)?Number(a).toFixed(2):a;this.summaryField[t].thousands&&(l=Number(l).toLocaleString("zh")),this.summaryField[t].value=l}},handleRelationForParent(a,l,i){if(this.tableFormData.length)for(let o=0;o<this.tableFormData.length;o++){let n=this.tableFormData[o];for(let s=0;s<n.length;s++){let d=n[s];const r="popupSelect"===d.jnpfKey?d.__vModel__.substring(0,d.__vModel__.indexOf("_jnpfRelation_")):d.__vModel__;if(a.__vModel__===r){if("setOptions"===a.opType){d.options=[];let l={paramList:this.getParamList(a.__config__.templateJson,this.formData,o)};t.getDataInterfaceRes(a.__config__.propsUrl,l).then((t=>{d.options=Array.isArray(t.data)?t.data:[],e.index.$emit("initCollapse")}))}if("setUserOptions"===a.opType)if(a.relationField.includes("-")){const[e,t]=a.relationField.split("-");this.$nextTick((()=>{let a=this.formData[e][o][t]||[];this.$set(this.tableFormData[o][s],"ableRelationIds",Array.isArray(a)?a:[a])}))}else{let e=this.formData[a.relationField]||[];this.$set(this.tableFormData[o][s],"ableRelationIds",Array.isArray(e)?e:[e])}this.$nextTick((()=>{if("setDate"===a.opType){let e=0,t=0;if(a.__config__.startRelationField&&2==a.__config__.startTimeType)if(a.__config__.startRelationField.includes("-")){const[t,l]=a.__config__.startRelationField.split("-");e=this.formData[t][o][l]||0}else e=this.formData[a.__config__.startRelationField]||0;else e=a.startTime;if(a.__config__.endRelationField&&2==a.__config__.endTimeType)if(a.__config__.endRelationField.includes("-")){const[e,l]=a.__config__.endRelationField.split("-");t=this.formData[e][o][l]||0}else t=this.formData[a.__config__.endRelationField]||0;else t=a.endTime;d.startTime=e,d.endTime=t}if("setTime"===a.opType){a.format;let e="",t="";if(a.__config__.startRelationField&&2==a.__config__.startTimeType){if(a.__config__.startRelationField.includes("-")){const[t,l]=a.__config__.startRelationField.split("-");e=this.formData[t][o][l]||"00:00:00"}else e=this.formData[a.__config__.startRelationField]||"00:00:00";e=e&&3==e.split(":").length?e:e+":00"}else e=a.startTime;if(a.__config__.endRelationField&&2==a.__config__.endTimeType){if(a.__config__.endRelationField.includes("-")){const[e,l]=a.__config__.endRelationField.split("-");t=this.formData[e][o][l]||"23:59:59"}else t=this.formData[a.__config__.endRelationField]||"23:59:59";t=t&&3==t.split(":").length?t:t+":00"}else t=a.endTime;d.startTime=e,d.endTime=t}})),d.value!=l&&(!i&&d.value||(d.value=l))}}}},handleRelation(a,l){const i=this.childRelations;for(let o in i)if(o===a.__vModel__)for(let a=0;a<i[o].length;a++){const n=i[o][a],s=n.__config__,d=s.jnpfKey;let r="";(["checkbox","cascader"].includes(d)||["select","treeSelect","popupSelect","popupTableSelect","userSelect"].includes(d)&&n.multiple)&&(r=[]);let _=this.tableFormData[l];for(let a=0;a<_.length;a++){let i=_[a];const o="popupSelect"===i.jnpfKey?i.__vModel__.substring(0,i.__vModel__.indexOf("_jnpfRelation_")):i.__vModel__;if(n.__vModel__===o){if("setOptions"===n.opType){i.options=[];let a={paramList:this.getParamList(s.templateJson,this.formData,l)};t.getDataInterfaceRes(s.propsUrl,a).then((t=>{i.options=Array.isArray(t.data)?t.data:[],e.index.$emit("initCollapse")}))}if("setUserOptions"===n.opType){let e=this.getFieldVal(n.relationField,l)||[];i.ableRelationIds=Array.isArray(e)?e:[e]}if("setDate"===n.opType){let e=0,t=0;e=s.startRelationField&&2==s.startTimeType?this.getFieldVal(s.startRelationField,l)||0:n.startTime,t=s.endRelationField&&2==s.endTimeType?this.getFieldVal(s.endRelationField,l)||0:n.endTime,i.startTime=e,i.endTime=t}if("setTime"===n.opType){let e=0,t=0;s.startRelationField&&2==s.startTimeType?(e=this.getFieldVal(s.startRelationField,l)||"00:00:00",e=3==e.split(":").length?e:e+":00"):e=n.startTime,s.endRelationField&&2==s.endTimeType?(t=this.getFieldVal(s.endRelationField,l)||"23:59:59",t=3==t.split(":").length?t:t+":00"):t=n.endTime,i.startTime=e,i.endTime=t}i.value!=r&&(i.value=r,this.$nextTick((()=>this.handleRelation(i,l))))}}}},handleDefaultRelation(e,t=0){const a=this.childRelations;for(let l in a)if(l===e)for(let e=0;e<a[l].length;e++){const i=a[l][e],o=i.__config__;let n=this.tableFormData[t];for(let e=0;e<n.length;e++){let a=n[e];const l="popupSelect"===a.jnpfKey?a.__vModel__.substring(0,a.__vModel__.indexOf("_jnpfRelation_")):a.__vModel__;if(i.__vModel__===l){if("setUserOptions"===i.opType){let e=this.getFieldVal(i.relationField,t)||[];a.ableRelationIds=Array.isArray(e)?e:[e]}if("setDate"===i.opType){let e=0,l=0;e=o.startRelationField&&2==o.startTimeType?this.getFieldVal(o.startRelationField,t)||0:i.startTime,l=o.endRelationField&&2==o.endTimeType?this.getFieldVal(o.endRelationField,t)||0:i.endTime,a.startTime=e,a.endTime=l}if("setTime"===i.opType){let e=0,l=0;o.startRelationField&&2==o.startTimeType?(e=this.getFieldVal(o.startRelationField,t)||"00:00:00",3==e.split(":").length||(e+=":00")):e=i.startTime,o.endRelationField&&2==o.endTimeType?(l=this.getFieldVal(o.endRelationField,t)||"23:59:59",3==l.split(":").length||(l+=":00")):l=i.endTime,a.startTime=e,a.endTime=l}}}}},getFieldVal(e,t){let a="";if(e.includes("-")){let l=e.split("-")[1],i=this.tableFormData[t].filter((e=>e.__vModel__===l));a=i.length?i[0].value:""}else a=this.formData[e]||"";return a},buildRowAttr(i,o){let n=this.tableFormData[i];for(let s=0;s<n.length;s++){let o=n[s];const d=o.__config__;for(let e in this.modelValue[i])e===o.__vModel__&&(o.value=this.modelValue[i][e]);if(l.indexOf(d.jnpfKey)>-1&&("dictionary"===d.dataType&&d.dictionaryType&&a.getDicDataSelector(d.dictionaryType).then((t=>{o.options=t||[],e.index.$emit("initCollapse")})),"dynamic"===d.dataType&&d.propsUrl)){if(this.handleRelation(o,i),o.options&&o.options.length&&(!d.templateJson||!d.templateJson.length||!this.hasTemplateJsonRelation(d.templateJson)))continue;let a={paramList:this.getParamList(d.templateJson,this.formData,i)};const l=JSON.stringify({id:d.propsUrl,query:a}),n={matchInfo:l,rowIndex:i,colIndex:s},r=this.dataInterfaceInfo.findIndex((e=>e.matchInfo===l));let _=!1;if(-1===r)this.dataInterfaceInfo.push(n);else{const t=this.getCacheOptions(r);t.length&&(o.options=t,e.index.$emit("initCollapse"),_=!0)}_||t.getDataInterfaceRes(d.propsUrl,a).then((t=>{o.options=Array.isArray(t.data)?t.data:[],e.index.$emit("initCollapse")}))}if("userSelect"===d.jnpfKey&&o.relationField&&"all"!==o.selectType&&"custom"!==o.selectType){let e=this.getFieldVal(o.relationField,i)||[];o.ableRelationIds=Array.isArray(e)?e:[e]}if("datePicker"===d.jnpfKey){let e=0,t=0;e=d.startRelationField&&2==d.startTimeType?this.getFieldVal(d.startRelationField,i)||0:o.startTime,t=d.endRelationField&&2==d.endTimeType?this.getFieldVal(d.endRelationField,i)||0:o.endTime,o.startTime=e,o.endTime=t}if("timePicker"===d.jnpfKey){let e=0,t=0;d.startRelationField&&2==d.startTimeType?(e=this.getFieldVal(d.startRelationField,i)||"00:00:00",e=e&&3==e.split(":").length?e:e+":00"):e=o.startTime,d.endRelationField&&2==d.endTimeType?(t=this.getFieldVal(d.endRelationField,i)||"23:59:59",t=3==t.split(":").length?t:t+":00"):t=o.endTime,o.startTime=e,o.endTime=t}}},getCacheOptions(e){const t=this.dataInterfaceInfo[e];return-1===t.rowIndex?this.tableData[t.colIndex].options||[]:this.tableFormData[t.rowIndex][t.colIndex].options||[]},hasTemplateJsonRelation:e=>e.some((e=>e.relationField)),getParamList(e,t,a){if(!e)return[];for(let l=0;l<e.length;l++)if(e[l].relationField&&1==e[l].sourceType)if(e[l].relationField.includes("-")){let t=e[l].relationField.split("-")[1],i=this.tableFormData[a].filter((e=>e.__vModel__===t));e[l].defaultValue=i.length?i[0].value:""}else e[l].defaultValue=t[e[l].relationField]||"";return e},getDefaultParamList(e,t){if(!e)return[];for(let a=0;a<e.length;a++)if(e[a].relationField&&1==e[a].sourceType)if(e[a].relationField.includes("-")){let t=e[a].relationField.split("-")[1],l=this.tableData.filter((e=>e.__vModel__===t));e[a].defaultValue="",l.length&&(e[a].defaultValue=l[0].__config__.defaultValue||"")}else e[a].defaultValue=t[e[a].relationField]||"";return e},initRelationData(){const e=t=>{t.forEach((t=>{this.handleDefaultRelation(t.__vModel__),t.__config__.children&&e(t.__config__.children)}))};e(this.config.__config__.children)},getEmptyItem(e){return this.tableData.map((t=>{const a=t.__config__;if("datePicker"===a.jnpfKey&&a.defaultCurrent){let e=this.jnpf.handelFormat(t.format),l=this.jnpf.toDate((new Date).getTime(),e),i="yyyy"===e?"-01-01 00:00:00":"yyyy-MM"===e?"-01 00:00:00":"yyyy-MM-dd"===e?" 00:00:00":"";a.defaultValue=new Date(l+i).getTime()}"timePicker"===a.jnpfKey&&a.defaultCurrent&&(a.defaultValue=this.jnpf.toDate(new Date,t.format));return{...t,value:e?e[t.__vModel__]:a.defaultValue,options:"dynamic"==a.dataType?[]:t.options,rowData:e||{}}}))},formatData(){const e=this.userInfo.organizeIdList;for(let t=0;t<this.tableFormData.length;t++){const a=this.tableFormData[t];for(let l=0;l<a.length;l++){const i=a[l],o=a[l].__config__;if("datePicker"===o.jnpfKey&&o.defaultCurrent&&t===this.tableFormData.length-1){let e=this.jnpf.handelFormat(i.format),t=this.jnpf.toDate((new Date).getTime(),e),a="yyyy"===e?"-01-01 00:00:00":"yyyy-MM"===e?"-01 00:00:00":"yyyy-MM-dd"===e?" 00:00:00":"";i.value=new Date(t+a).getTime()}"organizeSelect"===o.jnpfKey&&o.defaultCurrent&&Array.isArray(e)&&e.length&&t===this.tableFormData.length-1&&(i.value=i.multiple?[e]:e)}}},checkData:e=>![null,void 0,""].includes(e.value)&&(!Array.isArray(e.value)||e.value.length>0),submit(e){let t=!0;e:for(let l=0;l<this.tableFormData.length;l++){const a=this.tableFormData[l];for(let i=0;i<a.length;i++){const o=a[i],n=o.__config__;if(n.required&&!this.checkData(o)&&n.isVisibility&&!n.noShow){t=!1,e||this.$u.toast(`${this.config.__config__.label}(${l+1})${n.label}不能为空`);break e}if(n.regList&&n.regList.length&&n.isVisibility){let a=n.regList;for(let i=0;i<a.length;i++){const s=a[i];if(s.pattern){s.pattern=s.pattern.toString();let e=s.pattern.indexOf("/"),t=s.pattern.lastIndexOf("/"),a=s.pattern.substring(e+1,t),l=new RegExp(a);s.pattern=l}if(o.value&&s.pattern&&!s.pattern.test(o.value)){e||this.$u.toast(`${this.config.__config__.label}(${l+1})${n.label}${s.message}`),t=!1;break e}}}}}const a=this.getTableValue()||[];return(e||!!t)&&a},getTableValue(){return this.tableFormData.map((e=>e.reduce(((e,t)=>{let a=t.__vModel__;return t.__vModel__&&t.__vModel__.indexOf("_jnpfRelation_")>=0&&(a=t.__vModel__.substring(0,t.__vModel__.indexOf("_jnpfRelation_"))),e[a]=t.value,t.rowData&&(e={...t.rowData,...e}),e}),{})))},setTableFormData(e,t){let a=this.tableFormData[this.activeRowIndex]||[];for(let l=0;l<a.length;l++)if(a[l].__vModel__===e){a[l].value=t;break}},getTableFieldOptions(e){let t=[];for(let a=0;a<this.tableData.length;a++)if(this.tableData[a].__vModel__===e){t=this.tableData[a].options||[];break}return t},onChange(e,t,a){this.activeRowIndex=a,this.setScriptFunc(e,t,"change",a),["popupSelect","relationForm"].includes(t.__config__.jnpfKey)&&this.setTransferFormData(e,t.__config__,t.__config__.jnpfKey),this.$nextTick((()=>this.handleRelation(t,a)))},setScriptFunc(e,t,a="change",l){if(t&&t.on&&t.on[a]){const i=this.jnpf.getScriptFunc(t.on[a]);if(!i)return;i.call(this,{data:e,rowIndex:l,...this.parameter})}},setTransferFormData(e,t,a){if(!t.transferList.length)return;let l=this.tableFormData[this.activeRowIndex];for(let i=0;i<t.transferList.length;i++){const a=t.transferList[i];a.sourceValue.includes("-")&&(a.sourceValue=a.sourceValue.split("-")[1]);for(let t=0;t<l.length;t++){const i=l[t];i.__vModel__==a.sourceValue&&(i.value=e[a.targetField])}}},clickIcon(e){e.__config__.tipLabel&&(this.tipsContent=e.__config__.tipLabel,this.tipsTitle=e.__config__.label,this.showTipsModal=!0)},onBlur(e,t,a){this.activeRowIndex=a,this.setScriptFunc(e,t,"blur",a)},columnBtnsHandel(e,t){return"remove"==e.value?this.removeRow(t,e.showConfirm):"copy"==e.value?this.copyRow(t):void 0},removeRow(t,a=0){const l=()=>{this.tableFormData.splice(t,1),this.$nextTick((()=>e.index.$emit("initCollapse")))};if(!a)return l();e.index.showModal({title:"提示",content:"确认删除该条信息吗?",success:e=>{e.confirm&&l()}})},copyRow(e){let t=JSON.parse(JSON.stringify(this.tableFormData[e]));t.forEach((e=>{i.includes(e.__config__.jnpfKey)&&(e.value="",e.placeholder="系统自动生成")})),t.length&&t.map((e=>delete e.rowData)),this.tableFormData.push(t)},footerBtnsHandle(e){"add"==e.value?this.addRow():this.openSelectDialog(e.actionConfig)},addRow(t){this.tableFormData.push(this.getEmptyItem(t)),this.tableFormData.length&&this.formatData();const a=this.tableFormData.length-1;this.buildRowAttr(a,t),this.$nextTick((()=>e.index.$emit("initCollapse")))},openSelectDialog(t){const a={actionConfig:t,formData:this.formData,tableVmodel:this.config.__vModel__};e.index.navigateTo({url:"/pages/apply/tableLinkage/index?data="+JSON.stringify(a)})}}};if(!Array){(e.resolveComponent("u-icon")+e.resolveComponent("JnpfInput")+e.resolveComponent("JnpfTextarea")+e.resolveComponent("JnpfInputNumber")+e.resolveComponent("JnpfSwitch")+e.resolveComponent("JnpfSelect")+e.resolveComponent("JnpfCascader")+e.resolveComponent("JnpfDatePicker")+e.resolveComponent("JnpfTimePicker")+e.resolveComponent("JnpfUploadFile")+e.resolveComponent("JnpfUploadImg")+e.resolveComponent("JnpfRate")+e.resolveComponent("JnpfSlider")+e.resolveComponent("JnpfOrganizeSelect")+e.resolveComponent("JnpfDepSelect")+e.resolveComponent("JnpfPosSelect")+e.resolveComponent("JnpfUserSelect")+e.resolveComponent("JnpfUsersSelect")+e.resolveComponent("JnpfRoleSelect")+e.resolveComponent("JnpfGroupSelect")+e.resolveComponent("JnpfTreeSelect")+e.resolveComponent("JnpfAutoComplete")+e.resolveComponent("JnpfAreaSelect")+e.resolveComponent("JnpfRelationForm")+e.resolveComponent("JnpfRelationFormAttr")+e.resolveComponent("JnpfPopupSelect")+e.resolveComponent("JnpfPopupAttr")+e.resolveComponent("JnpfCalculate")+e.resolveComponent("JnpfSign")+e.resolveComponent("JnpfSignature")+e.resolveComponent("JnpfLocation")+e.resolveComponent("JnpfOpenData")+e.resolveComponent("u-form-item")+e.resolveComponent("u-modal"))()}Math||((()=>"../../../uni_modules/vk-uview-ui/components/u-icon/u-icon.js")+(()=>"../Input/index.js")+(()=>"../Textarea/index.js")+(()=>"../InputNumber/index.js")+(()=>"../Switch/index.js")+(()=>"../Select/index.js")+(()=>"../Cascader/index.js")+(()=>"../DatePicker/index.js")+(()=>"../TimePicker/index.js")+(()=>"../UploadFile/index.js")+(()=>"../UploadImg/index.js")+(()=>"../Rate/index.js")+(()=>"../Slider/index.js")+(()=>"../OrganizeSelect/index.js")+(()=>"../DepSelect/index.js")+(()=>"../PosSelect/index.js")+(()=>"../UserSelect/index.js")+(()=>"../UsersSelect/index.js")+(()=>"../RoleSelect/index.js")+(()=>"../GroupSelect/index.js")+(()=>"../TreeSelect/index.js")+(()=>"../AutoComplete/index.js")+(()=>"../AreaSelect/index.js")+(()=>"../RelationForm/index.js")+(()=>"../RelationFormAttr/index.js")+(()=>"../PopupSelect/index.js")+(()=>"../PopupAttr/index.js")+(()=>"../Calculate/index.js")+(()=>"../Sign/index.js")+(()=>"../Signature/index.js")+(()=>"../Location/index.js")+(()=>"../OpenData/index.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-form-item/u-form-item.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-modal/u-modal.js"))();const n=e._export_sfc(o,[["render",function(t,a,l,i,o,n){return e.e({a:e.t(l.config.__config__.label),b:l.config.__config__.tipLabel},l.config.__config__.tipLabel?{c:e.p({name:"question-circle-fill",color:"#a0acb7"})}:{},{d:e.o((e=>n.clickIcon(l.config))),e:e.f(o.tableFormData,((t,a,i)=>e.e({a:e.t(a+1)},n.disabled?{}:{b:e.f(l.config.columnBtnsList,((t,l,i)=>e.e({a:t.show&&!n.disabled},t.show&&!n.disabled?{b:e.t(t.label),c:e.n("remove"==t.value?"jnpf-table-delete-btn":"jnpf-table-copy-btn"),d:e.o((e=>n.columnBtnsHandel(t,a)),l)}:{},{e:l})))},{c:e.f(t,((t,s,d)=>e.e({a:!t.__config__.noShow&&t.__config__.isVisibility},!t.__config__.noShow&&t.__config__.isVisibility?e.e({b:"input"==t.__config__.jnpfKey},"input"==t.__config__.jnpfKey?{c:e.o((e=>n.onChange(e,t,a)),s),d:e.o((e=>n.onBlur(e,t,a)),s),e:"0fabdb0a-2-"+i+"-"+d+",0fabdb0a-1-"+i+"-"+d,f:e.o((e=>o.tableFormData[a][s].value=e),s),g:e.p({showPassword:t.showPassword,placeholder:t.placeholder,maxlength:t.maxlength,showCount:t.showCount,disabled:n.disabled||t.disabled,clearable:t.clearable,useScan:t.useScan,addonBefore:t.addonBefore,addonAfter:t.addonAfter,modelValue:o.tableFormData[a][s].value})}:{},{h:"textarea"==t.__config__.jnpfKey},"textarea"==t.__config__.jnpfKey?{i:e.o((e=>n.onChange(e,t,a)),s),j:e.o((e=>n.onBlur(e,t,a)),s),k:"0fabdb0a-3-"+i+"-"+d+",0fabdb0a-1-"+i+"-"+d,l:e.o((e=>o.tableFormData[a][s].value=e),s),m:e.p({placeholder:t.placeholder,maxlength:t.maxlength,showCount:t.showCount,disabled:n.disabled||t.disabled,clearable:t.clearable,modelValue:o.tableFormData[a][s].value})}:{},{n:"inputNumber"==t.__config__.jnpfKey},"inputNumber"==t.__config__.jnpfKey?{o:e.o((e=>n.onChange(e,t,a)),s),p:e.o((e=>n.onBlur(e,t,a)),s),q:"0fabdb0a-4-"+i+"-"+d+",0fabdb0a-1-"+i+"-"+d,r:e.o((e=>o.tableFormData[a][s].value=e),s),s:e.p({step:t.step,max:t.max,min:t.min,disabled:n.disabled||t.disabled,placeholder:t.placeholder,isAmountChinese:t.isAmountChinese,thousands:t.thousands,addonAfter:t.addonAfter,addonBefore:t.addonBefore,controls:t.controls,precision:t.precision,modelValue:o.tableFormData[a][s].value})}:{},{t:"switch"==t.__config__.jnpfKey},"switch"==t.__config__.jnpfKey?{v:e.o((e=>n.onChange(e,t,a)),s),w:"0fabdb0a-5-"+i+"-"+d+",0fabdb0a-1-"+i+"-"+d,x:e.o((e=>o.tableFormData[a][s].value=e),s),y:e.p({disabled:n.disabled||t.disabled,modelValue:o.tableFormData[a][s].value})}:{},{z:"select"==t.__config__.jnpfKey},"select"==t.__config__.jnpfKey?{A:e.o(((e,l)=>{n.onChange(l,t,a)}),s),B:"0fabdb0a-6-"+i+"-"+d+",0fabdb0a-1-"+i+"-"+d,C:e.o((e=>o.tableFormData[a][s].value=e),s),D:e.p({placeholder:t.placeholder,options:t.options,props:t.props,multiple:t.multiple,disabled:n.disabled||t.disabled,filterable:t.filterable,modelValue:o.tableFormData[a][s].value})}:{},{E:"cascader"==t.__config__.jnpfKey},"cascader"==t.__config__.jnpfKey?{F:e.o(((e,l)=>{n.onChange(l,t,a)}),s),G:"0fabdb0a-7-"+i+"-"+d+",0fabdb0a-1-"+i+"-"+d,H:e.o((e=>o.tableFormData[a][s].value=e),s),I:e.p({placeholder:t.placeholder,options:t.options,props:t.props,disabled:n.disabled||t.disabled,multiple:t.multiple,filterable:t.filterable,clearable:t.clearable,showAllLevels:t.showAllLevels,modelValue:o.tableFormData[a][s].value})}:{},{J:"datePicker"==t.__config__.jnpfKey},"datePicker"==t.__config__.jnpfKey?{K:e.o((e=>n.onChange(e,t,a)),s),L:"0fabdb0a-8-"+i+"-"+d+",0fabdb0a-1-"+i+"-"+d,M:e.o((e=>o.tableFormData[a][s].value=e),s),N:e.p({placeholder:t.placeholder,disabled:n.disabled||t.disabled,format:t.format,startTime:t.startTime,endTime:t.endTime,modelValue:o.tableFormData[a][s].value})}:{},{O:"timePicker"==t.__config__.jnpfKey},"timePicker"==t.__config__.jnpfKey?{P:e.o((e=>n.onChange(e,t,a)),s),Q:"0fabdb0a-9-"+i+"-"+d+",0fabdb0a-1-"+i+"-"+d,R:e.o((e=>o.tableFormData[a][s].value=e),s),S:e.p({placeholder:t.placeholder,disabled:n.disabled||t.disabled,format:t.format,startTime:t.startTime,endTime:t.endTime,modelValue:o.tableFormData[a][s].value})}:{},{T:"uploadFile"==t.__config__.jnpfKey},"uploadFile"==t.__config__.jnpfKey?{U:e.o((e=>n.onChange(e,t,a)),s),V:"0fabdb0a-10-"+i+"-"+d+",0fabdb0a-1-"+i+"-"+d,W:e.o((e=>o.tableFormData[a][s].value=e),s),X:e.p({disabled:n.disabled||t.disabled,limit:t.limit,sizeUnit:t.sizeUnit,fileSize:t.fileSize,pathType:t.pathType,isAccount:t.isAccount,folder:t.folder,accept:t.accept,tipText:t.tipText,sortRule:t.sortRule,timeFormat:t.timeFormat,modelValue:o.tableFormData[a][s].value})}:{},{Y:"uploadImg"==t.__config__.jnpfKey},"uploadImg"==t.__config__.jnpfKey?{Z:e.o((e=>n.onChange(e,t,a)),s),aa:"0fabdb0a-11-"+i+"-"+d+",0fabdb0a-1-"+i+"-"+d,ab:e.o((e=>o.tableFormData[a][s].value=e),s),ac:e.p({disabled:n.disabled||t.disabled,limit:t.limit,sizeUnit:t.sizeUnit,fileSize:t.fileSize,pathType:t.pathType,isAccount:t.isAccount,folder:t.folder,tipText:t.tipText,sortRule:t.sortRule,timeFormat:t.timeFormat,modelValue:o.tableFormData[a][s].value})}:{},{ad:"rate"==t.__config__.jnpfKey},"rate"==t.__config__.jnpfKey?{ae:e.o((e=>n.onChange(e,t,a)),s),af:"0fabdb0a-12-"+i+"-"+d+",0fabdb0a-1-"+i+"-"+d,ag:e.o((e=>o.tableFormData[a][s].value=e),s),ah:e.p({max:t.count,allowHalf:t.allowHalf,disabled:n.disabled||t.disabled,modelValue:o.tableFormData[a][s].value})}:{},{ai:"slider"==t.__config__.jnpfKey},"slider"==t.__config__.jnpfKey?{aj:e.o((e=>n.onChange(e,t,a)),s),ak:"0fabdb0a-13-"+i+"-"+d+",0fabdb0a-1-"+i+"-"+d,al:e.o((e=>o.tableFormData[a][s].value=e),s),am:e.p({step:t.step,min:t.min,max:t.max,disabled:n.disabled||t.disabled,modelValue:o.tableFormData[a][s].value})}:{},{an:"organizeSelect"==t.__config__.jnpfKey},"organizeSelect"==t.__config__.jnpfKey?{ao:e.o(((e,l)=>{n.onChange(l,t,a)}),s),ap:"0fabdb0a-14-"+i+"-"+d+",0fabdb0a-1-"+i+"-"+d,aq:e.o((e=>o.tableFormData[a][s].value=e),s),ar:e.p({multiple:t.multiple,placeholder:t.placeholder,disabled:n.disabled||t.disabled,selectType:t.selectType,ableIds:t.ableIds,modelValue:o.tableFormData[a][s].value})}:{},{as:"depSelect"==t.__config__.jnpfKey},"depSelect"==t.__config__.jnpfKey?{at:e.o(((e,l)=>{n.onChange(l,t,a)}),s),av:"0fabdb0a-15-"+i+"-"+d+",0fabdb0a-1-"+i+"-"+d,aw:e.o((e=>o.tableFormData[a][s].value=e),s),ax:e.p({multiple:t.multiple,placeholder:t.placeholder,disabled:n.disabled||t.disabled,ableIds:t.ableIds,selectType:t.selectType,modelValue:o.tableFormData[a][s].value})}:{},{ay:"posSelect"==t.__config__.jnpfKey},"posSelect"==t.__config__.jnpfKey?{az:e.o(((e,l)=>{n.onChange(l,t,a)}),s),aA:"0fabdb0a-16-"+i+"-"+d+",0fabdb0a-1-"+i+"-"+d,aB:e.o((e=>o.tableFormData[a][s].value=e),s),aC:e.p({multiple:t.multiple,placeholder:t.placeholder,disabled:n.disabled||t.disabled,ableIds:t.ableIds,selectType:t.selectType,modelValue:o.tableFormData[a][s].value})}:{},{aD:"userSelect"==t.__config__.jnpfKey},"userSelect"==t.__config__.jnpfKey?{aE:e.o(((e,l)=>{n.onChange(l,t,a)}),s),aF:"0fabdb0a-17-"+i+"-"+d+",0fabdb0a-1-"+i+"-"+d,aG:e.o((e=>o.tableFormData[a][s].value=e),s),aH:e.p({multiple:t.multiple,placeholder:t.placeholder,disabled:n.disabled||t.disabled,selectType:t.selectType,ableIds:t.ableIds,clearable:t.clearable,ableRelationIds:t.ableRelationIds,modelValue:o.tableFormData[a][s].value})}:{},{aI:"usersSelect"==t.__config__.jnpfKey},"usersSelect"==t.__config__.jnpfKey?{aJ:e.o(((e,l)=>{n.onChange(l,t,a)}),s),aK:"0fabdb0a-18-"+i+"-"+d+",0fabdb0a-1-"+i+"-"+d,aL:e.o((e=>o.tableFormData[a][s].value=e),s),aM:e.p({multiple:t.multiple,placeholder:t.placeholder,disabled:n.disabled||t.disabled,selectType:t.selectType,ableIds:t.ableIds,clearable:t.clearable,modelValue:o.tableFormData[a][s].value})}:{},{aN:"roleSelect"==t.__config__.jnpfKey},"roleSelect"==t.__config__.jnpfKey?{aO:e.o(((e,l)=>{n.onChange(l,t,a)}),s),aP:"0fabdb0a-19-"+i+"-"+d+",0fabdb0a-1-"+i+"-"+d,aQ:e.o((e=>o.tableFormData[a][s].value=e),s),aR:e.p({vModel:t.__vModel__,multiple:t.multiple,disabled:n.disabled||t.disabled,placeholder:t.placeholder,selectType:t.selectType,ableIds:t.ableIds,modelValue:o.tableFormData[a][s].value})}:{},{aS:"groupSelect"==t.__config__.jnpfKey},"groupSelect"==t.__config__.jnpfKey?{aT:e.o(((e,l)=>{n.onChange(l,t,a)}),s),aU:"0fabdb0a-20-"+i+"-"+d+",0fabdb0a-1-"+i+"-"+d,aV:e.o((e=>o.tableFormData[a][s].value=e),s),aW:e.p({vModel:t.__vModel__,multiple:t.multiple,disabled:n.disabled||t.disabled,placeholder:t.placeholder,selectType:t.selectType,ableIds:t.ableIds,modelValue:o.tableFormData[a][s].value})}:{},{aX:"treeSelect"==t.__config__.jnpfKey},"treeSelect"==t.__config__.jnpfKey?{aY:e.o(((e,l)=>{n.onChange(l,t,a)}),s),aZ:"0fabdb0a-21-"+i+"-"+d+",0fabdb0a-1-"+i+"-"+d,ba:e.o((e=>o.tableFormData[a][s].value=e),s),bb:e.p({options:t.options,props:t.props,multiple:t.multiple,placeholder:t.placeholder,disabled:n.disabled||t.disabled,filterable:t.filterable,modelValue:o.tableFormData[a][s].value})}:{},{bc:"autoComplete"==t.__config__.jnpfKey},"autoComplete"==t.__config__.jnpfKey?{bd:e.o((e=>n.onChange(e,t,a)),s),be:"0fabdb0a-22-"+i+"-"+d+",0fabdb0a-1-"+i+"-"+d,bf:e.o((e=>o.tableFormData[a][s].value=e),s),bg:e.p({disabled:n.disabled||t.disabled,interfaceName:t.interfaceName,placeholder:t.placeholder,interfaceId:t.interfaceId,total:t.total,templateJson:t.templateJson,formData:l.formData,relationField:t.relationField,propsValue:t.propsValue,clearable:t.clearable,modelValue:o.tableFormData[a][s].value})}:{},{bh:"areaSelect"==t.__config__.jnpfKey},"areaSelect"==t.__config__.jnpfKey?{bi:e.o(((e,l)=>{n.onChange(l,t,a)}),s),bj:"0fabdb0a-23-"+i+"-"+d+",0fabdb0a-1-"+i+"-"+d,bk:e.o((e=>o.tableFormData[a][s].value=e),s),bl:e.p({placeholder:t.placeholder,level:t.level,disabled:n.disabled||t.disabled,multiple:t.multiple,modelValue:o.tableFormData[a][s].value})}:{},{bm:"relationForm"==t.__config__.jnpfKey},"relationForm"==t.__config__.jnpfKey?{bn:e.o(((e,l)=>{n.onChange(l,t,a)}),s),bo:"0fabdb0a-24-"+i+"-"+d+",0fabdb0a-1-"+i+"-"+d,bp:e.o((e=>o.tableFormData[a][s].value=e),s),bq:e.p({placeholder:t.placeholder,disabled:n.disabled||t.disabled,modelId:t.modelId,columnOptions:t.columnOptions,relationField:t.relationField,hasPage:t.hasPage,pageSize:t.pageSize,vModel:t.__config__.tableName?t.__vModel__+"_jnpfTable_"+t.__config__.tableName+(t.__config__.isSubTable?"0":"1")+"_jnpfRelation_"+a:t.__vModel__+"_jnpfRelation_"+a,popupTitle:t.popupTitle,modelValue:o.tableFormData[a][s].value})}:{},{br:"relationFormAttr"==t.__config__.jnpfKey},"relationFormAttr"==t.__config__.jnpfKey?{bs:"0fabdb0a-25-"+i+"-"+d+",0fabdb0a-1-"+i+"-"+d,bt:e.o((e=>o.tableFormData[a][s].value=e),s),bv:e.p({showField:t.showField,relationField:t.relationField+"_jnpfRelation_"+a,isStorage:t.isStorage,modelValue:o.tableFormData[a][s].value})}:{},{bw:"popupSelect"==t.__config__.jnpfKey||"popupTableSelect"==t.__config__.jnpfKey},"popupSelect"==t.__config__.jnpfKey||"popupTableSelect"==t.__config__.jnpfKey?{bx:e.o(((e,l)=>{n.onChange(l,t,a)}),s),by:"0fabdb0a-26-"+i+"-"+d+",0fabdb0a-1-"+i+"-"+d,bz:e.o((e=>o.tableFormData[a][s].value=e),s),bA:e.p({placeholder:t.placeholder,rowIndex:a,disabled:n.disabled||t.disabled,interfaceId:t.interfaceId,formData:l.formData,templateJson:t.templateJson,columnOptions:t.columnOptions,relationField:t.relationField,propsValue:t.propsValue,hasPage:t.hasPage,pageSize:t.pageSize,vModel:t.__config__.tableName?t.__vModel__+"_jnpfTable_"+t.__config__.tableName+(t.__config__.isSubTable?"0":"1")+"_jnpfRelation_"+a:t.__vModel__+"_jnpfRelation_"+a,popupTitle:t.popupTitle,modelValue:o.tableFormData[a][s].value})}:{},{bB:"popupAttr"==t.__config__.jnpfKey},"popupAttr"==t.__config__.jnpfKey?{bC:"0fabdb0a-27-"+i+"-"+d+",0fabdb0a-1-"+i+"-"+d,bD:e.o((e=>o.tableFormData[a][s].value=e),s),bE:e.p({showField:t.showField,relationField:t.relationField+"_jnpfRelation_"+a,isStorage:t.isStorage,modelValue:o.tableFormData[a][s].value})}:{},{bF:"calculate"==t.__config__.jnpfKey},"calculate"==t.__config__.jnpfKey?{bG:"0fabdb0a-28-"+i+"-"+d+",0fabdb0a-1-"+i+"-"+d,bH:e.o((e=>o.tableFormData[a][s].value=e),s),bI:e.p({expression:t.expression,vModel:t.__vModel__,config:t.__config__,formData:l.formData,precision:t.precision,isAmountChinese:t.isAmountChinese,thousands:t.thousands,modelValue:o.tableFormData[a][s].value})}:{},{bJ:"sign"==t.__config__.jnpfKey},"sign"==t.__config__.jnpfKey?{bK:e.o((e=>n.onChange(e,t,a)),s),bL:"0fabdb0a-29-"+i+"-"+d+",0fabdb0a-1-"+i+"-"+d,bM:e.o((e=>o.tableFormData[a][s].value=e),s),bN:e.p({fieldKey:t.__vModel__,disabled:n.disabled||t.disabled,isInvoke:t.isInvoke,modelValue:o.tableFormData[a][s].value})}:{},{bO:"signature"==t.__config__.jnpfKey},"signature"==t.__config__.jnpfKey?{bP:e.o((e=>n.onChange(e,t,a)),s),bQ:"0fabdb0a-30-"+i+"-"+d+",0fabdb0a-1-"+i+"-"+d,bR:e.o((e=>o.tableFormData[a][s].value=e),s),bS:e.p({disabled:n.disabled||t.disabled,ableIds:t.ableIds,modelValue:o.tableFormData[a][s].value})}:{},{bT:"location"==t.__config__.jnpfKey},"location"==t.__config__.jnpfKey?{bU:e.o((e=>n.onChange(e,t,a)),s),bV:"0fabdb0a-31-"+i+"-"+d+",0fabdb0a-1-"+i+"-"+d,bW:e.o((e=>o.tableFormData[a][s].value=e),s),bX:e.p({autoLocation:t.autoLocation,adjustmentScope:t.adjustmentScope,enableLocationScope:t.enableLocationScope,enableDesktopLocation:t.enableDesktopLocation,locationScope:t.locationScope,disabled:n.disabled||t.disabled,clearable:t.clearable,modelValue:o.tableFormData[a][s].value})}:{},{bY:o.systemList.includes(t.__config__.jnpfKey)},o.systemList.includes(t.__config__.jnpfKey)?{bZ:"0fabdb0a-32-"+i+"-"+d+",0fabdb0a-1-"+i+"-"+d,ca:e.o((e=>o.tableFormData[a][s].value=e),s),cb:e.p({modelValue:o.tableFormData[a][s].value})}:{},{cc:e.o((e=>n.clickIcon(t)),s),cd:"0fabdb0a-1-"+i+"-"+d,ce:e.p({label:t.__config__.showLabel?t.__config__.label:"",required:t.__config__.required,"left-icon":t.__config__.showLabel&&t.__config__.tipLabel&&t.__config__.label?"question-circle-fill":"","left-icon-style":{color:"#a8aaaf"},"label-width":t.__config__.labelWidth?1.5*t.__config__.labelWidth:void 0})}):{},{cf:s}))),d:a}))),f:!n.disabled,g:!n.disabled&&n.getFooterBtnsList.length},!n.disabled&&n.getFooterBtnsList.length?{h:e.f(n.getFooterBtnsList,((t,a,l)=>({a:e.n(t.btnIcon),b:e.t(t.label),c:e.n("jnpf-table-"+t.btnType+"-btn"),d:e.o((e=>n.footerBtnsHandle(t)))})))}:{},{i:l.config.showSummary&&o.summaryField.length},l.config.showSummary&&o.summaryField.length?{j:e.t(l.config.__config__.label),k:e.f(o.summaryField,((t,a,l)=>({a:"0fabdb0a-34-"+l+",0fabdb0a-33-"+l,b:e.o((e=>t.value=e),t.__vModel__),c:e.p({disabled:!0,placeholder:"",modelValue:t.value}),d:t.__vModel__,e:"0fabdb0a-33-"+l,f:e.p({label:t.__config__.label})})))}:{},{l:e.o((e=>o.showTipsModal=e)),m:e.p({width:"70%","border-radius":"16","content-style":o.contentStyle,titleStyle:o.titleStyle,"confirm-style":o.confirmStyle,title:o.tipsTitle,content:o.tipsContent,"confirm-text":"确定",modelValue:o.showTipsModal})})}]]);wx.createComponent(n);
{
"component": true,
"usingComponents": {
"u-icon": "../../../uni_modules/vk-uview-ui/components/u-icon/u-icon",
"jnpf-input": "../Input/index",
"jnpf-textarea": "../Textarea/index",
"jnpf-input-number": "../InputNumber/index",
"jnpf-switch": "../Switch/index",
"jnpf-select": "../Select/index",
"jnpf-cascader": "../Cascader/index",
"jnpf-date-picker": "../DatePicker/index",
"jnpf-time-picker": "../TimePicker/index",
"jnpf-upload-file": "../UploadFile/index",
"jnpf-upload-img": "../UploadImg/index",
"jnpf-rate": "../Rate/index",
"jnpf-slider": "../Slider/index",
"jnpf-organize-select": "../OrganizeSelect/index",
"jnpf-dep-select": "../DepSelect/index",
"jnpf-pos-select": "../PosSelect/index",
"jnpf-user-select": "../UserSelect/index",
"jnpf-users-select": "../UsersSelect/index",
"jnpf-role-select": "../RoleSelect/index",
"jnpf-group-select": "../GroupSelect/index",
"jnpf-tree-select": "../TreeSelect/index",
"jnpf-auto-complete": "../AutoComplete/index",
"jnpf-area-select": "../AreaSelect/index",
"jnpf-relation-form": "../RelationForm/index",
"jnpf-relation-form-attr": "../RelationFormAttr/index",
"jnpf-popup-select": "../PopupSelect/index",
"jnpf-popup-attr": "../PopupAttr/index",
"jnpf-calculate": "../Calculate/index",
"jnpf-sign": "../Sign/index",
"jnpf-signature": "../Signature/index",
"jnpf-location": "../Location/index",
"jnpf-open-data": "../OpenData/index",
"u-form-item": "../../../uni_modules/vk-uview-ui/components/u-form-item/u-form-item",
"u-modal": "../../../uni_modules/vk-uview-ui/components/u-modal/u-modal"
}
}
\ No newline at end of file
<view class="jnpf-table"><view class="jnpf-table-title u-line-1" bindtap="{{d}}">{{a}} <u-icon wx:if="{{b}}" class="u-m-l-10" u-i="0fabdb0a-0" bind:__l="__l" u-p="{{c}}"/></view><view wx:for="{{e}}" wx:for-item="item" wx:key="d" class="jnpf-table-item"><view class="jnpf-table-item-title"><view class="jnpf-table-item-title-num">({{item.a}})</view><block wx:if="{{f}}"><block wx:for="{{item.b}}" wx:for-item="it" wx:key="e"><view wx:if="{{it.a}}" class="{{it.c}}" bindtap="{{it.d}}">{{it.b}}</view></block></block></view><view wx:for="{{item.c}}" wx:for-item="child" wx:key="cf" class="form-item-box"><u-form-item wx:if="{{child.a}}" u-s="{{['d']}}" bindclickIcon="{{child.cc}}" u-i="{{child.cd}}" bind:__l="__l" u-p="{{child.ce}}"><jnpf-input wx:if="{{child.b}}" bindchange="{{child.c}}" bindblur="{{child.d}}" u-i="{{child.e}}" bind:__l="__l" bindupdateModelValue="{{child.f}}" u-p="{{child.g}}"/><jnpf-textarea wx:if="{{child.h}}" bindchange="{{child.i}}" bindblur="{{child.j}}" u-i="{{child.k}}" bind:__l="__l" bindupdateModelValue="{{child.l}}" u-p="{{child.m}}"/><jnpf-input-number wx:if="{{child.n}}" bindchange="{{child.o}}" bindblur="{{child.p}}" u-i="{{child.q}}" bind:__l="__l" bindupdateModelValue="{{child.r}}" u-p="{{child.s}}"/><jnpf-switch wx:if="{{child.t}}" bindchange="{{child.v}}" u-i="{{child.w}}" bind:__l="__l" bindupdateModelValue="{{child.x}}" u-p="{{child.y}}"/><jnpf-select wx:if="{{child.z}}" bindchange="{{child.A}}" u-i="{{child.B}}" bind:__l="__l" bindupdateModelValue="{{child.C}}" u-p="{{child.D}}"/><jnpf-cascader wx:if="{{child.E}}" bindchange="{{child.F}}" u-i="{{child.G}}" bind:__l="__l" bindupdateModelValue="{{child.H}}" u-p="{{child.I}}"/><jnpf-date-picker wx:if="{{child.J}}" bindchange="{{child.K}}" u-i="{{child.L}}" bind:__l="__l" bindupdateModelValue="{{child.M}}" u-p="{{child.N}}"/><jnpf-time-picker wx:if="{{child.O}}" bindchange="{{child.P}}" u-i="{{child.Q}}" bind:__l="__l" bindupdateModelValue="{{child.R}}" u-p="{{child.S}}"/><jnpf-upload-file wx:if="{{child.T}}" bindchange="{{child.U}}" u-i="{{child.V}}" bind:__l="__l" bindupdateModelValue="{{child.W}}" u-p="{{child.X}}"/><jnpf-upload-img wx:if="{{child.Y}}" bindchange="{{child.Z}}" u-i="{{child.aa}}" bind:__l="__l" bindupdateModelValue="{{child.ab}}" u-p="{{child.ac}}"/><jnpf-rate wx:if="{{child.ad}}" bindchange="{{child.ae}}" u-i="{{child.af}}" bind:__l="__l" bindupdateModelValue="{{child.ag}}" u-p="{{child.ah}}"/><jnpf-slider wx:if="{{child.ai}}" bindchange="{{child.aj}}" u-i="{{child.ak}}" bind:__l="__l" bindupdateModelValue="{{child.al}}" u-p="{{child.am}}"/><jnpf-organize-select wx:if="{{child.an}}" bindchange="{{child.ao}}" u-i="{{child.ap}}" bind:__l="__l" bindupdateModelValue="{{child.aq}}" u-p="{{child.ar}}"/><jnpf-dep-select wx:if="{{child.as}}" bindchange="{{child.at}}" u-i="{{child.av}}" bind:__l="__l" bindupdateModelValue="{{child.aw}}" u-p="{{child.ax}}"/><jnpf-pos-select wx:if="{{child.ay}}" bindchange="{{child.az}}" u-i="{{child.aA}}" bind:__l="__l" bindupdateModelValue="{{child.aB}}" u-p="{{child.aC}}"/><jnpf-user-select wx:if="{{child.aD}}" bindchange="{{child.aE}}" u-i="{{child.aF}}" bind:__l="__l" bindupdateModelValue="{{child.aG}}" u-p="{{child.aH}}"/><jnpf-users-select wx:if="{{child.aI}}" bindchange="{{child.aJ}}" u-i="{{child.aK}}" bind:__l="__l" bindupdateModelValue="{{child.aL}}" u-p="{{child.aM}}"/><jnpf-role-select wx:if="{{child.aN}}" bindchange="{{child.aO}}" u-i="{{child.aP}}" bind:__l="__l" bindupdateModelValue="{{child.aQ}}" u-p="{{child.aR}}"/><jnpf-group-select wx:if="{{child.aS}}" bindchange="{{child.aT}}" u-i="{{child.aU}}" bind:__l="__l" bindupdateModelValue="{{child.aV}}" u-p="{{child.aW}}"/><jnpf-tree-select wx:if="{{child.aX}}" bindchange="{{child.aY}}" u-i="{{child.aZ}}" bind:__l="__l" bindupdateModelValue="{{child.ba}}" u-p="{{child.bb}}"/><jnpf-auto-complete wx:if="{{child.bc}}" bindchange="{{child.bd}}" u-i="{{child.be}}" bind:__l="__l" bindupdateModelValue="{{child.bf}}" u-p="{{child.bg}}"/><jnpf-area-select wx:if="{{child.bh}}" bindchange="{{child.bi}}" u-i="{{child.bj}}" bind:__l="__l" bindupdateModelValue="{{child.bk}}" u-p="{{child.bl}}"/><jnpf-relation-form wx:if="{{child.bm}}" bindchange="{{child.bn}}" u-i="{{child.bo}}" bind:__l="__l" bindupdateModelValue="{{child.bp}}" u-p="{{child.bq}}"/><jnpf-relation-form-attr wx:if="{{child.br}}" u-i="{{child.bs}}" bind:__l="__l" bindupdateModelValue="{{child.bt}}" u-p="{{child.bv}}"/><jnpf-popup-select wx:if="{{child.bw}}" bindchange="{{child.bx}}" u-i="{{child.by}}" bind:__l="__l" bindupdateModelValue="{{child.bz}}" u-p="{{child.bA}}"/><jnpf-popup-attr wx:if="{{child.bB}}" u-i="{{child.bC}}" bind:__l="__l" bindupdateModelValue="{{child.bD}}" u-p="{{child.bE}}"/><jnpf-calculate wx:if="{{child.bF}}" u-i="{{child.bG}}" bind:__l="__l" bindupdateModelValue="{{child.bH}}" u-p="{{child.bI}}"/><jnpf-sign wx:if="{{child.bJ}}" bindchange="{{child.bK}}" u-i="{{child.bL}}" bind:__l="__l" bindupdateModelValue="{{child.bM}}" u-p="{{child.bN}}"/><jnpf-signature wx:if="{{child.bO}}" bindchange="{{child.bP}}" u-i="{{child.bQ}}" bind:__l="__l" bindupdateModelValue="{{child.bR}}" u-p="{{child.bS}}"/><jnpf-location wx:if="{{child.bT}}" bindchange="{{child.bU}}" u-i="{{child.bV}}" bind:__l="__l" bindupdateModelValue="{{child.bW}}" u-p="{{child.bX}}"/><jnpf-open-data wx:if="{{child.bY}}" u-i="{{child.bZ}}" bind:__l="__l" bindupdateModelValue="{{child.ca}}" u-p="{{child.cb}}"/></u-form-item></view></view><view wx:if="{{g}}" class="jnpf-table-footer-btn"><block wx:for="{{h}}" wx:for-item="item"><view class="{{['jnpf-table-btn', item.c]}}" bindtap="{{item.d}}"><text class="{{['jnpf-table-btn-icon', item.a]}}"/><text class="jnpf-table-btn-text">{{item.b}}</text></view></block></view><view wx:if="{{i}}" class="jnpf-table-item"><view class="jnpf-table-item-title"><text class="jnpf-table-item-title-num">{{j}}合计</text></view><view class="form-item-box"><u-form-item wx:for="{{k}}" wx:for-item="item" wx:key="d" u-s="{{['d']}}" u-i="{{item.e}}" bind:__l="__l" u-p="{{item.f}}"><jnpf-input wx:if="{{item.c}}" u-i="{{item.a}}" bind:__l="__l" bindupdateModelValue="{{item.b}}" u-p="{{item.c}}"/></u-form-item></view></view><u-modal wx:if="{{m}}" u-i="0fabdb0a-35" bind:__l="__l" bindupdateModelValue="{{l}}" u-p="{{m}}"/></view>
\ No newline at end of file
"use strict";const e=require("../../../common/vendor.js"),t=require("../../../api/common.js");require("../../../store/modules/base.js");const i=["radio","checkbox","select","cascader","treeSelect"],n={components:{Item:()=>"./Item.js"},props:{formConf:{type:Object,required:!0},loading:{type:Boolean,default:!1},isShortLink:{type:Boolean,default:!1}},data(){const e={formClass:"form-"+this.jnpf.idGenerator(),formConfCopy:this.$u.deepClone(this.formConf),formData:{},rules:{},options:{},tableRefs:{},relations:{},refList:[],contentStyle:{fontSize:"28rpx",padding:"20rpx",lineHeight:"44rpx",textAlign:"left"},titleStyle:{padding:"20rpx"},confirmStyle:{height:"80rpx",lineHeight:"80rpx"},tipsContent:"",tipsTitle:"提示",showTipsModal:!1};return this.beforeInit(e.formConfCopy.fields),this.initRelationForm(e.formConfCopy.fields),this.initFormData(e.formConfCopy.fields,e.formData,e.tableRefs),this.buildRules(this.$u.deepClone(e.formConfCopy.fields),e.rules),this.buildOptions(e.formConfCopy.fields,e.options,e.formData),this.buildRelations(e.formConfCopy.fields,e.relations),this.$nextTick((()=>{this.onLoadFunc(e.formConfCopy),this.getRefList()})),e},provide(){return{parameter:this.parameter,relations:this.relations,isShortLink:this.isShortLink}},computed:{parameter(){const e=this.formConfCopy.formData?this.formConfCopy.formData:{};return this.formData.id=e.id||null,this.formData.flowId=e.flowId||"",{formData:this.formData,setFormData:this.setFormData,setShowOrHide:this.setShowOrHide,setRequired:this.setRequired,setDisabled:this.setDisabled,onlineUtils:this.jnpf.onlineUtils}}},mounted(){this.$refs.dataForm.setRules(this.rules),this.initRelationData(),e.index.$on("subChange",(e=>{this.handleRelation(e.__vModel__)})),this.initCss(this.formConfCopy)},methods:{beforeInit(e){const t=e=>{for(var i=0;i<e.length;i++){const s=e[i].__config__;if(s.children&&s.children.length&&t(s.children),"tableGrid"==s.jnpfKey){let t=[];for(var n=0;n<s.children.length;n++){let e=s.children[n];for(var o=0;o<e.__config__.children.length;o++){let i=e.__config__.children[o];t.push(...i.__config__.children)}}e.splice(i,1,...t)}}};t(e)},initRelationForm(e){e.forEach((t=>{const i=t.__config__;if("relationFormAttr"==i.jnpfKey||"popupAttr"==i.jnpfKey){const i=t.relationField.split("_jnpfTable_")[0];e.forEach((e=>{const n=Array.isArray(e.__config__.visibility)&&!e.__config__.visibility.includes("app");i!=e.__vModel__||!n&&!e.__config__.noShow||t.__vModel__||(t.__config__.noShow=!0)}))}t.__config__.children&&t.__config__.children.length&&this.initRelationForm(t.__config__.children)}))},initFormData(e,t,i){e.forEach((e=>{const n=e.__config__;e.__vModel__&&(t[e.__vModel__]=n.defaultValue,"table"!=e.__config__.jnpfKey||e.__config__.noShow||(i[e.__vModel__]=e)),n.children&&"table"!==e.__config__.jnpfKey&&this.initFormData(n.children,t,i)}))},buildOptions(n,o,s){n.forEach((n=>{const a=n.__config__;if(i.indexOf(a.jnpfKey)>-1)if("dictionary"===a.dataType&&a.dictionaryType)n.options=[],t.getDictionaryDataSelector(a.dictionaryType).then((t=>{n.options=t.data.list||[],o[n.__vModel__+"Options"]=n.options,this.setFieldOptions(n.__vModel__,n.options),this.$nextTick((()=>{e.index.$emit("initCollapse")}))}));else if("dynamic"===a.dataType&&a.propsUrl){n.options=[];let i={paramList:this.jnpf.getParamList(a.templateJson,s)};t.getDataInterfaceRes(a.propsUrl,i).then((t=>{n.options=Array.isArray(t.data)?t.data:[],o[n.__vModel__+"Options"]=n.options,this.setFieldOptions(n.__vModel__,n.options),e.index.$emit("initCollapse")}))}else o[n.__vModel__+"Options"]=n.options;a.children&&"table"!==a.jnpfKey&&this.buildOptions(a.children,o,s)}))},buildRules(e,t){e.forEach((e=>{const i=e.__config__,n=i.jnpfKey,o=["inputNumber","switch","datePicker","rate","slider","calculate"],s=["select","depSelect","posSelect","userSelect","usersSelect","treeSelect","popupTableSelect"];if(i.regList=i.regList?i.regList:[],i.required){let e={required:i.required,message:`${i.label}不能为空`};i.regList.push(e)}const a=i.regList.map((t=>{if(t.pattern){t.pattern=t.pattern.toString();let e=t.pattern.indexOf("/"),i=t.pattern.lastIndexOf("/"),n=t.pattern.substring(e+1,i),o=new RegExp(n);t.pattern=o}return t.trigger=i.trigger||"change, blur",Array.isArray(i.defaultValue)&&(t.type="array"),o.includes(n)&&(t.type="number"),s.includes(n)&&e.multiple&&(t.type="array"),"organizeSelect"!==n&&"areaSelect"!==n||(t.type="array"),t}));a.length&&(t[e.__vModel__]=a),i.children&&"table"!==n&&this.buildRules(this.$u.deepClone(i.children),t)}))},buildRelations(e,t){e.forEach((e=>{const n=e.__config__,o=e.__vModel__;if("userSelect"===n.jnpfKey&&["dep","pos","role","group"].includes(e.selectType)&&e.relationField){let i={...e,realVModel:n.isSubTable?n.parentVModel+"-"+o:o,opType:"setUserOptions"};if(t.hasOwnProperty(e.relationField)){t[e.relationField].some((t=>t.realVModel===e.realVModel))||t[e.relationField].push(i)}else t[e.relationField]=[i]}if(i.indexOf(n.jnpfKey)>-1&&"dynamic"===n.dataType&&n.templateJson&&n.templateJson.length)for(let i=0;i<n.templateJson.length;i++){const s=n.templateJson[i];if(s.relationField){let i={...e,realVModel:n.isSubTable?n.parentVModel+"-"+o:o,opType:"setOptions"};if(t.hasOwnProperty(s.relationField)){t[s.relationField].some((t=>t.realVModel===e.realVModel))||t[s.relationField].push(i)}else t[s.relationField]=[i]}}if("datePicker"===n.jnpfKey){if(n.startTimeRule){let t=Number(n.startTimeValue);1==n.startTimeType?e.startTime=t:3==n.startTimeType?e.startTime=(new Date).getTime():4==n.startTimeType?(1==n.startTimeTarget&&(e.startTime=new Date((new Date).setFullYear((new Date).getFullYear()-t)).getTime()),2==n.startTimeTarget&&(e.startTime=new Date((new Date).setMonth((new Date).getMonth()-t)).getTime()),3==n.startTimeTarget&&(e.startTime=new Date((new Date).setDate((new Date).getDate()-t)).getTime())):(1==n.startTimeTarget&&(e.startTime=new Date((new Date).setFullYear((new Date).getFullYear()+t)).getTime()),2==n.startTimeTarget&&(e.startTime=new Date((new Date).setMonth((new Date).getMonth()+t)).getTime()),3==n.startTimeTarget&&(e.startTime=new Date((new Date).setDate((new Date).getDate()+t)).getTime()))}if(n.endTimeRule){let t=Number(n.endTimeValue);1==n.endTimeType?e.endTime=t:3==n.endTimeType?e.endTime=(new Date).getTime():4==n.endTimeType?(1==n.endTimeTarget&&(e.endTime=new Date((new Date).setFullYear((new Date).getFullYear()-t)).getTime()),2==n.endTimeTarget&&(e.endTime=new Date((new Date).setMonth((new Date).getMonth()-t)).getTime()),3==n.endTimeTarget&&(e.endTime=new Date((new Date).setDate((new Date).getDate()-t)).getTime())):(1==n.endTimeTarget&&(e.endTime=new Date((new Date).setFullYear((new Date).getFullYear()+t)).getTime()),2==n.endTimeTarget&&(e.endTime=new Date((new Date).setMonth((new Date).getMonth()+t)).getTime()),3==n.endTimeTarget&&(e.endTime=new Date((new Date).setDate((new Date).getDate()+t)).getTime()))}if(e.__config__.startRelationField){let i={...e,realVModel:e.__config__.isSubTable?e.__config__.parentVModel+"-"+e.__vModel__:e.__vModel__,opType:"setDate"};if(t.hasOwnProperty(e.__config__.startRelationField)){t[e.__config__.startRelationField].some((t=>t.realVModel===e.realVModel))||t[e.__config__.startRelationField].push(i)}else t[e.__config__.startRelationField]=[i]}if(e.__config__.endRelationField){let i={...e,realVModel:e.__config__.isSubTable?e.__config__.parentVModel+"-"+e.__vModel__:e.__vModel__,opType:"setDate"};if(t.hasOwnProperty(e.__config__.endRelationField)){t[e.__config__.endRelationField].some((t=>t.realVModel===e.realVModel))||t[e.__config__.endRelationField].push(i)}else t[e.__config__.endRelationField]=[i]}}if("timePicker"===n.jnpfKey){let i="HH:mm"===e.format?"HH:mm:00":e.format;if(n.startTimeRule){let t="";if(1==n.startTimeType)e.startTime=n.startTimeValue||"00:00:00",3==e.startTime.split(":").length?e.startTime=e.startTime:e.startTime=e.startTime+":00";else if(3==n.startTimeType)e.startTime=this.jnpf.toDate(new Date,i);else{let i=Number(n.startTimeValue);4==n.startTimeType?(1==n.startTimeTarget&&(t=new Date((new Date).setHours((new Date).getHours()-i)).getTime()),2==n.startTimeTarget&&(t=new Date((new Date).setMinutes((new Date).getMinutes()-i)).getTime()),3==n.startTimeTarget&&(t=new Date((new Date).setSeconds((new Date).getSeconds()-i)).getTime())):(1==n.startTimeTarget&&(t=new Date((new Date).setHours((new Date).getHours()+i)).getTime()),2==n.startTimeTarget&&(t=new Date((new Date).setMinutes((new Date).getMinutes()+i)).getTime()),3==n.startTimeTarget&&(t=new Date((new Date).setSeconds((new Date).getSeconds()+i)).getTime())),e.startTime=this.$u.timeFormat(t,"hh:MM:ss")}}if(n.endTimeRule){let t="";if(1==n.endTimeType)e.endTime=n.endTimeValue||"23:59:59",3==e.endTime.split(":").length?e.endTime=e.endTime:e.endTime=e.endTime+":00";else if(3==n.endTimeType)e.endTime=this.jnpf.toDate(new Date,i);else{let i=Number(n.endTimeValue);4==n.endTimeType?(1==n.endTimeTarget&&(t=new Date((new Date).setHours((new Date).getHours()-i)).getTime()),2==n.endTimeTarget&&(t=new Date((new Date).setMinutes((new Date).getMinutes()-i)).getTime()),3==n.endTimeTarget&&(t=new Date((new Date).setSeconds((new Date).getSeconds()-i)).getTime())):(1==n.endTimeTarget&&(t=new Date((new Date).setHours((new Date).getHours()+i)).getTime()),2==n.endTimeTarget&&(t=new Date((new Date).setMinutes((new Date).getMinutes()+i)).getTime()),3==n.endTimeTarget&&(t=new Date((new Date).setSeconds((new Date).getSeconds()+i)).getTime())),e.endTime=this.$u.timeFormat(t,"hh:MM:ss")}}if(e.__config__.startRelationField){let i={...e,realVModel:e.__config__.isSubTable?e.__config__.parentVModel+"-"+e.__vModel__:e.__vModel__,opType:"setTime"};if(t.hasOwnProperty(e.__config__.startRelationField)){t[e.__config__.startRelationField].some((t=>t.realVModel===e.realVModel))||t[e.__config__.startRelationField].push(i)}else t[e.__config__.startRelationField]=[i]}if(e.__config__.endRelationField){let i={...e,realVModel:e.__config__.isSubTable?e.__config__.parentVModel+"-"+e.__vModel__:e.__vModel__,opType:"setTime"};if(t.hasOwnProperty(e.__config__.endRelationField)){t[e.__config__.endRelationField].some((t=>t.realVModel===e.realVModel))||t[e.__config__.endRelationField].push(i)}else t[e.__config__.endRelationField]=[i]}}if("popupSelect"===n.jnpfKey&&e.templateJson&&e.templateJson.length)for(let i=0;i<e.templateJson.length;i++){const n=e.templateJson[i];if(n.relationField){let i={...e,realVModel:e.__config__.isSubTable?e.__config__.parentVModel+"-"+e.__vModel__:e.__vModel__,opType:"setPopupOptions"};if(t.hasOwnProperty(n.relationField)){t[n.relationField].some((t=>t.realVModel===e.realVModel))||t[n.relationField].push(i)}else t[n.relationField]=[i]}}n.children&&this.buildRelations(n.children,t)}))},onLoadFunc(e){if(!e||!e.funcs||!e.funcs.onLoad)return;const t=this.jnpf.getScriptFunc(e.funcs.onLoad);t&&t(this.parameter)},initRelationData(){const e=t=>{t.forEach((t=>{const i=t.__config__;this.handleDefaultRelation(t.__vModel__),i.children&&e(i.children)}))};e(this.formConfCopy.fields)},initCss(e){},buildCSS(e){e=e.trim();let t="";return e.split("}").forEach((e=>{e&&(e="."+this.formClass+" "+e+"}",t+=e)})),t},handleRelation(i){if(!i)return;const n=this.relations;for(let o in n)if(o===i)for(let i=0;i<n[o].length;i++){const s=n[o][i];let a=s.realVModel||s.__vModel__;const l=s.__config__,r=l.jnpfKey;let _="";if((["checkbox","cascader"].includes(r)||["select","treeSelect","popupSelect","popupTableSelect","userSelect"].includes(r)&&s.multiple)&&(_=[]),a.includes("-"))a.split("-")[0],e.index.$emit("handleRelation",s,_,!0);else{if(this.setFormData(a,_),"setOptions"===s.opType){let i={paramList:this.jnpf.getParamList(l.templateJson,this.formData)};t.getDataInterfaceRes(l.propsUrl,i).then((t=>{let i=t.data||[];this.setFieldOptions(a,i),e.index.$emit("initCollapse")}))}if("setUserOptions"===s.opType){let e=this.formData[s.relationField]||[];this.comSet("ableRelationIds",a,Array.isArray(e)?e:[e])}if("setDate"===s.opType||"setTime"===s.opType){let e="",t="";2==l.startTimeType?(e=this.formData[l.startRelationField]||0,"setTime"===s.opType&&(e=this.formData[l.startRelationField]||"00:00:00",e&&3==e.split(":").length||(e+=":00"))):e=s.startTime,2==l.endTimeType?(t=this.formData[l.endRelationField]||0,"setTime"===s.opType&&(t=this.formData[l.endRelationField]||"00:00:00",t&&3==t.split(":").length||(t+=":00"))):t=s.endTime,this.comSet("startTime",a,e),this.comSet("endTime",a,t)}}}},handleDefaultRelation(t){if(!t)return;const i=this.relations;for(let n in i)if(n===t)for(let t=0;t<i[n].length;t++){const o=i[n][t];let s=o.realVModel||o.__vModel__;const a=o.__config__;let l="";if(s.includes("-"))s.split("-")[0],e.index.$emit("handleRelation",o,l);else{if("setUserOptions"===o.opType){let e=this.formData[o.relationField]||[];this.comSet("ableRelationIds",o.__vModel__,Array.isArray(e)?e:[e])}if("setDate"===o.opType||"setTime"===o.opType){let e="",t="";2==a.startTimeType?(e=this.formData[a.startRelationField]||0,"setTime"===o.opType&&(e=this.formData[a.startRelationField]||"00:00:00",e&&3==e.split(":").length||(e+=":00"))):e=o.startTime,2==a.endTimeType?(t=this.formData[a.endRelationField]||0,"setTime"===o.opType&&(t=this.formData[a.endRelationField]||"23:59:59",t&&3==t.split(":").length||(t+=":00"))):t=o.endTime,this.comSet("startTime",o.__vModel__,e),this.comSet("endTime",o.__vModel__,t)}}}},onChange(e){this.handleRelation(e.__vModel__)},setValue(e){e.__vModel__&&this.$set(this.formData,e.__vModel__,e.__config__.defaultValue)},setFormData(e,t){if(!e||this.formData[e]===t)return;if(e.indexOf(".")>-1){const i=e.split(".");for(let e=0;e<this.refList.length;e++){const n=this.refList[e];if(n[0]==i[0]){(Array.isArray(n[1])?n[1][0]:n[1]).setTableFormData(i[1],t);break}}}else this.comSet("defaultValue",e,t),this.formData[e]=t;this.handleRelation(e)},setShowOrHide(e,t){const i=!!t;e.indexOf(".")>-1||this.comSet("noShow",e,!i)},setRequired(e,t){const i=!!t;e.indexOf(".")>-1||(this.comSet("required",e,i),this.rules={},this.buildRules(this.$u.deepClone(this.formConfCopy.fields),this.rules),this.$refs.dataForm.setRules(this.rules))},setDisabled(e,t){const i=!!t;e.indexOf(".")>-1||this.comSet("disabled",e,i)},setFieldOptions(e,t){const i=Array.isArray(t)?t:[];e.indexOf(".")>-1||this.comSet("options",e,i)},comSet(e,t,n){if(!t)return;const o=s=>{for(let a=0;a<s.length;a++){let l=s[a];const r=l.__config__;if(l.__vModel__&&l.__vModel__===t){switch(r.defaultValue=this.formData[t],e){case"disabled":l[e]=n;break;case"ableRelationIds":this.$set(l,e,n);case"options":i.indexOf(r.jnpfKey)>-1&&(l.options=n);break;case"startTime":case"endTime":this.$set(l,e,n);break;default:r[e]=n,this.setValue(l)}r.renderKey=+new Date+l.__vModel__;break}r&&"table"!==r.jnpfKey&&r.children&&Array.isArray(r.children)&&o(r.children)}};o(this.formConfCopy.fields)},submitForm(){try{this.beforeSubmit().then((()=>{this.submit()}))}catch(e){this.submit()}},submit(){this.$refs.dataForm.validate((e=>{e&&this.checkTableData()&&this.$emit("submit",this.formData,this.afterSubmit)}))},beforeSubmit(){if(!this.formConfCopy||!this.formConfCopy.funcs||!this.formConfCopy.funcs.beforeSubmit)return Promise.resolve();const e=this.jnpf.getScriptFunc(this.formConfCopy.funcs.beforeSubmit);return e?e(this.parameter):Promise.resolve()},afterSubmit(){if(!this.formConfCopy||!this.formConfCopy.funcs||!this.formConfCopy.funcs.afterSubmit)return;const e=this.jnpf.getScriptFunc(this.formConfCopy.funcs.afterSubmit);e&&e(this.parameter)},checkTableData(){this.getRefList();let e=!0;for(var t=0;t<Object.keys(this.tableRefs).length;t++){const i=Object.keys(this.tableRefs)[t],n=this.tableRefs[i].__config__;if(!n.isVisibility||n.noShow)continue;let o=null;for(let e=0;e<this.refList.length;e++){const t=this.refList[e];if(t[0]===i){o=Array.isArray(t[1])?t[1][0]:t[1];break}}if(!o)continue;const s=(o&&o.$refs&&o.$refs[i]?o.$refs[i]:o).submit()||!1;s?this.formData[i]=s:e=!1}return e},getRefList(){this.refList=[];const e=this.$refs||[],t=e=>{for(var i=0;i<e.length;i++){const o=e[i].$refs;if(Array.isArray(o))t(o);else if(Object.values(o).length)for(var n in o)Array.isArray(o[n])?t(o[n]):this.refList.push([n,o[n]])}};for(var i in e){const n=e[i];Array.isArray(n)&&t(n)}},clickIcon(e){e&&(e.__config__.tipLabel||e.helpMessage)&&(this.tipsContent=e.helpMessage||e.__config__.tipLabel,this.tipsTitle=e.__config__.label,this.showTipsModal=!0)},onBlur(e,t){this.setValue(e),this.setScriptFunc(t,e,"blur")},onTabChange(e,t){this.setScriptFunc(t,e,"tabClick")},onClick(e,t){this.setScriptFunc(t,e,"click")},onCollapseChange(e,t){this.setScriptFunc(t,e)},setScriptFunc(e,t,i="change"){if(t&&t.on&&t.on[i]){const n=this.jnpf.getScriptFunc(t.on[i]);if(!n)return;n.call(this,{data:e,...this.parameter})}}}};if(!Array){(e.resolveComponent("Item")+e.resolveComponent("u-modal")+e.resolveComponent("u-form"))()}Math||((()=>"../../../uni_modules/vk-uview-ui/components/u-modal/u-modal.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-form/u-form.js"))();const o=e._export_sfc(n,[["render",function(t,i,n,o,s,a){return{a:e.f(t.formConfCopy.fields,((i,o,s)=>e.e({a:!i.__config__.noShow&&i.__config__.isVisibility},!i.__config__.noShow&&i.__config__.isVisibility?{b:e.sr("ref"+i.__config__.formId,"95ad25ec-1-"+s+",95ad25ec-0",{f:1}),c:"ref"+i.__config__.formId,d:e.n(i.__config__.className),e:e.o(a.clickIcon,i.__config__.renderKey),f:e.o(a.onClick,i.__config__.renderKey),g:e.o(a.onCollapseChange,i.__config__.renderKey),h:e.o(a.onTabChange,i.__config__.renderKey),i:e.o(a.setValue,i.__config__.renderKey),j:"95ad25ec-1-"+s+",95ad25ec-0",k:e.p({itemData:i,formConf:n.formConf,formData:t.formData})}:{},{l:i.__config__.renderKey}))),b:e.o((e=>t.showTipsModal=e)),c:e.p({width:"70%","border-radius":"16","content-style":t.contentStyle,content:t.tipsContent,titleStyle:t.titleStyle,title:t.tipsTitle,"confirm-style":t.confirmStyle,"confirm-text":"确定",modelValue:t.showTipsModal}),d:e.sr("dataForm","95ad25ec-0"),e:e.n(t.formClass+" "+t.formConfCopy.className),f:e.p({rules:t.rules,model:t.formData,errorType:["toast"],"label-position":"top"===n.formConf.labelPosition?"top":"left","label-width":n.formConf.labelWidth?1.5*n.formConf.labelWidth:150,"label-align":"right"===n.formConf.labelPosition?"right":"left"})}}]]);wx.createComponent(o);
{
"component": true,
"usingComponents": {
"item": "./Item",
"u-modal": "../../../uni_modules/vk-uview-ui/components/u-modal/u-modal",
"u-form": "../../../uni_modules/vk-uview-ui/components/u-form/u-form"
}
}
\ No newline at end of file
<u-form wx:if="{{f}}" u-s="{{['d']}}" u-r="dataForm" class="{{['jnpf-wrap-form', 'r', e]}}" u-i="95ad25ec-0" bind:__l="__l" u-p="{{f}}"><view wx:for="{{a}}" wx:for-item="item" wx:key="l"><item wx:if="{{item.a}}" u-r="{{item.c}}" class="{{['r-i-f', item.d]}}" bindclickIcon="{{item.e}}" bindclickFun="{{item.f}}" bindcollapseChange="{{item.g}}" bindtabChange="{{item.h}}" bindinput="{{item.i}}" u-i="{{item.j}}" bind:__l="__l" u-p="{{item.k}}"/></view><u-modal wx:if="{{c}}" u-i="95ad25ec-2,95ad25ec-0" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}"/></u-form>
\ No newline at end of file
"use strict";const e=require("../../../common/vendor.js"),t={name:"jnpf-popup-attr",inheritAttrs:!1,props:{showField:{type:String,default:""},relationField:{type:String,default:""},type:{type:String,default:"popupAttr"},isStorage:{type:Number,default:0}},data:()=>({value:""}),watch:{modelValue:{immediate:!0,handler(e){this.value=e}},value(e){this.$emit("update:modelValue",e)}},methods:{onChange(e){this.$emit("change",e)}}};if(!Array){e.resolveComponent("JnpfRelationFormAttr")()}Math;const a=e._export_sfc(t,[["render",function(t,a,o,r,i,n){return{a:e.o(n.onChange),b:e.o((e=>i.value=e)),c:e.p({showField:o.showField,relationField:o.relationField,isStorage:o.isStorage,type:o.type,modelValue:i.value})}}],["__scopeId","data-v-8997ee4e"]]);wx.createComponent(a);
{
"component": true,
"usingComponents": {
"jnpf-relation-form-attr": "../RelationFormAttr/index"
}
}
\ No newline at end of file
<jnpf-relation-form-attr wx:if="{{c}}" class="data-v-8997ee4e" bindchange="{{a}}" u-i="8997ee4e-0" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}"/>
\ No newline at end of file
.jnpf-relation-attr.data-v-8997ee4e{width:100%}
"use strict";const e=require("../../../common/vendor.js"),t=require("../../../api/common.js"),i=require("../../../store/modules/base.js").useBaseStore(),a={name:"jnpf-popup-select",props:{modelValue:{default:""},placeholder:{type:String,default:"请选择"},disabled:{type:Boolean,default:!1},columnOptions:{type:Array,default:()=>[]},relationField:{type:String,default:""},type:{type:String,default:"popup"},propsValue:{type:String,default:""},popupTitle:{type:String,default:""},interfaceId:{type:String,default:""},hasPage:{type:Boolean,default:!1},pageSize:{type:Number,default:1e5},vModel:{type:String,default:""},rowIndex:{default:null},formData:{type:Object},templateJson:{type:Array,default:()=>[]},multiple:{type:Boolean,default:!1}},data:()=>({selectShow:!1,innerValue:"",defaultValue:"",current:null,defaultOptions:[],firstVal:"",firstId:0,selectData:[]}),watch:{modelValue(e){this.setDefault()}},created(){e.index.$on("confirm",((e,t,i,a)=>{this.confirm(e,t,i,a)})),this.setDefault()},methods:{setDefault(){if(this.modelValue){if(!this.interfaceId)return;let e={ids:this.multiple?this.modelValue:[this.modelValue],interfaceId:this.interfaceId,propsValue:this.propsValue,relationField:this.relationField,paramList:this.getParamList()};t.getDataInterfaceDataInfoByIds(this.interfaceId,e).then((t=>{if(this.multiple){this.selectData=t.data||[];let i=[];this.selectData.forEach(((t,a)=>{for(let l=0;l<e.ids.length;l++)e.ids[l]==t[this.propsValue]&&t[this.relationField]&&i.push(t[this.relationField])})),this.innerValue=1==i.length?i[0]:i.join(",")}else{const e=t.data&&t.data.length?t.data[0]:{};if(this.innerValue=e[this.relationField],!this.vModel)return;let a=i.relationData;a[this.vModel]=e,i.updateRelationData(a)}}))}else{if(this.innerValue="",!this.vModel)return;let e=i.relationData;e[this.vModel]={},i.updateRelationData(e)}},getParamList(){let e=this.templateJson;if(!this.formData)return e;for(let t=0;t<e.length;t++)if(e[t].relationField&&1==e[t].sourceType)if(e[t].relationField.includes("-")){let i=e[t].relationField.split("-")[0],a=e[t].relationField.split("-")[1];e[t].defaultValue=this.formData[i]&&this.formData[i][this.rowIndex]&&this.formData[i][this.rowIndex][a]||""}else e[t].defaultValue=this.formData[e[t].relationField]||"";return e},openSelect(){if(this.disabled)return;const t=this.hasPage?this.pageSize:1e5;let i={columnOptions:this.columnOptions,relationField:this.relationField,type:this.type,propsValue:this.propsValue,modelId:this.interfaceId,hasPage:this.hasPage,pageSize:t,id:this.multiple?this.modelValue:[this.modelValue],vModel:this.vModel,popupTitle:this.popupTitle||"选择数据",innerValue:this.innerValue,paramList:this.getParamList(),multiple:this.multiple,selectData:this.selectData};e.index.navigateTo({url:"/pages/apply/popSelect/index?data="+encodeURIComponent(JSON.stringify(i))})},confirm(e,t,i,a){i===this.vModel&&(this.firstVal=t,this.firstId=e,this.innerValue=t,this.$emit("update:modelValue",e),this.$emit("change",e,a))}}};if(!Array){e.resolveComponent("u-input")()}Math;const l=e._export_sfc(a,[["render",function(t,i,a,l,s,n){return{a:e.o(n.openSelect),b:e.o((e=>s.innerValue=e)),c:e.p({"input-align":"right",type:"select",disabled:!0,placeholder:a.placeholder,modelValue:s.innerValue})}}]]);wx.createComponent(l);
{
"component": true,
"usingComponents": {
"u-input": "../../../uni_modules/vk-uview-ui/components/u-input/u-input"
}
}
\ No newline at end of file
<view class="jnpf-popup-select"><u-input wx:if="{{c}}" bindclick="{{a}}" u-i="c586b95a-0" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}"></u-input></view>
\ No newline at end of file
"use strict";const e=require("../../../common/vendor.js"),l={name:"jnpf-pos-select",inheritAttrs:!1,props:{modelValue:{default:""},placeholder:{type:String,default:"请选择"},props:{type:Object,default:()=>({label:"fullName",value:"id",children:"children",isLeaf:"isLeaf"})},disabled:{type:Boolean,default:!1},multiple:{type:Boolean,default:!1},selectType:{type:String,default:"all"},ableIds:{type:Array,default:()=>[]},type:{type:String,default:"position"}},data:()=>({value:""}),watch:{modelValue:{immediate:!0,handler(e){this.value=e}}},methods:{onChange(e,l){this.$emit("update:modelValue",e),this.$emit("change",e,l)}}};if(!Array){e.resolveComponent("JnpfDepSelect")()}Math;const t=e._export_sfc(l,[["render",function(l,t,a,p,d,o){return{a:e.o(o.onChange),b:e.o((e=>d.value=e)),c:e.p({multiple:a.multiple,placeholder:a.placeholder,props:a.props,disabled:a.disabled,ableIds:a.ableIds,selectType:a.selectType,type:a.type,modelValue:d.value})}}],["__scopeId","data-v-72c071ce"]]);wx.createComponent(t);
{
"component": true,
"usingComponents": {
"jnpf-dep-select": "../DepSelect/index"
}
}
\ No newline at end of file
<jnpf-dep-select wx:if="{{c}}" class="data-v-72c071ce" bindchange="{{a}}" u-i="72c071ce-0" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}"/>
\ No newline at end of file
"use strict";const t=require("../../../common/vendor.js");let e=0;const i={name:"qrcode",props:{dataType:{type:String,default:"static"},colorLight:{type:String,default:"#fff"},colorDark:{type:String,default:"#000"},relationField:{type:String,default:""},formData:{type:Object},width:{type:Number,default:200},staticText:{type:String,default:""}},components:{tkiQrcode:()=>"./tki-qrcode/tki-qrcode.js"},computed:{qrcode(){var t;if("static"===this.dataType)return this.staticText;if("relation"===this.dataType)return null==(t=this.relationText)?void 0:t.toString();if(this.formData&&this.dynamicModelExtra&&this.dynamicModelExtra.id&&this.dynamicModelExtra.modelId){const t={t:"DFD",id:this.dynamicModelExtra.id,mid:this.dynamicModelExtra.modelId,mt:this.dynamicModelExtra.type,fid:this.dynamicModelExtra.flowId||"",pid:this.dynamicModelExtra.processId||"",ftid:this.dynamicModelExtra.taskId||"",opt:this.dynamicModelExtra.opType};return JSON.stringify(t)}return""},dynamicModelExtra:()=>t.index.getStorageSync("dynamicModelExtra")||null},data:()=>({cid:"",relationText:"",showQrcode:!1}),mounted(){this.cid=this.uuid(),this.showQrcode=!0,t.index.$on("updateCode",(()=>{this.showQrcode=!1,this.$nextTick((()=>{this.showQrcode=!0}))}))},watch:{formData:{handler(t){const e=t[this.relationField]||0===t[this.relationField]||!1===t[this.relationField]?t[this.relationField]:"";t&&"relation"===this.dataType&&this.relationField&&(this.relationText=e)},deep:!0,immediate:!0}},methods:{uuid(){const t=Date.now(),i=Math.floor(1e9*Math.random());return e++,"qrcode_"+i+e+String(t)}}};if(!Array){t.resolveComponent("tki-qrcode")()}const o=t._export_sfc(i,[["render",function(e,i,o,d,r,a){return t.e({a:a.qrcode&&r.showQrcode},a.qrcode&&r.showQrcode?{b:t.sr("qrcode","a5c8e601-0"),c:t.p({cid:r.cid,val:a.qrcode,size:3*o.width,background:o.colorLight,foreground:o.colorDark,onval:!0,loadMake:!0,showLoading:!1})}:{})}],["__scopeId","data-v-a5c8e601"]]);wx.createComponent(o);
{
"component": true,
"usingComponents": {
"tki-qrcode": "./tki-qrcode/tki-qrcode"
}
}
\ No newline at end of file
<tki-qrcode wx:if="{{a}}" class="jnpf-qrcode r data-v-a5c8e601" u-r="qrcode" u-i="a5c8e601-0" bind:__l="__l" u-p="{{c}}"/>
\ No newline at end of file
.jnpf-qrcode.data-v-a5c8e601{width:100%;overflow:hidden;margin-bottom:-20rpx}
"use strict";const t=require("../../../../common/vendor.js");let e={};!function(){function o(t){return t<128?[t]:t<2048?[192+(t>>6),128+(63&t)]:[224+(t>>12),128+(t>>6&63),128+(63&t)]}function r(t,e){this.typeNumber=-1,this.errorCorrectLevel=e,this.modules=null,this.moduleCount=0,this.dataCache=null,this.rsBlocks=null,this.totalDataCount=-1,this.data=t,this.utf8bytes=function(t){for(var e=[],r=0;r<t.length;r++)for(var n=o(t.charCodeAt(r)),i=0;i<n.length;i++)e.push(n[i]);return e}(t),this.make()}r.prototype={constructor:r,getModuleCount:function(){return this.moduleCount},make:function(){this.getRightType(),this.dataCache=this.createData(),this.createQrcode()},makeImpl:function(t){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var e=0;e<this.moduleCount;e++)this.modules[e]=new Array(this.moduleCount);this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(!0,t),this.typeNumber>=7&&this.setupTypeNumber(!0),this.mapData(this.dataCache,t)},setupPositionProbePattern:function(t,e){for(var o=-1;o<=7;o++)if(!(t+o<=-1||this.moduleCount<=t+o))for(var r=-1;r<=7;r++)e+r<=-1||this.moduleCount<=e+r||(this.modules[t+o][e+r]=0<=o&&o<=6&&(0==r||6==r)||0<=r&&r<=6&&(0==o||6==o)||2<=o&&o<=4&&2<=r&&r<=4)},createQrcode:function(){for(var t=0,e=0,o=null,r=0;r<8;r++){this.makeImpl(r);var n=c.getLostPoint(this);(0==r||t>n)&&(t=n,e=r,o=this.modules)}this.modules=o,this.setupTypeInfo(!1,e),this.typeNumber>=7&&this.setupTypeNumber(!1)},setupTimingPattern:function(){for(var t=8;t<this.moduleCount-8;t++)null==this.modules[t][6]&&(this.modules[t][6]=t%2==0,null==this.modules[6][t]&&(this.modules[6][t]=t%2==0))},setupPositionAdjustPattern:function(){for(var t=c.getPatternPosition(this.typeNumber),e=0;e<t.length;e++)for(var o=0;o<t.length;o++){var r=t[e],n=t[o];if(null==this.modules[r][n])for(var i=-2;i<=2;i++)for(var s=-2;s<=2;s++)this.modules[r+i][n+s]=-2==i||2==i||-2==s||2==s||0==i&&0==s}},setupTypeNumber:function(t){for(var e=c.getBCHTypeNumber(this.typeNumber),o=0;o<18;o++){var r=!t&&1==(e>>o&1);this.modules[Math.floor(o/3)][o%3+this.moduleCount-8-3]=r,this.modules[o%3+this.moduleCount-8-3][Math.floor(o/3)]=r}},setupTypeInfo:function(t,e){for(var o=n[this.errorCorrectLevel]<<3|e,r=c.getBCHTypeInfo(o),i=0;i<15;i++){var s=!t&&1==(r>>i&1);i<6?this.modules[i][8]=s:i<8?this.modules[i+1][8]=s:this.modules[this.moduleCount-15+i][8]=s;s=!t&&1==(r>>i&1);i<8?this.modules[8][this.moduleCount-i-1]=s:i<9?this.modules[8][15-i-1+1]=s:this.modules[8][15-i-1]=s}this.modules[this.moduleCount-8][8]=!t},createData:function(){var t=new C,e=this.typeNumber>9?16:8;t.put(4,4),t.put(this.utf8bytes.length,e);for(var o=0,n=this.utf8bytes.length;o<n;o++)t.put(this.utf8bytes[o],8);for(t.length+4<=8*this.totalDataCount&&t.put(0,4);t.length%8!=0;)t.putBit(!1);for(;!(t.length>=8*this.totalDataCount||(t.put(r.PAD0,8),t.length>=8*this.totalDataCount));)t.put(r.PAD1,8);return this.createBytes(t)},createBytes:function(t){for(var e=0,o=0,r=0,n=this.rsBlock.length/3,i=new Array,s=0;s<n;s++)for(var u=this.rsBlock[3*s+0],l=this.rsBlock[3*s+1],a=this.rsBlock[3*s+2],h=0;h<u;h++)i.push([a,l]);for(var g=new Array(i.length),f=new Array(i.length),d=0;d<i.length;d++){var m=i[d][0],v=i[d][1]-m;o=Math.max(o,m),r=Math.max(r,v),g[d]=new Array(m);for(s=0;s<g[d].length;s++)g[d][s]=255&t.buffer[s+e];e+=m;var C=c.getErrorCorrectPolynomial(v),y=new p(g[d],C.getLength()-1).mod(C);f[d]=new Array(C.getLength()-1);for(s=0;s<f[d].length;s++){var b=s+y.getLength()-f[d].length;f[d][s]=b>=0?y.get(b):0}}var P=new Array(this.totalDataCount),w=0;for(s=0;s<o;s++)for(d=0;d<i.length;d++)s<g[d].length&&(P[w++]=g[d][s]);for(s=0;s<r;s++)for(d=0;d<i.length;d++)s<f[d].length&&(P[w++]=f[d][s]);return P},mapData:function(t,e){for(var o=-1,r=this.moduleCount-1,n=7,i=0,s=this.moduleCount-1;s>0;s-=2)for(6==s&&s--;;){for(var u=0;u<2;u++)if(null==this.modules[r][s-u]){var l=!1;i<t.length&&(l=1==(t[i]>>>n&1)),c.getMask(e,r,s-u)&&(l=!l),this.modules[r][s-u]=l,-1==--n&&(i++,n=7)}if((r+=o)<0||this.moduleCount<=r){r-=o,o=-o;break}}}},r.PAD0=236,r.PAD1=17;for(var n=[1,0,3,2],i=0,s=1,u=2,l=3,a=4,h=5,g=6,f=7,c={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(t){for(var e=t<<10;c.getBCHDigit(e)-c.getBCHDigit(c.G15)>=0;)e^=c.G15<<c.getBCHDigit(e)-c.getBCHDigit(c.G15);return(t<<10|e)^c.G15_MASK},getBCHTypeNumber:function(t){for(var e=t<<12;c.getBCHDigit(e)-c.getBCHDigit(c.G18)>=0;)e^=c.G18<<c.getBCHDigit(e)-c.getBCHDigit(c.G18);return t<<12|e},getBCHDigit:function(t){for(var e=0;0!=t;)e++,t>>>=1;return e},getPatternPosition:function(t){return c.PATTERN_POSITION_TABLE[t-1]},getMask:function(t,e,o){switch(t){case i:return(e+o)%2==0;case s:return e%2==0;case u:return o%3==0;case l:return(e+o)%3==0;case a:return(Math.floor(e/2)+Math.floor(o/3))%2==0;case h:return e*o%2+e*o%3==0;case g:return(e*o%2+e*o%3)%2==0;case f:return(e*o%3+(e+o)%2)%2==0;default:throw new Error("bad maskPattern:"+t)}},getErrorCorrectPolynomial:function(t){for(var e=new p([1],0),o=0;o<t;o++)e=e.multiply(new p([1,d.gexp(o)],0));return e},getLostPoint:function(t){for(var e=t.getModuleCount(),o=0,r=0,n=0;n<e;n++)for(var i=0,s=t.modules[n][0],u=0;u<e;u++){var l=t.modules[n][u];if(u<e-6&&l&&!t.modules[n][u+1]&&t.modules[n][u+2]&&t.modules[n][u+3]&&t.modules[n][u+4]&&!t.modules[n][u+5]&&t.modules[n][u+6]&&(u<e-10?t.modules[n][u+7]&&t.modules[n][u+8]&&t.modules[n][u+9]&&t.modules[n][u+10]&&(o+=40):u>3&&t.modules[n][u-1]&&t.modules[n][u-2]&&t.modules[n][u-3]&&t.modules[n][u-4]&&(o+=40)),n<e-1&&u<e-1){var a=0;l&&a++,t.modules[n+1][u]&&a++,t.modules[n][u+1]&&a++,t.modules[n+1][u+1]&&a++,0!=a&&4!=a||(o+=3)}s^l?i++:(s=l,i>=5&&(o+=3+i-5),i=1),l&&r++}for(u=0;u<e;u++)for(i=0,s=t.modules[0][u],n=0;n<e;n++){l=t.modules[n][u];n<e-6&&l&&!t.modules[n+1][u]&&t.modules[n+2][u]&&t.modules[n+3][u]&&t.modules[n+4][u]&&!t.modules[n+5][u]&&t.modules[n+6][u]&&(n<e-10?t.modules[n+7][u]&&t.modules[n+8][u]&&t.modules[n+9][u]&&t.modules[n+10][u]&&(o+=40):n>3&&t.modules[n-1][u]&&t.modules[n-2][u]&&t.modules[n-3][u]&&t.modules[n-4][u]&&(o+=40)),s^l?i++:(s=l,i>=5&&(o+=3+i-5),i=1)}return o+=10*(Math.abs(100*r/e/e-50)/5)}},d={glog:function(t){if(t<1)throw new Error("glog("+t+")");return d.LOG_TABLE[t]},gexp:function(t){for(;t<0;)t+=255;for(;t>=256;)t-=255;return d.EXP_TABLE[t]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},m=0;m<8;m++)d.EXP_TABLE[m]=1<<m;for(m=8;m<256;m++)d.EXP_TABLE[m]=d.EXP_TABLE[m-4]^d.EXP_TABLE[m-5]^d.EXP_TABLE[m-6]^d.EXP_TABLE[m-8];for(m=0;m<255;m++)d.LOG_TABLE[d.EXP_TABLE[m]]=m;function p(t,e){if(null==t.length)throw new Error(t.length+"/"+e);for(var o=0;o<t.length&&0==t[o];)o++;this.num=new Array(t.length-o+e);for(var r=0;r<t.length-o;r++)this.num[r]=t[r+o]}p.prototype={get:function(t){return this.num[t]},getLength:function(){return this.num.length},multiply:function(t){for(var e=new Array(this.getLength()+t.getLength()-1),o=0;o<this.getLength();o++)for(var r=0;r<t.getLength();r++)e[o+r]^=d.gexp(d.glog(this.get(o))+d.glog(t.get(r)));return new p(e,0)},mod:function(t){var e=this.getLength(),o=t.getLength();if(e-o<0)return this;for(var r=new Array(e),n=0;n<e;n++)r[n]=this.get(n);for(;r.length>=o;){var i=d.glog(r[0])-d.glog(t.get(0));for(n=0;n<t.getLength();n++)r[n]^=d.gexp(d.glog(t.get(n))+i);for(;0==r[0];)r.shift()}return new p(r,0)}};var v=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]];function C(){this.buffer=new Array,this.length=0}r.prototype.getRightType=function(){for(var t=1;t<41;t++){var e=v[4*(t-1)+this.errorCorrectLevel];if(null==e)throw new Error("bad rs block @ typeNumber:"+t+"/errorCorrectLevel:"+this.errorCorrectLevel);for(var o=e.length/3,r=0,n=0;n<o;n++){var i=e[3*n+0];r+=e[3*n+2]*i}var s=t>9?2:1;if(this.utf8bytes.length+s<r||40==t){this.typeNumber=t,this.rsBlock=e,this.totalDataCount=r;break}}},C.prototype={get:function(t){var e=Math.floor(t/8);return this.buffer[e]>>>7-t%8&1},put:function(t,e){for(var o=0;o<e;o++)this.putBit(t>>>e-o-1&1)},putBit:function(t){var e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}};let y=[];e=function(e){if(this.options={text:"",size:256,correctLevel:3,background:"#ffffff",foreground:"#000000",pdground:"#000000",image:"",imageSize:30,canvasId:e.canvasId,context:e.context,usingComponents:e.usingComponents,showLoading:e.showLoading,loadingText:e.loadingText},"string"==typeof e&&(e={text:e}),e)for(var o in e)this.options[o]=e[o];for(var n=null,i=(o=0,y.length);o<i;o++)if(y[o].text==this.options.text&&y[o].text.correctLevel==this.options.correctLevel){n=y[o].obj;break}o==i&&(n=new r(this.options.text,this.options.correctLevel),y.push({text:this.options.text,correctLevel:this.options.correctLevel,obj:n}));let s=function(t){var e=t.options;return e.pdground&&(t.row>1&&t.row<5&&t.col>1&&t.col<5||t.row>t.count-6&&t.row<t.count-2&&t.col>1&&t.col<5||t.row>1&&t.row<5&&t.col>t.count-6&&t.col<t.count-2)?e.pdground:e.foreground};!function(e){e.showLoading&&t.index.showLoading({title:e.loadingText,mask:!0});for(var o=t.index.createCanvasContext(e.canvasId,e.context),r=n.getModuleCount(),i=e.size,u=e.imageSize,l=(i/r).toPrecision(4),a=(i/r).toPrecision(4),h=0;h<r;h++)for(var g=0;g<r;g++){var f=Math.ceil((g+1)*l)-Math.floor(g*l),c=Math.ceil((h+1)*l)-Math.floor(h*l),d=s({row:h,col:g,count:r,options:e});o.setFillStyle(n.modules[h][g]?d:e.background),o.fillRect(Math.round(g*l),Math.round(h*a),f,c)}if(e.image){let t=function(t,o,r,n,i,s,u,l,a){t.setLineWidth(u),t.setFillStyle(e.background),t.setStrokeStyle(e.background),t.beginPath(),t.moveTo(o+s,r),t.arcTo(o+n,r,o+n,r+s,s),t.arcTo(o+n,r+i,o+n-s,r+i,s),t.arcTo(o,r+i,o,r+i-s,s),t.arcTo(o,r,o+s,r,s),t.closePath(),l&&t.fill(),a&&t.stroke()};var m=Number(((i-u)/2).toFixed(2)),p=Number(((i-u)/2).toFixed(2));t(o,m,p,u,u,2,6,!0,!0),o.drawImage(e.image,m,p,u,u)}setTimeout((()=>{o.draw(!0,(()=>{setTimeout((()=>{try{t.index.canvasToTempFilePath({width:e.width,height:e.height,destWidth:e.width,destHeight:e.height,canvasId:e.canvasId,quality:Number(1),success:function(t){e.cbResult&&e.cbResult(t.tempFilePath)},fail:function(t){e.cbResult&&e.cbResult(t)},complete:function(){e.showLoading&&t.index.hideLoading()}},e.context)}catch(o){}}),e.text.length+100)}))}),e.usingComponents?0:150)}(this.options)},e.prototype.clear=function(e){var o=t.index.createCanvasContext(this.options.canvasId,this.options.context);o.clearRect(0,0,this.options.size,this.options.size),o.draw(!1,(()=>{e&&e()}))}}();const o=e;exports.QRCode=o;
"use strict";const e=require("../../../../common/vendor.js"),t=require("./qrcode.js");let i;const n={name:"tki-qrcode",props:{cid:{type:String,default:"tki-qrcode-canvas"},size:{type:Number,default:200},unit:{type:String,default:"upx"},show:{type:Boolean,default:!0},val:{type:String,default:""},background:{type:String,default:"#ffffff"},foreground:{type:String,default:"#000000"},pdground:{type:String,default:"#000000"},icon:{type:String,default:""},iconSize:{type:Number,default:40},lv:{type:Number,default:3},onval:{type:Boolean,default:!1},loadMake:{type:Boolean,default:!1},usingComponents:{type:Boolean,default:!0},showLoading:{type:Boolean,default:!0},loadingText:{type:String,default:"二维码生成中"}},data:()=>({result:""}),methods:{_makeCode(){let n=this;this._empty(this.val)?e.index.showToast({title:"二维码内容不能为空",icon:"none",duration:2e3}):i=new t.QRCode({context:n,canvasId:n.cid,usingComponents:n.usingComponents,showLoading:n.showLoading,loadingText:n.loadingText,text:n.val,size:n.cpSize,background:n.background,foreground:n.foreground,pdground:n.pdground,correctLevel:n.lv,image:n.icon,imageSize:n.iconSize,cbResult:function(e){n._result(e)}})},_clearCode(){this._result(""),i.clear()},_saveCode(){let t=this;""!=this.result&&e.index.saveImageToPhotosAlbum({filePath:t.result,success:function(){e.index.showToast({title:"二维码保存成功",icon:"success",duration:2e3})}})},_result(e){this.result=e,this.$emit("result",e)},_empty(e){let t=typeof e,i=!1;return"number"==t&&""==String(e)||"undefined"==t?i=!0:"object"==t?"{}"!=JSON.stringify(e)&&"[]"!=JSON.stringify(e)&&null!=e||(i=!0):"string"==t?""!=e&&"undefined"!=e&&"null"!=e&&"{}"!=e&&"[]"!=e||(i=!0):"function"==t&&(i=!1),i}},watch:{size:function(e,t){e==t||this._empty(e)||(this.cSize=e,this._empty(this.val)||setTimeout((()=>{this._makeCode()}),100))},val:function(e,t){this.onval&&(e==t||this._empty(e)||setTimeout((()=>{this._makeCode()}),0))}},computed:{cpSize(){return"upx"==this.unit?e.index.upx2px(this.size):this.size}},mounted:function(){this.loadMake&&(this._empty(this.val)||setTimeout((()=>{this._makeCode()}),0))}};const o=e._export_sfc(n,[["render",function(e,t,i,n,o,s){return{a:i.cid,b:s.cpSize+"px",c:s.cpSize+"px",d:i.show,e:o.result,f:s.cpSize+"px",g:s.cpSize+"px"}}]]);wx.createComponent(o);
{
"component": true,
"usingComponents": {}
}
\ No newline at end of file
<view class="tki-qrcode"><block wx:if="{{r0}}"><canvas class="tki-qrcode-canvas" canvas-id="{{a}}" style="{{'width:' + b + ';' + ('height:' + c)}}"/></block><image hidden="{{!d}}" src="{{e}}" style="{{'width:' + f + ';' + ('height:' + g)}}"/></view>
\ No newline at end of file
.tki-qrcode{position:relative;text-align:right}.tki-qrcode-canvas{position:fixed!important;top:-99999rpx;left:-99999rpx;z-index:-99999}
"use strict";const e=require("../../../common/vendor.js"),o={name:"jnpfRadio",props:{modelValue:{type:[String,Number,Boolean]},direction:{type:String,default:"horizontal"},options:{type:Array,default:()=>[]},props:{type:Object,default:()=>({label:"fullName",value:"id"})},disabled:{type:Boolean,default:!1}},data:()=>({innerValue:""}),watch:{modelValue:{handler(e){this.innerValue=e},immediate:!0}},methods:{onChange(e,o){const a=this.options.filter((o=>e==o[this.props.value]))||[];this.$emit("update:modelValue",e),this.$emit("change",e,a[0])}}};if(!Array){(e.resolveComponent("u-radio")+e.resolveComponent("u-radio-group"))()}Math||((()=>"../../../uni_modules/vk-uview-ui/components/u-radio/u-radio.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-radio-group/u-radio-group.js"))();const a=e._export_sfc(o,[["render",function(o,a,n,t,i,r){return{a:e.f(n.options,((o,a,t)=>({a:e.t(o[n.props.label]),b:a,c:"79a1f274-1-"+t+",79a1f274-0",d:e.p({name:o[n.props.value]})}))),b:e.o(r.onChange),c:e.o((e=>i.innerValue=e)),d:e.p({disabled:n.disabled,wrap:"horizontal"!=n.direction,modelValue:i.innerValue})}}]]);wx.createComponent(a);
{
"component": true,
"usingComponents": {
"u-radio": "../../../uni_modules/vk-uview-ui/components/u-radio/u-radio",
"u-radio-group": "../../../uni_modules/vk-uview-ui/components/u-radio-group/u-radio-group"
}
}
\ No newline at end of file
<u-radio-group wx:if="{{d}}" u-s="{{['d']}}" class="jnpf-radio" bindchange="{{b}}" u-i="79a1f274-0" bind:__l="__l" bindupdateModelValue="{{c}}" u-p="{{d}}"><u-radio wx:for="{{a}}" wx:for-item="item" wx:key="b" u-s="{{['d']}}" u-i="{{item.c}}" bind:__l="__l" u-p="{{item.d}}">{{item.a}}</u-radio></u-radio-group>
\ No newline at end of file
"use strict";const e=require("../../../common/vendor.js"),a={name:"jnpf-rate",inheritAttrs:!1,props:{modelValue:{type:[Number,String],default:0},allowHalf:{type:Boolean,default:!1},max:{type:Number,default:5},disabled:{type:Boolean,default:!1}},watch:{modelValue:{handler(e){this.innerValue=Number(e)},immediate:!0}},data:()=>({innerValue:0}),methods:{onChange(e){this.$emit("update:modelValue",e.value),this.$emit("change",e.value)}}};if(!Array){e.resolveComponent("uni-rate")()}Math;const t=e._export_sfc(a,[["render",function(a,t,l,n,o,r){return{a:e.o(r.onChange),b:e.o((e=>o.innerValue=e)),c:e.p({size:20,max:l.max,allowHalf:l.allowHalf,disabled:l.disabled,modelValue:o.innerValue})}}],["__scopeId","data-v-161f3f63"]]);wx.createComponent(t);
{
"component": true,
"usingComponents": {
"uni-rate": "../../../uni_modules/uni-rate/components/uni-rate/uni-rate"
}
}
\ No newline at end of file
<uni-rate wx:if="{{c}}" class="jnpf-rate data-v-161f3f63" bindchange="{{a}}" u-i="161f3f63-0" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}"/>
\ No newline at end of file
.jnpf-rate.data-v-161f3f63{width:100%;display:flex;justify-content:flex-end}
"use strict";const e=require("../../../common/vendor.js"),t=require("../../../api/common.js"),i=require("../../../store/modules/base.js").useBaseStore(),a={name:"jnpf-relation-form",props:{modelValue:{default:""},placeholder:{type:String,default:"请选择"},disabled:{type:Boolean,default:!1},columnOptions:{type:Array,default:[]},relationField:{type:String,default:""},type:{type:String,default:"relation"},propsValue:{type:String,default:""},modelId:{type:String,default:""},hasPage:{type:Boolean,default:!1},pageSize:{type:Number,default:1e4},vModel:{type:String,default:""},popupTitle:{type:String,default:""}},data:()=>({selectShow:!1,innerValue:"",defaultValue:"",current:null,defaultOptions:[],firstVal:"",firstId:0}),watch:{modelValue(e){this.setDefault()}},created(){e.index.$on("confirm1",((e,t,i,a)=>{this.confirm(e,t,i,a)})),this.setDefault()},methods:{setDefault(){if(this.modelValue){if(!this.modelId)return;t.getDataChange(this.modelId,this.modelValue).then((e=>{if(!e.data||!e.data.data)return;let t=JSON.parse(e.data.data);if(this.innerValue=t[this.relationField]?t[this.relationField]:"",!this.vModel)return;let a=i.relationData;a[this.vModel]=t,i.updateRelationData(a)}))}else{if(this.innerValue="",!this.vModel)return;let e=i.relationData;e[this.vModel]={},i.updateRelationData(e)}},openSelect(){if(this.disabled){if(!this.modelValue)return;let t={modelId:this.modelId,id:this.modelValue,formTitle:"详情",noShowBtn:1};return void this.$nextTick((()=>{const i="/pages/apply/dynamicModel/detail?config="+this.jnpf.base64.encode(JSON.stringify(t));e.index.navigateTo({url:i})}))}let t={columnOptions:this.columnOptions,relationField:this.relationField,type:this.type,propsValue:this.propsValue,modelId:this.modelId,hasPage:this.hasPage,pageSize:this.pageSize,id:this.modelValue,vModel:this.vModel,popupTitle:this.popupTitle||"选择数据",innerValue:this.innerValue};e.index.navigateTo({url:"/pages/apply/popSelect/index?data="+encodeURIComponent(JSON.stringify(t))})},confirm(e,t,i,a){i===this.vModel&&(this.firstVal=t,this.firstId=e,this.innerValue=t+"",this.$emit("update:modelValue",e),this.$emit("change",e,a))}}};if(!Array){e.resolveComponent("u-input")()}Math;const l=e._export_sfc(a,[["render",function(t,i,a,l,n,o){return{a:a.disabled&&n.innerValue?1:"",b:e.o(o.openSelect),c:e.o((e=>n.innerValue=e)),d:e.p({"input-align":"right",type:"select",placeholder:a.placeholder,modelValue:n.innerValue})}}],["__scopeId","data-v-2735c7f6"]]);wx.createComponent(l);
{
"component": true,
"usingComponents": {
"u-input": "../../../uni_modules/vk-uview-ui/components/u-input/u-input"
}
}
\ No newline at end of file
<view class="jnpf-relation-form data-v-2735c7f6"><u-input wx:if="{{d}}" class="{{['data-v-2735c7f6', a && 'link-style']}}" bindclick="{{b}}" u-i="2735c7f6-0" bind:__l="__l" bindupdateModelValue="{{c}}" u-p="{{d}}"></u-input></view>
\ No newline at end of file
.jnpf-relation-form.data-v-2735c7f6{width:100%;height:100%}
"use strict";const e=require("../../../store/modules/base.js"),t=require("../../../common/vendor.js"),r=e.useBaseStore(),a={name:"jnpf-relation-form-attr",props:{modelValue:{type:[String,Number],default:""},showField:{type:String,default:""},relationField:{type:String,default:""},type:{type:String,default:"relationFormAttr"},isStorage:{type:Number,default:0}},data:()=>({innerValue:"",placeholder:""}),computed:{relationData:()=>r.relationData},watch:{relationData:{handler(e){if(!this.showField||!this.relationField)return;let t=e[this.relationField]||{};this.innerValue=t[this.showField]?t[this.showField]:"",this.$emit("change",this.innerValue)},deep:!0},innerValue(e){this.$emit("update:modelValue",e)}},created(){const e="relationFormAttr"===this.type?"关联表单":"弹窗选择",t=1==this.isStorage?"同时会保存入库":"不会保存";this.placeholder=`用于展示${e}的属性,且数据${t}`}};if(!Array){t.resolveComponent("u-input")()}Math;const i=t._export_sfc(a,[["render",function(e,r,a,i,l,n){return{a:t.o((e=>l.innerValue=e)),b:t.p({"input-align":"right",disabled:!0,placeholder:l.placeholder,modelValue:l.innerValue})}}],["__scopeId","data-v-81965173"]]);wx.createComponent(i);
{
"component": true,
"usingComponents": {
"u-input": "../../../uni_modules/vk-uview-ui/components/u-input/u-input"
}
}
\ No newline at end of file
<view class="jnpf-relation-form-attr data-v-81965173"><u-input wx:if="{{b}}" class="data-v-81965173" u-i="81965173-0" bind:__l="__l" bindupdateModelValue="{{a}}" u-p="{{b}}"/></view>
\ No newline at end of file
.jnpf-relation-form-attr.data-v-81965173{width:100%;text-align:right}
"use strict";require("../../../utils/request.js");const e=require("../../../common/vendor.js"),t={label:"fullName",value:"id",icon:"icon",children:"children"},s={props:{options:{type:Array,default:()=>[]},selectedData:{type:Array,default:()=>[]},selectId:{default:""},modelValue:{type:Boolean,default:!1},zIndex:{type:[String,Number],default:99999},props:{type:Object,default:()=>({label:"fullName",value:"id",icon:"icon",children:"children",isLeaf:"isLeaf"})},multiple:{type:Boolean,default:!1}},data:()=>({moving:!1,selectList:[],selectListId:[],newListId:[],keyword:"",showPopup:!1}),watch:{modelValue:{immediate:!0,handler(e){this.showPopup=e,e&&setTimeout((()=>this.init()),10)}}},created(){this.init()},computed:{uZIndex(){return this.zIndex?this.zIndex:this.$u.zIndex.popup},realProps(){return{...t,...this.props}}},methods:{init(){this.keyword="",this.selectListId=JSON.parse(JSON.stringify(this.selectId)),Array.isArray(this.selectId)||(this.selectListId=[]),this.selectList=JSON.parse(JSON.stringify(this.selectedData))},handleNodeClick(e){if("role"!==e.data.type)return;let t=!1;this.multiple||(this.selectList=[],this.selectListId=[]);for(var s=0;s<this.selectList.length;s++)if(this.selectList[s].id===e.data.id){t=!0;break}!t&&this.selectList.push(e.data),!t&&this.selectListId.push(e.data.id)},delSelect(e){this.selectList.splice(e,1),this.selectListId.splice(e,1)},setCheckAll(){this.selectList=[],this.selectListId=[],this.$refs.tree.setCheckAll(!1)},handleConfirm(){this.$emit("confirm",this.selectList,this.selectListId),this.close()},close(){this.$emit("close",!1)},filterNode(e,t){return!e||-1!==t[this.realProps.label].indexOf(e)},search(e){this.$refs.tree.filter(e),this.$refs.tree&&this.$refs.tree.filter(this.keyword)}}};if(!Array){(e.resolveComponent("u-search")+e.resolveComponent("u-tag")+e.resolveComponent("ly-tree")+e.resolveComponent("u-button")+e.resolveComponent("u-popup"))()}Math||((()=>"../../../uni_modules/vk-uview-ui/components/u-search/u-search.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-tag/u-tag.js")+(()=>"../../ly-tree/ly-tree.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-button/u-button.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-popup/u-popup.js"))();const i=e._export_sfc(s,[["render",function(t,s,i,o,l,r){return e.e({a:e.o((e=>r.close())),b:e.o(r.search),c:e.o((e=>l.keyword=e)),d:e.p({placeholder:"请输入关键词搜索",height:"72","show-action":!1,"bg-color":"#f0f2f6",shape:"square",modelValue:l.keyword}),e:i.multiple},i.multiple?{f:e.o(((...e)=>r.setCheckAll&&r.setCheckAll(...e)))}:{},{g:e.f(l.selectList,((t,s,i)=>({a:e.o((e=>r.delSelect(s)),s),b:s,c:"0c8d3dba-2-"+i+",0c8d3dba-0",d:e.p({closeable:!0,text:t.fullName})}))),h:e.sr("tree","0c8d3dba-3,0c8d3dba-0"),i:e.o(r.handleNodeClick),j:e.p({"node-key":r.realProps.value,"tree-data":i.options,"show-checkbox":!1,props:r.realProps,"show-node-icon":!0,"show-radio":!1,"filter-node-method":r.filterNode,"highlight-current":!0}),k:e.o((e=>r.close())),l:e.o((e=>r.handleConfirm())),m:e.p({type:"primary"}),n:e.o(r.close),o:e.o((e=>l.showPopup=e)),p:e.p({width:"100%",mode:"right","z-index":r.uZIndex,modelValue:l.showPopup})})}]]);wx.createComponent(i);
{
"component": true,
"usingComponents": {
"u-search": "../../../uni_modules/vk-uview-ui/components/u-search/u-search",
"u-tag": "../../../uni_modules/vk-uview-ui/components/u-tag/u-tag",
"ly-tree": "../../ly-tree/ly-tree",
"u-button": "../../../uni_modules/vk-uview-ui/components/u-button/u-button",
"u-popup": "../../../uni_modules/vk-uview-ui/components/u-popup/u-popup"
}
}
\ No newline at end of file
<u-popup wx:if="{{p}}" u-s="{{['d']}}" class="jnpf-tree-select-popup" bindclose="{{n}}" u-i="0c8d3dba-0" bind:__l="__l" bindupdateModelValue="{{o}}" u-p="{{p}}"><view class="jnpf-tree-select-body"><view class="jnpf-tree-select-title"><text class="icon-ym icon-ym-report-icon-preview-pagePre backIcon" bindtap="{{a}}"></text><view class="title">角色选择</view></view><view class="jnpf-tree-select-search"><u-search wx:if="{{d}}" bindchange="{{b}}" u-i="0c8d3dba-1,0c8d3dba-0" bind:__l="__l" bindupdateModelValue="{{c}}" u-p="{{d}}"></u-search></view><view class="jnpf-tree-selected"><view class="jnpf-tree-selected-head"><view>已选</view><view wx:if="{{e}}" class="clear-btn" bindtap="{{f}}">清空列表</view></view><view class="jnpf-tree-selected-box"><scroll-view scroll-y="true" class="select-list"><u-tag wx:for="{{g}}" wx:for-item="list" wx:key="b" bindclose="{{list.a}}" class="u-selectTag" u-i="{{list.c}}" bind:__l="__l" u-p="{{list.d}}"/></scroll-view></view></view><view class="jnpf-tree-select-tree"><scroll-view scroll-y="{{true}}" style="height:100%"><ly-tree wx:if="{{j}}" class="r" u-r="tree" bindnodeClick="{{i}}" u-i="0c8d3dba-3,0c8d3dba-0" bind:__l="__l" u-p="{{j}}"/></scroll-view></view><view class="jnpf-tree-select-actions"><u-button u-s="{{['d']}}" class="buttom-btn" bindclick="{{k}}" u-i="0c8d3dba-4,0c8d3dba-0" bind:__l="__l">取消</u-button><u-button wx:if="{{m}}" u-s="{{['d']}}" class="buttom-btn" catchclick="{{l}}" u-i="0c8d3dba-5,0c8d3dba-0" bind:__l="__l" u-p="{{m}}">确定</u-button></view></view></u-popup>
\ No newline at end of file
"use strict";const e=require("../../../api/common.js"),t=require("../../../store/modules/base.js"),l=require("../../../common/vendor.js"),s=t.useBaseStore(),i={name:"jnpf-role-select",components:{Tree:()=>"./Tree.js"},props:{modelValue:{default:""},placeholder:{type:String,default:"请选择"},props:{type:Object,default:()=>({label:"fullName",value:"id",children:"children",isLeaf:"isLeaf"})},disabled:{type:Boolean,default:!1},multiple:{type:Boolean,default:!1},selectType:{type:String,default:"all"},ableIds:{type:Array,default:()=>[]}},data:()=>({selectShow:!1,innerValue:"",options:[],selectedData:[],hasRole:[]}),watch:{modelValue(e){this.setDefault()}},created(){this.innerValue="",this.getOptions()},methods:{async getOptions(){this.options=await s.getRoleTree(),this.treeToArray(this.options),"all"===this.selectType?this.setDefault():this.getRoleCondition()},getRoleCondition(){this.options=[];let t={ids:this.ableIds};e.getRoleCondition(t).then((e=>{this.options=e.data.list||[],this.setDefault()}))},treeToArray(e){for(let t=0;t<e.length;t++){let l=e[t];e:for(let e in l)if("role"===l[e]&&this.hasRole.push(l),"children"==e&&null!=l[e]&&l[e].length>0){this.treeToArray(l[e]);break e}}},setDefault(e){if(!this.modelValue||!this.modelValue.length)return this.innerValue="",void(this.selectedData=[]);let t=this.multiple?this.modelValue:[this.modelValue];this.innerValue="",this.selectedData=[];for(let s=0;s<t.length;s++)e:for(let e=0;e<this.hasRole.length;e++)if(this.hasRole[e].id===t[s]){this.selectedData.push(this.hasRole[e]);break e}let l="";for(let s=0;s<this.selectedData.length;s++)l+=(s?",":"")+this.selectedData[s].fullName;this.innerValue=l},handleClose(){this.selectShow=!1},handleConfirm(e,t){this.selectedData=[],this.innerValue="",this.innerValue=e.map((e=>e.fullName)).join(","),this.multiple?(this.$emit("update:modelValue",t),this.$emit("change",t,e)):(this.$emit("update:modelValue",t[0]),this.$emit("change",t[0],e[0]))},openSelect(){this.disabled||(this.selectShow=!0)}}};if(!Array){(l.resolveComponent("u-input")+l.resolveComponent("Tree"))()}Math;const a=l._export_sfc(i,[["render",function(e,t,s,i,a,o){return{a:l.o(o.openSelect),b:l.o((e=>a.innerValue=e)),c:l.p({"input-align":"right",type:"select","select-open":a.selectShow,placeholder:s.placeholder,modelValue:a.innerValue}),d:l.o(o.handleClose),e:l.o(o.handleConfirm),f:l.o((e=>a.selectShow=e)),g:l.p({options:a.options,multiple:s.multiple,props:s.props,selectedData:a.selectedData,selectId:s.multiple?s.modelValue:[s.modelValue],modelValue:a.selectShow})}}],["__scopeId","data-v-32f8d64f"]]);wx.createComponent(a);
{
"component": true,
"usingComponents": {
"tree": "./Tree",
"u-input": "../../../uni_modules/vk-uview-ui/components/u-input/u-input"
}
}
\ No newline at end of file
<view class="jnpf-role-select data-v-32f8d64f"><u-input wx:if="{{c}}" class="data-v-32f8d64f" bindclick="{{a}}" u-i="32f8d64f-0" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}"></u-input><tree wx:if="{{g}}" class="data-v-32f8d64f" bindclose="{{d}}" bindconfirm="{{e}}" u-i="32f8d64f-1" bind:__l="__l" bindupdateModelValue="{{f}}" u-p="{{g}}"></tree></view>
\ No newline at end of file
"use strict";const e=require("../../../common/vendor.js"),l={name:"jnpf-select",components:{MultSelect:()=>"../../MultSelect.js"},props:{modelValue:{type:[String,Number,Array]},options:{type:Array,default:()=>[]},props:{type:Object,default:()=>({label:"fullName",value:"id"})},placeholder:{type:String,default:"请选择"},multiple:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},filterable:{type:Boolean,default:!1},isForm:{type:Boolean,default:!0}},data:()=>({innerValue:"",defaultValue:[],showSelectModal:!1}),watch:{modelValue:{immediate:!0,handler(e){this.setDefault()}},options:{immediate:!0,handler(e){this.setDefault()}}},computed:{list(){return this.options}},methods:{openSelect(){this.disabled||(this.showSelectModal=!0)},selectConfirm(e,l=""){if(this.multiple)this.innerValue=e.label,this.defaultValue=e.value,this.$emit("update:modelValue",e.value||[]),this.$emit("change",e.value||[],e.list||[]);else{if(!e.length)return;const l=this.options[e[0].index]||{};this.innerValue=l[this.props.label],this.defaultValue=[e[0][this.props.value]],this.$emit("update:modelValue",l[this.props.value]),this.$emit("change",l[this.props.value],l)}},setDefault(){if(!this.options.length)return this.innerValue="";if(this.multiple){if(this.innerValue="",this.defaultValue=[],!this.modelValue||!this.modelValue.length)return;this.defaultValue=this.modelValue;for(let e=0;e<this.options.length;e++){const l=this.options[e];for(let e=0;e<this.modelValue.length;e++){const t=this.modelValue[e];l[this.props.value]==t&&(this.innerValue?this.innerValue+=","+l[this.props.label]:this.innerValue+=l[this.props.label])}}}else{if(this.innerValue="",this.defaultValue=[],!this.modelValue&&0!==this.modelValue)return;for(let e=0;e<this.options.length;e++)if(this.options[e][this.props.value]===this.modelValue)return this.defaultValue=[this.modelValue],void(this.innerValue=this.options[e][this.props.label])}},close(){this.showSelectModal=!1}}};if(!Array){(e.resolveComponent("u-input")+e.resolveComponent("MultSelect"))()}Math;const t=e._export_sfc(l,[["render",function(l,t,a,i,s,o){return e.e({a:a.isForm},a.isForm?{b:e.o(o.openSelect),c:e.o((e=>s.innerValue=e)),d:e.p({"input-align":"right",type:"select","select-open":s.showSelectModal,placeholder:a.placeholder,modelValue:s.innerValue})}:{},{e:e.o(o.selectConfirm),f:e.o(o.close),g:e.p({list:o.list,show:s.showSelectModal,"value-name":a.props.value,"label-name":a.props.label,defaultValue:s.defaultValue,filterable:a.filterable,multiple:a.multiple,labelName:a.props.label,valueName:a.props.value})})}],["__scopeId","data-v-8a738214"]]);wx.createComponent(t);
{
"component": true,
"usingComponents": {
"mult-select": "../../MultSelect",
"u-input": "../../../uni_modules/vk-uview-ui/components/u-input/u-input"
}
}
\ No newline at end of file
<view class="jnpf-select data-v-8a738214"><u-input wx:if="{{a}}" class="data-v-8a738214" bindclick="{{b}}" u-i="8a738214-0" bind:__l="__l" bindupdateModelValue="{{c}}" u-p="{{d}}"/><mult-select wx:if="{{g}}" class="data-v-8a738214" bindconfirm="{{e}}" bindclose="{{f}}" u-i="8a738214-1" bind:__l="__l" u-p="{{g}}"/></view>
\ No newline at end of file
.jnpf-select.data-v-8a738214{width:100%}.jnpf-select .u-input__content__field-wrapper__field.data-v-8a738214{overflow:auto}
"use strict";const t=require("../../../common/vendor.js");let e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";let i=function(t){var i,s,r,h,n,o,a,l="",c=0;for(t=function(t){t=t.replace(/\r\n/g,"\n");for(var e="",i=0;i<t.length;i++){var s=t.charCodeAt(i);s<128?e+=String.fromCharCode(s):s>127&&s<2048?(e+=String.fromCharCode(s>>6|192),e+=String.fromCharCode(63&s|128)):(e+=String.fromCharCode(s>>12|224),e+=String.fromCharCode(s>>6&63|128),e+=String.fromCharCode(63&s|128))}return e}(t);c<t.length;)h=(i=t.charCodeAt(c++))>>2,n=(3&i)<<4|(s=t.charCodeAt(c++))>>4,o=(15&s)<<2|(r=t.charCodeAt(c++))>>6,a=63&r,isNaN(s)?o=a=64:isNaN(r)&&(a=64),l=l+e.charAt(h)+e.charAt(n)+e.charAt(o)+e.charAt(a);return l};const s={cxt:null,data(){return{VERSION:"1.0.0",cid:"cvs"+this.jnpf.idGenerator(),show:!1,ctrl:null,listeners:[],prevView:"",draws:[],lines:[],line:null,hasDrew:!1}},props:{value:{default:""},title:{type:String,default:"请签名"},disabled:{type:Boolean,default:!1},showBtn:{type:Boolean,default:!1}},watch:{value(){this.prevView=this.value},lines:{deep:!0,handler(t){this.hasDrew=!!t.length}}},computed:{titles(){return this.title.split("")},absPrevView(){return this.prevView}},mounted(){this.prevView=this.value},methods:{onOK(){let t=this.ctrl.getValue();this.$emit("input",t),this.prevView=t,this.hideSignature();let e=this.listeners.shift();e&&e(t)},touchSignature(){let t=this.prevView;t&&t.length||this.showSignature()},showSignature(){this.disabled||(this.ctrl?this.show||(this.clearSignature(),this.show=!0):this.initCtrl())},async getSyncSignature(){return this.showSignature(),await new Promise((async(t,e)=>{this.listeners.push((e=>{t(e)}))}))},cancelSignature(){this.listeners.map((t=>{t(null)})),this.hideSignature()},hideSignature(){this.ctrl&&this.ctrl.clear(),this.show=!1},clearSignature(){this.ctrl&&this.ctrl.clear()},async initCtrl(){this.show=!0;let e=t.index.createCanvasContext(this.cid,this);this.cxt=e,this.ctrl={width:0,height:0,clear:()=>{this.lines=[],t.index.createSelectorQuery().in(this).select("."+this.cid).boundingClientRect((t=>{t&&(e.clearRect(0,0,t.width,t.height),t.width&&t.height&&(this.ctrl.width=t.width,this.ctrl.height=t.height))})).exec(),this.redraw()},getValue:()=>{if(!this.lines.length)return"";let t=this._get_svg();return"data:image/svg+xml;base64,"+i(t)}},this.$nextTick((function(){this.ctrl.clear()}))},_get_svg(){let t=[],e=this.ctrl.width,i=this.ctrl.height,s=90!=Math.abs(-90)?e:i,r=90==Math.abs(-90)?e:i,h=e/2,n=i/2,o=Math.PI,a=Math.cos(-90*o/180),l=Math.sin(-90*o/180),c=(s-e)/2,d=(r-i)/2,u=function(t){{let e=(t.x-h)*a-(t.y-n)*l+h,i=(t.x-h)*l+(t.y-n)*a+n;return{x:e+c,y:i+d}}};return this.lines.map((e=>{if(e.points.length<2)return;let i=u(e.start),s=[`M ${i.x} ${Number(i.y)}`];e.points.map((t=>{let e=u(t);s.push(`L ${e.x} ${Number(e.y)}`)})),t.push(`<path stroke-linejoin="round" stroke-linecap="round" stroke-width="3" stroke="rgb(0,0,0)" fill="none" d="${s.join(" ")}"/>`)})),`<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="${s}" height="${r}">${t.join("\n")}</svg>`},_get_svg_raw(){let t=[];return this.lines.map((e=>{if(e.points.length<2)return;let i=[`M ${e.start.x} ${Number(e.start.y)}`];e.points.map((t=>{i.push(`L ${t.x} ${Number(t.y)}`)})),t.push(`<path stroke-linejoin="round" stroke-linecap="round" stroke-width="3" stroke="rgb(0,0,0)" fill="none" d="${i.join(" ")}"/>`)})),`<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="${this.ctrl.width}" height="${this.ctrl.height}" transform="rotate(-90)">${t.join("\n")}</svg>`},_get_point:t=>({x:t.changedTouches[0].x.toFixed(1),y:t.changedTouches[0].y.toFixed(1)}),touchstart(t){let e=this._get_point(t);this.line={start:e,points:[e]},this.lines.push(this.line)},touchmove(t){let e=this._get_point(t);this.line.points.push(e),this.tm||(this.tm=setTimeout((()=>{this.redraw(),this.tm=0}),10))},touchend(t){let e=this._get_point(t);this.line.points.push(e),this.line.end=e,this.redraw()},redraw(){let t=this.cxt;t.setStrokeStyle("#000"),t.setLineWidth(3),this.lines.map((e=>{t.beginPath(),e.points.length<2||(t.moveTo(e.start.x,e.start.y),e.points.map((e=>{t.lineTo(e.x,e.y)})),t.stroke())})),t.draw()},canvasIdErrorCallback:function(t){}}};const r=t._export_sfc(s,[["render",function(e,i,s,r,h,n){return t.e({a:!s.disabled},s.disabled?{}:{b:t.f(n.titles,((e,i,s)=>({a:t.t(e),b:i}))),c:!h.hasDrew,d:t.n(h.cid),e:h.cid,f:t.o(((...t)=>n.touchstart&&n.touchstart(...t))),g:t.o(((...t)=>n.touchmove&&n.touchmove(...t))),h:t.o(((...t)=>n.touchend&&n.touchend(...t))),i:t.o((t=>n.cancelSignature())),j:t.o((t=>{n.clearSignature()})),k:t.o((t=>n.onOK())),l:h.show})}]]);wx.createComponent(r);
{
"component": true,
"usingComponents": {}
}
\ No newline at end of file
<view class="signature-wrap"><view wx:if="{{a}}" hidden="{{!l}}" class="signature-contain"><view class="signature-main" style="z-index:3000"><view><view class="signature-title"><text wx:for="{{b}}" wx:for-item="t" wx:key="b">{{t.a}}</text></view></view><block wx:if="{{r0}}"><canvas disable-scroll="true" class="{{['signature', d]}}" canvas-id="{{e}}" bindtouchstart="{{f}}" bindtouchmove="{{g}}" bindtouchend="{{h}}"><view class="tip" hidden="{{!c}}"> 请在此区域手写签名 </view></canvas></block><view class="signature-btns"><view class="btn btn-cancel cu-btn bg-main margin-tb-sm text-white" bindtap="{{i}}"><text>取</text><text>消</text></view><view class="btn btn-clear cu-btn bg-main margin-tb-sm text-white" bindtap="{{j}}"><text>清</text><text>空</text></view><view class="btn btn-ok cu-btn bg-main margin-tb-sm text-white" bindtap="{{k}}"><text>确</text><text>定</text></view></view></view></view></view>
\ No newline at end of file
.signature-wrap{height:100%;width:100%}.signature-wrap .img-wrap{width:100%;display:flex;align-items:flex-start;text-align:left;align-content:flex-start;justify-content:flex-start;color:#2a79f9;flex-direction:column}.signature-wrap .img-wrap image{width:100%}.signature-contain{z-index:9000;position:fixed;left:0;top:0;width:100%}.signature-contain .signature-main{background:#fff;flex-direction:row-reverse;display:flex;align-items:stretch;height:101%;overflow:scroll}.signature-contain .signature-title{font-weight:700;font-size:18px;display:flex;padding:0 20rpx;flex-direction:column;justify-content:center;height:100vh;color:#333}.signature-contain .signature-title text{transform:rotate(90deg)}.signature-contain .tip{position:absolute;top:50%;left:50%;white-space:nowrap;transform:translate(-50%,-50%) rotate(90deg)}.signature-contain .signature{background:#f7f7f7;width:90vw;height:95vh;align-self:center}.signature-contain .signature-btns{display:flex;padding:2px;flex-direction:column}.signature-contain .signature-btns .btn{flex-grow:1;flex-shrink:0;padding:20rpx;font-size:20px;margin:0;text-align:center;text-decoration:none;height:30vh;display:flex;align-content:center;justify-content:center;flex-direction:column}.signature-contain .signature-btns .btn text{transform:rotate(90deg)}.signature-contain .signature-btns .btn+.btn{border-top:1px solid #eee}.signature-contain .signature-btns .btn.btn-clear{color:#f0ad4e}.signature-contain .signature-btns .btn.btn-cancel{color:#606266}.signature-contain .signature-btns .btn.btn-ok{color:#007aff}
"use strict";const e=require("../../../common/vendor.js"),n={name:"jnpf-sign",components:{Sign:()=>"./Sign.js"},props:{modelValue:{type:[String,Number,Boolean]},fieldKey:{type:String,default:""},signTip:{type:String,default:"添加签名"},disabled:{type:Boolean,default:!1},detailed:{type:Boolean,default:!1},align:{type:String,default:"right"},showBtn:{type:Boolean,default:!0},defaultCurrent:{type:Boolean,default:!1},isInvoke:{type:Boolean,default:!1}},data:()=>({show:!1,innerValue:"",signMode:!1,signList:[],signOptions:[{value:"1",text:"手写签名"},{value:"2",text:"调用签名"}]}),created(){e.index.$on("setSignValue",(n=>{let i=e.index.getStorageSync("sign-fieldKey");this.fieldKey==i&&this.setValue(n)}))},onLoad(e){this.$nextTick((async()=>{await this.getSignData()}))},onUnload(){e.index.$off("setSignValue")},watch:{modelValue:{handler(e){this.innerValue=e||""},deep:!0,immediate:!0}},methods:{showSignMode(){this.disabled||(this.signMode=!0)},handleCommand(n){1===n?e.index.navigateTo({url:"/pages/apply/interPage/signInvokeList?fieldKey="+this.fieldKey+"&signVal="+encodeURIComponent(this.modelValue)}):this.addSign()},addSign(){this.disabled||this.$nextTick((()=>{this.$refs.sign.showSignature()}))},setValue(e){e&&(this.innerValue=e,this.$emit("update:modelValue",e),this.$emit("change",e))},handlePreviewImage(e){}}};if(!Array){(e.resolveComponent("u-action-sheet")+e.resolveComponent("Sign"))()}Math;const i=e._export_sfc(n,[["render",function(n,i,t,a,o,s){return e.e({a:t.showBtn},t.showBtn?e.e({b:o.innerValue,c:o.innerValue,d:e.o((e=>s.handlePreviewImage(o.innerValue))),e:!t.detailed&&!t.isInvoke},t.detailed||t.isInvoke?{}:e.e({f:!o.innerValue},o.innerValue?{}:{g:e.t(t.signTip)},{h:e.o((e=>s.addSign()))}),{i:!t.detailed&&t.isInvoke},!t.detailed&&t.isInvoke?e.e({j:!o.innerValue},o.innerValue?{}:{k:e.t(t.signTip)},{l:e.o((e=>s.showSignMode()))}):{}):{},{m:e.o(s.handleCommand),n:e.o((e=>o.signMode=e)),o:e.p({list:o.signOptions,modelValue:o.signMode}),p:e.sr("sign","03450528-1"),q:e.o(s.setValue),r:e.n("right"==t.align?"flex-end":"flex-start")})}]]);wx.createComponent(i);
{
"component": true,
"usingComponents": {
"sign": "./Sign",
"u-action-sheet": "../../../uni_modules/vk-uview-ui/components/u-action-sheet/u-action-sheet"
}
}
\ No newline at end of file
<view class="{{['jnpf-sign', r]}}"><view class="jnpf-sign-box"><block wx:if="{{a}}"><image class="jnpf-sign-img" src="{{b}}" mode="scaleToFill" hidden="{{!c}}" catchtap="{{d}}"/><view wx:if="{{e}}" class="jnpf-sign-btn" bindtap="{{h}}"><view class="icon-ym icon-ym-signature"/><view wx:if="{{f}}" class="title">{{g}}</view></view><view wx:if="{{i}}" class="jnpf-sign-btn" bindtap="{{l}}"><view class="icon-ym icon-ym-signature"/><view wx:if="{{j}}" class="title">{{k}}</view></view></block><u-action-sheet wx:if="{{o}}" bindclick="{{m}}" u-i="03450528-0" bind:__l="__l" bindupdateModelValue="{{n}}" u-p="{{o}}"></u-action-sheet><sign class="r" u-r="sign" bindinput="{{q}}" u-i="03450528-1" bind:__l="__l"/></view></view>
\ No newline at end of file
.jnpf-sign{width:100%;display:flex;align-items:center}.jnpf-sign.flex-end{justify-content:flex-end}.jnpf-sign.flex-start{justify-content:flex-start}.jnpf-sign .jnpf-sign-box{display:flex}.jnpf-sign .jnpf-sign-img{width:160rpx;height:80rpx;flex-shrink:0}.jnpf-sign .jnpf-sign-btn{color:#2188ff;width:100%;display:flex;flex-shrink:0}.jnpf-sign .jnpf-sign-btn .icon-ym-signature{font-size:52rpx}.jnpf-sign .jnpf-sign-btn .title{font-size:28rpx}
"use strict";const e=require("../../../api/signature.js"),t=require("../../../common/vendor.js"),n={name:"jnpf-sign",components:{MultSelect:()=>"../../MultSelect.js"},props:{modelValue:{type:[String,Number,Boolean]},disabled:{type:Boolean,default:!1},detailed:{type:Boolean,default:!1},showBtn:{type:Boolean,default:!0},align:{type:String,default:"right"},ableIds:{type:Array,default:()=>[]}},data:()=>({innerValue:"",show:!1,options:[],defaultValue:[]}),watch:{modelValue:{handler(e){this.innerValue=e||""},immediate:!0}},computed:{baseURL(){return this.define.baseURL}},methods:{getListByIds(){e.getListByIds({ids:this.ableIds}).then((e=>{this.options=e.data.list||[];const t=this.options.findIndex((e=>this.innerValue===e.icon));this.defaultValue=[t],this.show=!0}))},open(){if(!this.disabled)return this.ableIds.length?void(this.ableIds.length&&this.getListByIds()):this.show=!0},confirm(e){e.length&&(this.innerValue=this.options[e[0].index].icon||"",this.$emit("update:modelValue",this.innerValue),this.$emit("change",this.options[e[0].index]))},handlePreviewImage(e){}}};if(!Array){t.resolveComponent("MultSelect")()}const i=t._export_sfc(n,[["render",function(e,n,i,s,a,l){return t.e({a:i.showBtn},i.showBtn?t.e({b:l.baseURL+a.innerValue,c:a.innerValue,d:t.o((e=>l.handlePreviewImage(l.baseURL+a.innerValue))),e:!i.detailed},i.detailed?{}:t.e({f:!a.innerValue},(a.innerValue,{}),{g:t.o((e=>l.open()))})):{},{h:t.o(l.confirm),i:t.o((e=>a.show=!1)),j:t.p({show:a.show,list:a.options,"default-value":a.defaultValue,filterable:!0}),k:t.n("right"==i.align?"flex-end":"flex-start")})}],["__scopeId","data-v-8bf0e118"]]);wx.createComponent(i);
{
"component": true,
"usingComponents": {
"mult-select": "../../MultSelect"
}
}
\ No newline at end of file
<view class="{{['jnpf-signature', 'data-v-8bf0e118', k]}}"><view class="jnpf-signature-box data-v-8bf0e118"><block wx:if="{{a}}"><image class="jnpf-signature-img data-v-8bf0e118" src="{{b}}" mode="scaleToFill" hidden="{{!c}}" catchtap="{{d}}"/><view wx:if="{{e}}" class="jnpf-signature-btn data-v-8bf0e118" bindtap="{{g}}"><view class="icon-ym icon-ym-signature1 data-v-8bf0e118"/><view wx:if="{{f}}" class="title data-v-8bf0e118">电子签章</view></view></block></view><mult-select wx:if="{{j}}" class="data-v-8bf0e118" bindconfirm="{{h}}" bindclose="{{i}}" u-i="8bf0e118-0" bind:__l="__l" u-p="{{j}}"/></view>
\ No newline at end of file
.jnpf-signature.data-v-8bf0e118{width:100%;display:flex;align-items:center}.jnpf-signature.flex-end.data-v-8bf0e118{justify-content:flex-end}.jnpf-signature.flex-start.data-v-8bf0e118{justify-content:flex-start}.jnpf-signature .jnpf-signature-box.data-v-8bf0e118{display:flex}.jnpf-signature .jnpf-signature-img.data-v-8bf0e118{width:160rpx;height:80rpx;flex-shrink:0}.jnpf-signature .jnpf-signature-btn.data-v-8bf0e118{color:#2188ff;width:100%;display:flex;flex-shrink:0}.jnpf-signature .jnpf-signature-btn .icon-ym-signature1.data-v-8bf0e118{font-size:52rpx}.jnpf-signature .jnpf-signature-btn .title.data-v-8bf0e118{font-size:28rpx}
"use strict";const e=require("../../../common/vendor.js"),t={name:"jnpf-slider",props:{modelValue:{type:[Number,String],default:0},min:{type:Number,default:0},max:{type:Number,default:100},step:{type:Number,default:1},disabled:{type:Boolean,default:!1}},data:()=>({innerValue:0}),watch:{modelValue:{handler(e){this.innerValue=e},immediate:!0}},methods:{end(){this.$emit("update:modelValue",this.innerValue),this.$emit("change",this.innerValue)}}};if(!Array){e.resolveComponent("u-slider")()}Math;const a=e._export_sfc(t,[["render",function(t,a,n,d,i,r){return{a:e.t(i.innerValue),b:e.o(r.end),c:e.o((e=>i.innerValue=e)),d:e.p({step:n.step,min:n.min,max:n.max,disabled:n.disabled,modelValue:i.innerValue})}}],["__scopeId","data-v-4dd09784"]]);wx.createComponent(a);
{
"component": true,
"usingComponents": {
"u-slider": "../../../uni_modules/vk-uview-ui/components/u-slider/u-slider"
}
}
\ No newline at end of file
<u-slider wx:if="{{d}}" u-s="{{['d']}}" class="jnpf-slider data-v-4dd09784" bindend="{{b}}" u-i="4dd09784-0" bind:__l="__l" bindupdateModelValue="{{c}}" u-p="{{d}}"><view class="slider-badge-button data-v-4dd09784">{{a}}</view></u-slider>
\ No newline at end of file
.jnpf-slider.data-v-4dd09784{width:100%}.jnpf-slider .slider-badge-button.data-v-4dd09784{padding:4rpx 6rpx;background-color:#2979ff;color:#fff;border-radius:10rpx;font-size:22rpx;line-height:1}
"use strict";const e=require("../../../common/vendor.js"),a={name:"jnpf-switch",props:{modelValue:{type:[String,Number,Boolean]},activeValue:{type:[String,Number,Boolean],default:1},inactiveValue:{type:[String,Number,Boolean],default:0},size:{default:40},disabled:{type:Boolean,default:!1}},data:()=>({innerValue:""}),watch:{modelValue:{handler(e){this.innerValue=!!Number(e)},immediate:!0}},methods:{onChange(e){this.$emit("update:modelValue",e),this.$emit("change",e)}}};if(!Array){e.resolveComponent("u-switch")()}Math;const t=e._export_sfc(a,[["render",function(a,t,n,i,l,o){return{a:e.o(o.onChange),b:e.o((e=>l.innerValue=e)),c:e.p({"active-value":n.activeValue,"inactive-value":n.inactiveValue,disabled:n.disabled,size:n.size,modelValue:l.innerValue})}}],["__scopeId","data-v-a6c5e7af"]]);wx.createComponent(t);
{
"component": true,
"usingComponents": {
"u-switch": "../../../uni_modules/vk-uview-ui/components/u-switch/u-switch"
}
}
\ No newline at end of file
<view class="jnpf-switch data-v-a6c5e7af"><u-switch wx:if="{{c}}" class="data-v-a6c5e7af" bindchange="{{a}}" u-i="a6c5e7af-0" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}"></u-switch></view>
\ No newline at end of file
.jnpf-switch.data-v-a6c5e7af{width:100%;display:flex;justify-content:flex-end;align-items:center}
"use strict";const t=require("../../../common/vendor.js"),e={name:"jnpf-text",props:{textStyle:{type:Object,default:()=>({})},content:{default:""}},computed:{getTextstyle(){return{...this.textStyle,"line-height":2*this.textStyle["line-height"]+"rpx","font-size":2*this.textStyle["font-size"]+"rpx"}}}};const n=t._export_sfc(e,[["render",function(e,n,o,s,r,c){return{a:t.t(o.content),b:t.s(c.getTextstyle)}}],["__scopeId","data-v-18ed96b4"]]);wx.createComponent(n);
{
"component": true,
"usingComponents": {}
}
\ No newline at end of file
<view class="jnpf-text data-v-18ed96b4" style="{{b}}">{{a}}</view>
\ No newline at end of file
.jnpf-text.data-v-18ed96b4{padding:20rpx 32rpx}
"use strict";const e=require("../../../common/vendor.js"),t={name:"jnpf-textarea",props:{modelValue:{type:String,default:""},placeholder:{type:String,default:"请输入"},maxlength:{type:Number,default:null},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},showCount:{type:Boolean,default:!1}},data:()=>({innerValue:""}),watch:{modelValue:{handler(e){this.innerValue=e},immediate:!0}},methods:{onInput(e){this.$emit("update:modelValue",e),this.$emit("change",e)}}};if(!Array){e.resolveComponent("u-input")()}Math;const a=e._export_sfc(t,[["render",function(t,a,n,l,o,r){return e.e({a:e.o(r.onInput),b:e.o((e=>o.innerValue=e)),c:e.p({"input-align":"right",border:!1,type:"textarea",placeholder:n.placeholder,disabled:n.disabled,clearable:!n.disabled&&n.clearable,maxlength:n.maxlength||0===n.maxlength?n.maxlength:9999,modelValue:o.innerValue}),d:n.showCount},n.showCount?e.e({e:e.t(o.innerValue?String(o.innerValue).length:0),f:n.maxlength},n.maxlength?{g:e.t(n.maxlength)}:{}):{},{h:e.n(n.showCount?"jnpf-textarea-count":"")})}]]);wx.createComponent(a);
{
"component": true,
"usingComponents": {
"u-input": "../../../uni_modules/vk-uview-ui/components/u-input/u-input"
}
}
\ No newline at end of file
<view class="{{['jnpf-textarea', h]}}"><u-input wx:if="{{c}}" bindinput="{{a}}" u-i="239c1e65-0" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}"/><view wx:if="{{d}}" class="textarea-count"><text>{{e}}</text><text wx:if="{{f}}">/{{g}}</text></view></view>
\ No newline at end of file
.jnpf-textarea{position:relative;width:100%}.jnpf-textarea.jnpf-textarea-count{padding-bottom:20rpx}.jnpf-textarea .textarea-count{color:#909399;font-size:24rpx;position:absolute;bottom:4rpx;right:0;line-height:24rpx}
"use strict";const e=require("../../../common/vendor.js"),t={name:"jnpf-time-pickeer",props:{scene:{type:String,default:"form"},inputType:{type:String,default:"select"},modelValue:{type:[String,Number],default:""},placeholder:{type:String,default:"请选择"},disabled:{type:Boolean,default:!1},type:{type:String,default:"time"},startTime:{type:[String,Number],default:0},selectType:{type:String,default:""},endTime:{type:[String,Number],default:0},format:{type:String,default:"yyyy-MM-dd HH:mm:ss"}},data:()=>({value:""}),watch:{modelValue:{handler(e){this.value=e},immediate:!0},value(e){this.$emit("update:modelValue",e)}},methods:{change(e,t){this.$emit("change",e,t)}}};if(!Array){e.resolveComponent("JnpfDatePicker")()}Math;const a=e._export_sfc(t,[["render",function(t,a,l,r,n,d){return{a:e.o(d.change),b:e.o((e=>n.value=e)),c:e.p({scene:l.scene,inputType:l.inputType,placeholder:l.placeholder,disabled:l.disabled,type:l.type,startTime:l.startTime,endTime:l.endTime,format:l.format,selectType:l.selectType,modelValue:n.value})}}],["__scopeId","data-v-c2363142"]]);wx.createComponent(a);
{
"component": true,
"usingComponents": {
"jnpf-date-picker": "../DatePicker/index"
}
}
\ No newline at end of file
<view class="jnpf-time-pickeer data-v-c2363142"><jnpf-date-picker wx:if="{{c}}" class="data-v-c2363142" bindchange="{{a}}" u-i="c2363142-0" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}"/></view>
\ No newline at end of file
"use strict";const e=require("../../../common/vendor.js"),a={name:"jnpf-time-range",props:{modelValue:{type:Array,default:()=>[]},placeholder:{type:String,default:"请选择时间范围"},disabled:{type:Boolean,default:!1},format:{type:String,default:"yyyy-MM-dd HH:mm:ss"},type:{type:String,default:"time"}},data:()=>({value:""}),watch:{modelValue:{handler(e){this.value=e},immediate:!0},value(e){this.$emit("update:modelValue",e)}}};if(!Array){e.resolveComponent("JnpfDateRange")()}Math;const t=e._export_sfc(a,[["render",function(a,t,l,d,o,r){return{a:e.o((e=>o.value=e)),b:e.p({placeholder:l.placeholder,format:l.format,disabled:l.disabled,type:l.type,modelValue:o.value})}}],["__scopeId","data-v-2d650e6c"]]);wx.createComponent(t);
{
"component": true,
"usingComponents": {
"jnpf-date-range": "../DateRange/index"
}
}
\ No newline at end of file
<view class="jnpf-time-range data-v-2d650e6c"><jnpf-date-range wx:if="{{b}}" class="data-v-2d650e6c" u-i="2d650e6c-0" bind:__l="__l" bindupdateModelValue="{{a}}" u-p="{{b}}"/></view>
\ No newline at end of file
"use strict";const e=require("../../../common/vendor.js"),t={label:"fullName",value:"id",icon:"icon",children:"children"},l={name:"tree-select",components:{LyTree:()=>"../../ly-tree/ly-tree.js"},props:{options:{type:Array,default:()=>[]},filterable:{type:Boolean,default:!1},border:{type:Boolean,default:!0},modelValue:{type:Boolean,default:!1},cancelColor:{type:String,default:"#606266"},confirmColor:{type:String,default:"#2979ff"},zIndex:{type:[String,Number],default:0},safeAreaInsetBottom:{type:Boolean,default:!1},maskCloseAble:{type:Boolean,default:!0},defaultValue:{type:Array,default:()=>[]},props:{type:Object,default:()=>({label:"fullName",value:"id",icon:"icon",children:"children"})},lastLevel:{type:Boolean,default:!1},lastLevelKey:{type:String,default:"hasChildren"},lastLevelValue:{default:!1},multiple:{type:Boolean,default:!1},title:{type:String,default:""},cancelText:{type:String,default:"取消"},confirmText:{type:String,default:"确认"}},data:()=>({filterText:"",moving:!1,showPopup:!1}),watch:{modelValue:{immediate:!0,handler(e){this.showPopup=e,e&&setTimeout((()=>this.init()),10)}},filterText(e){this.$refs.tree.filter(e)}},computed:{uZIndex(){return this.zIndex?this.zIndex:this.$u.zIndex.popup},realProps(){return{...t,...this.props}}},methods:{pickstart(){this.moving=!0},pickend(){this.moving=!1},filterNode(e,t){return!e||-1!==t[this.realProps.label].indexOf(e)},init(){this.filterText="",this.setSelectValue()},setSelectValue(){this.$nextTick((()=>{this.$refs.tree.setCheckedKeys(this.defaultValue)}))},close(){this.$emit("close")},handleConfirm(){if(this.moving)return;let e=this.$refs.tree.getCheckedNodes();this.lastLevel&&(e=e.filter((e=>e[this.lastLevelKey]==this.lastLevelValue))),e.length&&(this.$emit("confirm",e),this.close())}}};if(!Array){(e.resolveComponent("u-search")+e.resolveComponent("ly-tree")+e.resolveComponent("u-popup"))()}Math||((()=>"../../../uni_modules/vk-uview-ui/components/u-search/u-search.js")+(()=>"../../ly-tree/ly-tree.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-popup/u-popup.js"))();const o=e._export_sfc(l,[["render",function(t,l,o,a,i,r){return e.e({a:e.t(o.cancelText),b:o.cancelColor,c:e.o((e=>r.close())),d:e.t(o.title),e:e.t(o.confirmText),f:i.moving?o.cancelColor:o.confirmColor,g:e.o((()=>{})),h:e.o((e=>r.handleConfirm())),i:e.o((()=>{})),j:o.filterable},o.filterable?{k:e.o((e=>i.filterText=e)),l:e.p({placeholder:"请输入关键词搜索",height:"72","show-action":!1,"bg-color":"#f0f2f6",shape:"square",modelValue:i.filterText})}:{},{m:e.sr("tree","becfa5ad-2,becfa5ad-0"),n:e.p({"node-key":r.realProps.value,"tree-data":o.options,props:r.realProps,"show-node-icon":!0,"filter-node-method":r.filterNode,"child-visible-for-filter-node":!0,"check-on-click-node":!0,"expand-on-click-node":!1,"default-expand-all":!0,"show-radio":!o.multiple,"show-checkbox":o.multiple}),o:e.o(r.close),p:e.o((e=>i.showPopup=e)),q:e.p({maskCloseAble:o.maskCloseAble,mode:"bottom",popup:!1,length:"auto",safeAreaInsetBottom:o.safeAreaInsetBottom,"z-index":r.uZIndex,modelValue:i.showPopup})})}],["__scopeId","data-v-becfa5ad"]]);wx.createComponent(o);
{
"component": true,
"usingComponents": {
"ly-tree": "../../ly-tree/ly-tree",
"u-search": "../../../uni_modules/vk-uview-ui/components/u-search/u-search",
"u-popup": "../../../uni_modules/vk-uview-ui/components/u-popup/u-popup"
}
}
\ No newline at end of file
<view class="u-select data-v-becfa5ad"><u-popup wx:if="{{q}}" class="data-v-becfa5ad" u-s="{{['d']}}" bindclose="{{o}}" u-i="becfa5ad-0" bind:__l="__l" bindupdateModelValue="{{p}}" u-p="{{q}}"><view class="u-select data-v-becfa5ad"><view class="u-select__header data-v-becfa5ad" catchtouchmove="{{i}}"><view class="u-select__header__cancel u-select__header__btn data-v-becfa5ad" style="{{'color:' + b}}" hover-class="u-hover-class" hover-stay-time="{{150}}" bindtap="{{c}}">{{a}}</view><view class="u-select__header__title data-v-becfa5ad">{{d}}</view><view class="u-select__header__confirm u-select__header__btn data-v-becfa5ad" style="{{'color:' + f}}" hover-class="u-hover-class" hover-stay-time="{{150}}" catchtouchmove="{{g}}" catchtap="{{h}}">{{e}}</view></view><view wx:if="{{j}}" class="search-box_sticky data-v-becfa5ad"><view class="search-box data-v-becfa5ad"><u-search wx:if="{{l}}" class="data-v-becfa5ad" u-i="becfa5ad-1,becfa5ad-0" bind:__l="__l" bindupdateModelValue="{{k}}" u-p="{{l}}"></u-search></view></view><view class="u-select__body u-select__body__treeSelect data-v-becfa5ad"><view class="tree-box data-v-becfa5ad"><scroll-view class="data-v-becfa5ad" scroll-y="{{true}}" style="height:100%"><ly-tree wx:if="{{n}}" class="r data-v-becfa5ad" u-r="tree" u-i="becfa5ad-2,becfa5ad-0" bind:__l="__l" u-p="{{n}}"/></scroll-view></view></view></view></u-popup></view>
\ No newline at end of file
.u-select__action.data-v-becfa5ad{position:relative;line-height:70rpx;height:70rpx}.u-select__action__icon.data-v-becfa5ad{position:absolute;right:20rpx;top:50%;transition:transform .4s;transform:translateY(-50%);z-index:1}.u-select__action__icon--reverse.data-v-becfa5ad{transform:rotate(-180deg) translateY(50%)}.u-select__hader__title.data-v-becfa5ad{color:#606266}.u-select--border.data-v-becfa5ad{border-radius:6rpx;border-radius:4px;border:1px solid #dcdfe6}.u-select__header.data-v-becfa5ad{display:flex;align-items:center;justify-content:space-between;height:80rpx;padding:0 40rpx}.u-select__body.data-v-becfa5ad{width:100%;height:500rpx;overflow:hidden;background-color:#fff}.u-select__body .tree-box.data-v-becfa5ad{height:100%}.u-select__body__picker-view.data-v-becfa5ad{height:100%;box-sizing:border-box}.u-select__body__picker-view__item.data-v-becfa5ad{display:flex;align-items:center;justify-content:center;font-size:32rpx;color:#303133;padding:0 8rpx}
"use strict";const e=require("../../../common/vendor.js"),l={name:"jnpf-tree-select",components:{Tree:()=>"./Tree.js"},props:{modelValue:{default:""},options:{type:Array,default:()=>[]},placeholder:{type:String,default:"请选择"},props:{type:Object,default:()=>({label:"fullName",value:"id",children:"children"})},disabled:{type:Boolean,default:!1},filterable:{type:Boolean,default:!1},multiple:{type:Boolean,default:!1},lastLevel:{type:Boolean,default:!1},lastLevelKey:{type:String,default:"hasChildren"},lastLevelValue:{default:!1}},data:()=>({selectShow:!1,innerValue:"",defaultValue:[]}),watch:{options(){this.setDefault()},modelValue:{handler(e){this.setDefault()},immediate:!0}},methods:{setDefault(){if(!this.modelValue||!this.options)return this.defaultValue=[],void(this.innerValue="");const e="string"==typeof this.modelValue?this.modelValue.split(","):this.modelValue;let l="";const t=(e,a)=>{for(let o=0;o<a.length;o++){let s=a[o];if(e===s[this.props.value]){l+=(l?",":"")+s[this.props.label];break}s.children&&Array.isArray(s.children)&&s.children.length&&t(e,s.children)}};for(let a=0;a<e.length;a++)t(e[a],this.options);this.innerValue=l,this.defaultValue=e},openSelect(){this.disabled||(this.selectShow=!0)},handleClose(){this.selectShow=!1},handleConfirm(e){let l="",t=[];for(let a=0;a<e.length;a++)l+=(l?",":"")+e[a][this.props.label],t.push(e[a][this.props.value]);this.defaultValue=t,this.innerValue=l,this.multiple?(this.$emit("update:modelValue",t),this.$emit("change",t,e)):(this.$emit("update:modelValue",t[0]),this.$emit("change",t[0],e[0]))}}};if(!Array){(e.resolveComponent("u-input")+e.resolveComponent("Tree"))()}Math;const t=e._export_sfc(l,[["render",function(l,t,a,o,s,i){return e.e({a:e.o(i.openSelect),b:e.o((e=>s.innerValue=e)),c:e.p({type:"select","input-align":"right","select-open":s.selectShow,placeholder:a.placeholder,modelValue:s.innerValue}),d:s.selectShow},s.selectShow?{e:e.o(i.handleClose),f:e.o(i.handleConfirm),g:e.o((e=>s.selectShow=e)),h:e.p({"default-value":s.defaultValue,options:a.options,multiple:a.multiple,lastLevel:a.lastLevel,lastLevelKey:a.lastLevelKey,lastLevelValue:a.lastLevelValue,props:a.props,filterable:a.filterable,modelValue:s.selectShow})}:{})}],["__scopeId","data-v-ef91141a"]]);wx.createComponent(t);
{
"component": true,
"usingComponents": {
"tree": "./Tree",
"u-input": "../../../uni_modules/vk-uview-ui/components/u-input/u-input"
}
}
\ No newline at end of file
<view class="jnpf-tree-select data-v-ef91141a"><u-input wx:if="{{c}}" class="data-v-ef91141a" bindclick="{{a}}" u-i="ef91141a-0" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}"/><tree wx:if="{{d}}" class="data-v-ef91141a" bindclose="{{e}}" bindconfirm="{{f}}" u-i="ef91141a-1" bind:__l="__l" bindupdateModelValue="{{g}}" u-p="{{h}}"/></view>
\ No newline at end of file
"use strict";const e=require("../../../common/vendor.js");require("../../../utils/request.js");const t=["png","jpg","jpeg","bmp","gif"],i={name:"jnpf-upload-img",inheritAttrs:!1,props:{modelValue:{type:Array,default:()=>[]},disabled:{type:Boolean,default:!1},limit:{type:[Number,String],default:9},fileSize:{type:Number,default:5},sizeUnit:{type:String,default:"MB"},accept:{type:String,default:""},pathType:{type:String,default:"defaultPath"},tipText:{type:String,default:""},isAccount:{type:Number,default:0},folder:{type:String,default:""},vModel:{type:String,default:""},detailed:{type:Boolean,default:!1},align:{type:String,default:"right"},sortRule:{type:Array,default:()=>[]},timeFormat:{type:String,default:""}},data(){return{percent:"",fileList:[],option:{},params:{pathType:this.pathType,isAccount:this.isAccount,folder:this.folder,sortRule:(this.sortRule||[]).join(),timeFormat:this.timeFormat},instantly:!0,size:30,list:[],deletable:!1,childId:"upload"+this.$u.guid(3,!1,2),lsjUpload:"lsjUpload"+this.$u.guid(3,!1,2),width:"140rpx",height:"70rpx"}},computed:{baseURL(){return this.define.baseURL},comUploadUrl(){return this.define.comUploadUrl},getFormats(){let e=this.accept;return e=e.replace("image/*","png,jpg,jpeg,bmp,gif,webp,psd,svg,tiff"),e=e.replace("video/*","avi,wmv,mpg,mpeg,mov,rm,ram,swf,flv,mp4,wma,rm,rmvb,flv,mpg,mkv"),e=e.replace("audio/*","mp3,wav,aif,midi,m4a"),e}},created(){const t=e.index.getStorageSync("token");this.option={url:this.baseURL+"/api/file/Uploader/annex",name:"file",header:{Authorization:t,uid:"27682",client:"app",accountid:"DP"},data:this.params}},watch:{modelValue:{handler(e){this.fileList=JSON.parse(JSON.stringify(e))},immediate:!0}},methods:{onuploadEnd(e){if(e.responseText){let t=JSON.parse(e.responseText);if(this.fileList.length>=this.limit)return this.$u.toast("已达最大上传数量");if(200!=t.code)return this.$u.toast(t.msg);this.fileList.push({name:e.name,fileId:t.data.name,url:t.data.url,fileExtension:t.data.fileExtension,fileSize:t.data.fileSize}),this.$emit("update:modelValue",this.fileList),this.$emit("change",this.fileList)}this.$forceUpdate()},downLoad(e){if(e.fileExtension&&t.includes(e.fileExtension))return this.previewImage(e);this.previewFile(e)},delFile(t){e.index.showModal({title:"提示",content:"是否删除该文件?",success:e=>{e.confirm?(this.fileList.splice(t,1),this.$emit("update:modelValue",this.fileList),this.$emit("change",this.fileList),this.fileList.length>=this.fileCount?this.deletable=!0:this.deletable=!1):e.cancel}})},previewFile(t){let i=t.url,l=i.split(".")[1];["doc","xls","ppt","pdf","docx","xlsx","pptx"].includes(l)?e.index.downloadFile({url:this.baseURL+i,success:t=>{var i=t.tempFilePath;e.index.openDocument({filePath:encodeURI(i),showMenu:!0,fileType:l,success:e=>{console.log("打开文档成功")},fail(e){console.log("小程序",e)}})}}):this.$u.toast("该文件类型无法打开")},previewImage(t){if(!t.url)return;const i=this.baseURL+t.url;e.index.previewImage({urls:[i],current:i,success:()=>{},fail:()=>{e.index.showToast({title:"预览图片失败",icon:"none"})}})},downloadFile(t){e.index.downloadFile({url:this.baseURL+t,success:t=>{200===t.statusCode&&e.index.saveFile({tempFilePath:t.tempFilePath,success:t=>{e.index.showToast({icon:"none",mask:!0,title:"文件已保存:"+t.savedFilePath,duration:3e3}),setTimeout((()=>{e.index.openDocument({filePath:t.savedFilePath,success:e=>{},fail(e){}})}),500)}})}})}}};if(!Array){(e.resolveComponent("lsj-upload")+e.resolveComponent("u-button"))()}Math||((()=>"../../../uni_modules/lsj-upload/components/lsj-upload/lsj-upload.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-button/u-button.js"))();const l=e._export_sfc(i,[["render",function(t,i,l,s,a,d){return e.e({a:!l.detailed&&!l.disabled},l.detailed||l.disabled?{}:e.e({b:!l.disabled},l.disabled?{}:{c:e.sr(a.lsjUpload,"64467bff-0"),d:a.lsjUpload,e:e.o(d.onuploadEnd),f:e.p({childId:a.childId,width:a.width,height:a.height,option:a.option,size:l.fileSize,formats:d.getFormats,instantly:a.instantly,lsjUpload:a.lsjUpload})}),{g:l.disabled},l.disabled?{h:e.p({size:"mini"})}:{},{i:e.f(a.fileList,((i,s,a)=>e.e({a:i.fileSize},i.fileSize?{b:e.t(i.name+`(${t.jnpf.toFileSize(i.fileSize)} )`)}:{c:e.t(i.name)},l.detailed||l.disabled?{}:{d:e.o((e=>d.delFile(s)),s)},{e:s,f:e.o((e=>d.downLoad(i)),s)}))),j:!l.detailed&&!l.disabled,k:e.t(l.tipText),l:l.align})}],["__scopeId","data-v-64467bff"]]);wx.createComponent(l);
{
"component": true,
"usingComponents": {
"lsj-upload": "../../../uni_modules/lsj-upload/components/lsj-upload/lsj-upload",
"u-button": "../../../uni_modules/vk-uview-ui/components/u-button/u-button"
}
}
\ No newline at end of file
<view class="jnpf-file data-v-64467bff"><view class="jnpf-file-box data-v-64467bff" style="{{'text-align:' + l}}"><view wx:if="{{a}}" class="jnpf-file-box-line data-v-64467bff"><lsj-upload wx:if="{{b}}" class="r data-v-64467bff" u-r="{{d}}" binduploadEnd="{{e}}" u-i="64467bff-0" bind:__l="__l" u-p="{{f}}"></lsj-upload></view><u-button wx:if="{{g}}" class="data-v-64467bff" u-s="{{['d']}}" u-i="64467bff-1" bind:__l="__l" u-p="{{h}}">上传附件</u-button><view wx:for="{{i}}" wx:for-item="item" wx:key="e" class="jnpf-file-item u-type-primary u-flex u-line-1 data-v-64467bff" bindtap="{{item.f}}"><view wx:if="{{item.a}}" class="jnpf-file-item-txt u-line-1 data-v-64467bff">{{item.b}}</view><view wx:else class="jnpf-file-item-txt u-line-1 data-v-64467bff">{{item.c}}</view><view wx:if="{{j}}" class="closeBox u-flex-col data-v-64467bff" catchtap="{{item.d}}"><text class="icon-ym icon-ym-nav-close closeTxt u-flex data-v-64467bff"></text></view></view><view class="tipText u-p-l-20 data-v-64467bff">{{k}}</view></view></view>
\ No newline at end of file
.jnpf-file.data-v-64467bff{width:100%}.jnpf-file .jnpf-file-box .jnpf-file-box-line.data-v-64467bff{height:70rpx}.jnpf-file .jnpf-file-box .tipText.data-v-64467bff{color:#606266;word-break:break-all;line-height:48rpx}.jnpf-file .jnpf-file-box .jnpf-file-item.data-v-64467bff{justify-content:space-between;flex-direction:row}.jnpf-file .jnpf-file-box .jnpf-file-item .jnpf-file-item-txt.data-v-64467bff{width:230rpx;flex:auto}.jnpf-file .jnpf-file-box .jnpf-file-item .showLeft.data-v-64467bff{text-align:left}.jnpf-file .jnpf-file-box .jnpf-file-item .closeBox.data-v-64467bff{height:60rpx;align-items:flex-end;justify-content:space-evenly;flex:.2}.jnpf-file .jnpf-file-box .jnpf-file-item .closeBox .closeTxt.data-v-64467bff{width:36rpx;height:36rpx;border-radius:50%;background-color:#fa3534;color:#fff;font-size:20rpx;align-items:center;justify-content:center;line-height:36rpx}
"use strict";const e=require("../../../common/vendor.js"),t={KB:1024,MB:1048576,GB:1073741824},i={name:"jnpf-upload-img",props:{modelValue:{type:[Array,String],default:()=>[]},tipText:{type:String,default:""},limit:{type:Number,default:99},sizeUnit:{type:String,default:"MB"},pathType:{type:String,default:"defaultPath"},isAccount:{type:Number,default:0},folder:{type:String,default:""},fileSize:{type:Number,default:10},disabled:{type:Boolean,default:!1},detailed:{type:Boolean,default:!1},simple:{type:Boolean,default:!1},align:{type:String,default:"right"},sortRule:{type:Array,default:()=>[]},timeFormat:{type:String,default:""}},data(){return{fileList:[],realLimit:0,deletable:!0,uploadHeaders:{Authorization:""},params:{pathType:this.pathType,isAccount:this.isAccount,folder:this.folder,sortRule:(this.sortRule||[]).join(),timeFormat:this.timeFormat},lists:[],maxSize:""}},watch:{limit(e){this.realLimit=e},modelValue:{immediate:!0,handler(e){this.fileList=Array.isArray(e)?JSON.parse(JSON.stringify(e)):[]}}},created(){this.uploadHeaders.Authorization=e.index.getStorageSync("token"),this.maxSize=this.fileSize?this.fileSize*t[this.sizeUnit]:1e13,this.$nextTick((()=>{this.lists=this.fileList||[]})),this.realLimit=this.limit,this.disabled&&(this.deletable=!1)},computed:{baseURL(){return this.define.baseURL},comUploadUrl(){return this.define.comUploadUrl}},methods:{onSuccess(e,t,i,s){200==e.code?(this.fileList.push({name:i[t].file.name,fileId:e.data.name,url:e.data.url,thumbUrl:e.data.thumbUrl}),this.$emit("update:modelValue",this.fileList),this.$emit("change",this.fileList)):(i.splice(t,1),this.$u.toast(e.msg))},handleError(e,t,i,s){i.splice(t,1)},deleteItem(t){e.index.showModal({title:"提示",content:"您确定要删除此项吗?",success:i=>{i.confirm&&(this.$refs.uUpload.remove(t),this.fileList.splice(t,1),this.$emit("update:modelValue",this.fileList),this.$emit("change",this.fileList),e.index.showToast({title:"移除成功",icon:"none"}))}})},onListChange(e){this.lists=e||[]},doPreviewImage(t){const i=this.fileList.map((e=>this.baseURL+e.url));e.index.previewImage({urls:i,current:t,success:()=>{},fail:()=>{e.index.showToast({title:"预览图片失败",icon:"none"})}})}}};if(!Array){(e.resolveComponent("u-icon")+e.resolveComponent("u-upload"))()}Math||((()=>"../../../uni_modules/vk-uview-ui/components/u-icon/u-icon.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-upload/u-upload.js"))();const s=e._export_sfc(i,[["render",function(t,i,s,l,a,o){return e.e({a:!s.simple},s.simple?{}:e.e({b:a.fileList.length},a.fileList.length?{c:e.f(a.fileList,((t,i,l)=>e.e(s.disabled||s.detailed?{}:{a:"9fb48d93-0-"+l,b:e.p({name:"close",size:"20",color:"#ffffff"}),c:e.o((e=>o.deleteItem(i)),i)},{d:o.baseURL+(t.thumbUrl||t.url),e:e.o((e=>o.doPreviewImage(o.baseURL+t.url)),i),f:i}))),d:!s.disabled&&!s.detailed}:{},{e:!s.detailed},s.detailed?{}:{f:e.sr("uUpload","9fb48d93-1"),g:e.o(o.onListChange),h:e.o(o.onSuccess),i:e.o(o.handleError),j:e.p({width:"150",height:"150",action:o.comUploadUrl+"annexpic",header:a.uploadHeaders,"form-data":a.params,"max-size":a.maxSize,"max-count":a.realLimit,"show-upload-list":!1,"show-progress":!1,deletable:a.deletable,"file-list":a.lists,disabled:s.disabled})},{k:e.n("jnpf-upload jnpf-upload-"+s.align)}),{l:!s.simple},s.simple?{}:{m:e.t(s.tipText)},{n:s.simple},s.simple?{o:e.o((e=>o.doPreviewImage(o.baseURL+a.fileList[0].url)))}:{})}],["__scopeId","data-v-9fb48d93"]]);wx.createComponent(s);
{
"component": true,
"usingComponents": {
"u-icon": "../../../uni_modules/vk-uview-ui/components/u-icon/u-icon",
"u-upload": "../../../uni_modules/vk-uview-ui/components/u-upload/u-upload"
}
}
\ No newline at end of file
<view class="jnpf-upload-img data-v-9fb48d93"><view wx:if="{{a}}" class="{{['data-v-9fb48d93', k]}}"><block wx:if="{{b}}"><view wx:for="{{c}}" wx:for-item="item" wx:key="f" class="u-list-item u-preview-wrap data-v-9fb48d93"><view wx:if="{{d}}" class="u-delete-icon data-v-9fb48d93" catchtap="{{item.c}}"><u-icon wx:if="{{item.b}}" class="u-icon data-v-9fb48d93" u-i="{{item.a}}" bind:__l="__l" u-p="{{item.b}}"></u-icon></view><image class="u-preview-image data-v-9fb48d93" src="{{item.d}}" mode="aspectFill" catchtap="{{item.e}}"></image></view></block><u-upload wx:if="{{e}}" class="r data-v-9fb48d93" bindonListChange="{{g}}" bindonSuccess="{{h}}" bindonError="{{i}}" u-r="uUpload" u-i="9fb48d93-1" bind:__l="__l" u-p="{{j}}"></u-upload></view><view wx:if="{{l}}" class="tipText u-p-l-20 data-v-9fb48d93">{{m}}</view><view wx:if="{{n}}" class="text-primary data-v-9fb48d93" catchtap="{{o}}">查看图片</view></view>
\ No newline at end of file
.jnpf-upload-img.data-v-9fb48d93{width:100%}.jnpf-upload-img .tipText.data-v-9fb48d93{color:#606266;word-break:break-all;line-height:48rpx;text-align:right}.jnpf-upload-img .jnpf-upload.data-v-9fb48d93{width:100%;display:flex;flex-wrap:wrap;align-items:center}.jnpf-upload-img .jnpf-upload.jnpf-upload-right.data-v-9fb48d93{justify-content:flex-end}.jnpf-upload-img .jnpf-upload.jnpf-upload-left.data-v-9fb48d93{justify-content:flex-start}.jnpf-upload-img .jnpf-upload.data-v-9fb48d93 .u-upload .u-list-item{margin:0!important}.jnpf-upload-img .jnpf-upload .u-preview-wrap.data-v-9fb48d93{width:150rpx;height:150rpx;border:1px solid #ebecee;overflow:hidden;margin:10rpx;background:#f4f5f6;position:relative;border-radius:10rpx;display:flex;align-items:center;justify-content:center}.jnpf-upload-img .jnpf-upload .u-preview-wrap .u-preview-image.data-v-9fb48d93{display:block;width:100%;height:100%;border-radius:10rpx}.jnpf-upload-img .jnpf-upload .u-preview-wrap .u-delete-icon.data-v-9fb48d93{position:absolute;top:10rpx;right:10rpx;z-index:10;background-color:#fa3534;border-radius:100rpx;width:44rpx;height:44rpx;display:flex;align-items:center;justify-content:center}.jnpf-upload-img .jnpf-upload .u-preview-wrap .u-icon.data-v-9fb48d93{display:flex;align-items:center;justify-content:center}
"use strict";const e=require("../../../common/vendor.js"),t=require("../../../api/common.js"),i=require("../../../libs/resources.js"),s={label:"fullName",value:"id",icon:"icon",children:"children"},o={name:"tree-select",components:{LyTree:()=>"../../ly-tree/ly-tree.js"},props:{selectType:{type:String,default:"all"},clearable:{type:Boolean,default:!1},query:{type:Object,default:()=>({})},selectedData:{type:Array,default:()=>[]},border:{type:Boolean,default:!0},modelValue:{type:Boolean,default:!1},cancelColor:{type:String,default:"#606266"},confirmColor:{type:String,default:"#2979ff"},zIndex:{type:[String,Number],default:999},safeAreaInsetBottom:{type:Boolean,default:!1},maskCloseAble:{type:Boolean,default:!0},props:{type:Object,default:()=>({label:"fullName",value:"id",icon:"icon",children:"children",isLeaf:"isLeaf"})},multiple:{type:Boolean,default:!1},title:{type:String,default:""},cancelText:{type:String,default:"取消"},confirmText:{type:String,default:"确认"}},data:()=>({noDataIcon:i.resources.message.nodata,triggered:!1,moving:!1,selectList:[],keyword:"",tabsList:[{name:"全部数据"},{name:"当前组织"},{name:"我的下属"}],current:0,swiperCurrent:0,options:[],options0:[],list:[],pagination:{currentPage:1,pageSize:20},total:0,height:0,showPopup:!1}),watch:{modelValue:{immediate:!0,handler(e){this.showPopup=e,e&&setTimeout((()=>this.init()),10)}}},computed:{baseURL(){return this.define.baseURL},uZIndex(){return this.zIndex?this.zIndex:this.$u.zIndex.popup},realProps(){return{...s,...this.props}}},created(){this._freshing=!1,setTimeout((()=>{this.triggered=!0}),1e3)},methods:{handleScrollToLower(){this.getInfoList()},getInfoList(){let i=this.query;this.pagination.keyword=this.keyword,i.pagination=this.pagination,t.getSelectedUserList(i).then((t=>{const i=t.data.list;if(!i.length&&1!=this.pagination.currentPage)return e.index.showToast({title:"没有更多信息啦!",icon:"none"});this.list=this.list.concat(i),this.pagination.currentPage++}))},init(){"all"!==this.selectType&&this.getInfoList(),this.selectList=JSON.parse(JSON.stringify(this.selectedData))},onSelect(e){this.multiple||(this.selectList=[]);let t=!1;for(let i=0;i<this.selectList.length;i++)if(this.selectList[i].id===e.id)return void(t=!0);!t&&this.selectList.push(e)},loadNode(e,i){0===e.level?t.getUserSelectorNew(e.level).then((e=>{i(e.data.list)})):t.getUserSelectorNew(e.data.id).then((e=>{const t=e.data.list;i(t)}))},change(e){this.swiperCurrent=e,this.keyword="",0!==this.swiperCurrent&&this.handOff(this.swiperCurrent)},handOff(e){(1==e?t.getOrganization:t.getSubordinates)(this.keyword).then((e=>{this.options=e.data}))},search(e){this.searchTimer&&clearTimeout(this.searchTimer),this.searchTimer=setTimeout((()=>{if(this.pagination={currentPage:1,pageSize:20},"all"===this.selectType)0!==e&&this.handOff(e),t.getUserSelectorNew(0,this.keyword).then((e=>{this.options0=e.data.list}));else{let e=this.query;this.pagination.keyword=this.keyword,e.pagination=this.pagination,t.getSelectedUserList(e).then((e=>{const t=e.data.list;this.list=t,this.pagination=e.data.pagination,this.total=this.pagination.total}))}}),300)},transition({detail:{dx:e}}){this.$refs.tabs.setDx(e)},animationfinish({detail:{current:e}}){this.$refs.tabs.setFinishCurrent(e),this.swiperCurrent=e,this.current=e,0!==this.swiperCurrent&&this.handOff(this.swiperCurrent)},handleNodeClick(e){if(0!==this.swiperCurrent||"user"===e.data.type){this.multiple||(this.selectList=[]);for(var t=!1,i=0;i<this.selectList.length;i++)if(this.selectList[i].id==e.data.id){t=!0;break}!t&&this.selectList.push(e.data)}},delSelect(e){this.selectList.splice(e,1)},cleanAll(){this.selectList=[]},handleConfirm(){this.moving||(this.keyword="",this.$emit("confirm",this.selectList),this.close())},pickstart(){this.moving=!0},pickend(){this.moving=!1},filterNode(e,t){return!e||-1!==t[this.realProps.label].indexOf(e)},close(){this.$emit("close")},resetData(){this.list=[],this.pagination={currentPage:1,pageSize:20}}}};if(!Array){(e.resolveComponent("u-search")+e.resolveComponent("u-avatar")+e.resolveComponent("u-icon")+e.resolveComponent("u-tabs-swiper")+e.resolveComponent("ly-tree")+e.resolveComponent("u-button")+e.resolveComponent("u-popup"))()}Math||((()=>"../../../uni_modules/vk-uview-ui/components/u-search/u-search.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-avatar/u-avatar.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-icon/u-icon.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-tabs-swiper/u-tabs-swiper.js")+(()=>"../../ly-tree/ly-tree.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-button/u-button.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-popup/u-popup.js"))();const a=e._export_sfc(o,[["render",function(t,i,s,o,a,n){return e.e({a:e.o(((...e)=>n.close&&n.close(...e))),b:e.o((e=>n.search(a.swiperCurrent))),c:e.o((e=>a.keyword=e)),d:e.p({placeholder:"请输入关键词搜索",height:"72","show-action":!1,"bg-color":"#f0f2f6",shape:"square",modelValue:a.keyword}),e:s.clearable},s.clearable?{f:e.o(((...e)=>n.cleanAll&&n.cleanAll(...e)))}:{},{g:e.f(a.selectList,((t,i,s)=>({a:"a15763e8-2-"+s+",a15763e8-0",b:e.p({src:n.baseURL+t.headIcon,mode:"circle",size:"mini"}),c:e.t(t.fullName),d:e.o((e=>n.delSelect(i)),i),e:"a15763e8-3-"+s+",a15763e8-0",f:e.t(t.organize),g:i}))),h:e.p({name:"close"}),i:"all"!==s.selectType},(s.selectType,{}),{j:"all"===s.selectType},"all"===s.selectType?{k:e.sr("tabs","a15763e8-4,a15763e8-0"),l:e.o(n.change),m:e.p({activeColor:"#1890ff",list:a.tabsList,current:a.current,"is-scroll":!1,"show-bar":!1}),n:e.sr("tree","a15763e8-5,a15763e8-0"),o:e.o(n.handleNodeClick),p:e.p({"node-key":n.realProps.value,"expand-on-click-node":!0,"tree-data":a.options0,"check-on-click-node":!0,"show-checkbox":!1,"default-expand-all":!1,"highlight-current":!0,props:n.realProps,"show-node-icon":!0,"show-radio":!1,load:n.loadNode,lazy:!0}),q:e.sr("tree","a15763e8-6,a15763e8-0"),r:e.o(n.handleNodeClick),s:e.p({"node-key":n.realProps.value,"expand-on-click-node":!0,"check-on-click-node":!0,"show-checkbox":!1,"default-expand-all":!1,"highlight-current":!0,props:n.realProps,"show-node-icon":!0,"show-radio":!1,"tree-data":a.options}),t:e.sr("tree","a15763e8-7,a15763e8-0"),v:e.o(n.handleNodeClick),w:e.p({"node-key":n.realProps.value,"expand-on-click-node":!0,"check-on-click-node":!0,"show-checkbox":!1,"default-expand-all":!1,"highlight-current":!0,props:n.realProps,"show-node-icon":!0,"show-radio":!1,"tree-data":a.options}),x:a.swiperCurrent,y:e.o(((...e)=>n.transition&&n.transition(...e))),z:e.o(((...e)=>n.animationfinish&&n.animationfinish(...e)))}:e.e({A:e.f(a.list,((t,i,s)=>({a:"a15763e8-8-"+s+",a15763e8-0",b:e.p({src:n.baseURL+t.headIcon,mode:"circle",size:"default"}),c:e.t(t.fullName),d:e.t(t.organize),e:i,f:e.o((e=>n.onSelect(t)),i)}))),B:a.list.length<1},a.list.length<1?{C:a.noDataIcon}:{},{D:a.triggered,E:e.o(((...e)=>n.handleScrollToLower&&n.handleScrollToLower(...e)))}),{F:e.o((e=>n.close())),G:e.o(n.handleConfirm),H:e.p({type:"primary"}),I:e.o(n.close),J:e.o((e=>a.showPopup=e)),K:e.p({maskCloseAble:s.maskCloseAble,mode:"right",safeAreaInsetBottom:s.safeAreaInsetBottom,"z-index":n.uZIndex,width:"100%",modelValue:a.showPopup})})}],["__scopeId","data-v-a15763e8"]]);wx.createComponent(a);
{
"component": true,
"usingComponents": {
"ly-tree": "../../ly-tree/ly-tree",
"u-search": "../../../uni_modules/vk-uview-ui/components/u-search/u-search",
"u-avatar": "../../../uni_modules/vk-uview-ui/components/u-avatar/u-avatar",
"u-icon": "../../../uni_modules/vk-uview-ui/components/u-icon/u-icon",
"u-tabs-swiper": "../../../uni_modules/vk-uview-ui/components/u-tabs-swiper/u-tabs-swiper",
"u-button": "../../../uni_modules/vk-uview-ui/components/u-button/u-button",
"u-popup": "../../../uni_modules/vk-uview-ui/components/u-popup/u-popup"
}
}
\ No newline at end of file
<u-popup wx:if="{{K}}" u-s="{{['d']}}" class="jnpf-tree-select-popup data-v-a15763e8" bindclose="{{I}}" u-i="a15763e8-0" bind:__l="__l" bindupdateModelValue="{{J}}" u-p="{{K}}"><view class="jnpf-tree-select-body data-v-a15763e8"><view class="jnpf-tree-select-title data-v-a15763e8"><text class="icon-ym icon-ym-report-icon-preview-pagePre u-font-40 backIcon data-v-a15763e8" bindtap="{{a}}"></text><view class="title data-v-a15763e8">选择用户</view></view><view class="jnpf-tree-select-search data-v-a15763e8"><u-search wx:if="{{d}}" class="data-v-a15763e8" bindchange="{{b}}" u-i="a15763e8-1,a15763e8-0" bind:__l="__l" bindupdateModelValue="{{c}}" u-p="{{d}}"></u-search></view><view class="jnpf-tree-selected data-v-a15763e8"><view class="jnpf-tree-selected-head data-v-a15763e8"><view class="data-v-a15763e8">已选</view><view wx:if="{{e}}" class="clear-btn data-v-a15763e8" bindtap="{{f}}">清空列表</view></view><view class="jnpf-tree-selected-box data-v-a15763e8"><scroll-view class="data-v-a15763e8" scroll-y="true" style="max-height:240rpx"><view class="jnpf-tree-selected-list data-v-a15763e8"><view wx:for="{{g}}" wx:for-item="list" wx:key="g" class="u-selectTag data-v-a15763e8"><u-avatar wx:if="{{list.b}}" class="avatar data-v-a15763e8" u-i="{{list.a}}" bind:__l="__l" u-p="{{list.b}}"></u-avatar><view class="jnpf-tree-selected-content data-v-a15763e8"><view class="name-box data-v-a15763e8"><view class="name data-v-a15763e8">{{list.c}}</view><u-icon wx:if="{{h}}" class="close data-v-a15763e8" bindclick="{{list.d}}" u-i="{{list.e}}" bind:__l="__l" u-p="{{h}}"></u-icon></view><view class="organize data-v-a15763e8">{{list.f}}</view></view></view></view></scroll-view></view></view><view wx:if="{{i}}" class="listTitle data-v-a15763e8">全部数据</view><view wx:if="{{j}}" class="jnpf-user-content data-v-a15763e8"><u-tabs-swiper wx:if="{{m}}" class="r data-v-a15763e8" u-r="tabs" bindchange="{{l}}" u-i="a15763e8-4,a15763e8-0" bind:__l="__l" u-p="{{m}}"></u-tabs-swiper><swiper current="{{x}}" bindtransition="{{y}}" bindanimationfinish="{{z}}" class="swiper-box data-v-a15763e8"><swiper-item class="data-v-a15763e8"><scroll-view scroll-y="{{true}}" class="scroll-view data-v-a15763e8"><ly-tree wx:if="{{p}}" class="r data-v-a15763e8" u-r="tree" bindnodeClick="{{o}}" u-i="a15763e8-5,a15763e8-0" bind:__l="__l" u-p="{{p}}"/></scroll-view></swiper-item><swiper-item class="data-v-a15763e8"><scroll-view scroll-y="{{true}}" class="scroll-view data-v-a15763e8"><ly-tree wx:if="{{s}}" class="r data-v-a15763e8" u-r="tree" bindnodeClick="{{r}}" u-i="a15763e8-6,a15763e8-0" bind:__l="__l" u-p="{{s}}"/></scroll-view></swiper-item><swiper-item class="data-v-a15763e8"><scroll-view scroll-y="{{true}}" class="scroll-view data-v-a15763e8"><ly-tree wx:if="{{w}}" class="r data-v-a15763e8" u-r="tree" bindnodeClick="{{v}}" u-i="a15763e8-7,a15763e8-0" bind:__l="__l" u-p="{{w}}"/></scroll-view></swiper-item></swiper></view><view wx:else class="jnpf-tree-select-tree data-v-a15763e8"><scroll-view class="scroll-view data-v-a15763e8" refresher-enabled="{{false}}" refresher-threshold="{{100}}" scroll-with-animation="{{true}}" refresher-triggered="{{D}}" bindscrolltolower="{{E}}" scroll-y="{{true}}"><view class="lists_box data-v-a15763e8"><view wx:for="{{A}}" wx:for-item="list" wx:key="e" class="list-cell-txt u-border-bottom data-v-a15763e8" bindtap="{{list.f}}"><u-avatar wx:if="{{list.b}}" class="avatar data-v-a15763e8" u-i="{{list.a}}" bind:__l="__l" u-p="{{list.b}}"></u-avatar><view class="u-font-30 content data-v-a15763e8"><view class="data-v-a15763e8">{{list.c}}</view><view class="organize data-v-a15763e8">{{list.d}}</view></view></view><view wx:if="{{B}}" class="nodata u-flex-col data-v-a15763e8"><image src="{{C}}" mode="widthFix" class="noDataIcon data-v-a15763e8"></image> 暂无数据 </view></view></scroll-view></view><view class="jnpf-tree-select-actions data-v-a15763e8"><u-button u-s="{{['d']}}" class="buttom-btn data-v-a15763e8" bindclick="{{F}}" u-i="a15763e8-9,a15763e8-0" bind:__l="__l">取消</u-button><u-button wx:if="{{H}}" u-s="{{['d']}}" class="buttom-btn data-v-a15763e8" catchclick="{{G}}" u-i="a15763e8-10,a15763e8-0" bind:__l="__l" u-p="{{H}}">确定</u-button></view></view></u-popup>
\ No newline at end of file
.jnpf-user-content.data-v-a15763e8{flex:1;display:flex;flex-direction:column}.jnpf-user-content .swiper-box.data-v-a15763e8{flex:1}.listTitle.data-v-a15763e8{padding:10rpx 30rpx;font-size:32rpx}.scroll-view.data-v-a15763e8,.lists_box.data-v-a15763e8{height:100%}.lists_box .nodata.data-v-a15763e8{height:100%;margin:auto;align-items:center;justify-content:center;color:#909399}.lists_box .nodata .noDataIcon.data-v-a15763e8{width:300rpx;height:210rpx}.lists_box .list-cell-txt.data-v-a15763e8{display:flex;box-sizing:border-box;width:100%;padding:20rpx 32rpx;overflow:hidden;color:#606266;font-size:28rpx;line-height:24px;background-color:#fff}.lists_box .list-cell-txt .content.data-v-a15763e8{width:85%;margin-left:15rpx}.lists_box .list-cell-txt .content .organize.data-v-a15763e8{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lists_box .list-cell-txt .department.data-v-a15763e8{color:#9a9a9a}
"use strict";const e=require("../../../api/common.js"),t=require("../../../common/vendor.js"),l={components:{Tree:()=>"./Tree.js"},props:{modelValue:{default:""},options:{type:Array,default:()=>[]},ableIds:{type:Array,default:()=>[]},ableRelationIds:{type:[Array,String],default:()=>[]},selectType:{type:String,default:"all"},placeholder:{type:String,default:"请选择"},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},multiple:{type:Boolean,default:!1}},data:()=>({selectShow:!1,innerValue:"",selectedData:[],query:{}}),watch:{modelValue:{handler(e){this.setDefault()},immediate:!0}},methods:{setDefault(){if(!this.modelValue||!this.modelValue.length)return this.setNullValue();this.selectedData=[];const t=this.multiple?this.modelValue:[this.modelValue];Array.isArray(t)&&e.getUserInfoList(t).then((e=>{if(!this.modelValue||!this.modelValue.length)return this.setNullValue();const t=e.data.list;this.selectedData=t,this.innerValue=this.selectedData.map((e=>e.fullName)).join()}))},setNullValue(){this.innerValue="",this.selectedData=[]},openSelect(){if(!this.disabled){if(this.selectShow=!0,"custom"===this.selectType)this.query={ids:this.ableIds};else if("all"!=this.selectType){const e="--"+this.getAbleKey(this.selectType);let t=this.ableRelationIds?Array.isArray(this.ableRelationIds)?this.ableRelationIds:[this.ableRelationIds]:[];this.query={ids:t.map((t=>t+e))}}this.$refs.userTree.resetData()}},getAbleKey:e=>"dep"===e?"departIds":"pos"===e?"positionIds":"role"===e?"roleIds":"group"===e?"groupIds":void 0,handleClose(){this.selectShow=!1},handleConfirm(e){this.selectedData=e;let t="",l=[];for(let s=0;s<e.length;s++)t+=(t?",":"")+e[s].fullName,l.push(e[s].id);this.defaultValue=l,this.innerValue=t,this.multiple?(this.$emit("update:modelValue",l),this.$emit("change",l,e)):(this.$emit("update:modelValue",l[0]),this.$emit("change",l[0],e[0]))}}};if(!Array){(t.resolveComponent("u-input")+t.resolveComponent("Tree"))()}Math;const s=t._export_sfc(l,[["render",function(e,l,s,a,i,o){return{a:t.o(o.openSelect),b:t.o((e=>i.innerValue=e)),c:t.p({"input-align":"right",type:"select","select-open":i.selectShow,placeholder:s.placeholder,modelValue:i.innerValue}),d:t.sr("userTree","39d2e9ad-1"),e:t.o(o.handleClose),f:t.o(o.handleConfirm),g:t.o((e=>i.selectShow=e)),h:t.p({options:s.options,multiple:s.multiple,selectedData:i.selectedData,selectType:s.selectType,query:i.query,clearable:s.clearable,modelValue:i.selectShow})}}],["__scopeId","data-v-39d2e9ad"]]);wx.createComponent(s);
{
"component": true,
"usingComponents": {
"tree": "./Tree",
"u-input": "../../../uni_modules/vk-uview-ui/components/u-input/u-input"
}
}
\ No newline at end of file
<view class="jnpf-tree-select data-v-39d2e9ad"><u-input wx:if="{{c}}" class="data-v-39d2e9ad" bindclick="{{a}}" u-i="39d2e9ad-0" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}"/><tree wx:if="{{h}}" class="r data-v-39d2e9ad" u-r="userTree" bindclose="{{e}}" bindconfirm="{{f}}" u-i="39d2e9ad-1" bind:__l="__l" bindupdateModelValue="{{g}}" u-p="{{h}}"/></view>
\ No newline at end of file
"use strict";const e=require("../../../common/vendor.js"),t=require("../../../api/common.js"),i=require("../../../libs/resources.js"),s={label:"fullName",value:"id",icon:"icon",children:"children"},o={name:"tree-select",components:{LyTree:()=>"../../ly-tree/ly-tree.js",selectedBox:()=>"./selected-box.js"},props:{selectType:{type:String,default:"all"},clearable:{type:Boolean,default:!1},query:{type:Object,default:()=>({})},selectedData:{type:Array,default:()=>[]},modelValue:{type:Boolean,default:!1},zIndex:{type:[String,Number],default:999},safeAreaInsetBottom:{type:Boolean,default:!1},maskCloseAble:{type:Boolean,default:!0},props:{type:Object,default:()=>({label:"fullName",value:"id",icon:"icon",children:"children",isLeaf:"isLeaf"})},multiple:{type:Boolean,default:!1},title:{type:String,default:""}},data:()=>({noDataIcon:i.resources.message.nodata,triggered:!1,moving:!1,selectList:[],keyword:"",tabsList:[{name:"部门"},{name:"角色"},{name:"岗位"},{name:"分组"}],current:0,swiperCurrent:0,options:[],options0:[],list:[],pagination:{currentPage:1,pageSize:20},total:0,showPopup:!1,roleOption:[],posOption:[],groupOption:[]}),watch:{modelValue:{immediate:!0,handler(e){this.current=0,this.swiperCurrent=0,this.showPopup=e,e&&setTimeout((()=>this.init()),10)}}},computed:{baseURL(){return this.define.baseURL},uZIndex(){return this.zIndex?this.zIndex:this.$u.zIndex.popup},realProps(){return{...s,...this.props}}},created(){this._freshing=!1,setTimeout((()=>{this.triggered=!0}),1e3)},methods:{init(){this.pagination.currentPage=1,this.list=[],"all"!==this.selectType&&this.getSelectedUserList(),this.multiple&&"all"===this.selectType&&this.initData(),this.selectList=JSON.parse(JSON.stringify(this.selectedData))},initData(){t.getGroupSelector().then((e=>{this.groupOption=e.data})),t.getPositionSelector().then((e=>{this.posOption=e.data.list})),t.getRoleSelector().then((e=>{this.roleOption=e.data.list}))},filterNode(e,t){return!e||-1!==t[this.props.label].indexOf(e)},setSelectList(e){this.selectList=e},handleScrollToLower(){this.getSelectedUserList()},getSelectedUserList(){let i=this.query;delete i.ableDepIds,this.pagination.keyword=this.keyword,i.pagination=this.pagination,t.getSelectedUserList(i).then((t=>{const i=t.data.list;if(!i.length&&1!=this.pagination.currentPage)return e.index.showToast({title:"没有更多信息啦!",icon:"none"});this.list=this.list.concat(i),this.pagination.currentPage++}))},onSelect(e){this.multiple||(this.selectList=[]);let t=!1;for(let i=0;i<this.selectList.length;i++)if(this.selectList[i].id===e.id)return void(t=!0);!t&&this.selectList.push(e)},loadNode(e,i){0===e.level?t.getUserSelectorNew(e.level).then((e=>{i(e.data.list)})):t.getUserSelectorNew(e.data.id).then((e=>{const t=e.data.list;i(t)}))},change(e){this.swiperCurrent=e,this.keyword=""},search(e){this.searchTimer&&clearTimeout(this.searchTimer),this.searchTimer=setTimeout((()=>{if(this.pagination={currentPage:1,pageSize:20},"all"===this.selectType)0==this.swiperCurrent&&0==this.current?t.getUserSelectorNew(0,this.keyword).then((e=>{this.options0=e.data.list})):this.$nextTick((()=>{this.$refs.tree.filter(this.keyword)}));else{let e=this.query;this.pagination.keyword=this.keyword,e.pagination=this.pagination,t.getSelectedUserList(e).then((e=>{const t=e.data.list;this.list=t,this.pagination=e.data.pagination,this.total=this.pagination.total}))}}),300)},transition({detail:{dx:e}}){this.$refs.tabs.setDx(e)},animationfinish({detail:{current:e}}){this.$refs.tabs.setFinishCurrent(e),this.swiperCurrent=e,this.current=e},handleNodeClick(e){if(!(!this.multiple&&0==this.swiperCurrent&&"user"!==e.data.type||3==this.swiperCurrent&&0==e.data.type)&&e.data.type){this.multiple||(this.selectList=[]);for(var t=!1,i=0;i<this.selectList.length;i++)if(this.selectList[i].id==e.data.id){t=!0;break}!t&&this.selectList.push(e.data)}},delSelect(e){this.selectList.splice(e,1)},cleanAll(){this.selectList=[]},handleConfirm(){if(this.moving)return;this.keyword="";let e="",t=[];for(let i=0;i<this.selectList.length;i++)e=this.selectList[i].id+"--"+this.selectList[i].type,t.push(e);this.$emit("confirm",t,this.selectList),this.close()},close(){this.$emit("close")}}};if(!Array){(e.resolveComponent("u-search")+e.resolveComponent("selectedBox")+e.resolveComponent("u-tabs-swiper")+e.resolveComponent("ly-tree")+e.resolveComponent("u-avatar")+e.resolveComponent("u-button")+e.resolveComponent("u-popup"))()}Math||((()=>"../../../uni_modules/vk-uview-ui/components/u-search/u-search.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-tabs-swiper/u-tabs-swiper.js")+(()=>"../../ly-tree/ly-tree.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-avatar/u-avatar.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-button/u-button.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-popup/u-popup.js"))();const r=e._export_sfc(o,[["render",function(t,i,s,o,r,l){return e.e({a:e.o(((...e)=>l.close&&l.close(...e))),b:e.o((e=>l.search(r.swiperCurrent))),c:e.o((e=>r.keyword=e)),d:e.p({placeholder:"请输入关键词搜索",height:"72","show-action":!1,"bg-color":"#f0f2f6",shape:"square",modelValue:r.keyword}),e:e.sr("selectedBox","6345134d-2,6345134d-0"),f:e.o(l.setSelectList),g:e.p({clearable:s.clearable,selectList:r.selectList}),h:"all"!==s.selectType},(s.selectType,{}),{i:"all"===s.selectType},"all"===s.selectType?e.e({j:e.sr("tabs","6345134d-3,6345134d-0"),k:e.o(l.change),l:e.p({activeColor:"#1890ff",list:s.multiple?r.tabsList:[r.tabsList[0]],current:r.current,"is-scroll":!s.multiple,"show-bar":!1}),m:0==r.swiperCurrent},0==r.swiperCurrent?{n:e.sr("tree","6345134d-4,6345134d-0"),o:e.o(l.handleNodeClick),p:e.p({"node-key":l.realProps.value,"tree-data":r.options0,"highlight-current":!0,props:l.realProps,"show-node-icon":!0,load:l.loadNode,"default-expand-all":!1,lazy:!0,expandOnClickNode:!s.multiple})}:{},{q:s.multiple},s.multiple?e.e({r:1==r.swiperCurrent},1==r.swiperCurrent?{s:e.sr("tree","6345134d-5,6345134d-0"),t:e.o(l.handleNodeClick),v:e.p({"node-key":l.realProps.value,"tree-data":r.roleOption,"highlight-current":!0,props:l.realProps,ready:!!r.roleOption.length,"filter-node-method":l.filterNode,expandOnClickNode:!1,"show-node-icon":!0})}:{}):{},{w:s.multiple},s.multiple?e.e({x:2==r.swiperCurrent},2==r.swiperCurrent?{y:e.sr("tree","6345134d-6,6345134d-0"),z:e.o(l.handleNodeClick),A:e.p({"node-key":l.realProps.value,"tree-data":r.posOption,"highlight-current":!0,props:l.realProps,ready:!!r.posOption.length,"filter-node-method":l.filterNode,expandOnClickNode:!1,"show-node-icon":!0})}:{}):{},{B:s.multiple},s.multiple?e.e({C:3==r.swiperCurrent},3==r.swiperCurrent?{D:e.sr("tree","6345134d-7,6345134d-0"),E:e.o(l.handleNodeClick),F:e.p({"node-key":l.realProps.value,"tree-data":r.groupOption,"highlight-current":!0,props:l.realProps,ready:!!r.groupOption.length,"filter-node-method":l.filterNode,expandOnClickNode:!1,"show-node-icon":!0})}:{}):{},{G:r.swiperCurrent,H:e.o(((...e)=>l.transition&&l.transition(...e))),I:e.o(((...e)=>l.animationfinish&&l.animationfinish(...e)))}):e.e({J:e.f(r.list,((t,i,s)=>({a:"6345134d-8-"+s+",6345134d-0",b:e.p({src:l.baseURL+t.headIcon,mode:"circle",size:"default"}),c:e.t(t.fullName),d:e.t(t.organize),e:i,f:e.o((e=>l.onSelect(t)),i)}))),K:!r.list.length},r.list.length?{}:{L:r.noDataIcon},{M:r.triggered,N:e.o(((...e)=>l.handleScrollToLower&&l.handleScrollToLower(...e)))}),{O:e.o(l.close),P:e.o(l.handleConfirm),Q:e.p({type:"primary"}),R:e.o(l.close),S:e.o((e=>r.showPopup=e)),T:e.p({maskCloseAble:s.maskCloseAble,mode:"right",safeAreaInsetBottom:s.safeAreaInsetBottom,"z-index":l.uZIndex,width:"100%",modelValue:r.showPopup})})}],["__scopeId","data-v-6345134d"]]);wx.createComponent(r);
{
"component": true,
"usingComponents": {
"selected-box": "./selected-box",
"ly-tree": "../../ly-tree/ly-tree",
"u-search": "../../../uni_modules/vk-uview-ui/components/u-search/u-search",
"u-tabs-swiper": "../../../uni_modules/vk-uview-ui/components/u-tabs-swiper/u-tabs-swiper",
"u-avatar": "../../../uni_modules/vk-uview-ui/components/u-avatar/u-avatar",
"u-button": "../../../uni_modules/vk-uview-ui/components/u-button/u-button",
"u-popup": "../../../uni_modules/vk-uview-ui/components/u-popup/u-popup"
}
}
\ No newline at end of file
<u-popup wx:if="{{T}}" u-s="{{['d']}}" class="jnpf-tree-select-popup data-v-6345134d" bindclose="{{R}}" u-i="6345134d-0" bind:__l="__l" bindupdateModelValue="{{S}}" u-p="{{T}}"><view class="jnpf-tree-select-body data-v-6345134d"><view class="jnpf-tree-select-title data-v-6345134d"><text class="icon-ym icon-ym-report-icon-preview-pagePre u-font-40 backIcon data-v-6345134d" bindtap="{{a}}"></text><view class="title data-v-6345134d">选择用户</view></view><view class="jnpf-tree-select-search data-v-6345134d"><u-search wx:if="{{d}}" class="data-v-6345134d" bindchange="{{b}}" u-i="6345134d-1,6345134d-0" bind:__l="__l" bindupdateModelValue="{{c}}" u-p="{{d}}"></u-search></view><selected-box wx:if="{{g}}" class="r data-v-6345134d" u-r="selectedBox" bindsetSelectList="{{f}}" u-i="6345134d-2,6345134d-0" bind:__l="__l" u-p="{{g}}"></selected-box><view wx:if="{{h}}" class="u-p-l-32 u-p-r-32 data-v-6345134d">全部数据</view><view wx:if="{{i}}" class="jnpf-user-content data-v-6345134d"><view class="search-box_sticky u-userSelect_sticky data-v-6345134d"><u-tabs-swiper wx:if="{{l}}" class="r data-v-6345134d" u-r="tabs" bindchange="{{k}}" u-i="6345134d-3,6345134d-0" bind:__l="__l" u-p="{{l}}"></u-tabs-swiper></view><swiper current="{{G}}" bindtransition="{{H}}" bindanimationfinish="{{I}}" class="swiper-box data-v-6345134d"><swiper-item class="data-v-6345134d"><scroll-view scroll-y="{{true}}" class="scroll-view data-v-6345134d"><ly-tree wx:if="{{m}}" class="r data-v-6345134d" u-r="tree" bindnodeClick="{{o}}" u-i="6345134d-4,6345134d-0" bind:__l="__l" u-p="{{p}}"/></scroll-view></swiper-item><swiper-item wx:if="{{q}}" class="data-v-6345134d"><scroll-view scroll-y="{{true}}" class="scroll-view data-v-6345134d"><ly-tree wx:if="{{r}}" class="r data-v-6345134d" u-r="tree" bindnodeClick="{{t}}" u-i="6345134d-5,6345134d-0" bind:__l="__l" u-p="{{v}}"/></scroll-view></swiper-item><swiper-item wx:if="{{w}}" class="data-v-6345134d"><scroll-view scroll-y="{{true}}" class="scroll-view data-v-6345134d"><ly-tree wx:if="{{x}}" class="r data-v-6345134d" u-r="tree" bindnodeClick="{{z}}" u-i="6345134d-6,6345134d-0" bind:__l="__l" u-p="{{A}}"/></scroll-view></swiper-item><swiper-item wx:if="{{B}}" class="data-v-6345134d"><scroll-view scroll-y="{{true}}" class="scroll-view data-v-6345134d"><ly-tree wx:if="{{C}}" class="r data-v-6345134d" u-r="tree" bindnodeClick="{{E}}" u-i="6345134d-7,6345134d-0" bind:__l="__l" u-p="{{F}}"/></scroll-view></swiper-item></swiper></view><view wx:else class="jnpf-tree-select-tree data-v-6345134d"><scroll-view id="scroll-view-h" class="scroll-view data-v-6345134d" refresher-enabled="{{false}}" refresher-threshold="{{100}}" scroll-with-animation="{{true}}" refresher-triggered="{{M}}" bindscrolltolower="{{N}}" scroll-y="{{true}}"><view class="lists_box data-v-6345134d"><view wx:for="{{J}}" wx:for-item="list" wx:key="e" class="list-cell-txt u-border-bottom data-v-6345134d" bindtap="{{list.f}}"><view class="avatar data-v-6345134d"><u-avatar wx:if="{{list.b}}" class="data-v-6345134d" u-i="{{list.a}}" bind:__l="__l" u-p="{{list.b}}"></u-avatar></view><view class="u-font-30 content data-v-6345134d"><view class="data-v-6345134d">{{list.c}}</view><view class="organize data-v-6345134d">{{list.d}}</view></view></view><view wx:if="{{K}}" class="nodata u-flex-col data-v-6345134d"><image src="{{L}}" mode="widthFix" class="noDataIcon data-v-6345134d"></image> 暂无数据 </view></view></scroll-view></view><view class="jnpf-tree-select-actions data-v-6345134d"><u-button u-s="{{['d']}}" class="buttom-btn data-v-6345134d" bindclick="{{O}}" u-i="6345134d-9,6345134d-0" bind:__l="__l">取消</u-button><u-button wx:if="{{Q}}" u-s="{{['d']}}" class="buttom-btn data-v-6345134d" catchclick="{{P}}" u-i="6345134d-10,6345134d-0" bind:__l="__l" u-p="{{Q}}">确定</u-button></view></view></u-popup>
\ No newline at end of file
.jnpf-user-content.data-v-6345134d{flex:1;display:flex;flex-direction:column}.jnpf-user-content .swiper-box.data-v-6345134d{flex:1}.scroll-view.data-v-6345134d,.lists_box.data-v-6345134d{height:100%}.lists_box .nodata.data-v-6345134d{height:100%;margin:auto;align-items:center;justify-content:center;color:#909399}.lists_box .nodata .noDataIcon.data-v-6345134d{width:300rpx;height:210rpx}.lists_box .list-cell-txt.data-v-6345134d{display:flex;box-sizing:border-box;width:100%;padding:20rpx 32rpx;overflow:hidden;color:#606266;font-size:28rpx;line-height:24px;background-color:#fff}.lists_box .list-cell-txt .content.data-v-6345134d{width:85%;margin-left:15rpx}.lists_box .list-cell-txt .content .organize.data-v-6345134d{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lists_box .list-cell-txt .department.data-v-6345134d{color:#9a9a9a}
"use strict";const e=require("../../../api/common.js"),t=require("../../../common/vendor.js"),l={components:{Tree:()=>"./Tree.js"},props:{modelValue:{default:""},options:{type:Array,default:()=>[]},ableDepIds:{type:Array,default:()=>[]},ableIds:{type:Array,default:()=>[]},selectType:{type:String,default:"all"},placeholder:{type:String,default:"请选择"},props:{type:Object,default:()=>({label:"fullName",value:"id",children:"children",isLeaf:"isLeaf"})},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},multiple:{type:Boolean,default:!1}},data(){return{selectShow:!1,innerValue:"",selectedData:[],query:{ids:this.ableIds}}},watch:{modelValue:{handler(e){this.getSelectedList(e)},immediate:!0}},methods:{openSelect(){this.disabled||(this.selectShow=!0)},getSelectedList(t){if(!t||!t.length)return this.innerValue="",void(this.selectedData=[]);let l=this.multiple?t:[t];e.getSelectedList(l).then((e=>{let t=e.data.list||[],l="";for(let a=0;a<t.length;a++)l+=(a?",":"")+t[a].fullName,t[a].id,t[a].type,this.multiple;this.innerValue=l,this.selectedData=t}))},handleClose(){this.selectShow=!1},handleConfirm(e,t){this.multiple?(this.$emit("update:modelValue",e),this.$emit("change",e,t)):(this.$emit("update:modelValue",e[0]),this.$emit("change",e[0],t[0]))}}};if(!Array){(t.resolveComponent("u-input")+t.resolveComponent("Tree"))()}Math;const a=t._export_sfc(l,[["render",function(e,l,a,o,s,i){return{a:t.o(i.openSelect),b:t.o((e=>s.innerValue=e)),c:t.p({"input-align":"right",type:"select","select-open":s.selectShow,placeholder:a.placeholder,modelValue:s.innerValue}),d:t.o(i.handleClose),e:t.o(i.handleConfirm),f:t.o((e=>s.selectShow=e)),g:t.p({options:a.options,multiple:a.multiple,props:a.props,selectedData:s.selectedData,selectType:a.selectType,query:s.query,clearable:a.clearable,modelValue:s.selectShow})}}],["__scopeId","data-v-c9bde10e"]]);wx.createComponent(a);
{
"component": true,
"usingComponents": {
"tree": "./Tree",
"u-input": "../../../uni_modules/vk-uview-ui/components/u-input/u-input"
}
}
\ No newline at end of file
<view class="jnpf-tree-select data-v-c9bde10e"><u-input wx:if="{{c}}" class="data-v-c9bde10e" bindclick="{{a}}" u-i="c9bde10e-0" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}"/><tree wx:if="{{g}}" class="data-v-c9bde10e" bindclose="{{d}}" bindconfirm="{{e}}" u-i="c9bde10e-1" bind:__l="__l" bindupdateModelValue="{{f}}" u-p="{{g}}"/></view>
\ No newline at end of file
"use strict";const e=require("../../../common/vendor.js"),t={props:{clearable:{type:Boolean,default:!1},selectList:{type:Array,default:()=>[]}},data:()=>({list:[]}),watch:{selectList(e){this.list=e}},computed:{baseURL(){return this.define.baseURL}},methods:{clean(e){"all"===e?this.list=[]:this.list.splice(e,1),this.$emit("setSelectList",this.list)}}};if(!Array){(e.resolveComponent("u-avatar")+e.resolveComponent("u-icon"))()}Math||((()=>"../../../uni_modules/vk-uview-ui/components/u-avatar/u-avatar.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-icon/u-icon.js"))();const s=e._export_sfc(t,[["render",function(t,s,a,i,l,c){return e.e({a:a.clearable},a.clearable?{b:e.o((e=>c.clean("all")))}:{},{c:e.f(l.list,((t,s,a)=>e.e({a:"user"===t.type},"user"===t.type?{b:"45bf4fcc-0-"+a,c:e.p({src:c.baseURL+t.headIcon,mode:"circle",size:"mini"})}:{d:e.t(t.fullName.substring(0,1))},{e:e.t(t.fullName),f:e.o((e=>c.clean(s)),s),g:"45bf4fcc-1-"+a,h:e.t(t.organize),i:s}))),d:e.p({name:"close"})})}]]);wx.createComponent(s);
{
"component": true,
"usingComponents": {
"u-avatar": "../../../uni_modules/vk-uview-ui/components/u-avatar/u-avatar",
"u-icon": "../../../uni_modules/vk-uview-ui/components/u-icon/u-icon"
}
}
\ No newline at end of file
<view class="alreadySelect"><view class="alreadySelect__box u-flex-col"><view class="alreadySelect_hd u-flex u-p-l-32 u-p-r-32"><view>已选</view><view wx:if="{{a}}" bindtap="{{b}}" style="color:#2979ff">清空列表</view></view><view class="select__box u-flex-col" id="box"><scroll-view scroll-y="true" style="max-height:240rpx"><view class="u-flex select__list"><view wx:for="{{c}}" wx:for-item="item" wx:key="i" class="u-selectTag u-flex"><view class="avatar"><u-avatar wx:if="{{item.a}}" u-i="{{item.b}}" bind:__l="__l" u-p="{{item.c}}"></u-avatar><view wx:else class="selected-item-icon">{{item.d}}</view></view><view class="u-font-24 select__content"><view class="nameSty u-flex"><view class="nameUp">{{item.e}}</view><u-icon wx:if="{{d}}" class="close" bindclick="{{item.f}}" u-i="{{item.g}}" bind:__l="__l" u-p="{{d}}"></u-icon></view><view class="organizeSty">{{item.h}}</view></view></view></view></scroll-view></view></view></view>
\ No newline at end of file
.alreadySelect{width:100%}.alreadySelect .alreadySelect__box .alreadySelect_hd{width:100%;height:60rpx;justify-content:space-between}.alreadySelect .alreadySelect__box .select__box{width:100%;justify-content:center;padding:0 10px}.alreadySelect .alreadySelect__box .select__box .select__list{justify-content:flex-start;flex-wrap:wrap;border-bottom:1rpx solid #c0c4cc}.alreadySelect .alreadySelect__box .select__box .select__list .avatar{margin-top:8rpx}.alreadySelect .alreadySelect__box .select__box .select__list .selected-item-icon{height:70rpx;width:70rpx;background:linear-gradient(193deg,#a7d6ff,#1990fa);border-radius:50%;line-height:70rpx;color:#fff;font-size:28rpx;text-align:center;margin-bottom:8rpx}.alreadySelect .alreadySelect__box .select__box .select__list .u-selectTag{width:calc(50% - 20rpx);border:1px solid #2194fa;background-color:#e8f4fe;line-height:40rpx;margin:10rpx;padding-left:10rpx;align-items:center;border-radius:8rpx}.alreadySelect .alreadySelect__box .select__box .select__list .u-selectTag .select__content{width:74%;margin-left:10rpx}.alreadySelect .alreadySelect__box .select__box .select__list .u-selectTag .select__content .nameSty{color:#353535}.alreadySelect .alreadySelect__box .select__box .select__list .u-selectTag .select__content .nameSty .nameUp{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.alreadySelect .alreadySelect__box .select__box .select__list .u-selectTag .select__content .nameSty .close{width:26px;justify-content:flex-end;color:#2194fa;margin-right:8rpx;flex:1}.alreadySelect .alreadySelect__box .select__box .select__list .u-selectTag .select__content .organizeSty{height:40rpx;color:#a0a1a1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.alreadySelect .alreadySelect__box .select__box .select__list .u-size-default{padding:6rpx 12rpx}
"use strict";const e=require("../common/vendor.js"),t=require("../libs/resources.js"),l={name:"JnpfMultSelect",props:{list:{type:Array,default:()=>[]},multiple:{type:Boolean,default:!1},filterable:{type:Boolean,default:!1},show:{type:Boolean,default:!1},cancelColor:{type:String,default:"#606266"},confirmColor:{type:String,default:"#2979ff"},safeAreaInsetBottom:{type:Boolean,default:!1},maskCloseAble:{type:Boolean,default:!0},defaultValue:{type:Array,default:()=>[]},labelName:{type:String,default:"fullName"},valueName:{type:String,default:"id"},title:{type:String,default:""},cancelText:{type:String,default:"取消"},confirmText:{type:String,default:"确认"},isFlow:{type:Boolean,default:!1}},data:()=>({columnData:[],innerValue:[],lastSelectIndex:[],showPopup:!1,checkedValue:"",searchValue:"",columnData:[],icon:t.resources.message.nodata}),watch:{show:{handler(e){this.showPopup=e,e&&setTimeout((()=>this.init()),10)},immediate:!0}},computed:{columnList(){return this.columnData.filter((e=>e[this.labelName]&&e[this.labelName].match(this.searchValue)))}},methods:{init(){this.setColumnData(),this.setDefault()},setColumnData(){this.columnData=this.list.map(((e,t)=>({...e,checked:!1})))},setDefault(){if(this.searchValue="",this.checkedValue="",this.multiple){this.innerValue=this.defaultValue;for(let e=0;e<this.innerValue.length;e++)e:for(let t=0;t<this.columnData.length;t++)if(this.innerValue[e]===this.columnData[t][this.valueName]){this.columnData[t].checked=!0;break e}}else for(let e=0;e<this.columnData.length;e++)this.defaultValue[0]===this.columnData[e][this.valueName]&&(this.checkedValue=this.columnData[e][this.valueName],this.innerValue=this.columnData[e])},radioGroupChange(e,t){this.innerValue=[{index:t,...e,checked:!0}]},handleConfirm(){if(this.multiple){let t={indexs:[],list:[],label:"",value:e.index.$u.deepClone(this.innerValue)};if(!this.isFlow)for(let l=0;l<this.columnData.length;l++){const a=this.columnData[l];this.columnData[l].checked&&(t.list.push(e.index.$u.deepClone(a)),t.indexs.push(l),t.label?t.label+=","+a[this.labelName]:t.label+=a[this.labelName])}this.$emit("confirm",t)}else{if(this.isFlow&&!this.innerValue.length)return this.$u.toast("请选择流程");this.$emit("confirm",this.innerValue)}this.close()},close(){this.$emit("close")}}};if(!Array){(e.resolveComponent("u-search")+e.resolveComponent("u-checkbox")+e.resolveComponent("u-checkbox-group")+e.resolveComponent("u-radio")+e.resolveComponent("u-radio-group")+e.resolveComponent("u-popup"))()}Math||((()=>"../uni_modules/vk-uview-ui/components/u-search/u-search.js")+(()=>"../uni_modules/vk-uview-ui/components/u-checkbox/u-checkbox.js")+(()=>"../uni_modules/vk-uview-ui/components/u-checkbox-group/u-checkbox-group.js")+(()=>"../uni_modules/vk-uview-ui/components/u-radio/u-radio.js")+(()=>"../uni_modules/vk-uview-ui/components/u-radio-group/u-radio-group.js")+(()=>"../uni_modules/vk-uview-ui/components/u-popup/u-popup.js"))();const a=e._export_sfc(l,[["render",function(t,l,a,o,u,i){return e.e({a:e.t(a.cancelText),b:a.cancelColor,c:e.o((e=>i.close())),d:e.t(a.title),e:e.t(a.confirmText),f:a.confirmColor,g:e.o((()=>{})),h:e.o((e=>i.handleConfirm())),i:e.o((()=>{})),j:a.isFlow||a.filterable},a.isFlow||a.filterable?{k:e.o((e=>u.searchValue=e)),l:e.p({placeholder:"请输入关键词搜索",height:"72","show-action":!1,"bg-color":"#f0f2f6",shape:"square",modelValue:u.searchValue})}:{},{m:a.multiple},a.multiple?{n:e.f(i.columnList,((t,l,o)=>({a:e.t(t[a.labelName]),b:l,c:"fd3af5ac-3-"+o+",fd3af5ac-2",d:e.o((e=>t.checked=e),l),e:e.p({name:t[a.valueName],modelValue:t.checked})}))),o:e.o((e=>u.innerValue=e)),p:e.p({modelValue:u.innerValue})}:{q:e.f(i.columnList,((t,l,o)=>({a:e.t(t[a.labelName]),b:e.o((e=>i.radioGroupChange(t,l)),l),c:l,d:"fd3af5ac-5-"+o+",fd3af5ac-4",e:e.p({name:t[a.valueName]})}))),r:e.o((e=>u.checkedValue=e)),s:e.p({wrap:!0,modelValue:u.checkedValue})},{t:!i.columnList.length},i.columnList.length?{}:{v:u.icon},{w:e.o(i.close),x:e.o((e=>u.showPopup=e)),y:e.p({maskCloseAble:a.maskCloseAble,mode:"bottom",safeAreaInsetBottom:a.safeAreaInsetBottom,"mask-close-able":!1,modelValue:u.showPopup})})}],["__scopeId","data-v-fd3af5ac"]]);wx.createComponent(a);
{
"component": true,
"usingComponents": {
"u-search": "../uni_modules/vk-uview-ui/components/u-search/u-search",
"u-checkbox": "../uni_modules/vk-uview-ui/components/u-checkbox/u-checkbox",
"u-checkbox-group": "../uni_modules/vk-uview-ui/components/u-checkbox-group/u-checkbox-group",
"u-radio": "../uni_modules/vk-uview-ui/components/u-radio/u-radio",
"u-radio-group": "../uni_modules/vk-uview-ui/components/u-radio-group/u-radio-group",
"u-popup": "../uni_modules/vk-uview-ui/components/u-popup/u-popup"
}
}
\ No newline at end of file
<u-popup wx:if="{{y}}" class="data-v-fd3af5ac" u-s="{{['d']}}" bindclose="{{w}}" u-i="fd3af5ac-0" bind:__l="__l" bindupdateModelValue="{{x}}" u-p="{{y}}"><view class="u-select data-v-fd3af5ac"><view class="u-select__header data-v-fd3af5ac" catchtouchmove="{{i}}"><view class="u-select__header__cancel u-select__header__btn data-v-fd3af5ac" style="{{'color:' + b}}" hover-class="u-hover-class" hover-stay-time="{{150}}" bindtap="{{c}}">{{a}}</view><view class="u-select__header__title data-v-fd3af5ac">{{d}}</view><view class="u-select__header__confirm u-select__header__btn data-v-fd3af5ac" style="{{'color:' + f}}" hover-class="u-hover-class" hover-stay-time="{{150}}" catchtouchmove="{{g}}" catchtap="{{h}}">{{e}}</view></view><view wx:if="{{j}}" class="search-box_sticky data-v-fd3af5ac"><view class="search-box data-v-fd3af5ac"><u-search wx:if="{{l}}" class="data-v-fd3af5ac" u-i="fd3af5ac-1,fd3af5ac-0" bind:__l="__l" bindupdateModelValue="{{k}}" u-p="{{l}}"></u-search></view></view><view class="u-select__body u-select__body__multiple data-v-fd3af5ac"><scroll-view class="data-v-fd3af5ac" scroll-y="{{true}}" style="height:100%"><u-checkbox-group wx:if="{{m}}" class="data-v-fd3af5ac" u-s="{{['d']}}" u-i="fd3af5ac-2,fd3af5ac-0" bind:__l="__l" bindupdateModelValue="{{o}}" u-p="{{p}}"><u-checkbox wx:for="{{n}}" wx:for-item="item" wx:key="b" class="data-v-fd3af5ac" u-s="{{['d']}}" u-i="{{item.c}}" bind:__l="__l" bindupdateModelValue="{{item.d}}" u-p="{{item.e}}">{{item.a}}</u-checkbox></u-checkbox-group><u-radio-group wx:else class="data-v-fd3af5ac" u-s="{{['d']}}" u-i="fd3af5ac-4,fd3af5ac-0" bind:__l="__l" bindupdateModelValue="{{r}}" u-p="{{s||''}}"><u-radio wx:for="{{q}}" wx:for-item="item" wx:key="c" class="data-v-fd3af5ac" u-s="{{['d']}}" bindchange="{{item.b}}" u-i="{{item.d}}" bind:__l="__l" u-p="{{item.e}}">{{item.a}}</u-radio></u-radio-group><view wx:if="{{t}}" class="notData-box u-flex-col data-v-fd3af5ac"><view class="u-flex-col notData-inner data-v-fd3af5ac"><image src="{{v}}" mode="" class="iconImg data-v-fd3af5ac"></image></view><text class="notData-inner-text data-v-fd3af5ac">暂无数据</text></view></scroll-view></view></view></u-popup>
\ No newline at end of file
.notData-box.data-v-fd3af5ac{width:100%;height:100%;justify-content:center;align-items:center;margin-top:-50px}.notData-box .notData-inner.data-v-fd3af5ac{width:286rpx;height:222rpx;align-items:center}.notData-box .notData-inner .iconImg.data-v-fd3af5ac{width:100%!important;height:100%!important}.notData-box .notData-inner-text.data-v-fd3af5ac{color:#909399}.u-select__header.data-v-fd3af5ac{display:flex;flex-direction:row;align-items:center;justify-content:space-between;height:40px;padding:0 20px;position:relative}.u-select__header.data-v-fd3af5ac :after{content:"";position:absolute;border-bottom:.5px solid #eaeef1;transform:scaleY(.5);bottom:0;right:0;left:0}.u-select__body.data-v-fd3af5ac{width:100%;height:500rpx;overflow:hidden;background-color:#fff}.u-select__body__picker-view.data-v-fd3af5ac{height:100%;box-sizing:border-box}.u-select__body__picker-view__item.data-v-fd3af5ac{display:flex;align-items:center;justify-content:center;font-size:32rpx;padding:0 8rpx}.u-select__body .u-checkbox-group.data-v-fd3af5ac{padding:0 30rpx}.u-select__body .u-checkbox-group .u-checkbox.data-v-fd3af5ac{height:25px;line-height:25px;width:100%!important;display:flex;margin:6rpx 0}.u-select__body .u-checkbox-group .u-checkbox.data-v-fd3af5ac uni-text{flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
"use strict";const e=require("../../../common/vendor.js"),n={data:()=>({classObj:{}}),props:{type:{type:String,validator:e=>"radio"===e||"checkbox"===e},checked:Boolean,disabled:Boolean,indeterminate:Boolean},created(){this.classObj={wrapper:`ly-${this.type}`,input:`ly-${this.type}__input`,inner:`ly-${this.type}__inner`}},methods:{handleClick(){this.$emit("check",this.checked)}}};const t=e._export_sfc(n,[["render",function(n,t,i,s,c,a){return{a:e.n(c.classObj.inner),b:e.n(c.classObj.input),c:e.n({"is-indeterminate":i.indeterminate,"is-checked":i.checked,"is-disabled":i.disabled}),d:e.n(c.classObj.wrapper),e:e.o(((...e)=>a.handleClick&&a.handleClick(...e)))}}]]);wx.createComponent(t);
{
"component": true,
"usingComponents": {}
}
\ No newline at end of file
<text class="{{d}}" catchtap="{{e}}"><text class="{{[b, c]}}"><text class="{{a}}"></text></text></text>
\ No newline at end of file
.ly-checkbox,.ly-radio{color:#606266;font-weight:500;font-size:28rpx;cursor:pointer;-webkit-user-select:none;user-select:none;padding-right:16rpx}.ly-checkbox__input,.ly-radio__input{cursor:pointer;outline:0;line-height:1;vertical-align:middle}.ly-checkbox__input.is-disabled .ly-checkbox__inner,.ly-radio__input.is-disabled .ly-radio__inner{background-color:#edf2fc;border-color:#dcdfe6;cursor:not-allowed}.ly-checkbox__input.is-disabled .ly-checkbox__inner:after,.ly-radio__input.is-disabled .ly-radio__inner:after{cursor:not-allowed;border-color:#c0c4cc}.ly-checkbox__input.is-disabled .ly-checkbox__inner+.ly-checkbox__label,.ly-radio__input.is-disabled .ly-radio__inner+.ly-radio__label{cursor:not-allowed}.ly-checkbox__input.is-disabled.is-checked .ly-checkbox__inner,.ly-radio__input.is-disabled.is-checked .ly-radio__inner{background-color:#f2f6fc;border-color:#dcdfe6}.ly-checkbox__input.is-disabled.is-checked .ly-checkbox__inner:after,.ly-radio__input.is-disabled.is-checked .ly-radio__inner:after{border-color:#c0c4cc}.ly-checkbox__input.is-disabled.is-indeterminate .ly-checkbox__inner{background-color:#f2f6fc;border-color:#dcdfe6}.ly-checkbox__input.is-disabled.is-indeterminate .ly-checkbox__inner:before{background-color:#c0c4cc;border-color:#c0c4cc}.ly-checkbox__input.is-checked .ly-checkbox__inner,.ly-radio__input.is-checked .ly-radio__inner,.ly-checkbox__input.is-indeterminate .ly-checkbox__inner{background-color:#409eff;border-color:#409eff}.ly-checkbox__input.is-disabled+text.ly-checkbox__label,.ly-radio__input.is-disabled+text.ly-radio__label{color:#c0c4cc;cursor:not-allowed}.ly-checkbox__input.is-checked .ly-checkbox__inner:after,.ly-radio__input.is-checked .ly-radio__inner:after{transform:rotate(45deg) scaleY(1)}.ly-checkbox__input.is-checked+.ly-checkbox__label,.ly-radio__input.is-checked+.ly-radio__label{color:#409eff}.ly-checkbox__input.is-focus .ly-checkbox__inner,.ly-radio__input.is-focus .ly-radio__inner{border-color:#409eff}.ly-checkbox__input.is-indeterminate .ly-checkbox__inner:before{content:"";position:absolute;display:block;background-color:#fff;height:6rpx;transform:scale(.5);left:0;right:0;top:10rpx}.ly-checkbox__input.is-indeterminate .ly-checkbox__inner:after{display:none}.ly-checkbox__inner,.ly-radio__inner{display:inline-block;position:relative;border:2rpx solid #DCDFE6;border-radius:4rpx;box-sizing:border-box;width:28rpx;height:28rpx;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.ly-radio__inner{border-radius:50%;width:34rpx!important;height:34rpx!important}.ly-checkbox__inner:after,.ly-radio__inner:after{box-sizing:content-box;content:"";border:2rpx solid #FFF;border-left:0;border-top:0;height:14rpx;left:10rpx;position:absolute;top:2rpx;transform:rotate(45deg) scaleY(0);width:6rpx;transition:transform .15s ease-in .05s;transform-origin:center}.ly-radio__inner:after{left:12rpx!important;top:6rpx!important}
"use strict";const e=require("../../common/vendor.js"),d=require("./tool/util.js"),t={name:"LyTreeNode",componentName:"LyTreeNode",components:{lyCheckbox:()=>"./components/ly-checkbox.js"},props:{nodeId:[Number,String],renderAfterExpand:{type:Boolean,default:!0},checkOnlyLeaf:{type:Boolean,default:!1},showCheckbox:{type:Boolean,default:!1},showRadio:{type:Boolean,default:!1},indent:Number,iconClass:String},data:()=>({node:{indeterminate:!1,checked:!1,expanded:!1},expanded:!1,childNodeRendered:!1,oldChecked:null,oldIndeterminate:null,highlightCurrent:!1}),inject:["tree"],computed:{checkboxVisible(){return this.checkOnlyLeaf?this.showCheckbox&&this.node.isLeaf:this.showCheckbox},radioVisible(){return this.checkOnlyLeaf?this.showRadio&&this.node.isLeaf:this.showRadio}},watch:{"node.indeterminate"(e){this.handleSelectChange(this.node.checked,e)},"node.checked"(e){this.handleSelectChange(e,this.node.indeterminate)},"node.expanded"(e){this.$nextTick((()=>this.expanded=e)),e&&(this.childNodeRendered=!0)}},methods:{getNodeKey(e){let t=this.tree.store.root.getChildNodes([e])[0];return d.getNodeKey(this.tree.nodeKey,t.data)},handleSelectChange(e,d){if(this.oldChecked!==e&&this.oldIndeterminate!==d){if(this.checkOnlyLeaf&&!this.node.isLeaf)return;if(this.checkboxVisible){const t=this.tree.store._getAllNodes();this.tree.$emit("check-change",{checked:e,indeterminate:d,node:this.node,data:this.node.data,checkedall:t.every((e=>e.checked))})}else this.tree.$emit("radio-change",{checked:e,node:this.node,data:this.node.data,checkedall:!1})}!this.expanded&&this.tree.expandOnCheckNode&&e&&this.handleExpandIconClick(),this.oldChecked=e,this.indeterminate=d},handleClick(){this.tree.store.setCurrentNode(this.node),this.tree.$emit("current-change",{node:this.node,data:this.tree.store.currentNode?this.tree.store.currentNode.data:null,currentNode:this.tree.store.currentNode}),this.tree.currentNode=this.node,this.tree.expandOnClickNode&&this.handleExpandIconClick(),this.tree.checkOnClickNode&&!this.node.disabled&&(this.checkboxVisible||this.radioVisible)&&this.handleCheckChange(!this.node.checked),this.tree.$emit("node-click",this.node)},handleExpandIconClick(){this.node.isLeaf||(this.expanded?(this.tree.$emit("node-collapse",this.node),this.node.collapse()):(this.node.expand(),this.tree.$emit("node-expand",this.node),this.tree.accordion&&e.index.$emit(`${this.tree.elId}-tree-node-expand`,this.node)))},handleCheckChange(d){this.node.disabled||(this.checkboxVisible?this.node.setChecked(d,!(this.tree.checkStrictly||this.checkOnlyLeaf)):this.node.setRadioChecked(d),this.$nextTick((()=>{this.tree.$emit("check",{node:this.node,data:this.node.data,checkedNodes:this.tree.store.getCheckedNodes(),checkedKeys:this.tree.store.getCheckedKeys(),halfCheckedNodes:this.tree.store.getHalfCheckedNodes(),halfCheckedKeys:this.tree.store.getHalfCheckedKeys()})})),e.index.$emit("updateKey"))},handleImageError(){this.node.icon=this.tree.defaultNodeIcon}},created(){if(!this.tree)throw new Error("Can not find node's tree.");this.node=this.tree.store.nodesMap[this.nodeId],this.highlightCurrent=this.tree.highlightCurrent,this.node.expanded&&(this.expanded=!0,this.childNodeRendered=!0);const d=(this.tree.props||{}).children||"children";this.$watch(`node.data.${d}`,(()=>{this.node.updateChildren()})),this.tree.accordion&&e.index.$on(`${this.tree.elId}-tree-node-expand`,(e=>{this.node.id!==e.id&&this.node.level===e.level&&this.node.collapse()}))},beforeDestroy(){this.$parent=null}};if(!Array){(e.resolveComponent("ly-checkbox")+e.resolveComponent("ly-tree-node"))()}const n=e._export_sfc(t,[["render",function(d,t,n,i,o,h){return e.e({a:e.o(((...e)=>h.handleExpandIconClick&&h.handleExpandIconClick(...e))),b:e.n({"is-leaf":o.node.isLeaf,expanded:!o.node.isLeaf&&o.node.expanded}),c:e.n(n.iconClass?n.iconClass:"ly-iconfont ly-icon-caret-right"),d:h.checkboxVisible||h.radioVisible},h.checkboxVisible||h.radioVisible?{e:e.o((e=>h.handleCheckChange(!o.node.checked))),f:e.p({type:h.checkboxVisible?"checkbox":"radio",checked:o.node.checked,indeterminate:o.node.indeterminate,disabled:!!o.node.disabled})}:{},{g:o.node.loading},(o.node.loading,{}),{h:o.node.icon&&o.node.icon.length>0},o.node.icon&&o.node.icon.length>0?e.e({i:-1!==o.node.icon.indexOf("/")},-1!==o.node.icon.indexOf("/")?{j:o.node.icon,k:e.o(((...e)=>h.handleImageError&&h.handleImageError(...e)))}:{l:e.n(o.node.icon)}):{},{m:e.t(o.node.data.userName),n:e.t(o.node.data.position?o.node.data.department+"/"+o.node.data.position:o.node.data.department),o:o.node.isCurrent&&o.highlightCurrent?1:"",p:(o.node.level-1)*n.indent+"px",q:!n.renderAfterExpand||o.childNodeRendered},!n.renderAfterExpand||o.childNodeRendered?{r:e.f(o.node.childNodesId,((d,t,i)=>({a:h.getNodeKey(d),b:"80cf26b6-1-"+i,c:e.p({nodeId:d,"render-after-expand":n.renderAfterExpand,"show-checkbox":n.showCheckbox,"show-radio":n.showRadio,"check-only-leaf":n.checkOnlyLeaf,indent:n.indent,"icon-class":n.iconClass})}))),s:o.expanded}:{},{t:o.node.visible,v:o.expanded?1:"",w:o.node.visible?"":1,x:!o.node.disabled&&o.node.checked?1:"",y:e.o(((...e)=>h.handleClick&&h.handleClick(...e)))})}]]);wx.createComponent(n);
{
"component": true,
"usingComponents": {
"ly-checkbox": "./components/ly-checkbox"
}
}
\ No newline at end of file
<view ref="node" name="LyTreeNode" hidden="{{!t}}" class="{{['ly-tree-node', v && 'is-expanded', w && 'is-hidden', x && 'is-checked']}}" role="treeitem" catchtap="{{y}}"><view class="{{['ly-tree-node__content', o && 'is-current']}}" style="{{'padding-left:' + p}}"><text catchtap="{{a}}" class="{{[b, 'ly-tree-node__expand-icon', c]}}"></text><ly-checkbox wx:if="{{d}}" bindcheck="{{e}}" u-i="80cf26b6-0" bind:__l="__l" u-p="{{f}}"/><text wx:if="{{g}}" class="ly-tree-node__loading-icon ly-iconfont ly-icon-loading"></text><block wx:if="{{h}}"><image wx:if="{{i}}" class="ly-tree-node__icon" mode="widthFix" src="{{j}}" binderror="{{k}}"></image><text wx:else class="{{['ly-tree-node__icon', l]}}"></text></block><view class="ly-tree-node__label_box"><text class="ly-tree-node__label u-line-1">{{m}}</text><text style="color:#c6c6c6" class="ly-tree-node__label u-line-1">{{n}}</text></view></view><view wx:if="{{q}}" hidden="{{!s}}" class="ly-tree-node__children" role="group"><ly-tree-node wx:for="{{r}}" wx:for-item="cNodeId" wx:key="a" u-i="{{cNodeId.b}}" bind:__l="__l" u-p="{{cNodeId.c}}"></ly-tree-node></view></view>
\ No newline at end of file
.ly-tree-node{white-space:nowrap;outline:0}.ly-tree-node__content{display:flex;align-items:center;height:70rpx;margin-bottom:20rpx}.ly-tree-node__label_box{display:flex;flex-direction:column}.ly-tree-node__content.is-current{background-color:#f5f7fa}.ly-tree-node__content>.ly-tree-node__expand-icon{padding:12rpx}.ly-tree-node__checkbox{display:flex;margin-right:16rpx;width:40rpx;height:40rpx}.ly-tree-node__checkbox>image{width:40rpx;height:40rpx}.ly-tree-node__expand-icon{color:#c0c4cc;font-size:28rpx;transform:rotate(0);transition:transform .3s ease-in-out}.ly-tree-node__expand-icon.expanded{transform:rotate(90deg)}.ly-tree-node__expand-icon.is-leaf{color:transparent}.ly-tree-node__label{font-size:28rpx}.ly-tree-node__loading-icon{margin-right:16rpx;font-size:28rpx;color:#c0c4cc;animation:rotating 2s linear infinite}.ly-tree-node>.ly-tree-node__children{overflow:hidden;background-color:transparent}.ly-tree-node>.ly-tree-node__children.collapse-transition{transition:height .3s ease-in-out}.ly-tree-node.is-expanded>.ly-tree-node__children{display:block}.ly-tree-node_collapse{overflow:hidden;padding-top:0;padding-bottom:0}@font-face{font-family:ly-iconfont;src:url(data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAAPsAAsAAAAACKwAAAOeAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCDBgqFDIQPATYCJAMMCwgABCAFhG0HQBtfB8gekiSCdAwUAKgCFMA5Hj7H0PeTlABUr57PVyGqugqzSWJnNwWoWJjx/9rUr4TPL1ZSQpU2mycqwoRwIN3p+MkqMqyEW+OtMBLPSUBb8v//XtWMKTavxYIUsT/Wy1qbQzkBDOYEKGB7dVpPyVqgCnJNwvMvhZl10nMCtQbFoPVhY8ZDncJfF4grbqpQ13AqE52hWqgcOFrEQ6hWnW5VfMCD7Pfjn4WoI6nI/K0bl0MNGPBz0qcflVqYnvCA4vNDPUXGPFCIw8HgtsqiOK9SrW2smm6sVITElWlpISMdVBn8wyMJopLfXg+myZ48KCrSkvj9g37U1ItbXYke4APwXxK3N4TuehyBfmM0I3zbNdt7uk3VnjPtzX0rnIl7z7bZvb/thHohsu9QuykKo+Cws4nL7LsPmI3n2qN9B9upZEIKd4hu0NCKi0rt7fNtdl+I1N25hOJMDQK6odS123tROR7Pg8toEhDaF+kR0TYjxW6M58F5+ZNQOxmZHtE2g+IYjxjlNy/yIRQpCmrgq5R4/3jx8PvT8Ha8d3/xiLnt4EGyaDnznzRv8vpyZ+9TFHf/ntX9e59A+b6+fPHd5+dy0wYHVvHOroWbnWe879O9DnL53bN/gUHuwm28b/n8i/V3ry4E3IoXNqS6Rvs0LhJxeNVjoUkM3LKosU+0a6rh45FVvLt+2oz7Zd53b4QOy7/9snDXHbqVu+A+f8r7PnM2H8kXrWm5c8/vLu7LqRee7HW637mz3kHc5U/RCXf25d7G8tkdgEfwIpzpkknGpaMw3ww55q9Mn9OQNyua/wB/49OOWydn4eL/6roCfjx6FMmcxfJStYRKfd3UwoHiML4rF4uMSK+SvYTuNxMHrpl8yd3Q6v32cAeo/KFaowBJlQHIqo3zi3geKtRZhErVlqDWnOGn67QRKkWpwaw1AkKza5A0egFZszf8In4HFTp9h0rNUQm1NqP1lXUmgyuDBVUlNYi2gHA98FnokUreOZaac1xV1JlMMZGKEs+QdCLVrgynPhUcO0pzzYyUjDAReGSYeBl13YCEIrCpLhOWlGE+mWRD35TQAw8UawRKJVEGQrMAwekCPpaMlpTOz49FmeZwqcREX1t3Ikoo4dMTaQmpBfzhRn9R30uZXTKXKUOSmLSKEQIeYhjqKZcrcIzhMLLRrJMSrA35UF4yGMaWGhPHm733dwJq+Z/NkSJHUXemCirjgpuWrHMD1eC+mQUAAAA=) format("woff2")}.ly-iconfont{font-family:ly-iconfont!important;font-size:30rpx;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ly-icon-caret-right:before{content:"\e8ee"}.ly-icon-loading:before{content:"\e657"}@keyframes rotating{0%{transform:rotate(0)}to{transform:rotate(360deg)}}
"use strict";const e=require("../../common/vendor.js"),d=require("./tool/util.js"),t={name:"LyTreeNode",componentName:"LyTreeNode",components:{lyCheckbox:()=>"./components/ly-checkbox.js"},props:{nodeId:[Number,String],renderAfterExpand:{type:Boolean,default:!0},checkOnlyLeaf:{type:Boolean,default:!1},showCheckbox:{type:Boolean,default:!1},showRadio:{type:Boolean,default:!1},indent:Number,iconClass:String},data:()=>({node:{indeterminate:!1,checked:!1,expanded:!1},expanded:!1,childNodeRendered:!1,oldChecked:null,oldIndeterminate:null,highlightCurrent:!1}),inject:["tree"],computed:{checkboxVisible(){return this.checkOnlyLeaf?this.showCheckbox&&this.node.isLeaf:this.showCheckbox},radioVisible(){return this.checkOnlyLeaf?this.showRadio&&this.node.isLeaf:this.showRadio}},watch:{"node.indeterminate"(e){this.handleSelectChange(this.node.checked,e)},"node.checked"(e){this.handleSelectChange(e,this.node.indeterminate)},"node.expanded"(e){this.$nextTick((()=>this.expanded=e)),e&&(this.childNodeRendered=!0)}},methods:{getNodeKey(e){let t=this.tree.store.root.getChildNodes([e])[0];return d.getNodeKey(this.tree.nodeKey,t.data)},handleSelectChange(e,d){if(this.oldChecked!==e&&this.oldIndeterminate!==d){if(this.checkOnlyLeaf&&!this.node.isLeaf)return;if(this.checkboxVisible){const t=this.tree.store._getAllNodes();this.tree.$emit("check-change",{checked:e,indeterminate:d,node:this.node,data:this.node.data,checkedall:t.every((e=>e.checked))})}else this.tree.$emit("radio-change",{checked:e,node:this.node,data:this.node.data,checkedall:!1})}!this.expanded&&this.tree.expandOnCheckNode&&e&&this.handleExpandIconClick(),this.oldChecked=e,this.indeterminate=d},handleClick(){this.tree.store.setCurrentNode(this.node),this.tree.$emit("current-change",{node:this.node,data:this.tree.store.currentNode?this.tree.store.currentNode.data:null,currentNode:this.tree.store.currentNode}),this.tree.currentNode=this.node,this.tree.expandOnClickNode&&this.handleExpandIconClick(),this.tree.checkOnClickNode&&!this.node.disabled&&(this.checkboxVisible||this.radioVisible)&&this.handleCheckChange(!this.node.checked),this.tree.$emit("node-click",this.node)},handleExpandIconClick(){this.node.isLeaf||(this.expanded?(this.tree.$emit("node-collapse",this.node),this.node.collapse()):(this.node.expand(),this.tree.$emit("node-expand",this.node),this.tree.accordion&&e.index.$emit(`${this.tree.elId}-tree-node-expand`,this.node)))},handleCheckChange(d){this.node.disabled||(this.checkboxVisible?this.node.setChecked(d,!(this.tree.checkStrictly||this.checkOnlyLeaf)):this.node.setRadioChecked(d),this.$nextTick((()=>{this.tree.$emit("check",{node:this.node,data:this.node.data,checkedNodes:this.tree.store.getCheckedNodes(),checkedKeys:this.tree.store.getCheckedKeys(),halfCheckedNodes:this.tree.store.getHalfCheckedNodes(),halfCheckedKeys:this.tree.store.getHalfCheckedKeys()})})),e.index.$emit("updateKey"))},handleImageError(){this.node.icon=this.tree.defaultNodeIcon}},created(){if(!this.tree)throw new Error("Can not find node's tree.");this.node=this.tree.store.nodesMap[this.nodeId],this.highlightCurrent=this.tree.highlightCurrent,this.node.expanded&&(this.expanded=!0,this.childNodeRendered=!0);const d=(this.tree.props||{}).children||"children";this.$watch(`node.data.${d}`,(()=>{this.node.updateChildren()})),this.tree.accordion&&e.index.$on(`${this.tree.elId}-tree-node-expand`,(e=>{this.node.id!==e.id&&this.node.level===e.level&&this.node.collapse()}))},beforeDestroy(){this.$parent=null}};if(!Array){(e.resolveComponent("ly-checkbox")+e.resolveComponent("ly-tree-node"))()}const n=e._export_sfc(t,[["render",function(d,t,n,i,o,h){return e.e({a:e.o(((...e)=>h.handleExpandIconClick&&h.handleExpandIconClick(...e))),b:e.n({"is-leaf":o.node.isLeaf,expanded:!o.node.isLeaf&&o.node.expanded}),c:e.n(n.iconClass?n.iconClass:"ly-iconfont ly-icon-caret-right"),d:h.checkboxVisible||h.radioVisible},h.checkboxVisible||h.radioVisible?{e:e.o((e=>h.handleCheckChange(!o.node.checked))),f:e.p({type:h.checkboxVisible?"checkbox":"radio",checked:o.node.checked,indeterminate:o.node.indeterminate,disabled:!!o.node.disabled})}:{},{g:o.node.loading},(o.node.loading,{}),{h:o.node.icon&&o.node.icon.length>0},o.node.icon&&o.node.icon.length>0?e.e({i:-1!==o.node.icon.indexOf("/")},-1!==o.node.icon.indexOf("/")?{j:o.node.icon,k:e.o(((...e)=>h.handleImageError&&h.handleImageError(...e)))}:{l:e.n(o.node.icon)}):{},{m:e.t(o.node.label),n:o.node.isCurrent&&o.highlightCurrent?1:"",o:(o.node.level-1)*n.indent+"px",p:!n.renderAfterExpand||o.childNodeRendered},!n.renderAfterExpand||o.childNodeRendered?{q:e.f(o.node.childNodesId,((d,t,i)=>({a:h.getNodeKey(d),b:"ae593102-1-"+i,c:e.p({nodeId:d,"render-after-expand":n.renderAfterExpand,"show-checkbox":n.showCheckbox,"show-radio":n.showRadio,"check-only-leaf":n.checkOnlyLeaf,indent:n.indent,"icon-class":n.iconClass})}))),r:o.expanded}:{},{s:o.node.visible,t:o.expanded?1:"",v:o.node.visible?"":1,w:!o.node.disabled&&o.node.checked?1:"",x:e.o(((...e)=>h.handleClick&&h.handleClick(...e)))})}]]);wx.createComponent(n);
{
"component": true,
"usingComponents": {
"ly-checkbox": "./components/ly-checkbox"
}
}
\ No newline at end of file
<view ref="node" name="LyTreeNode" hidden="{{!s}}" class="{{['ly-tree-node', t && 'is-expanded', v && 'is-hidden', w && 'is-checked']}}" role="treeitem" catchtap="{{x}}"><view class="{{['ly-tree-node__content', n && 'is-current']}}" style="{{'padding-left:' + o}}"><text catchtap="{{a}}" class="{{[b, 'ly-tree-node__expand-icon', c]}}"></text><ly-checkbox wx:if="{{d}}" bindcheck="{{e}}" u-i="ae593102-0" bind:__l="__l" u-p="{{f}}"/><text wx:if="{{g}}" class="ly-tree-node__loading-icon ly-iconfont ly-icon-loading"></text><block wx:if="{{h}}"><image wx:if="{{i}}" class="ly-tree-node__icon" mode="widthFix" src="{{j}}" binderror="{{k}}"></image><text wx:else class="{{['ly-tree-node__icon', l]}}"></text></block><text class="ly-tree-node__label u-line-1">{{m}}</text></view><view wx:if="{{p}}" hidden="{{!r}}" class="ly-tree-node__children" role="group"><ly-tree-node wx:for="{{q}}" wx:for-item="cNodeId" wx:key="a" u-i="{{cNodeId.b}}" bind:__l="__l" u-p="{{cNodeId.c}}"></ly-tree-node></view></view>
\ No newline at end of file
.ly-tree-node{white-space:nowrap;outline:0}.ly-tree-node__content{display:flex;align-items:center;height:70rpx}.ly-tree-node__content.is-current{background-color:#f5f7fa}.ly-tree-node__content>.ly-tree-node__expand-icon{padding:12rpx}.ly-tree-node__checkbox{display:flex;margin-right:16rpx;width:40rpx;height:40rpx}.ly-tree-node__checkbox>image{width:40rpx;height:40rpx}.ly-tree-node__expand-icon{color:#c0c4cc;font-size:28rpx;transform:rotate(0);transition:transform .3s ease-in-out}.ly-tree-node__expand-icon.expanded{transform:rotate(90deg)}.ly-tree-node__expand-icon.is-leaf{color:transparent}.ly-tree-node__icon{width:34rpx;overflow:hidden;margin-right:16rpx}.ly-tree-node__label{font-size:28rpx}.ly-tree-node__loading-icon{margin-right:16rpx;font-size:28rpx;color:#c0c4cc;animation:rotating 2s linear infinite}.ly-tree-node>.ly-tree-node__children{overflow:hidden;background-color:transparent}.ly-tree-node>.ly-tree-node__children.collapse-transition{transition:height .3s ease-in-out}.ly-tree-node.is-expanded>.ly-tree-node__children{display:block}.ly-tree-node_collapse{overflow:hidden;padding-top:0;padding-bottom:0}@font-face{font-family:ly-iconfont;src:url(data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAAPsAAsAAAAACKwAAAOeAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCDBgqFDIQPATYCJAMMCwgABCAFhG0HQBtfB8gekiSCdAwUAKgCFMA5Hj7H0PeTlABUr57PVyGqugqzSWJnNwWoWJjx/9rUr4TPL1ZSQpU2mycqwoRwIN3p+MkqMqyEW+OtMBLPSUBb8v//XtWMKTavxYIUsT/Wy1qbQzkBDOYEKGB7dVpPyVqgCnJNwvMvhZl10nMCtQbFoPVhY8ZDncJfF4grbqpQ13AqE52hWqgcOFrEQ6hWnW5VfMCD7Pfjn4WoI6nI/K0bl0MNGPBz0qcflVqYnvCA4vNDPUXGPFCIw8HgtsqiOK9SrW2smm6sVITElWlpISMdVBn8wyMJopLfXg+myZ48KCrSkvj9g37U1ItbXYke4APwXxK3N4TuehyBfmM0I3zbNdt7uk3VnjPtzX0rnIl7z7bZvb/thHohsu9QuykKo+Cws4nL7LsPmI3n2qN9B9upZEIKd4hu0NCKi0rt7fNtdl+I1N25hOJMDQK6odS123tROR7Pg8toEhDaF+kR0TYjxW6M58F5+ZNQOxmZHtE2g+IYjxjlNy/yIRQpCmrgq5R4/3jx8PvT8Ha8d3/xiLnt4EGyaDnznzRv8vpyZ+9TFHf/ntX9e59A+b6+fPHd5+dy0wYHVvHOroWbnWe879O9DnL53bN/gUHuwm28b/n8i/V3ry4E3IoXNqS6Rvs0LhJxeNVjoUkM3LKosU+0a6rh45FVvLt+2oz7Zd53b4QOy7/9snDXHbqVu+A+f8r7PnM2H8kXrWm5c8/vLu7LqRee7HW637mz3kHc5U/RCXf25d7G8tkdgEfwIpzpkknGpaMw3ww55q9Mn9OQNyua/wB/49OOWydn4eL/6roCfjx6FMmcxfJStYRKfd3UwoHiML4rF4uMSK+SvYTuNxMHrpl8yd3Q6v32cAeo/KFaowBJlQHIqo3zi3geKtRZhErVlqDWnOGn67QRKkWpwaw1AkKza5A0egFZszf8In4HFTp9h0rNUQm1NqP1lXUmgyuDBVUlNYi2gHA98FnokUreOZaac1xV1JlMMZGKEs+QdCLVrgynPhUcO0pzzYyUjDAReGSYeBl13YCEIrCpLhOWlGE+mWRD35TQAw8UawRKJVEGQrMAwekCPpaMlpTOz49FmeZwqcREX1t3Ikoo4dMTaQmpBfzhRn9R30uZXTKXKUOSmLSKEQIeYhjqKZcrcIzhMLLRrJMSrA35UF4yGMaWGhPHm733dwJq+Z/NkSJHUXemCirjgpuWrHMD1eC+mQUAAAA=) format("woff2")}.ly-iconfont{font-family:ly-iconfont!important;font-size:30rpx;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ly-icon-caret-right:before{content:"\e8ee"}.ly-icon-loading:before{content:"\e657"}@keyframes rotating{0%{transform:rotate(0)}to{transform:rotate(360deg)}}
"use strict";const e=require("../../common/vendor.js"),t=require("./model/tree-store.js"),o=require("./tool/util.js"),r={name:"LyTree",componentName:"LyTree",components:{LyTreeNode:()=>"./ly-tree-node-s.js"},data:()=>({updateKey:(new Date).getTime(),elId:`ly_${Math.ceil(1e6*Math.random()).toString(36)}`,visible:!0,store:{ready:!1},currentNode:null,childNodesId:[],mathKey:1}),provide(){return{tree:this}},props:{treeData:Array,ready:{type:Boolean,default:!0},emptyText:{type:String,default:"暂无数据"},renderAfterExpand:{type:Boolean,default:!0},nodeKey:String,checkStrictly:Boolean,defaultExpandAll:{type:Boolean,default:!0},toggleExpendAll:Boolean,expandOnClickNode:{type:Boolean,default:!0},expandOnCheckNode:{type:Boolean,default:!0},checkOnClickNode:Boolean,checkDescendants:{type:Boolean,default:!1},autoExpandParent:{type:Boolean,default:!0},defaultCheckedKeys:Array,defaultExpandedKeys:Array,expandCurrentNodeParent:Boolean,currentNodeKey:[String,Number],checkOnlyLeaf:{type:Boolean,default:!1},showCheckbox:{type:Boolean,default:!1},showRadio:{type:Boolean,default:!1},props:{type:[Object,Function],default:()=>({children:"children",label:"label",disabled:"disabled"})},lazy:{type:Boolean,default:!1},highlightCurrent:Boolean,load:Function,filterNodeMethod:Function,childVisibleForFilterNode:{type:Boolean,default:!1},accordion:Boolean,indent:{type:Number,default:18},iconClass:String,showNodeIcon:{type:Boolean,default:!1},defaultNodeIcon:{type:String,default:""},isInjectParentInNode:{type:Boolean,default:!1}},computed:{isEmpty(){if(this.store.root){const e=this.store.root.getChildNodes(this.childNodesId);return!e||0===e.length||e.every((({visible:e})=>!e))}return!0},showLoading(){return this.mathKey,!(this.store.getReady()&&this.ready)}},watch:{toggleExpendAll(e){this.store.toggleExpendAll(e)},defaultCheckedKeys(e){this.store.setDefaultCheckedKey(e)},defaultExpandedKeys(e){this.store.defaultExpandedKeys=e,this.store.setDefaultExpandedKeys(e)},checkStrictly(e){this.store.checkStrictly=e||this.checkOnlyLeaf},"store.root.childNodesId"(e){this.childNodesId=e},"store.root.visible"(e){this.visible=e},childNodesId(){this.$nextTick((()=>{this.$emit("ly-tree-render-completed")}))},treeData:{handler(e){this.updateKey=(new Date).getTime(),this.store.setData(e)},deep:!0}},methods:{filter(e,t){if(!this.filterNodeMethod)throw new Error("[Tree] filterNodeMethod is required when filter");this.store.filter(e,t),this.handleUpdateKey()},handleUpdateKey(){this.updateKey=(new Date).getTime()},getNodeKey(e){let t=this.store.root.getChildNodes([e])[0];return o.getNodeKey(this.nodeKey,t.data)},getNodePath(e){return this.store.getNodePath(e)},getCheckedNodes(e,t){return this.store.getCheckedNodes(e,t)},getCheckedKeys(e,t){return this.store.getCheckedKeys(e,t)},getCurrentNode(){const e=this.store.getCurrentNode();return e?e.data:null},getCurrentKey(){const e=this.getCurrentNode();return e?e[this.nodeKey]:null},setCheckAll(e=!0){if(this.showRadio)throw new Error('You set the "show-radio" property, so you cannot select all nodes');this.showCheckbox||console.warn('You have not set the property "show-checkbox". Please check your settings'),this.store.setCheckAll(e)},setCheckedNodes(e,t){this.store.setCheckedNodes(e,t)},setCheckedKeys(e,t){if(!this.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedKeys");this.store.setCheckedKeys(e,t),this.handleUpdateKey()},setChecked(e,t,o){this.store.setChecked(e,t,o)},getHalfCheckedNodes(){return this.store.getHalfCheckedNodes()},getHalfCheckedKeys(){return this.store.getHalfCheckedKeys()},setCurrentNode(e){if(!this.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentNode");this.store.setUserCurrentNode(e)},setCurrentKey(e){if(!this.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentKey");this.store.setCurrentNodeKey(e)},getNode(e){return this.store.getNode(e)},remove(e){this.store.remove(e)},append(e,t){this.store.append(e,t)},insertBefore(e,t){this.store.insertBefore(e,t)},insertAfter(e,t){this.store.insertAfter(e,t)},updateKeyChildren(e,t){if(!this.nodeKey)throw new Error("[Tree] nodeKey is required in updateKeyChild");this.store.updateChildren(e,t)}},created(){this.isTree=!0;let o=this.props;if("function"==typeof this.props&&(o=this.props()),"object"!=typeof o)throw new Error("props must be of object type.");this.store=new t.TreeStore({key:this.nodeKey,data:this.treeData,lazy:this.lazy,props:o,load:this.load,showCheckbox:this.showCheckbox,showRadio:this.showRadio,currentNodeKey:this.currentNodeKey,checkStrictly:this.checkStrictly||this.checkOnlyLeaf,checkDescendants:this.checkDescendants,expandOnCheckNode:this.expandOnCheckNode,defaultCheckedKeys:this.defaultCheckedKeys,defaultExpandedKeys:this.defaultExpandedKeys,expandCurrentNodeParent:this.expandCurrentNodeParent,autoExpandParent:this.autoExpandParent,defaultExpandAll:this.defaultExpandAll,filterNodeMethod:this.filterNodeMethod,childVisibleForFilterNode:this.childVisibleForFilterNode,showNodeIcon:this.showNodeIcon,isInjectParentInNode:this.isInjectParentInNode}),this.childNodesId=this.store.root.childNodesId,e.index.$on("updateKey",(()=>{this.handleUpdateKey(),this.mathKey++}))},beforeDestroy(){this.accordion&&e.index.$off(`${this.elId}-tree-node-expand`),e.index.$off("updateKey")}};if(!Array){e.resolveComponent("ly-tree-node")()}const d=e._export_sfc(r,[["render",function(t,o,r,d,s,n){return e.e({a:n.showLoading},n.showLoading?{}:e.e({b:n.isEmpty||!s.visible},n.isEmpty||!s.visible?{c:e.t(r.emptyText)}:{},{d:e.f(s.childNodesId,((t,o,d)=>({a:n.getNodeKey(t),b:"589ffbc6-0-"+d,c:e.p({nodeId:t,"render-after-expand":r.renderAfterExpand,"show-checkbox":r.showCheckbox,"show-radio":r.showRadio,"check-only-leaf":r.checkOnlyLeaf,indent:r.indent,"icon-class":r.iconClass,updateKey:"hanldeUpdateKey"})}))),e:s.updateKey,f:n.isEmpty||!s.visible?1:""}))}]]);wx.createComponent(d);
{
"component": true,
"usingComponents": {
"ly-tree-node": "./ly-tree-node-s"
}
}
\ No newline at end of file
<view><block wx:if="{{a}}"><view class="ly-loader ly-flex-center"><view class="ly-loader-inner">加载中...</view></view></block><block wx:else><view wx:if="{{b}}" class="ly-empty">{{c}}</view><view key="{{e}}" class="{{['ly-tree', f && 'is-empty']}}" role="tree" name="LyTreeExpand"><ly-tree-node wx:for="{{d}}" wx:for-item="nodeId" wx:key="a" u-i="{{nodeId.b}}" bind:__l="__l" u-p="{{nodeId.c}}"></ly-tree-node></view></block></view>
\ No newline at end of file
.ly-tree{position:relative;cursor:default;background:#fff;color:#606266;padding:30rpx}.ly-tree.is-empty{background:transparent}.ly-empty{width:100%;display:flex;justify-content:center;margin-top:100rpx}.ly-loader{margin-top:100rpx;display:flex;align-items:center;justify-content:center}.ly-loader-inner,.ly-loader-inner:before,.ly-loader-inner:after{background:#efefef;animation:load 1s infinite ease-in-out;width:.5em;height:1em}.ly-loader-inner:before,.ly-loader-inner:after{position:absolute;top:0;content:""}.ly-loader-inner:before{left:-1em}.ly-loader-inner{text-indent:-9999em;position:relative;font-size:22rpx;animation-delay:.16s}.ly-loader-inner:after{left:1em;animation-delay:.32s}@keyframes load{0%,80%,to{box-shadow:0 0 #efefef;height:1em}40%{box-shadow:0 -1.5em #efefef;height:1.5em}}
"use strict";const e=require("../../common/vendor.js"),t=require("../../libs/resources.js"),o=require("./model/tree-store.js"),r=require("./tool/util.js"),d={name:"LyTree",componentName:"LyTree",components:{LyTreeNode:()=>"./ly-tree-node.js"},data:()=>({updateKey:(new Date).getTime(),elId:`ly_${Math.ceil(1e6*Math.random()).toString(36)}`,visible:!0,store:{ready:!1},currentNode:null,childNodesId:[],mathKey:1,icon:t.resources.message.nodata}),provide(){return{tree:this}},props:{treeData:Array,ready:{type:Boolean,default:!0},emptyText:{type:String,default:"暂无数据"},renderAfterExpand:{type:Boolean,default:!0},nodeKey:String,checkStrictly:Boolean,defaultExpandAll:{type:Boolean,default:!0},toggleExpendAll:Boolean,expandOnClickNode:{type:Boolean,default:!0},expandOnCheckNode:{type:Boolean,default:!0},checkOnClickNode:Boolean,checkDescendants:{type:Boolean,default:!1},autoExpandParent:{type:Boolean,default:!0},defaultCheckedKeys:Array,defaultExpandedKeys:Array,expandCurrentNodeParent:Boolean,currentNodeKey:[String,Number],checkOnlyLeaf:{type:Boolean,default:!1},showCheckbox:{type:Boolean,default:!1},showRadio:{type:Boolean,default:!1},props:{type:[Object,Function],default:()=>({children:"children",label:"label",disabled:"disabled"})},lazy:{type:Boolean,default:!1},highlightCurrent:Boolean,load:Function,filterNodeMethod:Function,childVisibleForFilterNode:{type:Boolean,default:!1},accordion:Boolean,indent:{type:Number,default:18},iconClass:String,showNodeIcon:{type:Boolean,default:!1},defaultNodeIcon:{type:String,default:""},isInjectParentInNode:{type:Boolean,default:!1}},computed:{isEmpty(){if(this.store.root){const e=this.store.root.getChildNodes(this.childNodesId);return!e||0===e.length||e.every((({visible:e})=>!e))}return!0},showLoading(){return this.mathKey,!(this.store.getReady()&&this.ready)}},watch:{toggleExpendAll(e){this.store.toggleExpendAll(e)},defaultCheckedKeys(e){this.store.setDefaultCheckedKey(e)},defaultExpandedKeys(e){this.store.defaultExpandedKeys=e,this.store.setDefaultExpandedKeys(e)},checkStrictly(e){this.store.checkStrictly=e||this.checkOnlyLeaf},"store.root.childNodesId"(e){this.childNodesId=e},"store.root.visible"(e){this.visible=e},childNodesId(){this.$nextTick((()=>{this.$emit("ly-tree-render-completed")}))},treeData:{handler(e){this.updateKey=(new Date).getTime(),this.store.setData(e)},deep:!0}},methods:{filter(e,t){if(!this.filterNodeMethod)throw new Error("[Tree] filterNodeMethod is required when filter");this.store.filter(e,t),this.handleUpdateKey()},handleUpdateKey(){this.updateKey=(new Date).getTime()},getNodeKey(e){let t=this.store.root.getChildNodes([e])[0];return r.getNodeKey(this.nodeKey,t.data)},getNodePath(e){return this.store.getNodePath(e)},getCheckedNodes(e,t){return this.store.getCheckedNodes(e,t)},getCheckedKeys(e,t){return this.store.getCheckedKeys(e,t)},getCurrentNode(){const e=this.store.getCurrentNode();return e?e.data:null},getCurrentKey(){const e=this.getCurrentNode();return e?e[this.nodeKey]:null},setCheckAll(e=!0){if(this.showRadio)throw new Error('You set the "show-radio" property, so you cannot select all nodes');this.showCheckbox||console.warn('You have not set the property "show-checkbox". Please check your settings'),this.store.setCheckAll(e)},setCheckedNodes(e,t){this.store.setCheckedNodes(e,t)},setCheckedKeys(e,t){if(!this.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedKeys");this.store.setCheckedKeys(e,t),this.handleUpdateKey()},setChecked(e,t,o){this.store.setChecked(e,t,o)},getHalfCheckedNodes(){return this.store.getHalfCheckedNodes()},getHalfCheckedKeys(){return this.store.getHalfCheckedKeys()},setCurrentNode(e){if(!this.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentNode");this.store.setUserCurrentNode(e)},setCurrentKey(e){if(!this.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentKey");this.store.setCurrentNodeKey(e)},getNode(e){return this.store.getNode(e)},remove(e){this.store.remove(e)},append(e,t){this.store.append(e,t)},insertBefore(e,t){this.store.insertBefore(e,t)},insertAfter(e,t){this.store.insertAfter(e,t)},updateKeyChildren(e,t){if(!this.nodeKey)throw new Error("[Tree] nodeKey is required in updateKeyChild");this.store.updateChildren(e,t)}},created(){this.isTree=!0;let t=this.props;if("function"==typeof this.props&&(t=this.props()),"object"!=typeof t)throw new Error("props must be of object type.");this.store=new o.TreeStore({key:this.nodeKey,data:this.treeData,lazy:this.lazy,props:t,load:this.load,showCheckbox:this.showCheckbox,showRadio:this.showRadio,currentNodeKey:this.currentNodeKey,checkStrictly:this.checkStrictly||this.checkOnlyLeaf,checkDescendants:this.checkDescendants,expandOnCheckNode:this.expandOnCheckNode,defaultCheckedKeys:this.defaultCheckedKeys,defaultExpandedKeys:this.defaultExpandedKeys,expandCurrentNodeParent:this.expandCurrentNodeParent,autoExpandParent:this.autoExpandParent,defaultExpandAll:this.defaultExpandAll,filterNodeMethod:this.filterNodeMethod,childVisibleForFilterNode:this.childVisibleForFilterNode,showNodeIcon:this.showNodeIcon,isInjectParentInNode:this.isInjectParentInNode}),this.childNodesId=this.store.root.childNodesId,e.index.$on("updateKey",(()=>{this.handleUpdateKey(),this.mathKey++}))},beforeDestroy(){this.accordion&&e.index.$off(`${this.elId}-tree-node-expand`),e.index.$off("updateKey")}};if(!Array){e.resolveComponent("ly-tree-node")()}const s=e._export_sfc(d,[["render",function(t,o,r,d,s,n){return e.e({a:n.showLoading},n.showLoading?{}:e.e({b:n.isEmpty||!s.visible},n.isEmpty||!s.visible?{c:s.icon}:{},{d:e.f(s.childNodesId,((t,o,d)=>({a:n.getNodeKey(t),b:"e9e2de34-0-"+d,c:e.p({nodeId:t,"render-after-expand":r.renderAfterExpand,"show-checkbox":r.showCheckbox,"show-radio":r.showRadio,"check-only-leaf":r.checkOnlyLeaf,indent:r.indent,"icon-class":r.iconClass,updateKey:"hanldeUpdateKey"})}))),e:s.updateKey,f:n.isEmpty||!s.visible?1:""}))}],["__scopeId","data-v-e9e2de34"]]);wx.createComponent(s);
{
"component": true,
"usingComponents": {
"ly-tree-node": "./ly-tree-node"
}
}
\ No newline at end of file
<view class="data-v-e9e2de34"><block wx:if="{{a}}"><view class="ly-loader ly-flex-center data-v-e9e2de34"><view class="ly-loader-inner data-v-e9e2de34">加载中...</view></view></block><block wx:else><view wx:if="{{b}}" class="notData-box u-flex-col data-v-e9e2de34"><view class="u-flex-col notData-inner data-v-e9e2de34"><image src="{{c}}" mode="" class="iconImg data-v-e9e2de34"></image></view><text class="notData-inner-text data-v-e9e2de34">暂无数据</text></view><view key="{{e}}" class="{{['ly-tree', 'data-v-e9e2de34', f && 'is-empty']}}" role="tree" name="LyTreeExpand"><ly-tree-node wx:for="{{d}}" wx:for-item="nodeId" wx:key="a" class="data-v-e9e2de34" u-i="{{nodeId.b}}" bind:__l="__l" u-p="{{nodeId.c}}"></ly-tree-node></view></block></view>
\ No newline at end of file
.notData-box.data-v-e9e2de34{width:100%;height:100%;justify-content:center;align-items:center;margin-top:200rpx}.notData-box .notData-inner.data-v-e9e2de34{width:286rpx;height:222rpx;align-items:center}.notData-box .notData-inner .iconImg.data-v-e9e2de34{width:100%;height:100%}.notData-box .notData-inner-text.data-v-e9e2de34{color:#909399}.ly-tree.data-v-e9e2de34{position:relative;cursor:default;background:#fff;color:#606266;padding:30rpx}.ly-tree.is-empty.data-v-e9e2de34{background:transparent}.ly-empty.data-v-e9e2de34{width:100%;display:flex;justify-content:center;margin-top:100rpx}.ly-loader.data-v-e9e2de34{margin-top:100rpx;display:flex;align-items:center;justify-content:center}.ly-loader-inner.data-v-e9e2de34,.ly-loader-inner.data-v-e9e2de34:before,.ly-loader-inner.data-v-e9e2de34:after{background:#efefef;animation:load-e9e2de34 1s infinite ease-in-out;width:.5em;height:1em}.ly-loader-inner.data-v-e9e2de34:before,.ly-loader-inner.data-v-e9e2de34:after{position:absolute;top:0;content:""}.ly-loader-inner.data-v-e9e2de34:before{left:-1em}.ly-loader-inner.data-v-e9e2de34{text-indent:-9999em;position:relative;font-size:22rpx;animation-delay:.16s}.ly-loader-inner.data-v-e9e2de34:after{left:1em;animation-delay:.32s}@keyframes load-e9e2de34{0%,80%,to{box-shadow:0 0 #efefef;height:1em}40%{box-shadow:0 -1.5em #efefef;height:1.5em}}
"use strict";const t=require("../tool/util.js"),e=function(t){let e=t;return function(){return e}};let i=0;class s{constructor(s){this.time=(new Date).getTime(),this.id=i++,this.text=null,this.checked=!1,this.indeterminate=!1,this.data=null,this.expanded=!1,this.parentId=null,this.visible=!0,this.isCurrent=!1;for(let t in s)s.hasOwnProperty(t)&&("store"===t?this.store=e(s[t]):this[t]=s[t]);if(!this.store())throw new Error("[Node]store is required!");this.level=0,this.loaded=!1,this.childNodesId=[],this.loading=!1,this.label=t.getPropertyFromData(this,"label"),this.key=this._getKey(),this.disabled=t.getPropertyFromData(this,"disabled"),this.nextSibling=null,this.previousSibling=null,this.icon="",this._handleParentAndLevel(),this._handleProps(),this._handleExpand(),this._handleCurrent(),this.store().lazy&&this.store()._initDefaultCheckedNode(this),this.updateLeafState()}_getKey(){if(!this.data||Array.isArray(this.data))return null;if("object"==typeof this.data){const t=this.store().key,e=this.data[t];if(void 0===e)throw new Error(`您配置的node-key为"${t}",但数据中并未找到对应"${t}"属性的值,请检查node-key的配置是否合理`);return e}throw new Error("不合法的data数据")}_handleParentAndLevel(){if(null!==this.parentId){let t=this.getParent(this.parentId);if(this.store().isInjectParentInNode&&(this.parent=t),t){const e=t.getChildNodes(t.childNodesId),i=t.childNodesId.indexOf(this.key);this.nextSibling=i>-1?e[i+1]:null,this.previousSibling=i>0?e[i-1]:null}else t={level:0};this.level=t.level+1}}_handleProps(){const e=this.store().props;if(this.store().showNodeIcon&&(e&&void 0!==e.icon?this.icon=t.getPropertyFromData(this,"icon"):console.warn('请配置props属性中的"icon"字段')),this.store().registerNode(this),e&&void 0!==e.isLeaf){const e=t.getPropertyFromData(this,"isLeaf");"boolean"==typeof e&&(this.isLeafByUser=e)}}_handleExpand(){if(!0!==this.store().lazy&&this.data?(this.setData(this.data),this.store().defaultExpandAll&&(this.expanded=!0)):this.level>0&&this.store().lazy&&this.store().defaultExpandAll&&this.expand(),Array.isArray(this.data)||t.markNodeData(this,this.data),!this.data)return;const e=this.store().defaultExpandedKeys;this.store().key&&e&&-1!==e.indexOf(this.key)&&this.expand(null,this.store().autoExpandparent)}_handleCurrent(){this.store().key&&void 0!==this.store().currentNodeKey&&this.key===this.store().currentNodeKey&&(this.store().currentNode=this,this.store().currentNode.isCurrent=!0)}destroyStore(){}setData(e){let i;Array.isArray(e)||t.markNodeData(this,e),this.data=e,this.childNodesId=[],i=0===this.level&&Array.isArray(this.data)?this.data:t.getPropertyFromData(this,"children")||[];for(let t=0,s=i.length;t<s;t++)this.insertChild({data:i[t]})}contains(t,e=!0){const i=function(s){const h=s.getChildNodes(s.childNodesId)||[];let d=!1;for(let r=0,a=h.length;r<a;r++){const s=h[r];if(s===t||e&&i(s)){d=!0;break}}return d};return i(this)}remove(){if(null!==this.parentId){this.getParent(this.parentId).removeChild(this)}}insertChild(e,i,h){if(!e)throw new Error("insertChild error: child is required.");if(!(e instanceof s)){if(!h){const t=this.getChildren(!0);-1===t.indexOf(e.data)&&(void 0===i||i<0?t.push(e.data):t.splice(i,0,e.data))}t.objectAssign(e,{parentId:t.isNull(this.key)?"":this.key,store:this.store()}),e=new s(e)}e.level=this.level+1,void 0===i||i<0?this.childNodesId.push(e.key):this.childNodesId.splice(i,0,e.key),this.updateLeafState()}insertBefore(t,e){let i;e&&(i=this.childNodesId.indexOf(e.id)),this.insertChild(t,i)}insertAfter(t,e){let i;e&&(i=this.childNodesId.indexOf(e.id),-1!==i&&(i+=1)),this.insertChild(t,i)}removeChild(t){const e=this.getChildren()||[],i=e.indexOf(t.data);i>-1&&e.splice(i,1);const s=this.childNodesId.indexOf(t.key);s>-1&&(this.store()&&this.store().deregisterNode(t),t.parentId=null,this.childNodesId.splice(s,1)),this.updateLeafState()}removeChildByData(t){let e=null;for(let i=0;i<this.childNodesId.length;i++){let s=this.getChildNodes(this.childNodesId);if(s[i].data===t){e=s[i];break}}e&&this.removeChild(e)}getParent(t){try{return t.toString()?this.store().nodesMap[t]:null}catch(e){return null}}getChildNodes(t){let e=[];return 0===t.length||t.forEach((t=>{e.push(this.store().nodesMap[t])})),e}expand(e,i){const s=()=>{if(i){let t=this.getParent(this.parentId);for(;t&&t.level>0;)t.expanded=!0,t=this.getParent(t.parentId)}this.expanded=!0,e&&e()};this.shouldLoadData()?this.loadData((function(e){Array.isArray(e)&&(this.checked?this.setChecked(!0,!0):this.store().checkStrictly||t.reInitChecked(this),s())})):s()}doCreateChildren(e,i={}){e.forEach((e=>{this.insertChild(t.objectAssign({data:e},i),void 0,!0)}))}collapse(){this.expanded=!1}shouldLoadData(){return!0===this.store().lazy&&this.store().load&&!this.loaded}updateLeafState(){if(!0===this.store().lazy&&!0!==this.loaded&&void 0!==this.isLeafByUser)return void(this.isLeaf=this.isLeafByUser);const t=this.childNodesId;!this.store().lazy||!0===this.store().lazy&&!0===this.loaded?this.isLeaf=!t||0===t.length:this.isLeaf=!1}setChecked(e,i,s,h){if(this.indeterminate="half"===e,this.checked=!0===e,this.checked&&this.store().expandOnCheckNode&&this.expand(null,!0),this.store().checkStrictly)return;if(this.store().showRadio)return;if(!this.shouldLoadData()||this.store().checkDescendants){let s=this.getChildNodes(this.childNodesId),{all:d,allWithoutDisable:r}=t.getChildState(s);this.isLeaf||d||!r||(this.checked=!1,e=!1);const a=()=>{if(i){let s=this.getChildNodes(this.childNodesId);for(let t=0,a=s.length;t<a;t++){const d=s[t];h=h||!1!==e;const r=d.disabled?d.checked:h;d.setChecked(r,i,!0,h)}const{half:d,all:r}=t.getChildState(s);r||(this.checked=r,this.indeterminate=d)}};if(this.shouldLoadData())return void this.loadData((()=>{a(),t.reInitChecked(this)}),{checked:!1!==e});a()}if(!this.parentId)return;let d=this.getParent(this.parentId);d&&0===d.level||s||t.reInitChecked(d)}setRadioChecked(t){this.store()._getAllNodes().sort(((t,e)=>e.level-t.level)).forEach((t=>t.setChecked(!1,!1))),this.checked=!0===t}getChildren(t=!1){if(0===this.level)return this.data;const e=this.data;if(!e)return null;const i=this.store().props;let s="children";return i&&(s=i.children||"children"),void 0===e[s]&&(e[s]=null),t&&!e[s]&&(e[s]=[]),e[s]}updateChildren(){let e=this.getChildNodes(this.childNodesId);const i=this.getChildren()||[],s=e.map((t=>t.data)),h={},d=[];i.forEach(((e,i)=>{const r=e[t.NODE_KEY];!!r&&t.arrayFindIndex(s,(e=>e[t.NODE_KEY]===r))>=0?h[r]={index:i,data:e}:d.push({index:i,data:e})})),this.store().lazy||s.forEach((e=>{h[e[t.NODE_KEY]]||this.removeChildByData(e)})),d.forEach((({index:t,data:e})=>{this.insertChild({data:e},t)})),this.updateLeafState()}loadData(t,e={}){if(!0!==this.store().lazy||!this.store().load||this.loaded||this.loading&&!Object.keys(e).length)t&&t.call(this);else{this.loading=!0;const i=i=>{this.loaded=!0,this.loading=!1,this.childNodesId=[],this.doCreateChildren(i,e),this.updateLeafState(),t&&t.call(this,i)};this.store().load(this,i)}}}exports.Node=s;
"use strict";const e=require("../../../common/vendor.js"),t=require("./node.js"),s=require("../tool/util.js");exports.TreeStore=class{constructor(s){if(this.ready=!1,this.currentNode=null,this.currentNodeKey=null,Object.assign(this,s),!this.key)throw new Error("[Tree] nodeKey is required");if(this.nodesMap={},this.root=new t.Node({data:this.data,store:this}),this.lazy&&this.load){(0,this.load)(this.root,(t=>{this.root.doCreateChildren(t),this._initDefaultCheckedNodes(),this.ready=!0,e.index.$emit("updateKey")}))}else this._initDefaultCheckedNodes(),this.ready=!0}getReady(){return this.ready}filter(e,t){const s=this.filterNodeMethod,d=this.lazy,o=this,i=function(r){const h=r.root?r.root.getChildNodes(r.root.childNodesId):r.getChildNodes(r.childNodesId);if(h.forEach((d=>{if(t&&"object"==typeof t){if(!o.getNodePath(d.data).some((e=>e[o.key]===t[o.key])))return d.visible=!1,void i(d)}if(o.childVisibleForFilterNode){let t=d.getParent(d.parentId);d.visible=s.call(d,e,d.data,d)||t&&t.visible}else d.visible=s.call(d,e,d.data,d);i(d)})),!r.visible&&h.length){let e=!0;e=!h.some((e=>e.visible)),r.root?r.root.visible=!1===e:r.visible=!1===e}e&&(!r.visible||r.isLeaf||d||r.expand())};i(this)}setData(e){e!==this.root.data?(this.root.setData(e),this._initDefaultCheckedNodes()):this.root.updateChildren()}getNode(e){if(e instanceof t.Node)return e;const d="object"!=typeof e?e:s.getNodeKey(this.key,e);return d&&this.nodesMap[d]||null}insertBefore(e,t){const s=this.getNode(t);s.getParent(s.parentId).insertBefore({data:e},s)}insertAfter(e,t){const s=this.getNode(t);s.getParent(s.parentId).insertAfter({data:e},s)}remove(e){const t=this.getNode(e);if(t&&null!==t.parentId){let e=t.getParent(t.parentId);t===this.currentNode&&(this.currentNode=null),e.removeChild(t)}}append(e,t){const s=t?this.getNode(t):this.root;s&&s.insertChild({data:e})}_initDefaultCheckedNodes(){const e=this.defaultCheckedKeys||[],t=this.nodesMap;let d=[],o=[];for(let i in t){(s.getPropertyFromData(t[i],"checked")||!1)&&d.push(i)}o=Array.from(new Set([...e,...d])),o.forEach((e=>{const s=t[e];s&&s.setChecked(!0,!this.checkStrictly)}))}_initDefaultCheckedNode(e){-1!==(this.defaultCheckedKeys||[]).indexOf(e.key)&&e.setChecked(!0,!this.checkStrictly)}toggleExpendAll(e){this._getAllNodes().forEach((t=>{const s=this.getNode(t.key);s&&(e?s.expand():s.collapse())}))}setCheckAll(e){this._getAllNodes().forEach((t=>{t.setChecked(e,!1)}))}setDefaultCheckedKey(e){e!==this.defaultCheckedKeys&&(this.defaultCheckedKeys=e,this._initDefaultCheckedNodes())}registerNode(e){if(!this.key||!e||!e.data)return;void 0!==e.key&&(this.nodesMap[e.key]=e)}deregisterNode(e){if(!this.key||!e||!e.data)return;e.getChildNodes(e.childNodesId).forEach((e=>{this.deregisterNode(e)})),delete this.nodesMap[e.key]}getNodePath(e){if(!this.key)throw new Error("[Tree] nodeKey is required in getNodePath");const t=this.getNode(e);if(!t)return[];const s=[t.data];let d=t.getParent(t.parentId);for(;d&&d!==this.root;)s.push(d.data),d=d.getParent(d.parentId);return s.reverse()}getCheckedNodes(e=!1,t=!1){const s=[],d=function(o){(o.root?o.root.getChildNodes(o.root.childNodesId):o.getChildNodes(o.childNodesId)).forEach((o=>{(o.checked||t&&o.indeterminate)&&(!e||e&&o.isLeaf)&&s.push(o.data),d(o)}))};return d(this),s}getCheckedKeys(e=!1,t=!1){return this.getCheckedNodes(e,t).map((e=>(e||{})[this.key]))}getHalfCheckedNodes(){const e=[],t=function(s){(s.root?s.root.getChildNodes(s.root.childNodesId):s.getChildNodes(s.childNodesId)).forEach((s=>{s.indeterminate&&e.push(s.data),t(s)}))};return t(this),e}getHalfCheckedKeys(){return this.getHalfCheckedNodes().map((e=>(e||{})[this.key]))}_getAllNodes(){const e=[],t=this.nodesMap;for(let s in t)t.hasOwnProperty(s)&&e.push(t[s]);return e}updateChildren(e,t){const s=this.nodesMap[e];if(!s)return;const d=s.getChildNodes(s.childNodesId);for(let o=d.length-1;o>=0;o--){const e=d[o];this.remove(e.data)}for(let o=0,i=t.length;o<i;o++){const e=t[o];this.append(e,s.data)}}_setCheckedKeys(e,t=!1,s){const d=this._getAllNodes().sort(((e,t)=>t.level-e.level)),o=Object.create(null),i=Object.keys(s);d.forEach((e=>e.setChecked(!1,!1)));for(let r=0,h=d.length;r<h;r++){const s=d[r];let h=s.data[e];if(void 0===h)continue;if(h=h.toString(),!(i.indexOf(h)>-1)){s.checked&&!o[h]&&s.setChecked(!1,!1);continue}let n=s.getParent(s.parentId);for(;n&&n.level>0;)o[n.data[e]]=!0,n=n.getParent(n.parentId);if(s.isLeaf||this.checkStrictly)s.setChecked(!0,!1);else if(s.setChecked(!0,!0),t){s.setChecked(!1,!1);const e=function(t){t.getChildNodes(t.childNodesId).forEach((t=>{t.isLeaf||t.setChecked(!1,!1),e(t)}))};e(s)}}}setCheckedNodes(e,t=!1){const s=this.key,d={};e.forEach((e=>{d[(e||{})[s]]=!0})),this._setCheckedKeys(s,t,d)}setCheckedKeys(e,t=!1){this.defaultCheckedKeys=e;const s=this.key,d={};e.forEach((e=>{d[e]=!0})),this._setCheckedKeys(s,t,d)}setDefaultExpandedKeys(e){e=e||[],this.defaultExpandedKeys=e,e.forEach((e=>{const t=this.getNode(e);t&&t.expand(null,this.autoExpandParent)}))}setChecked(e,t,s){const d=this.getNode(e);d&&d.setChecked(!!t,s)}getCurrentNode(){return this.currentNode}setCurrentNode(e){const t=this.currentNode;t&&(t.isCurrent=!1),this.currentNode=e,this.currentNode.isCurrent=!0,this.expandCurrentNodeParent&&this.currentNode.expand(null,!0)}setUserCurrentNode(e){const t=e[this.key],s=this.nodesMap[t];this.setCurrentNode(s)}setCurrentNodeKey(e){if(null==e)return this.currentNode&&(this.currentNode.isCurrent=!1),void(this.currentNode=null);const t=this.getNode(e);t&&this.setCurrentNode(t)}};
"use strict";const e=function(e){let t=!0,n=!0,r=!0;for(let o=0,i=e.length;o<i;o++){const i=e[o];(!0!==i.checked||i.indeterminate)&&(t=!1,i.disabled||(r=!1)),(!1!==i.checked||i.indeterminate)&&(n=!1)}return{all:t,none:n,allWithoutDisable:r,half:!t&&!n}},t=function(n){if(!n||0===n.childNodesId.length)return;let r=n.getChildNodes(n.childNodesId);const{all:o,none:i,half:d}=e(r);o?(n.checked=!0,n.indeterminate=!1):d?(n.checked=!1,n.indeterminate=!0):i&&(n.checked=!1,n.indeterminate=!1);let l=n.getParent(n.parentId);l&&0!==l.level&&(n.store().checkStrictly||t(l))};exports.NODE_KEY="$treeNodeId",exports.arrayFindIndex=function(e,t){for(let n=0;n!==e.length;++n)if(t(e[n]))return n;return-1},exports.getChildState=e,exports.getNodeKey=function(e,t){return t?e?t[e]:t.$treeNodeId:null},exports.getPropertyFromData=function(e,t){const n=e.store().props,r=e.data||{},o=n[t];if("function"==typeof o)return o(r,e);if("string"==typeof o)return r[o];if(void 0===o){const e=r[t];return void 0===e?"":e}},exports.isNull=function(e){return null==e||""===e},exports.markNodeData=function(e,t){t&&!t.$treeNodeId&&Object.defineProperty(t,"$treeNodeId",{value:e.id,enumerable:!1,configurable:!1,writable:!1})},exports.objectAssign=function(e){for(let t=1,n=arguments.length;t<n;t++){let n=arguments[t]||{};for(let t in n)if(n.hasOwnProperty(t)){let r=n[t];void 0!==r&&(e[t]=r)}}return e},exports.reInitChecked=t;
"use strict";const e=require("../libs/resources.js"),r={data:()=>({icon:e.resources.message.nodata})};const o=require("../common/vendor.js")._export_sfc(r,[["render",function(e,r,o,s,n,c){return{a:n.icon}}]]);wx.createComponent(o);
{
"component": true,
"usingComponents": {}
}
\ No newline at end of file
<view class="notData-box u-flex-col"><view class="u-flex-col notData-inner"><image src="{{a}}" mode="" class="notData-inner-img"></image><text class="notData-inner-text">暂无数据</text></view></view>
\ No newline at end of file
.notData-box{width:100%;height:100%;justify-content:center;align-items:center;padding-top:300rpx;z-index:999;background-color:#f0f2f6}.notData-box .notData-inner{width:154px;height:170px;align-items:center}.notData-box .notData-inner .notData-inner-text{padding:30rpx 0;color:#909399}.notData-box .notData-inner .notData-inner-img{width:100%;height:100%}
"use strict";const e=require("../common/vendor.js"),s=require("../utils/define.js");require("../utils/request.js");const t=require("../store/modules/chat.js"),n=require("../store/modules/user.js"),o=t.useChatStoreWithOut(),a=n.useUserStore();let c=!1;const r={conTime:0,initSocket(){try{const t=e.index.getStorageSync("token")||"",n=(e.index.getStorageSync("systemInfo"),e.index.getStorageSync("userInfo")||{});c=e.index.connectSocket({url:s.define.webSocketUrl+"/"+encodeURIComponent(t),success(){setTimeout((()=>o.setSocket(c)),0)}}),c.onMessage((s=>{let t=s.data;const n=JSON.parse(t);n.title;switch(n.method){case"initMessage":const s={messageText:n.messageDefaultText||"暂无数据",messageCount:n.unreadMessageCount+n.unreadSystemMessageCount<0?0:n.unreadMessageCount+n.unreadSystemMessageCount+n.unreadScheduleCount,messageDate:n.messageDefaultTime||0};let t=n.unreadMessageCount+n.unreadSystemMessageCount+n.unreadScheduleCount;for(let e=0;e<n.unreadNums.length;e++)t+=n.unreadNums[e].unreadNum;o.setBadgeNum(t),o.setMsgInfo(s);break;case"Online":case"Offline":default:break;case"sendMessage":o.sendMessage(n);break;case"receiveMessage":o.receiveMessage(n);break;case"messageList":o.getMessageList(n);break;case"messagePush":o.messagePush(n);break;case"closeSocket":r.close();break;case"logout":e.index.showToast({title:n.msg||"登录已过期",icon:"none",complete:()=>{setTimeout((()=>{a.resetToken(),setTimeout((()=>{r.close(),e.index.reLaunch({url:"/pages/login/index"})}),500)}),1e3)}})}})),c.onOpen((e=>{r.conTime=0;const s=JSON.stringify({method:"OnConnection",token:t,mobileDevice:!0,systemId:n.appSystemId});r.sendMsg(s)})),c.onClose((e=>{c=!1,o.setSocket(null)})),c.onError((s=>{o.setSocket(null),setTimeout((()=>{r.conTime+=1,r.conTime<=10?(r.conTime>=3&&e.index.showToast({title:"IM通讯正在连接:连接第"+r.conTime+"次!稍后...",icon:"none"}),r.reConnect()):e.index.showToast({title:"IM通讯连接失败,联系服务器管理员",icon:"none"})}),10)}))}catch(t){}},sendMsg(e){if(!1===c)return r.reConnect();let s=e;c.send({data:s,complete(e){}})},reConnect(){r.initSocket()},close(){c.close({complete(e){c=!1,o.setSocket(null)}})}};exports.Socket=r;
"use strict";const r={colorList:[{r:244,g:67,b:54,a:1},{r:233,g:30,b:99,a:1},{r:156,g:39,b:176,a:1},{r:103,g:58,b:183,a:1},{r:63,g:81,b:181,a:1},{r:33,g:150,b:243,a:1},{r:3,g:169,b:244,a:1},{r:0,g:188,b:212,a:1},{r:0,g:150,b:136,a:1},{r:76,g:175,b:80,a:1},{r:139,g:195,b:74,a:1},{r:205,g:220,b:57,a:1},{r:255,g:235,b:59,a:1},{r:255,g:193,b:7,a:1},{r:255,g:152,b:0,a:1},{r:255,g:87,b:34,a:1},{r:121,g:85,b:72,a:1},{r:158,g:158,b:158,a:1},{r:0,g:0,b:0,a:.5},{r:0,g:0,b:0,a:0}],hsv2rgb(r,t,a){r=6*this.bound01(r,360),t=this.bound01(t,100),a=this.bound01(a,100);const e=Math.floor(r),n=r-e,s=a*(1-t),b=a*(1-n*t),o=a*(1-(1-n)*t),h=e%6,g=[a,b,s,s,o,a][h],i=[o,a,a,b,s,s][h],u=[s,s,o,a,a,b][h];return{r:Math.round(255*g),g:Math.round(255*i),b:Math.round(255*u),a:1}},bound01(r,t){this.isOnePointZero(r)&&(r="100%");const a=this.isPercentage(r);return r=Math.min(t,Math.max(0,parseFloat(r))),a&&(r=parseInt(r*t,10)/100),Math.abs(r-t)<1e-6?1:r%t/parseFloat(t)},isPercentage:r=>"string"==typeof r&&-1!==r.indexOf("%"),isOnePointZero:r=>"string"==typeof r&&-1!==r.indexOf(".")&&1===parseFloat(r),rgb2hsl(r,t,a){r/=255,t/=255,a/=255;var e,n,s=Math.min(r,t,a),b=Math.max(r,t,a),o=(s+b)/2,h=b-s;if(b==s)e=0,n=0;else{switch(n=o>.5?h/(2-b-s):h/(b+s),b){case r:e=(t-a)/h+(t<a?6:0);break;case t:e=2+(a-r)/h;break;case a:e=4+(r-t)/h}e=Math.round(60*e)}return{h:e,s:(n=Math.round(100*n))+"%",l:(o=Math.round(100*o))+"%"}},rgb2hsv(r,t,a){r=this.bound01(r,255),t=this.bound01(t,255),a=this.bound01(a,255);const e=Math.max(r,t,a),n=Math.min(r,t,a);let s,b,o=e;const h=e-n;if(b=0===e?0:h/e,e===n)s=0;else{switch(e){case r:s=(t-a)/h+(t<a?6:0);break;case t:s=(a-r)/h+2;break;case a:s=(r-t)/h+4}s/=6}return{h:parseInt(360*s),s:parseInt(100*b),v:parseInt(100*o)}},rgbToHex(r){let t=[r.r.toString(16),r.g.toString(16),r.b.toString(16)];return t.map((function(r,a){1==r.length&&(t[a]="0"+r)})),t.join("")},hex2rgba(r){var t=r.toLowerCase();let a={},e=["r","g","b"];if(t&&/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(t)){if(4===t.length){for(var n="#",s=1;s<4;s+=1)n+=t.slice(s,s+1).concat(t.slice(s,s+1));t=n}var b=[];for(s=1;s<7;s+=2)b.push(parseInt("0x"+t.slice(s,s+2)));return b.push(1),b.forEach(((r,t)=>{e[t]&&(a[e[t]]=r)})),a}return t},hsv2rgb(r,t,a){r=6*this.bound01(r,360),t=this.bound01(t,100),a=this.bound01(a,100);const e=Math.floor(r),n=r-e,s=a*(1-t),b=a*(1-n*t),o=a*(1-(1-n)*t),h=e%6,g=[a,b,s,s,o,a][h],i=[o,a,a,b,s,s][h],u=[s,s,o,a,a,b][h];return{r:Math.round(255*g),g:Math.round(255*i),b:Math.round(255*u),a:1}},hsl2rgb(r,t,a){r/=360,a/=100;let e=[],n=["r","g","b"],s={r:0,g:0,b:0,a:1};if(0==(t/=100))e=[Math.round(255*a),Math.round(255*a),Math.round(255*a)];else{var b=a>=.5?a+t-a*t:a*(1+t),o=2*a-b;e[0]=r+1/3,e[1]=r,e[2]=r-1/3;for(var h=0;h<e.length;h++){var g=e[h];switch(g<0?g+=1:g>1&&(g-=1),!0){case g<1/6:g=o+6*(b-o)*g;break;case 1/6<=g&&g<.5:g=b;break;case.5<=g&&g<2/3:g=o+(b-o)*(4-6*g);break;default:g=o}e[h]=Math.round(255*g),s[n[h]]=e[h]}}return s},rgbToHsb(r){let t={h:0,s:0,b:0},a=Math.min(r.r,r.g,r.b),e=Math.max(r.r,r.g,r.b),n=e-a;return t.b=e,t.s=0!=e?255*n/e:0,0!=t.s?r.r==e?t.h=(r.g-r.b)/n:r.g==e?t.h=2+(r.b-r.r)/n:t.h=4+(r.r-r.g)/n:t.h=-1,t.h*=60,t.h<0&&(t.h=0),t.s*=100/255,t.b*=100/255,t},HSBToRGB(r){let t={},a=Math.round(r.h),e=Math.round(255*r.s/100),n=Math.round(255*r.b/100);if(0==e)t.r=t.g=t.b=n;else{let r=n,s=(255-e)*n/255,b=a%60*(r-s)/60;360==a&&(a=0),a<60?(t.r=r,t.b=s,t.g=s+b):a<120?(t.g=r,t.b=s,t.r=r-b):a<180?(t.g=r,t.r=s,t.b=s+b):a<240?(t.b=r,t.r=s,t.g=r-b):a<300?(t.b=r,t.g=s,t.r=s+b):a<360?(t.r=r,t.g=s,t.b=r-b):(t.r=0,t.g=0,t.b=0)}return{r:Math.round(t.r),g:Math.round(t.g),b:Math.round(t.b)}}};exports.conversion=r;
"use strict";const e=require("../common/vendor.js");exports.pathToBase64=function(n){return new Promise((function(t,o){if("object"==typeof window&&"document"in window){if("function"==typeof FileReader){var i=new XMLHttpRequest;return i.open("GET",n,!0),i.responseType="blob",i.onload=function(){if(200===this.status){let e=new FileReader;e.onload=function(e){t(e.target.result)},e.onerror=o,e.readAsDataURL(this.response)}},i.onerror=o,void i.send()}var r=document.createElement("canvas"),a=r.getContext("2d"),s=new Image;return s.onload=function(){r.width=s.width,r.height=s.height,a.drawImage(s,0,0),t(r.toDataURL()),r.height=r.width=0},s.onerror=o,void(s.src=n)}"object"!=typeof plus?"object"==typeof e.wx$1&&e.wx$1.canIUse("getFileSystemManager")?e.wx$1.getFileSystemManager().readFile({filePath:n,encoding:"base64",success:function(e){t("data:image/png;base64,"+e.data)},fail:function(e){o(e)}}):o(new Error("not support")):plus.io.resolveLocalFileSystemURL(function(e){if(0===e.indexOf("_www")||0===e.indexOf("_doc")||0===e.indexOf("_documents")||0===e.indexOf("_downloads"))return e;if(0===e.indexOf("file://"))return e;if(0===e.indexOf("/storage/emulated/0/"))return e;if(0===e.indexOf("/")){var n=plus.io.convertAbsoluteFileSystem(e);if(n!==e)return n;e=e.substr(1)}return"_www/"+e}(n),(function(e){e.file((function(e){var n=new plus.io.FileReader;n.onload=function(e){t(e.target.result)},n.onerror=function(e){o(e)},n.readAsDataURL(e)}),(function(e){o(e)}))}),(function(e){o(e)}))}))};
"use strict";const e=require("../common/vendor.js");let n={permissionList:e.index.getStorageSync("permissionList")||[],hasP(e,t){if(!t)return!1;const s=n.permissionList.filter((e=>e.modelId===t));if(!s.length)return!1;const o=s[0]&&s[0].column?s[0].column:[];if(!o.length)return!1;return!!o.some((n=>n.enCode===e))},hasFormP(e,t){if(!t)return!1;const s=n.permissionList.filter((e=>e.modelId===t));if(!s.length)return!1;const o=s[0]&&s[0].form?s[0].form:[];if(!o.length)return!1;return!!o.some((n=>n.enCode===e))},hasBtnP(e,t){if(!t)return!1;const s=n.permissionList.filter((e=>e.modelId===t));if(!s.length)return!1;const o=s[0]&&s[0].button?s[0].button:[];if(!o.length)return!1;return!!o.some((n=>n.enCode===e))},getPermission(e,t,s){let o=e.btnsList,i=e.customBtnsList,r=e.columnBtnsList;const l=e.useBtnPermission,u=e.useColumnPermission,m=e.useFormPermission,f=[...o,...r];let a=[],c=[],d=[],h=[],b={},g=["detail","edit","add","remove"],p={},v={};f.map((e=>{g.includes(e.value)&&(p["btn_"+e.value]=e.label)}));let L=n.permissionList.filter((e=>{if(e.modelId===t)return b=e}));if(l){if(i&&i.length)for(let e=0;e<i.length;e++)e:for(let n=0;n<b.button.length;n++)if(i[e].value===b.button[n].enCode){c.push(i[e]);break e}if(L.length)for(let e=0;e<f.length;e++)e:for(let n=0;n<b.button.length;n++)if("btn_"+f[e].value===b.button[n].enCode){a.push(b.button[n].enCode);break e}}else{for(let e=0;e<f.length;e++)e:for(let n=0;n<g.length;n++)if(f[e].value===g[n]){a.push("btn_"+f[e].value);break e}c=i}return r.map((e=>{if(v[e.value]=()=>!0,e.event&&e.event.enableFunc){const n=s(e.event.enableFunc);v[e.value]=n}})),i.map((e=>{if(v[e.value]=()=>!0,e.event&&e.event.enableFunc){const n=s(e.event.enableFunc);v[e.value]=n}})),u?L.length&&e.columnList.forEach(((e,n)=>{b.column.forEach(((n,t)=>{e.prop===n.enCode&&d.push(e)}))})):d=e.columnList,m&&L.length&&(h=b.form),{labelS:p,btnPermission:a,customBtnsPermission:c,columnPermission:d,formPermission:{formList:h,useFormPermission:m,menuId:t},enableFunc:v,useBtnPermission:l}},updatePermissionList(){n.permissionList=e.index.getStorageSync("permissionList")||[]}};exports.permission=n;
"use strict";exports.resources={startup:{main:"https://app.cdn.jnpfsoft.com/image/3.2/startup@2x.png"},login:{banner:"https://app.cdn.jnpfsoft.com/image/3.0/login/top.png",logo:"https://app.cdn.jnpfsoft.com/image/banner/logo.png"},banner:{home1Url:"https://app.cdn.jnpfsoft.com/image/3.2/banner1.png",home2Url:"https://app.cdn.jnpfsoft.com/image/3.2/banner2.png",home3Url:"https://app.cdn.jnpfsoft.com/image/3.2/banner4.png",contactus:"https://app.cdn.jnpfsoft.com/image/banner/contactus.png",loginlogo:"https://app.cdn.jnpfsoft.com/image/banner/logo.png",accountSecurity:"https://app.cdn.jnpfsoft.com/image/banner/accountSecurity.png"},message:{nocontent:"https://app.cdn.jnpfsoft.com/image/message/nocontent.png",nodata:"https://app.cdn.jnpfsoft.com/image/message/nodata.png"},guide:{guide1:"https://app.cdn.jnpfsoft.com/image/3.2/guide1@2x.png",guide2:"https://app.cdn.jnpfsoft.com/image/3.2/guide2@2x.png",guide3:"https://app.cdn.jnpfsoft.com/image/3.2/guide3@2x.png"},extend:{againlocation:"https://app.cdn.jnpfsoft.com/image/extend/againlocation.png",file:"https://app.cdn.jnpfsoft.com/image/extend/file.png",location:"https://app.cdn.jnpfsoft.com/image/extend/location.png",location3:"https://app.cdn.jnpfsoft.com/image/extend/location%403x.png",pause:"https://app.cdn.jnpfsoft.com/image/extend/pause.png",play:"https://app.cdn.jnpfsoft.com/image/extend/play.png",pluse:"https://app.cdn.jnpfsoft.com/image/extend/plus.png",record:"https://app.cdn.jnpfsoft.com/image/extend/record.png",stop:"https://app.cdn.jnpfsoft.com/image/extend/stop.png",trash:"https://app.cdn.jnpfsoft.com/image/extend/trash.png"},common:{currentIcon:"https://app.cdn.jnpfsoft.com/image/common/currentIcon.png",defaultIcon:"https://app.cdn.jnpfsoft.com/image/common/defaultIcon.png",agreement:"https://app.cdn.jnpfsoft.com/image/common/agreement.png",wechat_qrcode:"https://app.cdn.jnpfsoft.com/image/common/wechat_qrcode.jpg",new_edition:"https://app.cdn.jnpfsoft.com/image/common/new_edition.png"},jnapp:"https://app.cdn.jnpfsoft.com/jnapp/20200415.apk",userAgreement:"https://m.yinmaisoft.com/userAgreement.html",privacyPolicy:"https://m.yinmaisoft.com/privacyPolicy.html",appStore:"https://apps.apple.com/cn/app/jnapp/id1490797314",status:{frontSign:"https://app.cdn.jnpfsoft.com/image/flow/frontSign.png",refuse:"https://app.cdn.jnpfsoft.com/image/flow/refuse.png",submit:"https://app.cdn.jnpfsoft.com/image/flow/submit.png",review:"https://app.cdn.jnpfsoft.com/image/flow/review.png",adopt:"https://app.cdn.jnpfsoft.com/image/flow/adopt.png",reviewAdopt:"https://app.cdn.jnpfsoft.com/image/flow/reviewAdopt.png",reviewRefuse:"https://app.cdn.jnpfsoft.com/image/flow/reviewRefuse.png",reviewUndo:"https://app.cdn.jnpfsoft.com/image/flow/reviewUndo.png",reviewStop:"https://app.cdn.jnpfsoft.com/image/flow/reviewStop.png",entrusting:"https://app.cdn.jnpfsoft.com/image/flow/entrusting.png",expired:"https://app.cdn.jnpfsoft.com/image/flow/expired.png",notStarted:"https://app.cdn.jnpfsoft.com/image/flow/notStarted.png",suspend:"https://app.cdn.jnpfsoft.com/image/flow/suspend.png",trun:"https://app.cdn.jnpfsoft.com/image/flow/trun.png"}};
"use strict";const i=require("../../../common/vendor.js"),t=require("../../../api/apply/visualDev.js"),e=require("../../../api/common.js"),n={data:()=>({config:{},id:"",modelId:"",formConf:{},dataForm:{},key:+new Date,loading:!1,btnLoading:!1,isPreview:!0,formData:{},isAdd:!1,userInfo:{}}),onLoad(t){this.userInfo=i.index.getStorageSync("userInfo")||{},this.loading=!0;let e=t.data?JSON.parse(decodeURIComponent(t.data)):{};this.config=e.config,this.id=e.id,this.modelId=e.modelId,this.isPreview=e.isPreview,null!=this.id&&null!=this.id&&""!=this.id?this.isAdd=!1:this.isAdd=!0,i.index.setNavigationBarTitle({title:this.config.popupTitle}),this.config.modelId&&this.getConfigData(e.row)},methods:{getConfigData(e){t.getConfigData(this.config.modelId).then((n=>{if(200!==n.code||!n.data)return void i.index.showToast({title:n.msg||"请求出错,请重试",icon:"none"});this.formConf=JSON.parse(n.data.formData);const o=i=>{if(this.config.formOptions.length)for(let t in i)for(let e=0;e<this.config.formOptions.length;e++){const n=this.config.formOptions[e];"@formId"==n.currentField&&(this.formData[n.field]=i.id),n.currentField==t&&(this.formData[n.field]=i[t])}this.fillFormData(this.formConf,this.formData),this.key=+new Date,this.loading=!1};if(this.id)t.getModelInfo(this.modelId,this.id).then((i=>{let t=i.data;if(!t.data)return;const e=JSON.parse(t.data);this.formData={},o({...e,id:this.id})}));else{o(e)}})).catch((()=>{}))},fillFormData(i,t){const e=i=>{for(let n=0;n<i.length;n++){let o=i[n],s=o.__vModel__,a=o.__config__;if(s){let i=t.hasOwnProperty(s)?t[s]:a.defaultValue;if(a.isSubTable||(a.defaultValue=i),a.defaultCurrent){if("datePicker"===a.jnpfKey&&!t.hasOwnProperty(s)){let t=this.jnpf.handelFormat(o.format),e=this.jnpf.toDate((new Date).getTime(),t);i=new Date(e+("yyyy"===t?"-01-01 00:00:00":"yyyy-MM"===t?"-01 00:00:00":"yyyy-MM-dd"===t?" 00:00:00":"")).getTime(),a.defaultValue=i}"timePicker"===a.jnpfKey&&(t.hasOwnProperty(s)||(a.defaultValue=this.jnpf.toDate(new Date,o.format)));const e=this.userInfo.organizeIdList;"organizeSelect"===a.jnpfKey&&Array.isArray(e)&&e.length&&(a.defaultValue=o.multiple?[e]:e);const n=this.userInfo.departmentId;"depSelect"===a.jnpfKey&&n&&(a.defaultValue=o.multiple?[n]:n);const r=this.userInfo.positionIds;"posSelect"===a.jnpfKey&&Array.isArray(r)&&r.length&&(a.defaultValue=o.multiple?r.map((i=>i.id)):r[0].id);const f=this.userInfo.roleIds;"roleSelect"===a.jnpfKey&&Array.isArray(f)&&f.length&&(a.defaultValue=o.multiple?f:f[0]);const l=this.userInfo.groupIds;"groupSelect"===a.jnpfKey&&Array.isArray(l)&&l.length&&(a.defaultValue=o.multiple?l:l[0]);const d=this.userInfo.userId;"userSelect"===a.jnpfKey&&d&&(a.defaultValue=o.multiple?[d]:d),"usersSelect"===a.jnpfKey&&d&&(a.defaultValue=o.multiple?[d+"--user"]:d+"--user"),"sign"===a.jnpfKey&&this.userInfo.signImg&&(a.defaultValue=this.userInfo.signImg)}let e=!!o.__config__.noShow&&o.__config__.noShow,n=!1;(!o.__config__.visibility||Array.isArray(o.__config__.visibility)&&o.__config__.visibility.includes("app"))&&(n=!0),this.$set(o.__config__,"isVisibility",n),this.$set(o.__config__,"noShow",e)}else{let i=!1,t=!1;(!o.__config__.visibility||Array.isArray(o.__config__.visibility)&&o.__config__.visibility.includes("app"))&&(t=!0),this.$set(o.__config__,"isVisibility",t),this.$set(o.__config__,"noShow",i)}o.__config__&&o.__config__.children&&Array.isArray(o.__config__.children)&&e(o.__config__.children)}};e(i.fields)},cancel(){i.index.navigateBack()},sumbitForm(n,o){if(!n)return;this.btnLoading=!0;const s=(t,e)=>{e&&"function"==typeof e&&e(),i.index.showToast({title:t.msg,complete:()=>{setTimeout((()=>{this.btnLoading=!1,this.config.isRefresh&&i.index.$emit("refresh"),i.index.navigateBack()}),1500)}})};if(this.config.customBtn){const i={paramList:this.jnpf.getParamList(this.config.templateJson,n)||[]};e.getDataInterfaceRes(this.config.interfaceId,i).then((i=>{s(i,o)})).catch((()=>{this.btnLoading=!1}))}else this.dataForm.data=JSON.stringify(n),t.createModel(this.config.modelId,this.dataForm).then((i=>{s(i,o)})).catch((()=>{this.btnLoading=!1}))},submit(){this.isPreview?i.index.showToast({title:"功能预览不支持数据保存",icon:"none"}):this.$refs.dynamicForm&&this.$refs.dynamicForm.submitForm()}}};if(!Array){(i.resolveComponent("JnpfParser")+i.resolveComponent("u-button"))()}Math||((()=>"../../../components/Jnpf/Parser/index.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-button/u-button.js"))();const o=i._export_sfc(n,[["render",function(t,e,n,o,s,a){return i.e({a:!s.loading},s.loading?{}:{b:i.sr("dynamicForm","3d947f01-0"),c:i.o(a.sumbitForm),d:s.key,e:i.p({formConf:s.formConf})},{f:i.o(a.cancel),g:i.t(s.config.confirmButtonText||"确定"),h:i.o(a.submit),i:i.p({type:"primary",loading:s.btnLoading})})}],["__scopeId","data-v-3d947f01"]]);wx.createPage(o);
{
"navigationBarTitleText": "自定义操作",
"usingComponents": {
"jnpf-parser": "../../../components/Jnpf/Parser/index",
"u-button": "../../../uni_modules/vk-uview-ui/components/u-button/u-button"
}
}
\ No newline at end of file
<view class="jnpf-wrap jnpf-wrap-form data-v-3d947f01"><jnpf-parser wx:if="{{a}}" class="r data-v-3d947f01" u-r="dynamicForm" bindsubmit="{{c}}" key="{{d}}" u-i="3d947f01-0" bind:__l="__l" u-p="{{e}}"/><view class="buttom-actions data-v-3d947f01"><u-button u-s="{{['d']}}" class="buttom-btn data-v-3d947f01" catchclick="{{f}}" u-i="3d947f01-1" bind:__l="__l">取消</u-button><u-button wx:if="{{i}}" u-s="{{['d']}}" class="buttom-btn data-v-3d947f01" catchclick="{{h}}" u-i="3d947f01-2" bind:__l="__l" u-p="{{i}}">{{g}}</u-button></view></view>
\ No newline at end of file
page.data-v-3d947f01{background-color:#f0f2f6}
"use strict";const e=require("../../../../../common/vendor.js"),o=["link","editor","button","alert"],i={name:"Item",components:{Item:()=>Promise.resolve().then((()=>t))},props:{item:{type:Object,required:!0},formConf:{type:Object,required:!0},formData:{type:Object}},computed:{config(){return this.item.__config__},labelWidth(){return o.indexOf(this.config.jnpfKey)>-1?0:this.config.labelWidth?1.5*this.config.labelWidth:void 0},label(){return this.config.showLabel&&o.indexOf(this.config.jnpfKey)<0?this.config.label:""},realLabel(){return this.label?this.label+(this.formConf.labelSuffix||""):""},leftIcon(){return this.config.tipLabel&&this.label&&this.config.showLabel?"question-circle-fill":""}},data:()=>({tabCurrent:0,tableData:[],summaryField:[]}),created(){this.handleSummary(),this.handleTab()},mounted(){"collapse"===this.config.jnpfKey&&this.$refs.collapseRef&&this.$refs.collapseRef.init(),e.index.$on("initCollapse",(()=>{this.$refs.collapseRef&&this.$refs.collapseRef.init()}))},methods:{handleTab(){if("tab"===this.config.jnpfKey)for(var e=0;e<this.config.children.length;e++)if(this.config.active==this.config.children[e].name){this.tabCurrent=e;break}},handleSummary(){if("table"!==this.item.__config__.jnpfKey)return;const e=this.item.__config__.defaultValue;let o=this.item.summaryField||[];this.summaryField=[],this.tableData=this.item.__config__.children||[];for(let i=0;i<o.length;i++)for(let e=0;e<this.tableData.length;e++){const n=this.tableData[e];this.tableData[e].__vModel__!==o[i]||n.__config__.noShow||this.summaryField.push({value:"",...n})}this.$nextTick((()=>this.getTableSummaries(e,this.item)))},toThousands(e,o){if(e){let i=e.toString().split("."),n=Number(i[0]),t=o.thousands?n.toLocaleString():n;return i[1]?t+"."+i[1]:t}return e},getTableSummaries(e,o){for(let i=0;i<this.summaryField.length;i++){let o=0;for(let t=0;t<e.length;t++)if(e[t][this.summaryField[i].__vModel__]){o+=isNaN(e[t][this.summaryField[i].__vModel__])?0:Number(e[t][this.summaryField[i].__vModel__])}let n=o&&!Number.isInteger(o)?Number(o).toFixed(2):o;this.summaryField[i].thousands&&(n=Number(n).toLocaleString("zh")),this.summaryField[i].value=n}},clickIcon(e){this.$emit("clickIcon",e)},onTabChange(o){this.tabCurrent!==o&&(this.tabCurrent=o,this.$emit("tab-change",this.item,o),this.$nextTick((()=>{e.index.$emit("initCollapse"),e.index.$emit("updateCode")})))},doPreviewImage(o,i){const n=i.map((e=>this.define.baseURL+e.url));e.index.previewImage({urls:n,current:o,success:()=>{},fail:()=>{e.index.showToast({title:"预览图片失败",icon:"none"})}})},toDetail(e){this.$emit("toDetail",e)},toTableDetail(e,o){e.__config__.defaultValue=o,this.$emit("toDetail",e)},getValue:e=>Array.isArray(e.__config__.defaultValue)?["timeRange","dateRange"].includes(e.__config__.jnpfKey)?e.__config__.defaultValue.join(""):e.__config__.defaultValue.join():e.__config__.defaultValue}};if(!Array){(e.resolveComponent("JnpfText")+e.resolveComponent("JnpfDivider")+e.resolveComponent("JnpfGroupTitle")+e.resolveComponent("JnpfUploadFile")+e.resolveComponent("JnpfColorPicker")+e.resolveComponent("JnpfRate")+e.resolveComponent("JnpfEditor")+e.resolveComponent("JnpfBarcode")+e.resolveComponent("JnpfQrcode")+e.resolveComponent("JnpfInputNumber")+e.resolveComponent("JnpfCalculate")+e.resolveComponent("JnpfLink")+e.resolveComponent("JnpfAlert")+e.resolveComponent("JnpfButton")+e.resolveComponent("JnpfSlider")+e.resolveComponent("JnpfSign")+e.resolveComponent("JnpfSignature")+e.resolveComponent("JnpfLocation")+e.resolveComponent("JnpfInput")+e.resolveComponent("u-form-item")+e.resolveComponent("u-icon")+e.resolveComponent("Item")+e.resolveComponent("JnpfUploadImg")+e.resolveComponent("u-input")+e.resolveComponent("u-steps")+e.resolveComponent("u-tabs")+e.resolveComponent("u-collapse-item")+e.resolveComponent("u-collapse"))()}Math||((()=>"../../../../../components/Jnpf/Text/index.js")+(()=>"../../../../../components/Jnpf/Divider/index.js")+(()=>"../../../../../components/Jnpf/GroupTitle/index.js")+(()=>"../../../../../components/Jnpf/UploadFile/index.js")+(()=>"../../../../../components/Jnpf/ColorPicker/index.js")+(()=>"../../../../../components/Jnpf/Rate/index.js")+(()=>"../../../../../components/Jnpf/Editor/index.js")+(()=>"../../../../../components/Jnpf/Barcode/index.js")+(()=>"../../../../../components/Jnpf/Qrcode/index.js")+(()=>"../../../../../components/Jnpf/InputNumber/index.js")+(()=>"../../../../../components/Jnpf/Calculate/index.js")+(()=>"../../../../../components/Jnpf/Link/index.js")+(()=>"../../../../../components/Jnpf/Alert/index.js")+(()=>"../../../../../components/Jnpf/Button/index.js")+(()=>"../../../../../components/Jnpf/Slider/index.js")+(()=>"../../../../../components/Jnpf/Sign/index.js")+(()=>"../../../../../components/Jnpf/Signature/index.js")+(()=>"../../../../../components/Jnpf/Location/index.js")+(()=>"../../../../../components/Jnpf/Input/index.js")+(()=>"../../../../../uni_modules/vk-uview-ui/components/u-form-item/u-form-item.js")+(()=>"../../../../../uni_modules/vk-uview-ui/components/u-icon/u-icon.js")+(()=>"../../../../../components/Jnpf/UploadImg/index.js")+(()=>"../../../../../uni_modules/vk-uview-ui/components/u-input/u-input.js")+(()=>"../../../../../uni_modules/vk-uview-ui/components/u-steps/u-steps.js")+(()=>"../../../../../uni_modules/vk-uview-ui/components/u-tabs/u-tabs.js")+(()=>"../../../../../uni_modules/vk-uview-ui/components/u-collapse-item/u-collapse-item.js")+(()=>"../../../../../uni_modules/vk-uview-ui/components/u-collapse/u-collapse.js"))();const n=e._export_sfc(i,[["render",function(o,i,n,t,l,a){return e.e({a:!a.config.noShow&&(!a.config.visibility||Array.isArray(a.config.visibility)&&a.config.visibility.includes("app"))},!a.config.noShow&&(!a.config.visibility||Array.isArray(a.config.visibility)&&a.config.visibility.includes("app"))?e.e({b:"colFormItem"===a.config.layout},"colFormItem"===a.config.layout?e.e({c:"text"==a.config.jnpfKey},"text"==a.config.jnpfKey?{d:e.p({content:n.item.content,textStyle:n.item.textStyle})}:"divider"===a.config.jnpfKey?{f:e.p({content:n.item.content})}:"groupTitle"==a.config.jnpfKey?{h:e.o((e=>a.clickIcon(n.item))),i:e.p({content:n.item.content,"content-position":n.item.contentPosition,helpMessage:n.item.helpMessage})}:e.e({j:"uploadFile"==a.config.jnpfKey},"uploadFile"==a.config.jnpfKey?{k:e.o((e=>a.config.defaultValue=e)),l:e.p({detailed:!0,modelValue:a.config.defaultValue})}:"uploadImg"===a.config.jnpfKey?{n:e.f(n.item.__config__.defaultValue,((i,t,l)=>({a:t,b:o.define.baseURL+i.url,c:e.o((e=>a.doPreviewImage(o.define.baseURL+i.url,n.item.__config__.defaultValue)),t)})))}:"colorPicker"===a.config.jnpfKey?{p:e.o((e=>a.config.defaultValue=e)),q:e.p({colorFormat:n.item.colorFormat,disabled:!0,modelValue:a.config.defaultValue})}:"rate"===a.config.jnpfKey?{s:e.o((e=>a.config.defaultValue=e)),t:e.p({max:n.item.max,allowHalf:n.item.allowHalf,disabled:!0,modelValue:a.config.defaultValue})}:"editor"===a.config.jnpfKey?{w:e.o((e=>a.config.defaultValue=e)),x:e.p({detailed:!0,modelValue:a.config.defaultValue})}:"relationForm"===a.config.jnpfKey?{z:e.t(n.item.name),A:e.o((e=>a.toDetail(n.item)))}:"popupSelect"===a.config.jnpfKey?{C:e.t(n.item.name)}:"barcode"==a.config.jnpfKey?{E:e.p({staticText:n.item.staticText,width:n.item.width,height:n.item.height,format:n.item.format,dataType:n.item.dataType,lineColor:n.item.lineColor,background:n.item.background,relationField:n.item.relationField+"_id",formData:n.formData})}:"qrcode"==a.config.jnpfKey?{G:e.p({staticText:n.item.staticText,width:n.item.width,dataType:n.item.dataType,colorDark:n.item.colorDark,colorLight:n.item.colorLight,relationField:n.item.relationField+"_id",formData:n.formData})}:"inputNumber"==a.config.jnpfKey?{I:e.o((e=>a.config.defaultValue=e)),J:e.p({step:n.item.step,max:n.item.max||999999999999999,min:n.item.min||-999999999999999,disabled:n.item.disabled,placeholder:n.item.placeholder,isAmountChinese:n.item.isAmountChinese,thousands:n.item.thousands,addonAfter:n.item.addonAfter,addonBefore:n.item.addonBefore,controls:n.item.controls,precision:n.item.precision,detailed:!0,modelValue:a.config.defaultValue})}:"calculate"===a.config.jnpfKey&&0==n.item.isStorage?{L:e.o((e=>a.config.defaultValue=e)),M:e.p({expression:n.item.expression,vModel:n.item.__vModel__,config:a.config,formData:n.formData,precision:n.item.precision,isAmountChinese:n.item.isAmountChinese,thousands:n.item.thousands,modelValue:a.config.defaultValue})}:"link"==a.config.jnpfKey?{O:e.p({content:n.item.content,href:n.item.href,target:n.item.target,textStyle:n.item.textStyle})}:"alert"==a.config.jnpfKey?{Q:e.p({type:n.item.type,title:n.item.title,tagIcon:n.item.tagIcon,showIcon:n.item.showIcon,closable:n.item.closable,description:n.item.description,closeText:n.item.closeText})}:"button"==a.config.jnpfKey?{S:e.p({buttonText:n.item.buttonText,align:n.item.align,type:n.item.type,disabled:n.item.disabled})}:"slider"==a.config.jnpfKey?{U:e.o((e=>a.config.defaultValue=e)),V:e.p({step:n.item.step,min:n.item.min||0,max:n.item.max||100,disabled:!0,modelValue:a.config.defaultValue})}:"sign"==a.config.jnpfKey?{X:e.o((e=>a.config.defaultValue=e)),Y:e.p({detailed:!0,modelValue:a.config.defaultValue})}:"signature"==a.config.jnpfKey?{aa:e.o((e=>a.config.defaultValue=e)),ab:e.p({detailed:!0,modelValue:a.config.defaultValue})}:"location"==a.config.jnpfKey?{ad:e.o((e=>a.config.defaultValue=e)),ae:e.p({enableLocationScope:n.item.enableLocationScope,detailed:!0,modelValue:a.config.defaultValue})}:e.e({af:"calculate"===a.config.jnpfKey},"calculate"===a.config.jnpfKey?e.e({ag:e.t(a.toThousands(a.config.defaultValue,n.item)),ah:n.item.isAmountChinese},n.item.isAmountChinese?{ai:e.t(o.jnpf.getAmountChinese(a.getValue(n.item)))}:{}):"input"==a.config.jnpfKey?{ak:e.o((e=>a.config.defaultValue=e)),al:e.p({detailed:!0,useMask:n.item.useMask,maskConfig:n.item.maskConfig,addonBefore:n.item.addonBefore,addonAfter:n.item.addonAfter,modelValue:a.config.defaultValue})}:{am:e.t(a.getValue(n.item))},{aj:"input"==a.config.jnpfKey}),{m:"uploadImg"===a.config.jnpfKey,o:"colorPicker"===a.config.jnpfKey,r:"rate"===a.config.jnpfKey,v:"editor"===a.config.jnpfKey,y:"relationForm"===a.config.jnpfKey,B:"popupSelect"===a.config.jnpfKey,D:"barcode"==a.config.jnpfKey,F:"qrcode"==a.config.jnpfKey,H:"inputNumber"==a.config.jnpfKey,K:"calculate"===a.config.jnpfKey&&0==n.item.isStorage,N:"link"==a.config.jnpfKey,P:"alert"==a.config.jnpfKey,R:"button"==a.config.jnpfKey,T:"slider"==a.config.jnpfKey,W:"sign"==a.config.jnpfKey,Z:"signature"==a.config.jnpfKey,ac:"location"==a.config.jnpfKey,an:e.o((e=>a.clickIcon(n.item))),ao:e.p({label:a.realLabel,prop:n.item.__vModel__,"label-width":a.labelWidth,"left-icon":a.leftIcon,"left-icon-style":{color:"#a8aaaf"}})}),{e:"divider"===a.config.jnpfKey,g:"groupTitle"==a.config.jnpfKey}):e.e({ap:"card"===a.config.jnpfKey||"row"===a.config.jnpfKey},"card"===a.config.jnpfKey||"row"===a.config.jnpfKey?e.e({aq:n.item.header},n.item.header?{ar:e.t(n.item.header),as:e.p({name:a.config.tipLabel?"question-circle-fill":"",color:"#a0acb7"}),at:e.o((e=>a.clickIcon(n.item)))}:{},{av:e.f(a.config.children,((o,i,t)=>({a:a.config.renderKey+i,b:e.o(a.toDetail,a.config.renderKey+i),c:e.o(a.clickIcon,a.config.renderKey+i),d:"c6d6ecd6-21-"+t,e:e.p({item:o,formConf:n.formConf,formData:n.formData})})))}):{},{aw:"table"===a.config.jnpfKey},"table"===a.config.jnpfKey?e.e({ax:e.t(a.config.label),ay:a.config.tipLabel},a.config.tipLabel?{az:e.p({name:"question-circle-fill",color:"#a0acb7"})}:{},{aA:e.o((e=>a.clickIcon(n.item))),aB:e.f(a.config.defaultValue,((i,t,l)=>({a:e.t(t+1),b:e.f(a.config.children,((t,c,f)=>e.e({a:!t.__config__.noShow&&(!t.__config__.visibility||Array.isArray(t.__config__.visibility)&&t.__config__.visibility.includes("app"))},!t.__config__.noShow&&(!t.__config__.visibility||Array.isArray(t.__config__.visibility)&&t.__config__.visibility.includes("app"))?e.e({b:["relationFormAttr","popupAttr"].includes(t.__config__.jnpfKey)},["relationFormAttr","popupAttr"].includes(t.__config__.jnpfKey)?e.e({c:!t.__vModel__},t.__vModel__?{e:e.t(i[t.__vModel__])}:{d:e.t(i[t.relationField.split("_jnpfTable_")[0]+"_"+t.showField])}):"relationForm"===t.__config__.jnpfKey?{g:e.t(i[t.__vModel__]),h:e.o((e=>a.toTableDetail(t,i[t.__vModel__+"_id"])),c)}:"sign"==t.__config__.jnpfKey?{j:"c6d6ecd6-24-"+l+"-"+f+",c6d6ecd6-23-"+l+"-"+f,k:e.o((e=>i[t.__vModel__]=e),c),l:e.p({detailed:!0,modelValue:i[t.__vModel__]})}:"signature"==t.__config__.jnpfKey?{n:"c6d6ecd6-25-"+l+"-"+f+",c6d6ecd6-23-"+l+"-"+f,o:e.o((e=>i[t.__vModel__]=e),c),p:e.p({detailed:!0,modelValue:i[t.__vModel__]})}:"location"==t.__config__.jnpfKey?{r:"c6d6ecd6-26-"+l+"-"+f+",c6d6ecd6-23-"+l+"-"+f,s:e.o((e=>i[t.__vModel__]=e),c),t:e.p({enableLocationScope:n.item.enableLocationScope,detailed:!0,modelValue:i[t.__vModel__]})}:"uploadFile"===t.__config__.jnpfKey?{w:"c6d6ecd6-27-"+l+"-"+f+",c6d6ecd6-23-"+l+"-"+f,x:e.o((e=>i[t.__vModel__]=e),c),y:e.p({detailed:!0,modelValue:i[t.__vModel__]})}:"uploadImg"===t.__config__.jnpfKey?{A:"c6d6ecd6-28-"+l+"-"+f+",c6d6ecd6-23-"+l+"-"+f,B:e.o((e=>i[t.__vModel__]=e),c),C:e.p({detailed:!0,modelValue:i[t.__vModel__]})}:"inputNumber"==t.__config__.jnpfKey?{E:"c6d6ecd6-29-"+l+"-"+f+",c6d6ecd6-23-"+l+"-"+f,F:e.o((e=>i[t.__vModel__]=e),c),G:e.p({step:t.step,max:t.max,min:t.min,disabled:t.disabled,placeholder:t.placeholder,isAmountChinese:t.isAmountChinese,thousands:t.thousands,addonAfter:t.addonAfter,addonBefore:t.addonBefore,controls:t.controls,precision:t.precision,detailed:!0,modelValue:i[t.__vModel__]})}:"calculate"===t.__config__.jnpfKey&&0==t.isStorage?{I:"c6d6ecd6-30-"+l+"-"+f+",c6d6ecd6-23-"+l+"-"+f,J:e.o((e=>i[t.__vModel__]=e),c),K:e.p({expression:t.expression,vModel:t.__vModel__,config:t.__config__,formData:n.formData,precision:t.precision,isAmountChinese:t.isAmountChinese,thousands:t.thousands,modelValue:i[t.__vModel__]})}:"rate"===t.__config__.jnpfKey?{M:"c6d6ecd6-31-"+l+"-"+f+",c6d6ecd6-23-"+l+"-"+f,N:e.o((e=>i[t.__vModel__]=e),c),O:e.p({max:t.max,allowHalf:t.allowHalf,disabled:!0,modelValue:i[t.__vModel__]})}:"slider"==t.__config__.jnpfKey?{Q:"c6d6ecd6-32-"+l+"-"+f+",c6d6ecd6-23-"+l+"-"+f,R:e.o((e=>i[t.__vModel__]=e),c),S:e.p({step:t.step,min:t.min||0,max:t.max||100,disabled:!0,modelValue:i[t.__vModel__]})}:e.e({T:"calculate"===t.__config__.jnpfKey},"calculate"===t.__config__.jnpfKey?e.e({U:e.t(a.toThousands(i[t.__vModel__],t)),V:t.isAmountChinese},t.isAmountChinese?{W:e.t(o.jnpf.getAmountChinese(i[t.__vModel__]))}:{}):"input"==t.__config__.jnpfKey?{Y:"c6d6ecd6-33-"+l+"-"+f+",c6d6ecd6-23-"+l+"-"+f,Z:e.o((e=>i[t.__vModel__]=e),c),aa:e.p({detailed:!0,useMask:t.useMask,maskConfig:t.maskConfig,addonBefore:t.addonBefore,addonAfter:t.addonAfter,modelValue:i[t.__vModel__]})}:{ab:e.t(i[t.__vModel__])},{X:"input"==t.__config__.jnpfKey}),{f:"relationForm"===t.__config__.jnpfKey,i:"sign"==t.__config__.jnpfKey,m:"signature"==t.__config__.jnpfKey,q:"location"==t.__config__.jnpfKey,v:"uploadFile"===t.__config__.jnpfKey,z:"uploadImg"===t.__config__.jnpfKey,D:"inputNumber"==t.__config__.jnpfKey,H:"calculate"===t.__config__.jnpfKey&&0==t.isStorage,L:"rate"===t.__config__.jnpfKey,P:"slider"==t.__config__.jnpfKey,ac:e.o((e=>a.clickIcon(t)),c),ad:"c6d6ecd6-23-"+l+"-"+f,ae:e.p({label:t.__config__.showLabel?t.__config__.label:"","label-width":t.__config__.labelWidth?1.5*t.__config__.labelWidth:void 0,"left-icon":t.__config__.tipLabel&&t.__config__.showLabel&&t.__config__.label?"question-circle-fill":"","left-icon-style":{color:"#a0acb7"}})}):{},{af:c}))),c:t}))),aC:n.item.showSummary&&l.summaryField.length},n.item.showSummary&&l.summaryField.length?{aD:e.t(n.item.__config__.label),aE:e.f(l.summaryField,((o,i,n)=>({a:"c6d6ecd6-35-"+n+",c6d6ecd6-34-"+n,b:e.o((e=>o.value=e),o.__vModel__),c:e.p({"input-align":"right",disabled:!0,modelValue:o.value}),d:o.__vModel__,e:"c6d6ecd6-34-"+n,f:e.p({label:o.__config__.label})})))}:{}):"steps"===a.config.jnpfKey?{aG:e.o((e=>a.config.active=e)),aH:e.p({list:a.config.children,name:"title",mode:n.item.simple?"dot":"number",current:a.config.active}),aI:e.f(a.config.children,((o,i,t)=>e.e({a:i===a.config.active},i===a.config.active?{b:e.f(o.__config__.children,((o,i,l)=>({a:i,b:e.o(a.toDetail,i),c:e.o(a.clickIcon,i),d:"c6d6ecd6-37-"+t+"-"+l,e:e.p({item:o,formConf:n.formConf,formData:n.formData})})))}:{},{c:i})))}:{},{aF:"steps"===a.config.jnpfKey,aJ:"tab"===a.config.jnpfKey},"tab"===a.config.jnpfKey?{aK:e.o(a.onTabChange),aL:e.o((e=>l.tabCurrent=e)),aM:e.p({"is-scroll":!0,list:a.config.children,name:"title",modelValue:l.tabCurrent}),aN:e.f(a.config.children,((o,i,t)=>({a:e.f(o.__config__.children,((o,i,l)=>({a:i,b:e.o(a.toDetail,i),c:e.o(a.clickIcon,i),d:"c6d6ecd6-39-"+t+"-"+l,e:e.p({item:o,formConf:n.formConf,formData:n.formData})}))),b:i==l.tabCurrent,c:i})))}:{},{aO:"collapse"===a.config.jnpfKey},"collapse"===a.config.jnpfKey?{aP:e.f(a.config.children,((o,i,t)=>({a:e.f(o.__config__.children,((o,i,l)=>({a:o.__config__.renderKey,b:e.o(a.toDetail,o.__config__.renderKey),c:e.o(a.clickIcon,o.__config__.renderKey),d:"c6d6ecd6-42-"+t+"-"+l+",c6d6ecd6-41-"+t,e:e.p({item:o,formConf:n.formConf,formData:n.formData})}))),b:i,c:"c6d6ecd6-41-"+t+",c6d6ecd6-40",d:e.p({title:o.title,open:a.config.active.indexOf(o.name)>-1})}))),aQ:e.sr("collapseRef","c6d6ecd6-40"),aR:e.p({"head-style":{"padding-left":"20rpx"},accordion:n.item.accordion})}:{}),{aS:"card"===a.config.jnpfKey?1:""}):{})}]]);wx.createComponent(n);const t=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));
{
"component": true,
"usingComponents": {
"item": "./Item",
"jnpf-text": "../../../../../components/Jnpf/Text/index",
"jnpf-divider": "../../../../../components/Jnpf/Divider/index",
"jnpf-group-title": "../../../../../components/Jnpf/GroupTitle/index",
"jnpf-upload-file": "../../../../../components/Jnpf/UploadFile/index",
"jnpf-color-picker": "../../../../../components/Jnpf/ColorPicker/index",
"jnpf-rate": "../../../../../components/Jnpf/Rate/index",
"jnpf-editor": "../../../../../components/Jnpf/Editor/index",
"jnpf-barcode": "../../../../../components/Jnpf/Barcode/index",
"jnpf-qrcode": "../../../../../components/Jnpf/Qrcode/index",
"jnpf-input-number": "../../../../../components/Jnpf/InputNumber/index",
"jnpf-calculate": "../../../../../components/Jnpf/Calculate/index",
"jnpf-link": "../../../../../components/Jnpf/Link/index",
"jnpf-alert": "../../../../../components/Jnpf/Alert/index",
"jnpf-button": "../../../../../components/Jnpf/Button/index",
"jnpf-slider": "../../../../../components/Jnpf/Slider/index",
"jnpf-sign": "../../../../../components/Jnpf/Sign/index",
"jnpf-signature": "../../../../../components/Jnpf/Signature/index",
"jnpf-location": "../../../../../components/Jnpf/Location/index",
"jnpf-input": "../../../../../components/Jnpf/Input/index",
"u-form-item": "../../../../../uni_modules/vk-uview-ui/components/u-form-item/u-form-item",
"u-icon": "../../../../../uni_modules/vk-uview-ui/components/u-icon/u-icon",
"jnpf-upload-img": "../../../../../components/Jnpf/UploadImg/index",
"u-input": "../../../../../uni_modules/vk-uview-ui/components/u-input/u-input",
"u-steps": "../../../../../uni_modules/vk-uview-ui/components/u-steps/u-steps",
"u-tabs": "../../../../../uni_modules/vk-uview-ui/components/u-tabs/u-tabs",
"u-collapse-item": "../../../../../uni_modules/vk-uview-ui/components/u-collapse-item/u-collapse-item",
"u-collapse": "../../../../../uni_modules/vk-uview-ui/components/u-collapse/u-collapse"
}
}
\ No newline at end of file
<view wx:if="{{a}}" class="{{[aS && 'item-card']}}"><block wx:if="{{b}}"><jnpf-text wx:if="{{c}}" u-i="c6d6ecd6-0" bind:__l="__l" u-p="{{d}}"/><jnpf-divider wx:elif="{{e}}" u-i="c6d6ecd6-1" bind:__l="__l" u-p="{{f}}"/><jnpf-group-title wx:elif="{{g}}" bindgroupIcon="{{h}}" u-i="c6d6ecd6-2" bind:__l="__l" u-p="{{i}}"/><u-form-item wx:else u-s="{{['d']}}" bindclickIcon="{{an}}" u-i="c6d6ecd6-3" bind:__l="__l" u-p="{{ao||''}}"><jnpf-upload-file wx:if="{{j}}" u-i="c6d6ecd6-4,c6d6ecd6-3" bind:__l="__l" bindupdateModelValue="{{k}}" u-p="{{l}}"/><view wx:elif="{{m}}" class="preview-image-box"><image wx:for="{{n}}" wx:for-item="cItem" wx:key="a" class="u-preview-image" src="{{cItem.b}}" mode="aspectFill" catchtap="{{cItem.c}}"></image></view><jnpf-color-picker wx:elif="{{o}}" u-i="c6d6ecd6-5,c6d6ecd6-3" bind:__l="__l" bindupdateModelValue="{{p}}" u-p="{{q}}"/><jnpf-rate wx:elif="{{r}}" u-i="c6d6ecd6-6,c6d6ecd6-3" bind:__l="__l" bindupdateModelValue="{{s}}" u-p="{{t}}"/><jnpf-editor wx:elif="{{v}}" u-i="c6d6ecd6-7,c6d6ecd6-3" bind:__l="__l" bindupdateModelValue="{{w}}" u-p="{{x}}"/><view wx:elif="{{y}}" class="jnpf-detail-text" style="color:rgb(41, 121, 255)" bindtap="{{A}}">{{z}}</view><view wx:elif="{{B}}" class="jnpf-detail-text">{{C}}</view><jnpf-barcode wx:elif="{{D}}" u-i="c6d6ecd6-8,c6d6ecd6-3" bind:__l="__l" u-p="{{E}}"/><jnpf-qrcode wx:elif="{{F}}" u-i="c6d6ecd6-9,c6d6ecd6-3" bind:__l="__l" u-p="{{G}}"/><jnpf-input-number wx:elif="{{H}}" u-i="c6d6ecd6-10,c6d6ecd6-3" bind:__l="__l" bindupdateModelValue="{{I}}" u-p="{{J}}"/><jnpf-calculate wx:elif="{{K}}" u-i="c6d6ecd6-11,c6d6ecd6-3" bind:__l="__l" bindupdateModelValue="{{L}}" u-p="{{M}}"/><jnpf-link wx:elif="{{N}}" u-i="c6d6ecd6-12,c6d6ecd6-3" bind:__l="__l" u-p="{{O}}"/><jnpf-alert wx:elif="{{P}}" u-i="c6d6ecd6-13,c6d6ecd6-3" bind:__l="__l" u-p="{{Q}}"/><jnpf-button wx:elif="{{R}}" u-i="c6d6ecd6-14,c6d6ecd6-3" bind:__l="__l" u-p="{{S}}"/><jnpf-slider wx:elif="{{T}}" u-i="c6d6ecd6-15,c6d6ecd6-3" bind:__l="__l" bindupdateModelValue="{{U}}" u-p="{{V}}"/><jnpf-sign wx:elif="{{W}}" u-i="c6d6ecd6-16,c6d6ecd6-3" bind:__l="__l" bindupdateModelValue="{{X}}" u-p="{{Y}}"/><jnpf-signature wx:elif="{{Z}}" u-i="c6d6ecd6-17,c6d6ecd6-3" bind:__l="__l" bindupdateModelValue="{{aa}}" u-p="{{ab}}"/><jnpf-location wx:elif="{{ac}}" u-i="c6d6ecd6-18,c6d6ecd6-3" bind:__l="__l" bindupdateModelValue="{{ad}}" u-p="{{ae}}"/><block wx:else><view wx:if="{{af}}" class="jnpf-detail-text"><view>{{ag}}</view><view wx:if="{{ah}}" style="color:#999">{{ai}}</view></view><jnpf-input wx:elif="{{aj}}" u-i="c6d6ecd6-19,c6d6ecd6-3" bind:__l="__l" bindupdateModelValue="{{ak}}" u-p="{{al}}"/><view wx:else class="jnpf-detail-text">{{am}}</view></block></u-form-item></block><block wx:else><view wx:if="{{ap}}" class="jnpf-card"><view wx:if="{{aq}}" class="jnpf-card-cap u-line-1 u-flex" bindtap="{{at}}">{{ar}} <u-icon wx:if="{{as}}" class="u-m-l-10" u-i="c6d6ecd6-20" bind:__l="__l" u-p="{{as}}"/></view><item wx:for="{{av}}" wx:for-item="child" wx:key="a" bindtoDetail="{{child.b}}" bindclickIcon="{{child.c}}" u-i="{{child.d}}" bind:__l="__l" u-p="{{child.e}}"/></view><block wx:if="{{aw}}"><view class="jnpf-table"><view class="jnpf-table-title u-line-1" bindtap="{{aA}}">{{ax}} <u-icon wx:if="{{ay}}" class="u-m-l-10" u-i="c6d6ecd6-22" bind:__l="__l" u-p="{{az}}"/></view><view wx:for="{{aB}}" wx:for-item="column" wx:key="c"><view class="jnpf-table-item-title"><view class="jnpf-table-item-title-num">({{column.a}})</view></view><view wx:for="{{column.b}}" wx:for-item="childItem" wx:key="af" class="form-item-box"><u-form-item wx:if="{{childItem.a}}" u-s="{{['d']}}" bindclickIcon="{{childItem.ac}}" u-i="{{childItem.ad}}" bind:__l="__l" u-p="{{childItem.ae}}"><block wx:if="{{childItem.b}}"><view wx:if="{{childItem.c}}" class="jnpf-detail-text">{{childItem.d}}</view><view wx:else class="jnpf-detail-text">{{childItem.e}}</view></block><view wx:elif="{{childItem.f}}" class="jnpf-detail-text" style="color:rgb(41, 121, 255)" bindtap="{{childItem.h}}">{{childItem.g}}</view><jnpf-sign wx:elif="{{childItem.i}}" u-i="{{childItem.j}}" bind:__l="__l" bindupdateModelValue="{{childItem.k}}" u-p="{{childItem.l}}"/><jnpf-signature wx:elif="{{childItem.m}}" u-i="{{childItem.n}}" bind:__l="__l" bindupdateModelValue="{{childItem.o}}" u-p="{{childItem.p}}"/><jnpf-location wx:elif="{{childItem.q}}" u-i="{{childItem.r}}" bind:__l="__l" bindupdateModelValue="{{childItem.s}}" u-p="{{childItem.t}}"/><jnpf-upload-file wx:elif="{{childItem.v}}" u-i="{{childItem.w}}" bind:__l="__l" bindupdateModelValue="{{childItem.x}}" u-p="{{childItem.y}}"/><jnpf-upload-img wx:elif="{{childItem.z}}" u-i="{{childItem.A}}" bind:__l="__l" bindupdateModelValue="{{childItem.B}}" u-p="{{childItem.C}}"/><jnpf-input-number wx:elif="{{childItem.D}}" u-i="{{childItem.E}}" bind:__l="__l" bindupdateModelValue="{{childItem.F}}" u-p="{{childItem.G}}"/><jnpf-calculate wx:elif="{{childItem.H}}" u-i="{{childItem.I}}" bind:__l="__l" bindupdateModelValue="{{childItem.J}}" u-p="{{childItem.K}}"/><jnpf-rate wx:elif="{{childItem.L}}" u-i="{{childItem.M}}" bind:__l="__l" bindupdateModelValue="{{childItem.N}}" u-p="{{childItem.O}}"/><jnpf-slider wx:elif="{{childItem.P}}" u-i="{{childItem.Q}}" bind:__l="__l" bindupdateModelValue="{{childItem.R}}" u-p="{{childItem.S}}"/><block wx:else><view wx:if="{{childItem.T}}" class="jnpf-detail-text"><view>{{childItem.U}}</view><view wx:if="{{childItem.V}}" style="color:#999">{{childItem.W}}</view></view><jnpf-input wx:elif="{{childItem.X}}" u-i="{{childItem.Y}}" bind:__l="__l" bindupdateModelValue="{{childItem.Z}}" u-p="{{childItem.aa}}"/><view wx:else class="jnpf-detail-text">{{childItem.ab}}</view></block></u-form-item></view></view><view wx:if="{{aC}}" class="jnpf-table-item"><view class="jnpf-table-item-title u-flex u-row-between"><text class="jnpf-table-item-title-num">{{aD}}合计</text></view><view class="u-p-l-20 u-p-r-20 form-item-box"><u-form-item wx:for="{{aE}}" wx:for-item="item" wx:key="d" u-s="{{['d']}}" u-i="{{item.e}}" bind:__l="__l" u-p="{{item.f}}"><u-input wx:if="{{item.c}}" u-i="{{item.a}}" bind:__l="__l" bindupdateModelValue="{{item.b}}" u-p="{{item.c}}"/></u-form-item></view></view></view></block><view wx:elif="{{aF}}" style="background-color:#fff;padding:15px 0"><view class="step-container"><u-steps wx:if="{{aH}}" bindchange="{{aG}}" u-i="c6d6ecd6-36" bind:__l="__l" u-p="{{aH}}"></u-steps></view><view wx:for="{{aI}}" wx:for-item="itemSub" wx:key="c"><view wx:if="{{itemSub.a}}"><item wx:for="{{itemSub.b}}" wx:for-item="childItem" wx:key="a" bindtoDetail="{{childItem.b}}" bindclickIcon="{{childItem.c}}" u-i="{{childItem.d}}" bind:__l="__l" u-p="{{childItem.e}}"/></view></view></view><view wx:if="{{aJ}}" class="jnpf-tab"><u-tabs wx:if="{{aM}}" bindchange="{{aK}}" u-i="c6d6ecd6-38" bind:__l="__l" bindupdateModelValue="{{aL}}" u-p="{{aM}}"/><view wx:for="{{aN}}" wx:for-item="pane" wx:key="c"><view hidden="{{!pane.b}}"><item wx:for="{{pane.a}}" wx:for-item="childItem" wx:key="a" bindtoDetail="{{childItem.b}}" bindclickIcon="{{childItem.c}}" u-i="{{childItem.d}}" bind:__l="__l" u-p="{{childItem.e}}"/></view></view></view><block wx:if="{{aO}}"><u-collapse wx:if="{{aR}}" class="r" u-s="{{['d']}}" u-r="collapseRef" u-i="c6d6ecd6-40" bind:__l="__l" u-p="{{aR}}"><u-collapse-item wx:for="{{aP}}" wx:for-item="pane" wx:key="b" u-s="{{['d']}}" u-i="{{pane.c}}" bind:__l="__l" u-p="{{pane.d}}"><item wx:for="{{pane.a}}" wx:for-item="child" wx:key="a" bindtoDetail="{{child.b}}" bindclickIcon="{{child.c}}" u-i="{{child.d}}" bind:__l="__l" u-p="{{child.e}}"/></u-collapse-item></u-collapse></block></block></view>
\ No newline at end of file
"use strict";const e=require("../../../../../common/vendor.js"),o={components:{Item:()=>"./Item.js"},props:{formConf:{type:Object,required:!0},formData:{type:Object},loading:{type:Boolean,default:!1}},data:()=>({show:!1,content:"",contentStyle:{fontSize:"28rpx",padding:"20rpx",lineHeight:"44rpx",textAlign:"left"},titleStyle:{padding:"20rpx"},confirmStyle:{height:"80rpx",lineHeight:"80rpx"},title:"提示"}),methods:{clickIcon(e){(e.__config__.tipLabel||e.tipLabel)&&(this.content=e.tipLabel||e.__config__.tipLabel,this.title=e.__config__.label,this.show=!0)},toDetail(e){this.$emit("toDetail",e)}}};if(!Array){(e.resolveComponent("Item")+e.resolveComponent("u-modal")+e.resolveComponent("u-form"))()}Math||((()=>"../../../../../uni_modules/vk-uview-ui/components/u-modal/u-modal.js")+(()=>"../../../../../uni_modules/vk-uview-ui/components/u-form/u-form.js"))();const t=e._export_sfc(o,[["render",function(o,t,n,i,l,r){return{a:e.f(n.formConf.fields,((o,t,i)=>({a:e.sr(o.__vModel__?o.__vModel__:void 0,"57dd3221-1-"+i+",57dd3221-0",{f:1}),b:e.n(o.__config__.className),c:o.__vModel__?o.__vModel__:void 0,d:e.o(r.toDetail,o.__config__.renderKey),e:e.o(r.clickIcon,o.__config__.renderKey),f:"57dd3221-1-"+i+",57dd3221-0",g:e.p({item:o,formConf:n.formConf,formData:n.formData}),h:o.__config__.renderKey}))),b:e.o((e=>l.show=e)),c:e.p({content:l.content,width:"70%","border-radius":"16","content-style":l.contentStyle,titleStyle:l.titleStyle,"confirm-style":l.confirmStyle,title:l.title,modelValue:l.show}),d:e.sr("dataForm","57dd3221-0"),e:e.n(n.formConf.className),f:e.p({model:n.formData,"label-position":"top"===n.formConf.labelPosition?"top":"left","label-align":"right"===n.formConf.labelPosition?"right":"left","label-width":n.formConf.labelWidth?1.5*n.formConf.labelWidth:150})}}]]);wx.createComponent(t);
{
"component": true,
"usingComponents": {
"item": "./Item",
"u-modal": "../../../../../uni_modules/vk-uview-ui/components/u-modal/u-modal",
"u-form": "../../../../../uni_modules/vk-uview-ui/components/u-form/u-form"
}
}
\ No newline at end of file
<u-form wx:if="{{f}}" u-s="{{['d']}}" u-r="dataForm" class="{{['jnpf-wrap-form', 'r', e]}}" u-i="57dd3221-0" bind:__l="__l" u-p="{{f}}"><block wx:for="{{a}}" wx:for-item="item" wx:key="h"><item wx:if="{{item.g}}" class="{{['r-i-f', item.b]}}" u-r="{{item.c}}" bindtoDetail="{{item.d}}" bindclickIcon="{{item.e}}" u-i="{{item.f}}" bind:__l="__l" u-p="{{item.g}}"/></block><u-modal wx:if="{{c}}" u-i="57dd3221-2,57dd3221-0" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}"></u-modal></u-form>
\ No newline at end of file
"use strict";const t=require("../../../../../common/vendor.js"),i=require("../../../../../api/apply/visualDev.js"),e={props:["config","modelId","isPreview","origin","id"],data:()=>({dataForm:{data:""},formConf:{},key:+new Date,btnLoading:!1,loading:!0,isAdd:!1,userInfo:{}}),created(){this.init()},methods:{init(){this.userInfo=t.index.getStorageSync("userInfo")||{},this.formConf=JSON.parse(this.config.formData),this.loading=!0,this.initData()},initData(){this.$nextTick((()=>{if("scan"===this.origin){let e={modelId:this.modelId,id:this.id,type:2};t.index.setStorageSync("dynamicModelExtra",e),i.getModelInfo(this.modelId,this.id).then((t=>{this.dataForm=t.data,this.dataForm.data&&(this.formData=JSON.parse(this.dataForm.data),this.fillFormData(this.formConf,this.formData),this.$nextTick((()=>{this.loading=!1})))}))}else this.formData={},this.loading=!1,this.isAdd=!0,this.fillFormData(this.formConf,this.formData);this.key=+new Date}))},fillFormData(t,i){const e=t=>{for(let s=0;s<t.length;s++){let n=t[s],a=n.__vModel__,o=n.__config__;if(a){let t=i.hasOwnProperty(a)?i[a]:o.defaultValue;if(o.isSubTable||(o.defaultValue=t),(this.isAdd||o.isSubTable)&&o.defaultCurrent){if("datePicker"===o.jnpfKey&&!i.hasOwnProperty(a)){let i=this.jnpf.handelFormat(n.format),e=this.jnpf.toDate((new Date).getTime(),i);t=new Date(e+("yyyy"===i?"-01-01 00:00:00":"yyyy-MM"===i?"-01 00:00:00":"yyyy-MM-dd"===i?" 00:00:00":"")).getTime(),o.defaultValue=t}"timePicker"===o.jnpfKey&&(i.hasOwnProperty(a)||(o.defaultValue=this.jnpf.toDate(new Date,n.format)));const e=this.userInfo.organizeIdList;"organizeSelect"===o.jnpfKey&&Array.isArray(e)&&e.length&&(o.defaultValue=n.multiple?[e]:e);const s=this.userInfo.departmentId;"depSelect"===o.jnpfKey&&s&&(o.defaultValue=n.multiple?[s]:s);const r=this.userInfo.positionIds;"posSelect"===o.jnpfKey&&Array.isArray(r)&&r.length&&(o.defaultValue=n.multiple?r.map((t=>t.id)):r[0].id);const l=this.userInfo.roleIds;"roleSelect"===o.jnpfKey&&Array.isArray(l)&&l.length&&(o.defaultValue=n.multiple?l:l[0]);const d=this.userInfo.groupIds;"groupSelect"===o.jnpfKey&&Array.isArray(d)&&d.length&&(o.defaultValue=n.multiple?d:d[0]);const f=this.userInfo.userId;"userSelect"===o.jnpfKey&&f&&(o.defaultValue=n.multiple?[f]:f),"usersSelect"===o.jnpfKey&&f&&(o.defaultValue=n.multiple?[f+"--user"]:f+"--user"),"sign"===o.jnpfKey&&this.userInfo.signImg&&(o.defaultValue=this.userInfo.signImg)}"scan"===this.origin&&this.$set(n,"disabled",!0);let e=!!o.noShow&&o.noShow,s=!1;(!o.visibility||Array.isArray(o.visibility)&&o.visibility.includes("app"))&&(s=!0),this.$set(o,"isVisibility",s),this.$set(o,"noShow",e)}else{let t=!1,i=!1;(!o.visibility||Array.isArray(o.visibility)&&o.visibility.includes("app"))&&(i=!0),this.$set(o,"isVisibility",i),this.$set(o,"noShow",t)}o&&o.children&&Array.isArray(o.children)&&e(o.children)}};e(t.fields)},sumbitForm(e,s){e&&(this.btnLoading=!0,this.dataForm.data=JSON.stringify(e),s&&"function"==typeof s&&s(),i.createModel(this.modelId,this.dataForm).then((i=>{t.index.showToast({title:i.msg,complete:()=>{setTimeout((()=>{this.btnLoading=!1,t.index.navigateBack()}),1500)}})})).catch((()=>{this.btnLoading=!1})))},submit(){if(this.isPreview)return this.$u.toast("功能预览不支持数据保存");this.$refs.dynamicForm&&this.$refs.dynamicForm.submitForm()},resetForm(){this.loading=!0,this.$nextTick((()=>{this.loading=!1,this.$refs.dynamicForm&&this.$refs.dynamicForm.resetForm(),this.init(),this.key=+new Date}))}}};if(!Array){(t.resolveComponent("JnpfParser")+t.resolveComponent("u-button"))()}Math||((()=>"../../../../../components/Jnpf/Parser/index.js")+(()=>"../../../../../uni_modules/vk-uview-ui/components/u-button/u-button.js"))();const s=t._export_sfc(e,[["render",function(i,e,s,n,a,o){return t.e({a:!a.loading},a.loading?{}:{b:t.sr("dynamicForm","3de55013-0"),c:a.key,d:t.o(o.sumbitForm),e:t.p({formConf:a.formConf})},{f:"scan"!=s.origin},"scan"!=s.origin?{g:t.o(o.resetForm),h:t.t(a.formConf.confirmButtonText||"确定"),i:t.o(o.submit),j:t.p({type:"primary",loading:a.btnLoading})}:{})}]]);wx.createComponent(s);
{
"component": true,
"usingComponents": {
"jnpf-parser": "../../../../../components/Jnpf/Parser/index",
"u-button": "../../../../../uni_modules/vk-uview-ui/components/u-button/u-button"
}
}
\ No newline at end of file
<view class="jnpf-wrap jnpf-wrap-form"><jnpf-parser wx:if="{{a}}" class="r" u-r="dynamicForm" key="{{c}}" bindsubmit="{{d}}" u-i="3de55013-0" bind:__l="__l" u-p="{{e}}"/><view wx:if="{{f}}" class="buttom-actions"><u-button u-s="{{['d']}}" class="buttom-btn" catchclick="{{g}}" u-i="3de55013-1" bind:__l="__l">重置</u-button><u-button wx:if="{{j}}" u-s="{{['d']}}" class="buttom-btn" catchclick="{{i}}" u-i="3de55013-2" bind:__l="__l" u-p="{{j}}">{{h}}</u-button></view></view>
\ No newline at end of file
"use strict";const e=require("../../../../../common/vendor.js"),t=require("../../../../../store/modules/base.js"),s=require("../../../../../libs/resources.js"),i=require("../../../../../uni_modules/mescroll-uni/components/mescroll-uni/mescroll-mixins.js"),o=require("../../../../../api/apply/visualDev.js"),n=require("../../../../../api/workFlow/flowEngine.js"),l=require("../../../../../api/common.js"),a=t.useBaseStore(),r={mixins:[i.MescrollMixin],props:["config","modelId","isPreview","title","menuId"],components:{Parser:()=>"../parser/index.js",tableCell:()=>"../tableCell.js",MultSelect:()=>"../../../../../components/MultSelect.js"},data:()=>({tabActiveKey:0,tabList:[],tabQueryJson:{},show:!1,activeFlow:{},flowList:[],sortValue:[],icon:s.resources.message.nodata,downOption:{use:!0,auto:!0},upOption:{page:{num:0,size:10,time:null},empty:{use:!0,icon:s.resources.message.nodata,tip:"暂无数据",fixed:!0},textNoMore:"没有更多数据"},list:[],listQuery:{sidx:"",keyword:"",queryJson:""},options:[{text:"删除",style:{backgroundColor:"#dd524d"}}],showParser:!1,columnData:{},columnList:[],sortList:[],sortOptions:[],searchList:[],searchFormConf:[],permission:{},selectListIndex:0,showMoreBtn:!1,properties:{},flowId:"",key:+new Date,userInfo:{},searchFormData:{},enableFunc:{}}),created(){this.init()},computed:{showTabs(){var e,t;return(null==(t=null==(e=this.columnData)?void 0:e.tabConfig)?void 0:t.on)&&this.tabList.length}},methods:{init(){this.userInfo=e.index.getStorageSync("userInfo")||{},this.properties=this.config.flowTemplateJson?JSON.parse(this.config.flowTemplateJson).properties:{};let t=this.config.appColumnData?this.config.appColumnData:this.config.columnData?this.config.columnData:[];this.columnData=JSON.parse(t),this.permission=this.$permission.getPermission(this.columnData,this.menuId,this.jnpf.getScriptFunc),this.enableFunc=this.permission.enableFunc,this.getTabList(),this.upOption.page.size=this.columnData.hasPage?this.columnData.pageSize:1e6,this.setDefaultQuery(),this.columnList=this.permission.columnPermission||[],this.columnData.customBtnsList=this.permission.customBtnsPermission||[],this.columnList=this.transformColumnList(this.columnList),this.columnList.map((e=>{"table"!=e.jnpfKey&&e.label.length>4&&(e.label=e.label.substring(0,4))})),this.sortList=this.columnList.filter((e=>e.sortable)),this.handleSearchList(),this.handleSortList(),this.handleDeleteBtn(),1==this.config.enableFlow&&this.getFlowList(),this.key=+new Date},async getTabList(){var e;if(this.tabList=[],!this.columnData.tabConfig)return;const t=this.columnData.columnOptions.filter((e=>e.__vModel__==this.columnData.tabConfig.relationField))||[];if(null==t?void 0:t.length)if((null==(e=this.columnData.tabConfig)?void 0:e.hasAllTab)&&this.tabList.push({fullName:"全部",id:""}),"dictionary"==t[0].__config__.dataType&&t[0].__config__.dictionaryType){const e=await a.getDicDataSelector(t[0].__config__.dictionaryType)||[],s="enCode"==t[0].props.value?e.map((e=>({...e,id:e.enCode}))):e;this.tabList=[...this.tabList,...s]}else this.tabList=[...this.tabList,...t[0].options];this.tabActiveKey=0,this.onTabChange(this.tabActiveKey)},onTabChange(e){this.tabActiveKey=e,this.tabQueryJson={},this.columnData.tabConfig.hasAllTab?0!=e&&(this.tabQueryJson={[this.columnData.tabConfig.relationField]:this.tabList[e].id}):this.tabQueryJson={[this.columnData.tabConfig.relationField]:this.tabList[e].id};let t=this.$refs.searchForm&&this.$refs.searchForm.allCondition();this.listQuery.queryJson=JSON.stringify({...t,...this.tabQueryJson}),this.initData()},customEnableRule:(e,t)=>!0,handleDeleteBtn(){for(let e=0;e<this.columnData.columnBtnsList.length;e++){const t=this.columnData.columnBtnsList[e];"remove"==t.value&&(this.options[0].text=t.label)}},handleSearchList(){this.searchList=this.columnData.searchList||[];for(let e=0;e<this.searchList.length;e++){const t=this.searchList[e],s=t.__config__;null!=t.value&&""!=t.value&&t.value!=[]&&(this.searchFormData[t.id]=t.value),4==this.config.webType&&(s.label=t.label)}if(Object.keys(this.searchFormData).length&&(this.listQuery.queryJson=JSON.stringify(this.searchFormData)),this.searchList.some((e=>e.isKeyword))){const e={id:"jnpfKeyword",fullName:"关键词",prop:"jnpfKeyword",label:"关键词",jnpfKey:"input",clearable:!0,placeholder:"请输入",value:void 0,__config__:{jnpfKey:"input"}};this.searchList.unshift(e)}this.searchFormConf=this.$u.deepClone(this.searchList)},handleSortList(){this.sortOptions=[];const e=this.sortList;for(let t=0;t<e.length;t++){let s={label:e[t].label+"升序",value:e[t].prop,sidx:e[t].prop,sort:"asc"},i={label:e[t].label+"降序",value:"-"+e[t].prop,sidx:e[t].prop,sort:"desc"};this.sortOptions.push(s,i)}},transformColumnList(e){let t=[];for(let s=0;s<e.length;s++){const i=e[s];if(i.prop.includes("-")){let e=i.prop.split("-")[0],s=i.prop.split("-")[1],o=i.label.split("-")[0],n=i.label.replace(o+"-",""),l={align:"center",jnpfKey:"table",prop:e,label:o,children:[]};i.vModel=s,i.childLabel=n,t.some((t=>t.prop===e))||t.push(l);for(let a=0;a<t.length;a++)if(t[a].prop===e){i.option=null,t[a].children.push(i);break}}else i.option=null,t.push(i)}return t},setDefaultQuery(){const e=(this.columnData.defaultSortConfig||[]).map((e=>("desc"===e.sort?"-":"")+e.field));this.listQuery.sidx=e.join(",")},upCallback(e){if("1"==this.isPreview)return this.mescroll.endSuccess(0,!1);const t={currentPage:e.num,pageSize:e.size,menuId:this.menuId,...this.listQuery};o.getModelList(this.modelId,t,{load:1==e.num}).then((t=>{this.showParser=!0,1==e.num&&(this.list=[]),this.mescroll.endSuccess(t.data.list.length);const s=t.data.list.map(((e,t)=>({show:!1,index:t,...e})));this.list=this.list.concat(s),this.$nextTick((()=>{this.columnData.funcs&&this.columnData.funcs.afterOnload&&this.setTableLoadFunc()}))})).catch((e=>{this.mescroll.endByPage(0,0),this.mescroll.endErr()}))},setTableLoadFunc(){const e=this.$refs.tableRef,t={data:this.list,tableRef:e,onlineUtils:this.jnpf.onlineUtils},s=this.jnpf.getScriptFunc.call(this,this.columnData.funcs.afterOnload);s&&s.call(this,t)},handleClick(e){const t=this.list[e];let s=2==t.flowState?"通过":3==t.flowState?"退回":5==t.flowState?"终止":"提交";return 1==this.config.enableFlow&&[1,2,3,5].includes(t.flowState)?(this.$u.toast(`该流程已${s},无法删除`),void(this.list[e].show=!1)):this.permission.btnPermission.includes("btn_remove")?this.customEnableRule(t,"remove")?void o.deteleModel(this.modelId,t.id).then((t=>{this.$u.toast(t.msg),this.list.splice(e,1),this.mescroll.resetUpScroll()})):this.$u.toast("没有删除权限"):this.$u.toast("未开启删除权限")},handleMoreClick(e){this.selectListIndex=e,this.showMoreBtn=!0},selectBtnconfirm(e){var t=this.columnData.customBtnsList.findIndex((t=>t.value==e[0].value));const s=this.columnData.customBtnsList[t],i=this.list[this.selectListIndex],o=this.selectListIndex;if(!this.customEnableRule(i,s.value))return this.$u.toast("没有"+s.label+"权限");1==s.event.btnType&&this.handlePopup(s.event,i,o),2==s.event.btnType&&this.handleScriptFunc(s.event,i,o),3==s.event.btnType&&this.handleInterface(s.event,i,o)},handlePopup(t,s,i){this.handleListen();let o={config:t,modelId:this.modelId,id:4==this.config.webType?"":s.id,isPreview:this.isPreview,row:4==this.config.webType?s:""};o=encodeURIComponent(JSON.stringify(o)),e.index.navigateTo({url:"/pages/apply/customBtn/index?data="+o})},handleScriptFunc(e,t,s){const i={data:t,index:s,refresh:this.initData,onlineUtils:this.jnpf.onlineUtils},o=this.jnpf.getScriptFunc.call(this,e.func);o&&o.call(this,i)},handleInterface(t,s,i){const n=()=>{o.getModelInfo(this.modelId,s.id).then((e=>{const t=e.data||{};if(!t.data)return;const i={...JSON.parse(t.data),id:s.id};a(i)}))},a=s=>{let i={paramList:this.jnpf.getParamList(t.templateJson,s)||[]};l.getDataInterfaceRes(t.interfaceId,i).then((s=>{e.index.showToast({title:s.msg,icon:"none"}),t.isRefresh&&this.initData()}))},r=()=>{"4"==this.config.webType?a(s):n()};if(!t.useConfirm)return r();e.index.showModal({title:"提示",content:t.confirmTitle||"确认执行此操作",success:e=>{e.cancel||r()}})},initData(){this.list=[],this.$nextTick((()=>{this.mescroll.resetUpScroll()}))},open(e){this.list[e].show=!0,this.list.map(((t,s)=>{e!=s&&(this.list[s].show=!1)}))},search(){"1"!=this.isPreview&&(this.searchTimer&&clearTimeout(this.searchTimer),this.searchTimer=setTimeout((()=>{this.list=[],this.mescroll.resetUpScroll()}),300))},handleListen(){e.index.$off("refresh"),e.index.$on("refresh",(()=>{this.list=[],this.mescroll.resetUpScroll()}))},addPage(){return this.handleListen(),1!=this.config.enableFlow?this.jumPage({},""):this.flowList.length?this.flowList.length>1?this.show=!0:(this.activeFlow=this.flowList[0],void this.jumPage({},"")):this.$u.toast("流程不存在")},confirm(e){this.activeFlow=e[0],this.jumPage({},"")},jumPage(t,s){if(t.id||t.flowState||(s="btn_add"),1==this.config.enableFlow){if(t.id){if(!this.permission.btnPermission.includes("btn_edit")&&3==status)return;if(!this.permission.btnPermission.includes("btn_detail")&&[1,2,4,5,6].includes(status))return}let s="-1";[1,2,4,5,6].includes(t.flowState)&&(s=0);const i=t.flowId||this.flowList[0].id,o={id:t.id||"",flowId:t.id?i:this.activeFlow.id,opType:s,status:t.flowState||"",isPreview:this.isPreview};e.index.navigateTo({url:"/pages/workFlow/flowBefore/index?config="+this.jnpf.base64.encode(JSON.stringify(o))})}else{const i="btn_detail"==s?"detail":"form",o=encodeURIComponent(JSON.stringify(this.permission.formPermission));let n=this.permission.btnPermission.includes("btn_edit")?"btn_edit":"btn_add",l=this.customEnableRule(t,"edit");const a={currentMenu:o,btnType:n,list:this.list,modelId:this.modelId,isPreview:this.isPreview,id:t.id||"",index:t.index,enableEdit:l},r="/pages/apply/dynamicModel/"+i+"?config="+this.jnpf.base64.encode(JSON.stringify(a));e.index.navigateTo({url:r})}},goDetail(e){if(4==this.config.webType)return;this.handleListen();let t=this.permission.btnPermission.includes("btn_detail"),s=this.permission.btnPermission.includes("btn_edit");if(t||s)if(t){if(this.customEnableRule(e,"detail"))return this.jumPage(e,"btn_detail");if(this.customEnableRule(e,"edit"))return this.jumPage(e,"btn_edit")}else if(this.customEnableRule(e,"edit"))return this.jumPage(e,"btn_edit")},getFlowStatus(e){let t;switch(e){case 0:default:t={text:"等待提交",statusCss:"u-type-info"};break;case 1:t={text:"等待审核",statusCss:"u-type-primary"};break;case 2:t={text:"审核通过",statusCss:"u-type-success"};break;case 3:t={text:"审核退回",statusCss:"u-type-error"};break;case 4:case 7:t={text:"流程撤回",statusCss:"u-type-warning"};break;case 5:t={text:"审核终止",statusCss:"u-type-info"}}return t},cellClick(e){if("1"==this.isPreview)return this.$u.toast("功能预览不支持排序");const t=this.sortValue.findIndex((t=>t===e.value));if(t<0){const t=this.sortValue.findIndex((t=>t.indexOf(e.sidx)>-1));t>-1&&this.sortValue.splice(t,1),this.sortValue.push(e.value)}else this.sortValue.splice(t,1)},handleReset(){this.searchFormData={};const e=["datePicker","timePicker","inputNumber","calculate","cascader","organizeSelect"];for(let t=0;t<this.searchList.length;t++){const s=this.searchList[t],i=s.__config__;let o=s.searchMultiple||e.includes(i.jnpfKey)?[]:void 0;i.isFromParam&&(o=void 0),i.defaultValue=o,this.searchFormData[s.id]=s.value||o}this.searchFormConf=JSON.parse(JSON.stringify(this.searchList))},handleSearch(){if("1"==this.isPreview)return this.$u.toast("功能预览不支持检索");this.$refs.searchForm&&this.$refs.searchForm.submitForm()},sumbitSearchForm(e){let t=e||{};this.searchFormData=e,this.columnData.tabConfig&&this.columnData.tabConfig.on&&(this.tabQueryJson={[this.columnData.tabConfig.relationField]:this.tabList[this.tabActiveKey].id},t={...t,...this.tabQueryJson}),this.listQuery.queryJson="{}"!==JSON.stringify(t)?JSON.stringify(t):"",this.$refs.uDropdown.close(),this.$nextTick((()=>{this.list=[],this.mescroll.resetUpScroll()}))},toThousands(e,t){if(e){let s=e.toString().split("."),i=Number(s[0]),o=t.thousands?i.toLocaleString():i;return s[1]?o+"."+s[1]:o}return e},getFlowList(){n.FlowJsonList(this.config.flowId,"1").then((e=>{this.flowList=e.data}))},relationFormClick(t,s){let i=s.vModel?s.vModel:s.__vModel__,o=s.modelId;t[i+"_id"];let n={modelId:o,isPreview:!0,id:t[i+"_id"],isRelationForm:1};const l="/pages/apply/dynamicModel/detail?config="+this.jnpf.base64.encode(JSON.stringify(n));e.index.navigateTo({url:l})},handleSortReset(){this.sortValue=[]},handleSortSearch(){this.sortValue.length?this.listQuery.sidx=this.sortValue.join(","):this.setDefaultQuery(),this.$refs.uDropdown.close(),this.$nextTick((()=>{this.list=[],this.mescroll.resetUpScroll()}))}}};if(!Array){(e.resolveComponent("u-icon")+e.resolveComponent("u-cell-item")+e.resolveComponent("u-cell-group")+e.resolveComponent("u-button")+e.resolveComponent("u-dropdown-item")+e.resolveComponent("Parser")+e.resolveComponent("u-dropdown")+e.resolveComponent("u-tabs")+e.resolveComponent("JnpfSign")+e.resolveComponent("JnpfSignature")+e.resolveComponent("JnpfUploadImg")+e.resolveComponent("JnpfUploadFile")+e.resolveComponent("JnpfRate")+e.resolveComponent("JnpfSlider")+e.resolveComponent("JnpfInput")+e.resolveComponent("tableCell")+e.resolveComponent("uni-icons")+e.resolveComponent("uni-swipe-action-item")+e.resolveComponent("uni-swipe-action")+e.resolveComponent("mescroll-uni")+e.resolveComponent("u-select")+e.resolveComponent("MultSelect"))()}Math||((()=>"../../../../../uni_modules/vk-uview-ui/components/u-icon/u-icon.js")+(()=>"../../../../../uni_modules/vk-uview-ui/components/u-cell-item/u-cell-item.js")+(()=>"../../../../../uni_modules/vk-uview-ui/components/u-cell-group/u-cell-group.js")+(()=>"../../../../../uni_modules/vk-uview-ui/components/u-button/u-button.js")+(()=>"../../../../../uni_modules/vk-uview-ui/components/u-dropdown-item/u-dropdown-item.js")+(()=>"../../../../../uni_modules/vk-uview-ui/components/u-dropdown/u-dropdown.js")+(()=>"../../../../../uni_modules/vk-uview-ui/components/u-tabs/u-tabs.js")+(()=>"../../../../../components/Jnpf/Sign/index.js")+(()=>"../../../../../components/Jnpf/Signature/index.js")+(()=>"../../../../../components/Jnpf/UploadImg/index.js")+(()=>"../../../../../components/Jnpf/UploadFile/index.js")+(()=>"../../../../../components/Jnpf/Rate/index.js")+(()=>"../../../../../components/Jnpf/Slider/index.js")+(()=>"../../../../../components/Jnpf/Input/index.js")+(()=>"../../../../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../../../../uni_modules/uni-swipe-action/components/uni-swipe-action-item/uni-swipe-action-item.js")+(()=>"../../../../../uni_modules/uni-swipe-action/components/uni-swipe-action/uni-swipe-action.js")+(()=>"../../../../../uni_modules/mescroll-uni/components/mescroll-uni/mescroll-uni.js")+(()=>"../../../../../uni_modules/vk-uview-ui/components/u-select/u-select.js"))();const c=e._export_sfc(r,[["render",function(t,s,i,o,n,l){return e.e({a:n.sortOptions.length},n.sortOptions.length?{b:e.f(n.sortOptions,((t,s,i)=>e.e({a:n.sortValue.includes(t.value)},n.sortValue.includes(t.value)?{b:"0bf86b6d-4-"+i+",0bf86b6d-3-"+i,c:e.p({name:"checkbox-mark",color:"#2979ff",size:"32"})}:{},{d:e.o((e=>l.cellClick(t)),s),e:s,f:"0bf86b6d-3-"+i+",0bf86b6d-2",g:e.p({arrow:!1,title:t.label,"title-style":{color:n.sortValue.includes(t.value)?"#2979ff":"#606266"}})}))),c:e.p({border:!1})}:{d:n.icon},{e:n.sortOptions.length},n.sortOptions.length?{f:e.o(l.handleSortReset),g:e.o(l.handleSortSearch),h:e.p({type:"primary"})}:{},{i:e.p({title:"排序",options:n.sortOptions}),j:n.showParser&&n.searchFormConf.length},n.showParser&&n.searchFormConf.length?{k:e.sr("searchForm","0bf86b6d-8,0bf86b6d-7"),l:e.o(l.sumbitSearchForm),m:e.p({formConf:n.searchFormConf,searchFormData:n.searchFormData,webType:i.config.webType})}:{n:n.icon},{o:n.showParser&&n.searchFormConf.length},n.showParser&&n.searchFormConf.length?{p:e.o(((...e)=>l.handleReset&&l.handleReset(...e))),q:e.o(((...e)=>l.handleSearch&&l.handleSearch(...e)))}:{},{r:e.p({title:"筛选"}),s:e.sr("uDropdown","0bf86b6d-0"),t:e.o(l.onTabChange),v:l.showTabs,w:e.p({list:n.tabList,current:n.tabActiveKey,"font-size":"28",height:"80",name:"fullName"}),x:e.f(n.list,((t,s,o)=>e.e({a:e.f(n.columnList,((s,i,n)=>e.e({a:"table"!=s.jnpfKey},"table"!=s.jnpfKey?e.e({b:e.t(s.label),c:["calculate","inputNumber"].includes(s.jnpfKey)},["calculate","inputNumber"].includes(s.jnpfKey)?{d:e.t(l.toThousands(t[s.prop],s))}:"relationForm"==s.jnpfKey?{f:e.t(t[s.prop]),g:e.o((e=>l.relationFormClick(t,s)),i)}:"sign"==s.jnpfKey?{i:"0bf86b6d-13-"+o+"-"+n+",0bf86b6d-12-"+o,j:e.o((e=>t[s.prop]=e),i),k:e.p({align:"left",detailed:!0,modelValue:t[s.prop]})}:"signature"==s.jnpfKey?{m:"0bf86b6d-14-"+o+"-"+n+",0bf86b6d-12-"+o,n:e.o((e=>t[s.prop]=e),i),o:e.p({align:"left",detailed:!0,modelValue:t[s.prop]})}:"uploadImg"==s.jnpfKey?e.e({q:t[s.prop]&&t[s.prop].length},t[s.prop]&&t[s.prop].length?{r:"0bf86b6d-15-"+o+"-"+n+",0bf86b6d-12-"+o,s:e.o((e=>t[s.prop]=e),i),t:e.p({detailed:!0,simple:!0,modelValue:t[s.prop]})}:{},{v:e.o((()=>{}),i)}):"uploadFile"==s.jnpfKey?e.e({x:t[s.prop]&&t[s.prop].length},t[s.prop]&&t[s.prop].length?{y:"0bf86b6d-16-"+o+"-"+n+",0bf86b6d-12-"+o,z:e.o((e=>t[s.prop]=e),i),A:e.p({detailed:!0,align:"left",modelValue:t[s.prop]})}:{},{B:e.o((()=>{}),i)}):"rate"==s.jnpfKey?{D:"0bf86b6d-17-"+o+"-"+n+",0bf86b6d-12-"+o,E:e.o((e=>t[s.prop]=e),i),F:e.p({count:s.count,allowHalf:s.allowHalf,disabled:!0,modelValue:t[s.prop]})}:"slider"==s.jnpfKey?{H:"0bf86b6d-18-"+o+"-"+n+",0bf86b6d-12-"+o,I:e.o((e=>t[s.prop]=e),i),J:e.p({min:s.min,max:s.max,step:s.step,disabled:!0,modelValue:t[s.prop]})}:"input"==s.jnpfKey?{L:"0bf86b6d-19-"+o+"-"+n+",0bf86b6d-12-"+o,M:e.o((e=>t[s.prop]=e),i),N:e.p({detailed:!0,showOverflow:!0,useMask:s.useMask,maskConfig:s.maskConfig,align:"left",modelValue:t[s.prop]})}:{O:e.t(t[s.prop])},{e:"relationForm"==s.jnpfKey,h:"sign"==s.jnpfKey,l:"signature"==s.jnpfKey,p:"uploadImg"==s.jnpfKey,w:"uploadFile"==s.jnpfKey,C:"rate"==s.jnpfKey,G:"slider"==s.jnpfKey,K:"input"==s.jnpfKey}):{P:e.sr("tableCell","0bf86b6d-20-"+o+"-"+n+",0bf86b6d-12-"+o,{f:1}),Q:e.o((()=>{}),i),R:e.o(l.relationFormClick,i),S:"0bf86b6d-20-"+o+"-"+n+",0bf86b6d-12-"+o,T:e.p({label:s.label,childList:t[s.prop],children:s.children,pageLen:3})},{U:i})))},1==i.config.enableFlow?{b:e.t(l.getFlowStatus(t.flowState).text),c:e.n(l.getFlowStatus(t.flowState).statusCss)}:{},{d:e.o((e=>l.goDetail(t)),t.id)},n.columnData.customBtnsList&&n.columnData.customBtnsList.length?{e:"0bf86b6d-21-"+o+",0bf86b6d-12-"+o,f:e.p({type:"down",color:"#fff",size:"16"}),g:e.o((e=>l.handleMoreClick(s)),t.id)}:{},4!=i.config.webType?{h:e.f(n.options,((t,i,o)=>({a:e.t(t.text),b:e.o((e=>l.handleClick(s)),i),c:i})))}:{},{i:t.id,j:"0bf86b6d-12-"+o+",0bf86b6d-11"}))),y:1==i.config.enableFlow,z:n.columnData.customBtnsList&&n.columnData.customBtnsList.length,A:4!=i.config.webType,B:e.p({threshold:0,"right-options":n.options}),C:e.sr("swipeAction","0bf86b6d-11,0bf86b6d-10"),D:e.sr("mescrollRef","0bf86b6d-10"),E:e.o(t.mescrollInit),F:e.o(t.downCallback),G:e.o(l.upCallback),H:e.p({down:n.downOption,up:n.upOption,top:l.showTabs?"170":"85"}),I:4!=i.config.webType},4!=i.config.webType?e.e({J:i.isPreview||n.permission.btnPermission&&n.permission.btnPermission.includes("btn_add")},i.isPreview||n.permission.btnPermission&&n.permission.btnPermission.includes("btn_add")?{K:e.p({name:"plus",size:"60",color:"#fff"}),L:e.o((e=>l.addPage()))}:{}):{},{M:e.o(l.selectBtnconfirm),N:e.o((e=>n.showMoreBtn=e)),O:e.p({list:n.columnData.customBtnsList,modelValue:n.showMoreBtn}),P:e.o(l.confirm),Q:e.o((e=>n.show=!1)),R:e.p({show:n.show,list:n.flowList,isFlow:!0})})}]]);wx.createComponent(c);
{
"component": true,
"usingComponents": {
"mult-select": "../../../../../components/MultSelect",
"table-cell": "../tableCell",
"parser": "../parser/index",
"u-icon": "../../../../../uni_modules/vk-uview-ui/components/u-icon/u-icon",
"u-cell-item": "../../../../../uni_modules/vk-uview-ui/components/u-cell-item/u-cell-item",
"u-cell-group": "../../../../../uni_modules/vk-uview-ui/components/u-cell-group/u-cell-group",
"u-button": "../../../../../uni_modules/vk-uview-ui/components/u-button/u-button",
"u-dropdown-item": "../../../../../uni_modules/vk-uview-ui/components/u-dropdown-item/u-dropdown-item",
"u-dropdown": "../../../../../uni_modules/vk-uview-ui/components/u-dropdown/u-dropdown",
"u-tabs": "../../../../../uni_modules/vk-uview-ui/components/u-tabs/u-tabs",
"jnpf-sign": "../../../../../components/Jnpf/Sign/index",
"jnpf-signature": "../../../../../components/Jnpf/Signature/index",
"jnpf-upload-img": "../../../../../components/Jnpf/UploadImg/index",
"jnpf-upload-file": "../../../../../components/Jnpf/UploadFile/index",
"jnpf-rate": "../../../../../components/Jnpf/Rate/index",
"jnpf-slider": "../../../../../components/Jnpf/Slider/index",
"jnpf-input": "../../../../../components/Jnpf/Input/index",
"uni-icons": "../../../../../uni_modules/uni-icons/components/uni-icons/uni-icons",
"uni-swipe-action-item": "../../../../../uni_modules/uni-swipe-action/components/uni-swipe-action-item/uni-swipe-action-item",
"uni-swipe-action": "../../../../../uni_modules/uni-swipe-action/components/uni-swipe-action/uni-swipe-action",
"mescroll-uni": "../../../../../uni_modules/mescroll-uni/components/mescroll-uni/mescroll-uni",
"u-select": "../../../../../uni_modules/vk-uview-ui/components/u-select/u-select"
}
}
\ No newline at end of file
<view class="dynamicModel-list-v"><view class="head-warp com-dropdown"><u-dropdown u-s="{{['d']}}" class="u-dropdown r" u-r="uDropdown" u-i="0bf86b6d-0" bind:__l="__l"><u-dropdown-item wx:if="{{i}}" u-s="{{['d']}}" u-i="0bf86b6d-1,0bf86b6d-0" bind:__l="__l" u-p="{{i}}"><view class="screen-box"><view wx:if="{{a}}" class="screen-list"><view class="u-p-l-20 u-p-r-20 list"><scroll-view scroll-y="true" style="height:100%"><u-cell-group wx:if="{{c}}" u-s="{{['d']}}" u-i="0bf86b6d-2,0bf86b6d-1" bind:__l="__l" u-p="{{c}}"><u-cell-item wx:for="{{b}}" wx:for-item="item" wx:key="e" u-s="{{['d']}}" bindclick="{{item.d}}" u-i="{{item.f}}" bind:__l="__l" u-p="{{item.g}}"><u-icon wx:if="{{item.a}}" u-i="{{item.b}}" bind:__l="__l" u-p="{{item.c}}"/></u-cell-item></u-cell-group></scroll-view></view></view><view wx:else class="notData-box u-flex-col"><view class="u-flex-col notData-inner"><image src="{{d}}" class="iconImg"></image><text class="notData-inner-text">暂无数据</text></view></view><view wx:if="{{e}}" class="buttom-actions" style="z-index:1"><u-button u-s="{{['d']}}" class="buttom-btn" bindclick="{{f}}" u-i="0bf86b6d-5,0bf86b6d-1" bind:__l="__l">清空</u-button><u-button wx:if="{{h}}" u-s="{{['d']}}" class="buttom-btn" bindclick="{{g}}" u-i="0bf86b6d-6,0bf86b6d-1" bind:__l="__l" u-p="{{h}}">确定</u-button></view></view></u-dropdown-item><u-dropdown-item wx:if="{{r}}" u-s="{{['d']}}" u-i="0bf86b6d-7,0bf86b6d-0" bind:__l="__l" u-p="{{r}}"><view class="screen-box u-flex-col"><view wx:if="{{j}}" class="screen-list"><view class="u-p-l-20 u-p-r-20 list"><scroll-view scroll-y="true" style="height:100%"><parser wx:if="{{m}}" class="r" u-r="searchForm" bindsubmit="{{l}}" u-i="0bf86b6d-8,0bf86b6d-7" bind:__l="__l" u-p="{{m}}"/></scroll-view></view></view><view wx:else class="notData-box u-flex-col"><view class="u-flex-col notData-inner"><image src="{{n}}" class="iconImg"></image><text class="notData-inner-text">暂无数据</text></view></view><view wx:if="{{o}}" class="u-flex screen-btn"><text bindtap="{{p}}" class="btn btn1">重置</text><text bindtap="{{q}}" class="btn btn2">检索</text></view></view></u-dropdown-item></u-dropdown></view><u-tabs wx:if="{{w}}" bindchange="{{t}}" data-c-h="{{!v}}" u-i="0bf86b6d-9" bind:__l="__l" u-p="{{w}}"></u-tabs><view class="list-warp"><mescroll-uni wx:if="{{H}}" class="r" u-s="{{['d']}}" u-r="mescrollRef" bindinit="{{E}}" binddown="{{F}}" bindup="{{G}}" u-i="0bf86b6d-10" bind:__l="__l" u-p="{{H}}"><view class="list u-p-b-20 u-p-l-20 u-p-r-20" ref="tableRef"><view class="list-box"><uni-swipe-action class="r" u-s="{{['d']}}" u-r="swipeAction" u-i="0bf86b6d-11,0bf86b6d-10" bind:__l="__l"><uni-swipe-action-item wx:for="{{x}}" wx:for-item="item" wx:key="i" u-s="{{['right','d']}}" u-i="{{item.j}}" bind:__l="__l" u-p="{{B}}"><view class="item" bindtap="{{item.d}}"><view wx:for="{{item.a}}" wx:for-item="column" wx:key="U" class="item-cell"><block wx:if="{{column.a}}"><text class="item-cell-label">{{column.b}}:</text><text wx:if="{{column.c}}" class="item-cell-content">{{column.d}}</text><text wx:elif="{{column.e}}" class="item-cell-content text-primary" catchtap="{{column.g}}">{{column.f}}</text><view wx:elif="{{column.h}}" class="item-cell-content"><jnpf-sign wx:if="{{column.k}}" u-i="{{column.i}}" bind:__l="__l" bindupdateModelValue="{{column.j}}" u-p="{{column.k}}"/></view><view wx:elif="{{column.l}}" class="item-cell-content"><jnpf-signature wx:if="{{column.o}}" u-i="{{column.m}}" bind:__l="__l" bindupdateModelValue="{{column.n}}" u-p="{{column.o}}"/></view><view wx:elif="{{column.p}}" class="item-cell-content" catchtap="{{column.v}}"><jnpf-upload-img wx:if="{{column.q}}" u-i="{{column.r}}" bind:__l="__l" bindupdateModelValue="{{column.s}}" u-p="{{column.t}}"/></view><view wx:elif="{{column.w}}" class="item-cell-content" catchtap="{{column.B}}"><jnpf-upload-file wx:if="{{column.x}}" u-i="{{column.y}}" bind:__l="__l" bindupdateModelValue="{{column.z}}" u-p="{{column.A}}"/></view><view wx:elif="{{column.C}}" class="item-cell-content"><jnpf-rate wx:if="{{column.F}}" u-i="{{column.D}}" bind:__l="__l" bindupdateModelValue="{{column.E}}" u-p="{{column.F}}"/></view><view wx:elif="{{column.G}}" class="item-cell-content item-cell-slider"><jnpf-slider wx:if="{{column.J}}" u-i="{{column.H}}" bind:__l="__l" bindupdateModelValue="{{column.I}}" u-p="{{column.J}}"/></view><view wx:elif="{{column.K}}" class="item-cell-content"><jnpf-input wx:if="{{column.N}}" u-i="{{column.L}}" bind:__l="__l" bindupdateModelValue="{{column.M}}" u-p="{{column.N}}"/></view><text wx:else class="item-cell-content">{{column.O}}</text></block><table-cell wx:else catchclick="{{column.Q}}" class="tableCell r-i-f" u-r="tableCell" bindcRelationForm="{{column.R}}" u-i="{{column.S}}" bind:__l="__l" u-p="{{column.T||''}}"></table-cell></view><view wx:if="{{y}}" class="item-cell"><text class="item-cell-label">审批状态:</text><text class="{{item.c}}">{{item.b}}</text></view></view><view class="right-option-box" slot="right"><view wx:if="{{z}}" class="right-option more-option" bindtap="{{item.g}}"><text>更多</text><uni-icons wx:if="{{item.f}}" u-i="{{item.e}}" bind:__l="__l" u-p="{{item.f}}"/></view><block wx:if="{{A}}"><view wx:for="{{item.h}}" wx:for-item="it" wx:key="c" class="right-option" bindtap="{{it.b}}"><text>{{it.a}}</text></view></block></view></uni-swipe-action-item></uni-swipe-action></view></view></mescroll-uni></view><view wx:if="{{I}}"><view wx:if="{{J}}" class="com-addBtn" bindtap="{{L}}"><u-icon wx:if="{{K}}" u-i="0bf86b6d-22" bind:__l="__l" u-p="{{K}}"/></view></view><u-select wx:if="{{O}}" bindconfirm="{{M}}" u-i="0bf86b6d-23" bind:__l="__l" bindupdateModelValue="{{N}}" u-p="{{O}}"/><mult-select wx:if="{{R}}" bindconfirm="{{P}}" bindclose="{{Q}}" u-i="0bf86b6d-24" bind:__l="__l" u-p="{{R}}"/></view>
\ No newline at end of file
page{background-color:#f0f2f6;height:100%}.u-cell{padding:0rpx;height:112rpx}.screen-box{background-color:#fff;height:100%}.screen-box .screen-btn{width:100%;height:2.75rem}.screen-box .screen-btn .btn{width:50%;height:2.75rem;text-align:center;line-height:2.75rem;box-shadow:0 -4rpx 20rpx #f8f8f8}.screen-box .screen-btn .btn1{color:#606266}.screen-box .screen-btn .btn2{background-color:#2979ff;color:#fff}.screen-box .screen-list{width:100%;height:100%}.screen-box .screen-list .list{height:calc(100% - 88rpx);overflow-y:scroll}.item{padding:0!important}.notData-box{width:100%;height:100%;justify-content:center;align-items:center;padding-bottom:200rpx}.notData-box .notData-inner{width:280rpx;height:308rpx;align-items:center}.notData-box .notData-inner .iconImg{width:100%;height:100%}.notData-box .notData-inner .notData-inner-text{padding:30rpx 0;color:#909399}.right-option-box{display:flex;width:-webkit-max-content;width:max-content}.right-option-box .right-option{width:144rpx;height:100%;font-size:16px;color:#fff;background-color:#dd524d;display:flex;align-items:center;justify-content:center}.right-option-box .more-option{background-color:#1890ff}
"use strict";const e=require("../../../../../api/common.js"),o=require("../../../../../common/vendor.js"),a=["radio","checkbox","select","cascader","treeSelect"],t=["radio","checkbox","select"],c=["input","textarea","text","link","billRule","location"],l=["createTime","modifyTime"],n={props:["formConf","webType","searchFormData"],data(){const e={useInputList:c,useDateList:l,useSelectList:t,formConfCopy:this.$u.deepClone(this.formConf),formData:this.$u.deepClone(this.searchFormData),key:+new Date};return this.initRelationForm(e.formConfCopy),this.initFormData(e.formConfCopy,e.formData),e},watch:{searchFormData(e){this.formData=e}},methods:{initFormData(o,t){o.forEach((o=>{const t=o.__config__;if(a.indexOf(t.jnpfKey)>-1&&("dictionary"===t.dataType&&t.dictionaryType&&e.getDictionaryDataSelector(t.dictionaryType).then((e=>{o.options=e.data.list||[],this.resetForm()})),"dynamic"===t.dataType&&t.propsUrl)){const a={paramList:this.jnpf.getParamList(t.templateJson)||[]};e.getDataInterfaceRes(t.propsUrl,a).then((e=>{let a=e.data||[];o.options=Array.isArray(a)?a:[],this.key=+new Date,this.resetForm()}))}}))},initRelationForm(e){e.forEach((o=>{const a=o.__config__;if("relationFormAttr"==a.jnpfKey||"popupAttr"==a.jnpfKey){const a=o.relationField.split("_jnpfTable_")[0];e.forEach((e=>{const t=Array.isArray(e.__config__.visibility)&&!e.__config__.visibility.includes("app");a==e.id&&(t||e.__config__.noShow)&&(o.__config__.noShow=!0)}))}o.__config__.children&&o.__config__.children.length&&this.initRelationForm(o.__config__.children)}))},allCondition(){for(let e in this.formData)this.formData[e]||(this.formData[e]=void 0),this.formData[e]&&Array.isArray(this.formData[e])&&!this.formData[e].length&&(this.formData[e]=void 0);return this.formData},submitForm(){this.$refs.dataForm.validate((e=>{if(e){for(let e in this.formData)this.formData[e]||(this.formData[e]=void 0),this.formData[e]&&Array.isArray(this.formData[e])&&!this.formData[e].length&&(this.formData[e]=void 0);this.$emit("submit",this.formData)}}))},resetForm(){this.$refs.dataForm.resetFields()}}};if(!Array){(o.resolveComponent("JnpfInput")+o.resolveComponent("JnpfInputNumber")+o.resolveComponent("JnpfNumberRange")+o.resolveComponent("JnpfSelect")+o.resolveComponent("JnpfCascader")+o.resolveComponent("JnpfAutoComplete")+o.resolveComponent("JnpfGroupSelect")+o.resolveComponent("JnpfRoleSelect")+o.resolveComponent("JnpfOrganizeSelect")+o.resolveComponent("JnpfDepSelect")+o.resolveComponent("JnpfPosSelect")+o.resolveComponent("JnpfUserSelect")+o.resolveComponent("JnpfUsersSelect")+o.resolveComponent("JnpfTreeSelect")+o.resolveComponent("JnpfAreaSelect")+o.resolveComponent("JnpfDatePicker")+o.resolveComponent("JnpfDateRange")+o.resolveComponent("JnpfTimeRange")+o.resolveComponent("u-form-item")+o.resolveComponent("u-form"))()}Math||((()=>"../../../../../components/Jnpf/Input/index.js")+(()=>"../../../../../components/Jnpf/InputNumber/index.js")+(()=>"../../../../../components/Jnpf/NumberRange/index.js")+(()=>"../../../../../components/Jnpf/Select/index.js")+(()=>"../../../../../components/Jnpf/Cascader/index.js")+(()=>"../../../../../components/Jnpf/AutoComplete/index.js")+(()=>"../../../../../components/Jnpf/GroupSelect/index.js")+(()=>"../../../../../components/Jnpf/RoleSelect/index.js")+(()=>"../../../../../components/Jnpf/OrganizeSelect/index.js")+(()=>"../../../../../components/Jnpf/DepSelect/index.js")+(()=>"../../../../../components/Jnpf/PosSelect/index.js")+(()=>"../../../../../components/Jnpf/UserSelect/index.js")+(()=>"../../../../../components/Jnpf/UsersSelect/index.js")+(()=>"../../../../../components/Jnpf/TreeSelect/index.js")+(()=>"../../../../../components/Jnpf/AreaSelect/index.js")+(()=>"../../../../../components/Jnpf/DatePicker/index.js")+(()=>"../../../../../components/Jnpf/DateRange/index.js")+(()=>"../../../../../components/Jnpf/TimeRange/index.js")+(()=>"../../../../../uni_modules/vk-uview-ui/components/u-form-item/u-form-item.js")+(()=>"../../../../../uni_modules/vk-uview-ui/components/u-form/u-form.js"))();const i=o._export_sfc(n,[["render",function(e,a,t,c,l,n){return{a:o.f(e.formConfCopy,((a,c,l)=>o.e({a:e.useInputList.includes(a.__config__.jnpfKey)},e.useInputList.includes(a.__config__.jnpfKey)?{b:"5c21ccae-2-"+l+",5c21ccae-1-"+l,c:o.o((o=>e.formData[a.id]=o),c),d:o.p({"input-align":"right",placeholder:4!=t.webType?"请输入"+a.label:"请输入"+a.__config__.label,clearable:!0,modelValue:e.formData[a.id]})}:{},{e:["inputNumber","calculate"].includes(a.__config__.jnpfKey)},["inputNumber","calculate"].includes(a.__config__.jnpfKey)?o.e({f:a.__config__.isFromParam},a.__config__.isFromParam?{g:"5c21ccae-3-"+l+",5c21ccae-1-"+l,h:o.o((o=>e.formData[a.id]=o),c),i:o.p({precision:a.precision,placeholder:4!=t.webType?a.placeholder:"请输入"+a.__config__.label,modelValue:e.formData[a.id]})}:{j:"5c21ccae-4-"+l+",5c21ccae-1-"+l,k:o.o((o=>e.formData[a.id]=o),c),l:o.p({precision:a.precision||"calculate"!=a.__config__.jnpfKey?a.precision:0,modelValue:e.formData[a.id]})}):{},{m:["rate","slider"].includes(a.__config__.jnpfKey)},["rate","slider"].includes(a.__config__.jnpfKey)?{n:"5c21ccae-5-"+l+",5c21ccae-1-"+l,o:o.o((o=>e.formData[a.id]=o),c),p:o.p({precision:a.allowHalf?1:0,modelValue:e.formData[a.id]})}:{},{q:e.useSelectList.includes(a.__config__.jnpfKey)},e.useSelectList.includes(a.__config__.jnpfKey)?{r:e.key,s:"5c21ccae-6-"+l+",5c21ccae-1-"+l,t:o.o((o=>e.formData[a.id]=o),e.key),v:o.p({placeholder:a.placeholder,options:a.options,props:a.props,multiple:a.searchMultiple,filterable:!0,modelValue:e.formData[a.id]})}:{},{w:"cascader"===a.__config__.jnpfKey},"cascader"===a.__config__.jnpfKey?{x:"5c21ccae-7-"+l+",5c21ccae-1-"+l,y:o.o((o=>e.formData[a.id]=o),c),z:o.p({placeholder:a.placeholder,options:a.options,props:a.props,filterable:!0,showAllLevels:a.showAllLevels,multiple:a.searchMultiple,modelValue:e.formData[a.id]})}:{},{A:"autoComplete"===a.__config__.jnpfKey},"autoComplete"===a.__config__.jnpfKey?{B:"5c21ccae-8-"+l+",5c21ccae-1-"+l,C:o.o((o=>e.formData[a.id]=o),c),D:o.p({interfaceName:a.interfaceName,placeholder:a.placeholder,interfaceId:a.interfaceId,total:a.total,templateJson:a.templateJson,formData:e.formData,relationField:a.relationField,propsValue:a.propsValue,clearable:a.clearable,modelValue:e.formData[a.id]})}:{},{E:"groupSelect"===a.__config__.jnpfKey},"groupSelect"===a.__config__.jnpfKey?{F:"5c21ccae-9-"+l+",5c21ccae-1-"+l,G:o.o((o=>e.formData[a.id]=o),c),H:o.p({vModel:a.id,multiple:a.searchMultiple,disabled:a.disabled,placeholder:a.placeholder,ableIds:a.ableIds,selectType:a.selectType,modelValue:e.formData[a.id]})}:{},{I:"roleSelect"===a.__config__.jnpfKey},"roleSelect"===a.__config__.jnpfKey?{J:"5c21ccae-10-"+l+",5c21ccae-1-"+l,K:o.o((o=>e.formData[a.id]=o),c),L:o.p({multiple:a.searchMultiple,disabled:a.disabled,placeholder:a.placeholder,ableIds:a.ableIds,selectType:a.selectType,modelValue:e.formData[a.id]})}:{},{M:["organizeSelect","currOrganize"].includes(a.__config__.jnpfKey)},["organizeSelect","currOrganize"].includes(a.__config__.jnpfKey)?{N:"5c21ccae-11-"+l+",5c21ccae-1-"+l,O:o.o((o=>e.formData[a.id]=o),c),P:o.p({placeholder:"请选择"+a.label,multiple:a.searchMultiple,ableIds:a.ableIds,selectType:a.selectType,modelValue:e.formData[a.id]})}:{},{Q:["depSelect","currDept"].includes(a.__config__.jnpfKey)},["depSelect","currDept"].includes(a.__config__.jnpfKey)?{R:"5c21ccae-12-"+l+",5c21ccae-1-"+l,S:o.o((o=>e.formData[a.id]=o),c),T:o.p({placeholder:"请选择"+a.label,ableIds:a.ableIds,selectType:a.selectType,multiple:a.searchMultiple,modelValue:e.formData[a.id]})}:{},{U:["posSelect","currPosition"].includes(a.__config__.jnpfKey)},["posSelect","currPosition"].includes(a.__config__.jnpfKey)?{V:"5c21ccae-13-"+l+",5c21ccae-1-"+l,W:o.o((o=>e.formData[a.id]=o),c),X:o.p({placeholder:"请选择"+a.label,ableIds:a.ableIds,selectType:a.selectType,multiple:a.searchMultiple,modelValue:e.formData[a.id]})}:{},{Y:["userSelect","createUser","modifyUser"].includes(a.__config__.jnpfKey)},["userSelect","createUser","modifyUser"].includes(a.__config__.jnpfKey)?{Z:"5c21ccae-14-"+l+",5c21ccae-1-"+l,aa:o.o((o=>e.formData[a.id]=o),c),ab:o.p({placeholder:"请选择"+a.label,ableDepIds:a.ableDepIds,ableIds:a.ableIds,selectType:"custom"!=a.selectType?"all":"custom",multiple:a.searchMultiple,modelValue:e.formData[a.id]})}:{},{ac:"usersSelect"===a.__config__.jnpfKey},"usersSelect"===a.__config__.jnpfKey?{ad:"5c21ccae-15-"+l+",5c21ccae-1-"+l,ae:o.o((o=>e.formData[a.id]=o),c),af:o.p({multiple:a.searchMultiple,placeholder:a.placeholder,selectType:a.selectType,ableIds:a.ableIds,clearable:a.clearable,modelValue:e.formData[a.id]})}:{},{ag:"treeSelect"===a.__config__.jnpfKey},"treeSelect"===a.__config__.jnpfKey?{ah:"5c21ccae-16-"+l+",5c21ccae-1-"+l,ai:o.o((o=>e.formData[a.id]=o),c),aj:o.p({options:a.options,props:a.props,placeholder:a.placeholder,filterable:!0,multiple:a.searchMultiple,modelValue:e.formData[a.id]})}:{},{ak:"areaSelect"===a.__config__.jnpfKey},"areaSelect"===a.__config__.jnpfKey?{al:"5c21ccae-17-"+l+",5c21ccae-1-"+l,am:o.o((o=>e.formData[a.id]=o),c),an:o.p({placeholder:a.placeholder,level:a.level,multiple:a.searchMultiple,modelValue:e.formData[a.id]})}:{},{ao:e.useDateList.includes(a.__config__.jnpfKey)||"datePicker"===a.__config__.jnpfKey},e.useDateList.includes(a.__config__.jnpfKey)||"datePicker"===a.__config__.jnpfKey?o.e({ap:a.__config__.isFromParam},a.__config__.isFromParam?{aq:"5c21ccae-18-"+l+",5c21ccae-1-"+l,ar:o.o((o=>e.formData[a.id]=o),c),as:o.p({format:a.format,modelValue:e.formData[a.id]})}:{at:"5c21ccae-19-"+l+",5c21ccae-1-"+l,av:o.o((o=>e.formData[a.id]=o),c),aw:o.p({format:a.format,modelValue:e.formData[a.id]})}):{},{ax:"timePicker"===a.__config__.jnpfKey},"timePicker"===a.__config__.jnpfKey?{ay:"5c21ccae-20-"+l+",5c21ccae-1-"+l,az:o.o((o=>e.formData[a.id]=o),c),aA:o.p({format:a.format,modelValue:e.formData[a.id]})}:{},{aB:c,aC:"5c21ccae-1-"+l+",5c21ccae-0",aD:o.p({label:a.label,prop:a.id})}))),b:o.sr("dataForm","5c21ccae-0"),c:o.p({model:e.formData,errorType:["toast"],"label-position":"left","label-width":"150"})}}]]);wx.createComponent(i);
{
"component": true,
"usingComponents": {
"jnpf-input": "../../../../../components/Jnpf/Input/index",
"jnpf-input-number": "../../../../../components/Jnpf/InputNumber/index",
"jnpf-number-range": "../../../../../components/Jnpf/NumberRange/index",
"jnpf-select": "../../../../../components/Jnpf/Select/index",
"jnpf-cascader": "../../../../../components/Jnpf/Cascader/index",
"jnpf-auto-complete": "../../../../../components/Jnpf/AutoComplete/index",
"jnpf-group-select": "../../../../../components/Jnpf/GroupSelect/index",
"jnpf-role-select": "../../../../../components/Jnpf/RoleSelect/index",
"jnpf-organize-select": "../../../../../components/Jnpf/OrganizeSelect/index",
"jnpf-dep-select": "../../../../../components/Jnpf/DepSelect/index",
"jnpf-pos-select": "../../../../../components/Jnpf/PosSelect/index",
"jnpf-user-select": "../../../../../components/Jnpf/UserSelect/index",
"jnpf-users-select": "../../../../../components/Jnpf/UsersSelect/index",
"jnpf-tree-select": "../../../../../components/Jnpf/TreeSelect/index",
"jnpf-area-select": "../../../../../components/Jnpf/AreaSelect/index",
"jnpf-date-picker": "../../../../../components/Jnpf/DatePicker/index",
"jnpf-date-range": "../../../../../components/Jnpf/DateRange/index",
"jnpf-time-range": "../../../../../components/Jnpf/TimeRange/index",
"u-form-item": "../../../../../uni_modules/vk-uview-ui/components/u-form-item/u-form-item",
"u-form": "../../../../../uni_modules/vk-uview-ui/components/u-form/u-form"
}
}
\ No newline at end of file
<u-form wx:if="{{c}}" class="r" u-s="{{['d']}}" u-r="dataForm" u-i="5c21ccae-0" bind:__l="__l" u-p="{{c}}"><u-form-item wx:for="{{a}}" wx:for-item="item" wx:key="aB" u-s="{{['d']}}" u-i="{{item.aC}}" bind:__l="__l" u-p="{{item.aD}}"><jnpf-input wx:if="{{item.a}}" u-i="{{item.b}}" bind:__l="__l" bindupdateModelValue="{{item.c}}" u-p="{{item.d}}"/><block wx:if="{{item.e}}"><jnpf-input-number wx:if="{{item.f}}" u-i="{{item.g}}" bind:__l="__l" bindupdateModelValue="{{item.h}}" u-p="{{item.i}}"/><jnpf-number-range wx:else u-i="{{item.j}}" bind:__l="__l" bindupdateModelValue="{{item.k}}" u-p="{{item.l||''}}"/></block><block wx:if="{{item.m}}"><jnpf-number-range wx:if="{{item.p}}" u-i="{{item.n}}" bind:__l="__l" bindupdateModelValue="{{item.o}}" u-p="{{item.p}}"/></block><jnpf-select wx:if="{{item.q}}" key="{{item.r}}" u-i="{{item.s}}" bind:__l="__l" bindupdateModelValue="{{item.t}}" u-p="{{item.v}}"/><jnpf-cascader wx:if="{{item.w}}" u-i="{{item.x}}" bind:__l="__l" bindupdateModelValue="{{item.y}}" u-p="{{item.z}}"/><jnpf-auto-complete wx:if="{{item.A}}" u-i="{{item.B}}" bind:__l="__l" bindupdateModelValue="{{item.C}}" u-p="{{item.D}}"/><jnpf-group-select wx:if="{{item.E}}" u-i="{{item.F}}" bind:__l="__l" bindupdateModelValue="{{item.G}}" u-p="{{item.H}}"/><jnpf-role-select wx:if="{{item.I}}" u-i="{{item.J}}" bind:__l="__l" bindupdateModelValue="{{item.K}}" u-p="{{item.L}}"/><jnpf-organize-select wx:if="{{item.M}}" u-i="{{item.N}}" bind:__l="__l" bindupdateModelValue="{{item.O}}" u-p="{{item.P}}"/><jnpf-dep-select wx:if="{{item.Q}}" u-i="{{item.R}}" bind:__l="__l" bindupdateModelValue="{{item.S}}" u-p="{{item.T}}"/><jnpf-pos-select wx:if="{{item.U}}" u-i="{{item.V}}" bind:__l="__l" bindupdateModelValue="{{item.W}}" u-p="{{item.X}}"/><jnpf-user-select wx:if="{{item.Y}}" u-i="{{item.Z}}" bind:__l="__l" bindupdateModelValue="{{item.aa}}" u-p="{{item.ab}}"/><jnpf-users-select wx:if="{{item.ac}}" u-i="{{item.ad}}" bind:__l="__l" bindupdateModelValue="{{item.ae}}" u-p="{{item.af}}"/><jnpf-tree-select wx:if="{{item.ag}}" u-i="{{item.ah}}" bind:__l="__l" bindupdateModelValue="{{item.ai}}" u-p="{{item.aj}}"/><jnpf-area-select wx:if="{{item.ak}}" u-i="{{item.al}}" bind:__l="__l" bindupdateModelValue="{{item.am}}" u-p="{{item.an}}"/><block wx:if="{{item.ao}}"><jnpf-date-picker wx:if="{{item.ap}}" u-i="{{item.aq}}" bind:__l="__l" bindupdateModelValue="{{item.ar}}" u-p="{{item.as}}"/><jnpf-date-range wx:else u-i="{{item.at}}" bind:__l="__l" bindupdateModelValue="{{item.av}}" u-p="{{item.aw||''}}"/></block><jnpf-time-range wx:if="{{item.ax}}" u-i="{{item.ay}}" bind:__l="__l" bindupdateModelValue="{{item.az}}" u-p="{{item.aA}}"/></u-form-item></u-form>
\ No newline at end of file
"use strict";const e=require("../../../../common/vendor.js"),l={props:["childList","label","children","pageLen","thousands","thousandsField"],data:()=>({dataList:[],isAllData:!1,key:+new Date,allPageLen:3}),watch:{childList:{handler(e){this.dataList=e||[],this.allPageLen=this.pageLen,this.children.map((e=>{e.childLabel.length>4&&(e.childLabel=e.childLabel.substring(0,4))}))},immediate:!0}},methods:{toThousands(e,l){if(e){let o=e.toString().split("."),n=Number(o[0]),a=l.thousands?n.toLocaleString():n;return o[1]?a+"."+o[1]:a}},relationFormClick(e,l){this.$emit("cRelationForm",e,l)},loadMore(){this.allPageLen=this.childList.length,this.isAllData=!0,this.resizeCollapse()},collapseChange(e){e||(this.isAllData=!1,setTimeout((()=>{this.allPageLen=this.pageLen}),500)),this.resizeCollapse()},resizeCollapse(){setTimeout((()=>{this.$refs.collapse&&this.$refs.collapse.resize()}),50)}}};if(!Array){(e.resolveComponent("JnpfSign")+e.resolveComponent("JnpfSignature")+e.resolveComponent("JnpfUploadImg")+e.resolveComponent("JnpfUploadFile")+e.resolveComponent("JnpfRate")+e.resolveComponent("JnpfSlider")+e.resolveComponent("JnpfInput")+e.resolveComponent("uni-collapse-item")+e.resolveComponent("uni-collapse"))()}Math||((()=>"../../../../components/Jnpf/Sign/index.js")+(()=>"../../../../components/Jnpf/Signature/index.js")+(()=>"../../../../components/Jnpf/UploadImg/index.js")+(()=>"../../../../components/Jnpf/UploadFile/index.js")+(()=>"../../../../components/Jnpf/Rate/index.js")+(()=>"../../../../components/Jnpf/Slider/index.js")+(()=>"../../../../components/Jnpf/Input/index.js")+(()=>"../../../../uni_modules/uni-collapse/components/uni-collapse-item/uni-collapse-item.js")+(()=>"../../../../uni_modules/uni-collapse/components/uni-collapse/uni-collapse.js"))();const o=e._export_sfc(l,[["render",function(l,o,n,a,t,i){return e.e({a:e.t(n.label+":"),b:e.f(t.dataList,((l,o,a)=>e.e({a:o<t.allPageLen},o<t.allPageLen?{b:e.f(n.children,((o,n,t)=>e.e({a:e.t(o.childLabel),b:["calculate","inputNumber"].includes(o.__config__.jnpfKey)},["calculate","inputNumber"].includes(o.__config__.jnpfKey)?{c:e.t(i.toThousands(l[o.vModel],o))}:"relationForm"===o.__config__.jnpfKey?{e:e.t(l[o.vModel]),f:e.o((e=>i.relationFormClick(l,o)),n)}:"sign"==o.jnpfKey?{h:"5b2d3534-2-"+a+"-"+t+",5b2d3534-1",i:e.o((e=>l[o.vModel]=e),n),j:e.p({align:"left",detailed:!0,modelValue:l[o.vModel]})}:"signature"==o.jnpfKey?{l:"5b2d3534-3-"+a+"-"+t+",5b2d3534-1",m:e.o((e=>l[o.vModel]=e),n),n:e.p({align:"left",detailed:!0,modelValue:l[o.vModel]})}:"uploadImg"==o.jnpfKey?e.e({p:l[o.vModel]&&l[o.vModel].length},l[o.vModel]&&l[o.vModel].length?{q:"5b2d3534-4-"+a+"-"+t+",5b2d3534-1",r:e.o((e=>l[o.vModel]=e),n),s:e.p({detailed:!0,simple:!0,modelValue:l[o.vModel]})}:{},{t:e.o((()=>{}),n)}):"uploadFile"==o.jnpfKey?e.e({w:l[o.vModel]&&l[o.vModel].length},l[o.vModel]&&l[o.vModel].length?{x:"5b2d3534-5-"+a+"-"+t+",5b2d3534-1",y:e.o((e=>l[o.vModel]=e),n),z:e.p({detailed:!0,align:"left",modelValue:l[o.vModel]})}:{},{A:e.o((()=>{}),n)}):"rate"==o.jnpfKey?{C:"5b2d3534-6-"+a+"-"+t+",5b2d3534-1",D:e.o((e=>l[o.vModel]=e),n),E:e.p({count:o.count,allowHalf:o.allowHalf,disabled:!0,modelValue:l[o.vModel]})}:"slider"==o.jnpfKey?{G:"5b2d3534-7-"+a+"-"+t+",5b2d3534-1",H:e.o((e=>l[o.vModel]=e),n),I:e.p({min:o.min,max:o.max,step:o.step,disabled:!0,modelValue:l[o.vModel]})}:"input"==o.jnpfKey?{K:"5b2d3534-8-"+a+"-"+t+",5b2d3534-1",L:e.o((e=>l[o.vModel]=e),n),M:e.p({detailed:!0,showOverflow:!0,useMask:o.useMask,maskConfig:o.maskConfig,align:"left",modelValue:l[o.vModel]})}:{N:e.t(l[o.vModel])},{d:"relationForm"===o.__config__.jnpfKey,g:"sign"==o.jnpfKey,k:"signature"==o.jnpfKey,o:"uploadImg"==o.jnpfKey,v:"uploadFile"==o.jnpfKey,B:"rate"==o.jnpfKey,F:"slider"==o.jnpfKey,J:"input"==o.jnpfKey,O:n})))}:{},{c:o}))),c:!t.isAllData&&this.dataList.length>t.allPageLen},!t.isAllData&&this.dataList.length>t.allPageLen?{d:e.o(((...e)=>i.loadMore&&i.loadMore(...e)))}:{},{e:t.key,f:e.sr("collapse","5b2d3534-0"),g:e.o(i.collapseChange),h:e.o((()=>{})),i:e.p({accordion:!0})})}]]);wx.createComponent(o);
{
"component": true,
"usingComponents": {
"jnpf-sign": "../../../../components/Jnpf/Sign/index",
"jnpf-signature": "../../../../components/Jnpf/Signature/index",
"jnpf-upload-img": "../../../../components/Jnpf/UploadImg/index",
"jnpf-upload-file": "../../../../components/Jnpf/UploadFile/index",
"jnpf-rate": "../../../../components/Jnpf/Rate/index",
"jnpf-slider": "../../../../components/Jnpf/Slider/index",
"jnpf-input": "../../../../components/Jnpf/Input/index",
"uni-collapse-item": "../../../../uni_modules/uni-collapse/components/uni-collapse-item/uni-collapse-item",
"uni-collapse": "../../../../uni_modules/uni-collapse/components/uni-collapse/uni-collapse"
}
}
\ No newline at end of file
<uni-collapse wx:if="{{i}}" u-s="{{['d']}}" class="collapse r" u-r="collapse" bindchange="{{g}}" catchclick="{{h}}" u-i="5b2d3534-0" bind:__l="__l" u-p="{{i}}"><uni-collapse-item u-s="{{['title','d']}}" key="{{e}}" u-i="5b2d3534-1,5b2d3534-0" bind:__l="__l"><view class="u-font-24 u-flex" slot="title"><view style="width:124rpx;text-align:right"><text>{{a}}</text></view><text style="color:#606266" class="u-m-l-28">展开数据</text></view><view wx:for="{{b}}" wx:for-item="item" wx:key="c" class="collapse-item"><view wx:if="{{item.a}}" class="item-cell-children"><view wx:for="{{item.b}}" wx:for-item="cld" wx:key="O" class="item-cell"><text class="item-cell-label">{{cld.a}}:</text><text wx:if="{{cld.b}}" class="item-cell-content">{{cld.c}}</text><text wx:elif="{{cld.d}}" class="item-cell-content text-primary" catchtap="{{cld.f}}">{{cld.e}}</text><view wx:elif="{{cld.g}}" class="item-cell-content"><jnpf-sign wx:if="{{cld.j}}" u-i="{{cld.h}}" bind:__l="__l" bindupdateModelValue="{{cld.i}}" u-p="{{cld.j}}"/></view><view wx:elif="{{cld.k}}" class="item-cell-content"><jnpf-signature wx:if="{{cld.n}}" u-i="{{cld.l}}" bind:__l="__l" bindupdateModelValue="{{cld.m}}" u-p="{{cld.n}}"/></view><view wx:elif="{{cld.o}}" class="item-cell-content" catchtap="{{cld.t}}"><jnpf-upload-img wx:if="{{cld.p}}" u-i="{{cld.q}}" bind:__l="__l" bindupdateModelValue="{{cld.r}}" u-p="{{cld.s}}"/></view><view wx:elif="{{cld.v}}" class="item-cell-content" catchtap="{{cld.A}}"><jnpf-upload-file wx:if="{{cld.w}}" u-i="{{cld.x}}" bind:__l="__l" bindupdateModelValue="{{cld.y}}" u-p="{{cld.z}}"/></view><view wx:elif="{{cld.B}}" class="item-cell-content"><jnpf-rate wx:if="{{cld.E}}" u-i="{{cld.C}}" bind:__l="__l" bindupdateModelValue="{{cld.D}}" u-p="{{cld.E}}"/></view><view wx:elif="{{cld.F}}" class="item-cell-content item-cell-slider"><jnpf-slider wx:if="{{cld.I}}" u-i="{{cld.G}}" bind:__l="__l" bindupdateModelValue="{{cld.H}}" u-p="{{cld.I}}"/></view><view wx:elif="{{cld.J}}" class="item-cell-content"><jnpf-input wx:if="{{cld.M}}" u-i="{{cld.K}}" bind:__l="__l" bindupdateModelValue="{{cld.L}}" u-p="{{cld.M}}"/></view><text wx:else class="item-cell-content">{{cld.N}}</text></view></view></view><view wx:if="{{c}}" class="loadMore" catchtap="{{d}}"> 加载更多 </view></uni-collapse-item></uni-collapse>
\ No newline at end of file
"use strict";const i=require("../../../common/vendor.js"),e=require("../../../api/apply/visualDev.js"),t=require("../../../api/common.js"),o={components:{Parser:()=>"./components/detail/Parser.js"},data:()=>({showPage:!1,loading:!0,isPreview:"0",modelId:"",formConf:{},formData:{},dataForm:{id:"",data:""},btnType:"",formPermissionList:{},formList:[],labelS:{}}),onLoad(e){let t=JSON.parse(this.jnpf.base64.decode(e.config));this.formPermissionList=t.currentMenu?JSON.parse(decodeURIComponent(t.currentMenu)):[],this.formList=this.formPermissionList.formList,this.btnType=t.btnType||"",this.labelS=t.labelS||{btn_edit:"编辑"},this.modelId=t.modelId,this.isPreview=t.isPreview||"0",this.dataForm.id=t.id||"",this.setting=t,this.getConfigData(),i.index.$on("refresh",(()=>{this.getConfigData()}))},onShow(){setTimeout((()=>{i.index.$emit("initCollapse")}),100)},onUnload(){i.index.$off("refresh")},methods:{getConfigData(){this.loading=!0,e.getConfigData(this.modelId).then((e=>{200===e.code&&e.data?(this.formConf=e.data.formData?JSON.parse(e.data.formData):{},this.beforeInit(this.formConf.fields||[]),this.showPage=!0,this.key=+new Date,this.initData()):i.index.showToast({title:"暂无此页面",icon:"none",complete:()=>{setTimeout((()=>{i.index.navigateBack()}),1500)}})}))},beforeInit(i){const e=i=>{for(var t=0;t<i.length;t++){const s=i[t].__config__;if(s.children&&s.children.length&&e(s.children),"tableGrid"==s.jnpfKey){let e=[];for(var o=0;o<s.children.length;o++){let i=s.children[o];for(var n=0;n<i.__config__.children.length;n++){let t=i.__config__.children[n];e.push(...t.__config__.children)}}i.splice(t,1,...e)}}};e(i)},initData(){this.$nextTick((()=>{if(this.dataForm.id){let e={modelId:this.modelId,id:this.dataForm.id,type:2};i.index.setStorageSync("dynamicModelExtra",e),t.getDataChange(this.modelId,this.dataForm.id).then((i=>{this.dataForm=i.data,this.loading=!1,this.dataForm.data&&(this.formData={...JSON.parse(this.dataForm.data),id:this.dataForm.id},this.fillFormData(this.formConf,this.formData),this.initRelationForm(this.formConf.fields))}))}else this.loading=!1;this.key=+new Date}))},fillFormData(i,e){const t=(i,o)=>{for(let n=0;n<i.length;n++){let s=i[n];if(s.__vModel__){if("relationForm"===s.__config__.jnpfKey||"popupSelect"===s.__config__.jnpfKey)s.__config__.defaultValue=e[s.__vModel__+"_id"],this.$set(s,"name",e[s.__vModel__]||"");else{let i=e.hasOwnProperty(s.__vModel__)?e[s.__vModel__]:s.__config__.defaultValue;s.__config__.defaultValue=i}if(this.formPermissionList.useFormPermission){let i=s.__config__.isSubTable?o.__vModel__+"-"+s.__vModel__:s.__vModel__,e=!0;this.formList&&this.formList.length&&(e=!this.formList.some((e=>e.enCode===i))),e=s.__config__.noShow?s.__config__.noShow:e,this.$set(s.__config__,"noShow",e)}}else["relationFormAttr","popupAttr"].includes(s.__config__.jnpfKey)&&(s.__config__.defaultValue=e[s.relationField.split("_jnpfTable_")[0]+"_"+s.showField]);s.__config__&&s.__config__.children&&Array.isArray(s.__config__.children)&&t(s.__config__.children,s)}};t(i.fields),this.loading=!1},initRelationForm(i){i.forEach((e=>{const t=e.__config__;if("relationFormAttr"==t.jnpfKey||"popupAttr"==t.jnpfKey){const t=e.relationField.split("_jnpfTable_")[0];i.forEach((i=>{const o=Array.isArray(i.__config__.visibility)&&!i.__config__.visibility.includes("app");t!=i.__vModel__||!o&&!i.__config__.noShow||e.__vModel__||(e.__config__.noShow=!0)}))}e.__config__.children&&e.__config__.children.length&&this.initRelationForm(e.__config__.children)}))},toDetail(e){const t=e.__config__.defaultValue;if(!t)return;let o={modelId:e.modelId,id:t,formTitle:"详情",noShowBtn:1};this.$nextTick((()=>{const e="/pages/apply/dynamicModel/detail?config="+this.jnpf.base64.encode(JSON.stringify(o));i.index.navigateTo({url:e})}))},handleEdit(){if(this.setting.disableEdit)return;const e=encodeURIComponent(JSON.stringify(this.formPermissionList));let t={modelId:this.modelId,isPreview:this.isPreview,id:this.setting.id,btnType:"btn_edit",currentMenu:e,list:this.setting.list,index:this.setting.index};const o="/pages/apply/dynamicModel/form?config="+this.jnpf.base64.encode(JSON.stringify(t));i.index.navigateTo({url:o})}}};if(!Array){(i.resolveComponent("Parser")+i.resolveComponent("u-button"))()}Math;const n=i._export_sfc(o,[["render",function(e,t,o,n,s,a){return i.e({a:s.showPage},s.showPage?i.e({b:!s.loading},s.loading?{}:{c:i.sr("dynamicForm","cc3092a4-0"),d:e.key,e:i.o(a.toDetail),f:i.p({formConf:s.formConf,formData:s.formData})},{g:i.o(e.jnpf.goBack),h:"btn_edit"===s.btnType&&!this.setting.noShowBtn&&this.setting.enableEdit},"btn_edit"===s.btnType&&!this.setting.noShowBtn&&this.setting.enableEdit?{i:i.t(s.labelS.btn_edit),j:i.o(a.handleEdit),k:i.p({type:"primary"})}:{}):{})}]]);wx.createPage(n);
{
"navigationBarTitleText": "详情",
"usingComponents": {
"parser": "./components/detail/Parser",
"u-button": "../../../uni_modules/vk-uview-ui/components/u-button/u-button"
}
}
\ No newline at end of file
<view wx:if="{{a}}" class="dynamicModel-form-v jnpf-wrap jnpf-wrap-form"><parser wx:if="{{b}}" class="r" u-r="dynamicForm" key="{{d}}" bindtoDetail="{{e}}" u-i="cc3092a4-0" bind:__l="__l" u-p="{{f}}"/><view class="buttom-actions"><u-button u-s="{{['d']}}" class="buttom-btn" catchclick="{{g}}" u-i="cc3092a4-1" bind:__l="__l">取消</u-button><u-button wx:if="{{h}}" u-s="{{['d']}}" class="buttom-btn" catchclick="{{j}}" u-i="cc3092a4-2" bind:__l="__l" u-p="{{k}}">{{i}}</u-button></view></view>
\ No newline at end of file
page{background-color:#f0f2f6}.dynamicModel-form-v .u-form-item{min-height:112rpx;background-color:#fff}
"use strict";const t=require("../../../common/vendor.js"),i=require("../../../api/apply/visualDev.js"),e={data:()=>({webType:"",showPage:!1,btnLoading:!1,loading:!0,isPreview:"0",modelId:"",formConf:{},formData:{},dataForm:{id:"",data:""},btnType:"",formPermissionList:{},formList:[],key:+new Date,config:{},clickType:"submit",prevDis:!1,nextDis:!1,index:0,userInfo:{},isAdd:!1}),onLoad(i){this.userInfo=t.index.getStorageSync("userInfo")||{},this.config=JSON.parse(this.jnpf.base64.decode(i.config)),this.index=this.config.index,this.formPermissionList=this.config.currentMenu?JSON.parse(decodeURIComponent(this.config.currentMenu)):[],this.formList=this.formPermissionList.formList,this.btnType=this.config.btnType||"",this.modelId=this.config.modelId,this.isPreview=this.config.isPreview||"0",this.dataForm.id=this.config.id||"",t.index.setNavigationBarTitle({title:this.dataForm.id?"编辑":"新建"}),this.getConfigData()},methods:{getConfigData(){i.getConfigData(this.modelId).then((i=>{200===i.code&&i.data?(this.formConf=i.data.formData?JSON.parse(i.data.formData):{},this.showPage=!0,this.initData()):t.index.showToast({title:"暂无此页面",icon:"none",complete:()=>{setTimeout((()=>{t.index.navigateBack()}),1500)}})}))},initData(){this.$nextTick((()=>{if(this.dataForm.id){let e={modelId:this.modelId,id:this.dataForm.id,type:1};t.index.setStorageSync("dynamicModelExtra",e),i.getModelInfo(this.modelId,this.dataForm.id).then((t=>{this.dataForm=t.data,this.dataForm.data&&(this.formData={...JSON.parse(this.dataForm.data),id:this.dataForm.id},this.fillFormData(this.formConf,this.formData),this.$nextTick((()=>{this.loading=!1})))}))}else this.isAdd=!0,this.formData={},this.loading=!1,this.fillFormData(this.formConf,this.formData);this.key=+new Date}))},fillFormData(t,i){this.key=+new Date;const e=(t,s)=>{for(let o=0;o<t.length;o++){let a=t[o],n=a.__vModel__,r=a.__config__;if(n){let t=i.hasOwnProperty(n)?i[n]:r.defaultValue;if(r.isSubTable||(r.defaultValue=t),(this.isAdd||r.isSubTable)&&r.defaultCurrent){if("datePicker"===r.jnpfKey&&!i.hasOwnProperty(n)){let i=this.jnpf.handelFormat(a.format),e=this.jnpf.toDate((new Date).getTime(),i);t=new Date(e+("yyyy"===i?"-01-01 00:00:00":"yyyy-MM"===i?"-01 00:00:00":"yyyy-MM-dd"===i?" 00:00:00":"")).getTime(),r.defaultValue=t}"timePicker"===r.jnpfKey&&(i.hasOwnProperty(n)||(r.defaultValue=this.jnpf.toDate(new Date,a.format)));const e=this.userInfo.organizeIdList;"organizeSelect"===r.jnpfKey&&Array.isArray(e)&&e.length&&(r.defaultValue=a.multiple?[e]:e);const s=this.userInfo.departmentId;"depSelect"===r.jnpfKey&&s&&(r.defaultValue=a.multiple?[s]:s);const o=this.userInfo.positionIds;"posSelect"===r.jnpfKey&&Array.isArray(o)&&o.length&&(r.defaultValue=a.multiple?o.map((t=>t.id)):o[0].id);const d=this.userInfo.roleIds;"roleSelect"===r.jnpfKey&&Array.isArray(d)&&d.length&&(r.defaultValue=a.multiple?d:d[0]);const h=this.userInfo.groupIds;"groupSelect"===r.jnpfKey&&Array.isArray(h)&&h.length&&(r.defaultValue=a.multiple?h:h[0]);const l=this.userInfo.userId;"userSelect"===r.jnpfKey&&l&&(r.defaultValue=a.multiple?[l]:l),"usersSelect"===r.jnpfKey&&l&&(r.defaultValue=a.multiple?[l+"--user"]:l+"--user"),"sign"===r.jnpfKey&&this.userInfo.signImg&&(r.defaultValue=this.userInfo.signImg)}const e=this.$permission.hasBtnP("btn_detail",this.formPermissionList.menuId),o=this.$permission.hasBtnP("btn_edit",this.formPermissionList.menuId);this.dataForm.id&&!o&&e&&(a.disabled=e);let d=!!r.noShow&&r.noShow,h=!1;if((!r.visibility||Array.isArray(r.visibility)&&r.visibility.includes("app"))&&(h=!0),this.$set(r,"isVisibility",h),this.formPermissionList.useFormPermission){let t=r.isSubTable?s.__vModel__+"-"+n:n;d=!0,this.formList&&this.formList.length&&(d=!this.formList.some((i=>i.enCode===t))),d=r.noShow?r.noShow:d,this.$set(r,"noShow",d)}}else{let t=!!r.noShow&&r.noShow,i=!1;(!r.visibility||Array.isArray(r.visibility)&&r.visibility.includes("app"))&&(i=!0),this.$set(r,"isVisibility",i),this.$set(r,"noShow",t)}r&&r.children&&Array.isArray(r.children)&&e(r.children,a)}};e(t.fields),t.formData=i,this.key=+new Date},sumbitForm(e,s){if(!e)return;this.btnLoading=!0;const o={...this.formData,...e};this.dataForm.data=JSON.stringify(o),s&&"function"==typeof s&&s();(this.dataForm.id?i.updateModel:i.createModel)(this.modelId,this.dataForm).then((i=>{t.index.showToast({title:i.msg,complete:()=>{setTimeout((()=>{"save_add"==this.clickType&&(this.key=+new Date,this.$nextTick((()=>{this.$refs.dynamicForm&&this.$refs.dynamicForm.resetForm()}))),this.btnLoading=!1,this.initData(),"save_proceed"!=this.clickType&&"save_add"!=this.clickType&&(t.index.$emit("refresh"),t.index.navigateBack())}),1500)}})})).catch((()=>{this.btnLoading=!1}))},commonSubmit(t){this.clickType=t,this.submit(t)},submit(t){if(this.clickType=t,"1"==this.isPreview)return this.$u.toast("功能预览不支持数据保存");this.$refs.dynamicForm&&this.$refs.dynamicForm.submitForm()}}};if(!Array){(t.resolveComponent("JnpfParser")+t.resolveComponent("u-button"))()}Math||((()=>"../../../components/Jnpf/Parser/index.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-button/u-button.js"))();const s=t._export_sfc(e,[["render",function(i,e,s,o,a,n){return t.e({a:a.showPage},a.showPage?t.e({b:!a.loading},a.loading?{}:{c:t.sr("dynamicForm","e196f23e-0"),d:t.o(n.sumbitForm),e:a.key,f:t.p({formConf:a.formConf})},{g:"btn_edit"===a.btnType||"btn_add"===a.btnType},"btn_edit"===a.btnType||"btn_add"===a.btnType?{h:t.t(a.formConf.confirmButtonText||"确定"),i:t.o(n.submit),j:t.p({type:"primary",loading:a.btnLoading}),k:t.t(a.formConf.cancelButtonText||"取消"),l:t.o(i.jnpf.goBack)}:{}):{})}]]);wx.createPage(s);
{
"navigationBarTitleText": "",
"usingComponents": {
"jnpf-parser": "../../../components/Jnpf/Parser/index",
"u-button": "../../../uni_modules/vk-uview-ui/components/u-button/u-button"
}
}
\ No newline at end of file
<view wx:if="{{a}}" class="dynamicModel-form-v jnpf-wrap jnpf-wrap-form"><jnpf-parser wx:if="{{b}}" class="r" u-r="dynamicForm" bindsubmit="{{d}}" key="{{e}}" u-i="e196f23e-0" bind:__l="__l" u-p="{{f}}"/><view wx:if="{{g}}" class="buttom-actions"><u-button wx:if="{{j}}" u-s="{{['d']}}" class="buttom-btn" catchclick="{{i}}" u-i="e196f23e-1" bind:__l="__l" u-p="{{j}}">{{h}}</u-button><u-button u-s="{{['d']}}" class="buttom-btn" catchclick="{{l}}" u-i="e196f23e-2" bind:__l="__l">{{k}}</u-button></view></view>
\ No newline at end of file
"use strict";const i=require("../../../common/vendor.js"),t=require("../../../api/workFlow/flowEngine.js"),s=require("../../../api/apply/visualDev.js"),o=require("../../../store/modules/base.js").useBaseStore(),n={name:"dynamicModel",components:{Form:()=>"./components/form/index.js",List:()=>"./components/list/index.js",MultSelect:()=>"../../../components/MultSelect.js"},data:()=>({selector:[],show:!1,webType:"",showPage:!1,isPreview:!1,modelId:"",menuId:"",title:"",config:{},preview:!1,activeFlow:{},templateList:[]}),onLoad(e){o.getDictionaryDataAll(),this.config=JSON.parse(this.jnpf.base64.decode(e.config))||{},this.isPreview=this.config.isPreview||!1,this.title=this.config.fullName||"",this.menuId=this.config.id||"",this.getConfigData(),i.index.setNavigationBarTitle({title:this.title})},methods:{getConfigData(){s.getConfigData(this.config.moduleId,void 0).then((e=>{if(200!==e.code||!e.data)return this.handleError("暂无此页面");this.config={...this.config,...e.data},1==this.config.enableFlow&&1==this.config.webType?t.FlowJsonList(this.config.moduleId).then((e=>(this.templateList=e.data||[],this.templateList.length?1==this.templateList.length?this.handleConfirm(this.templateList):(this.selector=this.templateList,void setTimeout((()=>{this.show=!0}),200)):this.handleError("流程不存在")))):(this.showPage=!0,this.isPreview=!!this.config.isPreview,this.modelId=this.config.moduleId,this.menuId=this.config.id||"",this.webType=this.config.webType||2)}))},confirm(){this.activeFlow=this.templateList[e[0].index],this.jump()},handleConfirm(e){this.activeFlow=this.templateList[0],this.jump()},jump(){const e={id:"",flowId:this.activeFlow.id,opType:"-1",hideCancelBtn:!0};i.index.redirectTo({url:"/pages/workFlow/flowBefore/index?config="+this.jnpf.base64.encode(JSON.stringify(e)),fail:e=>{this.$u.toast("暂无此页面")}})},handleError(e){this.$u.toast(e),setTimeout((()=>{i.index.navigateBack()}),1500)}}};if(!Array){(i.resolveComponent("Form")+i.resolveComponent("List")+i.resolveComponent("MultSelect"))()}const l=i._export_sfc(n,[["render",function(e,t,s,o,n,l){return i.e({a:1==n.webType},1==n.webType?{b:i.p({config:n.config,modelId:n.modelId,isPreview:n.isPreview})}:{},{c:2==n.webType||4==n.webType},2==n.webType||4==n.webType?{d:i.sr("List","8406ecf6-1"),e:i.p({config:n.config,modelId:n.modelId,isPreview:n.isPreview,title:n.title,menuId:n.menuId})}:{},{f:i.o(l.handleConfirm),g:i.o((e=>n.show=!1)),h:i.p({show:n.show,list:n.selector,isFlow:!0})})}]]);wx.createPage(l);
{
"navigationBarTitleText": "",
"usingComponents": {
"mult-select": "../../../components/MultSelect",
"form": "./components/form/index",
"list": "./components/list/index"
}
}
\ No newline at end of file
<view class="dynamicModel-v"><form wx:if="{{a}}" u-i="8406ecf6-0" bind:__l="__l" u-p="{{b}}"/><list wx:if="{{c}}" class="r" u-r="List" u-i="8406ecf6-1" bind:__l="__l" u-p="{{e}}"/><mult-select wx:if="{{h}}" bindconfirm="{{f}}" bindclose="{{g}}" u-i="8406ecf6-2" bind:__l="__l" u-p="{{h}}"/></view>
\ No newline at end of file
page{background-color:#f0f2f6}.dynamicModel-v{height:100%}
"use strict";const e=require("../../../common/vendor.js"),i=require("../../../api/apply/visualDev.js"),t={name:"scanForm",components:{FlowForm:()=>"../../workFlow/flowBefore/flowForm.js"},data:()=>({webType:"",showPage:!1,origin:"",id:"",config:{},formConf:{},key:+new Date,flowConfig:{},isAdd:!1,userInfo:{}}),onLoad(i){this.userInfo=e.index.getStorageSync("userInfo")||{},this.config=JSON.parse(i.config),this.initData()},methods:{initData(){if(this.showPage=!1,2==this.config.mt)this.getConfigData();else{this.isAdd=!0;let e={flowId:this.config.fid,id:this.config.pid,formType:2,opType:this.config.opt,taskId:this.config.ftid};this.showPage=!0,this.$nextTick((()=>{this.$refs.flowForm.init(e)}))}},getConfigData(){i.getConfigData(this.config.mid).then((t=>{if(200!==t.code||!t.data)return void e.index.showToast({title:"暂无此页面",icon:"none",complete:()=>{setTimeout((()=>{e.index.navigateBack()}),1500)}});this.formConf=JSON.parse(t.data.formData),e.index.setNavigationBarTitle({title:t.data.fullName});let o={modelId:this.config.mid,id:this.config.id,type:this.config.mt};e.index.setStorageSync("dynamicModelExtra",o),i.getModelInfo(this.config.mid,this.config.id).then((e=>{if(!e.data.data)return;let i=JSON.parse(e.data.data);this.fillFormData(this.formConf,i),this.$nextTick((()=>{this.showPage=!0,this.key=+new Date}))}))}))},fillFormData(e,i){const t=e=>{for(let o=0;o<e.length;o++){let n=e[o],s=n.__vModel__,a=n.__config__;if(s){let e=i.hasOwnProperty(s)?i[s]:a.defaultValue;if(a.isSubTable||(a.defaultValue=e),(this.isAdd||a.isSubTable)&&a.defaultCurrent){if("datePicker"===a.jnpfKey&&!i.hasOwnProperty(s)){let i=this.jnpf.handelFormat(n.format),t=this.jnpf.toDate((new Date).getTime(),i);e=new Date(t+("yyyy"===i?"-01-01 00:00:00":"yyyy-MM"===i?"-01 00:00:00":"yyyy-MM-dd"===i?" 00:00:00":"")).getTime(),a.defaultValue=e}"timePicker"===a.jnpfKey&&(i.hasOwnProperty(s)||(a.defaultValue=this.jnpf.toDate(new Date,n.format)));const t=this.userInfo.organizeIdList;"organizeSelect"===a.jnpfKey&&Array.isArray(t)&&t.length&&(a.defaultValue=n.multiple?[t]:t);const o=this.userInfo.departmentId;"depSelect"===a.jnpfKey&&o&&(a.defaultValue=n.multiple?[o]:o);const f=this.userInfo.positionIds;"posSelect"===a.jnpfKey&&Array.isArray(f)&&f.length&&(a.defaultValue=n.multiple?f.map((e=>e.id)):f[0].id);const r=this.userInfo.roleIds;"roleSelect"===a.jnpfKey&&Array.isArray(r)&&r.length&&(a.defaultValue=n.multiple?r:r[0]);const l=this.userInfo.groupIds;"groupSelect"===a.jnpfKey&&Array.isArray(l)&&l.length&&(a.defaultValue=n.multiple?l:l[0]);const d=this.userInfo.userId;"userSelect"===a.jnpfKey&&d&&(a.defaultValue=n.multiple?[d]:d),"usersSelect"===a.jnpfKey&&d&&(a.defaultValue=n.multiple?[d+"--user"]:d+"--user"),"sign"===a.jnpfKey&&this.userInfo.signImg&&(a.defaultValue=this.userInfo.signImg)}this.$set(n,"disabled",!0);let t=!!n.__config__.noShow&&n.__config__.noShow,o=!1;(!n.__config__.visibility||Array.isArray(n.__config__.visibility)&&n.__config__.visibility.includes("app"))&&(o=!0),this.$set(n.__config__,"isVisibility",o),this.$set(n.__config__,"noShow",t)}else{let e=!1,i=!1;(!n.__config__.visibility||Array.isArray(n.__config__.visibility)&&n.__config__.visibility.includes("app"))&&(i=!0),this.$set(n.__config__,"isVisibility",i),this.$set(n.__config__,"noShow",e)}n.__config__&&"table"!==n.__config__.jnpfKey&&n.__config__.children&&Array.isArray(n.__config__.children)&&t(n.__config__.children)}};t(e.fields)}}};if(!Array){(e.resolveComponent("JnpfParser")+e.resolveComponent("FlowForm"))()}Math;const o=e._export_sfc(t,[["render",function(i,t,o,n,s,a){return e.e({a:s.showPage},s.showPage?e.e({b:2==s.config.mt},2==s.config.mt?{c:e.sr("dynamicForm","4cce99fe-0"),d:e.o(i.sumbitForm),e:s.key,f:e.p({formConf:s.formConf})}:{g:e.sr("flowForm","4cce99fe-1"),h:e.p({config:s.flowConfig})}):{})}]]);wx.createPage(o);
{
"navigationBarTitleText": "",
"usingComponents": {
"flow-form": "../../workFlow/flowBefore/flowForm",
"jnpf-parser": "../../../components/Jnpf/Parser/index"
}
}
\ No newline at end of file
<view class="dynamicModel-v"><block wx:if="{{a}}"><view wx:if="{{b}}" class="jnpf-wrap jnpf-wrap-form"><jnpf-parser wx:if="{{f}}" class="r" u-r="dynamicForm" bindsubmit="{{d}}" key="{{e}}" u-i="4cce99fe-0" bind:__l="__l" u-p="{{f}}"/></view><block wx:else><flow-form wx:if="{{h}}" class="r" u-r="flowForm" u-i="4cce99fe-1" bind:__l="__l" u-p="{{h}}"/></block></block></view>
\ No newline at end of file
page{background-color:#f0f2f6}.dynamicModel-v{height:100%}
"use strict";const e=require("../../../common/vendor.js"),t={data:()=>({url:""}),onLoad(t){this.url=decodeURIComponent(t.url);const r=t.fullName||"";5!=t.type&&r&&e.index.setNavigationBarTitle({title:r})}};const r=e._export_sfc(t,[["render",function(e,t,r,n,o,a){return{a:o.url}}]]);wx.createPage(r);
{
"navigationBarTitleText": "",
"usingComponents": {}
}
\ No newline at end of file
<view><web-view src="{{a}}"></web-view></view>
\ No newline at end of file
"use strict";const e=require("../../../common/vendor.js"),n=require("../../../api/common.js"),t={components:{NoData:()=>"../../../components/noData.js"},data:()=>({show:!1,signListInvoke:[]}),async onLoad(n){this.signListInvoke=await this.getSignData(),this.clearChoose();let t=decodeURIComponent(n.signVal);t&&this.setMainSignInvokeWithValue(t),e.index.setStorageSync("sign-fieldKey",n.fieldKey)},methods:{getSignData(){return new Promise(((e,t)=>{this.signListInvoke.length?e(this.signListInvoke):n.getSignImgList().then((n=>{e(n.data||[])}))}))},clearChoose(){for(let e=0;e<this.signListInvoke.length;e++){let n=this.signListInvoke[e];n.isDefault=0,this.$set(this.signListInvoke,e,n)}},setMainSignInvokeWithValue(e){for(let n=0;n<this.signListInvoke.length;n++){let t=this.signListInvoke[n];if(t.signImg===e){this.setMainSignInvoke(t,n);break}}},eventLauncher(n){if("cancel"===n&&e.index.navigateBack(),"confirm"===n){let n=this.signListInvoke.filter((e=>1===e.isDefault));if(!n||!n.length)return this.$u.toast("请选择签名");this.$nextTick((()=>e.index.$emit("setSignValue",n[0].signImg))),e.index.navigateBack()}},setMainSignInvoke(e,n){this.clearChoose(),e.isDefault=1,this.$set(this.signListInvoke,n,e)}}};if(!Array){(e.resolveComponent("NoData")+e.resolveComponent("u-icon")+e.resolveComponent("u-button"))()}Math||((()=>"../../../uni_modules/vk-uview-ui/components/u-icon/u-icon.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-button/u-button.js"))();const i=e._export_sfc(t,[["render",function(n,t,i,s,o,a){return e.e({a:!o.signListInvoke.length},o.signListInvoke.length?{b:e.f(o.signListInvoke,((n,t,i)=>e.e({a:n.signImg,b:1==n.isDefault},1==n.isDefault?{c:"55ec00a2-1-"+i,d:e.p({name:"checkbox-mark",color:"#fff",size:"28"})}:{},{e:t,f:e.n(n.isDefault?"active":""),g:e.o((e=>a.setMainSignInvoke(n,t)),t)})))}:{},{c:e.o((e=>a.eventLauncher("cancel"))),d:e.o((e=>a.eventLauncher("confirm"))),e:e.p({type:"primary"})})}]]);wx.createPage(i);
{
"navigationBarTitleText": "个人签名",
"usingComponents": {
"no-data": "../../../components/noData",
"u-icon": "../../../uni_modules/vk-uview-ui/components/u-icon/u-icon",
"u-button": "../../../uni_modules/vk-uview-ui/components/u-button/u-button"
}
}
\ No newline at end of file
<view class=""><no-data wx:if="{{a}}" u-i="55ec00a2-0" bind:__l="__l"></no-data><view wx:else class="page_v u-flex-col"><view wx:for="{{b}}" wx:for-item="item" wx:key="e" class="{{[item.f, 'lists_box']}}" bindtap="{{item.g}}"><view class="signImgBox"><image src="{{item.a}}" mode="scaleToFill" class="signImg"></image></view><view wx:if="{{item.b}}" class="icon-checked-box"><view class="icon-checked"><u-icon wx:if="{{item.d}}" u-i="{{item.c}}" bind:__l="__l" u-p="{{item.d}}"></u-icon></view></view></view></view><view class="flowBefore-actions"><u-button u-s="{{['d']}}" class="buttom-btn" catchclick="{{c}}" u-i="55ec00a2-2" bind:__l="__l">取消</u-button><u-button wx:if="{{e}}" u-s="{{['d']}}" class="buttom-btn" catchclick="{{d}}" u-i="55ec00a2-3" bind:__l="__l" u-p="{{e}}">确定</u-button></view></view>
\ No newline at end of file
page{height:100%;background-color:#f0f2f6}.page_v{height:100%;padding:0 10px 60px}.page_v .active{border:1rpx solid #2979FF;color:#2979ff}.page_v .active .icon-ym-organization:before{color:#2979ff!important}.page_v .sign-mask{width:100%;height:200rpx;background:rgba(0,0,0,.3);position:absolute;top:0;border-radius:8rpx;display:flex;align-items:center;flex-direction:column;justify-content:center}.page_v .sign-mask .sign-mask-btn{width:60%;display:flex}.page_v .lists_box{width:100%;height:200rpx;border-radius:8rpx;position:relative;display:flex;flex-direction:column;justify-content:center;background-color:#fff;margin-top:20rpx}.page_v .lists_box .signImgBox{width:100%;height:100%;text-align:center;border-radius:8rpx}.page_v .lists_box .signImgBox .signImg{width:100%;height:100%;border-radius:8rpx}.page_v .lists_box .icon-checked-box{display:flex;width:140rpx;height:80rpx;position:absolute;transform:scale(.9);right:-4rpx;bottom:-2rpx;flex-direction:row;align-items:center}.page_v .lists_box .icon-checked-box .icon-checked{width:44rpx;height:44rpx;border:40rpx solid #1890ff;border-left:40rpx solid transparent;border-top:40rpx solid transparent;border-bottom-right-radius:12rpx;position:absolute;transform:scale(.95);right:-8rpx;bottom:-6rpx}
"use strict";const t=require("../../../common/vendor.js"),e=require("../../../libs/resources.js"),i=require("../../../api/common.js"),o=require("../../../common/assets.js"),a={data:()=>({loading:!1,noDataIcon:e.resources.message.nodata,tabWidth:150,tabIndex:0,keyword:"",location:{longitude:116.404,latitude:39.915},circles:[],list:[],pagination:{currentPage:1,pageSize:50},total:0,currentLocation:{},selectId:"",selectItem:{},enableLocation:"",showPopup:!1,locateLoading:!1,polygons:[],enableLocationScope:!1,adjustmentScope:500,enableDesktopLocation:!1,locationScope:[],emitKey:""}),onLoad(t){const e=t.data?JSON.parse(t.data):{};this.enableLocationScope=e.enableLocationScope||!1,this.adjustmentScope=e.adjustmentScope||500,this.enableDesktopLocation=e.enableDesktopLocation||!1,this.locationScope=e.locationScope||[],this.emitKey=e.emitKey,this.init()},methods:{init(){this.circles=[],this.polygons=[],this.selectId="",this.list=[],this.locateLoading=!1,this.getLocation()},getLocation(){this.loading=!0,t.index.getLocation({type:"gcj02",isHighAccuracy:!0,success:t=>{this.location.longitude=t.longitude,this.location.latitude=t.latitude,this.getList(),this.handelCircle(),this.handleScopeCircle()},fail:t=>{this.getList(),this.handelCircle(),this.handleScopeCircle()}})},handleGetCenter(){this.mapContext=t.index.createMapContext("maps",this),this.mapContext.getCenterLocation({type:"gcj02",geocode:!0,isHighAccuracy:!0,altitude:!0,success:t=>{if(this.location.longitude=t.longitude,this.location.latitude=t.latitude,this.enableLocationScope){if((this.jnpf.getDistance(this.currentLocation.latitude,this.currentLocation.longitude,this.location.latitude,this.location.longitude)||0)>(this.adjustmentScope||500))return this.$refs.uTips.show({title:"超出微调范围",type:"warning"})}this.getList()}})},handelCircle(){if(this.enableDesktopLocation&&this.locationScope.length)for(let t=0;t<this.locationScope.length;t++){const e=this.locationScope[t];e.lng&&e.lat&&e.radius&&(e.longitude=e.lng,e.latitude=e.lat,this.addCircle({...e,color:"#54d65e99",fillColor:"#54d65e66"}))}},handleScopeCircle(){this.enableLocationScope&&(this.currentLocation=this.$u.deepClone(this.location),this.addCircle({...this.location,radius:this.adjustmentScope||500,color:"#1890ff99",fillColor:"#1890ff66"}))},addCircle(t){this.circles.push({...t,strokeWidth:1})},regionChange(t){"drag"==t.detail.causedBy&&"end"==t.type&&(this.list=[],this.handleGetCenter())},handleScrollToLower(){this.pagination.pageSize*this.pagination.currentPage<this.total?(this.pagination.currentPage=this.pagination.currentPage+1,this.getList()):this.$u.toast("没有更多信息啦!")},getList(){this.loading=!0;const t={key:this.define.aMapWebKey,location:this.location.longitude+","+this.location.latitude,radius:-1,offset:this.pagination.pageSize,page:this.pagination.currentPage};i.getAroundList(t).then((t=>{this.handleResult(t)})).catch((()=>{this.loading=!1}))},handleResult(t){this.loading=!1,"1"==t.data.status?(this.list=[...this.list,...t.data.pois||[]],this.total=Number(t.data.count||0)):this.$u.toast(t.data.info)},onSelectValueChange(t,e){this.selectStatus=!0,this.selectId=t.id,this.selectItem=t;const[i,o]=(t.location||"").split(",");this.location={longitude:i,latitude:o}},handleConfirm(){if(!this.selectId)return this.$u.toast("请选择地址");const e=this.selectItem,[i,o]=e.location.split(",");if(this.enableLocationScope){if((this.jnpf.getDistance(this.currentLocation.latitude,this.currentLocation.longitude,o,i)||0)>(this.adjustmentScope||500))return this.$refs.uTips.show({title:"超出微调范围",type:"warning"})}if(this.enableDesktopLocation&&this.locationScope.length){let t=[];for(let e=0;e<this.locationScope.length;e++){const a=this.locationScope[e],n=this.jnpf.getDistance(a.lat,a.lng,o,i)||0;t.push(n>a.radius)}if(t.every((t=>!0===t)))return this.$refs.uTips.show({title:"超出规定范围",type:"warning"})}const a=e.address&&e.address.length?e.address:"";let n=e.pname+e.cityname+e.adname+a+e.name;e.pname==e.cityname&&(n=e.pname+e.adname+a+e.name),e.pname==e.cityname&&e.pname==e.adname&&(n=e.pname+a+e.name),this.innerValue={pName:e.pname,cName:e.cityname,adName:e.adname,address:a,name:e.name,lng:i,lat:o,fullAddress:n},t.index.$emit(this.emitKey,JSON.stringify(this.innerValue)),this.close()},close(){t.index.navigateBack({delta:1})},getDistance(t,e,i,o){const a=t=>t*(Math.PI/180),n=a(i-t),s=a(o-e),l=Math.sin(n/2)*Math.sin(n/2)+Math.cos(a(t))*Math.cos(a(i))*Math.sin(s/2)*Math.sin(s/2);return 1e3*(6371*(2*Math.atan2(Math.sqrt(l),Math.sqrt(1-l))))},search(){this.searchTimer&&clearTimeout(this.searchTimer),this.searchTimer=setTimeout((()=>{this.list=[],this.pagination.currentPage=1,this.keyword?this.handleSearch():this.getList()}),300)},handleSearch(){this.loading=!0;const t={key:this.define.aMapWebKey,keywords:this.keyword,radius:this.enableLocationScope?this.adjustmentScope||500:-1,offset:this.pagination.pageSize,page:this.pagination.currentPage};i.getTextList(t).then((t=>{this.handleResult(t)}))},handleLocate(){this.locateLoading||(this.locateLoading=!0,t.index.getLocation({type:"gcj02",isHighAccuracy:!0,success:e=>{this.locateLoading=!1,e.longitude&&e.latitude&&(this.mapContext=t.index.createMapContext("maps",this),this.mapContext.moveToLocation({longitude:e.longitude,latitude:e.latitude}))},fail:t=>{this.locateLoading=!1,this.$u.toast("获取定位失败")}}))}}};if(!Array){(t.resolveComponent("u-top-tips")+t.resolveComponent("u-search")+t.resolveComponent("u-loading")+t.resolveComponent("u-button"))()}Math||((()=>"../../../uni_modules/vk-uview-ui/components/u-top-tips/u-top-tips.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-search/u-search.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-loading/u-loading.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-button/u-button.js"))();const n=t._export_sfc(a,[["render",function(e,i,a,n,s,l){return t.e({a:t.sr("uTips","a598b73d-0"),b:t.o(l.search),c:t.o((t=>s.keyword=t)),d:t.p({placeholder:"搜索",height:"72","show-action":!1,"bg-color":"#f0f2f6",shape:"square",modelValue:s.keyword}),e:o._imports_0$1,f:!s.locateLoading},s.locateLoading?{h:o._imports_2}:{g:o._imports_1},{i:t.o(((...t)=>l.handleLocate&&l.handleLocate(...t))),j:s.location.latitude,k:s.location.longitude,l:s.circles,m:s.polygons,n:t.o(((...t)=>l.regionChange&&l.regionChange(...t))),o:s.list.length},s.list.length?{p:t.f(s.list,((e,i,o)=>({a:e.id,b:e.id===s.selectId,c:t.t(e.name),d:t.t(e.address),e:i,f:t.o((t=>l.onSelectValueChange(e,i)),i)})))}:{},{q:s.loading},s.loading?{r:t.p({mode:"circle",size:"44"})}:{},{s:!s.loading&&!s.list.length},s.loading||s.list.length?{}:{t:s.noDataIcon},{v:t.o(((...t)=>l.handleScrollToLower&&l.handleScrollToLower(...t))),w:t.o((t=>l.close())),x:t.o((t=>l.handleConfirm())),y:t.p({type:"primary"})})}],["__scopeId","data-v-a598b73d"]]);wx.createPage(n);
{
"navigationBarTitleText": "选择位置",
"enablePullDownRefresh": false,
"usingComponents": {
"u-top-tips": "../../../uni_modules/vk-uview-ui/components/u-top-tips/u-top-tips",
"u-search": "../../../uni_modules/vk-uview-ui/components/u-search/u-search",
"u-loading": "../../../uni_modules/vk-uview-ui/components/u-loading/u-loading",
"u-button": "../../../uni_modules/vk-uview-ui/components/u-button/u-button"
}
}
\ No newline at end of file
<view class="jnpf-location-map data-v-a598b73d"><u-top-tips class="r data-v-a598b73d" u-r="uTips" u-i="a598b73d-0" bind:__l="__l"/><view class="content data-v-a598b73d"><view class="user-select u-flex-col data-v-a598b73d"><view class="user-select-search data-v-a598b73d"><u-search wx:if="{{d}}" class="data-v-a598b73d" bindchange="{{b}}" u-i="a598b73d-1" bind:__l="__l" bindupdateModelValue="{{c}}" u-p="{{d}}"></u-search></view></view></view><view class="header data-v-a598b73d"><view class="map-container data-v-a598b73d"><map class="map data-v-a598b73d" id="maps" latitude="{{j}}" longitude="{{k}}" circles="{{l}}" polygons="{{m}}" scale="{{15}}" bindregionchange="{{n}}"><cover-image class="map-marker data-v-a598b73d" src="{{e}}"/><cover-view class="map-locate data-v-a598b73d" bindtap="{{i}}"><cover-image wx:if="{{f}}" class="data-v-a598b73d" src="{{g}}"/><cover-image wx:else class="map-locate-img data-v-a598b73d" src="{{h}}"/></cover-view></map></view></view><view class="around-contain data-v-a598b73d"><scroll-view style="height:100%" id="scroll-view-h" class="scroll-view2 data-v-a598b73d" refresher-enabled="{{false}}" refresher-threshold="{{50}}" scroll-with-animation="{{true}}" bindscrolltolower="{{v}}" scroll-y="{{true}}"><block wx:if="{{o}}"><radio-group wx:for="{{p}}" wx:for-item="item" wx:key="e" class="around-contain-item data-v-a598b73d" bindchange="{{item.f}}"><label class="u-radio-label data-v-a598b73d"><radio class="u-radio data-v-a598b73d" value="{{item.a}}" checked="{{item.b}}"/><view class="around-item-title-box data-v-a598b73d"><view class="around-item-title u-line-1 data-v-a598b73d">{{item.c}}</view><view class="around-item-sub-title u-line-1 data-v-a598b73d">{{item.d}}</view></view></label></radio-group></block><u-loading wx:if="{{q}}" class="loading data-v-a598b73d" u-i="a598b73d-2" bind:__l="__l" u-p="{{r}}"/><view wx:if="{{s}}" class="nodata u-flex-col data-v-a598b73d"><image src="{{t}}" mode="widthFix" class="noDataIcon data-v-a598b73d"/> 暂无数据 </view></scroll-view></view><view class="jnpf-bottom-actions data-v-a598b73d"><u-button u-s="{{['d']}}" class="buttom-btn data-v-a598b73d" bindclick="{{w}}" u-i="a598b73d-3" bind:__l="__l">取消</u-button><u-button wx:if="{{y}}" u-s="{{['d']}}" class="buttom-btn data-v-a598b73d" catchclick="{{x}}" u-i="a598b73d-4" bind:__l="__l" u-p="{{y}}">确定</u-button></view></view>
\ No newline at end of file
.jnpf-location-map.data-v-a598b73d{height:100vh;display:flex;flex-direction:column}.jnpf-location-map .header .map-container.data-v-a598b73d{position:relative;padding:0rpx 20rpx}.jnpf-location-map .header .map-container .map.data-v-a598b73d{width:100%;height:600rpx}.jnpf-location-map .header .map-container .map-marker.data-v-a598b73d{width:38rpx;height:64rpx;position:absolute;top:50%;left:50%;transform:translate(-50%,calc(-50% - 20rpx));z-index:9999}.jnpf-location-map .header .map-container .h5-map-marker.data-v-a598b73d{transform:translate(-50%,calc(-50% - 30rpx))}.jnpf-location-map .header .map-container .map-locate.data-v-a598b73d{position:absolute;bottom:10px;right:10px;height:24px;width:24px;padding:4px;background-color:#fff;border-radius:50%;box-shadow:0 0 5px silver;z-index:999}.jnpf-location-map .header .map-container .map-locate .map-locate-img.data-v-a598b73d{-webkit-animation:rotate-a598b73d 2s linear infinite}@keyframes rotate-a598b73d{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(1turn)}}.jnpf-location-map .content.data-v-a598b73d{width:100%}.jnpf-location-map .content .user-select .user-select-search.data-v-a598b73d{padding:0rpx 20rpx;margin:20rpx 0}.jnpf-location-map .around-contain.data-v-a598b73d{flex:1;width:100%;overflow:hidden}.jnpf-location-map .around-contain .loading.data-v-a598b73d{display:flex;justify-content:center;margin:250rpx auto 0}.jnpf-location-map .around-contain .around-contain-item.data-v-a598b73d{display:flex;align-items:center;padding:10rpx 0;height:60px;line-height:22px;border-bottom:1px solid #f2f2f6}.jnpf-location-map .around-contain .around-contain-item .u-radio-label.data-v-a598b73d{width:100%;display:flex;align-items:center}.jnpf-location-map .around-contain .around-contain-item .u-radio-label.data-v-a598b73d .u-radio{margin:0 16rpx 0 20rpx}.jnpf-location-map .around-contain .around-contain-item .u-radio-label .around-item-title-box.data-v-a598b73d{flex:1;min-width:0;padding-right:16rpx}.jnpf-location-map .around-contain .around-contain-item .u-radio-label .around-item-title-box .around-item-title.data-v-a598b73d{font-size:30rpx;color:#171a1d}.jnpf-location-map .around-contain .around-contain-item .u-radio-label .around-item-title-box .around-item-sub-title.data-v-a598b73d{font-size:28rpx;color:#b9babb;padding-top:8rpx}
"use strict";const e=require("../../../common/vendor.js"),t=require("../../../libs/resources.js"),s=require("../../../uni_modules/mescroll-uni/components/mescroll-uni/mescroll-mixins.js"),o=require("../../../api/apply/order.js"),i=require("../../../api/workFlow/flowEngine.js"),l={mixins:[s.MescrollMixin],data:()=>({selector:[],show:!1,activeFlow:{},templateList:[],sortValue:0,sortOptions:[{label:"单据升序",value:1},{label:"单据降序",value:2},{label:"日期升序",value:3},{label:"日期降序",value:4}],upOption:{page:{num:0,size:20,time:null},empty:{icon:t.resources.message.nodata,tip:"暂无数据",top:"300rpx"},textNoMore:"没有更多数据",toTop:{bottom:250}},list:[],listQuery:{sort:"desc",sidx:"",keyword:"",startTime:"",endTime:""},options:[{text:"删除",style:{backgroundColor:"#dd524d"}}],menuId:"",flowId:"",key:+new Date}),computed:{showAddBtn(){return this.$permission.hasBtnP("btn_add",this.menuId)}},onLoad(e){this.menuId=e.menuId,this.getFlowIdByCode()},onShow(){this.$nextTick((()=>{this.list=[],this.mescroll.resetUpScroll()}))},onUnload(){e.index.$off("refresh")},methods:{confirm(e){this.activeFlow=this.templateList[e[0]],this.jumPage()},getFlowIdByCode(){i.getFlowIdByCode("crmOrder").then((e=>{this.flowId=e.data,this.getFlowJsonList()}))},getFlowJsonList(){i.FlowJsonList(this.flowId,"1").then((e=>{this.templateList=e.data}))},upCallback(e){let t={currentPage:e.num,pageSize:e.size,...this.listQuery};o.getOrderList(t,{load:1==e.num}).then((t=>{1==e.num&&(this.list=[]),this.mescroll.endSuccess(t.data.list.length);const s=t.data.list.map((e=>({show:!1,...e})));this.list=this.list.concat(s),this.$nextTick((()=>{this.key=+new Date}))})).catch((()=>{this.mescroll.endErr()}))},handleClick(e,t){const s=this.list[e];return[1,2,3,5].includes(s.currentState)?(this.$u.toast("流程正在审核,请勿删除"),void(this.list[e].show=!1)):this.$permission.hasBtnP("btn_remove",this.menuId)?(o.Delete(s.id).then((t=>{this.$u.toast(t.msg),this.list.splice(e,1),this.list.length||this.mescroll.resetUpScroll()})),void this.$nextTick((()=>{this.key=+new Date}))):this.$u.toast("未开启删除权限")},open(e){this.list[e].show=!0,this.list.map(((t,s)=>{e!=s&&(this.list[s].show=!1)}))},search(){this.searchTimer&&clearTimeout(this.searchTimer),this.searchTimer=setTimeout((()=>{this.list=[],this.mescroll.resetUpScroll()}),300)},addPage(){this.templateList.length?this.templateList.length>1?(this.show=!0,this.selector=this.templateList):(this.activeFlow=this.templateList[0],this.jumPage()):this.$u.toast("流程不存在"),this.$nextTick((()=>{this.key=+new Date}))},jumPage(t,s,o){let i="-1";[1,2,4,5,6].includes(s)&&(i=0);const l={id:t,flowId:o||this.activeFlow.id,opType:i,status:s};e.index.navigateTo({url:"/pages/workFlow/flowBefore/index?config="+this.jnpf.base64.encode(JSON.stringify(l))})},goDetail(e,t,s){(this.$permission.hasBtnP("btn_edit",this.menuId)||3!=t)&&(!this.$permission.hasBtnP("btn_detail",this.menuId)&&[1,2,4,5,6].includes(t)||this.jumPage(e,t,s))},getFlowStatus(e){let t;switch(e){case 0:default:t={text:"等待提交",statusCss:"u-type-info"};break;case 1:t={text:"等待审核",statusCss:"u-type-primary"};break;case 2:t={text:"审核通过",statusCss:"u-type-success"};break;case 3:t={text:"审核退回",statusCss:"u-type-error"};break;case 4:case 7:t={text:"流程撤回",statusCss:"u-type-warning"};break;case 5:t={text:"审核终止",statusCss:"u-type-info"}}return t},cellClick(e){this.listQuery.sort=1==e||3==e?"asc":"desc",this.listQuery.sidx=1==e||2==e?"orderCode":"orderDate",this.sortValue=e,this.$refs.uDropdown.close(),this.$nextTick((()=>{this.list=[],this.mescroll.resetUpScroll()}))},reset(){this.listQuery.startTime="",this.listQuery.endTime=""},closeDropdown(){this.$refs.uDropdown.close(),this.$nextTick((()=>{this.list=[],this.mescroll.resetUpScroll()}))}}};if(!Array){(e.resolveComponent("u-icon")+e.resolveComponent("u-cell-item")+e.resolveComponent("u-cell-group")+e.resolveComponent("u-dropdown-item")+e.resolveComponent("JnpfDatePicker")+e.resolveComponent("u-form-item")+e.resolveComponent("u-form")+e.resolveComponent("u-button")+e.resolveComponent("u-dropdown")+e.resolveComponent("uni-swipe-action-item")+e.resolveComponent("uni-swipe-action")+e.resolveComponent("mescroll-uni")+e.resolveComponent("u-picker"))()}Math||((()=>"../../../uni_modules/vk-uview-ui/components/u-icon/u-icon.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-cell-item/u-cell-item.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-cell-group/u-cell-group.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-dropdown-item/u-dropdown-item.js")+(()=>"../../../components/Jnpf/DatePicker/index.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-form-item/u-form-item.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-form/u-form.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-button/u-button.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-dropdown/u-dropdown.js")+(()=>"../../../uni_modules/uni-swipe-action/components/uni-swipe-action-item/uni-swipe-action-item.js")+(()=>"../../../uni_modules/uni-swipe-action/components/uni-swipe-action/uni-swipe-action.js")+(()=>"../../../uni_modules/mescroll-uni/components/mescroll-uni/mescroll-uni.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-picker/u-picker.js"))();const n=e._export_sfc(l,[["render",function(t,s,o,i,l,n){return e.e({a:e.f(l.sortOptions,((t,s,o)=>e.e({a:l.sortValue==t.value},l.sortValue==t.value?{b:"1cafafae-4-"+o+",1cafafae-3-"+o,c:e.p({name:"checkbox-mark",color:"#2979ff",size:"32"})}:{},{d:e.o((e=>n.cellClick(t.value)),s),e:s,f:"1cafafae-3-"+o+",1cafafae-2",g:e.p({arrow:!1,title:t.label,"title-style":{color:l.sortValue==t.value?"#2979ff":"#606266"}})}))),b:e.o((e=>t.$refs.uDropdown.close())),c:e.p({title:"排序",options:l.sortOptions}),d:e.o((e=>l.listQuery.startTime=e)),e:e.p({modelValue:l.listQuery.startTime}),f:e.p({label:"起始日期",prop:"startTime"}),g:e.o((e=>l.listQuery.endTime=e)),h:e.p({modelValue:l.listQuery.endTime}),i:e.p({label:"结束日期",prop:"endTime"}),j:e.p({"label-position":"left","label-width":"150","label-align":"left"}),k:e.o(n.reset),l:e.o(n.closeDropdown),m:e.p({type:"primary"}),n:e.o((e=>t.$refs.uDropdown.close())),o:e.p({title:"筛选"}),p:e.sr("uDropdown","1cafafae-0"),q:e.f(l.list,((s,o,i)=>({a:e.t(s.customerName),b:e.t(s.orderCode),c:e.t(n.getFlowStatus(s.currentState).text),d:e.n("status "+n.getFlowStatus(s.currentState).statusCss),e:e.t(s.salesmanName),f:e.t(t.$u.timeFormat(s.orderDate,"yyyy-mm-dd")),g:e.o((e=>n.goDetail(s.id,s.currentState,s.flowId)),s.id),h:"item"+o,i:s.id,j:e.o((e=>n.handleClick(o)),s.id),k:"1cafafae-15-"+i+",1cafafae-14"}))),r:e.p({"right-options":l.options}),s:e.sr("swipeAction","1cafafae-14,1cafafae-13"),t:e.sr("mescrollRef","1cafafae-13"),v:e.o(t.mescrollInit),w:e.o(t.downCallback),x:e.o(n.upCallback),y:e.p({top:"100",up:l.upOption}),z:n.showAddBtn},n.showAddBtn?{A:e.p({name:"plus",size:"60",color:"#fff"}),B:e.o((e=>n.addPage()))}:{},{C:e.o(n.confirm),D:e.o((e=>l.show=e)),E:e.p({mode:"selector","default-selector":[0],title:"请选择流程",range:l.selector,"range-key":"fullName",modelValue:l.show})})}]]);wx.createPage(n);
{
"navigationBarTitleText": "订单示例",
"usingComponents": {
"u-icon": "../../../uni_modules/vk-uview-ui/components/u-icon/u-icon",
"u-cell-item": "../../../uni_modules/vk-uview-ui/components/u-cell-item/u-cell-item",
"u-cell-group": "../../../uni_modules/vk-uview-ui/components/u-cell-group/u-cell-group",
"u-dropdown-item": "../../../uni_modules/vk-uview-ui/components/u-dropdown-item/u-dropdown-item",
"jnpf-date-picker": "../../../components/Jnpf/DatePicker/index",
"u-form-item": "../../../uni_modules/vk-uview-ui/components/u-form-item/u-form-item",
"u-form": "../../../uni_modules/vk-uview-ui/components/u-form/u-form",
"u-button": "../../../uni_modules/vk-uview-ui/components/u-button/u-button",
"u-dropdown": "../../../uni_modules/vk-uview-ui/components/u-dropdown/u-dropdown",
"uni-swipe-action-item": "../../../uni_modules/uni-swipe-action/components/uni-swipe-action-item/uni-swipe-action-item",
"uni-swipe-action": "../../../uni_modules/uni-swipe-action/components/uni-swipe-action/uni-swipe-action",
"mescroll-uni": "../../../uni_modules/mescroll-uni/components/mescroll-uni/mescroll-uni",
"u-picker": "../../../uni_modules/vk-uview-ui/components/u-picker/u-picker"
}
}
\ No newline at end of file
<view class="order-v"><view class="head-warp com-dropdown"><u-dropdown u-s="{{['d']}}" class="u-dropdown r" u-r="uDropdown" u-i="1cafafae-0" bind:__l="__l"><u-dropdown-item wx:if="{{c}}" u-s="{{['d']}}" u-i="1cafafae-1,1cafafae-0" bind:__l="__l" u-p="{{c}}"><view class="dropdown-slot-content"><view class="dropdown-slot-content-main"><u-cell-group u-s="{{['d']}}" u-i="1cafafae-2,1cafafae-1" bind:__l="__l"><u-cell-item wx:for="{{a}}" wx:for-item="item" wx:key="e" u-s="{{['d']}}" bindclick="{{item.d}}" u-i="{{item.f}}" bind:__l="__l" u-p="{{item.g}}"><u-icon wx:if="{{item.a}}" u-i="{{item.b}}" bind:__l="__l" u-p="{{item.c}}"></u-icon></u-cell-item></u-cell-group></view><view class="dropdown-slot-bg" bindtap="{{b}}"></view></view></u-dropdown-item><u-dropdown-item wx:if="{{o}}" u-s="{{['d']}}" u-i="1cafafae-5,1cafafae-0" bind:__l="__l" u-p="{{o}}"><view class="dropdown-slot-content"><view class="dropdown-slot-content-main"><view class="u-p-l-32 u-p-r-32"><u-form wx:if="{{j}}" u-s="{{['d']}}" u-i="1cafafae-6,1cafafae-5" bind:__l="__l" u-p="{{j}}"><u-form-item wx:if="{{f}}" u-s="{{['d']}}" u-i="1cafafae-7,1cafafae-6" bind:__l="__l" u-p="{{f}}"><jnpf-date-picker wx:if="{{e}}" u-i="1cafafae-8,1cafafae-7" bind:__l="__l" bindupdateModelValue="{{d}}" u-p="{{e}}"/></u-form-item><u-form-item wx:if="{{i}}" u-s="{{['d']}}" u-i="1cafafae-9,1cafafae-6" bind:__l="__l" u-p="{{i}}"><jnpf-date-picker wx:if="{{h}}" u-i="1cafafae-10,1cafafae-9" bind:__l="__l" bindupdateModelValue="{{g}}" u-p="{{h}}"/></u-form-item></u-form></view><view class="buttom-actions"><u-button u-s="{{['d']}}" class="buttom-btn" bindclick="{{k}}" u-i="1cafafae-11,1cafafae-5" bind:__l="__l">重置</u-button><u-button wx:if="{{m}}" u-s="{{['d']}}" class="buttom-btn" bindclick="{{l}}" u-i="1cafafae-12,1cafafae-5" bind:__l="__l" u-p="{{m}}">检索</u-button></view></view><view class="dropdown-slot-bg" bindtap="{{n}}"></view></view></u-dropdown-item></u-dropdown></view><view class="list-warp"><mescroll-uni wx:if="{{y}}" class="r" u-s="{{['d']}}" u-r="mescrollRef" bindinit="{{v}}" binddown="{{w}}" bindup="{{x}}" u-i="1cafafae-13" bind:__l="__l" u-p="{{y}}"><view class="flow-list"><uni-swipe-action class="r" u-s="{{['d']}}" u-r="swipeAction" u-i="1cafafae-14,1cafafae-13" bind:__l="__l"><uni-swipe-action-item wx:for="{{q}}" wx:for-item="item" wx:key="i" u-s="{{['d']}}" bindclick="{{item.j}}" u-i="{{item.k}}" bind:__l="__l" u-p="{{r}}"><view class="order-item" bindtap="{{item.g}}" id="{{item.h}}"><view class="order-item-title u-border-bottom"><text class="order-title u-line-1">{{item.a}}</text></view><view class="order-item-down"><view class="order-item-cell u-flex"><text class="time">{{item.b}}</text><text class="{{item.d}}">{{item.c}}</text></view><view class="order-item-cell u-flex"><text class="time">{{item.e}}</text><text class="time">{{item.f}}</text></view></view></view></uni-swipe-action-item></uni-swipe-action></view></mescroll-uni></view><view wx:if="{{z}}" class="com-addBtn" bindtap="{{B}}"><u-icon wx:if="{{A}}" u-i="1cafafae-16" bind:__l="__l" u-p="{{A}}"/></view><u-picker wx:if="{{E}}" bindconfirm="{{C}}" u-i="1cafafae-17" bind:__l="__l" bindupdateModelValue="{{D}}" u-p="{{E}}"></u-picker></view>
\ No newline at end of file
page{background-color:#f0f2f6;height:100%}.order-v{height:100%;display:flex;flex-direction:column}.order-v .mescroll-empty{padding:211px 27px}.order-v .head-warp{background-color:#fff}.order-v .list-warp{flex:1;min-width:0;min-height:0}.order-v .list-warp .flow-list{margin:0 20rpx}.order-v .list-warp .flow-list .uni-swipe{border-radius:10rpx}.order-v .list-warp .flow-list .order-item{background-color:#fff;padding:0 32rpx}.order-v .list-warp .flow-list .order-item .order-item-down .order-item-cell{font-size:28rpx;color:#333;justify-content:space-between;padding:10rpx 0}.order-v .list-warp .flow-list .order-item .order-item-title{height:90rpx;line-height:90rpx;width:100%;font-size:30rpx}.order-v .list-warp .flow-list .order-item .order-item-title .order-title{display:block}
"use strict";const e=require("../../../common/vendor.js"),t=require("../../../api/common.js"),i=require("../../../libs/resources.js"),s={mixins:[require("../../../uni_modules/mescroll-uni/components/mescroll-uni/mescroll-mixins.js").MescrollMixin],data:()=>({downOption:{use:!0,auto:!0},upOption:{page:{num:0,size:20,time:null},empty:{use:!0,icon:i.resources.message.nodata,tip:"暂无数据",fixed:!0,top:"300rpx"},textNoMore:"没有更多数据"},list:[],type:"",onLoadData:{},keyword:"",innerValue:"",listQuery:{keyword:""},modelId:"",cur:null,firstVal:"",firstId:0,selectId:[],publicField:"",selectData:[],columnOptions:[],newSelctData:[]}),onLoad(t){this.onLoadData=JSON.parse(decodeURIComponent(t.data));for(let e=0;e<this.onLoadData.columnOptions.length;e++)this.columnOptions.push(this.onLoadData.columnOptions[e].value);this.innerValue=this.onLoadData.innerValue,this.type=this.onLoadData.type,"relation"===this.type?(this.publicField="id",this.onLoadData.id&&(this.selectId=[this.onLoadData.id])):(this.publicField=this.onLoadData.propsValue,this.onLoadData.id&&(this.selectId=this.onLoadData.id)),this.modelId=this.onLoadData.modelId,e.index.setNavigationBarTitle({title:this.onLoadData.popupTitle}),e.index.$on("refresh",(()=>{this.list=[],this.mescroll.resetUpScroll()}))},methods:{upCallback(e){const i="popup"===this.type?t.getPopSelect:t.getRelationSelect,s=this.onLoadData.paramList;let a={...this.listQuery,currentPage:e.num,pageSize:this.onLoadData.hasPage?this.onLoadData.pageSize:1e4,interfaceId:this.onLoadData.modelId,propsValue:this.onLoadData.propsValue,relationField:this.onLoadData.relationField,columnOptions:this.columnOptions.join(","),paramList:s};i(this.modelId,a,{load:1==e.num}).then((t=>{if(this.onLoadData.hasPage?this.mescroll.endSuccess(t.data.list.length):this.mescroll.endBySize(t.data.list.length,t.data.pagination.total),1==e.num&&(this.list=[]),this.list=this.list.concat(t.data.list),this.onLoadData.multiple)this.list=this.list.map(((e,t)=>({...e,checked:!1}))),this.selectId.length&&this.setSelectValue();else{var i=this.list.findIndex((e=>e[this.publicField]==this.selectId));i>=0&&(this.selectData=[this.list[i]])}})).catch((()=>{this.mescroll.endErr()}))},setSelectValue(){for(let e=0;e<this.selectId.length;e++)e:for(let t=0;t<this.list.length;t++)if(this.selectId[e]===this.list[t][this.publicField]){this.list[t].checked=!0;break e}},interfaceDataHandler(e){if(!e.dataProcessing)return e.list;const t=this.jnpf.getScriptFunc(e.dataProcessing);return t?t(e.list):e.list},radioChange(e){this.selectId=[],this.selectData=[],this.selectId.push(e[this.publicField]),this.selectData.push(e)},checkboxChange(e,t){e.value?(this.selectId.push(e.name),this.newSelctData.push(t)):(this.newSelctData=this.newSelctData.filter((t=>t[this.publicField]!=e.name&&!e.value)),this.selectId=this.selectId.filter((t=>t!=e.name)),this.selectData=this.selectData.filter((t=>t[this.publicField]!=e.name)))},handleConfirm(){this.onLoadData.multiple?(this.selectData=this.selectData.concat(this.newSelctData),e.index.$emit("confirm",this.selectId,this.innerValue,this.onLoadData.vModel,this.selectData),e.index.navigateBack()):this.list.map(((t,i)=>{if(this.selectId==t[this.publicField]){this.firstId=t[this.publicField];const i="popup"==this.type?t[this.onLoadData.propsValue]:t[this.publicField],s="popup"==this.type?"confirm":"confirm1";e.index.$emit(s,i,this.innerValue,this.onLoadData.vModel,this.selectData[0]),e.index.navigateBack()}}))},handleClose(){this.selectId="",e.index.navigateBack()},search(){this.searchTimer&&clearTimeout(this.searchTimer),this.searchTimer=setTimeout((()=>{this.list=[],this.listQuery.keyword=this.keyword,this.listQuery.currentPage=1,this.mescroll.resetUpScroll()}),300)}}};if(!Array){(e.resolveComponent("u-search")+e.resolveComponent("u-radio")+e.resolveComponent("u-radio-group")+e.resolveComponent("u-checkbox")+e.resolveComponent("u-checkbox-group")+e.resolveComponent("mescroll-body")+e.resolveComponent("u-button"))()}Math||((()=>"../../../uni_modules/vk-uview-ui/components/u-search/u-search.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-radio/u-radio.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-radio-group/u-radio-group.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-checkbox/u-checkbox.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-checkbox-group/u-checkbox-group.js")+(()=>"../../../uni_modules/mescroll-uni/components/mescroll-body/mescroll-body.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-button/u-button.js"))();const a=e._export_sfc(s,[["render",function(t,i,s,a,o,l){return{a:e.o(l.search),b:e.o((e=>o.keyword=e)),c:e.p({placeholder:"请输入关键词搜索",height:"72","show-action":!1,"bg-color":"#f0f2f6",shape:"square",modelValue:o.keyword}),d:e.f(o.list,((t,i,s)=>e.e(o.onLoadData.multiple?{}:{a:e.f(o.onLoadData.columnOptions,((i,s,a)=>({a:e.t(i.label+":"),b:e.t(t[i.value]),c:s}))),b:e.o((e=>l.radioChange(t)),i),c:"9bad1877-3-"+s+",9bad1877-2-"+s,d:e.p({name:t[o.publicField]}),e:"9bad1877-2-"+s+",9bad1877-0",f:e.o((e=>o.selectId[0]=e),i),g:e.p({modelValue:o.selectId[0]})},o.onLoadData.multiple?{h:e.f(o.onLoadData.columnOptions,((i,s,a)=>({a:e.t(i.label+":"),b:e.t(t[i.value]),c:s}))),i:e.o((e=>l.checkboxChange(e,t)),i),j:"9bad1877-5-"+s+",9bad1877-4-"+s,k:e.o((e=>t.checked=e),i),l:e.p({name:t[o.publicField],modelValue:t.checked}),m:"9bad1877-4-"+s+",9bad1877-0",n:e.p({wrap:!0})}:{},{o:i}))),e:!o.onLoadData.multiple,f:o.onLoadData.multiple,g:e.sr("mescrollRef","9bad1877-0"),h:e.o(t.mescrollInit),i:e.o(t.downCallback),j:e.o(l.upCallback),k:e.p({sticky:!0,down:o.downOption,up:o.upOption}),l:e.o((e=>l.handleClose())),m:e.o((e=>l.handleConfirm())),n:e.p({type:"primary"})}}],["__scopeId","data-v-9bad1877"]]);wx.createPage(a);
{
"navigationBarTitleText": "选择数据",
"enablePullDownRefresh": false,
"usingComponents": {
"u-search": "../../../uni_modules/vk-uview-ui/components/u-search/u-search",
"u-radio": "../../../uni_modules/vk-uview-ui/components/u-radio/u-radio",
"u-radio-group": "../../../uni_modules/vk-uview-ui/components/u-radio-group/u-radio-group",
"u-checkbox": "../../../uni_modules/vk-uview-ui/components/u-checkbox/u-checkbox",
"u-checkbox-group": "../../../uni_modules/vk-uview-ui/components/u-checkbox-group/u-checkbox-group",
"mescroll-body": "../../../uni_modules/mescroll-uni/components/mescroll-body/mescroll-body",
"u-button": "../../../uni_modules/vk-uview-ui/components/u-button/u-button"
}
}
\ No newline at end of file
<view class="jnpf-pop-select data-v-9bad1877"><mescroll-body wx:if="{{k}}" class="r data-v-9bad1877" u-s="{{['d']}}" u-r="mescrollRef" bindinit="{{h}}" binddown="{{i}}" bindup="{{j}}" u-i="9bad1877-0" bind:__l="__l" u-p="{{k}}"><view class="search-box search-box_sticky data-v-9bad1877"><u-search wx:if="{{c}}" class="data-v-9bad1877" bindchange="{{a}}" u-i="9bad1877-1,9bad1877-0" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}"></u-search></view><view class="u-flex-col tableList data-v-9bad1877"><view wx:for="{{d}}" wx:for-item="item" wx:key="o" class="u-flex list-card data-v-9bad1877"><u-radio-group wx:if="{{e}}" class="data-v-9bad1877" u-s="{{['d']}}" u-i="{{item.e}}" bind:__l="__l" bindupdateModelValue="{{item.f}}" u-p="{{item.g}}"><u-radio wx:if="{{item.d}}" class="data-v-9bad1877" u-s="{{['d']}}" bindchange="{{item.b}}" u-i="{{item.c}}" bind:__l="__l" u-p="{{item.d}}"><view class="u-flex-col fieldContent u-m-l-10 data-v-9bad1877"><view wx:for="{{item.a}}" wx:for-item="column" wx:key="c" class="fieldList u-line-1 u-flex data-v-9bad1877"><view class="val data-v-9bad1877">{{column.a}} {{column.b}}</view></view></view></u-radio></u-radio-group><u-checkbox-group wx:if="{{f}}" class="data-v-9bad1877" u-s="{{['d']}}" u-i="{{item.m}}" bind:__l="__l" u-p="{{item.n}}"><u-checkbox wx:if="{{item.l}}" class="data-v-9bad1877" u-s="{{['d']}}" bindchange="{{item.i}}" u-i="{{item.j}}" bind:__l="__l" bindupdateModelValue="{{item.k}}" u-p="{{item.l}}"><view class="u-flex-col fieldContent u-m-l-10 data-v-9bad1877"><view wx:for="{{item.h}}" wx:for-item="column" wx:key="c" class="fieldList u-line-1 u-flex data-v-9bad1877"><view class="val data-v-9bad1877">{{column.a}} {{column.b}}</view></view></view></u-checkbox></u-checkbox-group></view></view></mescroll-body><view class="flowBefore-actions data-v-9bad1877"><u-button u-s="{{['d']}}" class="buttom-btn data-v-9bad1877" catchclick="{{l}}" u-i="9bad1877-6" bind:__l="__l">取消</u-button><u-button wx:if="{{n}}" u-s="{{['d']}}" class="buttom-btn data-v-9bad1877" catchclick="{{m}}" u-i="9bad1877-7" bind:__l="__l" u-p="{{n}}">确定</u-button></view></view>
\ No newline at end of file
page.data-v-9bad1877{background-color:#f0f2f6}.jnpf-pop-select.data-v-9bad1877{width:100%;height:100%;padding-bottom:106rpx}.jnpf-pop-select .tableList.data-v-9bad1877{overflow:hidden auto;padding:0 20rpx}.jnpf-pop-select .tableList .list-card.data-v-9bad1877{background-color:#fff;width:100%;border-radius:8rpx;margin-top:20rpx;padding:20rpx}.jnpf-pop-select .tableList .list-card .fieldContent.data-v-9bad1877{width:100%;margin-top:-14rpx}.jnpf-pop-select .tableList .list-card .fieldContent .fieldList.data-v-9bad1877{width:752rpx}.jnpf-pop-select .tableList .list-card .fieldContent .fieldList .key.data-v-9bad1877{width:136rpx;margin-right:10rpx;text-align:right;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;line-height:60rpx}.jnpf-pop-select .tableList .list-card .fieldContent .fieldList .val.data-v-9bad1877{flex:.85;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.jnpf-pop-select .nodata.data-v-9bad1877{margin-top:258rpx;justify-content:center;align-items:center}.jnpf-pop-select .nodata image.data-v-9bad1877{width:280rpx;height:215rpx}
"use strict";const e=require("../../../common/vendor.js"),t=require("../../../api/apply/reportLog.js"),o={data:()=>({dataForm:{title:"",todayContent:"",tomorrowContent:"",question:"",userIds:""},rules:{title:[{required:!0,message:"日志标题不能为空",trigger:["change","blur"]}],todayContent:[{required:!0,message:"今日内容不能为空",trigger:["change","blur"]}],tomorrowContent:[{required:!0,message:"明日内容不能为空",trigger:["change","blur"]}],question:[{required:!0,message:"问题不能为空",trigger:["change","blur"]}],userIds:[{required:!0,message:"用户不能为空",trigger:["change","blur"],type:"array"}]},type:"0",disabled:!1}),onReady(){this.$refs.dataForm.setRules(this.rules)},onLoad(o){if(this.type=o.type,o.id)"1"==this.type&&(this.disabled=!0),t.getLogInfo(o.id).then((t=>{this.dataForm=t.data,this.dataForm.userIds=this.dataForm.userIds.split(","),e.index.setNavigationBarTitle({title:this.dataForm.title})}));else{e.index.setNavigationBarTitle({title:"新增日志"});let t=e.index.getStorageSync("userInfo")||{};if(!t.userName)return;this.dataForm.title=t.userName+"的日志"}},methods:{save(){this.$refs.dataForm.validate((o=>{if(this.dataForm.toUserId=this.dataForm.userIds.join(","),o){(this.dataForm.id?t.updateLog:t.createLog)(this.dataForm).then((t=>{e.index.showToast({title:t.msg,complete:()=>{setTimeout((()=>{e.index.$emit("refresh"),e.index.navigateBack()}),1500)}})}))}}))}}};if(!Array){(e.resolveComponent("u-input")+e.resolveComponent("u-form-item")+e.resolveComponent("JnpfUserSelect")+e.resolveComponent("u-form")+e.resolveComponent("u-button"))()}Math||((()=>"../../../uni_modules/vk-uview-ui/components/u-input/u-input.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-form-item/u-form-item.js")+(()=>"../../../components/Jnpf/UserSelect/index.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-form/u-form.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-button/u-button.js"))();const r=e._export_sfc(o,[["render",function(t,o,r,a,s,i){return e.e({a:e.o((e=>s.dataForm.title=e)),b:e.p({placeholder:"请输入日志标题",disabled:s.disabled,modelValue:s.dataForm.title}),c:e.p({label:"日志标题",prop:"title",required:!0}),d:e.o((e=>s.dataForm.todayContent=e)),e:e.p({type:"textarea",placeholder:"请输入今日内容",disabled:s.disabled,modelValue:s.dataForm.todayContent}),f:e.p({label:"今日内容",prop:"todayContent",required:!0}),g:e.o((e=>s.dataForm.tomorrowContent=e)),h:e.p({type:"textarea",placeholder:"请输入明日内容",disabled:s.disabled,modelValue:s.dataForm.tomorrowContent}),i:e.p({label:"明日内容",prop:"tomorrowContent",required:!0}),j:e.o((e=>s.dataForm.question=e)),k:e.p({type:"textarea",placeholder:"请输入遇到问题",disabled:s.disabled,modelValue:s.dataForm.question}),l:e.p({label:"遇到问题",prop:"question",required:!0}),m:e.o((e=>s.dataForm.userIds=e)),n:e.p({multiple:!0,disabled:s.disabled,modelValue:s.dataForm.userIds}),o:e.p({label:"发送给谁",prop:"userIds",required:!0}),p:e.sr("dataForm","4e42d04a-0"),q:e.p({model:s.dataForm,rules:s.rules,errorType:["toast"],"label-position":"left","label-width":"150","label-align":"left"}),r:!s.disabled},s.disabled?{}:{s:e.o(i.save),t:e.p({type:"primary"})})}]]);wx.createPage(r);
{
"navigationBarTitleText": "",
"usingComponents": {
"u-input": "../../../uni_modules/vk-uview-ui/components/u-input/u-input",
"u-form-item": "../../../uni_modules/vk-uview-ui/components/u-form-item/u-form-item",
"jnpf-user-select": "../../../components/Jnpf/UserSelect/index",
"u-form": "../../../uni_modules/vk-uview-ui/components/u-form/u-form",
"u-button": "../../../uni_modules/vk-uview-ui/components/u-button/u-button"
}
}
\ No newline at end of file
<view class="logForm-v jnpf-wrap"><u-form wx:if="{{q}}" class="r" u-s="{{['d']}}" u-r="dataForm" u-i="4e42d04a-0" bind:__l="__l" u-p="{{q}}"><view class="u-p-l-20 u-p-r-20 form-item-box"><u-form-item wx:if="{{c}}" u-s="{{['d']}}" u-i="4e42d04a-1,4e42d04a-0" bind:__l="__l" u-p="{{c}}"><u-input wx:if="{{b}}" u-i="4e42d04a-2,4e42d04a-1" bind:__l="__l" bindupdateModelValue="{{a}}" u-p="{{b}}"/></u-form-item><u-form-item wx:if="{{f}}" u-s="{{['d']}}" u-i="4e42d04a-3,4e42d04a-0" bind:__l="__l" u-p="{{f}}"><u-input wx:if="{{e}}" u-i="4e42d04a-4,4e42d04a-3" bind:__l="__l" bindupdateModelValue="{{d}}" u-p="{{e}}"/></u-form-item><u-form-item wx:if="{{i}}" u-s="{{['d']}}" u-i="4e42d04a-5,4e42d04a-0" bind:__l="__l" u-p="{{i}}"><u-input wx:if="{{h}}" u-i="4e42d04a-6,4e42d04a-5" bind:__l="__l" bindupdateModelValue="{{g}}" u-p="{{h}}"/></u-form-item><u-form-item wx:if="{{l}}" u-s="{{['d']}}" u-i="4e42d04a-7,4e42d04a-0" bind:__l="__l" u-p="{{l}}"><u-input wx:if="{{k}}" u-i="4e42d04a-8,4e42d04a-7" bind:__l="__l" bindupdateModelValue="{{j}}" u-p="{{k}}"/></u-form-item><u-form-item wx:if="{{o}}" u-s="{{['d']}}" u-i="4e42d04a-9,4e42d04a-0" bind:__l="__l" u-p="{{o}}"><jnpf-user-select wx:if="{{n}}" u-i="4e42d04a-10,4e42d04a-9" bind:__l="__l" bindupdateModelValue="{{m}}" u-p="{{n}}"/></u-form-item></view></u-form><view wx:if="{{r}}" class="com-saveBox"><u-button wx:if="{{t}}" u-s="{{['d']}}" bindclick="{{s}}" u-i="4e42d04a-11" bind:__l="__l" u-p="{{t}}">保存</u-button></view></view>
\ No newline at end of file
page{background-color:#f0f2f6}.logForm-v{padding-bottom:140rpx}
"use strict";const e=require("../../../common/vendor.js"),s=require("../../../api/apply/reportLog.js"),o=require("../../../libs/resources.js"),t={mixins:[require("../../../uni_modules/mescroll-uni/components/mescroll-uni/mescroll-mixins.js").MescrollMixin],data:()=>({downOption:{use:!0,auto:!0},upOption:{page:{num:0,size:20,time:null},empty:{use:!0,icon:o.resources.message.nodata,tip:"暂无数据",fixed:!0,top:"300rpx"},textNoMore:"没有更多数据"},current:0,tabsList:[{name:"我发出的"},{name:"我收到的"}],keyword:"",list:[],userInfo:{},options:[{text:"删除",style:{backgroundColor:"#dd524d"}}]}),onLoad(){this.userInfo=e.index.getStorageSync("userInfo")||{},e.index.$on("refresh",(()=>{this.list=[],this.current=0,this.mescroll.resetUpScroll()}))},onUnload(){e.index.$off("refresh")},methods:{upCallback(e){let o={currentPage:e.num,pageSize:e.size,keyword:this.keyword};(this.current?s.getReceiveList:s.getSendList)(o,{load:1==e.num}).then((s=>{this.mescroll.endSuccess(s.data.list.length),1==e.num&&(this.list=[]);const o=s.data.list.map((e=>({show:!1,...e})));this.list=this.list.concat(o)})).catch((()=>{this.mescroll.endErr()}))},open(e){this.list[e].show=!0,this.list.map(((s,o)=>{e!=o&&(this.list[o].show=!1)}))},handleClick(e,o){const t=this.list[e];s.delLog(t.id).then((s=>{this.$u.toast(s.msg),this.list.splice(e,1),this.list.length||this.mescroll.resetUpScroll()}))},goDetail(s){const o="./form?type="+this.current+(s?"&id="+s:"");e.index.navigateTo({url:o})},change(e){this.current=e,this.mescroll.resetUpScroll()},search(){this.searchTimer&&clearTimeout(this.searchTimer),this.searchTimer=setTimeout((()=>{this.list=[],this.mescroll.resetUpScroll()}),300)}}};if(!Array){(e.resolveComponent("u-tabs")+e.resolveComponent("u-search")+e.resolveComponent("u-swipe-action")+e.resolveComponent("mescroll-body")+e.resolveComponent("u-icon"))()}Math||((()=>"../../../uni_modules/vk-uview-ui/components/u-tabs/u-tabs.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-search/u-search.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-swipe-action/u-swipe-action.js")+(()=>"../../../uni_modules/mescroll-uni/components/mescroll-body/mescroll-body.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-icon/u-icon.js"))();const i=e._export_sfc(t,[["render",function(s,o,t,i,n,r){return{a:e.o(r.change),b:e.p({list:n.tabsList,current:n.current,"is-scroll":!1}),c:e.o(r.search),d:e.o((e=>n.keyword=e)),e:e.p({placeholder:"请输入关键词搜索",height:"72","show-action":!1,"bg-color":"#f0f2f6",shape:"square",modelValue:n.keyword}),f:e.f(n.list,((o,t,i)=>({a:e.t(o.title),b:e.t(s.jnpf.toDate(o.creatorTime,"mm-dd")),c:e.o(r.handleClick,t),d:e.o(r.open,t),e:e.o((e=>r.goDetail(o.id)),t),f:"acd6d06a-3-"+i+",acd6d06a-0",g:e.p({index:t,show:o.show,options:n.options}),h:t}))),g:e.t(n.userInfo.userName),h:e.t(n.userInfo.userAccount),i:e.sr("mescrollRef","acd6d06a-0"),j:e.o(s.mescrollInit),k:e.o(s.downCallback),l:e.o(r.upCallback),m:e.p({sticky:!0,down:n.downOption,up:n.upOption,bottombar:!1}),n:e.p({name:"plus",size:"60",color:"#fff"}),o:e.o((e=>r.goDetail()))}}]]);wx.createPage(i);
{
"navigationBarTitleText": "汇报日志",
"usingComponents": {
"u-tabs": "../../../uni_modules/vk-uview-ui/components/u-tabs/u-tabs",
"u-search": "../../../uni_modules/vk-uview-ui/components/u-search/u-search",
"u-swipe-action": "../../../uni_modules/vk-uview-ui/components/u-swipe-action/u-swipe-action",
"mescroll-body": "../../../uni_modules/mescroll-uni/components/mescroll-body/mescroll-body",
"u-icon": "../../../uni_modules/vk-uview-ui/components/u-icon/u-icon"
}
}
\ No newline at end of file
<view class="reportLog-v"><mescroll-body wx:if="{{m}}" class="r" u-s="{{['d']}}" u-r="mescrollRef" bindinit="{{j}}" binddown="{{k}}" bindup="{{l}}" u-i="acd6d06a-0" bind:__l="__l" u-p="{{m}}"><view class="search-box_sticky"><u-tabs wx:if="{{b}}" bindchange="{{a}}" u-i="acd6d06a-1,acd6d06a-0" bind:__l="__l" u-p="{{b}}"></u-tabs><view class="search-box"><u-search wx:if="{{e}}" bindchange="{{c}}" u-i="acd6d06a-2,acd6d06a-0" bind:__l="__l" bindupdateModelValue="{{d}}" u-p="{{e}}"></u-search></view></view><view wx:for="{{f}}" wx:for-item="item" wx:key="h" class="log-list"><u-swipe-action wx:if="{{item.g}}" u-s="{{['d']}}" bindclick="{{item.c}}" bindopen="{{item.d}}" bindcontentClick="{{item.e}}" u-i="{{item.f}}" bind:__l="__l" u-p="{{item.g}}"><view class="log-list-txt u-flex-col"><view class="u-font-30 u-flex u-m-b-10 log-title"><text class="title u-line-1">{{item.a}}</text><text>{{item.b}}</text></view><text class="u-m-t-10">{{g}}/{{h}}</text></view></u-swipe-action></view></mescroll-body><view class="com-addBtn" bindtap="{{o}}"><u-icon wx:if="{{n}}" u-i="acd6d06a-4" bind:__l="__l" u-p="{{n}}"/></view></view>
\ No newline at end of file
page{background-color:#f0f2f6}.reportLog-v .log-list{width:100%;margin-bottom:20rpx;color:#9a9a9a}.reportLog-v .log-list .log-list-txt{padding:16rpx 32rpx}.reportLog-v .log-list .log-list-txt .log-title{justify-content:space-between}.reportLog-v .log-list .log-list-txt .log-title .title{color:#333;width:500rpx}
"use strict";const e=require("../../../common/vendor.js"),t=require("../../../api/common.js"),i=require("../../../libs/resources.js"),o={mixins:[require("../../../uni_modules/mescroll-uni/components/mescroll-uni/mescroll-mixins.js").MescrollMixin],data:()=>({downOption:{use:!0,auto:!0},upOption:{page:{num:0,size:20,time:null},empty:{use:!0,icon:i.resources.message.nodata,tip:"暂无数据",fixed:!0,top:"300rpx"},textNoMore:"没有更多数据"},list:[],type:"",onLoadData:{},keyword:"",innerValue:"",listQuery:{keyword:"",pageSize:20},cur:null,firstVal:"",firstId:0,selectId:"",publicField:"",selectItem:[],actionConfig:{},formData:{},userInfo:{},subVal:[],columnOptions:[],realColumnOptions:[],isDynamic:!0}),onLoad(t){this.userInfo=e.index.getStorageSync("userInfo")||{},this.onLoadData=JSON.parse(t.data),this.actionConfig=this.onLoadData.actionConfig,this.isDynamic="dynamic"==this.actionConfig.dataSource,this.realColumnOptions=this.actionConfig.columnOptions.filter((e=>e.ifShow||void 0===e.ifShow)),this.columnOptions=this.actionConfig.columnOptions.map((e=>e.value)),e.index.setNavigationBarTitle({title:this.actionConfig.popupTitle||"选择数据"}),this.formData=this.onLoadData.formData,this.listQuery.pageSize=this.actionConfig.hasPage&&this.isDynamic?this.actionConfig.pageSize:1e4,e.index.$on("refresh",(()=>{this.list=[],this.mescroll.resetUpScroll()}))},computed:{paramList(){return this.getParamList}},methods:{upCallback(e){const i=this.actionConfig.interfaceId,o=this.actionConfig.modelId;if(this.isDynamic&&!i)return this.handleEmpty();if(!this.isDynamic&&!o)return this.handleEmpty();let s={...this.listQuery,currentPage:e.num,keyword:this.keyword,columnOptions:this.columnOptions.join(",")};this.isDynamic?(s.interfaceId=i,s.paramList=this.paramList()):(s.modelId=this.actionConfig.modelId,s.relationField=this.actionConfig.relationField);const n=this.isDynamic?i:o;(this.isDynamic?t.getPopSelect:t.getRelationSelect)(n,s,{load:1==e.num}).then((t=>{this.mescroll.endSuccess(t.data.list.length),1==e.num&&(this.list=[]),this.list=this.list.concat(t.data.list),this.list=this.list.map(((e,t)=>({...e,checked:!1})))})).catch((()=>{this.mescroll.endErr()}))},handleEmpty(){this.mescroll.endSuccess(0),this.mescroll.endErr()},getParamList(){let e=this.actionConfig.templateJson;for(let t=0;t<e.length;t++)e[t].defaultValue=this.formData[e[t].relationField]||"","createUser"===e[t].jnpfKey&&(e[t].defaultValue=this.userInfo.userId),"createTime"===e[t].jnpfKey&&(e[t].defaultValue=(new Date).getTime()),"currOrganize"===e[t].jnpfKey&&(e[t].defaultValue=this.userInfo.organizeId),"currPosition"===e[t].jnpfKey&&(e[t].defaultValue=this.userInfo.positionIds&&this.userInfo.positionIds.length?this.userInfo.positionIds[0]:"");return e},checkboxGroupChange(e,t){this.selectItem=this.list.filter((e=>e.checked));let i=[];for(let o=0;o<this.selectItem.length;o++){const e=this.selectItem[o];let t={};for(let i=0;i<this.actionConfig.relationOptions.length;i++){let o=this.actionConfig.relationOptions[i];t[o.field]=1==o.type?e[this.isDynamic?o.value:o.value+"_jnpfId"]:o.value}i.push(t)}this.subVal=i},interfaceDataHandler(e){if(!e.dataProcessing)return e.list;const t=this.jnpf.getScriptFunc(e.dataProcessing);return t?t(e.list):e.list},radioChange(e){this.selectId=e[this.publicField],this.innerValue=e[this.onLoadData.relationField]},handleConfirm(){e.index.$emit("linkPageConfirm",this.subVal,this.onLoadData.tableVmodel),this.handleClose()},handleClose(){e.index.navigateBack()},search(){this.searchTimer&&clearTimeout(this.searchTimer),this.searchTimer=setTimeout((()=>{this.list=[],this.listQuery.keyword=this.keyword,this.listQuery.currentPage=1,this.listQuery.pageSize=this.hasPage?this.pageSize:1e4,this.mescroll.resetUpScroll()}),300)}}};if(!Array){(e.resolveComponent("u-search")+e.resolveComponent("u-checkbox")+e.resolveComponent("u-checkbox-group")+e.resolveComponent("mescroll-body")+e.resolveComponent("u-button"))()}Math||((()=>"../../../uni_modules/vk-uview-ui/components/u-search/u-search.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-checkbox/u-checkbox.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-checkbox-group/u-checkbox-group.js")+(()=>"../../../uni_modules/mescroll-uni/components/mescroll-body/mescroll-body.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-button/u-button.js"))();const s=e._export_sfc(o,[["render",function(t,i,o,s,n,a){return{a:e.o(a.search),b:e.o((e=>n.keyword=e)),c:e.p({placeholder:"请输入关键词搜索",height:"72","show-action":!1,"bg-color":"#f0f2f6",shape:"square",modelValue:n.keyword}),d:e.f(n.list,((t,i,o)=>({a:e.f(n.realColumnOptions,((i,o,s)=>({a:e.t(i.label+":"),b:e.t(t[i.value]),c:o}))),b:"0ac36493-3-"+o+",0ac36493-2-"+o,c:e.o((e=>t.checked=e),i),d:e.p({modelValue:t.checked}),e:e.o((e=>a.checkboxGroupChange(t,i)),i),f:"0ac36493-2-"+o+",0ac36493-0",g:i}))),e:e.p({wrap:!0}),f:e.sr("mescrollRef","0ac36493-0"),g:e.o(t.mescrollInit),h:e.o(t.downCallback),i:e.o(a.upCallback),j:e.p({sticky:!0,down:n.downOption,up:n.upOption}),k:e.o(a.handleClose),l:e.o(a.handleConfirm),m:e.p({type:"primary"})}}],["__scopeId","data-v-0ac36493"]]);wx.createPage(s);
{
"navigationBarTitleText": "选择数据",
"enablePullDownRefresh": false,
"usingComponents": {
"u-search": "../../../uni_modules/vk-uview-ui/components/u-search/u-search",
"u-checkbox": "../../../uni_modules/vk-uview-ui/components/u-checkbox/u-checkbox",
"u-checkbox-group": "../../../uni_modules/vk-uview-ui/components/u-checkbox-group/u-checkbox-group",
"mescroll-body": "../../../uni_modules/mescroll-uni/components/mescroll-body/mescroll-body",
"u-button": "../../../uni_modules/vk-uview-ui/components/u-button/u-button"
}
}
\ No newline at end of file
<view class="jnpf-pop-select data-v-0ac36493"><mescroll-body wx:if="{{j}}" class="r data-v-0ac36493" u-s="{{['d']}}" u-r="mescrollRef" bindinit="{{g}}" binddown="{{h}}" bindup="{{i}}" u-i="0ac36493-0" bind:__l="__l" u-p="{{j}}"><view class="search-box search-box_sticky data-v-0ac36493"><u-search wx:if="{{c}}" class="data-v-0ac36493" bindchange="{{a}}" u-i="0ac36493-1,0ac36493-0" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}"></u-search></view><view class="u-flex-col tableList data-v-0ac36493"><view wx:for="{{d}}" wx:for-item="item" wx:key="g" class="u-flex list-card data-v-0ac36493"><u-checkbox-group wx:if="{{e}}" class="data-v-0ac36493" u-s="{{['d']}}" bindchange="{{item.e}}" u-i="{{item.f}}" bind:__l="__l" u-p="{{e}}"><u-checkbox wx:if="{{item.d}}" class="data-v-0ac36493" u-s="{{['d']}}" u-i="{{item.b}}" bind:__l="__l" bindupdateModelValue="{{item.c}}" u-p="{{item.d}}"><view class="u-flex-col fieldContent u-m-l-10 data-v-0ac36493"><view wx:for="{{item.a}}" wx:for-item="column" wx:key="c" class="fieldList u-line-1 u-flex data-v-0ac36493"><view class="val data-v-0ac36493">{{column.a}} {{column.b}}</view></view></view></u-checkbox></u-checkbox-group></view></view></mescroll-body><view class="flowBefore-actions data-v-0ac36493"><u-button u-s="{{['d']}}" class="buttom-btn data-v-0ac36493" catchclick="{{k}}" u-i="0ac36493-4" bind:__l="__l">取消</u-button><u-button wx:if="{{m}}" u-s="{{['d']}}" class="buttom-btn data-v-0ac36493" catchclick="{{l}}" u-i="0ac36493-5" bind:__l="__l" u-p="{{m}}">确定</u-button></view></view>
\ No newline at end of file
page.data-v-0ac36493{background-color:#f0f2f6}.jnpf-pop-select.data-v-0ac36493{background-color:#f0f2f6;width:100%;padding-bottom:90rpx}.jnpf-pop-select .tableList.data-v-0ac36493{overflow:hidden auto;padding:0 20rpx}.jnpf-pop-select .tableList .list-card.data-v-0ac36493{background-color:#fff;width:100%;border-radius:8rpx;margin-top:20rpx;padding:20rpx;align-items:flex-start}.jnpf-pop-select .tableList .list-card .u-checkbox-group.data-v-0ac36493,.jnpf-pop-select .tableList .list-card .u-checkbox-group .u-checkbox__label .fieldContent.data-v-0ac36493{width:100%}.jnpf-pop-select .tableList .list-card .u-checkbox-group .u-checkbox__label .fieldContent .fieldList.data-v-0ac36493{width:752rpx}.jnpf-pop-select .tableList .list-card .u-checkbox-group .u-checkbox__label .fieldContent .fieldList .key.data-v-0ac36493{width:136rpx;margin-right:10rpx;text-align:right;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.jnpf-pop-select .tableList .list-card .u-checkbox-group .u-checkbox__label .fieldContent .fieldList .val.data-v-0ac36493{flex:.85;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
"use strict";const e=require("../../common/vendor.js"),s=require("../../api/apply/apply.js"),t=require("../../api/common.js"),o=require("../../libs/resources.js"),r=require("../../uni_modules/mescroll-uni/components/mescroll-uni/mescroll-mixins.js"),a=require("./mixin.js"),i=require("../../uni_modules/vk-uview-ui/libs/function/md5.js"),n=require("../../store/modules/user.js");require("../../store/modules/chat.js");const l={mixins:[r.MescrollMixin,a.IndexMixin],components:{NoData:()=>"../../components/noData.js"},data(){return{topSearch:80,passwordShow:!1,current:0,usualList:[],tabsMenuList:[{fullName:"全部功能"}],menuList:[],downOption:{use:!0,auto:!0},upOption:{page:{num:0,size:50,time:null},empty:{use:!1,icon:o.resources.message.nodata,tip:"暂无数据",fixed:!1,top:"560rpx"},textNoMore:""},keyword:"",statusBarHeight:"",userInfo:{systemIds:[]},showSelect:!1,selectData:{name:"",id:""},modelId:"",config:{},fullName:"",key:+new Date,imgUrl:"",timestamp:"",dataForm:{oldPassword:"",password:"",repeatPsd:"",code:"",timestamp:""},baseForm:{passwordStrengthLimit:0,passwordLengthMin:!1,passwordLengthMinNumber:0,containsNumbers:!1,includeLowercaseLetters:!1,includeUppercaseLetters:!1,containsCharacters:!1,mandatoryModificationOfInitialPassword:0},rules:{oldPassword:[{required:!0,message:"旧密码不能为空",trigger:"blur"}],password:[{required:!0,validator:(e,s,t)=>{const o=/[0-9]+/,r=/[a-z]+/,a=/[A-Z]+/,i=/\W/;""===s?t(new Error("新密码不能为空")):1==this.baseForm.passwordStrengthLimit?(this.baseForm.passwordLengthMin&&s.length<this.baseForm.passwordLengthMinNumber&&t(new Error("新密码长度不能小于"+this.baseForm.passwordLengthMinNumber+"")),this.baseForm.containsNumbers&&(o.test(s)||t(new Error("新密码必须包含数字"))),this.baseForm.includeLowercaseLetters&&(r.test(s)||t(new Error("新密码必须包含小写字母"))),this.baseForm.includeUppercaseLetters&&(a.test(s)||t(new Error("新密码必须包含大写字字母"))),this.baseForm.containsCharacters&&(i.test(s)||t(new Error("新密码必须包含字符"))),t()):t()},trigger:"blur"}],repeatPsd:[{required:!0,validator:(e,s,t)=>{""===s?t(new Error("重复密码不能为空")):s!==this.dataForm.password?t(new Error("两次密码输入不一致")):t()},trigger:"blur"}],code:[{required:!0,message:"验证码不能为空",trigger:"blur"}]}}},computed:{baseURL(){return this.define.baseURL},token:()=>e.index.getStorageSync("token"),report(){return this.define.report},hasChildren(){let e=!1;for(let s=0;s<this.menuList.length;s++)if(this.menuList[s].children&&this.menuList[s].children.length){e=!0;break}return e}},watch:{passwordShow(e){e&&this.$nextTick((()=>{this.$refs.dataForm.setRules(this.rules)}))}},onShow(){this.keyword=""},onLoad(){e.index.$on("updateUsualList",(e=>{this.getUsualList()})),e.index.$on("refresh",(()=>{this.menuList=[],this.current=0,this.mescroll.resetUpScroll()})),this.getStatusBarHeight(),this.changeCode()},onUnload(){e.index.$off("updateUsualList")},methods:{getStatusBarHeight(){let s=this;e.wx$1.getSystemInfo({success(e){s.statusBarHeight=e.statusBarHeight}})},changeCode(){let e=Math.random();this.timestamp=e,this.imgUrl=`/api/file/ImageCode/${e}`},dataFormSubmit(){this.$refs.dataForm.validate((s=>{if(s){let s={oldPassword:i.md5Libs.md5(this.dataForm.oldPassword),password:i.md5Libs.md5(this.dataForm.password),code:this.dataForm.code,timestamp:this.timestamp};t.updatePassword(s).then((s=>{n.useUserStore().logout().then((()=>{e.index.reLaunch({url:"/pages/login/index"})}))})).catch((()=>{this.changeImg()}))}}))},initSysList(e){this.userInfo=e,this.userInfo.systemIds&&this.userInfo.systemIds.length&&this.userInfo.systemIds.forEach((e=>{e.id==this.userInfo.appSystemId&&(this.selectData=e)})),t.updatePasswordMessage(),t.getSystemConfig().then((e=>{null==this.userInfo.changePasswordDate&&1==e.data.mandatoryModificationOfInitialPassword&&(this.passwordShow=!0),this.baseForm=e.data}))},getUsualList(){s.getUsualList(2).then((e=>{this.usualList=e.data.list.map((e=>{const s=e.objectData?JSON.parse(e.objectData):{};return{...e,...s}}))}))},upCallback(t){let o={keyword:this.keyword};e.index.showLoading({title:"正在加载",mask:!0});n.useUserStore().getCurrentUser().then((t=>{this.initSysList(t),this.getUsualList(),s.getMenuList(o).then((s=>{let t=s.data.list||[];this.tabsMenuList=[{fullName:"全部功能"}],this.mescroll.endSuccess(t.length);for(let e=0;e<t.length;e++){let s=t[e].children,o={fullName:t[e].fullName};if(this.tabsMenuList.push(o),Array.isArray(s)&&s.length)for(let e=0;e<s.length;e++){let t="",o="";if(s[e].propertyJson){let r=JSON.parse(s[e].propertyJson);t=r.iconBackgroundColor||"",o=r.moduleId||""}this.$set(s[e],"iconBackground",t),this.$set(s[e],"moduleId",o)}}this.list=t,this.menuList=t,e.index.hideLoading(),this.key=+new Date,this.mescroll.endSuccess(this.menuList.length,!1)})).catch((()=>{this.mescroll.endSuccess(0),this.mescroll.endErr()}))}))},change(e){this.current=e,this.fullName=this.tabsMenuList[e].fullName,this.menuList=this.list,this.keyword="",this.current>0&&(this.menuList=[this.list[e-1]])},search(){this.searchTimer&&clearTimeout(this.searchTimer),this.searchTimer=setTimeout((()=>{this.list=[],this.menuList=[],this.mescroll.resetUpScroll()}),300)},moreApp(){e.index.navigateTo({url:"/pages/workFlow/allApp/index?type=2"})},handelClick(s){if(2!=s.type){if(3==s.type){if(this.modelId=s.moduleId,!s.moduleId)return void this.$u.toast("暂无此页面");e.index.navigateTo({url:"/pages/apply/dynamicModel/index?config="+this.jnpf.base64.encode(JSON.stringify(s)),fail:e=>{this.$u.toast("暂无此页面")}})}if(7==s.type||5==s.type){let t=encodeURIComponent(s.urlAddress)+"&fullName="+s.fullName;return 5==s.type&&(t=encodeURIComponent(`${this.report}/preview.html?id=${s.moduleId}&token=${this.token}&page=1&from=menu`)),s.urlAddress||7!=s.type?void e.index.navigateTo({url:"/pages/apply/externalLink/index?url="+t+"&fullName="+s.fullName+"&type="+s.type,fail:e=>{this.$u.toast("暂无此页面")}}):void this.$u.toast("暂无此页面")}return 8==s.type?s.urlAddress?void e.index.navigateTo({url:"/pages/portal/scanPortal/index?id="+s.moduleId+"&portalType=1&fullName="+s.fullName,fail:e=>{this.$u.toast("暂无此页面")}}):void this.$u.toast("暂无此页面"):void 0}e.index.navigateTo({url:s.urlAddress+"?menuId="+s.id+"&fullName="+s.fullName,fail:e=>{this.$u.toast("暂无此页面")}})},showSelectBox(){this.userInfo.systemIds.length<=1||(this.showSelect=!this.showSelect)},selectItem(e,s){if(e.id===this.userInfo.appSystemId)return;let o={majorId:e.id,majorType:"System",menuType:1};t.setMajor(o).then((t=>{200==t.code&&(this.changeSelData(e,s),this.keyword="",this.$u.toast(t.msg),this.mescroll.resetUpScroll())}))},changeSelData(e,s){this.selectData=e,this.userInfo.appSystemId=e.id,this.showSelect=!1}}};if(!Array){(e.resolveComponent("uni-icons")+e.resolveComponent("uni-nav-bar")+e.resolveComponent("u-search")+e.resolveComponent("u-tabs")+e.resolveComponent("NoData")+e.resolveComponent("mescroll-body")+e.resolveComponent("u-input")+e.resolveComponent("u-form-item")+e.resolveComponent("u-image")+e.resolveComponent("u-button")+e.resolveComponent("u-form")+e.resolveComponent("u-popup")+e.resolveComponent("u-icon"))()}Math||((()=>"../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../uni_modules/uni-nav-bar/components/uni-nav-bar/uni-nav-bar.js")+(()=>"../../uni_modules/vk-uview-ui/components/u-search/u-search.js")+(()=>"../../uni_modules/vk-uview-ui/components/u-tabs/u-tabs.js")+(()=>"../../uni_modules/mescroll-uni/components/mescroll-body/mescroll-body.js")+(()=>"../../uni_modules/vk-uview-ui/components/u-input/u-input.js")+(()=>"../../uni_modules/vk-uview-ui/components/u-form-item/u-form-item.js")+(()=>"../../uni_modules/vk-uview-ui/components/u-image/u-image.js")+(()=>"../../uni_modules/vk-uview-ui/components/u-button/u-button.js")+(()=>"../../uni_modules/vk-uview-ui/components/u-form/u-form.js")+(()=>"../../uni_modules/vk-uview-ui/components/u-popup/u-popup.js")+(()=>"../../uni_modules/vk-uview-ui/components/u-icon/u-icon.js"))();const u=e._export_sfc(l,[["render",function(s,t,o,r,a,i){return e.e({a:e.t(a.selectData.name),b:a.userInfo.systemIds.length>1},a.userInfo.systemIds.length>1?{c:a.showSelect?1:"",d:e.p({type:"down",color:"#000000",size:"14"})}:{},{e:e.o(((...e)=>i.showSelectBox&&i.showSelectBox(...e))),f:e.p({fixed:!0,statusBar:!0,border:!1,height:"44"}),g:e.o(i.search),h:e.o((e=>a.keyword=e)),i:e.p({placeholder:"请输入关键词搜索",height:"72","show-action":!1,"bg-color":"#f0f2f6",shape:"square",modelValue:a.keyword}),j:a.topSearch+"rpx",k:e.f(a.usualList,((s,t,o)=>({a:e.n(s.icon),b:s.iconBackground||"#008cff",c:e.t(s.fullName),d:t,e:e.o((e=>i.handelClick(s)),t)}))),l:e.o(((...e)=>i.moreApp&&i.moreApp(...e))),m:e.o(i.change),n:a.key,o:e.p({list:a.tabsMenuList,current:a.current,"is-scroll":!0,name:"fullName"}),p:!!a.current||!a.current&&i.hasChildren},a.current||!a.current&&i.hasChildren?{q:e.f(a.menuList,((s,t,o)=>e.e({a:!!s.children&&s.children.length>0},s.children&&s.children.length>0?{b:e.t(s.fullName),c:e.f(s.children,((s,t,o)=>({a:e.n(s.icon),b:s.iconBackground||"#008cff",c:e.t(s.fullName),d:t,e:e.o((e=>i.handelClick(s)),t)})))}:{},{d:!(!a.current||Array.isArray(s.children)&&s.children.length)},!a.current||Array.isArray(s.children)&&s.children.length?{}:{e:"7ae17aaa-5-"+o+",7ae17aaa-3"},{f:t})))}:{},{r:e.sr("mescrollRef","7ae17aaa-3"),s:e.o(s.downCallback),t:e.o(i.upCallback),v:e.o(s.mescrollInit),w:e.p({down:a.downOption,sticky:!0,up:a.upOption,bottombar:!1}),x:e.o((e=>a.dataForm.oldPassword=e)),y:e.p({placeholder:"旧密码",type:"password",modelValue:a.dataForm.oldPassword}),z:e.p({label:"旧密码",prop:"oldPassword",required:!0}),A:e.o((e=>a.dataForm.password=e)),B:e.p({placeholder:"新密码",type:"password",modelValue:a.dataForm.password}),C:e.p({label:"新密码",prop:"password",required:!0}),D:e.o((e=>a.dataForm.repeatPsd=e)),E:e.p({placeholder:"重复密码",type:"password",modelValue:a.dataForm.repeatPsd}),F:e.p({label:"重复密码",prop:"repeatPsd",required:!0}),G:e.o((e=>a.dataForm.code=e)),H:e.p({placeholder:"验证码",modelValue:a.dataForm.code}),I:e.o(i.changeCode),J:e.p({showLoading:!0,src:i.baseURL+a.imgUrl,width:"130px",height:"38px"}),K:e.p({label:"验证码",prop:"code",required:!0}),L:e.t("保存"),M:e.o(i.dataFormSubmit),N:e.p({type:"primary"}),O:e.sr("dataForm","7ae17aaa-8,7ae17aaa-7"),P:e.p({model:a.dataForm,rules:a.rules,"label-position":"left","label-width":"150","label-align":"left"}),Q:e.o((e=>a.passwordShow=e)),R:e.p({mode:"center",length:"auto",modelValue:a.passwordShow}),S:a.statusBarHeight+44+"px",T:e.f(a.userInfo.systemIds,((s,t,o)=>e.e({a:e.n(s.icon),b:e.n({currentItem:s.id===a.userInfo.appSystemId}),c:e.t(s.name),d:s.id===a.userInfo.appSystemId?1:"",e:s.id===a.userInfo.appSystemId},s.id===a.userInfo.appSystemId?{f:"7ae17aaa-20-"+o+",7ae17aaa-19",g:e.p({name:"checkbox-mark "})}:{},{h:t,i:e.o((e=>i.selectItem(s,t)),t)}))),U:e.o((e=>a.showSelect=e)),V:e.p({mode:"top",modelValue:a.showSelect})})}]]);wx.createPage(u);
{
"navigationStyle": "custom",
"navigationBarTextStyle": "black",
"usingComponents": {
"no-data": "../../components/noData",
"uni-icons": "../../uni_modules/uni-icons/components/uni-icons/uni-icons",
"uni-nav-bar": "../../uni_modules/uni-nav-bar/components/uni-nav-bar/uni-nav-bar",
"u-search": "../../uni_modules/vk-uview-ui/components/u-search/u-search",
"u-tabs": "../../uni_modules/vk-uview-ui/components/u-tabs/u-tabs",
"mescroll-body": "../../uni_modules/mescroll-uni/components/mescroll-body/mescroll-body",
"u-input": "../../uni_modules/vk-uview-ui/components/u-input/u-input",
"u-form-item": "../../uni_modules/vk-uview-ui/components/u-form-item/u-form-item",
"u-image": "../../uni_modules/vk-uview-ui/components/u-image/u-image",
"u-button": "../../uni_modules/vk-uview-ui/components/u-button/u-button",
"u-form": "../../uni_modules/vk-uview-ui/components/u-form/u-form",
"u-popup": "../../uni_modules/vk-uview-ui/components/u-popup/u-popup",
"u-icon": "../../uni_modules/vk-uview-ui/components/u-icon/u-icon"
}
}
\ No newline at end of file
<view class="apply-v"><uni-nav-bar wx:if="{{f}}" u-s="{{['d']}}" class="nav" u-i="7ae17aaa-0" bind:__l="__l" u-p="{{f}}"><view class="nav-left" bindtap="{{e}}"><view class="nav-left-text">{{a}}</view><uni-icons wx:if="{{b}}" class="{{['right-icons', c && 'select-right-icons']}}" u-i="7ae17aaa-1,7ae17aaa-0" bind:__l="__l" u-p="{{d}}"/></view></uni-nav-bar><view class="search-box_sticky" style="{{'top:' + j}}"><view class="search-box"><u-search wx:if="{{i}}" bindchange="{{g}}" u-i="7ae17aaa-2" bind:__l="__l" bindupdateModelValue="{{h}}" u-p="{{i}}"></u-search></view></view><mescroll-body wx:if="{{w}}" class="r" u-s="{{['d']}}" u-r="mescrollRef" binddown="{{s}}" bindup="{{t}}" style="min-height:100%" bindinit="{{v}}" u-i="7ae17aaa-3" bind:__l="__l" u-p="{{w}}"><view class="common-block"><view class="caption">常用功能</view><view class="u-flex u-flex-wrap"><view wx:for="{{k}}" wx:for-item="item" wx:key="d" class="item u-flex-col u-col-center" bindtap="{{item.e}}"><text class="{{['u-font-40', 'item-icon', item.a]}}" style="{{'background:' + item.b}}"/><text class="u-font-24 u-line-1 item-text">{{item.c}}</text></view><view class="item u-flex-col u-col-center" bindtap="{{l}}"><text class="u-font-40 item-icon more">+</text><text class="u-font-24 u-line-1 item-text">添加</text></view></view></view><view class="u-m-b-20"><u-tabs wx:if="{{o}}" bindchange="{{m}}" key="{{n}}" u-i="7ae17aaa-4,7ae17aaa-3" bind:__l="__l" u-p="{{o}}"></u-tabs></view><view class="workFlow-list"><block wx:if="{{p}}"><view wx:for="{{q}}" wx:for-item="item" wx:key="f" class="part"><view wx:if="{{item.a}}"><view class="caption u-line-1">{{item.b}}</view><view class="u-flex u-flex-wrap"><view wx:for="{{item.c}}" wx:for-item="child" wx:key="d" class="item u-flex-col u-col-center" bindtap="{{child.e}}"><text class="{{['u-font-40', 'item-icon', child.a]}}" style="{{'background:' + child.b}}"/><text class="u-font-24 u-line-1 item-text">{{child.c}}</text></view></view></view><no-data wx:if="{{item.d}}" u-i="{{item.e}}" bind:__l="__l"></no-data></view></block><no-data wx:else u-i="7ae17aaa-6,7ae17aaa-3" bind:__l="__l"></no-data></view></mescroll-body><u-popup wx:if="{{R}}" u-s="{{['d']}}" u-i="7ae17aaa-7" bind:__l="__l" bindupdateModelValue="{{Q}}" u-p="{{R}}"><view class="jnpf-wrap jnpf-wrap-workflow"><u-form wx:if="{{P}}" class="r" u-s="{{['d']}}" u-r="dataForm" u-i="7ae17aaa-8,7ae17aaa-7" bind:__l="__l" u-p="{{P}}"><u-form-item wx:if="{{z}}" u-s="{{['d']}}" u-i="7ae17aaa-9,7ae17aaa-8" bind:__l="__l" u-p="{{z}}"><u-input wx:if="{{y}}" u-i="7ae17aaa-10,7ae17aaa-9" bind:__l="__l" bindupdateModelValue="{{x}}" u-p="{{y}}"></u-input></u-form-item><u-form-item wx:if="{{C}}" u-s="{{['d']}}" u-i="7ae17aaa-11,7ae17aaa-8" bind:__l="__l" u-p="{{C}}"><u-input wx:if="{{B}}" u-i="7ae17aaa-12,7ae17aaa-11" bind:__l="__l" bindupdateModelValue="{{A}}" u-p="{{B}}"></u-input></u-form-item><u-form-item wx:if="{{F}}" u-s="{{['d']}}" u-i="7ae17aaa-13,7ae17aaa-8" bind:__l="__l" u-p="{{F}}"><u-input wx:if="{{E}}" u-i="7ae17aaa-14,7ae17aaa-13" bind:__l="__l" bindupdateModelValue="{{D}}" u-p="{{E}}"></u-input></u-form-item><u-form-item wx:if="{{K}}" u-s="{{['d']}}" u-i="7ae17aaa-15,7ae17aaa-8" bind:__l="__l" u-p="{{K}}"><view class="u-flex"><u-input wx:if="{{H}}" u-i="7ae17aaa-16,7ae17aaa-15" bind:__l="__l" bindupdateModelValue="{{G}}" u-p="{{H}}"></u-input><view style="flex:0.1"><u-image wx:if="{{J}}" bindclick="{{I}}" u-i="7ae17aaa-17,7ae17aaa-15" bind:__l="__l" u-p="{{J}}"></u-image></view></view></u-form-item><u-button wx:if="{{N}}" u-s="{{['d']}}" class="buttom-btn" catchclick="{{M}}" u-i="7ae17aaa-18,7ae17aaa-8" bind:__l="__l" u-p="{{N}}">{{L}}</u-button></u-form></view></u-popup><u-popup wx:if="{{V}}" u-s="{{['d']}}" class="select-box" u-i="7ae17aaa-19" bind:__l="__l" bindupdateModelValue="{{U}}" u-p="{{V}}"><view style="{{'margin-top:' + S}}"></view><view wx:for="{{T}}" wx:for-item="item" wx:key="h" class="select-item" bindtap="{{item.i}}"><text class="{{['u-m-r-12', 'u-font-40', item.a, item.b]}}"/><text class="{{['item-text', 'sysName', item.d && 'currentItem']}}">{{item.c}}</text><u-icon wx:if="{{item.e}}" class="currentItem" u-i="{{item.f}}" bind:__l="__l" u-p="{{item.g}}"></u-icon></view></u-popup></view>
\ No newline at end of file
page{background-color:#f0f2f6}.apply-v .search-box_sticky{margin-bottom:20rpx}.apply-v .search-box_sticky .search-box{padding:20rpx}.apply-v .common-block{background-color:#fff;margin:20rpx 0}.apply-v .common-block .caption{padding:0 32rpx;font-size:36rpx;line-height:100rpx;font-weight:700}.apply-v .common-block .item{margin-bottom:32rpx;width:25%}.apply-v .common-block .item .item-icon{width:88rpx;height:88rpx;margin-bottom:8rpx;line-height:88rpx;text-align:center;border-radius:20rpx;color:#fff;font-size:56rpx}.apply-v .common-block .item .item-icon.more{background:#ececec;color:#666;font-size:50rpx}.apply-v .common-block .item .item-text{width:100%;text-align:center;padding:0 16rpx}.apply-v .nav,.apply-v .nav .uni-navbar__content{z-index:99999}.apply-v .nav .uni-navbar__header-container{justify-content:center}.apply-v .nav-left{max-width:100%;display:flex;align-items:center}.apply-v .nav-left .nav-left-text{font-weight:700;font-size:32rpx;flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.apply-v .nav-left .right-icons{font-weight:700;margin-top:2px;margin-left:4px;transition-duration:.3s}.apply-v .nav-left .select-right-icons{transform:rotate(-180deg)}.apply-v .select-box,.apply-v .u-drawer{max-height:600px}.apply-v .select-box .u-drawer-content,.apply-v .u-drawer .u-drawer-content{height:100%!important}.apply-v .select-box .currentItem,.apply-v .u-drawer .currentItem{color:#2979ff}.apply-v .select-box .select-item,.apply-v .u-drawer .select-item{height:100rpx;display:flex;align-items:center;padding:0 20rpx;font-size:30rpx;color:#303133;text-align:left;position:relative}.apply-v .select-box .select-item:after,.apply-v .u-drawer .select-item:after{content:" ";position:absolute;left:2%;top:0;box-sizing:border-box;width:96%;height:1px;transform:scaleY(.3);border:0 solid #e4e7ed;z-index:2;border-bottom-width:1px}.apply-v .select-box .select-item .sysName,.apply-v .u-drawer .select-item .sysName{flex:1;overflow:auto;min-width:0}.apply-v .search-box{overflow-y:overlay;height:112rpx;width:100%;padding:20rpx;z-index:10000;background:#fff}.apply-v .banner{padding:0rpx 20rpx 20rpx;background-color:#fff}.apply-v .banner .u-indicator-item-round.u-indicator-item-round-active{background-color:#2979ff}.apply-v .notice-bar{margin:20rpx 20rpx 0;background:#fff;border-radius:8rpx;z-index:99;color:#303133!important}.apply-v .workFlow-list .part{background:#fff;margin-bottom:20rpx}.apply-v .workFlow-list .part .caption{padding:0 32rpx;font-size:36rpx;line-height:100rpx;font-weight:700}.apply-v .workFlow-list .part .item{margin-bottom:32rpx;width:25%}.apply-v .workFlow-list .part .item .item-icon{width:88rpx;height:88rpx;margin-bottom:8rpx;line-height:88rpx;text-align:center;border-radius:20rpx;color:#fff;font-size:56rpx}.apply-v .workFlow-list .part .item .item-icon.more{background:#ececec;color:#666;font-size:50rpx}.apply-v .workFlow-list .part .item .item-text{width:100%;text-align:center;padding:0 16rpx}
"use strict";const t=require("../../common/vendor.js"),e=require("../../api/portal/portal.js"),s=require("../../libs/resources.js"),i=require("../../common/assets.js");require("../../libs/chat.js"),require("../../store/modules/chat.js");const a={components:{},data:()=>({showWebView:!0,emptyImg:i.emptyImg,emptyImg1:s.resources.message.nodata,rightIcon:"",key:+new Date,formData:[],portalTitle:"门户",statusBarHeight:"",showSelect:!1,selectData:{name:"",id:""},upOption:{page:{num:0,size:50,time:null},empty:{use:!1},textNoMore:"没有更多数据"},portalList:[],id:"",userInfo:{},downOption:{use:!0,auto:!0},authConfig:{},token:"",mpPortalUrl:"",timer:null}),onShow(){this.token=t.index.getStorageSync("token"),this.mpPortalUrl=this.define.baseURL+"/pages/portal/mpPortal/index?token="+this.token,this.userInfo=t.index.getStorageSync("userInfo")||{},console.log(this.userInfo,"userInfo"),this.userInfo.appPortalId},onReady(){},onLoad(t){},methods:{setWebview(){if(1==this.authConfig.linkType){var e=this.$scope.$getAppWebview();let s=0;t.index.getSystemInfo({success:t=>{s=t.windowHeight-50},complete:()=>{}}),this.$nextTick((()=>{setTimeout((()=>{e.children()[0].setStyle({top:80,height:s,scalable:!0})}),500)}))}},upCallback(e){auth(this.userInfo.appPortalId).then((e=>{this.authConfig=e.data||{};let s=JSON.parse(e.data.formData)||{};this.formData=s.layout?JSON.parse(JSON.stringify(s.layout)):[],this.handelFormData(s),s.refresh.autoRefresh&&(this.timer&&clearInterval(this.timer),this.timer=setInterval((()=>{t.index.$emit("proRefresh")}),6e4*s.refresh.autoRefreshTime)),this.mescroll.endSuccess(this.formData.length),this.key=+new Date})).catch((()=>{this.formData=[],this.mescroll.endSuccess(0),this.mescroll.endErr(),this.key=+new Date}))},handelFormData(t){const e=s=>{s.forEach((s=>{s.allRefresh=t.refresh,s.show=!1,s.visibility&&s.visibility.length&&s.visibility.includes("app")&&(s.show=!0),s.children&&s.children.length&&e(s.children)})),this.key=+new Date};e(this.formData),this.dataList=this.formData.filter((t=>t.show)),this.dataList.length<1&&(this.formData=this.dataList,this.mescroll.endSuccess(this.dataList.length))},isJSON(t){try{var e=JSON.parse(t);return!("object"!=typeof e||!e)}catch(s){return!1}},scan(){t.index.scanCode({success:e=>{if(this.isJSON(e.result.trim())){const s=JSON.parse(e.result.trim());if("ADP"===s.t){let e={isPreview:1,moduleId:s.id,previewType:s.previewType};t.index.navigateTo({url:"/pages/apply/dynamicModel/index?config="+this.jnpf.base64.encode(JSON.stringify(e)),fail:t=>{this.$u.toast("暂无此页面")}})}if("DFD"===s.t){let e=JSON.stringify(s);t.index.navigateTo({url:"/pages/apply/dynamicModel/scanForm?config="+e,fail:t=>{this.$u.toast("暂无此页面")}})}if("WFP"===s.t&&t.index.navigateTo({url:"/pages/workFlow/scanForm/index?config="+JSON.stringify(s),fail:t=>{this.$u.toast("暂无此页面")}}),"report"===s.t){let e=`${this.report}/preview.html?id=${s.id}&token=${this.token}&page=1&from=menu&fullName=${s.fullName}`;t.index.navigateTo({url:"/pages/apply/externalLink/index?url="+encodeURIComponent(e)+"&fullName= "+s.fullName,fail:t=>{this.$u.toast("暂无此页面")}})}"portal"===s.t&&t.index.navigateTo({url:"/pages/portal/scanPortal/index?id="+s.id,fail:t=>{this.$u.toast("暂无此页面")}}),"login"===s.t&&t.index.navigateTo({url:"/pages/login/scanLogin?id="+s.id})}else t.index.navigateTo({url:"/pages/my/scanResult/index?result="+e.result,fail:t=>{this.$u.toast("暂无此页面")}})}})},getPortalList(){e.PortalList().then((t=>{console.log(t,9987),(t.data.list||[]).map((t=>{this.portalList.push(...t.children),this.portalList.forEach((t=>{t.id===this.userInfo.appPortalId&&(this.portalTitle=t.fullName)}))}))}))},closePopup(){},showSelectBox(){Array.isArray(this.portalList)&&this.portalList.length&&(this.showSelect=!this.showSelect)},getStatusBarHeight(){let e=this;t.wx$1.getSystemInfo({success:function(t){e.statusBarHeight=t.statusBarHeight}})},selectItem(s,i){e.SetPortal(s.id).then((e=>{this.portalTitle=this.portalList[i].fullName,this.userInfo.appPortalId=s.id,this.showSelectBox(),t.index.setStorageSync("userInfo",this.userInfo)}))}}};const o=t._export_sfc(a,[["render",function(t,e,s,i,a,o){return{a:a.mpPortalUrl}}]]);wx.createPage(o);
{
"navigationStyle": "custom",
"navigationBarTextStyle": "black",
"usingComponents": {}
}
\ No newline at end of file
<view class="index-v"><view><web-view src="{{a}}"></web-view></view></view>
\ No newline at end of file
page{background-color:#f0f2f6}.index-v .nav,.index-v .nav .uni-navbar__content{z-index:99999}.index-v .nav .uni-navbar__header-container{justify-content:center}.index-v .nav .nav-left{max-width:100%;display:flex;align-items:center}.index-v .nav .nav-left .nav-left-text{font-weight:700;font-size:32rpx;flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.index-v .nav .nav-left .right-icons{font-weight:700;margin-top:2px;margin-left:4px;transition-duration:.3s}.index-v .nav .nav-left .select-right-icons{transform:rotate(-180deg)}.index-v .select-box{overflow-y:scroll}.index-v .select-box .currentItem{color:#2979ff}.index-v .select-box .select-item{height:100rpx;display:flex;align-items:center;padding:0 20rpx;font-size:30rpx;color:#303133;text-align:left;position:relative}.index-v .select-box .select-item:after{content:" ";position:absolute;left:2%;top:0;box-sizing:border-box;width:96%;height:1px;transform:scaleY(.3);border:0 solid #e4e7ed;z-index:2;border-bottom-width:1px}.index-v .select-box .select-item .sysName{flex:1;overflow:auto;min-width:0}.portal-nodata{position:absolute;top:450rpx;width:100%;text-align:center;z-index:100;background-color:#f0f2f6}
"use strict";const e=require("../../common/vendor.js"),s=require("../../uni_modules/mescroll-uni/components/mescroll-uni/mescroll-mixins.js"),t=require("./mixin.js"),a=require("../../store/modules/chat.js"),i=require("../../api/message.js"),o={mixins:[s.MescrollMixin,t.IndexMixin],data:()=>({keyword:"",list:[],options:[{text:"移除",style:{backgroundColor:"#dd524d"}}],upOption:{use:!1}}),watch:{badgeNum(e){this.setTabBarBadge()}},computed:{msgInfo:()=>a.useChatStore().getMsgInfo,baseURL(){return this.define.baseURL}},onLoad(){e.index.$on("updateList",(e=>{this.updateReply(e)})),e.index.$on("updateMsgNum",(e=>{this.updateMsgNum(e)}))},onUnload(){e.index.$off("updateList"),e.index.$off("updateMsgNum")},methods:{relocation(s){i.relocation(s).then((s=>{i.getIMReply().then((s=>{this.list=s.data.list||[],this.mescroll.endSuccess(s.data.list.length,!1),e.index.hideLoading()})).catch((()=>{this.mescroll&&this.mescroll.endErr()}))})).catch((()=>{}))},isJSON(e){try{var s=JSON.parse(e);return!("object"!=typeof s||!s)}catch(t){return!1}},downCallback(s){i.getIMReply().then((s=>{this.list=s.data.list||[],this.mescroll.endSuccess(s.data.list.length,!1),e.index.hideLoading()})).catch((()=>{this.mescroll&&this.mescroll.endErr()}))},search(){},updateReply(e){let s=!1;const t=this.list.length;for(let a=0;a<t;a++)if(e.id===this.list[a].id){this.list[a].unreadMessage+=e.unreadMessage,this.list[a].latestMessage=e.latestMessage,this.list[a].messageType=e.messageType,this.list[a].latestDate=e.latestDate,s=!0;break}s||(e.unreadMessage=e.unreadMessage,this.list.unshift(e))},updateMsgNum(e){const s=a.useChatStore(),t=this.list.length;for(let a=0;a<t;a++)if(e===this.list[a].id){const e=this.list[a].unreadMessage;s.reduceBadgeNum(e),this.list[a].unreadMessage=0;break}},getMsgText(e,s){if(!e)return"";let t="";switch(s){case"voice":t="[语音]";break;case"image":t="[图片]";break;default:t=e}return t},openPage(s){s&&e.index.navigateTo({url:s})},toIm(s){const t=a.useChatStore(),i=s.realName+"/"+s.account;s.unreadMessage&&(t.reduceBadgeNum(s.unreadMessage),s.unreadMessage=0),e.index.navigateTo({url:"/pages/message/im/index?name="+i+"&formUserId="+s.id+"&headIcon="+s.headIcon})}}};if(!Array){(e.resolveComponent("u-badge")+e.resolveComponent("u-avatar")+e.resolveComponent("uni-swipe-action-item")+e.resolveComponent("uni-swipe-action")+e.resolveComponent("mescroll-body"))()}Math||((()=>"../../uni_modules/vk-uview-ui/components/u-badge/u-badge.js")+(()=>"../../uni_modules/vk-uview-ui/components/u-avatar/u-avatar.js")+(()=>"../../uni_modules/uni-swipe-action/components/uni-swipe-action-item/uni-swipe-action-item.js")+(()=>"../../uni_modules/uni-swipe-action/components/uni-swipe-action/uni-swipe-action.js")+(()=>"../../uni_modules/mescroll-uni/components/mescroll-body/mescroll-body.js"))();const n=e._export_sfc(o,[["render",function(s,t,a,i,o,n){return e.e({a:e.t(n.msgInfo.messageDate?s.$u.timeFormat(n.msgInfo.messageDate,"mm-dd hh:MM"):""),b:e.t(n.msgInfo.messageText),c:n.msgInfo.messageCount},n.msgInfo.messageCount?{d:e.p({type:"error",count:n.msgInfo.messageCount,absolute:!1})}:{},{e:e.o((e=>n.openPage("/pages/message/message/index?type="))),f:e.o((e=>n.openPage("/pages/message/contacts/index"))),g:e.f(o.list,((t,a,i)=>({a:"7adaac7a-4-"+i+",7adaac7a-3-"+i,b:e.p({src:n.baseURL+t.headIcon,mode:"square",size:"96"}),c:e.t(t.realName),d:e.t(t.account),e:e.t(s.jnpf.toDateText(t.latestDate)),f:e.t(n.getMsgText(t.latestMessage,t.messageType)),g:"7adaac7a-5-"+i+",7adaac7a-3-"+i,h:e.p({type:"error",count:t.unreadMessage,absolute:!1}),i:e.o((e=>n.toIm(t)),t.id),j:"item"+a,k:t.id,l:e.o((e=>n.relocation(t.id)),t.id),m:"7adaac7a-3-"+i+",7adaac7a-2"}))),h:e.p({"right-options":o.options}),i:e.sr("swipeAction","7adaac7a-2,7adaac7a-1"),j:e.sr("mescrollRef","7adaac7a-1"),k:e.o(s.mescrollInit),l:e.o(n.downCallback),m:e.p({sticky:!1,up:o.upOption,bottombar:!1})})}]]);wx.createPage(n);
{
"navigationBarTitleText": "智慧党建",
"usingComponents": {
"u-badge": "../../uni_modules/vk-uview-ui/components/u-badge/u-badge",
"u-avatar": "../../uni_modules/vk-uview-ui/components/u-avatar/u-avatar",
"uni-swipe-action-item": "../../uni_modules/uni-swipe-action/components/uni-swipe-action-item/uni-swipe-action-item",
"uni-swipe-action": "../../uni_modules/uni-swipe-action/components/uni-swipe-action/uni-swipe-action",
"mescroll-body": "../../uni_modules/mescroll-uni/components/mescroll-body/mescroll-body"
}
}
\ No newline at end of file
<view class="index-v"><view class="search-box_sticky"><view class="reply-item u-border-bottom u-flex" bindtap="{{e}}"><view class="reply-item-img-sysMsg reply-item-icon u-flex u-row-center reply-item-icon-color2"><text class="icon-ym icon-ym-xitong"/></view><view class="reply-item-txt u-flex-1"><view class="reply-item-cell reply-item-title u-flex u-row-between"><text class="title">站内消息</text><text class="u-font-24">{{a}}</text></view><view class="reply-item-cell u-flex u-row-between"><text class="reply-item-txt-msg u-line-1 againColor">{{b}}</text><u-badge wx:if="{{c}}" u-i="7adaac7a-0" bind:__l="__l" u-p="{{d}}"/></view></view></view><view class="reply-item u-border-bottom u-flex" bindtap="{{f}}"><view class="reply-item-img-sysMsg reply-item-icon u-flex u-row-center reply-item-icon-color"><text class="icon-ym icon-ym-contacts"/></view><view class="reply-item-txt u-flex-1"><view class="reply-item-cell reply-item-title u-flex u-row-between" style="margin:0"><text class="title">通讯录</text></view></view></view></view><mescroll-body wx:if="{{m}}" class="r" u-s="{{['d']}}" u-r="mescrollRef" bindinit="{{k}}" binddown="{{l}}" u-i="7adaac7a-1" bind:__l="__l" u-p="{{m}}"><view class="replyList"><view class="flow-list"><view class="flow-list-box"><uni-swipe-action class="r" u-s="{{['d']}}" u-r="swipeAction" u-i="7adaac7a-2,7adaac7a-1" bind:__l="__l"><uni-swipe-action-item wx:for="{{g}}" wx:for-item="item" wx:key="k" u-s="{{['d']}}" bindclick="{{item.l}}" u-i="{{item.m}}" bind:__l="__l" u-p="{{h}}"><view class="reply-item u-border-bottom u-flex" bindtap="{{item.i}}" id="{{item.j}}" ref="mydom"><view class="reply-item-img"><u-avatar wx:if="{{item.b}}" u-i="{{item.a}}" bind:__l="__l" u-p="{{item.b}}"/></view><view class="reply-item-txt u-flex-1"><view class="reply-item-cell reply-item-title u-flex u-row-between"><text class="title">{{item.c}}/{{item.d}}</text><text class="u-font-24 againColor">{{item.e}}</text></view><view class="reply-item-cell u-flex u-row-between"><text class="reply-item-txt-msg u-line-1 againColor">{{item.f}}</text><u-badge wx:if="{{item.h}}" u-i="{{item.g}}" bind:__l="__l" u-p="{{item.h}}"/></view></view></view></uni-swipe-action-item></uni-swipe-action></view></view></view></mescroll-body></view>
\ No newline at end of file
page{background-color:#f0f2f6}.index-v .search-box_sticky{margin-bottom:20rpx;padding:0 20rpx}.index-v .replyList{padding:0 20rpx;background-color:#fff}.index-v .replyList .againColor{color:#909399}.index-v .reply-item{height:132rpx;background-color:#fff}.index-v .reply-item .reply-item-img-sysMsg{width:96rpx;height:96rpx;border-radius:16rpx;overflow:hidden;margin-right:16rpx;flex-shrink:0}.index-v .reply-item .reply-item-img{width:96rpx;height:96rpx;border-radius:50%;overflow:hidden;margin-right:16rpx;flex-shrink:0}.index-v .reply-item .reply-item-icon-color{background-color:#2bd34f}.index-v .reply-item .reply-item-icon-color2{background-color:#3b87f7}.index-v .reply-item .reply-item-icon .icon-ym{color:#fff;font-size:50rpx}.index-v .reply-item .reply-item-txt .reply-item-cell{height:40rpx;color:#c6c6c6;font-size:24rpx}.index-v .reply-item .reply-item-txt .reply-item-cell.reply-item-title{height:44rpx;margin-bottom:4px}.index-v .reply-item .reply-item-txt .reply-item-cell.reply-item-title .title{font-size:28rpx;color:#303133}.index-v .reply-item .reply-item-txt .reply-item-cell .reply-item-txt-msg{width:480rpx}.search-box_sticky{padding:0 32rpx}.flow-list .uni-swipe{margin-bottom:0!important;border-radius:0!important}.flow-list .flow-list-box{margin:0!important}
"use strict";const e=require("../../common/vendor.js"),t=require("../../store/modules/chat.js"),a={onShow(){this.setTabBarBadge()},methods:{setTabBarBadge(){const a=t.useChatStore().getBadgeNum||0;a?e.index.setTabBarBadge({index:3,text:a>99?"99+":a.toString()}):e.index.removeTabBarBadge({index:3})}}};exports.IndexMixin=a;
"use strict";const e=require("../../common/vendor.js"),t=require("./mixin.js"),o=require("../../api/common.js"),i=require("../../libs/chat.js"),s=require("../../store/modules/user.js"),n=require("../../store/modules/chat.js"),a={mixins:[t.IndexMixin],data:()=>({titleStyle:{color:"#303133"},avatarSrc:"",baseInfo:{},loading:!1}),computed:{baseURL(){return this.define.comUploadUrl},baseURL2(){return this.define.baseURL},token:()=>e.index.getStorageSync("token"),report(){return this.define.report}},onLoad(){n.useChatStore().getSocket||i.Socket.initSocket()},onShow(){o.UserSettingInfo().then((e=>{this.baseInfo=e.data||{},this.avatarSrc=this.baseURL2+this.baseInfo.avatar,this.loading=!0}))},methods:{chooseAvatar(){e.index.chooseImage({count:1,sizeType:["original","compressed"],success:t=>{let i=t.tempFilePaths[0];e.index.uploadFile({url:this.baseURL+"userAvatar",filePath:i,name:"file",header:{Authorization:this.token},success:e=>{let t=JSON.parse(e.data);200===t.code?o.UpdateAvatar(t.data.name).then((e=>{this.$u.toast("头像更换成功"),this.avatarSrc=this.baseURL2+t.data.url})):this.$u.toast(t.msg)},fail:e=>{this.$u.toast("头像更换失败")}})}})},openPage(t,o){if(!t)return;let i=o?t+"?majorType="+o:t;e.index.navigateTo({url:i})},personalPage(t){t&&e.index.navigateTo({url:t+"?baseInfo="+encodeURIComponent(JSON.stringify(this.baseInfo))})},isJSON(e){try{var t=JSON.parse(e);return!("object"!=typeof t||!t)}catch(o){return!1}},logout(){e.index.showModal({title:"提示",content:"确定退出当前账号吗?",success:t=>{if(t.confirm){s.useUserStore().logout().then((()=>{e.index.closeSocket(),e.index.reLaunch({url:"/pages/login/index"})})),this.removeAccount()}}})},removeAccount(){let t=e.index.getStorageSync("rememberAccount");t.remember||(t.account="",t.password="",t.remember=!1,e.index.setStorageSync("rememberAccount",t))},scanCode(){e.index.scanCode({success:t=>{let o="";if(this.isJSON(t.result.trim())){const e=JSON.parse(t.result.trim());if("ADP"===e.t){let t={isPreview:1,moduleId:e.id,previewType:e.previewType};o="/pages/apply/dynamicModel/index?config="+this.jnpf.base64.encode(JSON.stringify(t))}if("DFD"===e.t&&(o="/pages/apply/dynamicModel/scanForm?config="+JSON.stringify(e)),"WFP"===e.t&&(o="/pages/workFlow/scanForm/index?config="+JSON.stringify(e)),"report"===e.t){let t=`${this.report}/preview.html?id=${e.id}&token=${this.token}&page=1&from=menu`;o="/pages/apply/externalLink/index?url="+encodeURIComponent(t)+"&fullName= "+e.fullName}"portal"===e.t&&(o="/pages/portal/scanPortal/index?id="+e.id),"login"===e.t&&(o="/pages/login/scanLogin?id="+e.id)}else o="/pages/my/scanResult/index?result="+t.result;e.index.navigateTo({url:o,fail:e=>{this.$u.toast("暂无此页面")}})}})}}};if(!Array){(e.resolveComponent("u-avatar")+e.resolveComponent("u-icon")+e.resolveComponent("u-cell-item")+e.resolveComponent("u-cell-group"))()}Math||((()=>"../../uni_modules/vk-uview-ui/components/u-avatar/u-avatar.js")+(()=>"../../uni_modules/vk-uview-ui/components/u-icon/u-icon.js")+(()=>"../../uni_modules/vk-uview-ui/components/u-cell-item/u-cell-item.js")+(()=>"../../uni_modules/vk-uview-ui/components/u-cell-group/u-cell-group.js"))();const r=e._export_sfc(a,[["render",function(t,o,i,s,n,a){return e.e({a:n.loading},n.loading?{b:e.o(a.chooseAvatar),c:e.p({size:"140",src:n.avatarSrc}),d:e.t(n.baseInfo.realName),e:e.p({name:"arrow-right",color:"#969799",size:"28"}),f:e.o((e=>a.personalPage("/pages/my/personalData/index"))),g:e.o((e=>a.openPage("/pages/my/business/index","Organize"))),h:e.p({title:"我的组织","title-style":n.titleStyle}),i:e.o((e=>a.openPage("/pages/my/business/index","Position"))),j:e.p({title:" 我的岗位","title-style":n.titleStyle}),k:e.o((e=>a.openPage("/pages/my/subordinate/index"))),l:e.p({title:"我的下属","title-style":n.titleStyle}),m:e.o((e=>a.scanCode())),n:e.p({title:"扫一扫","title-style":n.titleStyle}),o:e.o((e=>a.openPage("/pages/my/settings/index"))),p:e.p({title:"设置","title-style":n.titleStyle,"border-bottom":!1}),q:e.p({border:!1}),r:e.o(((...e)=>a.logout&&a.logout(...e)))}:{})}]]);wx.createPage(r);
{
"navigationBarTitleText": "智慧党建",
"usingComponents": {
"u-avatar": "../../uni_modules/vk-uview-ui/components/u-avatar/u-avatar",
"u-icon": "../../uni_modules/vk-uview-ui/components/u-icon/u-icon",
"u-cell-item": "../../uni_modules/vk-uview-ui/components/u-cell-item/u-cell-item",
"u-cell-group": "../../uni_modules/vk-uview-ui/components/u-cell-group/u-cell-group"
}
}
\ No newline at end of file
<view wx:if="{{a}}" class="my-v"><view class="u-flex user-box u-p-l-20 u-p-r-10 u-p-b-20"><view class="u-m-r-10"><u-avatar wx:if="{{c}}" bindclick="{{b}}" u-i="1e09a120-0" bind:__l="__l" u-p="{{c}}"></u-avatar></view><view class="u-flex-1 f-right" bindtap="{{f}}"><view class="u-font-18 u-m-l-16">{{d}}</view><view class="u-m-l-10 u-p-10"><u-icon wx:if="{{e}}" u-i="1e09a120-1" bind:__l="__l" u-p="{{e}}"></u-icon></view></view></view><view class="u-m-t-20"><view class="" style="background-color:#fff"><u-cell-group wx:if="{{q}}" u-s="{{['d']}}" style="padding:0 20rpx" u-i="1e09a120-2" bind:__l="__l" u-p="{{q}}"><u-cell-item wx:if="{{h}}" u-s="{{['icon']}}" bindclick="{{g}}" u-i="1e09a120-3,1e09a120-2" bind:__l="__l" u-p="{{h}}"><text class="icon-ym icon-ym-zuzhi u-m-r-16 u-font-36" style="color:#303133" slot="icon"/></u-cell-item><u-cell-item wx:if="{{j}}" u-s="{{['icon']}}" bindclick="{{i}}" u-i="1e09a120-4,1e09a120-2" bind:__l="__l" u-p="{{j}}"><text class="icon-ym icon-ym-position1 u-m-r-16 u-font-36" style="color:#303133" slot="icon"/></u-cell-item><u-cell-item wx:if="{{l}}" u-s="{{['icon']}}" bindclick="{{k}}" u-i="1e09a120-5,1e09a120-2" bind:__l="__l" u-p="{{l}}"><text class="icon-ym icon-ym-generator-section u-m-r-16 u-font-36" style="color:#303133" slot="icon"/></u-cell-item><u-cell-item wx:if="{{n}}" u-s="{{['icon']}}" bindclick="{{m}}" u-i="1e09a120-6,1e09a120-2" bind:__l="__l" u-p="{{n}}"><text class="icon-ym icon-ym-scanCode1 u-m-r-16 u-font-36" style="color:#303133" slot="icon"/></u-cell-item><u-cell-item wx:if="{{p}}" u-s="{{['icon']}}" bindclick="{{o}}" u-i="1e09a120-7,1e09a120-2" bind:__l="__l" u-p="{{p}}"><text class="icon-ym icon-ym-shezhi u-m-r-16 u-font-36" style="color:#303133" slot="icon"/></u-cell-item></u-cell-group></view></view><view class="u-p-t-20"><view class="logout-cell" hover-class="u-cell-hover" bindtap="{{r}}">退出登录</view></view></view>
\ No newline at end of file
page{background-color:#f0f2f6}.my-v .u-cell{height:112rpx;padding:0}.my-v .user-box{background-color:#fff}.my-v .logout-cell{text-align:center;font-size:28rpx;height:112rpx;background-color:#fff;color:#d9001b;line-height:112rpx}.my-v .f-right{display:flex;flex-direction:row;justify-content:space-between;align-items:center;text-align:center}
"use strict";const e=require("../../common/vendor.js"),t=require("../../api/workFlow/flowEngine.js"),o=require("../../api/apply/apply.js"),s=require("../../libs/resources.js"),i=require("../../uni_modules/mescroll-uni/components/mescroll-uni/mescroll-mixins.js"),n=require("./mixin.js"),l=require("../../store/modules/user.js"),a=require("../../store/modules/base.js").useBaseStore(),r={mixins:[i.MescrollMixin,n.IndexMixin],components:{MultSelect:()=>"../../components/MultSelect.js"},data:()=>({selector:[],show:!1,activeFlow:{},templateList:[],count:0,offset:[-12,55],usualList:[],downOption:{use:!0,auto:!0},className:"",emptyImg:s.resources.message.nodata,upOption:{page:{num:0,size:50,time:null},empty:{use:!0,icon:s.resources.message.nodata,tip:"暂无数据",fixed:!1,top:"560rpx"},textNoMore:"没有更多数据"},keyword:"",category:"",current:0,categoryList:[],list:[],fullName:"",loading:!1,selectFlowValue:0,enCode:"",workflowEnabled:!1,pageLoading:!0}),onLoad(){e.index.showLoading(),this.getCurrent()},onUnload(){e.index.$off("updateUsualList")},onShow(){this.getCurrent()},methods:{getCurrent(){const t=e.index.getStorageSync("userInfo")||{},o=l.useUserStore();this.keyword="",o.getCurrentUser().then((e=>{})),this.workflowEnabled=!!t.workflowEnabled,this.$nextTick((()=>{this.workflowEnabled&&(e.index.$on("updateUsualList",(e=>{this.getUsualList()})),e.index.$on("refresh",(()=>{this.list=[],this.current=0,this.mescroll.resetUpScroll()})),this.setFlowTodoCount(),this.getPaymentMethodOptions())}))},setFlowTodoCount(){t.getFlowTodoCount({flowCirculateType:[],flowDoneType:[],toBeReviewedType:[]}).then((e=>{this.count=e.data.toBeReviewed||0}))},openPage(t){t&&e.index.navigateTo({url:t})},upCallback(e){this.$nextTick((()=>{this.getUsualList()}));let o={currentPage:e.num,pageSize:e.size,keyword:this.keyword,category:0==this.category?"":this.category,flowType:0};this.loading=!1,t.FlowEnginePageList(o,{load:1==e.num}).then((t=>{let o=t.data.list||[];this.mescroll.endSuccess(o.length),1==e.num&&(this.list=[]);const s=o.map((e=>({show:!1,...e})));this.list=this.list.concat(s),this.loading=!0})).catch((()=>{this.mescroll.endErr()}))},search(){this.searchTimer&&clearTimeout(this.searchTimer),this.searchTimer=setTimeout((()=>{this.list=[],this.mescroll.resetUpScroll()}),300)},change(e){this.current=e,this.fullName=this.categoryList[e].fullName,this.category=this.categoryList[e].id||"",this.list=[],this.mescroll.resetUpScroll()},getUsualList(){o.getUsualList(1).then((e=>{this.usualList=e.data.list.map((e=>{const t=e.objectData?JSON.parse(e.objectData):{};return{...e,...t}}))}))},getPaymentMethodOptions(){a.getDictionaryData({sort:"WorkFlowCategory"}).then((t=>{this.categoryList=[{fullName:"全部流程",id:""},...t||[]],this.pageLoading=!1,e.index.hideLoading()}))},moreApp(){e.index.navigateTo({url:"/pages/workFlow/allApp/index?categoryList="+encodeURIComponent(JSON.stringify(this.categoryList))})},confirm(e){this.activeFlow=this.templateList[e[0].index],this.Jump()},Jump(){const t={id:"",flowId:this.activeFlow.id,opType:"-1"};e.index.navigateTo({url:"/pages/workFlow/flowBefore/index?config="+this.jnpf.base64.encode(JSON.stringify(t))})},handelClick(e,o){this.enCode=e.enCode,t.FlowJsonList(e.id,"1").then((e=>{this.templateList=e.data,this.templateList.length?this.templateList.length>1?(this.show=!0,this.selector=this.templateList):(this.activeFlow=this.templateList[0],this.Jump()):this.$u.toast("流程不存在")}))}}};if(!Array){(e.resolveComponent("u-image")+e.resolveComponent("u-badge")+e.resolveComponent("u-search")+e.resolveComponent("u-tabs")+e.resolveComponent("mescroll-body")+e.resolveComponent("MultSelect"))()}Math||((()=>"../../uni_modules/vk-uview-ui/components/u-image/u-image.js")+(()=>"../../uni_modules/vk-uview-ui/components/u-badge/u-badge.js")+(()=>"../../uni_modules/vk-uview-ui/components/u-search/u-search.js")+(()=>"../../uni_modules/vk-uview-ui/components/u-tabs/u-tabs.js")+(()=>"../../uni_modules/mescroll-uni/components/mescroll-body/mescroll-body.js"))();const u=e._export_sfc(r,[["render",function(t,o,s,i,n,l){return e.e({a:e.p({width:"280rpx",height:"280rpx",src:n.emptyImg}),b:!n.workflowEnabled,c:e.o((e=>l.openPage("/pages/workFlow/flowLaunch/index"))),d:e.p({type:"error",count:n.count,absolute:!0,offset:n.offset}),e:e.o((e=>l.openPage("/pages/workFlow/flowTodo/index"))),f:e.o((e=>l.openPage("/pages/workFlow/flowDone/index"))),g:e.o((e=>l.openPage("/pages/workFlow/flowCopy/index"))),h:e.o((e=>l.openPage("/pages/workFlow/entrust/index"))),i:e.o(l.search),j:e.o((e=>n.keyword=e)),k:e.p({placeholder:"请输入",height:"72","show-action":!1,"bg-color":"#f0f2f6",shape:"square",modelValue:n.keyword}),l:n.workflowEnabled,m:e.f(n.usualList,((t,o,s)=>({a:e.n(t.icon),b:t.iconBackground||"#008cff",c:e.t(t.fullName),d:o,e:e.o((e=>l.handelClick(t,1)),o)}))),n:e.o(((...e)=>l.moreApp&&l.moreApp(...e))),o:e.o(l.change),p:e.p({list:n.categoryList,current:n.current,"is-scroll":!0,name:"fullName"}),q:n.list.length>=1},n.list.length>=1?{r:e.t(0===n.current?"全部流程":n.fullName)}:{},{s:e.f(n.list,((t,o,s)=>({a:e.n(t.icon),b:t.iconBackground||"#008cff",c:e.t(t.fullName),d:o,e:e.o((e=>l.handelClick(t)),o)}))),t:e.sr("mescrollRef","3fe8f8d3-3"),v:e.o(t.downCallback),w:e.o(l.upCallback),x:e.o(t.mescrollInit),y:n.workflowEnabled,z:e.p({down:n.downOption,sticky:!1,up:n.upOption,bottombar:!1}),A:e.o(l.confirm),B:e.o((e=>n.show=!1)),C:e.p({show:n.show,list:n.selector,isFlow:!0}),D:!n.pageLoading})}]]);wx.createPage(u);
{
"navigationBarTitleText": "智慧党建",
"usingComponents": {
"mult-select": "../../components/MultSelect",
"u-image": "../../uni_modules/vk-uview-ui/components/u-image/u-image",
"u-badge": "../../uni_modules/vk-uview-ui/components/u-badge/u-badge",
"u-search": "../../uni_modules/vk-uview-ui/components/u-search/u-search",
"u-tabs": "../../uni_modules/vk-uview-ui/components/u-tabs/u-tabs",
"mescroll-body": "../../uni_modules/mescroll-uni/components/mescroll-body/mescroll-body"
}
}
\ No newline at end of file
<view class="workFlow-v" hidden="{{!D}}"><view class="workFlow-nodata" hidden="{{!b}}"><view class="u-flex-col" style="align-items:center"><u-image wx:if="{{a}}" u-i="3fe8f8d3-0" bind:__l="__l" u-p="{{a}}"></u-image><text class="u-m-t-20" style="color:#909399">该应用协同办公未开启</text></view></view><view class="search-box_sticky" hidden="{{!l}}"><view class="head-tabs u-flex"><view class="head-tabs-item" bindtap="{{c}}"><text class="icon-ym icon-ym-flowLaunch-app u-m-r-4 icon-style"/><text>我发起的</text></view><view class="head-tabs-item" bindtap="{{e}}"><text class="icon-ym icon-ym-flowTodo-app u-m-r-4 icon-style"/><text>待办事宜</text><u-badge wx:if="{{d}}" class="badge" u-i="3fe8f8d3-1" bind:__l="__l" u-p="{{d}}"></u-badge></view><view class="head-tabs-item" bindtap="{{f}}"><text class="icon-ym icon-ym-flowDone-app u-m-r-4 icon-style"/><text>已办事宜</text></view><view class="head-tabs-item" bindtap="{{g}}"><text class="icon-ym icon-ym-flowCopy-app u-m-r-4 icon-style"/><text>抄送我的</text></view><view class="head-tabs-item" bindtap="{{h}}"><text class="icon-ym icon-ym-flowEntrust-app u-m-r-4 icon-style"/><text>流程委托</text></view></view><view class="search-box"><u-search wx:if="{{k}}" bindchange="{{i}}" u-i="3fe8f8d3-2" bind:__l="__l" bindupdateModelValue="{{j}}" u-p="{{k}}"/></view></view><mescroll-body wx:if="{{z}}" class="r" u-s="{{['d']}}" u-r="mescrollRef" binddown="{{v}}" bindup="{{w}}" style="min-height:100%" bindinit="{{x}}" data-c-h="{{!y}}" u-i="3fe8f8d3-3" bind:__l="__l" u-p="{{z}}"><view class="common-block"><view class="caption">常用表单</view><view class="u-flex u-flex-wrap"><view wx:for="{{m}}" wx:for-item="item" wx:key="d" class="item u-flex-col u-col-center" bindtap="{{item.e}}"><text class="{{['u-font-40', 'item-icon', item.a]}}" style="{{'background:' + item.b}}"/><text class="u-font-24 u-line-1 item-text">{{item.c}}</text></view><view class="item u-flex-col u-col-center" bindtap="{{n}}"><text class="u-font-40 item-icon more">+</text><text class="u-font-24 u-line-1 item-text">添加</text></view></view></view><u-tabs wx:if="{{p}}" bindchange="{{o}}" u-i="3fe8f8d3-4,3fe8f8d3-3" bind:__l="__l" u-p="{{p}}"></u-tabs><view class="workFlow-list"><view class="part"><view wx:if="{{q}}" class="caption u-line-1">{{r}}</view><view class="u-flex u-flex-wrap"><view wx:for="{{s}}" wx:for-item="child" wx:key="d" class="item u-flex-col u-col-center" bindtap="{{child.e}}"><text class="{{['u-font-40', 'item-icon', child.a]}}" style="{{'background:' + child.b}}"/><text class="u-font-24 u-line-1 item-text">{{child.c}}</text></view></view></view></view></mescroll-body><mult-select wx:if="{{C}}" bindconfirm="{{A}}" bindclose="{{B}}" u-i="3fe8f8d3-5" bind:__l="__l" u-p="{{C}}"/></view>
\ No newline at end of file
page{background-color:#f0f2f6}.workFlow-v .common-block{background:#fff;margin-bottom:20rpx}.workFlow-v .common-block .caption{padding-left:32rpx;font-size:36rpx;line-height:100rpx;font-weight:700}.workFlow-v .common-block .item{margin-bottom:32rpx;width:25%}.workFlow-v .common-block .item .item-icon{width:88rpx;height:88rpx;margin-bottom:8rpx;line-height:88rpx;text-align:center;border-radius:20rpx;color:#fff;font-size:56rpx}.workFlow-v .common-block .item .item-icon.more{background:#ececec;color:#666;font-size:50rpx}.workFlow-v .common-block .item .item-text{width:100%;text-align:center;padding:0 16rpx}.workFlow-v .search-box_sticky{margin-bottom:20rpx}.workFlow-v .search-box_sticky .search-box{padding:20rpx}.workFlow-v .head-tabs{width:100%;padding:0 32rpx;height:132rpx;overflow-x:scroll}.workFlow-v .head-tabs .head-tabs-item{width:25%;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:28rpx;color:#303133;line-height:40rpx;flex-shrink:0;position:relative}.workFlow-v .head-tabs .head-tabs-item .icon-style{font-size:48rpx;color:#303133;margin-bottom:24rpx}.workFlow-v .workFlow-list{margin-top:20rpx}.workFlow-v .workFlow-list .part{background:#fff;margin-bottom:20rpx}.workFlow-v .workFlow-list .part .caption{padding-left:32rpx;font-size:36rpx;line-height:100rpx;font-weight:700}.workFlow-v .workFlow-list .part .item{margin-bottom:32rpx;width:25%}.workFlow-v .workFlow-list .part .item .item-icon{width:88rpx;height:88rpx;margin-bottom:8rpx;line-height:88rpx;text-align:center;border-radius:20rpx;color:#fff;font-size:56rpx}.workFlow-v .workFlow-list .part .item .item-icon.more{background:#ececec;color:#666;font-size:50rpx}.workFlow-v .workFlow-list .part .item .item-text{width:100%;text-align:center;padding:0 16rpx}.workFlow-v .workFlow-nodata{position:absolute;top:450rpx;width:100%;text-align:center;z-index:100;background-color:#f0f2f6}
"use strict";const e=require("../../common/vendor.js"),r=require("../../libs/resources.js"),n={data:()=>({startup:r.resources.startup.main}),onLoad(){if(e.index.getStorageSync("isUpdate"))return;e.index.getStorageSync("launchFlag");const r=e.index.getStorageSync("token")||"";r?e.index.switchTab({url:"/pages/index/index"}):e.index.redirectTo({url:"/pages/login/index"})}};const t=e._export_sfc(n,[["render",function(e,r,n,t,i,s){return{}}]]);wx.createPage(t);
{
"usingComponents": {}
}
\ No newline at end of file
<view class="launch-v"></view>
\ No newline at end of file
.launch-v .launch-box{padding-top:170rpx}.launch-v .launch-box .title{font-size:50rpx;line-height:70rpx;color:#5098fa;text-align:center;margin-bottom:10rpx}.launch-v .launch-box .version{width:250rpx;margin:0 auto;text-align:center;height:50rpx;border:1px solid #5098FA;border-radius:25rpx;line-height:48rpx;color:#5098fa;letter-spacing:2rpx}.launch-v .launch-box .launch-img{margin:0 auto;width:680rpx}.launch-v .launch-box .launch-img image{width:100%}.launch-v .launch-box .copyright{position:fixed;bottom:120rpx;right:0;left:0;text-align:center;color:#999;font-size:24rpx}
"use strict";const e=require("../../common/vendor.js"),o=require("../../api/common.js"),t=require("../../uni_modules/vk-uview-ui/libs/function/md5.js"),s=require("../../store/modules/user.js"),i=require("../../common/assets.js"),n={data:()=>({remember:!1,logoImg:i.logoImg,imgUrl:"",loading:!1,formData:{account:"",password:"",code:"",origin:"password"},needCode:!1,codeLength:4,isCode:!1,rules:{account:[{required:!0,message:"请输入账号",trigger:"blur"}],password:[{required:!0,message:"请输入密码",trigger:"blur"}]},sysConfigInfo:{},appIcon:"",sysName:"",copyright:"",isCopyright:!0,socialsList:[],show:!1,tenantUserInfo:[],ssoLoading:!0,isSso:!1,ssoTicket:"",ssoUrl:"",preUrl:"",ticketParams:"",loginCode:""}),watch:{remember:{handler(o){let t=e.index.getStorageSync("rememberAccount");t||(t={account:"",password:""}),t.remember=o,e.index.setStorageSync("rememberAccount",t)},deep:!0}},computed:{baseURL(){return this.define.baseURL}},onReady(){this.$refs.dataForm.setRules(this.rules)},onLoad(o){(null==o?void 0:o.JNPF_TICKET)&&(this.ssoTicket=o.JNPF_TICKET,e.index.navigateTo({url:`/pages/login/otherLogin?ssoTicket=${this.ssoTicket}`})),this.ssoTicket=e.index.getStorageSync("ssoTicket"),this.sysConfigInfo=e.index.getStorageSync("sysConfigInfo"),this.appIcon=this.sysConfigInfo.appIcon?this.baseURL+this.sysConfigInfo.appIcon:i.logoImg,this.sysName=this.sysConfigInfo.companyName?this.sysConfigInfo.sysName:"智慧党建",this.copyright=this.sysConfigInfo.copyright?this.sysConfigInfo.copyright:this.define.copyright;let t=e.index.getStorageSync("app_loginNeedCode");this.isCode=t,this.changeCode(),this.getLoginConfig(),this.formData.password="",o.data&&(this.tenantUserInfo=JSON.parse(o.data),this.tenantUserInfo&&(this.show=!0)),this.initAccount()},methods:{initAccount(){let o=e.index.getStorageSync("rememberAccount");o&&o.remember&&(o.account&&(this.formData.account=this.jnpf.aesEncryption.decrypt(o.account)),o.password&&(this.formData.password=this.jnpf.aesEncryption.decrypt(o.password))),this.remember=o.remember},rememberAccount(){if(this.remember){let o={remember:!0};o.account=this.jnpf.aesEncryption.encrypt(this.formData.account),o.password=this.jnpf.aesEncryption.encrypt(this.formData.password),e.index.setStorageSync("rememberAccount",o)}},loginHandel(){e.index.showLoading({title:"登录中"}),userStore.getCurrentUser().then((o=>{e.index.hideLoading(),e.index.reLaunch({url:"/pages/index/index"})})).catch((()=>{e.index.hideLoading(),e.index.reLaunch({url:"/pages/login/index"})}))},loginToken(o){if(s.useUserStore().setToken(o.data.value),2!=o.data.status){if(1==o.data.status)return this.loginHandel();6==o.data.status?(this.tenantUserInfo=JSON.parse(o.data.value),1==this.tenantUserInfo.length?this.loginHandel():this.show=!0):(this.show=!1,this.ssoUrl="",e.index.showToast({title:o.data.value||"操作超时,请重新点击登录",icon:"none"}))}},wechatLogin(){o.getTicket().then((t=>{this.ssoTicket=t.data,e.index.login({provider:"weixin",success:e=>{this.loginCode=e.code}}),e.index.getUserProfile({desc:"获取你的昵称、头像、地区及性别",success:e=>{let t={encryptedData:e.encryptedData,iv:e.iv,signature:e.signature,code:this.loginCode,jnpf_ticket:this.ssoTicket,socialName:e.userInfo.nickName,source:"wechat_applets"};o.socialsLogin(t).then((e=>{this.loginToken(e)}))}})}))},qqOtherlogin(){o.getTicket().then((t=>{this.ssoTicket=t.data,e.index.login({provider:"qq",success:t=>{e.index.getUserInfo({provider:"qq",success:e=>{let t={source:"qq",jnpf_ticket:this.ssoTicket,socialName:e.userInfo.nickName,uuid:e.userInfonickName.unionid};o.socialsLogin(t).then((e=>{this.loginToken(e)})).catch((e=>{}))}})}})}))},socailsLogin(t){const i=s.useUserStore();t.tenantLogin=!0,o.socialsLogin(t).then((o=>{200==o.code&&(e.index.showLoading({title:"登录中"}),i.setToken(o.data.token),i.getCurrentUser().then((o=>{e.index.hideLoading(),e.index.switchTab({url:"/pages/index/index"}),this.show=!1})).catch((()=>{e.index.hideLoading(),e.index.switchTab({url:"/pages/login/index"})})))})).catch((()=>{e.index.hideLoading(),e.index.switchTab({url:"/pages/login/index"})}))},otherslogin(t,s){"wechat_open"===t?this.wechatLogin():o.getTicket().then((o=>{this.ssoTicket=o.data,s=s.replace("JNPF_TICKET",this.ssoTicket),e.index.setStorageSync("ssoUrl",s),e.index.navigateTo({url:"/pages/login/otherLogin?ssoTicket="+this.ssoTicket})})).catch((()=>{}))},onFocus(e){this.getCodeConfig(e)},onBlur(e){this.getCodeConfig(e)},getLoginConfig(){o.getLoginConfig().then((e=>{this.isSso=e.data.redirect,this.preUrl=e.data.url,this.ticketParams=e.data.ticketParams;let o=e.data.socialsList||[];this.socialsList=o.filter((e=>e.latest&&"github"!=e.enname&&"wechat_enterprise"!=e.enname)),this.ssoLoading=!1})).catch((()=>{this.isSso=!1,this.ssoLoading=!1}))},getCodeConfig(e){e&&o.getConfig(e).then((e=>{this.needCode=!!e.data.enableVerificationCode,this.needCode&&(this.codeLength=e.data.verificationCodeNumber||4,this.changeCode())}))},changeCode(){let e=Math.random();this.timestamp=e,this.imgUrl=`/api/oauth/ImageCode/${this.codeLength||4}/${e}`},login(){const i=s.useUserStore();this.$refs.dataForm.validate((s=>{if(s){this.loading=!0;const s=t.md5Libs.md5(this.formData.password),n=this.jnpf.aesEncryption.encrypt(s);let a={account:this.formData.account,password:n,timestamp:this.timestamp,code:this.formData.code,origin:this.formData.origin,jnpf_ticket:this.ssoTicket,grant_type:"password"};o.login(a).then((o=>{let t=o.data.token;i.setToken(t),this.rememberAccount(),i.getCurrentUser().then((o=>{this.loading=!1,e.index.switchTab({url:"/pages/index/index"})})).catch((()=>{this.loading=!1}))})).catch((e=>{this.formData.code="",this.changeCode(),this.loading=!1}))}}))},ssoLogin(){o.getTicket().then((o=>{this.ssoTicket=o.data,this.ssoUrl=this.preUrl+"?"+this.ticketParams+"="+this.ssoTicket,e.index.setStorageSync("ssoUrl",this.ssoUrl),e.index.navigateTo({url:`/pages/login/otherLogin?ssoTicket=${this.ssoTicket}`})}))}}};if(!Array){(e.resolveComponent("u-image")+e.resolveComponent("u-input")+e.resolveComponent("u-form-item")+e.resolveComponent("u-form")+e.resolveComponent("u-checkbox")+e.resolveComponent("u-button")+e.resolveComponent("u-divider")+e.resolveComponent("u-popup"))()}Math||((()=>"../../uni_modules/vk-uview-ui/components/u-image/u-image.js")+(()=>"../../uni_modules/vk-uview-ui/components/u-input/u-input.js")+(()=>"../../uni_modules/vk-uview-ui/components/u-form-item/u-form-item.js")+(()=>"../../uni_modules/vk-uview-ui/components/u-form/u-form.js")+(()=>"../../uni_modules/vk-uview-ui/components/u-checkbox/u-checkbox.js")+(()=>"../../uni_modules/vk-uview-ui/components/u-button/u-button.js")+(()=>"../../uni_modules/vk-uview-ui/components/u-divider/u-divider.js")+(()=>"../../uni_modules/vk-uview-ui/components/u-popup/u-popup.js"))();const a=e._export_sfc(n,[["render",function(o,t,s,n,a,r){return e.e({a:e.p({src:a.logoImg,mode:"widthFix"}),b:e.p({src:a.appIcon,mode:"widthFix","border-radius":20}),c:e.t(a.sysConfigInfo.sysVersion||o.define.sysVersion),d:e.o(r.onFocus),e:e.o(r.onBlur),f:e.o((e=>a.formData.account=e)),g:e.p({"input-align":"left",placeholder:"请输入账号",modelValue:a.formData.account}),h:e.p({prop:"account"}),i:e.o((e=>a.formData.password=e)),j:e.p({"input-align":"left",type:"password",placeholder:"请输入密码",modelValue:a.formData.password}),k:e.p({prop:"password"}),l:a.needCode},a.needCode?{m:e.o((e=>a.formData.code=e)),n:e.p({placeholder:"验证码","input-align":"left",modelValue:a.formData.code}),o:e.o(r.changeCode),p:e.p({showLoading:!0,src:r.baseURL+a.imgUrl,width:"130px",height:"38px"}),q:e.p({prop:"code",required:!0})}:{},{r:e.sr("dataForm","616ef836-2"),s:e.p({model:a.formData,rules:a.rules,errorType:["toast"],"label-position":"left","label-width":"150","label-align":"left"}),t:e.o((e=>a.remember=e)),v:e.p({modelValue:a.remember}),w:e.t(a.loading?"登录中...":"登录"),x:e.o(r.login),y:e.p({type:"error",loading:a.loading}),z:a.socialsList.length},a.socialsList.length?{A:e.p({"margin-top":"40","margin-bottom":"40","half-width":"100%"}),B:e.f(a.socialsList,((o,t,s)=>e.e({a:"wechat_open"===o.enname},"wechat_open"===o.enname?{b:e.n(o.icon),c:o.name,d:e.o((e=>r.wechatLogin()),t)}:{},{e:t})))}:{},{C:!a.isSso&&!a.ssoLoading,D:e.t(a.loading?"登录中...":"登录"),E:e.o(r.ssoLogin),F:e.p({type:"error",loading:a.loading}),G:a.isSso&&!a.ssoLoading,H:e.t(a.copyright),I:i._imports_0,J:e.f(a.tenantUserInfo,((o,t,s)=>({a:e.t(o.socialName),b:e.t(o.tenantName),c:e.t(o.tenantId),d:e.t(o.accountName),e:e.o((e=>r.socailsLogin(o)),t),f:t}))),K:e.o((e=>a.show=e)),L:e.p({mode:"left",width:"90%",height:"100%",modelValue:a.show})})}]]);wx.createPage(a);
{
"navigationStyle": "custom",
"usingComponents": {
"u-image": "../../uni_modules/vk-uview-ui/components/u-image/u-image",
"u-input": "../../uni_modules/vk-uview-ui/components/u-input/u-input",
"u-form-item": "../../uni_modules/vk-uview-ui/components/u-form-item/u-form-item",
"u-form": "../../uni_modules/vk-uview-ui/components/u-form/u-form",
"u-checkbox": "../../uni_modules/vk-uview-ui/components/u-checkbox/u-checkbox",
"u-button": "../../uni_modules/vk-uview-ui/components/u-button/u-button",
"u-divider": "../../uni_modules/vk-uview-ui/components/u-divider/u-divider",
"u-popup": "../../uni_modules/vk-uview-ui/components/u-popup/u-popup"
}
}
\ No newline at end of file
<view class="logo-v"><view class="login-bg"><image src="https://app.cdn.jnpfsoft.com/image/login-bg.png" mode="widthFix"></image><view class="logoImg"><u-image wx:if="{{b}}" u-s="{{['error']}}" u-i="616ef836-0" bind:__l="__l" u-p="{{b}}"><u-image u-i="616ef836-1,616ef836-0" bind:__l="__l" u-p="{{a}}" slot="error"></u-image></u-image></view><view class="login-version"><view class="login-version-text">{{c}}</view></view></view><view class="logo-hd u-flex-col"><view class="loginSwitch u-flex-col"><view class="loginInputBox u-flex-col" hidden="{{!C}}"><u-form wx:if="{{s}}" class="r" u-s="{{['d']}}" u-r="dataForm" u-i="616ef836-2" bind:__l="__l" u-p="{{s}}"><u-form-item wx:if="{{h}}" u-s="{{['d']}}" u-i="616ef836-3,616ef836-2" bind:__l="__l" u-p="{{h}}"><u-input wx:if="{{g}}" bindfocus="{{d}}" bindblur="{{e}}" u-i="616ef836-4,616ef836-3" bind:__l="__l" bindupdateModelValue="{{f}}" u-p="{{g}}"></u-input></u-form-item><u-form-item wx:if="{{k}}" u-s="{{['d']}}" u-i="616ef836-5,616ef836-2" bind:__l="__l" u-p="{{k}}"><u-input wx:if="{{j}}" u-i="616ef836-6,616ef836-5" bind:__l="__l" bindupdateModelValue="{{i}}" u-p="{{j}}"></u-input></u-form-item><u-form-item wx:if="{{l}}" u-s="{{['d']}}" u-i="616ef836-7,616ef836-2" bind:__l="__l" u-p="{{q}}"><view class="u-flex code-box"><u-input wx:if="{{n}}" u-i="616ef836-8,616ef836-7" bind:__l="__l" bindupdateModelValue="{{m}}" u-p="{{n}}"></u-input><view style="flex:0.1"><u-image wx:if="{{p}}" bindclick="{{o}}" u-i="616ef836-9,616ef836-7" bind:__l="__l" u-p="{{p}}"></u-image></view></view></u-form-item></u-form><view class="remember-wrap"><u-checkbox wx:if="{{v}}" u-s="{{['d']}}" u-i="616ef836-10" bind:__l="__l" bindupdateModelValue="{{t}}" u-p="{{v}}"><label class="remember-text">记住账号密码</label></u-checkbox></view><view class="loginBtnBox u-m-t-64"><u-button wx:if="{{y}}" u-s="{{['d']}}" bindclick="{{x}}" u-i="616ef836-11" bind:__l="__l" u-p="{{y}}">{{w}}</u-button></view><block wx:if="{{z}}"><u-divider wx:if="{{A}}" u-s="{{['d']}}" u-i="616ef836-12" bind:__l="__l" u-p="{{A}}">其他登录方式</u-divider><view class="other-list"><block wx:for="{{B}}" wx:for-item="item" wx:key="e"><view wx:if="{{item.a}}" class="other-item" title="{{item.c}}" bindtap="{{item.d}}"><text class="{{item.b}}"/></view></block></view></block></view><view class="sso-login-btn" hidden="{{!G}}"><u-button wx:if="{{F}}" u-s="{{['d']}}" bindclick="{{E}}" u-i="616ef836-13" bind:__l="__l" u-p="{{F}}">{{D}}</u-button></view></view></view><view class="copyright">{{H}}</view><u-popup wx:if="{{L}}" u-s="{{['d']}}" u-i="616ef836-14" bind:__l="__l" bindupdateModelValue="{{K}}" u-p="{{L}}"><view class="mian"><view class="top"><view class="img"><image style="height:50rpx;width:50rpx;text-align:center" src="{{I}}" mode="widthFix"></image></view><view class="title"> 请选择登录账号 </view></view><view wx:for="{{J}}" wx:for-item="item" wx:key="f"><view class="info" bindtap="{{item.e}}"><view class="user-name">{{item.a}}</view><view class="user-tenancy"> 租户名称: {{item.b}}</view><view class="user-tenancy"> 租户id:{{item.c}}</view><view class="user-tenancy"> 账号:{{item.d}}</view></view></view></view></u-popup></view>
\ No newline at end of file
page{width:100%;min-height:100vh}.remember-wrap{margin-top:8px}.remember-wrap .remember-text{color:#9a9a9a;font-size:13px}.logo-v{height:100vh;display:flex;flex-direction:column}.logo-v .login-version{position:fixed;right:0;top:0;width:120rpx;height:120rpx;background:url(data:image/png;base64,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) no-repeat center;background-size:100%}.logo-v .login-version .login-version-text{width:120rpx;height:120rpx;line-height:70rpx;text-align:center;color:#fff;font-size:28rpx;transform:rotate(45deg)}.logo-v .login-bg{height:500rpx;position:relative}.logo-v .login-bg image{width:100%;height:100%}.logo-v .login-bg .logoImg{width:160rpx;height:160rpx;margin:0 auto;position:absolute;bottom:0;left:0;right:0}.logo-v .login-bg .logoImg image{width:100%;height:100%;border-radius:20%}.logo-v .logo-hd{width:100%}.logo-v .logo-hd .introduce{justify-content:center;align-items:center}.logo-v .logo-hd .introduce .text-one{height:70rpx;font-weight:700}.logo-v .logo-hd .introduce .text-two{color:#999}.logo-v .logo-hd .loginSwitch{margin-top:40rpx;justify-content:center;align-items:center}.logo-v .logo-hd .loginSwitch .tabs{color:#999;position:relative}.logo-v .logo-hd .loginSwitch .tabs:after{content:"";width:64rpx;height:4rpx;background-color:#356efe;margin-top:15rpx;position:absolute;left:0;bottom:-15rpx;display:block;border-radius:50rpx}.logo-v .logo-hd .loginSwitch .tabs.active2:after{left:70%}.logo-v .logo-hd .loginSwitch .tabs .tab{width:50%;height:80rpx;text-align:center;color:#aeafb5;font-size:32rpx}.logo-v .logo-hd .loginSwitch .tabs .tab.active{color:#3281ff}.logo-v .logo-hd .loginSwitch .loginInputBox{width:100%;margin-top:80rpx;padding:0 64rpx}.logo-v .logo-hd .loginSwitch .loginInputBox .code-box{width:100%}.logo-v .copyright{position:fixed;bottom:40rpx;left:0;right:0;text-align:center;color:#9a9a9a;font-size:24rpx}.logo-v .sso-login-btn{width:100%;padding:0 64rpx;margin-top:364rpx}.other-list{display:flex;align-items:center;justify-content:space-around}.other-list .other-item{width:30px;height:30px;line-height:30px;text-align:center;cursor:pointer;border-radius:50%}.other-list .other-item text{font-size:20px;color:#a0acb7}.mian{background:url(data:image/png;base64,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);height:100%}.img{margin-top:20rpx;margin-left:30%}.title{margin-top:-55rpx;margin-left:260rpx;font-size:32rpx}.info{margin:auto;width:96%;height:300rpx;background-color:#fff;margin-bottom:20rpx;border-radius:10rpx;border-left:10rpx solid #9DC8FA;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-name{font-weight:700;font-size:32rpx;margin-left:20rpx;margin-bottom:20rpx;margin-top:30rpx;width:100%;height:60rpx;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-tenancy{font-size:28rpx;margin-left:20rpx;margin-bottom:20rpx;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
"use strict";const e=require("../../common/vendor.js"),t=require("../../api/common.js"),i=require("../../store/modules/user.js"),s={data:()=>({show:!1,url:"",ticket:"",ssoTimer:null,tenantUserInfo:[]}),onLoad(t){this.url=e.index.getStorageSync("ssoUrl"),this.ticket=t.ssoTicket,this.ssoTimer=setInterval((()=>{this.getTicketStatus()}),1e3)},onUnload(){this.clearTimer()},methods:{getTicketStatus(){const s=i.useUserStore();this.ticket&&t.getTicketStatus(this.ticket).then((t=>{if(2!=t.data.status)if(this.clearTimer(),1==t.data.status)e.index.showLoading({title:"登录中"}),s.setToken(t.data.value),s.getCurrentUser().then((t=>{e.index.hideLoading(),e.index.reLaunch({url:"/pages/index/index"})})).catch((()=>{e.index.hideLoading(),e.index.reLaunch({url:"/pages/login/index"})}));else if(4==t.data.status)e.index.setStorageSync("ssoTicket",this.ticket),e.index.reLaunch({url:"/pages/login/index"});else if(6==t.data.status){let i=JSON.parse(t.data.value);1==i.length?(e.index.showLoading({title:"登录中"}),s.setToken(t.data.value),s.getCurrentUser().then((t=>{e.index.hideLoading(),e.index.reLaunch({url:"/pages/index/index"})})).catch((()=>{e.index.hideLoading(),e.index.reLaunch({url:"/pages/login/index"})}))):e.index.reLaunch({url:"/pages/login/index?data="+JSON.stringify(i)})}else 7==t.data.status?(this.$u.toast("第三方账号未绑定账号,请绑定后重试"),setTimeout((()=>{e.index.reLaunch({url:"/pages/login/index"})}),600)):(this.show=!1,this.ssoUrl="",e.index.showToast({title:t.data.value||"操作超时,请重新点击登录",icon:"none"}),e.index.reLaunch({url:"/pages/login/index"}))}))},clearTimer(){this.ssoTimer&&(clearInterval(this.ssoTimer),this.ssoTimer=null)}}};const n=e._export_sfc(s,[["render",function(e,t,i,s,n,a){return{a:n.url}}]]);wx.createPage(n);
{
"navigationBarTitleText": "",
"usingComponents": {}
}
\ No newline at end of file
<view><web-view src="{{a}}"></web-view></view>
\ No newline at end of file
"use strict";const e=require("../../common/vendor.js"),t=require("../../api/common.js"),i={data:()=>({ticket:"",expired:!1}),onLoad(e){this.init(e.id||"")},methods:{init(e){this.ticket=e,this.expired=!1,t.setCodeCertificateStatus(e,"1")},goBack(){t.setCodeCertificateStatus(this.ticket,"-1").then((t=>{e.index.navigateBack()}))},reScan(){e.index.scanCode({success:e=>{if(this.isJSON(e.result.trim())){const t=JSON.parse(e.result.trim());"login"===t.t&&this.init(t.id||"")}}})},isJSON(e){try{var t=JSON.parse(e);return!("object"!=typeof t||!t)}catch(i){return!1}},handelConfirmLogin(){t.confirmLogin(this.ticket).then((t=>{if(-1===t.data.status)return e.index.showToast({title:"二维码已失效,请重新扫码登录",icon:"none"}),void(this.expired=!0);2===t.data.status&&e.index.showToast({title:"登录成功",icon:"none",complete:()=>{setTimeout((()=>{e.index.navigateBack()}),1500)}})}))}}};if(!Array){e.resolveComponent("u-button")()}Math;const n=e._export_sfc(i,[["render",function(t,i,n,r,o,s){return e.e({a:!o.expired},o.expired?{}:{b:e.o(s.handelConfirmLogin),c:e.p({type:"primary"})},{d:o.expired},o.expired?{e:e.o(s.reScan),f:e.p({type:"primary"})}:{},{g:e.o((e=>s.goBack()))})}]]);wx.createPage(n);
{
"navigationBarTitleText": "扫码登录",
"usingComponents": {
"u-button": "../../uni_modules/vk-uview-ui/components/u-button/u-button"
}
}
\ No newline at end of file
<view class="scanLogin-v"><view class="scanLogin-icon"><view class="icon-ym icon-ym-pc"></view></view><view class="title">登录确认</view><view class="tip">请确认是否本人操作</view><view class="tip">并确保二维码来源安全</view><view class="scanLogin-actions"><u-button wx:if="{{a}}" u-s="{{['d']}}" class="buttom-btn" bindclick="{{b}}" u-i="8d577102-0" bind:__l="__l" u-p="{{c}}">确认登录</u-button><u-button wx:if="{{d}}" u-s="{{['d']}}" class="buttom-btn" bindclick="{{e}}" u-i="8d577102-1" bind:__l="__l" u-p="{{f}}">重新扫码登录</u-button><text class="goBackText" bindtap="{{g}}">取消</text></view></view>
\ No newline at end of file
page{width:100%;height:100%}.scanLogin-v{height:100%;position:relative;text-align:center;padding-top:160rpx}.scanLogin-v .scanLogin-icon{height:140rpx;width:140rpx;margin:0 auto 64rpx;display:flex;justify-content:center;align-items:center;border-radius:50%;border:4rpx solid #2979ff;color:#2979ff}.scanLogin-v .scanLogin-icon .icon-ym-pc{font-size:80rpx}.scanLogin-v .title{font-size:40rpx;font-weight:600;line-height:56rpx;margin-bottom:30rpx}.scanLogin-v .tip{font-size:28rpx;color:#7e7e7e;line-height:44rpx}.scanLogin-v .scanLogin-actions{margin-top:270rpx;padding:0 64rpx}.scanLogin-v .scanLogin-actions .buttom-btn{margin-bottom:20rpx}.scanLogin-v .scanLogin-actions .goBackText{line-height:80rpx}
"use strict";const e=require("../../common/vendor.js"),t=require("../../store/modules/user.js"),n={data:()=>({token:""}),onLoad(e){this.token=e.token,this.init()},methods:{init(){const n=t.useUserStore();n.setToken(this.token),n.getCurrentUser().then((t=>{e.index.hideLoading(),e.index.switchTab({url:"/pages/index/index"}),this.show=!1})).catch((()=>{e.index.hideLoading(),e.index.switchTab({url:"/pages/login/index"})}))}}};const i=e._export_sfc(n,[["render",function(e,t,n,i,s,o){return{}}]]);wx.createPage(i);
{
"navigationStyle": "custom",
"navigationBarTextStyle": "black",
"usingComponents": {}
}
\ No newline at end of file
<view class=""></view>
\ No newline at end of file
"use strict";const e=require("../../../common/vendor.js"),s=require("../../../api/common.js"),o=require("../../../libs/resources.js"),t={mixins:[require("../../../uni_modules/mescroll-uni/components/mescroll-uni/mescroll-mixins.js").MescrollMixin],data:()=>({downOption:{use:!0,auto:!0},upOption:{page:{num:0,size:20,time:null},empty:{use:!0,icon:o.resources.message.nodata,tip:"暂无数据",fixed:!0,top:"300rpx"},textNoMore:"没有更多数据"},keyword:"",list:[]}),computed:{baseURL(){return this.define.baseURL}},methods:{upCallback(e){let o={currentPage:e.num,pageSize:e.size,keyword:this.keyword};s.getImUser(o,{load:1==e.num}).then((s=>{this.mescroll.endSuccess(s.data.list.length),1==e.num&&(this.list=[]);const o=s.data.list;this.list=this.list.concat(o)})).catch((()=>{this.mescroll.endErr()}))},search(){this.searchTimer&&clearTimeout(this.searchTimer),this.searchTimer=setTimeout((()=>{this.list=[],this.mescroll.resetUpScroll()}),300)},detail(s){e.index.navigateTo({url:"/pages/message/userDetail/index?userId="+s})}}};if(!Array){(e.resolveComponent("u-search")+e.resolveComponent("u-avatar")+e.resolveComponent("mescroll-body"))()}Math||((()=>"../../../uni_modules/vk-uview-ui/components/u-search/u-search.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-avatar/u-avatar.js")+(()=>"../../../uni_modules/mescroll-uni/components/mescroll-body/mescroll-body.js"))();const r=e._export_sfc(t,[["render",function(s,o,t,r,i,a){return{a:e.o(a.search),b:e.o((e=>i.keyword=e)),c:e.p({placeholder:"请输入",height:"72","show-action":!1,"bg-color":"#f0f2f6",shape:"square",modelValue:i.keyword}),d:e.f(i.list,((s,o,t)=>({a:"33d26f75-2-"+t+",33d26f75-0",b:e.p({src:a.baseURL+s.headIcon}),c:e.t(s.realName),d:e.t(s.account),e:e.t(s.department),f:o,g:e.o((e=>a.detail(s.id)),o)}))),e:e.sr("mescrollRef","33d26f75-0"),f:e.o(s.mescrollInit),g:e.o(s.downCallback),h:e.o(a.upCallback),i:e.p({sticky:!0,down:i.downOption,up:i.upOption,bottombar:!1})}}]]);wx.createPage(r);
{
"navigationBarTitleText": "智慧党建",
"usingComponents": {
"u-search": "../../../uni_modules/vk-uview-ui/components/u-search/u-search",
"u-avatar": "../../../uni_modules/vk-uview-ui/components/u-avatar/u-avatar",
"mescroll-body": "../../../uni_modules/mescroll-uni/components/mescroll-body/mescroll-body"
}
}
\ No newline at end of file
<view class="contacts-v"><mescroll-body wx:if="{{i}}" class="r" u-s="{{['d']}}" u-r="mescrollRef" bindinit="{{f}}" binddown="{{g}}" bindup="{{h}}" u-i="33d26f75-0" bind:__l="__l" u-p="{{i}}"><view class="search-box search-box_sticky"><u-search wx:if="{{c}}" bindchange="{{a}}" u-i="33d26f75-1,33d26f75-0" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}"></u-search></view><view wx:for="{{d}}" wx:for-item="item" wx:key="f" class="list-cell u-p-l-20 u-p-r-20" bindtap="{{item.g}}"><view class="u-border-bottom list-item u-font-28 u-flex"><u-avatar wx:if="{{item.b}}" u-i="{{item.a}}" bind:__l="__l" u-p="{{item.b}}"></u-avatar><view class="list-cell-txt"><view class="u-font-30 u-m-b-4" style="color:#303133;font-size:28rpx">{{item.c}}/{{item.d}}</view><view class="u-font-24 department u-m-t-4">{{item.e}}</view></view></view></view></mescroll-body></view>
\ No newline at end of file
page{background-color:#eef0f4}.contacts-v .list-cell{width:100%;background-color:#fff}.contacts-v .list-cell .list-item{box-sizing:border-box;overflow:hidden;color:#606266;height:136rpx}.contacts-v .list-cell .list-item .list-cell-txt{margin-left:20rpx}.contacts-v .list-cell .list-item .list-cell-txt .department{color:#909399;font-size:24rpx}
"use strict";const i=require("../../../common/assets.js"),t=Object.assign({"../static/emoji/100.gif":i.__vite_glob_0_0,"../static/emoji/101.gif":i.__vite_glob_0_1,"../static/emoji/102.gif":i.__vite_glob_0_2,"../static/emoji/103.gif":i.__vite_glob_0_3,"../static/emoji/104.gif":i.__vite_glob_0_4,"../static/emoji/105.gif":i.__vite_glob_0_5,"../static/emoji/106.gif":i.__vite_glob_0_6,"../static/emoji/107.gif":i.__vite_glob_0_7,"../static/emoji/108.gif":i.__vite_glob_0_8,"../static/emoji/109.gif":i.__vite_glob_0_9,"../static/emoji/110.gif":i.__vite_glob_0_10,"../static/emoji/111.gif":i.__vite_glob_0_11,"../static/emoji/112.gif":i.__vite_glob_0_12,"../static/emoji/113.gif":i.__vite_glob_0_13,"../static/emoji/114.gif":i.__vite_glob_0_14,"../static/emoji/115.gif":i.__vite_glob_0_15,"../static/emoji/116.gif":i.__vite_glob_0_16,"../static/emoji/117.gif":i.__vite_glob_0_17,"../static/emoji/118.gif":i.__vite_glob_0_18,"../static/emoji/119.gif":i.__vite_glob_0_19,"../static/emoji/120.gif":i.__vite_glob_0_20,"../static/emoji/121.gif":i.__vite_glob_0_21,"../static/emoji/122.gif":i.__vite_glob_0_22,"../static/emoji/123.gif":i.__vite_glob_0_23,"../static/emoji/124.gif":i.__vite_glob_0_24,"../static/emoji/125.gif":i.__vite_glob_0_25,"../static/emoji/126.gif":i.__vite_glob_0_26,"../static/emoji/127.gif":i.__vite_glob_0_27,"../static/emoji/128.gif":i.__vite_glob_0_28,"../static/emoji/129.gif":i.__vite_glob_0_29,"../static/emoji/130.gif":i.__vite_glob_0_30,"../static/emoji/131.gif":i.__vite_glob_0_31,"../static/emoji/132.gif":i.__vite_glob_0_32,"../static/emoji/133.gif":i.__vite_glob_0_33,"../static/emoji/134.gif":i.__vite_glob_0_34,"../static/emoji/135.gif":i.__vite_glob_0_35,"../static/emoji/136.gif":i.__vite_glob_0_36,"../static/emoji/137.gif":i.__vite_glob_0_37,"../static/emoji/138.gif":i.__vite_glob_0_38,"../static/emoji/139.gif":i.__vite_glob_0_39,"../static/emoji/140.gif":i.__vite_glob_0_40,"../static/emoji/141.gif":i.__vite_glob_0_41,"../static/emoji/142.gif":i.__vite_glob_0_42,"../static/emoji/143.gif":i.__vite_glob_0_43,"../static/emoji/144.gif":i.__vite_glob_0_44,"../static/emoji/145.gif":i.__vite_glob_0_45,"../static/emoji/146.gif":i.__vite_glob_0_46,"../static/emoji/147.gif":i.__vite_glob_0_47,"../static/emoji/148.gif":i.__vite_glob_0_48,"../static/emoji/149.gif":i.__vite_glob_0_49,"../static/emoji/150.gif":i.__vite_glob_0_50,"../static/emoji/151.gif":i.__vite_glob_0_51,"../static/emoji/152.gif":i.__vite_glob_0_52,"../static/emoji/153.gif":i.__vite_glob_0_53,"../static/emoji/154.gif":i.__vite_glob_0_54,"../static/emoji/155.gif":i.__vite_glob_0_55,"../static/emoji/156.gif":i.__vite_glob_0_56,"../static/emoji/157.gif":i.__vite_glob_0_57,"../static/emoji/158.gif":i.__vite_glob_0_58,"../static/emoji/159.gif":i.__vite_glob_0_59,"../static/emoji/160.gif":i.__vite_glob_0_60,"../static/emoji/161.gif":i.__vite_glob_0_61,"../static/emoji/162.gif":i.__vite_glob_0_62,"../static/emoji/163.gif":i.__vite_glob_0_63,"../static/emoji/164.gif":i.__vite_glob_0_64,"../static/emoji/165.gif":i.__vite_glob_0_65,"../static/emoji/166.gif":i.__vite_glob_0_66,"../static/emoji/167.gif":i.__vite_glob_0_67,"../static/emoji/168.gif":i.__vite_glob_0_68,"../static/emoji/169.gif":i.__vite_glob_0_69,"../static/emoji/170.gif":i.__vite_glob_0_70,"../static/emoji/171.gif":i.__vite_glob_0_71,"../static/emoji/172.gif":i.__vite_glob_0_72,"../static/emoji/173.gif":i.__vite_glob_0_73,"../static/emoji/174.gif":i.__vite_glob_0_74,"../static/emoji/175.gif":i.__vite_glob_0_75,"../static/emoji/176.gif":i.__vite_glob_0_76,"../static/emoji/177.gif":i.__vite_glob_0_77,"../static/emoji/178.gif":i.__vite_glob_0_78,"../static/emoji/179.gif":i.__vite_glob_0_79,"../static/emoji/180.gif":i.__vite_glob_0_80,"../static/emoji/181.gif":i.__vite_glob_0_81,"../static/emoji/182.gif":i.__vite_glob_0_82,"../static/emoji/183.gif":i.__vite_glob_0_83,"../static/emoji/184.gif":i.__vite_glob_0_84,"../static/emoji/185.gif":i.__vite_glob_0_85,"../static/emoji/186.gif":i.__vite_glob_0_86,"../static/emoji/187.gif":i.__vite_glob_0_87,"../static/emoji/188.gif":i.__vite_glob_0_88,"../static/emoji/189.gif":i.__vite_glob_0_89,"../static/emoji/190.gif":i.__vite_glob_0_90,"../static/emoji/191.gif":i.__vite_glob_0_91,"../static/emoji/192.gif":i.__vite_glob_0_92,"../static/emoji/193.gif":i.__vite_glob_0_93,"../static/emoji/194.gif":i.__vite_glob_0_94,"../static/emoji/195.gif":i.__vite_glob_0_95,"../static/emoji/196.gif":i.__vite_glob_0_96,"../static/emoji/197.gif":i.__vite_glob_0_97,"../static/emoji/198.gif":i.__vite_glob_0_98,"../static/emoji/199.gif":i.__vite_glob_0_99,"../static/emoji/200.png":i.__vite_glob_0_100,"../static/emoji/201.png":i.__vite_glob_0_101,"../static/emoji/202.png":i.__vite_glob_0_102,"../static/emoji/203.png":i.__vite_glob_0_103,"../static/emoji/204.png":i.__vite_glob_0_104,"../static/emoji/205.png":i.__vite_glob_0_105,"../static/emoji/206.png":i.__vite_glob_0_106,"../static/emoji/207.png":i.__vite_glob_0_107,"../static/emoji/208.png":i.__vite_glob_0_108,"../static/emoji/209.png":i.__vite_glob_0_109,"../static/emoji/210.png":i.__vite_glob_0_110,"../static/emoji/211.png":i.__vite_glob_0_111,"../static/emoji/212.png":i.__vite_glob_0_112,"../static/emoji/213.png":i.__vite_glob_0_113,"../static/emoji/214.png":i.__vite_glob_0_114,"../static/emoji/215.png":i.__vite_glob_0_115,"../static/emoji/216.png":i.__vite_glob_0_116,"../static/emoji/217.png":i.__vite_glob_0_117,"../static/emoji/218.png":i.__vite_glob_0_118,"../static/emoji/219.png":i.__vite_glob_0_119}),l={};for(const _ in t){l[_.split("/").slice(-1)[0].replace(".","")]=t[_].default}exports.emojiList=[{url:"100.gif",alt:"[微笑]"},{url:"101.gif",alt:"[撇嘴]"},{url:"102.gif",alt:"[美女]"},{url:"103.gif",alt:"[发呆]"},{url:"104.gif",alt:"[墨镜]"},{url:"105.gif",alt:"[哭]"},{url:"106.gif",alt:"[羞]"},{url:"107.gif",alt:"[哑]"},{url:"108.gif",alt:"[睡]"},{url:"109.gif",alt:"[大哭]"},{url:"110.gif",alt:"[囧]"},{url:"111.gif",alt:"[怒]"},{url:"112.gif",alt:"[调皮]"},{url:"113.gif",alt:"[大笑]"},{url:"114.gif",alt:"[惊讶]"},{url:"115.gif",alt:"[难过]"},{url:"116.gif",alt:"[酷]"},{url:"117.gif",alt:"[惊汗]"},{url:"118.gif",alt:"[抓狂]"},{url:"119.gif",alt:"[吐]"},{url:"120.gif",alt:"[偷笑]"},{url:"121.gif",alt:"[快乐]"},{url:"122.gif",alt:"[奇]"},{url:"123.gif",alt:"[傲]"},{url:"124.gif",alt:"[饿]"},{url:"125.gif",alt:"[困]"},{url:"126.gif",alt:"[惊吓]"},{url:"127.gif",alt:"[汗]"},{url:"128.gif",alt:"[高兴]"},{url:"129.gif",alt:"[闲]"},{url:"130.gif",alt:"[努力]"},{url:"131.gif",alt:"[骂]"},{url:"132.gif",alt:"[疑问]"},{url:"133.gif",alt:"[秘密]"},{url:"134.gif",alt:"[乱]"},{url:"135.gif",alt:"[疯]"},{url:"136.gif",alt:"[哀]"},{url:"137.gif",alt:"[鬼]"},{url:"138.gif",alt:"[打击]"},{url:"139.gif",alt:"[bye]"},{url:"140.gif",alt:"[擦汗]"},{url:"141.gif",alt:"[抠]"},{url:"142.gif",alt:"[鼓掌]"},{url:"143.gif",alt:"[糟糕]"},{url:"144.gif",alt:"[坏笑]"},{url:"145.gif",alt:"[左哼哼]"},{url:"146.gif",alt:"[右哼哼]"},{url:"147.gif",alt:"[哈欠]"},{url:"148.gif",alt:"[看]"},{url:"149.gif",alt:"[委屈]"},{url:"150.gif",alt:"[伤心]"},{url:"151.gif",alt:"[坏]"},{url:"152.gif",alt:"[亲]"},{url:"153.gif",alt:"[吓]"},{url:"154.gif",alt:"[可怜]"},{url:"155.gif",alt:"[刀]"},{url:"156.gif",alt:"[水果]"},{url:"157.gif",alt:"[酒]"},{url:"158.gif",alt:"[篮球]"},{url:"159.gif",alt:"[乒乓]"},{url:"160.gif",alt:"[咖啡]"},{url:"161.gif",alt:"[美食]"},{url:"162.gif",alt:"[动物]"},{url:"163.gif",alt:"[鲜花]"},{url:"164.gif",alt:"[枯]"},{url:"165.gif",alt:"[唇]"},{url:"166.gif",alt:"[爱]"},{url:"167.gif",alt:"[分手]"},{url:"168.gif",alt:"[生日]"},{url:"169.gif",alt:"[电]"},{url:"170.gif",alt:"[炸弹]"},{url:"171.gif",alt:"[刀子]"},{url:"172.gif",alt:"[足球]"},{url:"173.gif",alt:"[瓢虫]"},{url:"174.gif",alt:"[翔]"},{url:"175.gif",alt:"[月亮]"},{url:"176.gif",alt:"[太阳]"},{url:"177.gif",alt:"[礼物]"},{url:"178.gif",alt:"[抱抱]"},{url:"179.gif",alt:"[拇指]"},{url:"180.gif",alt:"[贬低]"},{url:"181.gif",alt:"[握手]"},{url:"182.gif",alt:"[剪刀手]"},{url:"183.gif",alt:"[抱拳]"},{url:"184.gif",alt:"[勾引]"},{url:"185.gif",alt:"[拳头]"},{url:"186.gif",alt:"[小拇指]"},{url:"187.gif",alt:"[拇指八]"},{url:"188.gif",alt:"[食指]"},{url:"189.gif",alt:"[ok]"},{url:"190.gif",alt:"[情侣]"},{url:"191.gif",alt:"[爱心]"},{url:"192.gif",alt:"[蹦哒]"},{url:"193.gif",alt:"[颤抖]"},{url:"194.gif",alt:"[怄气]"},{url:"195.gif",alt:"[跳舞]"},{url:"196.gif",alt:"[发呆1]"},{url:"197.gif",alt:"[背着]"},{url:"198.gif",alt:"[伸手]"},{url:"199.gif",alt:"[耍帅]"},{url:"200.png",alt:"[微笑1]"},{url:"201.png",alt:"[生病]"},{url:"202.png",alt:"[哭泣]"},{url:"203.png",alt:"[吐舌]"},{url:"204.png",alt:"[迷糊]"},{url:"205.png",alt:"[瞪眼]"},{url:"206.png",alt:"[恐怖]"},{url:"207.png",alt:"[忧愁]"},{url:"208.png",alt:"[眨眉]"},{url:"209.png",alt:"[闭眼]"},{url:"210.png",alt:"[鄙视]"},{url:"211.png",alt:"[阴暗]"},{url:"212.png",alt:"[小鬼]"},{url:"213.png",alt:"[礼物1]"},{url:"214.png",alt:"[拜佛]"},{url:"215.png",alt:"[力量]"},{url:"216.png",alt:"[金钱]"},{url:"217.png",alt:"[蛋糕]"},{url:"218.png",alt:"[彩带]"},{url:"219.png",alt:"[礼物2]"}],exports.emojiTree=[[{url:"100.gif",alt:"[微笑]"},{url:"101.gif",alt:"[撇嘴]"},{url:"102.gif",alt:"[美女]"},{url:"103.gif",alt:"[发呆]"},{url:"104.gif",alt:"[墨镜]"},{url:"105.gif",alt:"[哭]"},{url:"106.gif",alt:"[羞]"},{url:"107.gif",alt:"[哑]"},{url:"108.gif",alt:"[睡]"},{url:"109.gif",alt:"[大哭]"},{url:"110.gif",alt:"[囧]"},{url:"111.gif",alt:"[怒]"},{url:"112.gif",alt:"[调皮]"},{url:"113.gif",alt:"[大笑]"},{url:"114.gif",alt:"[惊讶]"},{url:"115.gif",alt:"[难过]"},{url:"116.gif",alt:"[酷]"},{url:"117.gif",alt:"[惊汗]"},{url:"118.gif",alt:"[抓狂]"},{url:"119.gif",alt:"[吐]"},{url:"120.gif",alt:"[偷笑]"},{url:"121.gif",alt:"[快乐]"},{url:"122.gif",alt:"[奇]"},{url:"123.gif",alt:"[傲]"}],[{url:"124.gif",alt:"[饿]"},{url:"125.gif",alt:"[困]"},{url:"126.gif",alt:"[惊吓]"},{url:"127.gif",alt:"[汗]"},{url:"128.gif",alt:"[高兴]"},{url:"129.gif",alt:"[闲]"},{url:"130.gif",alt:"[努力]"},{url:"131.gif",alt:"[骂]"},{url:"132.gif",alt:"[疑问]"},{url:"133.gif",alt:"[秘密]"},{url:"134.gif",alt:"[乱]"},{url:"135.gif",alt:"[疯]"},{url:"136.gif",alt:"[哀]"},{url:"137.gif",alt:"[鬼]"},{url:"138.gif",alt:"[打击]"},{url:"139.gif",alt:"[bye]"},{url:"140.gif",alt:"[擦汗]"},{url:"141.gif",alt:"[抠]"},{url:"142.gif",alt:"[鼓掌]"},{url:"143.gif",alt:"[糟糕]"},{url:"144.gif",alt:"[坏笑]"},{url:"145.gif",alt:"[左哼哼]"},{url:"146.gif",alt:"[右哼哼]"},{url:"147.gif",alt:"[哈欠]"}],[{url:"148.gif",alt:"[看]"},{url:"149.gif",alt:"[委屈]"},{url:"150.gif",alt:"[伤心]"},{url:"151.gif",alt:"[坏]"},{url:"152.gif",alt:"[亲]"},{url:"153.gif",alt:"[吓]"},{url:"154.gif",alt:"[可怜]"},{url:"155.gif",alt:"[刀]"},{url:"156.gif",alt:"[水果]"},{url:"157.gif",alt:"[酒]"},{url:"158.gif",alt:"[篮球]"},{url:"159.gif",alt:"[乒乓]"},{url:"160.gif",alt:"[咖啡]"},{url:"161.gif",alt:"[美食]"},{url:"162.gif",alt:"[动物]"},{url:"163.gif",alt:"[鲜花]"},{url:"164.gif",alt:"[枯]"},{url:"165.gif",alt:"[唇]"},{url:"166.gif",alt:"[爱]"},{url:"167.gif",alt:"[分手]"},{url:"168.gif",alt:"[生日]"},{url:"169.gif",alt:"[电]"},{url:"170.gif",alt:"[炸弹]"},{url:"171.gif",alt:"[刀子]"}],[{url:"172.gif",alt:"[足球]"},{url:"173.gif",alt:"[瓢虫]"},{url:"174.gif",alt:"[翔]"},{url:"175.gif",alt:"[月亮]"},{url:"176.gif",alt:"[太阳]"},{url:"177.gif",alt:"[礼物]"},{url:"178.gif",alt:"[抱抱]"},{url:"179.gif",alt:"[拇指]"},{url:"180.gif",alt:"[贬低]"},{url:"181.gif",alt:"[握手]"},{url:"182.gif",alt:"[剪刀手]"},{url:"183.gif",alt:"[抱拳]"},{url:"184.gif",alt:"[勾引]"},{url:"185.gif",alt:"[拳头]"},{url:"186.gif",alt:"[小拇指]"},{url:"187.gif",alt:"[拇指八]"},{url:"188.gif",alt:"[食指]"},{url:"189.gif",alt:"[ok]"},{url:"190.gif",alt:"[情侣]"},{url:"191.gif",alt:"[爱心]"},{url:"192.gif",alt:"[蹦哒]"},{url:"193.gif",alt:"[颤抖]"},{url:"194.gif",alt:"[怄气]"},{url:"195.gif",alt:"[跳舞]"}],[{url:"196.gif",alt:"[发呆1]"},{url:"197.gif",alt:"[背着]"},{url:"198.gif",alt:"[伸手]"},{url:"199.gif",alt:"[耍帅]"},{url:"200.png",alt:"[微笑1]"},{url:"201.png",alt:"[生病]"},{url:"202.png",alt:"[哭泣]"},{url:"203.png",alt:"[吐舌]"},{url:"204.png",alt:"[迷糊]"},{url:"205.png",alt:"[瞪眼]"},{url:"206.png",alt:"[恐怖]"},{url:"207.png",alt:"[忧愁]"},{url:"208.png",alt:"[眨眉]"},{url:"209.png",alt:"[闭眼]"},{url:"210.png",alt:"[鄙视]"},{url:"211.png",alt:"[阴暗]"},{url:"212.png",alt:"[小鬼]"},{url:"213.png",alt:"[礼物1]"},{url:"214.png",alt:"[拜佛]"},{url:"215.png",alt:"[力量]"},{url:"216.png",alt:"[金钱]"},{url:"217.png",alt:"[蛋糕]"},{url:"218.png",alt:"[彩带]"},{url:"219.png",alt:"[礼物2]"}]],exports.imagesMap=l;
"use strict";const e=require("../../../common/vendor.js"),t=require("../../../libs/chat.js"),s=require("./emoji.js"),i=require("../../../uni_modules/mescroll-uni/components/mescroll-uni/mescroll-mixins.js"),o=require("../../../libs/resources.js"),n=require("../../../store/modules/chat.js").useChatStore(),r=e.index.createInnerAudioContext(),a={mixins:[i.MescrollMixin],name:"im",data:()=>({icon:o.resources.message.nodata,formUserId:"",headIcon:"",name:"",downOption:{auto:!0},upOption:{use:!1,toTop:{src:""}},currentPage:1,pageSize:30,RECORDER:e.index.getRecorderManager(),playMsgid:null,popupLayerClass:"",textFocus:!1,showMore:!1,showEmoji:!1,emojiList:s.emojiList,emojiTree:s.emojiTree,msgList:[],isEnd:!1,isMsgList:!0,isVoice:!1,voiceTis:"按住 说话",recordTis:"手指上滑 取消发送",recording:!1,willStop:!1,initPoint:{identifier:0,Y:0},recordTimer:null,recordLength:0,textMsg:"",msgImageList:[],userId:"",userInfoHeadIcon:""}),computed:{baseURL(){return this.define.baseURL}},watch:{},onLoad(s){let i=e.index.getStorageSync("userInfo");this.userId=i.userId,this.userInfoHeadIcon=i.headIcon,this.formUserId=s.formUserId,this.headIcon=s.headIcon,this.name=s.name,e.index.$on("getMessageList",(e=>{this.getMessageList(e)})),e.index.$on("addMsg",(e=>{this.addMsg(e)})),n.setFormUserId(this.formUserId);const o={method:"UpdateReadMessage",formUserId:this.formUserId,token:e.index.getStorageSync("token")};t.Socket.sendMsg(JSON.stringify(o)),e.index.setNavigationBarTitle({title:s.name}),r.onEnded((e=>{this.playMsgid=null})),this.RECORDER.onStart((e=>{this.recordBegin(e)})),this.RECORDER.onStop((e=>{this.recordEnd(e)}))},onUnload(){e.index.$off("getMessageList"),e.index.$off("addMsg"),n.setFormUserId(""),r.stop()},methods:{getMessageList(t){let s=[];const i=t.list.map((e=>{if("image"===e.contentType&&e.content){let t={};t="string"==typeof e.content?JSON.parse(e.content):e.content,s.push(this.baseURL+t.path)}return this.dealMsg(e)}));this.msgImageList=[...s,...this.msgImageList];let o=this.msgList[0];this.msgList=[...i,...this.msgList],this.msgList.length&&(this.isMsgList=!1),t.list.length<t.pagination.pageSize&&(this.mescroll.lockDownScroll(!0),this.isEnd=!0),this.$nextTick((()=>{if(this.currentPage<=2)this.mescroll.scrollTo(99999,0);else if(o){e.index.createSelectorQuery().select("#msg"+o.id).boundingClientRect((e=>{this.mescroll.scrollTo(e.top-100,0)})).exec()}}))},downCallback(){const s={method:"MessageList",toUserId:this.formUserId,formUserId:this.userId,token:e.index.getStorageSync("token"),currentPage:this.currentPage,pageSize:this.pageSize,sord:"desc"};t.Socket.sendMsg(JSON.stringify(s)),this.currentPage++,this.mescroll.endSuccess()},discard(){},switchVoice(){this.hideDrawer(),this.isVoice=!this.isVoice},openMore(){if(this.showMore)return this.hideDrawer();this.showMore=!0,this.showEmoji=!1,this.openDrawer()},openDrawer(){this.isVoice=!1,this.popupLayerClass="showLayer"},hideDrawer(){this.popupLayerClass="",setTimeout((()=>{this.showMore=!1,this.showEmoji=!1}),150)},textareaFocus(){this.hideDrawer()},chooseEmoji(){if(this.showEmoji)return this.hideDrawer();this.showMore=!1,this.showEmoji=!0,this.openDrawer()},addEmoji(e){this.textMsg+=e.alt},getEmojiUrl:e=>s.imagesMap[e.replace(".","")],chooseImage(t){e.index.chooseImage({sourceType:[t],sizeType:["original","compressed"],success:t=>{this.hideDrawer();for(let s=0;s<t.tempFilePaths.length;s++)e.index.uploadFile({url:this.define.comUploadUrl+"IM",filePath:t.tempFilePaths[s],name:"file",header:{Authorization:e.index.getStorageSync("token")||""},success:i=>{const o=i.data?JSON.parse(i.data):{};if(200!==i.statusCode)return this.$u.toast(o.msg);if(!o.data||!o.data.name)return;const n=o.data.name;e.index.getImageInfo({src:t.tempFilePaths[s],success:t=>{e.wx$1.getFileSystemManager().readFile({filePath:t.path,encoding:"base64",success:e=>{let s={name:n,width:t.width,height:t.height};this.sendMessage(s,"image")}})}})}})}})},addMsg(s){if("receiveMessage"===s.method){const s={method:"UpdateReadMessage",formUserId:this.formUserId,token:e.index.getStorageSync("token")};t.Socket.sendMsg(JSON.stringify(s))}s.id=this.$u.guid(),"text"===s.contentType&&(s.msgContent=this.replaceEmoji(s.content)),"image"===s.contentType&&(this.msgImageList.push(this.baseURL+s.content.path),s.msgContent=this.setPicSize(s.content),s.msgContent.path=this.baseURL+s.content.path),"voice"===s.contentType&&(s.msgContent=s.content),this.msgList.push(s),this.$nextTick((()=>{this.mescroll.scrollTo(99999,0)}))},dealMsg(e){return"text"===e.contentType&&(e.msgContent=this.replaceEmoji(e.content)),"image"===e.contentType&&(e.msgContent=this.setPicSize(JSON.parse(e.content)),e.msgContent.path=this.baseURL+e.msgContent.path),"voice"===e.contentType&&(e.msgContent=JSON.parse(e.content)),e},sendText(){this.textMsg&&(this.hideDrawer(),this.sendMessage(this.textMsg,"text"),this.textMsg="")},sendMessage(s,i){const o={method:"SendMessage",token:e.index.getStorageSync("token"),toUserId:this.formUserId,messageType:i,messageContent:s};t.Socket.sendMsg(JSON.stringify(o)),this.isMsgList=!1},voiceBegin(e){this.RECORDER.stop(),e.touches.length>1||(this.initPoint.Y=e.touches[0].clientY,this.initPoint.identifier=e.touches[0].identifier,this.RECORDER.start({format:"mp3"}))},recordBegin(e){this.recording=!0,this.voiceTis="松开 结束",this.recordLength=0,this.recordTimer=setInterval((()=>{this.recordLength++}),1e3)},voiceCancel(){this.recording=!1,this.voiceTis="按住 说话",this.recordTis="手指上滑 取消发送",this.willStop=!0,this.RECORDER.stop()},voiceIng(t){if(!this.recording)return;let s=t.touches[0];this.initPoint.Y-s.clientY>=e.index.upx2px(100)?(this.willStop=!0,this.recordTis="松开手指 取消发送"):(this.willStop=!1,this.recordTis="手指上滑 取消发送")},voiceEnd(e){this.recording&&(this.recording=!1,this.voiceTis="按住 说话",this.recordTis="手指上滑 取消发送",this.RECORDER.stop())},recordEnd(t){if(!this.willStop){let s=parseInt(this.recordLength/60),i=this.recordLength%60;if(s=s<10?"0"+s:s,i=i<10?"0"+i:i,i<"01")return this.willStop=!0,void this.$u.toast("说话时间太短");e.index.uploadFile({url:this.define.comUploadUrl+"IM",filePath:t.tempFilePath,name:"file",header:{Authorization:e.index.getStorageSync("token")||""},success:e=>{const t=e.data?JSON.parse(e.data):{};if(200!==e.statusCode)return this.$u.toast(t.msg);if(!t.data||!t.data.name)return;let o={name:t.data.name,length:s+":"+i};this.sendMessage(o,"voice")}})}this.willStop=!1},setPicSize(t){let s=e.index.upx2px(350),i=e.index.upx2px(350);if(t.width>s||t.height>i){let e=t.width/t.height;t.width=e>1?s:i*e,t.height=e>1?s/e:i}return t},replaceEmoji(e){let t=e.replace(/\[([^(\]|\[)]*)\]/g,(e=>"jnpfjnpf"+e+"jnpfjnpf")).split(/jnpfjnpfjnpfjnpf|jnpfjnpf/g);t=t.filter((e=>e));let s=[];for(let i=0;i<t.length;i++){let e={content:t[i],type:"emjio"};if(/\[([^(\]|\[)]*)\]/.test(t[i])){let s="";for(let e=0;e<this.emojiList.length;e++){let o=this.emojiList[e];if(o.alt==t[i]){s=this.getEmojiUrl(o.url);break}}e={content:s,type:"emjio"}}else e={content:t[i],type:"text"};s.push(e)}return s},showPic(t){e.index.previewImage({indicator:"none",current:t,urls:this.msgImageList})},playVoice(e){r.stop(),r.src=this.baseURL+e.msgContent.path,null!=this.playMsgid&&this.playMsgid==e.id?(this.$nextTick((()=>{r.stop()})),this.playMsgid=null):(this.$nextTick((()=>{r.play()})),this.playMsgid=e.id)}}};if(!Array){(e.resolveComponent("u-avatar")+e.resolveComponent("mescroll-body"))()}Math||((()=>"../../../uni_modules/vk-uview-ui/components/u-avatar/u-avatar.js")+(()=>"../../../uni_modules/mescroll-uni/components/mescroll-body/mescroll-body.js"))();const c=e._export_sfc(a,[["render",function(t,s,i,o,n,r){return e.e({a:n.isEnd&&!n.isMsgList},(n.isEnd&&n.isMsgList,{}),{b:n.isMsgList},n.isMsgList?{c:n.icon}:{},{d:e.f(n.msgList,((t,s,i)=>e.e({a:n.userId===t.sendUserId},n.userId===t.sendUserId?{b:"5a7c2c46-1-"+i+",5a7c2c46-0",c:e.p({src:r.baseURL+n.userInfoHeadIcon,size:"80"})}:{d:"5a7c2c46-2-"+i+",5a7c2c46-0",e:e.p({src:r.baseURL+n.headIcon,size:"80"})},{f:"text"===t.contentType},"text"===t.contentType?{g:e.f(t.msgContent,((t,s,i)=>e.e({a:"text"==t.type},"text"==t.type?{b:e.t(t.content)}:{},{c:"emjio"==t.type},"emjio"==t.type?{d:t.content}:{},{e:s})))}:{},{h:"image"==t.contentType},"image"==t.contentType?{i:t.msgContent.path,j:t.msgContent.width+"px",k:t.msgContent.height+"px",l:e.o((e=>r.showPic(t.msgContent.path)),s)}:{},{m:"voice"===t.contentType},"voice"===t.contentType?{n:e.t(t.msgContent.length),o:e.o((e=>r.playVoice(t)),s),p:e.n(n.playMsgid==t.id?"play":"")}:{},{q:s,r:"msg"+t.id,s:e.n(n.userId===t.sendUserId?"msg-list-item-r":"msg-list-item-l")}))),e:e.sr("mescrollRef","5a7c2c46-0"),f:e.o(t.mescrollInit),g:e.o(r.downCallback),h:e.p({bottom:"50%",down:n.downOption,up:n.upOption}),i:e.o(((...e)=>r.hideDrawer&&r.hideDrawer(...e))),j:e.o(((...e)=>r.chooseEmoji&&r.chooseEmoji(...e))),k:e.n(n.isVoice?"jianpan":"yuyin"),l:e.o(((...e)=>r.switchVoice&&r.switchVoice(...e))),m:e.t(n.voiceTis),n:e.n(n.isVoice?"":"hidden"),o:e.n(n.recording?"recording":""),p:e.o(((...e)=>r.voiceBegin&&r.voiceBegin(...e))),q:e.o(((...e)=>r.voiceIng&&r.voiceIng(...e))),r:e.o(((...e)=>r.voiceEnd&&r.voiceEnd(...e))),s:e.o(((...e)=>r.voiceCancel&&r.voiceCancel(...e))),t:!n.isVoice},n.isVoice?{}:{v:e.o(((...e)=>r.textareaFocus&&r.textareaFocus(...e))),w:n.textFocus,x:n.textMsg,y:e.o((e=>n.textMsg=e.detail.value))},{z:e.o(((...e)=>r.openMore&&r.openMore(...e))),A:!n.isVoice},n.isVoice?{}:{B:e.o(((...e)=>r.sendText&&r.sendText(...e)))},{C:e.n(n.popupLayerClass),D:e.o(((...e)=>r.discard&&r.discard(...e))),E:e.f(n.emojiTree,((t,s,i)=>({a:e.f(t,((t,s,i)=>({a:r.getEmojiUrl(t.url),b:s,c:e.o((e=>r.addEmoji(t)),s)}))),b:s}))),F:n.showEmoji,G:e.o((e=>r.chooseImage("album"))),H:e.o((e=>r.chooseImage("camera"))),I:n.showMore,J:e.n(n.popupLayerClass),K:e.o(((...e)=>r.discard&&r.discard(...e))),L:e.n(n.willStop?"hidden":""),M:e.n(n.willStop?"":"hidden"),N:e.t(n.recordTis),O:e.n(n.willStop?"change":""),P:e.n(n.recording?"":"hidden")})}]]);wx.createPage(c);
{
"navigationBarTitleText": "",
"usingComponents": {
"u-avatar": "../../../uni_modules/vk-uview-ui/components/u-avatar/u-avatar",
"mescroll-body": "../../../uni_modules/mescroll-uni/components/mescroll-body/mescroll-body"
}
}
\ No newline at end of file
<view class="im-v"><view bindtap="{{i}}"><mescroll-body wx:if="{{h}}" class="r" u-s="{{['d']}}" u-r="mescrollRef" bindinit="{{f}}" binddown="{{g}}" u-i="5a7c2c46-0" bind:__l="__l" u-p="{{h}}"><view wx:if="{{a}}" class="msg-end">没有更多消息了</view><view wx:if="{{b}}" class="notData-box u-flex-col"><view class="u-flex-col notData-inner"><image src="{{c}}" class="iconImg"></image><text class="notData-inner-text">暂无聊天记录</text></view></view><view class="msg-list"><view wx:for="{{d}}" wx:for-item="msg" wx:key="q" id="{{msg.r}}" class="{{['msg-list-item', msg.s]}}"><view wx:if="{{msg.a}}" class="avatar"><u-avatar wx:if="{{msg.c}}" u-i="{{msg.b}}" bind:__l="__l" u-p="{{msg.c}}"></u-avatar></view><view wx:else class="avatar"><u-avatar wx:if="{{msg.e}}" u-i="{{msg.d}}" bind:__l="__l" u-p="{{msg.e}}"></u-avatar></view><view wx:if="{{msg.f}}" class="msg-text"><view wx:for="{{msg.g}}" wx:for-item="item" wx:key="e"><text wx:if="{{item.a}}" class="msg-text-txt">{{item.b}}</text><image wx:if="{{item.c}}" class="msg-text-emoji" src="{{item.d}}"/></view></view><view wx:if="{{msg.h}}" class="msg-img" bindtap="{{msg.l}}"><image lazy-load="true" src="{{msg.i}}" style="{{'width:' + msg.j + ';' + ('height:' + msg.k)}}"></image></view><view wx:if="{{msg.m}}" bindtap="{{msg.o}}" class="{{['msg-text', 'msg-voice', msg.p]}}"><view class="length">{{msg.n}}</view><view class="icon my-voice"></view></view></view></view></mescroll-body></view><view class="{{['input-box', C]}}" catchtouchmove="{{D}}"><view class="input-box-icon icon biaoqing" bindtap="{{j}}"></view><view class="{{['input-box-icon', 'icon', k]}}" bindtap="{{l}}"></view><view class="{{['voice-mode', n, o]}}" bindtouchstart="{{p}}" catchtouchmove="{{q}}" bindtouchend="{{r}}" bindtouchcancel="{{s}}">{{m}}</view><view wx:if="{{t}}" class="text-mode"><view class="input-area"><block wx:if="{{r0}}"><textarea auto-height cursor-spacing="{{8}}" maxlength="500" bindfocus="{{v}}" focus="{{w}}" value="{{x}}" bindinput="{{y}}"/></block></view></view><view class="input-box-icon icon add" bindtap="{{z}}"></view><view wx:if="{{A}}" class="send-btn" bindtap="{{B}}">发送</view></view><view class="{{['popup-layer', 'u-border-top', J]}}" catchtouchmove="{{K}}"><swiper class="emoji-swiper" indicator-dots="true" duration="150" hidden="{{!F}}"><swiper-item wx:for="{{E}}" wx:for-item="page" wx:key="b"><view wx:for="{{page.a}}" wx:for-item="em" wx:key="b" bindtap="{{em.c}}" class="emoji-item"><image mode="widthFix" src="{{em.a}}" class="emoji-item-img"></image></view></swiper-item></swiper><view class="more-layer" hidden="{{!I}}"><view class="list"><view class="box" bindtap="{{G}}"><text class="icon tupian2"></text></view><view class="box" bindtap="{{H}}"><text class="icon paizhao"></text></view></view></view></view><view class="{{['record', P]}}"><view class="{{['ing', L]}}"><view class="icon luyin2"></view></view><view class="{{['cancel', M]}}"><view class="icon chehui"></view></view><view class="{{['tis', O]}}">{{N}}</view></view></view>
\ No newline at end of file
@font-face{font-family:HMfont-home;src:url(data:application/x-font-woff2;charset=utf-8;base64,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) format("woff2")}.icon{font-family:HMfont-home!important;font-size:56rpx;font-style:normal;color:#333}.icon.biaoqing:before{content:"\e797"}.icon.jianpan:before{content:"\e7b2"}.icon.yuyin:before{content:"\e805"}.icon.tupian:before{content:"\e639"}.icon.chehui:before{content:"\e904"}.icon.luyin:before{content:"\e905"}.icon.luyin2:before{content:"\e677"}.icon.other-voice:before{content:"\e667"}.icon.my-voice:before{content:"\e906"}.icon.hongbao:before{content:"\e626"}.icon.tupian2:before{content:"\e674"}.icon.paizhao:before{content:"\e63e"}.icon.add:before{content:"\e655"}.icon.close:before{content:"\e607"}.icon.to:before{content:"\e675"}page{background-color:#f0f2f6}.im-v .notData-box{width:100%;height:100%;justify-content:center;align-items:center;padding-top:400rpx}.im-v .notData-box .notData-inner{width:280rpx;height:308rpx;align-items:center}.im-v .notData-box .notData-inner .iconImg{width:100%;height:100%}.im-v .notData-box .notData-inner .notData-inner-text{padding:30rpx 0;color:#909399}.im-v .msg-end{padding:40rpx 0;font-size:28rpx;text-align:center;color:#999}.im-v .hidden{display:none!important}.im-v .popup-layer{transition:all .15s linear;width:100%;height:42vw;padding:20rpx 2%;background-color:#f2f2f2;position:fixed;z-index:20;top:100%}.im-v .popup-layer.showLayer{transform:translate3d(0,-42vw,0)}.im-v .popup-layer .emoji-swiper{height:40vw}.im-v .popup-layer .emoji-swiper swiper-item{display:flex;align-content:flex-start;flex-wrap:wrap}.im-v .popup-layer .emoji-swiper swiper-item .emoji-item{width:12vw;height:12vw;display:flex;justify-content:center;align-items:center}.im-v .popup-layer .emoji-swiper swiper-item .emoji-item .emoji-item-img{width:8.4vw;height:8.4vw}.im-v .popup-layer .more-layer{width:100%;height:42vw}.im-v .popup-layer .more-layer .list{width:100%;display:flex;flex-wrap:wrap}.im-v .popup-layer .more-layer .list .box{width:18vw;height:18vw;border-radius:20rpx;background-color:#fff;display:flex;justify-content:center;align-items:center;margin:0 3vw 2vw}.im-v .popup-layer .more-layer .list .box .icon{font-size:70rpx}.im-v .input-box{width:100%;box-sizing:border-box;min-height:80rpx;padding:24rpx 32rpx;background-color:#f2f2f2;display:flex;align-items:flex-end;position:fixed;z-index:20;bottom:0;transition:all .15s linear}.im-v .input-box.showLayer{transform:translate3d(0,-42vw,0)}.im-v .input-box .input-box-icon{flex-shrink:0;height:56rpx;width:56rpx;margin-bottom:6rpx;margin-right:16rpx}.im-v .input-box .input-box-icon.add{margin-right:0}.im-v .input-box .send-btn{flex-shrink:0;width:90rpx;margin-bottom:6rpx;height:56rpx;line-height:56rpx;background:#339aff;color:#fff;border-radius:6rpx;font-size:24rpx;text-align:center;margin-left:16rpx}.im-v .input-box .voice-mode{flex:1;height:68rpx;border-radius:16rpx;display:flex;justify-content:center;align-items:center;font-size:28rpx;background-color:#fff;color:#555;margin-right:16rpx}.im-v .input-box .voice-mode.recording{background-color:#e5e5e5}.im-v .input-box .text-mode{flex:1;min-height:68rpx;display:flex;background-color:#fff;border-radius:16rpx;margin-right:16rpx}.im-v .input-box .text-mode .input-area{width:100%;padding:16rpx;display:flex;align-items:center;max-height:100rpx;overflow-y:scroll}.im-v .input-box .text-mode .input-area textarea{width:100%;font-size:28rpx}.im-v .record{width:40vw;height:40vw;position:fixed;top:55%;left:30%;background-color:rgba(0,0,0,.6);border-radius:20rpx}.im-v .record .ing{width:100%;height:30vw;display:flex;justify-content:center;align-items:center}@keyframes volatility{0%{background-position:0% 130%}20%{background-position:0% 150%}30%{background-position:0% 155%}40%{background-position:0% 150%}50%{background-position:0% 145%}70%{background-position:0% 150%}80%{background-position:0% 155%}90%{background-position:0% 140%}to{background-position:0% 135%}}.im-v .record .ing .icon{background-image:linear-gradient(to bottom,#f09b37,#fff 50%);background-size:100% 200%;animation:volatility 1.5s ease-in-out -1.5s infinite alternate;-webkit-background-clip:text;-webkit-text-fill-color:transparent;font-size:150rpx;color:#f09b37}.im-v .record .cancel{width:100%;height:30vw;display:flex;justify-content:center;align-items:center}.im-v .record .cancel .icon{color:#fff;font-size:150rpx}.im-v .record .tis{width:100%;height:10vw;display:flex;justify-content:center;font-size:28rpx;color:#fff}.im-v .record .tis.change{color:#f09b37}.im-v .msg-list{padding:0 24rpx}.im-v .msg-list .msg-list-item{display:flex;align-items:flex-start;padding:20rpx 0}.im-v .msg-list .msg-list-item.msg-list-item-l{flex-direction:row}.im-v .msg-list .msg-list-item.msg-list-item-l .avatar{flex-shrink:0;width:80rpx;height:80rpx;margin-right:20rpx}.im-v .msg-list .msg-list-item.msg-list-item-r{flex-direction:row-reverse}.im-v .msg-list .msg-list-item.msg-list-item-r .avatar{flex-shrink:0;width:80rpx;height:80rpx;margin-left:20rpx}.im-v .msg-list .msg-list-item .msg-text{max-width:70%;min-height:50rpx;border-radius:4rpx 30rpx 30rpx;padding:16rpx 32rpx;display:flex;align-items:center;font-size:32rpx;word-break:break-word;flex-wrap:wrap;background-color:#fff;color:#303133}.im-v .msg-list .msg-list-item .msg-text .msg-text-txt{font-size:32rpx;line-height:48rpx}.im-v .msg-list .msg-list-item .msg-text .msg-text-emoji{vertical-align:top;width:48rpx;height:48rpx;display:inline-block}.im-v .msg-list .msg-list-item .msg-img{background-color:transparent;padding:0;overflow:hidden}.im-v .msg-list .msg-list-item .msg-img image{max-width:350rpx;max-height:350rpx;border-radius:16rpx}.im-v .msg-list .msg-list-item .msg-voice .icon{font-size:40rpx;display:flex;align-items:center}.im-v .msg-list .msg-list-item .msg-voice .icon:after{content:" ";width:53rpx;height:53rpx;border-radius:100%;position:absolute;box-sizing:border-box}.im-v .msg-list .msg-list-item .msg-voice .length{font-size:28rpx}@keyframes my-play{0%{transform:translate(80%)}to{transform:translate(0)}}.im-v .msg-list .msg-list-item .msg-voice.play .icon:after{border-left:solid 10rpx rgba(186,230,253,.8);animation:my-play 1s linear infinite}
"use strict";const e=require("../../../common/vendor.js"),t=require("../../../api/message.js"),s=require("../../../libs/resources.js"),i=require("../../../uni_modules/mescroll-uni/components/mescroll-uni/mescroll-mixins.js"),o=require("../../../store/modules/chat.js").useChatStore(),a={mixins:[i.MescrollMixin],data:()=>({offset:[5,8],downOption:{use:!0,auto:!0},upOption:{page:{num:0,size:20,time:null},empty:{use:!0,icon:s.resources.message.nodata,tip:"暂无数据",fixed:!0,top:"300rpx"},textNoMore:"没有更多数据"},keyword:"",type:"",list:[],current:0,tablist:[{name:"全部",count:0},{name:"系统",count:0},{name:"流程",count:0},{name:"公告",count:0},{name:"日程",count:0}],status:"未读",isRead:0,statusOptions:[{text:"全部"},{text:"未读"},{text:"已读"}],showAction:!1,statusBarHeight:""}),onLoad(e){this.getUnReadMsgNum(),this.getStatusBarHeight()},methods:{back(){history.back()},upCallback(e){let s={currentPage:e.num,pageSize:e.size,keyword:this.keyword,type:this.type,isRead:this.isRead};t.getMessageList(s,{load:1==e.num}).then((t=>{this.mescroll.endSuccess(t.data.list.length),1==e.num&&(this.list=[]);const s=t.data.list;this.list=this.list.concat(s)})).catch((()=>{this.mescroll.endErr()}))},getUnReadMsgNum(){t.getUnReadMsgNum().then((e=>{const t=e.data;for(var s=0;s<this.tablist.length;s++){const e=this.tablist[s];"全部"==e.name&&(e.count=t.unReadNum),"系统"==e.name&&(e.count=t.unReadSystemMsg),"流程"==e.name&&(e.count=t.unReadMsg),"公告"==e.name&&(e.count=t.unReadNotice),"日程"==e.name&&(e.count=t.unReadSchedule)}o.setMsgInfoNum(Number(t.unReadNum))}))},search(){this.searchTimer&&clearTimeout(this.searchTimer),this.searchTimer=setTimeout((()=>{this.list=[],this.mescroll.resetUpScroll()}),300)},tabChange(e){this.current=e,0==e&&(this.type=""),1==e&&(this.type=3),2==e&&(this.type=2),3==e&&(this.type=1),4==e&&(this.type=4),this.list=[],this.mescroll.resetUpScroll()},handleClick(e){0==e?(this.status="全部",this.isRead=""):1==e?(this.status="未读",this.isRead=0):(this.status="已读",this.isRead=1),this.list=[],this.mescroll.resetUpScroll()},getStatusBarHeight(){let t=this;e.wx$1.getSystemInfo({success:function(e){t.statusBarHeight=e.statusBarHeight}})},readAll(){const s={keyword:this.keyword,type:this.type,isRead:this.isRead};t.MessageAllRead(s).then((t=>{if(0===this.isRead)this.list=[],this.mescroll.resetUpScroll();else for(let e=0;e<this.list.length;e++)this.$set(this.list[e],"isRead","1");this.getUnReadMsgNum(),e.index.showToast({title:t.msg,icon:"none"})}))},detail(s){"1"==s.type||"3"==s.type?(s.isRead||(s.isRead=1,o.setMsgInfoNum(),e.index.$on("initUnReadMsgNum",(()=>{this.getUnReadMsgNum()}))),e.index.navigateTo({url:"/pages/message/messageDetail/index?id="+s.id})):t.getMessageDetail(s.id).then((i=>{s.isRead||(s.isRead=1,o.setMsgInfoNum(),this.$nextTick((()=>{this.getUnReadMsgNum()})));let a=i.data.bodyText?JSON.parse(i.data.bodyText):{};if(4==s.type){if(3==a.type)return;let t=a.groupId||"";return void e.index.navigateTo({url:"/pages/portal/schedule/detail?groupId="+t+"&id="+a.id})}let n={id:a.processId,enCode:a.enCode,flowId:a.flowId,formType:a.formType,opType:1==a.type?0:2==a.type?1:a.type,taskNodeId:a.taskNodeId,taskId:a.taskOperatorId,fullName:i.data.title,status:a.status};if(1==s.flowType)2==a.type?t.checkInfo(a.taskOperatorId).then((t=>{t.data&&t.data.isCheck&&(n.opType=3),setTimeout((()=>{e.index.navigateTo({url:"/pages/workFlow/flowBefore/index?config="+this.jnpf.base64.encode(JSON.stringify(n))})}),300)})).catch((e=>{})):e.index.navigateTo({url:"/pages/workFlow/flowBefore/index?config="+this.jnpf.base64.encode(JSON.stringify(n))});else{let t="/pages/workFlow/entrust/index";t=1==a.type?t+"?index=1":t+"?index=2",e.index.navigateTo({url:t})}}))}}};if(!Array){(e.resolveComponent("u-navbar")+e.resolveComponent("u-search")+e.resolveComponent("u-tabs")+e.resolveComponent("uni-icons")+e.resolveComponent("mescroll-body")+e.resolveComponent("u-action-sheet"))()}Math||((()=>"../../../uni_modules/vk-uview-ui/components/u-navbar/u-navbar.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-search/u-search.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-tabs/u-tabs.js")+(()=>"../../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../../uni_modules/mescroll-uni/components/mescroll-body/mescroll-body.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-action-sheet/u-action-sheet.js"))();const n=e._export_sfc(a,[["render",function(t,s,i,o,a,n){return{a:e.o(((...e)=>n.readAll&&n.readAll(...e))),b:e.o(n.search),c:e.o((e=>a.keyword=e)),d:e.p({placeholder:"请输入关键词搜索",height:"72","show-action":!1,"bg-color":"#f0f2f6",shape:"square",modelValue:a.keyword}),e:e.o(n.tabChange),f:e.p({list:a.tablist,current:a.current,offset:a.offset}),g:e.p({type:"bottom",size:"16",color:"#3C3C3C"}),h:e.o((e=>a.showAction=!0)),i:a.statusBarHeight+44+"px",j:e.f(a.list,((s,i,o)=>e.e({a:1==s.type},(1==s.type||3==s.type||s.type,{}),{b:3==s.type,c:4==s.type,d:!s.isRead},(s.isRead,{}),{e:2==s.type?1:"",f:3==s.type?1:"",g:4==s.type?1:"",h:e.t(s.title),i:e.t(s.releaseUser),j:e.t(s.releaseTime?t.$u.timeFormat(s.releaseTime,"mm-dd hh:MM"):""),k:i,l:e.o((e=>n.detail(s)),i)}))),k:e.sr("mescrollRef","4c429de3-4"),l:e.o(t.mescrollInit),m:e.o(t.downCallback),n:e.o(n.upCallback),o:e.p({down:a.downOption,up:a.upOption,bottombar:!1}),p:e.o(n.handleClick),q:e.o((e=>a.showAction=e)),r:e.p({list:a.statusOptions,modelValue:a.showAction})}}],["__scopeId","data-v-4c429de3"]]);wx.createPage(n);
{
"navigationBarTitleText": "站内消息",
"navigationStyle": "custom",
"navigationBarTextStyle": "white",
"usingComponents": {
"u-navbar": "../../../uni_modules/vk-uview-ui/components/u-navbar/u-navbar",
"u-search": "../../../uni_modules/vk-uview-ui/components/u-search/u-search",
"u-tabs": "../../../uni_modules/vk-uview-ui/components/u-tabs/u-tabs",
"uni-icons": "../../../uni_modules/uni-icons/components/uni-icons/uni-icons",
"mescroll-body": "../../../uni_modules/mescroll-uni/components/mescroll-body/mescroll-body",
"u-action-sheet": "../../../uni_modules/vk-uview-ui/components/u-action-sheet/u-action-sheet"
}
}
\ No newline at end of file
<view class="message-v data-v-4c429de3"><u-navbar class="data-v-4c429de3" u-s="{{['d']}}" u-i="4c429de3-0" bind:__l="__l"><view class="slot-wrap data-v-4c429de3"><view class="title data-v-4c429de3">站内消息</view><view class="nav-icon data-v-4c429de3" bindtap="{{a}}"><text class="icon-ym icon-ym-clean data-v-4c429de3"/></view></view></u-navbar><view class="sticky-box data-v-4c429de3" style="{{'top:' + i}}"><view class="search-box search-box_sticky data-v-4c429de3"><u-search wx:if="{{d}}" class="data-v-4c429de3" bindchange="{{b}}" u-i="4c429de3-1" bind:__l="__l" bindupdateModelValue="{{c}}" u-p="{{d}}"></u-search></view><view class="sticky-box-tabs data-v-4c429de3"><view class="tabs-box data-v-4c429de3"><u-tabs wx:if="{{f}}" class="u-tab-box data-v-4c429de3" bindchange="{{e}}" u-i="4c429de3-2" bind:__l="__l" u-p="{{f}}"></u-tabs></view><view class="status-box data-v-4c429de3"><view class="status-icon data-v-4c429de3" bindtap="{{h}}"><uni-icons wx:if="{{g}}" class="data-v-4c429de3" u-i="4c429de3-3" bind:__l="__l" u-p="{{g}}"></uni-icons></view></view></view></view><mescroll-body wx:if="{{o}}" class="r data-v-4c429de3" u-s="{{['d']}}" u-r="mescrollRef" bindinit="{{l}}" binddown="{{m}}" bindup="{{n}}" u-i="4c429de3-4" bind:__l="__l" u-p="{{o}}"><view class="message-list data-v-4c429de3"><view wx:for="{{j}}" wx:for-item="item" wx:key="k" class="u-flex message-item u-border-bottom data-v-4c429de3" bindtap="{{item.l}}"><view class="{{['message-item-img', 'message-item-icon', 'u-flex', 'u-row-center', 'data-v-4c429de3', item.e && 'message-item-icon-flow', item.f && 'message-notice-icon', item.g && 'message-schedule']}}"><text wx:if="{{item.a}}" class="icon-ym icon-ym-xitong data-v-4c429de3"/><text wx:elif="{{item.b}}" class="icon-ym icon-ym-generator-notice data-v-4c429de3"/><text wx:elif="{{item.c}}" class="icon-ym icon-ym-portal-schedule data-v-4c429de3"/><text wx:else class="icon-ym icon-ym-generator-flow data-v-4c429de3"/><text wx:if="{{item.d}}" class="redDot data-v-4c429de3"></text></view><view class="message-item-txt data-v-4c429de3"><view class="message-item-title u-flex data-v-4c429de3"><text class="title u-line-1 data-v-4c429de3">{{item.h}}</text></view><view class="u-flex u-row-between message-item-cell data-v-4c429de3"><text class="data-v-4c429de3">{{item.i}}</text><text class="u-font-24 data-v-4c429de3">{{item.j}}</text></view></view></view></view></mescroll-body><u-action-sheet wx:if="{{r}}" class="data-v-4c429de3" bindclick="{{p}}" u-i="4c429de3-5" bind:__l="__l" bindupdateModelValue="{{q}}" u-p="{{r}}"></u-action-sheet></view>
\ No newline at end of file
.message-v.data-v-4c429de3{background:#eef0f4}.message-v.data-v-4c429de3 .u-border-bottom:after{border-bottom-width:0px}.message-v .slot-wrap.data-v-4c429de3{display:flex;align-items:center;justify-content:center;position:absolute;left:41px;right:41px;width:100%}.message-v .slot-wrap .title.data-v-4c429de3{font-size:32rpx;font-weight:700}.message-v .slot-wrap .nav-icon.data-v-4c429de3{width:48rpx;height:48rpx;margin-top:4rpx;margin-left:22rpx;background:#f0f2f6;border-radius:50%;display:flex;align-items:center;justify-content:center}.message-v .slot-wrap .nav-icon text.data-v-4c429de3{font-size:32rpx}.message-v .message-schedule.data-v-4c429de3{background-color:#77f!important}.message-v .sticky-box.data-v-4c429de3{height:100%;position:-webkit-sticky;position:sticky;z-index:100}.message-v .sticky-box-tabs.data-v-4c429de3{width:100%;display:flex;flex-direction:row;margin-bottom:20rpx;background-color:#fff;border-bottom:1rpx solid #eef0f4;height:106rpx;align-items:center}.message-v .sticky-box-tabs .tabs-box.data-v-4c429de3{width:90%}.message-v .sticky-box-tabs .status-box.data-v-4c429de3{width:10%;text-align:center;padding:28rpx 18rpx}.message-v .sticky-box-tabs .status-box .status-title.data-v-4c429de3{flex-shrink:0;color:#999;font-size:28rpx}.message-v .sticky-box-tabs .status-box .status-icon.data-v-4c429de3{width:100%;align-items:center;font-size:24rpx}.message-v .sticky-box-tabs .status-box .status-input.data-v-4c429de3{flex:1}.message-v .message-list.data-v-4c429de3{padding:0 20rpx;background-color:#fff}.message-v .message-list .message-item.data-v-4c429de3{height:132rpx}.message-v .message-list .message-item .message-item-icon-flow.data-v-4c429de3{background-color:#33cc51!important}.message-v .message-list .message-item .message-notice-icon.data-v-4c429de3{background-color:#e09f0c!important}.message-v .message-list .message-item .message-item-img.data-v-4c429de3{width:96rpx;height:96rpx;margin-right:16rpx;flex-shrink:0;border-radius:50%;background-color:#3b87f7;position:relative}.message-v .message-list .message-item .message-item-img .icon-ym.data-v-4c429de3{color:#fff;font-size:50rpx}.message-v .message-list .message-item .message-item-img .redDot.data-v-4c429de3{height:16rpx;width:16rpx;border-radius:50%;background:#fe5146;display:inline-block;flex-shrink:0;position:absolute;right:2rpx;top:2rpx}.message-v .message-list .message-item .message-item-txt.data-v-4c429de3{width:calc(100% - 112rpx)}.message-v .message-list .message-item .message-item-txt .message-item-title.data-v-4c429de3{line-height:46rpx;margin-bottom:6rpx}.message-v .message-list .message-item .message-item-txt .message-item-title .title.data-v-4c429de3{font-size:28rpx}.message-v .message-list .message-item .message-item-txt .message-item-cell.data-v-4c429de3{color:#909399;font-size:24rpx}
"use strict";const e=require("../../../common/vendor.js"),i=require("../../../api/message.js");require("../../../utils/request.js");const t=["png","jpg","jpeg","bmp","gif"],n={data:()=>({info:{},fileList:[]}),computed:{baseURL(){return this.define.baseURL}},onLoad(e){this.initDetail(e.id)},methods:{initDetail(t){i.getMessageDetail(t).then((i=>{this.info=i.data,this.fileList=JSON.parse(this.info.files),e.index.$emit("initUnReadMsgNum")}))},previewImage(i){if(!i.url)return;const t=this.baseURL+i.url;e.index.previewImage({urls:[t],current:t,success:()=>{},fail:()=>{e.index.showToast({title:"预览图片失败",icon:"none"})}})},openFile(e){if(e.fileExtension&&t.includes(e.fileExtension))return this.previewImage(e);this.previewFile(e)},previewFile(i){let t=i.url;e.index.downloadFile({url:this.baseURL+t,success:i=>{var t=i.tempFilePath;e.index.openDocument({filePath:encodeURI(t),success:e=>{console.log("打开文档成功")}})}})}}};if(!Array){(e.resolveComponent("mp-html")+e.resolveComponent("u-icon"))()}Math||((()=>"../../../uni_modules/mp-html/components/mp-html/mp-html.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-icon/u-icon.js"))();const s=e._export_sfc(n,[["render",function(i,t,n,s,o,r){return e.e({a:e.t(o.info.title),b:e.t(o.info.releaseUser),c:e.t(o.info.releaseTime?i.$u.timeFormat(o.info.releaseTime,"yyyy-mm-dd hh:MM:ss"):""),d:o.info.excerpt},o.info.excerpt?{e:e.t(o.info.excerpt)}:{},{f:e.p({content:o.info.bodyText}),g:e.f(o.fileList,((i,t,n)=>({a:"07b3f4ec-1-"+n,b:e.t(i.name),c:e.o((e=>r.openFile(i)),t),d:"07b3f4ec-2-"+n,e:t}))),h:e.p({name:"attach",color:"#969799"}),i:e.p({name:"download",color:"#969799"})})}]]);wx.createPage(s);
{
"navigationBarTitleText": "详情",
"usingComponents": {
"mp-html": "../../../uni_modules/mp-html/components/mp-html/mp-html",
"u-icon": "../../../uni_modules/vk-uview-ui/components/u-icon/u-icon"
}
}
\ No newline at end of file
<view class="messageDetail-v u-p-l-20 u-p-r-20"><view class="u-flex-col u-border-bottom u-p-b-40 u-m-b-40"><text class="u-m-b-16 u-font-32 txt">{{a}}</text><view><text class="releaseUser u-font-24">{{b}}</text><text class="releaseUser u-font-24 u-m-l-16">{{c}}</text></view></view><view wx:if="{{d}}" class="u-p-b-16 excerpt">{{e}}</view><view class="messageDetail-content u-p-b-20"><mp-html wx:if="{{f}}" u-i="07b3f4ec-0" bind:__l="__l" u-p="{{f}}"/></view><view class="file-box"><view wx:for="{{g}}" wx:for-item="item" wx:key="e" class="file-list u-flex"><view class="file-list-l"><u-icon wx:if="{{h}}" u-i="{{item.a}}" bind:__l="__l" u-p="{{h}}"></u-icon><text class="fileName">{{item.b}}</text></view><u-icon wx:if="{{i}}" bindclick="{{item.c}}" u-i="{{item.d}}" bind:__l="__l" u-p="{{i}}"></u-icon></view></view></view>
\ No newline at end of file
.messageDetail-v .excerpt{word-break:break-all}.messageDetail-v .txt{font-weight:700}.messageDetail-v .messageDetail-content{color:#606266;word-break:break-all}.messageDetail-v .releaseUser{color:#606266}.messageDetail-v .file-box .file-list{margin-top:20rpx;justify-content:space-between}.messageDetail-v .file-box .file-list .file-list-l .fileName{margin-left:10rpx}
"use strict";const e=require("../../../common/vendor.js"),t=require("../../../api/common.js"),a={data:()=>({userData:{},titleStyle:{color:"#303133"},userDetal:{}}),computed:{baseURL(){return this.define.baseURL}},onLoad(e){let t=e.userId;this.getUserDetail(t)},methods:{getUserDetail(a){t.getUesrDetail(a).then((t=>{this.userData=t.data,e.index.setNavigationBarTitle({title:"联系人"})}))},call(){this.userData.mobilePhone&&e.index.makePhoneCall({phoneNumber:this.userData.mobilePhone})},toIm(){const t=this.userData,a=t.realName+"/"+t.account;e.index.$emit("updateMsgNum",t.id),e.index.navigateTo({url:"/pages/message/im/index?name="+a+"&formUserId="+t.id+"&headIcon="+t.headIcon})}}};if(!Array){(e.resolveComponent("u-avatar")+e.resolveComponent("u-cell-item")+e.resolveComponent("u-cell-group"))()}Math||((()=>"../../../uni_modules/vk-uview-ui/components/u-avatar/u-avatar.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-cell-item/u-cell-item.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-cell-group/u-cell-group.js"))();const l=e._export_sfc(a,[["render",function(t,a,l,i,o,r){return{a:e.p({src:t.define.baseURL+o.userData.headIcon,size:"120"}),b:e.t(o.userData.realName),c:e.t(o.userData.account),d:e.t(o.userData.organizeName),e:e.o((e=>r.call())),f:e.o((e=>r.toIm())),g:e.p({title:"手机号",value:o.userData.mobilePhone||"未填写",arrow:!1,"title-style":o.titleStyle}),h:e.p({title:"座机号",value:o.userData.telePhone||"未填写",arrow:!1,"title-style":o.titleStyle}),i:e.p({title:"邮箱",value:o.userData.email||"未填写",arrow:!1,"title-style":o.titleStyle}),j:e.p({title:"岗位",value:o.userData.positionName||"未填写",arrow:!1,"title-style":o.titleStyle})}}]]);wx.createPage(l);
{
"navigationBarTitleText": "",
"navigationBarTextStyle": "black",
"navigationBarBackgroundColor": "#f0f2f6",
"usingComponents": {
"u-avatar": "../../../uni_modules/vk-uview-ui/components/u-avatar/u-avatar",
"u-cell-item": "../../../uni_modules/vk-uview-ui/components/u-cell-item/u-cell-item",
"u-cell-group": "../../../uni_modules/vk-uview-ui/components/u-cell-group/u-cell-group"
}
}
\ No newline at end of file
<view class="userDetail-v"><view class="userDetail-hd u-flex-col"><view class="u-m-t-60"><u-avatar wx:if="{{a}}" u-i="067a261e-0" bind:__l="__l" u-p="{{a}}"></u-avatar></view><view class="u-m-t-32 u-font-32 name"><text>{{b}}/{{c}}</text></view><view class="u-m-t-20 u-font-24 positionName"><text>{{d}}</text></view><view class="u-m-t-32 u-flex userDetail-hd-btn"><view class="u-m-r-40 btn" bindtap="{{e}}"><text class="ym-custom ym-custom-phone u-font-40"/></view><view class="u-m-l-40 btn" bindtap="{{f}}"><text class="ym-custom ym-custom-comment u-font-40"/></view></view></view><view class="u-p-l-20 u-p-r-20"><u-cell-group u-s="{{['d']}}" u-i="067a261e-1" bind:__l="__l"><u-cell-item wx:if="{{g}}" u-i="067a261e-2,067a261e-1" bind:__l="__l" u-p="{{g}}"></u-cell-item><u-cell-item wx:if="{{h}}" u-i="067a261e-3,067a261e-1" bind:__l="__l" u-p="{{h}}"></u-cell-item><u-cell-item wx:if="{{i}}" u-i="067a261e-4,067a261e-1" bind:__l="__l" u-p="{{i}}"></u-cell-item><u-cell-item wx:if="{{j}}" u-i="067a261e-5,067a261e-1" bind:__l="__l" u-p="{{j}}"></u-cell-item></u-cell-group></view></view>
\ No newline at end of file
.userDetail-v .u-cell{height:112rpx;padding:0}.userDetail-v .u-cell .u-cell__value{color:#606266}.userDetail-v .userDetail-hd{height:482rpx;background-color:#f0f2f6;color:#fff;align-items:center}.userDetail-v .name{color:#303133}.userDetail-v .positionName{color:#909399}.userDetail-v .userDetail-hd-btn .btn{width:84rpx;height:84rpx;border:2rpx solid #606266;border-radius:50%;text-align:center;line-height:80rpx;color:#606266}
"use strict";const s=require("../../../common/vendor.js"),e=require("../../../libs/resources.js"),r=require("../../../common/assets.js"),o={data:()=>({logoSrc:e.resources.banner.loginlogo,copyright:"Copyright © 2024 华中师范大学出品",sysVersion:""}),onLoad(){this.sysVersion=s.index.getStorageSync("sysVersion")||this.define.sysVersion,this.copyright=s.index.getStorageSync("copyright")||"Copyright © 2024 华中师范大学出品"}};const t=s._export_sfc(o,[["render",function(e,o,t,i,n,c){return{a:s.t(n.sysVersion),b:r._imports_0$2,c:s.t(n.copyright)}}]]);wx.createPage(t);
{
"navigationBarTitleText": "关于平台",
"usingComponents": {}
}
\ No newline at end of file
<view class="abouts-v"><view class="head-box u-flex-col"><view class="head-inner"><view class="version">{{a}}</view><image src="{{b}}" mode="widthFix" class="head-img"></image></view></view><view class="content u-p-l-32 u-p-r-32 u-p-t-30 u-font-28"><text>智慧党建</text></view><view class="copyright">{{c}}</view></view>
\ No newline at end of file
.abouts-v .head-box{height:308rpx;background:url(data:image/png;base64,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) center no-repeat;background-size:100% 100%;align-items:center;justify-content:center}.abouts-v .head-box .head-inner{position:relative}.abouts-v .head-box .head-inner .head-img{width:212rpx;height:60rpx;margin-top:20rpx}.abouts-v .head-box .head-inner .version{position:absolute;background-color:#fff;color:#0f5bd2;padding:0 8rpx;border-radius:20rpx 0rpx;top:-34rpx;left:218rpx}.abouts-v .abouts-hd{width:100%;align-items:center;background-color:#3281ff;height:280rpx;color:#fff;padding-top:20rpx}.abouts-v .abouts-hd image{width:160rpx;height:160rpx}.abouts-v .content{line-height:48rpx}
"use strict";const e=require("../../../common/vendor.js"),o={data:()=>({}),methods:{openPage(o){e.index.navigateTo({url:o})}}};if(!Array){(e.resolveComponent("u-cell-item")+e.resolveComponent("u-cell-group"))()}Math||((()=>"../../../uni_modules/vk-uview-ui/components/u-cell-item/u-cell-item.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-cell-group/u-cell-group.js"))();const n=e._export_sfc(o,[["render",function(o,n,t,u,l,i){return{a:e.o((e=>i.openPage("/pages/my/cancellation/index"))),b:e.p({title:"注销账号"})}}]]);wx.createPage(n);
{
"navigationBarTitleText": "账号安全",
"usingComponents": {
"u-cell-item": "../../../uni_modules/vk-uview-ui/components/u-cell-item/u-cell-item",
"u-cell-group": "../../../uni_modules/vk-uview-ui/components/u-cell-group/u-cell-group"
}
}
\ No newline at end of file
<view class="accountSecurity-v"><u-cell-group u-s="{{['d']}}" u-i="4a50c5c4-0" bind:__l="__l"><u-cell-item wx:if="{{b}}" bindclick="{{a}}" u-i="4a50c5c4-1,4a50c5c4-0" bind:__l="__l" u-p="{{b}}"></u-cell-item></u-cell-group></view>
\ No newline at end of file
"use strict";const e=require("../../../common/vendor.js"),t=require("../../../api/common.js"),i=require("../../../libs/resources.js"),s=require("../../../store/modules/user.js"),a={data:()=>({value:"",list:[],organizeList:[],majorType:"",icon:i.resources.message.nodata,oldVal:"",show:!0}),onLoad(t){this.majorType=t.majorType,this.getUserOrganizes(this.majorType);let i="Organize"===this.majorType?"我的组织":"我的岗位";e.index.setNavigationBarTitle({title:i})},methods:{getUserOrganizes(e){("Organize"===e?t.getUserOrganizes:t.getUserPositions)().then((e=>{let t=e.data||[];t.length!==[]?(this.organizeList=JSON.parse(JSON.stringify(t)),this.list=this.organizeList,this.list.map((e=>{if(e.isDefault)return this.value=e.id,void(this.oldVal=e.id)})),this.show=this.list.length>0):this.show=this.list.length>0}))},clickRadio(e,t){e.isDefault||this.change(e,t)},change(e,t){this.value=e.id,this.list.map(((e,i)=>{e.isDefault=!1,t===i&&(e.isDefault=!0)})),this.changeMajor(e.id,this.majorType)},changeMajor(e,i){let s={majorId:e,majorType:i};t.setMajor(s).then((t=>{200===t.code&&(this.value=e,this.$u.toast("修改成功"),setTimeout((()=>this.getCurrentUser()),1e3))})).catch((()=>{this.value=this.oldVal}))},getCurrentUser(){s.useUserStore().getCurrentUser().then((()=>{e.index.navigateBack()}))}}};if(!Array){e.resolveComponent("u-icon")()}Math;const r=e._export_sfc(a,[["render",function(t,i,s,a,r,o){return e.e({a:r.show},r.show?{b:e.f(r.list,((t,i,s)=>e.e({a:t.isDefault},t.isDefault?{b:e.t("Organize"===r.majorType?"默认":"主岗"),c:"59a607d5-0-"+s,d:e.p({name:"checkbox-mark",color:"#fff",size:"28"})}:{},{e:e.t(t.fullName),f:i,g:e.n(t.isDefault?"active":""),h:e.o((e=>o.clickRadio(t,i)),i)}))),c:e.n("Organize"===r.majorType?"icon-ym-organization":"icon-ym-wf-outgoingApply")}:{},{d:!r.show},r.show?{}:{e:r.icon})}],["__scopeId","data-v-59a607d5"]]);wx.createPage(r);
{
"navigationBarTitleText": "企业组织",
"usingComponents": {
"u-icon": "../../../uni_modules/vk-uview-ui/components/u-icon/u-icon"
}
}
\ No newline at end of file
<view class="page_v u-flex-col data-v-59a607d5"><block wx:if="{{a}}"><view wx:for="{{b}}" wx:for-item="item" wx:key="f" class="{{['lists_box', 'data-v-59a607d5', item.g]}}" bindtap="{{item.h}}"><view wx:if="{{item.a}}" class="icon-checked-box data-v-59a607d5"><text class="data-v-59a607d5">{{item.b}}</text><view class="icon-checked data-v-59a607d5"><u-icon wx:if="{{item.d}}" class="data-v-59a607d5" u-i="{{item.c}}" bind:__l="__l" u-p="{{item.d}}"></u-icon></view></view><view class="list_inner data-v-59a607d5"><text class="{{['icon-ym', 'data-v-59a607d5', c]}}"></text><text class="txt data-v-59a607d5">{{item.e}}</text></view></view></block><view wx:if="{{d}}" class="notData-box u-flex-col data-v-59a607d5"><view class="u-flex-col notData-inner data-v-59a607d5"><image src="{{e}}" mode="" class="iconImg data-v-59a607d5"></image><text class="notData-inner-text data-v-59a607d5">暂无数据</text></view></view></view>
\ No newline at end of file
page.data-v-59a607d5{background-color:#f0f2f6}.page_v.data-v-59a607d5{height:calc(100vh - 88rpx);padding:0 20rpx}.page_v .notData-box.data-v-59a607d5{width:100%;height:100%;justify-content:center;align-items:center}.page_v .notData-box .notData-inner.data-v-59a607d5{width:280rpx;height:308rpx;align-items:center}.page_v .notData-box .notData-inner .iconImg.data-v-59a607d5{width:100%;height:100%}.page_v .notData-box .notData-inner .notData-inner-text.data-v-59a607d5{padding:30rpx 0;color:#909399}.page_v .active.data-v-59a607d5{border:1rpx solid #2979FF;color:#2979ff}.page_v .active .icon-ym-organization.data-v-59a607d5:before{color:#2979ff!important}.page_v .lists_box.data-v-59a607d5{width:100%;height:180rpx;border-radius:8rpx;position:relative;display:flex;flex-direction:column;justify-content:center;background-color:#fff;margin-top:20rpx}.page_v .lists_box .icon-checked-box.data-v-59a607d5{display:flex;width:140rpx;height:80rpx;position:absolute;transform:scale(.9);right:-4rpx;bottom:-2rpx;flex-direction:row;align-items:center}.page_v .lists_box .icon-checked-box .icon-checked.data-v-59a607d5{width:44rpx;height:44rpx;border:40rpx solid #1890ff;border-left:40rpx solid transparent;border-top:40rpx solid transparent;border-bottom-right-radius:12rpx;position:absolute;transform:scale(.95);right:-8rpx;bottom:-6rpx}.page_v .lists_box .list_inner.data-v-59a607d5{width:100%;display:flex;flex-direction:row;padding:0 40rpx;align-items:center}.page_v .lists_box .list_inner .icon-ym-wf-outgoingApply.data-v-59a607d5:before{margin-right:6rpx;font-size:40rpx}.page_v .lists_box .list_inner .icon-ym-organization.data-v-59a607d5:before{margin-right:6rpx;font-size:40rpx;color:#606266}.page_v .lists_box .list_inner .txt.data-v-59a607d5{width:100%;align-items:flex-end;word-wrap:break-word}
"use strict";const e=require("../../../common/vendor.js"),t=require("../../../api/common.js"),n=require("../../../libs/resources.js"),o={data:()=>({accountSecurity:n.resources.banner.accountSecurity}),computed:{token:()=>e.index.getStorageSync("token"),userInfo:()=>e.index.getStorageSync("userInfo")||{}},methods:{handleClick(){e.index.showModal({title:"提示",content:"您的JNPF账号将被删除,您确定要注销JNPF账号么?",success:n=>{if(n.confirm){if(this.userInfo.isAdministrator)return this.$u.toast("管理员账号不能注销");t.accountCancel(this.token).then((t=>{this.$u.toast(t.msg),setTimeout((()=>{e.index.reLaunch({url:"/pages/login/index"})}),1e3)}))}}})}}};if(!Array){e.resolveComponent("u-button")()}Math;const r=e._export_sfc(o,[["render",function(t,n,o,r,c,s){return{a:c.accountSecurity,b:e.o(s.handleClick),c:e.p({type:"primary"})}}]]);wx.createPage(r);
{
"navigationBarTitleText": "注销账号",
"usingComponents": {
"u-button": "../../../uni_modules/vk-uview-ui/components/u-button/u-button"
}
}
\ No newline at end of file
<view class="cancellation-v"><view class="cancellation-hd"><image src="{{a}}"></image></view><view class="content u-flex-col"><view class="content-text u-flex-col"><text class="content-title u-font-36 u-type-primary">确认注销账户?</text><text class="content-tip u-font-28">注销账户后以下数据将全部清空</text><view class="list u-flex-col u-font-26"><text class="item">企业组织架构和员工信息</text><text class="item">所有数据和聊天记录</text><text class="item">删除和永久注销JNPF账户</text></view></view><view class="btn"><u-button wx:if="{{c}}" u-s="{{['d']}}" bindclick="{{b}}" u-i="24454382-0" bind:__l="__l" u-p="{{c}}">注销账号</u-button></view></view></view>
\ No newline at end of file
.cancellation-v .cancellation-hd{width:100%;height:280rpx}.cancellation-v .cancellation-hd image{width:100%;height:100%}.cancellation-v .content .content-text{justify-content:center;padding:176rpx 0 0 190rpx}.cancellation-v .content .content-title{height:100rpx;font-weight:700}.cancellation-v .content .content-tip{height:80rpx;color:#252b3a}.cancellation-v .content .list .item{margin-bottom:35rpx;color:#666;display:flex;flex-direction:row;align-items:center}.cancellation-v .content .list .item:before{content:"";width:12rpx;height:12rpx;border-radius:50%;background-color:#356efe;margin-right:30rpx}.cancellation-v .content .btn{padding:0 32rpx;width:100%;position:fixed;bottom:40rpx;margin:0 auto}
"use strict";const e=require("../../../common/vendor.js"),o=require("../../../libs/resources.js"),t={data:()=>({contactus:o.resources.banner.contactus,wechat_qrcode:o.resources.common.wechat_qrcode,holidayWorkingHours:"9:30-12:00 ,13:30-17:30",workingHours:"8:30-12:00 ,13:00-20:00",tell:"400-6868-969",url:"https://www.jnpfsoft.com",showPopup:!1,list:[{name:"微信公众号",title:"扫码关注官网微信公众号",icon:"weixin-fill",bcg:"u-type-success-bg"},{name:"服务热线",title:"400-6868-969",icon:"kefu-ermai",bcg:"u-type-warning-bg"},{name:"官方网站",title:"www.jnpfsoft.com",icon:"ie",bcg:"u-type-primary-bg"}],copyright:"Copyright © 2024 华中师范大学出品",show:!1}),onLoad(){e.index.showLoading({title:"加载中"}),this.copyright=e.index.getStorageSync("copyright")||"Copyright © 2024 华中师范大学出品",setTimeout((()=>{e.index.hideLoading(),this.show=!0}),800)},methods:{Jump(o){switch(o){case 0:this.showPopup=!0;break;case 1:e.index.makePhoneCall({phoneNumber:this.tell});break;case 2:e.index.navigateTo({url:"/pages/apply/externalLink/index?fullName=福建引迈信息技术有限公司&url="+encodeURIComponent(this.url)})}},saveImage(e){}}};if(!Array){(e.resolveComponent("u-icon")+e.resolveComponent("u-popup"))()}Math||((()=>"../../../uni_modules/vk-uview-ui/components/u-icon/u-icon.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-popup/u-popup.js"))();const i=e._export_sfc(t,[["render",function(o,t,i,n,s,r){return{a:s.contactus,b:e.f(s.list,((o,t,i)=>({a:"4d9ef056-0-"+i,b:e.p({name:o.icon,color:"#ffffff",size:"54"}),c:e.n(o.bcg),d:e.t(o.name),e:e.t(o.title),f:"4d9ef056-1-"+i,g:e.o((e=>r.Jump(t)),t),h:t}))),c:e.p({name:"arrow-right",color:"#969799",size:"28"}),d:e.t(s.workingHours),e:e.t(s.holidayWorkingHours),f:e.t(s.copyright),g:s.wechat_qrcode,h:s.wechat_qrcode,i:e.o(((...e)=>r.saveImage&&r.saveImage(...e))),j:e.o((e=>s.showPopup=e)),k:e.p({mode:"center",modelValue:s.showPopup}),l:s.show}}]]);wx.createPage(i);
{
"navigationBarTitleText": "联系我们",
"usingComponents": {
"u-icon": "../../../uni_modules/vk-uview-ui/components/u-icon/u-icon",
"u-popup": "../../../uni_modules/vk-uview-ui/components/u-popup/u-popup"
}
}
\ No newline at end of file
<view class="contacts-v" hidden="{{!l}}"><view class="contactusBanner"><image src="{{a}}" mode="widthFix"></image></view><view class="contactus u-flex-col"><view wx:for="{{b}}" wx:for-item="item" wx:key="h" class="u-flex items u-m-b-20" bindtap="{{item.g}}"><view class="{{[item.c, 'items-iconBox', 'u-m-r-50', 'u-padding-15']}}" style=""><u-icon wx:if="{{item.b}}" u-i="{{item.a}}" bind:__l="__l" u-p="{{item.b}}"></u-icon></view><view class="u-flex-col u-flex-1"><text>{{item.d}}</text><text class="againColor">{{item.e}}</text></view><view><u-icon wx:if="{{c}}" u-i="{{item.f}}" bind:__l="__l" u-p="{{c}}"></u-icon></view></view><view class="serviceTime u-flex-col u-p-l-32 u-p-b-20 u-p-t-20"><text class="u-font-xl" type="title">服务时间</text><text class="textSize">工作日:{{d}}</text><text class="textSize">节假日:{{e}}</text></view></view><view class="copyright">{{f}}</view><u-popup wx:if="{{k}}" u-s="{{['d']}}" u-i="4d9ef056-2" bind:__l="__l" bindupdateModelValue="{{j}}" u-p="{{k}}"><view class="center-box"><image class="image" src="{{g}}" data-path="{{h}}" bindlongpress="{{i}}"/></view></u-popup></view>
\ No newline at end of file
page{width:100%;background-color:#f0f2f6}.contacts-v{width:100%}.contacts-v .contactusBanner{width:100%;height:280rpx}.contacts-v .contactusBanner image{width:100%;height:100%}.contacts-v .contactus{margin:18rpx 16rpx 0}.contacts-v .contactus .againColor{color:#909399}.contacts-v .contactus .items{padding:20rpx 32rpx;background-color:#fff;justify-content:start;border-radius:8rpx}.contacts-v .contactus .items .items-iconBox{border-radius:50%;height:88rpx;width:88rpx;display:flex;align-items:center;justify-content:center}.contacts-v .contactus .serviceTime{background-color:#fff;border-radius:8rpx}.contacts-v .center-box{width:420rpx;height:420rpx}.contacts-v .center-box image{width:100%;height:100%}.contacts-v .textSize{height:66rpx;line-height:66rpx;color:#909399}.contacts-v text[type=title]{height:86rpx;line-height:86rpx;font-weight:700}
"use strict";const e=require("../../../common/vendor.js"),r=require("../../../uni_modules/vk-uview-ui/libs/function/md5.js"),s=require("../../../api/common.js"),t=require("../../../store/modules/user.js"),o={data(){return{imgUrl:"",timestamp:"",dataForm:{oldPassword:"",password:"",repeatPsd:"",code:"",timestamp:""},baseForm:{passwordStrengthLimit:0,passwordLengthMin:!1,passwordLengthMinNumber:0,containsNumbers:!1,includeLowercaseLetters:!1,includeUppercaseLetters:!1,containsCharacters:!1},rules:{oldPassword:[{required:!0,message:"旧密码不能为空",trigger:"blur"}],password:[{required:!0,validator:(e,r,s)=>{const t=/[0-9]+/,o=/[a-z]+/,a=/[A-Z]+/,i=/\W/;""===r?s(new Error("新密码不能为空")):1==this.baseForm.passwordStrengthLimit?(this.baseForm.passwordLengthMin&&r.length<this.baseForm.passwordLengthMinNumber&&s(new Error("新密码长度不能小于"+this.baseForm.passwordLengthMinNumber+"")),this.baseForm.containsNumbers&&(t.test(r)||s(new Error("新密码必须包含数字"))),this.baseForm.includeLowercaseLetters&&(o.test(r)||s(new Error("新密码必须包含小写字母"))),this.baseForm.includeUppercaseLetters&&(a.test(r)||s(new Error("新密码必须包含大写字字母"))),this.baseForm.containsCharacters&&(i.test(r)||s(new Error("新密码必须包含字符"))),s()):s()},trigger:"blur"}],repeatPsd:[{required:!0,validator:(e,r,s)=>{""===r?s(new Error("重复密码不能为空")):r!==this.dataForm.password?s(new Error("两次密码输入不一致")):s()},trigger:"blur"}],code:[{required:!0,message:"验证码不能为空",trigger:"blur"}]}}},computed:{baseURL(){return this.define.baseURL}},onLoad(){this.changeCode(),this.initData()},mounted(){this.$refs.dataForm.setRules(this.rules)},methods:{initData(){this.$nextTick((()=>{s.getSystemConfig().then((e=>{this.baseForm=e.data,this.baseForm.passwordLengthMin=!!this.baseForm.passwordLengthMin,this.baseForm.containsNumbers=!!this.baseForm.containsNumbers,this.baseForm.includeLowercaseLetters=!!this.baseForm.includeLowercaseLetters,this.baseForm.includeUppercaseLetters=!!this.baseForm.includeUppercaseLetters,this.baseForm.containsCharacters=!!this.baseForm.containsCharacters})).catch((()=>{}))}))},changeCode(){let e=Math.random();this.timestamp=e,this.imgUrl=`/api/file/ImageCode/${e}`},dataFormSubmit(){this.$refs.dataForm.validate((o=>{if(o){let o={oldPassword:r.md5Libs.md5(this.dataForm.oldPassword),password:r.md5Libs.md5(this.dataForm.password),code:this.dataForm.code,timestamp:this.timestamp};s.updatePassword(o).then((r=>{this.$u.toast(r.msg);t.useUserStore().logout().then((()=>{e.index.reLaunch({url:"/pages/login/index"})}))})).catch((()=>{this.changeImg()}))}}))}}};if(!Array){(e.resolveComponent("u-input")+e.resolveComponent("u-form-item")+e.resolveComponent("u-image")+e.resolveComponent("u-form")+e.resolveComponent("u-button"))()}Math||((()=>"../../../uni_modules/vk-uview-ui/components/u-input/u-input.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-form-item/u-form-item.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-image/u-image.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-form/u-form.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-button/u-button.js"))();const a=e._export_sfc(o,[["render",function(r,s,t,o,a,i){return{a:e.o((e=>a.dataForm.oldPassword=e)),b:e.p({placeholder:"请输入",type:"password",modelValue:a.dataForm.oldPassword}),c:e.p({label:"旧密码",prop:"oldPassword",required:!0}),d:e.o((e=>a.dataForm.password=e)),e:e.p({placeholder:"请输入",type:"password",modelValue:a.dataForm.password}),f:e.p({label:"新密码",prop:"password",required:!0}),g:e.o((e=>a.dataForm.repeatPsd=e)),h:e.p({placeholder:"请输入",type:"password",modelValue:a.dataForm.repeatPsd}),i:e.p({label:"重复密码",prop:"repeatPsd",required:!0}),j:e.o((e=>a.dataForm.code=e)),k:e.p({placeholder:"请输入",modelValue:a.dataForm.code}),l:e.o(i.changeCode),m:e.p({showLoading:!0,src:i.baseURL+a.imgUrl,width:"130px",height:"38px"}),n:e.p({label:"验证码",prop:"code",required:!0}),o:e.sr("dataForm","5170ed44-0"),p:e.p({model:a.dataForm,rules:a.rules,errorType:["toast"],"label-position":"left","label-width":"150","label-align":"left"}),q:e.o(i.dataFormSubmit),r:e.p({type:"primary"})}}]]);wx.createPage(a);
{
"navigationBarTitleText": "修改密码",
"usingComponents": {
"u-input": "../../../uni_modules/vk-uview-ui/components/u-input/u-input",
"u-form-item": "../../../uni_modules/vk-uview-ui/components/u-form-item/u-form-item",
"u-image": "../../../uni_modules/vk-uview-ui/components/u-image/u-image",
"u-form": "../../../uni_modules/vk-uview-ui/components/u-form/u-form",
"u-button": "../../../uni_modules/vk-uview-ui/components/u-button/u-button"
}
}
\ No newline at end of file
<view class="jnpf-wrap jnpf-wrap-workflow"><view class="" style="background-color:#fff"><u-form wx:if="{{p}}" class="r" u-s="{{['d']}}" u-r="dataForm" u-i="5170ed44-0" bind:__l="__l" u-p="{{p}}"><view class="u-p-l-20 u-p-r-20"><u-form-item wx:if="{{c}}" u-s="{{['d']}}" u-i="5170ed44-1,5170ed44-0" bind:__l="__l" u-p="{{c}}"><u-input wx:if="{{b}}" u-i="5170ed44-2,5170ed44-1" bind:__l="__l" bindupdateModelValue="{{a}}" u-p="{{b}}"></u-input></u-form-item></view><view class="u-p-l-20 u-p-r-20"><u-form-item wx:if="{{f}}" u-s="{{['d']}}" u-i="5170ed44-3,5170ed44-0" bind:__l="__l" u-p="{{f}}"><u-input wx:if="{{e}}" u-i="5170ed44-4,5170ed44-3" bind:__l="__l" bindupdateModelValue="{{d}}" u-p="{{e}}"></u-input></u-form-item></view><view class="u-p-l-20 u-p-r-20"><u-form-item wx:if="{{i}}" u-s="{{['d']}}" u-i="5170ed44-5,5170ed44-0" bind:__l="__l" u-p="{{i}}"><u-input wx:if="{{h}}" u-i="5170ed44-6,5170ed44-5" bind:__l="__l" bindupdateModelValue="{{g}}" u-p="{{h}}"></u-input></u-form-item></view><view class="u-p-l-20 u-p-r-20"><u-form-item wx:if="{{n}}" u-s="{{['d']}}" u-i="5170ed44-7,5170ed44-0" bind:__l="__l" u-p="{{n}}"><view class="u-flex"><u-input wx:if="{{k}}" u-i="5170ed44-8,5170ed44-7" bind:__l="__l" bindupdateModelValue="{{j}}" u-p="{{k}}"></u-input><view style="flex:0.1"><u-image wx:if="{{m}}" bindclick="{{l}}" u-i="5170ed44-9,5170ed44-7" bind:__l="__l" u-p="{{m}}"></u-image></view></view></u-form-item></view></u-form></view><view class="flowBefore-actions"><u-button wx:if="{{r}}" u-s="{{['d']}}" class="buttom-btn" catchclick="{{q}}" u-i="5170ed44-10" bind:__l="__l" u-p="{{r}}">保存</u-button></view></view>
\ No newline at end of file
.jnpf-wrap.jnpf-wrap-workflow{padding-bottom:0}.u-form-item{background-color:#fff;min-height:112rpx}
"use strict";const t=require("../../../../common/vendor.js"),e={data:()=>({gender:"",birthday:"",prevLogTime:"",creatorTime:"",entryDate:"",titleStyle:{color:"#303133"},data:{}}),computed:{baseURL(){return this.define.baseURL}},onLoad(){},methods:{init(t){this.data=t||{},this.creatorTime=this.data.creatorTime?this.$u.timeFormat(this.data.creatorTime,"yyyy-mm-dd hh:MM"):"",this.prevLogTime=this.data.prevLogTime?this.$u.timeFormat(this.data.prevLogTime,"yyyy-mm-dd hh:MM"):"",this.entryDate=this.data.entryDate?this.$u.timeFormat(this.data.entryDate,"yyyy-mm-dd hh:MM"):""}}};if(!Array){(t.resolveComponent("u-cell-item")+t.resolveComponent("u-cell-group"))()}Math||((()=>"../../../../uni_modules/vk-uview-ui/components/u-cell-item/u-cell-item.js")+(()=>"../../../../uni_modules/vk-uview-ui/components/u-cell-group/u-cell-group.js"))();const i=t._export_sfc(e,[["render",function(e,i,a,l,r,o){return{a:t.p({title:"账户",value:r.data.account,arrow:!1,"title-style":r.titleStyle}),b:t.p({title:"所属组织",value:r.data.organize,arrow:!1,"title-style":r.titleStyle}),c:t.p({title:"直属主管",value:r.data.manager,arrow:!1,"title-style":r.titleStyle}),d:t.p({title:"岗位",value:r.data.position,arrow:!1,"title-style":r.titleStyle}),e:t.p({title:"职级",value:r.data.ranks,arrow:!1,"title-style":r.titleStyle}),f:t.p({title:"角色",value:r.data.roleId,arrow:!1,"title-style":r.titleStyle}),g:t.p({title:"注册时间",value:r.creatorTime,arrow:!1,"title-style":r.titleStyle}),h:t.p({title:"上次登录",value:r.prevLogTime,arrow:!1,"title-style":r.titleStyle}),i:t.p({title:"入职时间",value:r.entryDate,arrow:!1,"title-style":r.titleStyle,"border-bottom":!1}),j:t.p({"border-bottom":!1,border:!1})}}]]);wx.createComponent(i);
{
"component": true,
"usingComponents": {
"u-cell-item": "../../../../uni_modules/vk-uview-ui/components/u-cell-item/u-cell-item",
"u-cell-group": "../../../../uni_modules/vk-uview-ui/components/u-cell-group/u-cell-group"
}
}
\ No newline at end of file
<view class="personalData-v"><u-cell-group wx:if="{{j}}" u-s="{{['d']}}" class="" style="padding:0 20rpx" u-i="f10f4162-0" bind:__l="__l" u-p="{{j}}"><u-cell-item wx:if="{{a}}" u-i="f10f4162-1,f10f4162-0" bind:__l="__l" u-p="{{a}}"/><u-cell-item wx:if="{{b}}" u-i="f10f4162-2,f10f4162-0" bind:__l="__l" u-p="{{b}}"/><u-cell-item wx:if="{{c}}" u-i="f10f4162-3,f10f4162-0" bind:__l="__l" u-p="{{c}}"/><u-cell-item wx:if="{{d}}" u-i="f10f4162-4,f10f4162-0" bind:__l="__l" u-p="{{d}}"/><u-cell-item wx:if="{{e}}" u-i="f10f4162-5,f10f4162-0" bind:__l="__l" u-p="{{e}}"/><u-cell-item wx:if="{{f}}" u-i="f10f4162-6,f10f4162-0" bind:__l="__l" u-p="{{f}}"/><u-cell-item wx:if="{{g}}" u-i="f10f4162-7,f10f4162-0" bind:__l="__l" u-p="{{g}}"/><u-cell-item wx:if="{{h}}" u-i="f10f4162-8,f10f4162-0" bind:__l="__l" u-p="{{h}}"/><u-cell-item wx:if="{{i}}" u-i="f10f4162-9,f10f4162-0" bind:__l="__l" u-p="{{i}}"/></u-cell-group></view>
\ No newline at end of file
page{background-color:#f0f2f6}.personalData-v{background-color:#fff}.u-cell{height:112rpx;padding:20rpx 0}
"use strict";const e=require("../../../../common/vendor.js"),t=require("../../../../api/common.js"),a=require("../../../../store/modules/base.js").useBaseStore(),o={data(){return this.getOptions(),{show:!1,props:{label:"fullName",value:"enCode"},dataForm:{birthday:null,certificatesNumber:"",certificatesType:"",education:"",email:"",gender:"",landline:"",mobilePhone:"",nation:"",nativePlace:"",postalAddress:"",realName:"",signature:null,telePhone:"",urgentContacts:"",urgentTelePhone:"",id:null},nationOptions:[],genderOptions:[],certificatesTypeOptions:[],educationOptions:[],rules:{realName:[{required:!0,message:"请输入姓名",trigger:["change","blur"]}]}}},computed:{baseURL(){return this.define.baseURL}},mounted(){this.$refs.dataForm.setRules(this.rules)},methods:{init(e){let t=JSON.parse(JSON.stringify(e));for(let a in t)for(let e in this.dataForm)a===e&&(this.dataForm[a]=t[a])},getOptions(){a.getDictionaryData({sort:"Education"}).then((e=>{this.educationOptions=JSON.parse(JSON.stringify(e)),a.getDictionaryData({sort:"certificateType"}).then((e=>{this.certificatesTypeOptions=JSON.parse(JSON.stringify(e))})),a.getDictionaryData({sort:"sex"}).then((e=>{this.genderOptions=JSON.parse(JSON.stringify(e))})),a.getDictionaryData({sort:"Nation"}).then((e=>{this.nationOptions=JSON.parse(JSON.stringify(e))}))})),this.show=!0},submit(){this.$refs.dataForm.validate((a=>{a&&t.UpdateUser(this.dataForm).then((t=>{e.index.showToast({title:"保存成功",duration:800,icon:"none"}),setTimeout((()=>{e.index.navigateBack()}),1e3)}))}))}}};if(!Array){(e.resolveComponent("u-input")+e.resolveComponent("u-form-item")+e.resolveComponent("JnpfSelect")+e.resolveComponent("JnpfDatePicker")+e.resolveComponent("u-form")+e.resolveComponent("u-button"))()}Math||((()=>"../../../../uni_modules/vk-uview-ui/components/u-input/u-input.js")+(()=>"../../../../uni_modules/vk-uview-ui/components/u-form-item/u-form-item.js")+(()=>"../../../../components/Jnpf/Select/index.js")+(()=>"../../../../components/Jnpf/DatePicker/index.js")+(()=>"../../../../uni_modules/vk-uview-ui/components/u-form/u-form.js")+(()=>"../../../../uni_modules/vk-uview-ui/components/u-button/u-button.js"))();const i=e._export_sfc(o,[["render",function(t,a,o,i,r,n){return{a:e.o((e=>t.dataForm.realName=e)),b:e.p({"input-align":"right",placeholder:"请输入",modelValue:t.dataForm.realName}),c:e.p({label:"姓名",prop:"realName",required:!0}),d:e.o((e=>t.dataForm.nation=e)),e:e.p({placeholder:"请选择",options:t.nationOptions,modelValue:t.dataForm.nation}),f:e.p({label:"民族"}),g:e.o((e=>t.dataForm.gender=e)),h:e.p({placeholder:"请选择",options:t.genderOptions,props:t.props,modelValue:t.dataForm.gender}),i:e.p({label:"性别"}),j:e.o((e=>t.dataForm.nativePlace=e)),k:e.p({"input-align":"right",placeholder:"请输入",modelValue:t.dataForm.nativePlace}),l:e.p({label:"籍贯"}),m:e.o((e=>t.dataForm.certificatesType=e)),n:e.p({placeholder:"请选择",options:t.certificatesTypeOptions,modelValue:t.dataForm.certificatesType}),o:e.p({label:"证件类型"}),p:e.o((e=>t.dataForm.certificatesNumber=e)),q:e.p({"input-align":"right",placeholder:"请输入",modelValue:t.dataForm.certificatesNumber}),r:e.p({label:"证件号码"}),s:e.o((e=>t.dataForm.education=e)),t:e.p({placeholder:"请选择",options:t.educationOptions,modelValue:t.dataForm.education}),v:e.p({label:"文化程度"}),w:e.o((e=>t.dataForm.birthday=e)),x:e.p({placeholder:"请选择",modelValue:t.dataForm.birthday}),y:e.p({label:"出生年月"}),z:e.o((e=>t.dataForm.telePhone=e)),A:e.p({"input-align":"right",placeholder:"请输入",modelValue:t.dataForm.telePhone}),B:e.p({label:"办公电话"}),C:e.o((e=>t.dataForm.landline=e)),D:e.p({"input-align":"right",placeholder:"请输入",modelValue:t.dataForm.landline}),E:e.p({label:"办公座机"}),F:e.o((e=>t.dataForm.mobilePhone=e)),G:e.p({"input-align":"right",placeholder:"请输",modelValue:t.dataForm.mobilePhone}),H:e.p({label:"手机号码"}),I:e.o((e=>t.dataForm.email=e)),J:e.p({"input-align":"right",placeholder:"请输入",modelValue:t.dataForm.email}),K:e.p({label:"电子邮箱"}),L:e.o((e=>t.dataForm.urgentContacts=e)),M:e.p({"input-align":"right",placeholder:"请输入",modelValue:t.dataForm.urgentContacts}),N:e.p({label:"紧急联系"}),O:e.o((e=>t.dataForm.urgentTelePhone=e)),P:e.p({"input-align":"right",placeholder:"请输入",modelValue:t.dataForm.urgentTelePhone}),Q:e.p({label:"紧急电话"}),R:e.o((e=>t.dataForm.postalAddress=e)),S:e.p({"input-align":"right",placeholder:"请输入",modelValue:t.dataForm.postalAddress}),T:e.p({label:"通讯地址"}),U:e.o((e=>t.dataForm.signature=e)),V:e.p({"input-align":"right",placeholder:"请输入",type:"textarea",modelValue:t.dataForm.signature}),W:e.p({label:"自我介绍"}),X:e.sr("dataForm","e11a7dcc-0"),Y:e.p({model:t.dataForm,errorType:["toast"],"label-position":"left","label-width":"150","label-align":"right"}),Z:e.o(n.submit),aa:e.p({type:"primary"})}}]]);wx.createComponent(i);
{
"component": true,
"usingComponents": {
"u-input": "../../../../uni_modules/vk-uview-ui/components/u-input/u-input",
"u-form-item": "../../../../uni_modules/vk-uview-ui/components/u-form-item/u-form-item",
"jnpf-select": "../../../../components/Jnpf/Select/index",
"jnpf-date-picker": "../../../../components/Jnpf/DatePicker/index",
"u-form": "../../../../uni_modules/vk-uview-ui/components/u-form/u-form",
"u-button": "../../../../uni_modules/vk-uview-ui/components/u-button/u-button"
}
}
\ No newline at end of file
<view class="jnpf-wrap personalData"><view style="background-color:#fff" class="u-p-l-20 u-p-r-20"><u-form wx:if="{{Y}}" class="r" u-s="{{['d']}}" u-r="dataForm" u-i="e11a7dcc-0" bind:__l="__l" u-p="{{Y}}"><u-form-item wx:if="{{c}}" u-s="{{['d']}}" u-i="e11a7dcc-1,e11a7dcc-0" bind:__l="__l" u-p="{{c}}"><u-input wx:if="{{b}}" u-i="e11a7dcc-2,e11a7dcc-1" bind:__l="__l" bindupdateModelValue="{{a}}" u-p="{{b}}"></u-input></u-form-item><u-form-item wx:if="{{f}}" u-s="{{['d']}}" u-i="e11a7dcc-3,e11a7dcc-0" bind:__l="__l" u-p="{{f}}"><jnpf-select wx:if="{{e}}" u-i="e11a7dcc-4,e11a7dcc-3" bind:__l="__l" bindupdateModelValue="{{d}}" u-p="{{e}}"/></u-form-item><u-form-item wx:if="{{i}}" u-s="{{['d']}}" u-i="e11a7dcc-5,e11a7dcc-0" bind:__l="__l" u-p="{{i}}"><jnpf-select wx:if="{{h}}" u-i="e11a7dcc-6,e11a7dcc-5" bind:__l="__l" bindupdateModelValue="{{g}}" u-p="{{h}}"/></u-form-item><u-form-item wx:if="{{l}}" u-s="{{['d']}}" u-i="e11a7dcc-7,e11a7dcc-0" bind:__l="__l" u-p="{{l}}"><u-input wx:if="{{k}}" u-i="e11a7dcc-8,e11a7dcc-7" bind:__l="__l" bindupdateModelValue="{{j}}" u-p="{{k}}"></u-input></u-form-item><u-form-item wx:if="{{o}}" u-s="{{['d']}}" u-i="e11a7dcc-9,e11a7dcc-0" bind:__l="__l" u-p="{{o}}"><jnpf-select wx:if="{{n}}" u-i="e11a7dcc-10,e11a7dcc-9" bind:__l="__l" bindupdateModelValue="{{m}}" u-p="{{n}}"/></u-form-item><u-form-item wx:if="{{r}}" u-s="{{['d']}}" u-i="e11a7dcc-11,e11a7dcc-0" bind:__l="__l" u-p="{{r}}"><u-input wx:if="{{q}}" u-i="e11a7dcc-12,e11a7dcc-11" bind:__l="__l" bindupdateModelValue="{{p}}" u-p="{{q}}"></u-input></u-form-item><u-form-item wx:if="{{v}}" u-s="{{['d']}}" u-i="e11a7dcc-13,e11a7dcc-0" bind:__l="__l" u-p="{{v}}"><jnpf-select wx:if="{{t}}" u-i="e11a7dcc-14,e11a7dcc-13" bind:__l="__l" bindupdateModelValue="{{s}}" u-p="{{t}}"/></u-form-item><u-form-item wx:if="{{y}}" u-s="{{['d']}}" u-i="e11a7dcc-15,e11a7dcc-0" bind:__l="__l" u-p="{{y}}"><jnpf-date-picker wx:if="{{x}}" u-i="e11a7dcc-16,e11a7dcc-15" bind:__l="__l" bindupdateModelValue="{{w}}" u-p="{{x}}"/></u-form-item><u-form-item wx:if="{{B}}" u-s="{{['d']}}" u-i="e11a7dcc-17,e11a7dcc-0" bind:__l="__l" u-p="{{B}}"><u-input wx:if="{{A}}" u-i="e11a7dcc-18,e11a7dcc-17" bind:__l="__l" bindupdateModelValue="{{z}}" u-p="{{A}}"></u-input></u-form-item><u-form-item wx:if="{{E}}" u-s="{{['d']}}" u-i="e11a7dcc-19,e11a7dcc-0" bind:__l="__l" u-p="{{E}}"><u-input wx:if="{{D}}" u-i="e11a7dcc-20,e11a7dcc-19" bind:__l="__l" bindupdateModelValue="{{C}}" u-p="{{D}}"></u-input></u-form-item><u-form-item wx:if="{{H}}" u-s="{{['d']}}" u-i="e11a7dcc-21,e11a7dcc-0" bind:__l="__l" u-p="{{H}}"><u-input wx:if="{{G}}" u-i="e11a7dcc-22,e11a7dcc-21" bind:__l="__l" bindupdateModelValue="{{F}}" u-p="{{G}}"></u-input></u-form-item><u-form-item wx:if="{{K}}" u-s="{{['d']}}" u-i="e11a7dcc-23,e11a7dcc-0" bind:__l="__l" u-p="{{K}}"><u-input wx:if="{{J}}" u-i="e11a7dcc-24,e11a7dcc-23" bind:__l="__l" bindupdateModelValue="{{I}}" u-p="{{J}}"></u-input></u-form-item><u-form-item wx:if="{{N}}" u-s="{{['d']}}" u-i="e11a7dcc-25,e11a7dcc-0" bind:__l="__l" u-p="{{N}}"><u-input wx:if="{{M}}" u-i="e11a7dcc-26,e11a7dcc-25" bind:__l="__l" bindupdateModelValue="{{L}}" u-p="{{M}}"></u-input></u-form-item><u-form-item wx:if="{{Q}}" u-s="{{['d']}}" u-i="e11a7dcc-27,e11a7dcc-0" bind:__l="__l" u-p="{{Q}}"><u-input wx:if="{{P}}" u-i="e11a7dcc-28,e11a7dcc-27" bind:__l="__l" bindupdateModelValue="{{O}}" u-p="{{P}}"></u-input></u-form-item><u-form-item wx:if="{{T}}" u-s="{{['d']}}" u-i="e11a7dcc-29,e11a7dcc-0" bind:__l="__l" u-p="{{T}}"><u-input wx:if="{{S}}" u-i="e11a7dcc-30,e11a7dcc-29" bind:__l="__l" bindupdateModelValue="{{R}}" u-p="{{S}}"></u-input></u-form-item><u-form-item wx:if="{{W}}" u-s="{{['d']}}" u-i="e11a7dcc-31,e11a7dcc-0" bind:__l="__l" u-p="{{W}}"><u-input wx:if="{{V}}" u-i="e11a7dcc-32,e11a7dcc-31" bind:__l="__l" bindupdateModelValue="{{U}}" u-p="{{V}}"/></u-form-item></u-form></view><view class="flowBefore-actions"><u-button wx:if="{{aa}}" u-s="{{['d']}}" class="buttom-btn" bindclick="{{Z}}" u-i="e11a7dcc-33" bind:__l="__l" u-p="{{aa}}">保存</u-button></view></view>
\ No newline at end of file
page{background-color:#f0f2f6}.slot-btn{width:329rpx;height:140rpx;display:flex;justify-content:center;align-items:center;background:#f4f5f6;border-radius:10rpx}.slot-btn__hover{background-color:#ebecee}
"use strict";const e=require("../../../../common/vendor.js"),t=require("../../../../libs/file.js"),i=require("../../../../api/common.js"),s={components:{NoData:()=>"../../../../components/noData.js"},data:()=>({value:"",show:!0,signImg:[],isSet:!1,showAction:!1,actionList:[{text:"在线签名",id:1},{text:"图片上传",id:2}]}),methods:{init(e){let t=JSON.parse(JSON.stringify(e));this.show=t.length>0,this.signImg=t.map((e=>({isSet:!1,...e})))},signData(e){if(e){let t={signImg:e,isDefault:0};i.createSignImg(t).then((e=>{this.$emit("pagination")}))}},handleTouchStart(e,t){this.signImg.map(((e,t)=>{e.isSet=!1})),e.isSet=!0},del(e,t){i.delSignImg(e).then((e=>{this.signImg.splice(t,1)}))},setDefault(t,s){let n=e.index.getStorageSync("userInfo");i.setDefSignImg(t).then((t=>{this.signImg.map(((t,i)=>{t.isDefault=!1,s==i&&(t.isDefault=!0,t.isSet=!1,n.signImg=t.signImg,e.index.setStorageSync("userInfo",n))}))}))},handleAction(i){0==i?this.$refs.signRef.addSign():e.index.chooseImage({count:1,sizeType:["original","compressed"],sourceType:["album"],success:e=>{if(e.tempFiles[0].size/1024>500)return this.$u.toast("操作失败,图片大小超出500K");t.pathToBase64(e.tempFilePaths[0]).then((e=>{this.signData(e)}))}})}}};if(!Array){(e.resolveComponent("u-icon")+e.resolveComponent("u-button")+e.resolveComponent("JnpfSign")+e.resolveComponent("NoData")+e.resolveComponent("u-action-sheet"))()}Math||((()=>"../../../../uni_modules/vk-uview-ui/components/u-icon/u-icon.js")+(()=>"../../../../uni_modules/vk-uview-ui/components/u-button/u-button.js")+(()=>"../../../../components/Jnpf/Sign/index.js")+(()=>"../../../../uni_modules/vk-uview-ui/components/u-action-sheet/u-action-sheet.js"))();const n=e._export_sfc(s,[["render",function(t,i,s,n,o,a){return e.e({a:o.show},o.show?{b:e.f(o.signImg,((t,i,s)=>e.e({a:t.signImg,b:t.isDefault},t.isDefault?{c:"93c962ea-0-"+s,d:e.p({name:"checkbox-mark",color:"#fff",size:"28"})}:{},{e:!t.isDefault&&t.isSet},!t.isDefault&&t.isSet?{f:e.o((e=>a.del(t.id,i)),i),g:"93c962ea-1-"+s,h:e.o((e=>a.setDefault(t.id,i)),i),i:"93c962ea-2-"+s,j:e.p({type:"primary"}),k:i}:{},{l:i,m:e.n(t.isDefault?"active":""),n:e.o((e=>a.handleTouchStart(t,i)),i)})))}:{},{c:e.sr("signRef","93c962ea-3"),d:e.o(a.signData),e:e.p({showBtn:!1}),f:!o.show},(o.show,{}),{g:e.o((e=>o.showAction=!0)),h:e.p({type:"primary"}),i:e.o(a.handleAction),j:e.o((e=>o.showAction=e)),k:e.p({list:o.actionList,tips:{text:"",color:"#000",fontSize:30},modelValue:o.showAction})})}]]);wx.createComponent(n);
{
"component": true,
"usingComponents": {
"no-data": "../../../../components/noData",
"u-icon": "../../../../uni_modules/vk-uview-ui/components/u-icon/u-icon",
"u-button": "../../../../uni_modules/vk-uview-ui/components/u-button/u-button",
"jnpf-sign": "../../../../components/Jnpf/Sign/index",
"u-action-sheet": "../../../../uni_modules/vk-uview-ui/components/u-action-sheet/u-action-sheet"
}
}
\ No newline at end of file
<view><view class="page_v u-flex-col"><view><block wx:if="{{a}}"><view wx:for="{{b}}" wx:for-item="item" wx:key="l" class="{{[item.m, 'lists_box']}}" bindlongpress="{{item.n}}"><view class="signImgBox"><image src="{{item.a}}" mode="scaleToFill" class="signImg"></image></view><view wx:if="{{item.b}}" class="icon-checked-box"><view class="icon-checked"><u-icon wx:if="{{item.d}}" u-i="{{item.c}}" bind:__l="__l" u-p="{{item.d}}"></u-icon></view></view><view wx:if="{{item.e}}" class="sign-mask" id="{{item.k}}"><view class="sign-mask-btn"><u-button u-s="{{['d']}}" catchclick="{{item.f}}" u-i="{{item.g}}" bind:__l="__l">删除</u-button><u-button wx:if="{{item.j}}" u-s="{{['d']}}" catchclick="{{item.h}}" u-i="{{item.i}}" bind:__l="__l" u-p="{{item.j}}">设为默认</u-button></view></view></view></block></view><jnpf-sign wx:if="{{e}}" class="r" u-r="signRef" bindchange="{{d}}" u-i="93c962ea-3" bind:__l="__l" u-p="{{e}}"/><no-data wx:if="{{f}}" u-i="93c962ea-4" bind:__l="__l"></no-data></view><view class="flowBefore-actions"><u-button wx:if="{{h}}" u-s="{{['d']}}" class="buttom-btn" bindclick="{{g}}" u-i="93c962ea-5" bind:__l="__l" u-p="{{h}}">添加签名</u-button></view><u-action-sheet wx:if="{{k}}" bindclick="{{i}}" u-i="93c962ea-6" bind:__l="__l" bindupdateModelValue="{{j}}" u-p="{{k}}"></u-action-sheet></view>
\ No newline at end of file
page{background-color:#f0f2f6}.page_v{height:100%;padding:0 20rpx}.page_v .active{border:1rpx solid #2979FF;color:#2979ff}.page_v .active .icon-ym-organization:before{color:#2979ff!important}.page_v .sign-mask{width:100%;height:200rpx;background:rgba(0,0,0,.3);position:absolute;top:0;border-radius:12rpx;display:flex;align-items:center;flex-direction:column;justify-content:center}.page_v .sign-mask .sign-mask-btn{width:60%;display:flex}.page_v .lists_box{width:100%;height:200rpx;border-radius:8rpx;position:relative;display:flex;flex-direction:column;justify-content:center;background-color:#fff;margin-top:20rpx;overflow:hidden}.page_v .lists_box .signImgBox{width:100%;height:100%;text-align:center}.page_v .lists_box .signImgBox .signImg{width:100%;height:100%}.page_v .lists_box .icon-checked-box{display:flex;width:140rpx;height:80rpx;position:absolute;transform:scale(.9);right:-4rpx;bottom:-2rpx;flex-direction:row;align-items:center}.page_v .lists_box .icon-checked-box .icon-checked{width:44rpx;height:44rpx;border:40rpx solid #1890ff;border-left:40rpx solid transparent;border-top:40rpx solid transparent;border-bottom-right-radius:12rpx;position:absolute;transform:scale(.95);right:-8rpx;bottom:-6rpx}
"use strict";const t=require("../../../common/vendor.js"),e=require("../../../api/common.js"),n={components:{personalData:()=>"./components/personalData.js",accountData:()=>"./components/accountInformation.js",signList:()=>"./components/signList.js"},data:()=>({tabBars:[{name:"账户信息"},{name:"个人资料"},{name:"个人签名"}],current:0,baseInfo:{}}),onLoad(e){t.index.showLoading({title:"加载中"}),this.baseInfo=JSON.parse(decodeURIComponent(e.baseInfo)),this.$nextTick((()=>{this.$refs.personalData.init(this.baseInfo),this.$refs.accountData.init(this.baseInfo),t.index.hideLoading()})),this.getSignImgList()},methods:{tabChange(t){this.current=t,this.$refs.personalData.init(this.baseInfo),2!==this.current&&this.getSignImgList()},getSignImgList(){e.getSignImgList().then((t=>{let e=t.data||[];this.$nextTick((()=>{this.$refs.signList.init(e)}))}))}}};if(!Array){(t.resolveComponent("u-tabs")+t.resolveComponent("u-sticky")+t.resolveComponent("accountData")+t.resolveComponent("personalData")+t.resolveComponent("signList"))()}Math||((()=>"../../../uni_modules/vk-uview-ui/components/u-tabs/u-tabs.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-sticky/u-sticky.js"))();const s=t._export_sfc(n,[["render",function(e,n,s,i,o,a){return{a:t.o(a.tabChange),b:t.p({list:o.tabBars,"is-scroll":!1,current:o.current,height:"100"}),c:t.sr("accountData","3004706e-2"),d:0==o.current,e:t.sr("personalData","3004706e-3"),f:1==o.current,g:t.sr("signList","3004706e-4"),h:t.o(a.getSignImgList),i:2==o.current}}]]);wx.createPage(s);
{
"navigationBarTitleText": "个人信息",
"usingComponents": {
"personal-data": "./components/personalData",
"account-data": "./components/accountInformation",
"sign-list": "./components/signList",
"u-tabs": "../../../uni_modules/vk-uview-ui/components/u-tabs/u-tabs",
"u-sticky": "../../../uni_modules/vk-uview-ui/components/u-sticky/u-sticky"
}
}
\ No newline at end of file
<view class="flowBefore-v"><view class="flowBefore-box"><view class="u-border-bottom"><u-sticky u-s="{{['d']}}" u-i="3004706e-0" bind:__l="__l"><view class="workFlowTitle"></view><u-tabs wx:if="{{b}}" bindchange="{{a}}" u-i="3004706e-1,3004706e-0" bind:__l="__l" u-p="{{b}}"></u-tabs></u-sticky></view><view hidden="{{!d}}"><account-data class="r" u-r="accountData" u-i="3004706e-2" bind:__l="__l"></account-data></view><view hidden="{{!f}}"><personal-data class="r" u-r="personalData" u-i="3004706e-3" bind:__l="__l"></personal-data></view><view hidden="{{!i}}"><sign-list class="r" u-r="signList" bindpagination="{{h}}" u-i="3004706e-4" bind:__l="__l"></sign-list></view></view></view>
\ No newline at end of file
page{background-color:#f0f2f6;height:100%}.flowBefore-v{display:flex;flex-direction:column}.flowBefore-v .workFlowTitle{width:100%;background-color:#fff;font-size:32rpx;font-weight:700;white-space:pre-wrap;text-align:left}.flowBefore-v .flowBefore-box{height:100%;flex:1;display:flex;flex-direction:column;overflow:hidden;padding-bottom:100rpx}
"use strict";const e=require("../../../common/vendor.js"),t={name:"scanResult",data:()=>({result:""}),onLoad(e){this.result=e.result}};const r=e._export_sfc(t,[["render",function(t,r,s,n,o,u){return{a:e.t(o.result)}}]]);wx.createPage(r);
{
"navigationBarTitleText": "扫描结果",
"usingComponents": {}
}
\ No newline at end of file
<view class="scanResult-v"><view class="text">{{a}}</view></view>
\ No newline at end of file
page{background-color:#fff}.scanResult-v{height:100%;padding:0 24rpx}
"use strict";const e=require("../../../common/vendor.js"),t={data:()=>({titleStyle:{color:"#303133"}}),methods:{modifyPsd(t){t&&e.index.navigateTo({url:t})}}};if(!Array){(e.resolveComponent("u-cell-item")+e.resolveComponent("u-cell-group"))()}Math||((()=>"../../../uni_modules/vk-uview-ui/components/u-cell-item/u-cell-item.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-cell-group/u-cell-group.js"))();const o=e._export_sfc(t,[["render",function(t,o,l,i,s,n){return{a:e.o((e=>n.modifyPsd("/pages/my/modifyPsd/index"))),b:e.p({title:"修改密码","title-style":s.titleStyle}),c:e.o((e=>n.modifyPsd("/pages/my/contactUs/index"))),d:e.p({title:"联系我们","title-style":s.titleStyle}),e:e.o((e=>n.modifyPsd("/pages/my/abouts/index"))),f:e.p({title:"关于平台","title-style":s.titleStyle,"border-bottom":!1}),g:e.p({border:!1})}}]]);wx.createPage(o);
{
"navigationBarTitleText": "设置",
"usingComponents": {
"u-cell-item": "../../../uni_modules/vk-uview-ui/components/u-cell-item/u-cell-item",
"u-cell-group": "../../../uni_modules/vk-uview-ui/components/u-cell-group/u-cell-group"
}
}
\ No newline at end of file
<view class="settings-v"><u-cell-group wx:if="{{g}}" u-s="{{['d']}}" class="u-p-l-20 u-p-r-20" u-i="1a2d40a2-0" bind:__l="__l" u-p="{{g}}"><u-cell-item wx:if="{{b}}" bindclick="{{a}}" u-i="1a2d40a2-1,1a2d40a2-0" bind:__l="__l" u-p="{{b}}"></u-cell-item><u-cell-item wx:if="{{d}}" bindclick="{{c}}" u-i="1a2d40a2-2,1a2d40a2-0" bind:__l="__l" u-p="{{d}}"></u-cell-item><u-cell-item wx:if="{{f}}" bindclick="{{e}}" u-i="1a2d40a2-3,1a2d40a2-0" bind:__l="__l" u-p="{{f}}"></u-cell-item></u-cell-group></view>
\ No newline at end of file
page{background-color:#f0f2f6}.u-cell{height:112rpx;padding:20rpx 0}.settings-v{background-color:#fff}
"use strict";const e=require("../../../api/common.js"),a=require("../../../common/vendor.js");let t;const r={components:{LyTrees:()=>"../../../components/ly-tree/ly-tree-s.js"},data:()=>({isReady:!1,props:{label:"userName",isLeaf:"isLeaf",value:"id",icon:"avatar"},treeData:[]}),onLoad(){t=this,this.isReady=!0},computed:{baseURL(){return this.define.baseURL}},methods:{loadNode(a,r){0===a.level?e.getSubordinate(a.level).then((e=>{let a=JSON.parse(JSON.stringify(e.data));a.map((e=>(e.avatar=t.baseURL+e.avatar,a))),r(a)})):e.getSubordinate(a.key).then((e=>{let a=JSON.parse(JSON.stringify(e.data));a.map((e=>(e.avatar=t.baseURL+e.avatar,a))),r(a)}))}}};if(!Array){a.resolveComponent("ly-trees")()}const s=a._export_sfc(r,[["render",function(e,t,r,s,o,n){return a.e({a:o.isReady},o.isReady?{b:a.p({props:o.props,"node-key":o.props.value,load:n.loadNode,lazy:!0,"tree-data":o.treeData,"show-node-icon":!0,defaultExpandAll:!1})}:{})}]]);wx.createPage(s);
{
"navigationBarTitleText": "我的下属",
"enablePullDownRefresh": false,
"usingComponents": {
"ly-trees": "../../../components/ly-tree/ly-tree-s"
}
}
\ No newline at end of file
<view class="tree-main"><ly-trees wx:if="{{a}}" u-i="1ee75bc3-0" bind:__l="__l" u-p="{{b}}"/></view>
\ No newline at end of file
"use strict";const t=require("../../../common/vendor.js"),e=require("../../../api/portal/portal.js"),a=require("../../../libs/resources.js"),s={data:()=>({mpPortalUrl:"",id:"",show:!1,formData:[],dataList:[],emptyImg:a.resources.message.nodata,fullName:"",downOption:{use:!0,auto:!0},upOption:{page:{num:0,size:50,time:null},empty:{use:!1},textNoMore:"没有更多数据"},portalType:1,token:""}),onLoad(e){this.fullName=e.fullName,t.index.setNavigationBarTitle({title:this.fullName||"门户预览"}),this.token=t.index.getStorageSync("token"),this.mpPortalUrl=this.define.baseURL+"/pages/portal/applyPortal/index?id="+e.id+"&token="+this.token},methods:{upCallback(t){const a=1==this.portalType?e.auth:e.getPreviewPortal;1!=this.portalType&&this.mescroll.lockDownScroll(!0),a(this.id).then((t=>{let e=t.data.formData?JSON.parse(t.data.formData):{};this.formData=e.layout?JSON.parse(JSON.stringify(e.layout)):[],this.mescroll.endSuccess(this.formData.length),this.formData.length&&this.handelFormData(e)})).catch((()=>{this.mescroll.endSuccess(0),this.mescroll.endErr()}))},handelFormData(t){const e=a=>{a.forEach((a=>{a.allRefresh=t.refresh,a.show=!1,a.visibility&&a.visibility.length&&a.visibility.includes("app")&&(a.show=!0),a.children&&a.children.length&&e(a.children)})),this.key=+new Date};e(this.formData),this.dataList=this.formData.filter((t=>t.show)),this.dataList.length<1&&(this.formData=this.dataList)}}};const i=t._export_sfc(s,[["render",function(t,e,a,s,i,r){return{a:i.mpPortalUrl}}]]);wx.createPage(i);
{
"navigationBarTitleText": "",
"usingComponents": {}
}
\ No newline at end of file
<view class="scan-v"><view><web-view src="{{a}}"></web-view></view></view>
\ No newline at end of file
page{background-color:#f0f2f6}.portal-nodata{position:absolute;top:450rpx;width:100%;text-align:center;z-index:100;background-color:#f0f2f6}
"use strict";const e=require("../../../common/vendor.js"),t=require("../../../api/portal/schedule.js"),a=require("../../../store/modules/base.js").useBaseStore(),o={components:{datetime:()=>"./t-datetime.js"},data:()=>({showAction:"",userInfo:{},show:!1,showtdatetime:!1,dataForm:{id:0,category:"",creatorUserId:0,userName:"",allDay:0,urgent:"1",startDay:"",startTime:"",endDay:"",endTime:"",duration:"",content:"",title:"",toUserIds:"",reminderTime:-2,reminderType:1,send:"",sendName:"",repetition:1,repeatTime:"",color:"#188ae2"},showBtn:!1,startDate:{},endDate:{},repeatDate:{},repeat:"",endDay:"",startDay:"",toUserType:!1,actionList:[],delList:[],groupId:""}),onReady(){this.$refs.dataForm.setRules(this.rules)},onLoad(a){this.dataForm.id=a.id,this.toUserType=a.type,this.actionList=[],this.delList=[],this.groupId=a.groupId,"true"==this.toUserType?(this.actionList.push({text:"编辑",id:"update"}),this.actionList.push({text:"删除",id:"deldete",color:"#ff3a3a"})):this.actionList.push({text:"删除",id:"deldete",color:"#ff3a3a"}),t.ScheduleDetail(this.groupId,a.id).then((e=>{let t=e.data||{};t.files=t.files?JSON.parse(t.files):[],this.dataForm=t,"1"!=this.dataForm.repetition?(this.delList.push({text:"仅删除此日程",id:"1"}),this.delList.push({text:"删除此日程及后续日程",id:"2"}),this.delList.push({text:"删除所有日程",id:"3"})):this.delList.push({text:"删除",id:"3",color:"#ff3a3a"}),this.startDate=this.timestampToTime(this.dataForm.startDay),this.endDate=this.timestampToTime(this.dataForm.endDay)})).catch((t=>{e.index.showToast({title:t,complete:()=>{setTimeout((()=>{e.index.navigateBack()}),300)}})}))},methods:{delAction(a){"1"!=this.dataForm.repetition?t.ScheduleDelete(this.dataForm.id,a+1).then((t=>{e.index.showToast({title:t.msg,complete:()=>{e.index.$emit("refresh"),e.index.navigateBack()}})})):t.ScheduleDelete(this.dataForm.id,3).then((t=>{e.index.showToast({title:t.msg,complete:()=>{e.index.$emit("refresh"),e.index.navigateBack()}})}))},handleAction(t){"update"==this.actionList[t].id?e.index.navigateTo({url:"/pages/portal/schedule/index?id="+this.dataForm.id}):this.showBtn=!0},back(){e.index.navigateBack()},getResult(){e.index.navigateBack()},changeSend(e,t){this.dataForm.send=e,this.dataForm.sendName=t},getDictionaryData(){a.getDictionaryData({sort:"scheduleType"}).then((e=>{this.typeOptions=e}))},timestampToTime(e){let t={};var a=new Date(e);let o=a.getFullYear(),i=a.getMonth()+1<10?"0"+(a.getMonth()+1):a.getMonth()+1,s=a.getDate(),d=a.getHours(),r=a.getMinutes(),n=a.getSeconds();return t.year=o,t.month=i,t.date=s,t.hours=d<10?0+d:d,t.minutes=r<10?0+r:r,t.seconds=n,t}}};if(!Array){(e.resolveComponent("u-icon")+e.resolveComponent("u-navbar")+e.resolveComponent("u-toast")+e.resolveComponent("u-input")+e.resolveComponent("u-form-item")+e.resolveComponent("JnpfUploadFile")+e.resolveComponent("datetime")+e.resolveComponent("u-form")+e.resolveComponent("u-action-sheet"))()}Math||((()=>"../../../uni_modules/vk-uview-ui/components/u-icon/u-icon.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-navbar/u-navbar.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-toast/u-toast.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-input/u-input.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-form-item/u-form-item.js")+(()=>"../../../components/Jnpf/UploadFile/index.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-form/u-form.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-action-sheet/u-action-sheet.js"))();const i=e._export_sfc(o,[["render",function(t,a,o,i,s,d){return e.e({a:!s.groupId},s.groupId?{}:{b:e.o((e=>s.show=!0)),c:e.p({name:"more-dot-fill"})},{d:e.p({title:"详情","custom-back":d.back}),e:e.sr("uToast","15b89f7d-2"),f:e.o((e=>s.dataForm.title=e)),g:e.p({"input-align":"right","label-align":"right",placeholder:"",disabled:!0,modelValue:s.dataForm.title}),h:e.p({label:"标题",prop:"title"}),i:e.o((e=>s.dataForm.content=e)),j:e.p({"input-align":"right",type:"textarea",placeholder:"",disabled:!0,modelValue:s.dataForm.content}),k:e.p({label:"内容",prop:"content"}),l:e.o((e=>s.dataForm.files=e)),m:e.p({detailed:!0,modelValue:s.dataForm.files}),n:e.p({label:"附件",prop:"content"}),o:e.o((e=>s.dataForm.urgent=e)),p:e.p({"input-align":"right","label-align":"right",placeholder:"",disabled:!0,modelValue:s.dataForm.urgent}),q:e.p({label:"紧急程度",prop:"urgent"}),r:e.o((e=>s.dataForm.category=e)),s:e.p({"input-align":"right",placeholder:"",disabled:!0,modelValue:s.dataForm.category}),t:e.p({label:"类型",prop:"category"}),v:e.o((e=>s.dataForm.creatorUserId=e)),w:e.p({"input-align":"right",placeholder:"",disabled:!0,modelValue:s.dataForm.creatorUserId}),x:e.p({label:"创建人",prop:"creatorUserId"}),y:e.o((e=>s.dataForm.toUserIds=e)),z:e.p({"input-align":"right",placeholder:"",disabled:!0,modelValue:s.dataForm.toUserIds}),A:e.p({label:"参与人",prop:"toUserIds"}),B:e.o((e=>s.startDay=e)),C:e.p({delayMin:0,date:s.startDate,disabled:!0,showtdatetime:s.showtdatetime,type:1,allDay:s.dataForm.allDay,placeholder:"",modelValue:s.startDay}),D:e.p({label:"开始时间",prop:"startDay"}),E:e.o((e=>s.endDay=e)),F:e.p({delayMin:0,date:s.endDate,disabled:!0,showtdatetime:s.showtdatetime,type:2,allDay:s.dataForm.allDay,placeholder:"",modelValue:s.endDay}),G:e.p({label:"结束时间",prop:"endDay"}),H:e.sr("dataForm","15b89f7d-3"),I:e.p({model:s.dataForm,errorType:["toast"],"label-position":"left","label-width":"150","label-align":"left"}),J:e.o(d.handleAction),K:e.o((e=>s.show=e)),L:e.p({list:s.actionList,tips:{text:"",color:"#000",fontSize:30},modelValue:s.show}),M:e.o(d.delAction),N:e.o((e=>s.showBtn=e)),O:e.p({list:s.delList,tips:{text:!0===s.toUserType?"1"!=s.dataForm.repetition?"此为重复日程,将删除(含参与人)应用于":"确认删除(含参与人)当前日程":"1"!=s.dataForm.repetition?"此为重复日程,将删除应用于":"确认删除当前日程",color:"#000",fontSize:30},modelValue:s.showBtn})})}]]);wx.createPage(i);
{
"navigationStyle": "custom",
"navigationBarTitleText": "详情",
"usingComponents": {
"datetime": "./t-datetime",
"u-icon": "../../../uni_modules/vk-uview-ui/components/u-icon/u-icon",
"u-navbar": "../../../uni_modules/vk-uview-ui/components/u-navbar/u-navbar",
"u-toast": "../../../uni_modules/vk-uview-ui/components/u-toast/u-toast",
"u-input": "../../../uni_modules/vk-uview-ui/components/u-input/u-input",
"u-form-item": "../../../uni_modules/vk-uview-ui/components/u-form-item/u-form-item",
"jnpf-upload-file": "../../../components/Jnpf/UploadFile/index",
"u-form": "../../../uni_modules/vk-uview-ui/components/u-form/u-form",
"u-action-sheet": "../../../uni_modules/vk-uview-ui/components/u-action-sheet/u-action-sheet"
}
}
\ No newline at end of file
<view class=""><u-navbar wx:if="{{d}}" u-s="{{['right']}}" u-i="15b89f7d-0" bind:__l="__l" u-p="{{d}}"><view class="navbar-right" slot="right"><view class="message-box right-item" style="padding-right:20rpx"><u-icon wx:if="{{a}}" bindclick="{{b}}" u-i="15b89f7d-1,15b89f7d-0" bind:__l="__l" u-p="{{c}}"></u-icon></view></view></u-navbar><view class="scheduleForm-v jnpf-wrap"><u-toast class="r" u-r="uToast" u-i="15b89f7d-2" bind:__l="__l"/><u-form wx:if="{{I}}" class="r" u-s="{{['d']}}" u-r="dataForm" u-i="15b89f7d-3" bind:__l="__l" u-p="{{I}}"><view class="u-p-l-20 u-p-r-20 form-item-box"><u-form-item wx:if="{{h}}" u-s="{{['d']}}" u-i="15b89f7d-4,15b89f7d-3" bind:__l="__l" u-p="{{h}}"><u-input wx:if="{{g}}" u-i="15b89f7d-5,15b89f7d-4" bind:__l="__l" bindupdateModelValue="{{f}}" u-p="{{g}}"></u-input></u-form-item><u-form-item wx:if="{{k}}" u-s="{{['d']}}" u-i="15b89f7d-6,15b89f7d-3" bind:__l="__l" u-p="{{k}}"><u-input wx:if="{{j}}" u-i="15b89f7d-7,15b89f7d-6" bind:__l="__l" bindupdateModelValue="{{i}}" u-p="{{j}}"></u-input></u-form-item></view><view class="u-p-l-20 u-p-r-20 u-m-t-20 form-item-box"><u-form-item wx:if="{{n}}" u-s="{{['d']}}" u-i="15b89f7d-8,15b89f7d-3" bind:__l="__l" u-p="{{n}}"><jnpf-upload-file wx:if="{{m}}" u-i="15b89f7d-9,15b89f7d-8" bind:__l="__l" bindupdateModelValue="{{l}}" u-p="{{m}}"/></u-form-item></view><view class="jnpf-card"><view class="u-p-l-20 u-p-r-20 form-item-box"><u-form-item wx:if="{{q}}" u-s="{{['d']}}" u-i="15b89f7d-10,15b89f7d-3" bind:__l="__l" u-p="{{q}}"><u-input wx:if="{{p}}" u-i="15b89f7d-11,15b89f7d-10" bind:__l="__l" bindupdateModelValue="{{o}}" u-p="{{p}}"></u-input></u-form-item><u-form-item wx:if="{{t}}" u-s="{{['d']}}" u-i="15b89f7d-12,15b89f7d-3" bind:__l="__l" u-p="{{t}}"><u-input wx:if="{{s}}" u-i="15b89f7d-13,15b89f7d-12" bind:__l="__l" bindupdateModelValue="{{r}}" u-p="{{s}}"></u-input></u-form-item><u-form-item wx:if="{{x}}" u-s="{{['d']}}" u-i="15b89f7d-14,15b89f7d-3" bind:__l="__l" u-p="{{x}}"><u-input wx:if="{{w}}" u-i="15b89f7d-15,15b89f7d-14" bind:__l="__l" bindupdateModelValue="{{v}}" u-p="{{w}}"></u-input></u-form-item><u-form-item wx:if="{{A}}" u-s="{{['d']}}" u-i="15b89f7d-16,15b89f7d-3" bind:__l="__l" u-p="{{A}}"><u-input wx:if="{{z}}" u-i="15b89f7d-17,15b89f7d-16" bind:__l="__l" bindupdateModelValue="{{y}}" u-p="{{z}}"></u-input></u-form-item></view></view><view class="jnpf-card"><view class="u-p-l-20 u-p-r-20 form-item-box"><u-form-item wx:if="{{D}}" u-s="{{['d']}}" u-i="15b89f7d-18,15b89f7d-3" bind:__l="__l" u-p="{{D}}"><datetime wx:if="{{C}}" u-i="15b89f7d-19,15b89f7d-18" bind:__l="__l" bindupdateModelValue="{{B}}" u-p="{{C}}"/></u-form-item><u-form-item wx:if="{{G}}" u-s="{{['d']}}" u-i="15b89f7d-20,15b89f7d-3" bind:__l="__l" u-p="{{G}}"><datetime wx:if="{{F}}" u-i="15b89f7d-21,15b89f7d-20" bind:__l="__l" bindupdateModelValue="{{E}}" u-p="{{F}}"/></u-form-item></view></view></u-form></view><u-action-sheet wx:if="{{L}}" bindclick="{{J}}" u-i="15b89f7d-22" bind:__l="__l" bindupdateModelValue="{{K}}" u-p="{{L}}"></u-action-sheet><u-action-sheet wx:if="{{O}}" bindclick="{{M}}" u-i="15b89f7d-23" bind:__l="__l" bindupdateModelValue="{{N}}" u-p="{{O}}"></u-action-sheet></view>
\ No newline at end of file
page{background-color:#f0f2f6}.scheduleForm-v{padding-bottom:110rpx}
"use strict";const t=require("../../../common/vendor.js"),e={name:"t-datetime",props:{type:{type:Number,default:0},allDay:{type:Number,default:0},modelValue:{type:String,default:""},date:{type:Object,default:()=>{}},placeholder:{type:String,default:"请选择"},delayMin:{type:Number,default:0},disabled:{type:Boolean,default:!1},canToday:{type:Boolean,default:!1}},data:()=>({textList:["","","","","","",""],mList:[],checkyear:0,checkmonth:0,checkdate:0,checkhour:0,checkminute:0,indicatorStyle:"height: 50px;",sindex:"1",nowYear:0,nowMonth:0,nowDate:0,lunar:!1,insert:!0,innerValue:"",selectShow:!1,swiperTime:[],year:0,hours:"",minutes:"",today:""}),watch:{allDay(t){let e=this.date.year+"-"+this.date.month+"-"+this.date.date;this.today=e;let a=this.time(e);this.innerValue="",a?this.innerValue=a+this.date.month+""+this.date.date+"":this.date.year==this.year?this.innerValue=this.date.month+""+this.date.date+"":this.innerValue=this.date.year+""+this.date.month+""+this.date.date+"",0==this.allDay&&(this.innerValue=this.innerValue+" "+this.hours+":"+this.minutes)},date(t){this.init()}},created(){this.timestampToTime(+new Date),this.init()},methods:{tolower(){this.init()},openSelect(){this.disabled||(this.selectShow=!0,this.init())},calendarChange(t){this.date.year=t.year,this.date.month=t.month,this.date.date=t.date,this.date.date=this.date.date<10?"0"+Number(this.date.date):this.date.date,this.date.month=this.date.month<10?"0"+Number(this.date.month):this.date.month,this.checkyear=this.year==this.date.year?this.date.month+""+this.date.date+"":this.date.year+""+this.date.month+""+this.date.date+"",this.sindex="2"},init(){this.innerValue="",this.today=this.date.year+"-"+this.date.month+"-"+this.date.date,this.date.minutes=this.date.minutes<10?"0"+Number(this.date.minutes):this.date.minutes,this.date.hours=this.date.hours<10?"0"+Number(this.date.hours):this.date.hours,this.date.date=this.date.date<10?"0"+Number(this.date.date):this.date.date,this.date.month=this.date.month<10?"0"+Number(this.date.month):this.date.month,this.checkyear=this.year==this.date.year?this.date.month+""+this.date.date+"":this.date.year+""+this.date.month+""+this.date.date+"",this.checkhour=this.date.hours,this.checkminute=this.date.minutes<10?"0"+Number(this.date.minutes):this.date.minutes;let t=this.date.minutes/5;this.swiperTime=[Number(this.checkhour),t],this.hours=this.date.hours,this.minutes=this.date.minutes;let e=this.date.year+"-"+this.date.month+"-"+this.date.date,a=this.time(e);a?this.innerValue=a+this.date.month+""+this.date.date+"":this.date.year==this.year?this.innerValue=this.date.month+""+this.date.date+"":this.innerValue=this.date.year+""+this.date.month+""+this.date.date+"",0==this.allDay&&(this.innerValue=this.innerValue+" "+this.hours+":"+this.checkminute)},colse(){this.selectShow=!1},bindChange(t){const e=t.detail.value;this.swiperTime=[e[0],e[1]],this.checkhour=Number(e[0])<10?"0"+e[0]:e[0],this.checkminute=""==e[1]?"00":e[1]<2?"0"+5*e[1]:5*e[1]},changeSwp(t){this.sindex=t},onOK(){1==this.allDay?(this.date.hours="00",this.date.minutes="00"):(this.date.hours=this.checkhour,this.date.minutes=this.checkminute),this.selectShow=!1;let t=this.date.year+"-"+this.date.month+"-"+this.date.date,e=this.time(t);e?(this.innerValue=e+this.date.month+""+this.date.date+"",0==this.allDay&&(this.innerValue=this.innerValue+" "+this.date.hours+":"+this.date.minutes)):(this.date.year==this.year?this.innerValue=this.date.month+""+this.date.date+"":this.innerValue=this.date.year+""+this.date.month+""+this.date.date+"",0==this.allDay&&(this.innerValue=this.innerValue+" "+this.date.hours+":"+this.date.minutes)),this.selectShow=!1,this.$emit("confirm",this.date,this.type)},timestampToTime(t){var e=new Date(t);this.year=e.getFullYear()},time(t){if(this.date.year!=this.year)return!1;let e="";return new Date(t).getDate()===(new Date).getDate()?e="今天 · ":new Date(t).getDate()===(new Date).getDate()-1?e="昨天 · ":new Date(t).getDate()===(new Date).getDate()+1?e="明天 · ":new Date(t).getDate()<(new Date).getDate()&&(e=""),e}}};if(!Array){(t.resolveComponent("u-input")+t.resolveComponent("uni-calendar")+t.resolveComponent("u-popup"))()}Math||((()=>"../../../uni_modules/vk-uview-ui/components/u-input/u-input.js")+(()=>"../../../uni_modules/uni-calendar/components/uni-calendar/uni-calendar.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-popup/u-popup.js"))();const a=t._export_sfc(e,[["render",function(e,a,i,h,s,n){return t.e({a:t.o(n.openSelect),b:t.o((t=>s.innerValue=t)),c:t.p({"input-align":"right",type:"select","select-open":s.selectShow,placeholder:i.placeholder,disabled:i.disabled,modelValue:s.innerValue}),d:t.t(s.checkyear),e:t.o((t=>n.changeSwp("1"))),f:1==s.sindex?"#1E79FF":"#333333",g:0==i.allDay},0==i.allDay?{h:t.t(s.checkhour),i:t.t(s.checkminute),j:t.o((t=>n.changeSwp("2"))),k:2==s.sindex?"#1E79FF":"#333333"}:{},{l:t.o((t=>n.onOK())),m:t.sr("calendar","0d51b578-2,0d51b578-1"),n:t.o(n.calendarChange),o:t.p({insert:s.insert,lunar:s.lunar,date:s.today}),p:t.o(((...t)=>n.tolower&&n.tolower(...t))),q:0==i.allDay},0==i.allDay?{r:t.f(24,((e,a,i)=>({a:t.t(a<10?"0"+a:a),b:a}))),s:t.f(12,((e,a,i)=>({a:t.t(a<2?"0"+5*a:5*a),b:a}))),t:s.indicatorStyle,v:s.swiperTime,w:t.o(((...t)=>n.bindChange&&n.bindChange(...t)))}:{},{x:s.sindex,y:t.o((()=>{})),z:t.o((t=>n.colse())),A:t.o((t=>s.selectShow=t)),B:t.p({mode:"bottom",modelValue:s.selectShow})})}],["__scopeId","data-v-0d51b578"]]);wx.createComponent(a);
{
"component": true,
"usingComponents": {
"u-input": "../../../uni_modules/vk-uview-ui/components/u-input/u-input",
"uni-calendar": "../../../uni_modules/uni-calendar/components/uni-calendar/uni-calendar",
"u-popup": "../../../uni_modules/vk-uview-ui/components/u-popup/u-popup"
}
}
\ No newline at end of file
<view class="jnpf-dateTime data-v-0d51b578"><u-input wx:if="{{c}}" class="data-v-0d51b578" bindclick="{{a}}" u-i="0d51b578-0" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}"></u-input><u-popup wx:if="{{B}}" class="data-v-0d51b578" u-s="{{['d']}}" bindclick="{{z}}" u-i="0d51b578-1" bind:__l="__l" bindupdateModelValue="{{A}}" u-p="{{B}}"><view class="t-pop data-v-0d51b578" catchtap="{{y}}"><view class="pop-main data-v-0d51b578"><view class="top data-v-0d51b578"><view class="top-l data-v-0d51b578"><view class="data-v-0d51b578" bindtap="{{e}}" style="{{'color:' + f}}"><text class="data-v-0d51b578">{{d}}</text></view><view wx:if="{{g}}" class="data-v-0d51b578" bindtap="{{j}}" style="{{'color:' + k}}"><text class="data-v-0d51b578">{{h}}:{{i}}</text></view></view><view class="top-r data-v-0d51b578" bindtap="{{l}}"><text class="data-v-0d51b578">确定</text></view></view><swiper class="swiper data-v-0d51b578" circular current-item-id="{{x}}"><swiper-item class="data-v-0d51b578" item-id="{{'1'}}"><view class="mid data-v-0d51b578"><scroll-view class="data-v-0d51b578" scroll-y="true" style="height:960rpx" bindscrolltolower="{{p}}"><uni-calendar wx:if="{{o}}" class="r data-v-0d51b578" u-r="calendar" bindchange="{{n}}" u-i="0d51b578-2,0d51b578-1" bind:__l="__l" u-p="{{o}}"/></scroll-view></view></swiper-item><swiper-item wx:if="{{q}}" class="data-v-0d51b578" item-id="{{'2'}}"><picker-view indicator-style="{{t}}" value="{{v}}" bindchange="{{w}}" class="picker-view data-v-0d51b578"><picker-view-column class="data-v-0d51b578"><view wx:for="{{r}}" wx:for-item="v" wx:key="b" class="item data-v-0d51b578">{{v.a}}时</view></picker-view-column><picker-view-column class="data-v-0d51b578"><view wx:for="{{s}}" wx:for-item="v" wx:key="b" class="item data-v-0d51b578">{{v.a}}分 </view></picker-view-column></picker-view></swiper-item></swiper></view></view></u-popup></view>
\ No newline at end of file
.jnpf-dateTime.data-v-0d51b578{width:100%}.jnpf-dateTime.data-v-0d51b578 .u-drawer{z-index:999!important}.data-v-0d51b578 .uni-calendar-item__weeks-box-item{line-height:36rpx}.t-pop.data-v-0d51b578{width:100%;display:flex;justify-content:center;align-items:center}.t-pop .pop-main.data-v-0d51b578{display:flex;flex-direction:column;justify-content:space-between;align-items:center;background-color:#fff;border-radius:24px;height:900rpx;width:100%}.swiper.data-v-0d51b578{height:840rpx;width:100vw}.top.data-v-0d51b578{display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;margin:20rpx 0}.top .top-l.data-v-0d51b578{display:flex;flex-direction:row;margin-left:30rpx}.top .top-r.data-v-0d51b578{margin-right:30rpx;color:#1e79ff}.calendar.data-v-0d51b578{display:flex;flex-wrap:wrap;flex-direction:row;align-items:center;width:100vw;position:relative}.ca-top.data-v-0d51b578{width:14.2vw;display:flex;justify-content:center;align-items:center;height:66rpx;z-index:10}.cell.data-v-0d51b578{width:60rpx;height:60rpx;display:flex;justify-content:center;align-items:center;align-content:center;border-radius:30rpx}.cell-active.data-v-0d51b578{background-color:#1e79ff;color:#fff}.cabg.data-v-0d51b578{display:flex;justify-content:center;width:100vw;font-size:180rpx;color:beige;position:absolute;z-index:9}.picker-view.data-v-0d51b578{width:750rpx;height:600rpx;margin-top:20rpx}.item.data-v-0d51b578{height:50px;display:flex;align-items:center;justify-content:center;text-align:center}
"use strict";const t=require("../../../common/vendor.js");require("../../../utils/request.js");const e=require("../../../api/apply/apply.js"),s={data:()=>({current:0,usualList:[],allList:[],customStyle:{width:"128rpx",fontSize:"24rpx",height:"60rpx"},type:"2"}),methods:{init(){t.index.showLoading({title:"加载中"}),this.getUsualList()},getUsualList(){e.getUsualList(this.type).then((t=>{this.usualList=t.data.list.map((t=>{const e=t.objectData?JSON.parse(t.objectData):{};return{...t,...e}}))})),this.getAllList()},getAllList(){e.getDataList().then((e=>{t.index.hideLoading();let s=e.data.list;for(let t=0;t<s.length;t++){let e=s[t].children;if(Array.isArray(e)&&e.length)for(let t=0;t<e.length;t++){let s="",i="";if(e[t].propertyJson){let n=JSON.parse(e[t].propertyJson);s=n.iconBackgroundColor||"",i=n.moduleId||""}this.$set(e[t],"iconBackground",s),this.$set(e[t],"moduleId",i)}}this.allList=s}))},handelAdd(s){if(this.usualList.length>=11)return void t.index.showToast({title:"最多只能添加11个常用流程",icon:"none"});const i={objectType:this.type,objectId:s.id,objectData:JSON.stringify(s)};e.addUsual(i).then((e=>{this.usualList.push(s),s.isData=!0,t.index.$emit("updateUsualList"),t.index.showToast({title:e.msg})}))},handelDel(s){e.delUsual(s.id).then((e=>{this.usualList=this.usualList.filter((t=>t.id!==s.id)),s.isData=!1,t.index.$emit("updateUsualList"),t.index.showToast({title:e.msg})}))},change(t){this.current=t}}};if(!Array){(t.resolveComponent("u-tabs")+t.resolveComponent("u-sticky")+t.resolveComponent("u-button"))()}Math||((()=>"../../../uni_modules/vk-uview-ui/components/u-tabs/u-tabs.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-sticky/u-sticky.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-button/u-button.js"))();const i=t._export_sfc(s,[["render",function(e,s,i,n,a,o){return{a:t.f(a.usualList,((e,s,i)=>({a:t.n(e.icon),b:e.iconBackground||"#008cff",c:t.t(e.fullName),d:s}))),b:t.o(o.change),c:t.p({list:a.allList,current:a.current,name:"fullName","inactive-color":"#303133"}),d:t.f(a.allList,((e,s,i)=>t.e({a:s==a.current},s==a.current?{b:t.f(e.children,((e,s,n)=>t.e({a:t.n(e.icon),b:e.iconBackground||"#008cff",c:t.t(e.fullName),d:!e.isData},e.isData?{h:t.o((t=>o.handelDel(e)),s),i:"a69731f6-3-"+i+"-"+n,j:t.p({"custom-style":a.customStyle,type:"error"})}:{e:t.o((t=>o.handelAdd(e)),s),f:"a69731f6-2-"+i+"-"+n,g:t.p({"custom-style":a.customStyle})},{k:s})))}:{},{c:s})))}}]]);wx.createComponent(i);
{
"component": true,
"usingComponents": {
"u-tabs": "../../../uni_modules/vk-uview-ui/components/u-tabs/u-tabs",
"u-sticky": "../../../uni_modules/vk-uview-ui/components/u-sticky/u-sticky",
"u-button": "../../../uni_modules/vk-uview-ui/components/u-button/u-button"
}
}
\ No newline at end of file
<view class="allApp-v"><view class="usualList"><view class="caption u-m-b-20">常用功能<text class="tip">最多只能添加11个</text></view><view class="u-flex u-flex-wrap"><view wx:for="{{a}}" wx:for-item="item" wx:key="d" class="item u-flex-col u-col-center"><text class="{{['u-font-40', 'item-icon', item.a]}}" style="{{'background:' + item.b}}"/><text class="u-font-24 u-line-1 item-text">{{item.c}}</text></view></view></view><view class="tabs_box"><u-sticky u-s="{{['d']}}" u-i="a69731f6-0" bind:__l="__l"><view class="sticky"><u-tabs wx:if="{{c}}" bindchange="{{b}}" u-i="a69731f6-1,a69731f6-0" bind:__l="__l" u-p="{{c}}"></u-tabs></view></u-sticky></view><view class="allList"><view wx:for="{{d}}" wx:for-item="item" wx:key="c" class="u-m-t-20"><block wx:if="{{item.a}}"><view wx:for="{{item.b}}" wx:for-item="child" wx:key="k" class="u-flex childList-item u-p-b-28"><text class="{{['u-font-40', 'item-icon', child.a]}}" style="{{'background:' + child.b}}"/><text class="u-font-32 item-text u-m-l-28 u-m-r-28 u-line-2">{{child.c}}</text><view class="btnBox"><u-button wx:if="{{child.d}}" u-s="{{['d']}}" bindclick="{{child.e}}" u-i="{{child.f}}" bind:__l="__l" u-p="{{child.g}}">添加 </u-button><u-button wx:else u-s="{{['d']}}" bindclick="{{child.h}}" u-i="{{child.i}}" bind:__l="__l" u-p="{{child.j||''}}">移除 </u-button></view></view></block></view></view></view>
\ No newline at end of file
.allApp-v .caption{font-size:36rpx;line-height:80rpx;padding:0 32rpx}.allApp-v .caption .tip{margin-left:20rpx;font-size:24rpx;color:#c6c6c6}.allApp-v .tabs_box{width:100%}.allApp-v .tabs_box .sticky{width:750rpx;height:120rpx;color:#fff;padding-right:32rpx}.allApp-v .usualList{margin-bottom:20rpx}.allApp-v .usualList .item{margin-bottom:32rpx;width:25%}.allApp-v .usualList .item .item-icon{width:88rpx;height:88rpx;margin-bottom:8rpx;line-height:88rpx;text-align:center;border-radius:20rpx;color:#fff;font-size:56rpx}.allApp-v .usualList .item .item-text{width:100%;text-align:center;padding:0 16rpx}.allApp-v .allList{padding:0 32rpx}.allApp-v .allList .childList-item{align-items:center}.allApp-v .allList .childList-item .item-text{width:calc(100% - 216rpx)}.allApp-v .allList .childList-item .item-icon{width:88rpx;height:88rpx;line-height:88rpx;text-align:center;border-radius:20rpx;color:#fff;flex-shrink:0;font-size:56rpx}
"use strict";const t=require("../../../common/vendor.js"),e=require("../../../uni_modules/mescroll-uni/components/mescroll-uni/mescroll-mixins.js"),s=require("../../../api/apply/apply.js"),i=require("../../../libs/resources.js"),o={mixins:[e.MescrollMixin],props:{categoryList:{type:Array,default:()=>[]}},data:()=>({usualList:[],current:0,customStyle:{width:"128rpx",fontSize:"24rpx",height:"60rpx"},downOption:{use:!0,auto:!0},upOption:{page:{num:0,size:20,time:null},empty:{use:!0,icon:i.resources.message.nodata,tip:"暂无数据",fixed:!1,top:"560rpx"},textNoMore:"没有更多数据"},category:"",allList:[],type:"1",loading:!1,fullName:""}),methods:{init(){this.getUsualList()},getUsualList(){s.getUsualList(this.type).then((t=>{this.usualList=t.data.list.map((t=>{const e=t.objectData?JSON.parse(t.objectData):{};return{...t,...e}}))}))},upCallback(t){let e={currentPage:t.num,pageSize:t.size,category:0==this.category?"":this.category,flowType:0};this.loading=!1,s.getFlowList(e,{load:1==t.num}).then((e=>{this.mescroll.endSuccess(e.data.list.length),1==t.num&&(this.allList=[]);const s=e.data.list||[];this.allList=this.allList.concat(s)})).catch((()=>{this.mescroll.endSuccess(0),this.mescroll.endErr()}))},handelAdd(e){if(this.usualList.length>=11)return void t.index.showToast({title:"最多只能添加11个常用流程",icon:"none"});const i={objectType:this.type,objectId:e.id,objectData:JSON.stringify(e)};s.addUsual(i).then((s=>{this.usualList.push(e),e.isData=!0,t.index.$emit("updateUsualList"),t.index.showToast({title:s.msg})}))},handelDel(e){s.delUsual(e.id).then((s=>{this.usualList=this.usualList.filter((t=>t.id!==e.id)),e.isData=!1,t.index.$emit("updateUsualList"),t.index.showToast({title:s.msg})}))},change(t){this.current=t,this.category=this.categoryList[t].id?this.categoryList[t].id:"",this.allList=[],this.mescroll.resetUpScroll()}}};if(!Array){(t.resolveComponent("u-tabs")+t.resolveComponent("u-sticky")+t.resolveComponent("u-button")+t.resolveComponent("mescroll-uni"))()}Math||((()=>"../../../uni_modules/vk-uview-ui/components/u-tabs/u-tabs.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-sticky/u-sticky.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-button/u-button.js")+(()=>"../../../uni_modules/mescroll-uni/components/mescroll-uni/mescroll-uni.js"))();const l=t._export_sfc(o,[["render",function(e,s,i,o,l,a){return{a:t.f(l.usualList,((e,s,i)=>({a:t.n(e.icon),b:e.iconBackground||"#008cff",c:t.t(e.fullName),d:s}))),b:t.o(a.change),c:t.p({list:i.categoryList,current:l.current,name:"fullName","inactive-color":"#303133"}),d:t.f(l.allList,((e,s,i)=>t.e({a:t.n(e.icon),b:e.iconBackground||"#008cff",c:t.t(e.fullName),d:!e.isData},e.isData?{h:t.o((t=>a.handelDel(e)),s),i:"5047ea98-4-"+i+",5047ea98-0",j:t.p({"custom-style":l.customStyle,type:"error"})}:{e:t.o((t=>a.handelAdd(e)),s),f:"5047ea98-3-"+i+",5047ea98-0",g:t.p({"custom-style":l.customStyle})},{k:s}))),e:t.sr("mescrollRef","5047ea98-0"),f:t.o(e.mescrollInit),g:t.o(e.downCallback),h:t.o(a.upCallback),i:t.p({down:l.downOption,up:l.upOption,bottombar:!1,sticky:!1})}}]]);wx.createComponent(l);
{
"component": true,
"usingComponents": {
"u-tabs": "../../../uni_modules/vk-uview-ui/components/u-tabs/u-tabs",
"u-sticky": "../../../uni_modules/vk-uview-ui/components/u-sticky/u-sticky",
"u-button": "../../../uni_modules/vk-uview-ui/components/u-button/u-button",
"mescroll-uni": "../../../uni_modules/mescroll-uni/components/mescroll-uni/mescroll-uni"
}
}
\ No newline at end of file
<view class="allApp-v"><mescroll-uni wx:if="{{i}}" class="r" u-s="{{['d']}}" u-r="mescrollRef" bindinit="{{f}}" binddown="{{g}}" bindup="{{h}}" u-i="5047ea98-0" bind:__l="__l" u-p="{{i}}"><view><view class="usualList"><view class="caption u-m-b-20">常用流程<text class="tip">最多只能添加11个</text></view><view class="u-flex u-flex-wrap"><view wx:for="{{a}}" wx:for-item="item" wx:key="d" class="item u-flex-col u-col-center"><text class="{{['u-font-40', 'item-icon', item.a]}}" style="{{'background:' + item.b}}"/><text class="u-font-24 u-line-1 item-text">{{item.c}}</text></view></view></view><view class="tabs_box"><u-sticky u-s="{{['d']}}" u-i="5047ea98-1,5047ea98-0" bind:__l="__l"><view class="sticky"><u-tabs wx:if="{{c}}" bindchange="{{b}}" u-i="5047ea98-2,5047ea98-1" bind:__l="__l" u-p="{{c}}"></u-tabs></view></u-sticky></view><view class="allList"><view wx:for="{{d}}" wx:for-item="item" wx:key="k"><view class="u-flex childList-item u-p-b-28"><text class="{{['u-font-40', 'item-icon', item.a]}}" style="{{'background:' + item.b}}"/><text class="item-text u-m-l-28 u-m-r-28 u-line-2">{{item.c}}</text><view class="btnBox"><u-button wx:if="{{item.d}}" u-s="{{['d']}}" bindclick="{{item.e}}" u-i="{{item.f}}" bind:__l="__l" u-p="{{item.g}}">添加 </u-button><u-button wx:else u-s="{{['d']}}" bindclick="{{item.h}}" u-i="{{item.i}}" bind:__l="__l" u-p="{{item.j||''}}"> 移除 </u-button></view></view></view></view></view></mescroll-uni></view>
\ No newline at end of file
.allApp-v .caption{font-size:36rpx;line-height:80rpx;padding:0 32rpx}.allApp-v .caption .tip{margin-left:20rpx;font-size:24rpx;color:#c6c6c6}.allApp-v .tabs_box{width:100%}.allApp-v .tabs_box .sticky{width:750rpx;height:120rpx;color:#fff;padding-right:32rpx}.allApp-v .usualList{margin-bottom:20rpx}.allApp-v .usualList .item{margin-bottom:32rpx;width:25%}.allApp-v .usualList .item .item-icon{width:88rpx;height:88rpx;margin-bottom:8rpx;line-height:88rpx;text-align:center;border-radius:20rpx;color:#fff;font-size:56rpx}.allApp-v .usualList .item .item-text{width:100%;text-align:center;padding:0 16rpx}.allApp-v .allList{padding:0 32rpx;margin-top:20rpx}.allApp-v .allList .childList-item{align-items:center}.allApp-v .allList .childList-item .item-text{width:calc(100% - 216rpx)}.allApp-v .allList .childList-item .item-icon{width:88rpx;height:88rpx;line-height:88rpx;text-align:center;border-radius:20rpx;color:#fff;flex-shrink:0;font-size:56rpx}
"use strict";const t=require("../../../common/vendor.js");require("../../../utils/request.js");const e={components:{allAppWorkFlow:()=>"./allApp_workFlow.js",allAppApply:()=>"./allApp_apply.js"},data:()=>({type:"1",categoryList:[]}),onLoad(e){this.type=e.type||"1",t.index.setNavigationBarTitle({title:"1"==this.type?"更多流程":"更多功能"}),this.categoryList=e.categoryList?JSON.parse(e.categoryList):[],this.init()},methods:{init(t){this.$nextTick((()=>{1==this.type?this.$refs.allAppWorkFlow.init():this.$refs.allAppApply.init()}))}}};if(!Array){(t.resolveComponent("allAppWorkFlow")+t.resolveComponent("allAppApply"))()}const p=t._export_sfc(e,[["render",function(e,p,o,s,l,i){return t.e({a:1==l.type},1==l.type?{b:t.sr("allAppWorkFlow","38dd676c-0"),c:t.p({categoryList:l.categoryList})}:{},{d:2==l.type},2==l.type?{e:t.sr("allAppApply","38dd676c-1")}:{})}]]);wx.createPage(p);
{
"navigationBarTitleText": "更多流程",
"usingComponents": {
"all-app-work-flow": "./allApp_workFlow",
"all-app-apply": "./allApp_apply"
}
}
\ No newline at end of file
<view><view wx:if="{{a}}" class=""><all-app-work-flow wx:if="{{c}}" class="r" u-r="allAppWorkFlow" u-i="38dd676c-0" bind:__l="__l" u-p="{{c}}"></all-app-work-flow></view><view wx:if="{{d}}" class=""><all-app-apply class="r" u-r="allAppApply" u-i="38dd676c-1" bind:__l="__l"></all-app-apply></view></view>
\ No newline at end of file
"use strict";const e=require("../../../common/vendor.js"),t=require("../../../api/workFlow/flowBefore.js"),s=require("../../../libs/resources.js"),o={mixins:[require("../../../uni_modules/mescroll-uni/components/mescroll-uni/mescroll-mixins.js").MescrollMixin],data:()=>({downOption:{use:!0,auto:!0},upOption:{page:{num:0,size:20,time:null},empty:{use:!0,icon:s.resources.message.nodata,tip:"暂无数据",fixed:!0,top:"300rpx"},textNoMore:"没有更多数据"},onLoadData:{},safeAreaInsetBottom:!0,list:[],show:!1,keyword:"",selectList:[],multiple:!0}),onLoad(e){this.show=!0,this.onLoadData=JSON.parse(decodeURIComponent(e.data)),this.selectList=this.onLoadData.selectList},computed:{baseURL(){return this.define.baseURL}},methods:{upCallback(e){let s={currentPage:e.num,pageSize:e.size,keyword:this.keyword,...this.onLoadData.formData,nodeCode:this.onLoadData.nodeId};t.CandidateUser(this.onLoadData.taskId||0,s,{load:1==e.num}).then((t=>{this.mescroll.endSuccess(t.data.list.length),1==e.num&&(this.list=[]);const s=t.data.list;this.list=this.list.concat(s)})).catch((()=>{this.mescroll.endErr()}))},search(){this.searchTimer&&clearTimeout(this.searchTimer),this.searchTimer=setTimeout((()=>{this.list=[],this.mescroll.resetUpScroll()}),300)},onSelect(e){let t=!1;for(let s=0;s<this.selectList.length;s++)if(this.selectList[s].id===e.id)return void(t=!0);!t&&this.selectList.push(e),this.selectList=this.selectList.map((e=>({nodeId:this.onLoadData.nodeId,...e})))},delSelect(e){this.selectList.splice(e,1)},close(){this.list=[],this.$emit("input",!1)},getResult(t){if("confirm"!=t)return e.index.navigateBack();e.index.$emit(t,this.selectList,this.onLoadData.nodeId),e.index.navigateBack()},setCheckAll(){this.selectList=[]}}};if(!Array){(e.resolveComponent("u-search")+e.resolveComponent("u-avatar")+e.resolveComponent("u-icon")+e.resolveComponent("mescroll-body")+e.resolveComponent("u-button"))()}Math||((()=>"../../../uni_modules/vk-uview-ui/components/u-search/u-search.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-avatar/u-avatar.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-icon/u-icon.js")+(()=>"../../../uni_modules/mescroll-uni/components/mescroll-body/mescroll-body.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-button/u-button.js"))();const i=e._export_sfc(o,[["render",function(t,s,o,i,l,n){return e.e({a:e.o(n.search),b:e.o((e=>l.keyword=e)),c:e.p({placeholder:"请输入关键词搜索",height:"72","show-action":!1,"bg-color":"#f0f2f6",shape:"square",modelValue:l.keyword}),d:l.multiple},l.multiple?{e:e.o(((...e)=>n.setCheckAll&&n.setCheckAll(...e)))}:{},{f:e.f(l.selectList,((t,s,o)=>({a:"eff66954-2-"+o+",eff66954-0",b:e.p({src:n.baseURL+t.headIcon,mode:"circle",size:"mini"}),c:e.t(t.fullName),d:e.o((e=>n.delSelect(s)),s),e:"eff66954-3-"+o+",eff66954-0",f:e.t(t.organize),g:s}))),g:e.p({name:"close"}),h:e.f(l.list,((t,s,o)=>({a:"eff66954-4-"+o+",eff66954-0",b:e.p({src:n.baseURL+t.headIcon,mode:"circle",size:"default"}),c:e.t(t.fullName),d:e.t(t.organize),e:s,f:e.o((e=>n.onSelect(t)),s)}))),i:e.sr("mescrollRef","eff66954-0"),j:e.o(t.mescrollInit),k:e.o(t.downCallback),l:e.o(n.upCallback),m:e.p({sticky:!0,down:l.downOption,up:l.upOption,bottombar:!1}),n:e.o((e=>n.getResult("cancel"))),o:e.o((e=>n.getResult("confirm"))),p:e.p({type:"primary"})})}],["__scopeId","data-v-eff66954"]]);wx.createPage(i);
{
"navigationBarTitleText": "审批候选人",
"enablePullDownRefresh": false,
"usingComponents": {
"u-search": "../../../uni_modules/vk-uview-ui/components/u-search/u-search",
"u-avatar": "../../../uni_modules/vk-uview-ui/components/u-avatar/u-avatar",
"u-icon": "../../../uni_modules/vk-uview-ui/components/u-icon/u-icon",
"mescroll-body": "../../../uni_modules/mescroll-uni/components/mescroll-body/mescroll-body",
"u-button": "../../../uni_modules/vk-uview-ui/components/u-button/u-button"
}
}
\ No newline at end of file
<view class="candidateForm-v data-v-eff66954"><mescroll-body wx:if="{{m}}" class="r data-v-eff66954" u-s="{{['d']}}" u-r="mescrollRef" bindinit="{{j}}" binddown="{{k}}" bindup="{{l}}" u-i="eff66954-0" bind:__l="__l" u-p="{{m}}"><view class="treeSelect-search search-box_sticky data-v-eff66954"><u-search wx:if="{{c}}" class="data-v-eff66954" bindchange="{{a}}" u-i="eff66954-1,eff66954-0" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}"></u-search><view class="alreadySelect data-v-eff66954"><view class="alreadySelect__box u-flex-col data-v-eff66954"><view class="alreadySelect_hd u-flex data-v-eff66954"><view class="data-v-eff66954">已选</view><view wx:if="{{d}}" class="data-v-eff66954" bindtap="{{e}}" style="color:#2979ff">清空列表 </view></view><view class="select__box u-flex-col data-v-eff66954"><scroll-view class="data-v-eff66954" scroll-y="true" style="max-height:200px"><view class="u-flex select__list data-v-eff66954"><view wx:for="{{f}}" wx:for-item="list" wx:key="g" class="u-selectTag u-flex data-v-eff66954"><view class="avatar data-v-eff66954"><u-avatar wx:if="{{list.b}}" class="data-v-eff66954" u-i="{{list.a}}" bind:__l="__l" u-p="{{list.b}}"></u-avatar></view><view class="u-font-24 content data-v-eff66954"><view class="nameSty u-flex data-v-eff66954"><view class="nameUp data-v-eff66954">{{list.c}}</view><u-icon wx:if="{{g}}" class="close data-v-eff66954" bindclick="{{list.d}}" u-i="{{list.e}}" bind:__l="__l" u-p="{{g}}"></u-icon></view><view class="organizeSty data-v-eff66954">{{list.f}}</view></view></view></view></scroll-view></view></view></view><view class="listTitle data-v-eff66954">全部数据</view></view><view class="mescroll_body data-v-eff66954"><view style="" class="lists_box data-v-eff66954"><view wx:for="{{h}}" wx:for-item="list" wx:key="e" class="list-cell-txt u-border-bottom data-v-eff66954" bindtap="{{list.f}}"><view class="avatar data-v-eff66954"><u-avatar wx:if="{{list.b}}" class="data-v-eff66954" u-i="{{list.a}}" bind:__l="__l" u-p="{{list.b}}"></u-avatar></view><view class="u-font-30 content data-v-eff66954"><view class="nameSty data-v-eff66954">{{list.c}}</view><view class="organizeSty data-v-eff66954">{{list.d}}</view></view></view></view></view></mescroll-body><view class="flowBefore-actions data-v-eff66954"><u-button u-s="{{['d']}}" class="buttom-btn data-v-eff66954" bindclick="{{n}}" u-i="eff66954-5" bind:__l="__l">取消</u-button><u-button wx:if="{{p}}" u-s="{{['d']}}" class="buttom-btn data-v-eff66954" catchclick="{{o}}" u-i="eff66954-6" bind:__l="__l" u-p="{{p}}">确定</u-button></view></view>
\ No newline at end of file
.candidateForm-v.data-v-eff66954{padding-bottom:88rpx}.candidateForm-v .treeSelect-search.data-v-eff66954{padding:20rpx 30rpx}.candidateForm-v .treeSelect-search .alreadySelect.data-v-eff66954{width:100%;padding:30rpx 0rpx 0;border-bottom:1rpx solid #c0c4cc}.candidateForm-v .treeSelect-search .alreadySelect .alreadySelect__box .alreadySelect_hd.data-v-eff66954{width:100%;height:60rpx;justify-content:space-between}.candidateForm-v .treeSelect-search .alreadySelect .alreadySelect__box .select__box.data-v-eff66954{width:100%;justify-content:center}.candidateForm-v .treeSelect-search .alreadySelect .alreadySelect__box .select__box .select__list.data-v-eff66954{justify-content:flex-start;flex-wrap:wrap}.candidateForm-v .treeSelect-search .alreadySelect .alreadySelect__box .select__box .select__list .u-selectTag.data-v-eff66954{width:310rpx;border:1px solid #2194fa;background-color:#e8f4fe;line-height:40rpx;margin:10rpx;padding-left:10rpx;align-items:center;border-radius:8rpx}.candidateForm-v .treeSelect-search .alreadySelect .alreadySelect__box .select__box .select__list .u-selectTag .content.data-v-eff66954{width:74%;margin-left:10rpx}.candidateForm-v .treeSelect-search .alreadySelect .alreadySelect__box .select__box .select__list .u-selectTag .content .nameSty.data-v-eff66954{color:#353535;flex:1;display:flex}.candidateForm-v .treeSelect-search .alreadySelect .alreadySelect__box .select__box .select__list .u-selectTag .content .nameSty .nameUp.data-v-eff66954{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1}.candidateForm-v .treeSelect-search .alreadySelect .alreadySelect__box .select__box .select__list .u-selectTag .content .nameSty .close.data-v-eff66954{width:26px;padding-right:8rpx;justify-content:flex-end;color:#2194fa;flex-shrink:0}.candidateForm-v .treeSelect-search .alreadySelect .alreadySelect__box .select__box .select__list .u-selectTag .content .organizeSty.data-v-eff66954{color:#a0a1a1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.candidateForm-v .treeSelect-search .alreadySelect .alreadySelect__box .select__box .select__list .u-size-default.data-v-eff66954{padding:6rpx 12rpx}.candidateForm-v .treeSelect-search .listTitle.data-v-eff66954{padding:22rpx 0;font-size:36rpx}.candidateForm-v .lists_box.data-v-eff66954{height:100%}.candidateForm-v .lists_box .list-cell-txt.data-v-eff66954{display:flex;box-sizing:border-box;width:100%;padding:20rpx 32rpx;overflow:hidden;color:#606266;font-size:28rpx;line-height:24px;background-color:#fff}.candidateForm-v .lists_box .list-cell-txt .content.data-v-eff66954{width:85%;margin-left:15rpx}.candidateForm-v .lists_box .list-cell-txt .content .organizeSty.data-v-eff66954{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.candidateForm-v .lists_box .list-cell-txt .department.data-v-eff66954{color:#9a9a9a}
"use strict";const e=require("../../../../common/vendor.js");require("../../../../utils/request.js");const t=["png","jpg","jpeg","bmp","gif"],i={components:{CommentLsjUpload:()=>"./lsj-upload/lsj-upload.js"},name:"jnpf-upload-img",inheritAttrs:!1,props:{modelValue:{type:Array,default:()=>[]},limit:{type:[Number,String],default:9},fileSize:{type:Number,default:10},sizeUnit:{type:String,default:"MB"},accept:{type:String,default:""},pathType:{type:String,default:"defaultPath"},tipText:{type:String,default:""},isAccount:{type:Number,default:0},folder:{type:String,default:""},vModel:{type:String,default:""},detailed:{type:Boolean,default:!1},align:{type:String,default:"right"},currentCount:{type:Number,default:0}},data(){return{percent:"",fileList:[],option:{},params:{pathType:this.pathType,isAccount:this.isAccount,folder:this.folder},instantly:!0,size:30,list:[],deletable:!1,childId:"upload"+this.$u.guid(3,!1,2),lsjUpload:"lsjUpload"+this.$u.guid(3,!1,2),width:"48rpx",height:"48rpx",disabled:!1}},computed:{baseURL(){return this.define.baseURL},comUploadUrl(){return this.define.comUploadUrl},getFormats(){let e=this.accept;return e=e.replace("image/*","png,jpg,jpeg,bmp,gif,webp,psd,svg,tiff"),e=e.replace("video/*","avi,wmv,mpg,mpeg,mov,rm,ram,swf,flv,mp4,wma,rm,rmvb,flv,mpg,mkv"),e=e.replace("audio/*","mp3,wav,aif,midi,m4a"),e}},created(){const t=e.index.getStorageSync("token");this.option={url:this.baseURL+"/api/file/Uploader/annex",name:"file",header:{Authorization:t,uid:"27682",client:"app",accountid:"DP"},data:this.params}},watch:{modelValue:{handler(e){this.fileList=JSON.parse(JSON.stringify(e))},immediate:!0}},methods:{onCountOver(){e.index.showToast({title:`最多可以上传${this.limit}个文件`,icon:"none"})},onuploadEnd(e){if(this.currentCount>=this.limit)return this.$u.toast("最多可以上传"+this.limit+"个文件");if(e.responseText){let t=JSON.parse(e.responseText);if(this.fileList.length>=this.limit)return this.$u.toast("最多可以上传"+this.limit+"个文件");if(200!=t.code)return this.$u.toast(t.msg);this.fileList.push({name:e.name,fileId:t.data.name,url:t.data.url,fileExtension:t.data.fileExtension,fileSize:t.data.fileSize}),this.$emit("update:modelValue",this.fileList),this.$emit("change",this.fileList)}this.$forceUpdate()},downLoad(e){if(e.fileExtension&&t.includes(e.fileExtension))return this.previewImage(e);this.previewFile(e)},delFile(e){this.fileList=e},previewFile(t){let i=t.url,s=i.split(".")[1];["doc","xls","ppt","pdf","docx","xlsx","pptx"].includes(s)?e.index.downloadFile({url:this.baseURL+i,success:t=>{var i=t.tempFilePath;e.index.openDocument({filePath:encodeURI(i),showMenu:!0,fileType:s,success:e=>{console.log("打开文档成功")},fail(e){console.log("小程序",e)}})}}):this.$u.toast("该文件类型无法打开")},previewImage(t){if(!t.url)return;const i=this.baseURL+t.url;e.index.previewImage({urls:[i],current:i,success:()=>{},fail:()=>{e.index.showToast({title:"预览图片失败",icon:"none"})}})},downloadFile(t){e.index.downloadFile({url:this.baseURL+t,success:t=>{200===t.statusCode&&e.index.saveFile({tempFilePath:t.tempFilePath,success:t=>{e.index.showToast({icon:"none",mask:!0,title:"文件已保存:"+t.savedFilePath,duration:3e3}),setTimeout((()=>{e.index.openDocument({filePath:t.savedFilePath,success:e=>{},fail(e){}})}),500)}})}})}}};if(!Array){e.resolveComponent("CommentLsjUpload")()}const s=e._export_sfc(i,[["render",function(t,i,s,a,l,n){return e.e({a:!s.detailed&&!l.disabled},s.detailed||l.disabled?{}:e.e({b:!l.disabled},l.disabled?{g:e.o(((...e)=>n.onCountOver&&n.onCountOver(...e)))}:{c:e.sr(l.lsjUpload,"e9b0ea58-0"),d:l.lsjUpload,e:e.o(n.onuploadEnd),f:e.p({childId:l.childId,width:l.width,height:l.height,option:l.option,size:s.fileSize,formats:n.getFormats,instantly:l.instantly,lsjUpload:l.lsjUpload,currentCount:s.currentCount})}),{h:l.disabled},l.disabled?{i:e.o(((...e)=>n.onCountOver&&n.onCountOver(...e)))}:{},{j:e.t(s.tipText),k:s.align})}],["__scopeId","data-v-e9b0ea58"]]);wx.createComponent(s);
{
"component": true,
"usingComponents": {
"comment-lsj-upload": "./lsj-upload/lsj-upload"
}
}
\ No newline at end of file
<view class="jnpf-file data-v-e9b0ea58"><view class="jnpf-file-box data-v-e9b0ea58" style="{{'text-align:' + k}}"><view wx:if="{{a}}" class="jnpf-file-box-line data-v-e9b0ea58"><comment-lsj-upload wx:if="{{b}}" class="r data-v-e9b0ea58" u-s="{{['d']}}" u-r="{{d}}" binduploadEnd="{{e}}" u-i="e9b0ea58-0" bind:__l="__l" u-p="{{f}}"><view class="icon-ym icon-ym-comment-file data-v-e9b0ea58" size="mini"></view></comment-lsj-upload><view wx:else class="icon-ym icon-ym-comment-file data-v-e9b0ea58" size="mini" bindtap="{{g}}"></view></view><view wx:if="{{h}}" class="icon-ym icon-ym-comment-file data-v-e9b0ea58" size="mini" bindtap="{{i}}"></view><view class="tipText u-p-l-20 data-v-e9b0ea58">{{j}}</view></view></view>
\ No newline at end of file
.icon-ym.data-v-e9b0ea58{font-size:48rpx}.jnpf-file.data-v-e9b0ea58{width:100%}.jnpf-file .jnpf-file-box .jnpf-file-box-line.data-v-e9b0ea58{height:70rpx;align-items:center;display:flex}.jnpf-file .jnpf-file-box .tipText.data-v-e9b0ea58{color:#606266;word-break:break-all;line-height:48rpx}.jnpf-file .jnpf-file-box .jnpf-file-item.data-v-e9b0ea58{justify-content:space-between;flex-direction:row}.jnpf-file .jnpf-file-box .jnpf-file-item .jnpf-file-item-txt.data-v-e9b0ea58{width:230rpx;flex:auto}.jnpf-file .jnpf-file-box .jnpf-file-item .showLeft.data-v-e9b0ea58{text-align:left}.jnpf-file .jnpf-file-box .jnpf-file-item .closeBox.data-v-e9b0ea58{height:60rpx;align-items:flex-end;justify-content:space-evenly;flex:.2}.jnpf-file .jnpf-file-box .jnpf-file-item .closeBox .closeTxt.data-v-e9b0ea58{width:36rpx;height:36rpx;border-radius:50%;background-color:#fa3534;color:#fff;font-size:20rpx;align-items:center;justify-content:center;line-height:36rpx}
"use strict";const e=require("../../../../../common/vendor.js");exports.LsjFile=class{constructor(e){this.dom=null,this.files=new Map,this.debug=e.debug||!1,this.id=e.id,this.width=e.width,this.height=e.height,this.option=e.option,this.instantly=e.instantly,this.prohibited=e.prohibited,this.onchange=e.onchange,this.onprogress=e.onprogress,this.uploadHandle=this._uploadHandle,this.uploadHandle=this._uploadHandleWX}create(e){if(!this.dom)return this.dom}setData(){let[e,t=""]=arguments;"object"==typeof e?Object.assign(this.option,e):this._setValue(this.option,e,t),this.debug&&console.log(JSON.stringify(this.option))}async upload(e=""){if(!this.option.url)throw Error("未设置上传地址");if(e&&this.files.has(e))await this.uploadHandle(this.files.get(e));else for(let t of this.files.values())"waiting"!==t.type&&"fail"!==t.type||await this.uploadHandle(t)}addFile(e,t){let s=e.name;if(this.debug&&console.log("文件名称",s,"大小",e.size),e){let t="",i=s.substring(s.lastIndexOf(".")+1).toLowerCase(),o=this.prohibited.formats.toLowerCase();return t=e.path,o&&!o.includes(i)?(this.toast(`不支持上传${i.toUpperCase()}格式文件`),!1):e.size>1048576*Math.abs(this.prohibited.size)?(this.toast(`文件大小超过${this.prohibited.size}MB`),!1):(this.files.set(e.name,{file:e,path:t,name:e.name,size:e.size,progress:0,type:"waiting"}),!0)}}clear(e=""){return e?this.files.delete(e):this.files.clear(),this.onchange(this.files)}toast(t){e.index.showToast({title:t,icon:"none"})}chooseMessageFile(t,s){e.wx$1.chooseMessageFile({count:s,type:t,success:({tempFiles:e})=>{for(let t of e)this.addFile(t);this._uploadAfter()},fail:()=>{this.toast("打开失败")}})}_copyObject(e){return void 0!==e?JSON.parse(JSON.stringify(e)):e}_setValue(e,t,s){let i;i="object"==typeof s?this._copyObject(s):s;let o=new RegExp("([\\w$]+)|\\[(:\\d)\\]","g");const n=t.match(o);for(let a=0;a<n.length-1;a++){let t=n[a];"object"!=typeof e[t]&&(e[t]={}),e=e[t]}e[n[n.length-1]]=i,this.debug&&console.log("参数更新后",JSON.stringify(this.option))}_uploadAfter(){this.onchange(this.files),setTimeout((()=>{this.instantly&&this.upload()}),1e3)}_overrideUrlLoading(){this.dom.overrideUrlLoading({mode:"reject"},(e=>{let{retype:t,item:s,files:i,end:o}=this._getRequest(e.url),n=this;switch(t){case"updateOption":this.dom.evalJS(`vm.setData('${JSON.stringify(n.option)}')`);break;case"change":try{n.files=new Map([...n.files,...JSON.parse(unescape(i))])}catch(a){return console.error("出错了,请检查代码")}n.onchange(n.files);break;case"progress":try{s=JSON.parse(unescape(s))}catch(a){return console.error("出错了,请检查代码")}n._changeFilesItem(s,o)}}))}_getRequest(e){let t=new Object,s=e.indexOf("?");if(-1!=s){let i=e.substring(s+1).split("&");for(let e=0;e<i.length;e++)t[i[e].split("=")[0]]=unescape(i[e].split("=")[1])}return t}_changeFilesItem(e,t=!1){this.debug&&console.log("onprogress",JSON.stringify(e)),this.onprogress(e,t),this.files.set(e.name,e)}_uploadHandle(e){return e.type="loading",delete e.responseText,new Promise(((t,s)=>{this.debug&&console.log("option",JSON.stringify(this.option));let{url:i,name:o,method:n="POST",header:a,formData:l,data:r}=this.option,h=new FormData;for(let e in l)h.append(e,l[e]);for(let e in r)h.append(e,r[e]);h.append(o,e.file);let p=new XMLHttpRequest;p.open(n,i,!0);for(let e in a)p.setRequestHeader(e,a[e]);p.upload.addEventListener("progress",(t=>{if(t.lengthComputable){let s=Math.ceil(100*t.loaded/t.total);s<=100&&(e.progress=s,this._changeFilesItem(e))}}),!1),p.ontimeout=()=>(console.error("请求超时"),e.type="fail",this._changeFilesItem(e,!0),t(!1)),p.onreadystatechange=s=>{if(4==p.readyState)return 200==p.status?(this.debug&&console.log("上传完成:"+p.responseText),e.responseText=p.responseText,e.type="success",this._changeFilesItem(e,!0),t(!0)):(0==p.status&&console.error("status = 0 :请检查请求头Content-Type与服务端是否匹配,服务端已正确开启跨域,并且nginx未拦截阻止请求"),console.error("--ERROR--:status = "+p.status),e.type="fail",this._changeFilesItem(e,!0),t(!1))},p.send(h)}))}_uploadHandleWX(t){return t.type="loading",delete t.responseText,new Promise(((s,i)=>{this.debug&&console.log("option",JSON.stringify(this.option));let o={filePath:t.file.path,...this.option,formData:this.option.data||{}};o.fail=({errMsg:e=""})=>(console.error("--ERROR--:"+e),t.type="fail",this._changeFilesItem(t,!0),s(!1)),o.success=e=>200==e.statusCode?(this.debug&&console.log("上传完成,微信端返回不一定是字符串,根据接口返回格式判断是否需要JSON.parse:"+e.data),t.responseText=e.data,t.type="success",this._changeFilesItem(t,!0),s(!0)):(t.type="fail",this._changeFilesItem(t,!0),s(!1)),e.index.uploadFile(o).onProgressUpdate((({progress:e=0})=>{e<=100&&(t.progress=e,this._changeFilesItem(t))}))}))}};
"use strict";const t=require("../../../../../common/vendor.js"),e=require("./LsjFile.js"),s={name:"comment-Lsj-upload",props:{currentCount:{type:Number,default:0},debug:{type:Boolean,default:!1},instantly:{type:Boolean,default:!1},option:{type:Object,default:()=>{}},size:{type:Number,default:10},count:{type:Number,default:2e3},multiple:{type:Boolean,default:!0},formats:{type:String,default:""},accept:{type:String,default:""},wxFileType:{type:String,default:"all"},childId:{type:String,default:"lsjUpload"},width:{type:String,default:"100%"},height:{type:String,default:"80rpx"},top:{type:[String,Number],default:""},left:{type:[String,Number],default:""},bottom:{type:[String,Number],default:""},right:{type:[String,Number],default:""},position:{type:String,default:"static"}},data:()=>({}),watch:{option(t){}},updated(){},computed:{getStyles(){let t={width:this.width,height:this.height};return"absolute"==this.position&&(t.top=this.top,t.bottom=this.bottom,t.left=this.left,t.right=this.right,t.position="fixed"),t}},mounted(){this._size=0;let s=this.childId+(new Date).getTime();this.lsjFile=new e.LsjFile({id:s,debug:this.debug,width:this.width,height:this.height,option:this.option,instantly:this.instantly,prohibited:{size:this.size,formats:this.formats,accept:this.accept,count:this.count,multiple:this.multiple},onchange:this.onchange,onprogress:this.onprogress}),this.create(),t.index.$on("lsjShow",this.show)},beforeDestroy(){t.index.$off("lsjShow",this.show)},methods:{setFiles(t){if(t instanceof Map)for(let[e,s]of t)s.progress=100,s.type="success",this.lsjFile.files.set(e,s);else Array.isArray(t)&&t.forEach((t=>{t.name&&(t.progress=100,t.type="success",this.lsjFile.files.set(t.name,t))}));this.onchange(this.lsjFile.files)},setData(){this.lsjFile&&this.lsjFile.setData(...arguments)},getDomStyles(e){t.index.createSelectorQuery().in(this).select(".lsj-file").fields({size:!0,rect:!0},(({height:s,width:i,top:o,left:l,right:h,bottom:r})=>{t.index.createSelectorQuery().selectViewport().scrollOffset((({scrollTop:t})=>e({top:parseInt(o)+parseInt(t)+"px",left:parseInt(l)+"px",width:parseInt(i)+"px",height:parseInt(s)+"px"}))).exec()})).exec()},show(){this._size&&this._size>=this.count||(this.isShow=!0)},hide(){this.isShow=!1},upload(t){this.lsjFile&&this.lsjFile.upload(t)},onchange(t){return this._size=t.size,t.size>=this.count?this.hide():this.show()},onprogress(t,e=!1){this.$emit("progress",t),e&&setTimeout((()=>{this.$emit("uploadEnd",t)}),0)},clear(t){this.lsjFile.clear(t)},create(){this.lsjFile.create("/uni_modules/lsj-upload/hybrid/html/uploadFile.html?sourceflag=comment"),this.show()},onClick(){if(!this.isShow)return;let t=this.count-this._size;this.lsjFile.chooseMessageFile(this.wxFileType,t)},toast(e){t.index.showToast({title:e,icon:"none"})}}};const i=t._export_sfc(s,[["render",function(e,s,i,o,l,h){return{a:t.s(h.getStyles),b:t.s(h.getStyles),c:t.o(((...t)=>h.onClick&&h.onClick(...t))),d:t.s(h.getStyles)}}],["__scopeId","data-v-ff069bd9"]]);wx.createComponent(i);
{
"component": true,
"usingComponents": {}
}
\ No newline at end of file
<view class="lsj-file data-v-ff069bd9" style="{{d}}"><view ref="lsj" class="hFile data-v-ff069bd9" style="{{b}}" bindtap="{{c}}"><block wx:if="{{$slots.d}}"><slot></slot></block><block wx:else><view class="defview data-v-ff069bd9" style="{{a}}">附件上传</view></block></view></view>
\ No newline at end of file
.lsj-file.data-v-ff069bd9{display:inline-block}.defview.data-v-ff069bd9{background-color:#007aff;color:#fff;border-radius:10rpx;display:flex;align-items:center;justify-content:center;font-size:28rpx}.hFile.data-v-ff069bd9{position:relative;overflow:hidden}
"use strict";const e=require("../../../../common/vendor.js"),t=require("../../../../api/common.js"),i=require("../../../../api/workFlow/flowBefore.js"),s=require("../../../../libs/resources.js"),o={label:"fullName",value:"id",icon:"icon",children:"children"},a={name:"comment-tree-select",components:{LyTree:()=>"../../../../components/ly-tree/ly-tree.js"},props:{taskId:{type:String,default:""},selectType:{type:String,default:"all"},clearable:{type:Boolean,default:!1},query:{type:Object,default:()=>({})},selectedData:{type:Array,default:()=>[]},border:{type:Boolean,default:!0},modelValue:{type:Boolean,default:!1},cancelColor:{type:String,default:"#606266"},confirmColor:{type:String,default:"#2979ff"},zIndex:{type:[String,Number],default:999},safeAreaInsetBottom:{type:Boolean,default:!1},maskCloseAble:{type:Boolean,default:!0},props:{type:Object,default:()=>({label:"fullName",value:"id",icon:"icon",children:"children",isLeaf:"isLeaf"})},multiple:{type:Boolean,default:!1},title:{type:String,default:""},cancelText:{type:String,default:"取消"},confirmText:{type:String,default:"确认"}},data:()=>({noDataIcon:s.resources.message.nodata,triggered:!1,moving:!1,selectList:[],keyword:"",tabsList:[{name:"全部数据"},{name:"当前组织"},{name:"我的下属"}],current:0,swiperCurrent:0,options:[],options0:[],list:[],pagination:{currentPage:1,pageSize:20},total:0,height:0,showPopup:!1}),watch:{modelValue:{immediate:!0,handler(e){this.showPopup=e,e&&setTimeout((()=>this.getInfoList()),10)}}},computed:{baseURL(){return this.define.baseURL},uZIndex(){return this.zIndex?this.zIndex:this.$u.zIndex.popup},realProps(){return{...o,...this.props}}},created(){this._freshing=!1,setTimeout((()=>{this.triggered=!0}),1e3)},methods:{handleScrollToLower(){this.getInfoList()},getInfoList(){this.pagination.keyword=this.keyword,i.getTaskUserList(this.taskId,this.pagination).then((t=>{const i=t.data.list;if(!i.length&&1!=this.pagination.currentPage)return e.index.showToast({title:"没有更多信息啦!",icon:"none"});this.list=this.list.concat(i),this.pagination.currentPage++}))},onSelect(e){this.multiple||(this.selectList=[]);let t=!1;for(let i=0;i<this.selectList.length;i++)if(this.selectList[i].id===e.id)return void(t=!0);!t&&this.selectList.push(e)},loadNode(e,i){0===e.level?t.getUserSelectorNew(e.level).then((e=>{i(e.data.list)})):t.getUserSelectorNew(e.data.id).then((e=>{const t=e.data.list;i(t)}))},change(e){this.swiperCurrent=e,this.keyword="",0!==this.swiperCurrent&&this.handOff(this.swiperCurrent)},handOff(e){(1==e?t.getOrganization:t.getSubordinates)(this.keyword).then((e=>{this.options=e.data}))},search(e){this.searchTimer&&clearTimeout(this.searchTimer),this.searchTimer=setTimeout((()=>{this.pagination={currentPage:1,pageSize:20},"all"===this.selectType?(0!==e&&this.handOff(e),t.getUserSelectorNew(0,this.keyword).then((e=>{this.options0=e.data.list}))):(this.pagination.keyword=this.keyword,i.getTaskUserList(this.taskId,this.pagination).then((e=>{const t=e.data.list;this.list=t,this.pagination=e.data.pagination,this.total=this.pagination.total})))}),300)},transition({detail:{dx:e}}){this.$refs.tabs.setDx(e)},animationfinish({detail:{current:e}}){this.$refs.tabs.setFinishCurrent(e),this.swiperCurrent=e,this.current=e,0!==this.swiperCurrent&&this.handOff(this.swiperCurrent)},handleNodeClick(e){if(0!==this.swiperCurrent||"user"===e.data.type){this.multiple||(this.selectList=[]);for(var t=!1,i=0;i<this.selectList.length;i++)if(this.selectList[i].id==e.data.id){t=!0;break}!t&&this.selectList.push(e.data)}},delSelect(e){this.selectList.splice(e,1)},cleanAll(){this.selectList=[]},handleConfirm(){this.moving||(this.keyword="",this.$emit("confirm",this.selectList),this.close())},pickstart(){this.moving=!0},pickend(){this.moving=!1},filterNode(e,t){return!e||-1!==t[this.realProps.label].indexOf(e)},close(){this.$emit("close")},resetData(){this.list=[],this.pagination={currentPage:1,pageSize:20}}}};if(!Array){(e.resolveComponent("u-search")+e.resolveComponent("u-avatar")+e.resolveComponent("u-icon")+e.resolveComponent("u-tabs-swiper")+e.resolveComponent("ly-tree")+e.resolveComponent("u-button")+e.resolveComponent("u-popup"))()}Math||((()=>"../../../../uni_modules/vk-uview-ui/components/u-search/u-search.js")+(()=>"../../../../uni_modules/vk-uview-ui/components/u-avatar/u-avatar.js")+(()=>"../../../../uni_modules/vk-uview-ui/components/u-icon/u-icon.js")+(()=>"../../../../uni_modules/vk-uview-ui/components/u-tabs-swiper/u-tabs-swiper.js")+(()=>"../../../../components/ly-tree/ly-tree.js")+(()=>"../../../../uni_modules/vk-uview-ui/components/u-button/u-button.js")+(()=>"../../../../uni_modules/vk-uview-ui/components/u-popup/u-popup.js"))();const n=e._export_sfc(a,[["render",function(t,i,s,o,a,n){return e.e({a:e.o(((...e)=>n.close&&n.close(...e))),b:e.o((e=>n.search(a.swiperCurrent))),c:e.o((e=>a.keyword=e)),d:e.p({placeholder:"请输入关键词搜索",height:"72","show-action":!1,"bg-color":"#f0f2f6",shape:"square",modelValue:a.keyword}),e:s.clearable},s.clearable?{f:e.o(((...e)=>n.cleanAll&&n.cleanAll(...e)))}:{},{g:e.f(a.selectList,((t,i,s)=>({a:"f234e6da-2-"+s+",f234e6da-0",b:e.p({src:n.baseURL+t.headIcon,mode:"circle",size:"mini"}),c:e.t(t.fullName),d:e.o((e=>n.delSelect(i)),i),e:"f234e6da-3-"+s+",f234e6da-0",f:e.t(t.organize),g:i}))),h:e.p({name:"close"}),i:"all"!==s.selectType},(s.selectType,{}),{j:"all"===s.selectType},"all"===s.selectType?{k:e.sr("tabs","f234e6da-4,f234e6da-0"),l:e.o(n.change),m:e.p({activeColor:"#1890ff",list:a.tabsList,current:a.current,"is-scroll":!1,"show-bar":!1}),n:e.sr("tree","f234e6da-5,f234e6da-0"),o:e.o(n.handleNodeClick),p:e.p({"node-key":n.realProps.value,"expand-on-click-node":!0,"tree-data":a.options0,"check-on-click-node":!0,"show-checkbox":!1,"default-expand-all":!1,"highlight-current":!0,props:n.realProps,"show-node-icon":!0,"show-radio":!1,load:n.loadNode,lazy:!0}),q:e.sr("tree","f234e6da-6,f234e6da-0"),r:e.o(n.handleNodeClick),s:e.p({"node-key":n.realProps.value,"expand-on-click-node":!0,"check-on-click-node":!0,"show-checkbox":!1,"default-expand-all":!1,"highlight-current":!0,props:n.realProps,"show-node-icon":!0,"show-radio":!1,"tree-data":a.options}),t:e.sr("tree","f234e6da-7,f234e6da-0"),v:e.o(n.handleNodeClick),w:e.p({"node-key":n.realProps.value,"expand-on-click-node":!0,"check-on-click-node":!0,"show-checkbox":!1,"default-expand-all":!1,"highlight-current":!0,props:n.realProps,"show-node-icon":!0,"show-radio":!1,"tree-data":a.options}),x:a.swiperCurrent,y:e.o(((...e)=>n.transition&&n.transition(...e))),z:e.o(((...e)=>n.animationfinish&&n.animationfinish(...e)))}:e.e({A:e.f(a.list,((t,i,s)=>({a:"f234e6da-8-"+s+",f234e6da-0",b:e.p({src:n.baseURL+t.headIcon,mode:"circle",size:"default"}),c:e.t(t.fullName),d:e.t(t.organize),e:i,f:e.o((e=>n.onSelect(t)),i)}))),B:a.list.length<1},a.list.length<1?{C:a.noDataIcon}:{},{D:a.triggered,E:e.o(((...e)=>n.handleScrollToLower&&n.handleScrollToLower(...e)))}),{F:e.o((e=>n.close())),G:e.o(n.handleConfirm),H:e.p({type:"primary"}),I:e.o(n.close),J:e.o((e=>a.showPopup=e)),K:e.p({maskCloseAble:s.maskCloseAble,mode:"right",safeAreaInsetBottom:s.safeAreaInsetBottom,"z-index":n.uZIndex,width:"100%",modelValue:a.showPopup})})}],["__scopeId","data-v-f234e6da"]]);wx.createComponent(n);
{
"component": true,
"usingComponents": {
"ly-tree": "../../../../components/ly-tree/ly-tree",
"u-search": "../../../../uni_modules/vk-uview-ui/components/u-search/u-search",
"u-avatar": "../../../../uni_modules/vk-uview-ui/components/u-avatar/u-avatar",
"u-icon": "../../../../uni_modules/vk-uview-ui/components/u-icon/u-icon",
"u-tabs-swiper": "../../../../uni_modules/vk-uview-ui/components/u-tabs-swiper/u-tabs-swiper",
"u-button": "../../../../uni_modules/vk-uview-ui/components/u-button/u-button",
"u-popup": "../../../../uni_modules/vk-uview-ui/components/u-popup/u-popup"
}
}
\ No newline at end of file
<u-popup wx:if="{{K}}" u-s="{{['d']}}" class="jnpf-tree-select-popup data-v-f234e6da" bindclose="{{I}}" u-i="f234e6da-0" bind:__l="__l" bindupdateModelValue="{{J}}" u-p="{{K}}"><view class="jnpf-tree-select-body data-v-f234e6da"><view class="jnpf-tree-select-title data-v-f234e6da"><text class="icon-ym icon-ym-report-icon-preview-pagePre u-font-40 backIcon data-v-f234e6da" bindtap="{{a}}"></text><view class="title data-v-f234e6da">选择用户</view></view><view class="jnpf-tree-select-search data-v-f234e6da"><u-search wx:if="{{d}}" class="data-v-f234e6da" bindchange="{{b}}" u-i="f234e6da-1,f234e6da-0" bind:__l="__l" bindupdateModelValue="{{c}}" u-p="{{d}}"></u-search></view><view class="jnpf-tree-selected data-v-f234e6da"><view class="jnpf-tree-selected-head data-v-f234e6da"><view class="data-v-f234e6da">已选</view><view wx:if="{{e}}" class="clear-btn data-v-f234e6da" bindtap="{{f}}">清空列表</view></view><view class="jnpf-tree-selected-box data-v-f234e6da"><scroll-view class="data-v-f234e6da" scroll-y="true" style="max-height:240rpx"><view class="jnpf-tree-selected-list data-v-f234e6da"><view wx:for="{{g}}" wx:for-item="list" wx:key="g" class="u-selectTag data-v-f234e6da"><u-avatar wx:if="{{list.b}}" class="avatar data-v-f234e6da" u-i="{{list.a}}" bind:__l="__l" u-p="{{list.b}}"></u-avatar><view class="jnpf-tree-selected-content data-v-f234e6da"><view class="name-box data-v-f234e6da"><view class="name data-v-f234e6da">{{list.c}}</view><u-icon wx:if="{{h}}" class="close data-v-f234e6da" bindclick="{{list.d}}" u-i="{{list.e}}" bind:__l="__l" u-p="{{h}}"></u-icon></view><view class="organize data-v-f234e6da">{{list.f}}</view></view></view></view></scroll-view></view></view><view wx:if="{{i}}" class="listTitle data-v-f234e6da">全部数据</view><view wx:if="{{j}}" class="jnpf-user-content data-v-f234e6da"><u-tabs-swiper wx:if="{{m}}" class="r data-v-f234e6da" u-r="tabs" bindchange="{{l}}" u-i="f234e6da-4,f234e6da-0" bind:__l="__l" u-p="{{m}}"></u-tabs-swiper><swiper current="{{x}}" bindtransition="{{y}}" bindanimationfinish="{{z}}" class="swiper-box data-v-f234e6da"><swiper-item class="data-v-f234e6da"><scroll-view scroll-y="{{true}}" class="scroll-view data-v-f234e6da"><ly-tree wx:if="{{p}}" class="r data-v-f234e6da" u-r="tree" bindnodeClick="{{o}}" u-i="f234e6da-5,f234e6da-0" bind:__l="__l" u-p="{{p}}"/></scroll-view></swiper-item><swiper-item class="data-v-f234e6da"><scroll-view scroll-y="{{true}}" class="scroll-view data-v-f234e6da"><ly-tree wx:if="{{s}}" class="r data-v-f234e6da" u-r="tree" bindnodeClick="{{r}}" u-i="f234e6da-6,f234e6da-0" bind:__l="__l" u-p="{{s}}"/></scroll-view></swiper-item><swiper-item class="data-v-f234e6da"><scroll-view scroll-y="{{true}}" class="scroll-view data-v-f234e6da"><ly-tree wx:if="{{w}}" class="r data-v-f234e6da" u-r="tree" bindnodeClick="{{v}}" u-i="f234e6da-7,f234e6da-0" bind:__l="__l" u-p="{{w}}"/></scroll-view></swiper-item></swiper></view><view wx:else class="jnpf-tree-select-tree data-v-f234e6da"><scroll-view class="scroll-view data-v-f234e6da" refresher-enabled="{{false}}" refresher-threshold="{{100}}" scroll-with-animation="{{true}}" refresher-triggered="{{D}}" bindscrolltolower="{{E}}" scroll-y="{{true}}"><view class="lists_box data-v-f234e6da"><view wx:for="{{A}}" wx:for-item="list" wx:key="e" class="list-cell-txt u-border-bottom data-v-f234e6da" bindtap="{{list.f}}"><u-avatar wx:if="{{list.b}}" class="avatar data-v-f234e6da" u-i="{{list.a}}" bind:__l="__l" u-p="{{list.b}}"></u-avatar><view class="u-font-30 content data-v-f234e6da"><view class="data-v-f234e6da">{{list.c}}</view><view class="organize data-v-f234e6da">{{list.d}}</view></view></view><view wx:if="{{B}}" class="nodata u-flex-col data-v-f234e6da"><image src="{{C}}" mode="widthFix" class="noDataIcon data-v-f234e6da"></image> 暂无数据 </view></view></scroll-view></view><view class="jnpf-tree-select-actions data-v-f234e6da"><u-button u-s="{{['d']}}" class="buttom-btn data-v-f234e6da" bindclick="{{F}}" u-i="f234e6da-9,f234e6da-0" bind:__l="__l">取消</u-button><u-button wx:if="{{H}}" u-s="{{['d']}}" class="buttom-btn data-v-f234e6da" catchclick="{{G}}" u-i="f234e6da-10,f234e6da-0" bind:__l="__l" u-p="{{H}}">确定</u-button></view></view></u-popup>
\ No newline at end of file
.jnpf-user-content.data-v-f234e6da{flex:1;display:flex;flex-direction:column}.jnpf-user-content .swiper-box.data-v-f234e6da{flex:1}.listTitle.data-v-f234e6da{padding:10rpx 30rpx;font-size:32rpx}.scroll-view.data-v-f234e6da,.lists_box.data-v-f234e6da{height:100%}.lists_box .nodata.data-v-f234e6da{height:100%;margin:auto;align-items:center;justify-content:center;color:#909399}.lists_box .nodata .noDataIcon.data-v-f234e6da{width:300rpx;height:210rpx}.lists_box .list-cell-txt.data-v-f234e6da{display:flex;box-sizing:border-box;width:100%;padding:20rpx 32rpx;overflow:hidden;color:#606266;font-size:28rpx;line-height:24px;background-color:#fff}.lists_box .list-cell-txt .content.data-v-f234e6da{width:85%;margin-left:15rpx}.lists_box .list-cell-txt .content .organize.data-v-f234e6da{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lists_box .list-cell-txt .department.data-v-f234e6da{color:#9a9a9a}
"use strict";const i=require("../../../common/assets.js"),t=Object.assign({"./static/emoji/100.gif":i.__vite_glob_0_0$1,"./static/emoji/101.gif":i.__vite_glob_0_1$1,"./static/emoji/102.gif":i.__vite_glob_0_2$1,"./static/emoji/103.gif":i.__vite_glob_0_3$1,"./static/emoji/104.gif":i.__vite_glob_0_4$1,"./static/emoji/105.gif":i.__vite_glob_0_5$1,"./static/emoji/106.gif":i.__vite_glob_0_6$1,"./static/emoji/107.gif":i.__vite_glob_0_7$1,"./static/emoji/108.gif":i.__vite_glob_0_8$1,"./static/emoji/109.gif":i.__vite_glob_0_9$1,"./static/emoji/110.gif":i.__vite_glob_0_10$1,"./static/emoji/111.gif":i.__vite_glob_0_11$1,"./static/emoji/112.gif":i.__vite_glob_0_12$1,"./static/emoji/113.gif":i.__vite_glob_0_13$1,"./static/emoji/114.gif":i.__vite_glob_0_14$1,"./static/emoji/115.gif":i.__vite_glob_0_15$1,"./static/emoji/116.gif":i.__vite_glob_0_16$1,"./static/emoji/117.gif":i.__vite_glob_0_17$1,"./static/emoji/118.gif":i.__vite_glob_0_18$1,"./static/emoji/119.gif":i.__vite_glob_0_19$1,"./static/emoji/120.gif":i.__vite_glob_0_20$1,"./static/emoji/121.gif":i.__vite_glob_0_21$1,"./static/emoji/122.gif":i.__vite_glob_0_22$1,"./static/emoji/123.gif":i.__vite_glob_0_23$1,"./static/emoji/124.gif":i.__vite_glob_0_24$1,"./static/emoji/125.gif":i.__vite_glob_0_25$1,"./static/emoji/126.gif":i.__vite_glob_0_26$1,"./static/emoji/127.gif":i.__vite_glob_0_27$1,"./static/emoji/128.gif":i.__vite_glob_0_28$1,"./static/emoji/129.gif":i.__vite_glob_0_29$1,"./static/emoji/130.gif":i.__vite_glob_0_30$1,"./static/emoji/131.gif":i.__vite_glob_0_31$1,"./static/emoji/132.gif":i.__vite_glob_0_32$1,"./static/emoji/133.gif":i.__vite_glob_0_33$1,"./static/emoji/134.gif":i.__vite_glob_0_34$1,"./static/emoji/135.gif":i.__vite_glob_0_35$1,"./static/emoji/136.gif":i.__vite_glob_0_36$1,"./static/emoji/137.gif":i.__vite_glob_0_37$1,"./static/emoji/138.gif":i.__vite_glob_0_38$1,"./static/emoji/139.gif":i.__vite_glob_0_39$1,"./static/emoji/140.gif":i.__vite_glob_0_40$1,"./static/emoji/141.gif":i.__vite_glob_0_41$1,"./static/emoji/142.gif":i.__vite_glob_0_42$1,"./static/emoji/143.gif":i.__vite_glob_0_43$1,"./static/emoji/144.gif":i.__vite_glob_0_44$1,"./static/emoji/145.gif":i.__vite_glob_0_45$1,"./static/emoji/146.gif":i.__vite_glob_0_46$1,"./static/emoji/147.gif":i.__vite_glob_0_47$1,"./static/emoji/148.gif":i.__vite_glob_0_48$1,"./static/emoji/149.gif":i.__vite_glob_0_49$1,"./static/emoji/150.gif":i.__vite_glob_0_50$1,"./static/emoji/151.gif":i.__vite_glob_0_51$1,"./static/emoji/152.gif":i.__vite_glob_0_52$1,"./static/emoji/153.gif":i.__vite_glob_0_53$1,"./static/emoji/154.gif":i.__vite_glob_0_54$1,"./static/emoji/155.gif":i.__vite_glob_0_55$1,"./static/emoji/156.gif":i.__vite_glob_0_56$1,"./static/emoji/157.gif":i.__vite_glob_0_57$1,"./static/emoji/158.gif":i.__vite_glob_0_58$1,"./static/emoji/159.gif":i.__vite_glob_0_59$1,"./static/emoji/160.gif":i.__vite_glob_0_60$1,"./static/emoji/161.gif":i.__vite_glob_0_61$1,"./static/emoji/162.gif":i.__vite_glob_0_62$1,"./static/emoji/163.gif":i.__vite_glob_0_63$1,"./static/emoji/164.gif":i.__vite_glob_0_64$1,"./static/emoji/165.gif":i.__vite_glob_0_65$1,"./static/emoji/166.gif":i.__vite_glob_0_66$1,"./static/emoji/167.gif":i.__vite_glob_0_67$1,"./static/emoji/168.gif":i.__vite_glob_0_68$1,"./static/emoji/169.gif":i.__vite_glob_0_69$1,"./static/emoji/170.gif":i.__vite_glob_0_70$1,"./static/emoji/171.gif":i.__vite_glob_0_71$1,"./static/emoji/172.gif":i.__vite_glob_0_72$1,"./static/emoji/173.gif":i.__vite_glob_0_73$1,"./static/emoji/174.gif":i.__vite_glob_0_74$1,"./static/emoji/175.gif":i.__vite_glob_0_75$1,"./static/emoji/176.gif":i.__vite_glob_0_76$1,"./static/emoji/177.gif":i.__vite_glob_0_77$1,"./static/emoji/178.gif":i.__vite_glob_0_78$1,"./static/emoji/179.gif":i.__vite_glob_0_79$1,"./static/emoji/180.gif":i.__vite_glob_0_80$1,"./static/emoji/181.gif":i.__vite_glob_0_81$1,"./static/emoji/182.gif":i.__vite_glob_0_82$1,"./static/emoji/183.gif":i.__vite_glob_0_83$1,"./static/emoji/184.gif":i.__vite_glob_0_84$1,"./static/emoji/185.gif":i.__vite_glob_0_85$1,"./static/emoji/186.gif":i.__vite_glob_0_86$1,"./static/emoji/187.gif":i.__vite_glob_0_87$1,"./static/emoji/188.gif":i.__vite_glob_0_88$1,"./static/emoji/189.gif":i.__vite_glob_0_89$1,"./static/emoji/190.gif":i.__vite_glob_0_90$1,"./static/emoji/191.gif":i.__vite_glob_0_91$1,"./static/emoji/192.gif":i.__vite_glob_0_92$1,"./static/emoji/193.gif":i.__vite_glob_0_93$1,"./static/emoji/194.gif":i.__vite_glob_0_94$1,"./static/emoji/195.gif":i.__vite_glob_0_95$1,"./static/emoji/196.gif":i.__vite_glob_0_96$1,"./static/emoji/197.gif":i.__vite_glob_0_97$1,"./static/emoji/198.gif":i.__vite_glob_0_98$1,"./static/emoji/199.gif":i.__vite_glob_0_99$1,"./static/emoji/200.png":i.__vite_glob_0_100$1,"./static/emoji/201.png":i.__vite_glob_0_101$1,"./static/emoji/202.png":i.__vite_glob_0_102$1,"./static/emoji/203.png":i.__vite_glob_0_103$1,"./static/emoji/204.png":i.__vite_glob_0_104$1,"./static/emoji/205.png":i.__vite_glob_0_105$1,"./static/emoji/206.png":i.__vite_glob_0_106$1,"./static/emoji/207.png":i.__vite_glob_0_107$1,"./static/emoji/208.png":i.__vite_glob_0_108$1,"./static/emoji/209.png":i.__vite_glob_0_109$1,"./static/emoji/210.png":i.__vite_glob_0_110$1,"./static/emoji/211.png":i.__vite_glob_0_111$1,"./static/emoji/212.png":i.__vite_glob_0_112$1,"./static/emoji/213.png":i.__vite_glob_0_113$1,"./static/emoji/214.png":i.__vite_glob_0_114$1,"./static/emoji/215.png":i.__vite_glob_0_115$1,"./static/emoji/216.png":i.__vite_glob_0_116$1,"./static/emoji/217.png":i.__vite_glob_0_117$1,"./static/emoji/218.png":i.__vite_glob_0_118$1,"./static/emoji/219.png":i.__vite_glob_0_119$1}),l={};for(const _ in t){l[_.split("/").slice(-1)[0].replace(".","")]=t[_].default}exports.emojiList=[{url:"100.gif",alt:"[微笑]"},{url:"101.gif",alt:"[撇嘴]"},{url:"102.gif",alt:"[美女]"},{url:"103.gif",alt:"[发呆]"},{url:"104.gif",alt:"[墨镜]"},{url:"105.gif",alt:"[哭]"},{url:"106.gif",alt:"[羞]"},{url:"107.gif",alt:"[哑]"},{url:"108.gif",alt:"[睡]"},{url:"109.gif",alt:"[大哭]"},{url:"110.gif",alt:"[囧]"},{url:"111.gif",alt:"[怒]"},{url:"112.gif",alt:"[调皮]"},{url:"113.gif",alt:"[大笑]"},{url:"114.gif",alt:"[惊讶]"},{url:"115.gif",alt:"[难过]"},{url:"116.gif",alt:"[酷]"},{url:"117.gif",alt:"[惊汗]"},{url:"118.gif",alt:"[抓狂]"},{url:"119.gif",alt:"[吐]"},{url:"120.gif",alt:"[偷笑]"},{url:"121.gif",alt:"[快乐]"},{url:"122.gif",alt:"[奇]"},{url:"123.gif",alt:"[傲]"},{url:"124.gif",alt:"[饿]"},{url:"125.gif",alt:"[困]"},{url:"126.gif",alt:"[惊吓]"},{url:"127.gif",alt:"[汗]"},{url:"128.gif",alt:"[高兴]"},{url:"129.gif",alt:"[闲]"},{url:"130.gif",alt:"[努力]"},{url:"131.gif",alt:"[骂]"},{url:"132.gif",alt:"[疑问]"},{url:"133.gif",alt:"[秘密]"},{url:"134.gif",alt:"[乱]"},{url:"135.gif",alt:"[疯]"},{url:"136.gif",alt:"[哀]"},{url:"137.gif",alt:"[鬼]"},{url:"138.gif",alt:"[打击]"},{url:"139.gif",alt:"[bye]"},{url:"140.gif",alt:"[擦汗]"},{url:"141.gif",alt:"[抠]"},{url:"142.gif",alt:"[鼓掌]"},{url:"143.gif",alt:"[糟糕]"},{url:"144.gif",alt:"[坏笑]"},{url:"145.gif",alt:"[左哼哼]"},{url:"146.gif",alt:"[右哼哼]"},{url:"147.gif",alt:"[哈欠]"},{url:"148.gif",alt:"[看]"},{url:"149.gif",alt:"[委屈]"},{url:"150.gif",alt:"[伤心]"},{url:"151.gif",alt:"[坏]"},{url:"152.gif",alt:"[亲]"},{url:"153.gif",alt:"[吓]"},{url:"154.gif",alt:"[可怜]"},{url:"155.gif",alt:"[刀]"},{url:"156.gif",alt:"[水果]"},{url:"157.gif",alt:"[酒]"},{url:"158.gif",alt:"[篮球]"},{url:"159.gif",alt:"[乒乓]"},{url:"160.gif",alt:"[咖啡]"},{url:"161.gif",alt:"[美食]"},{url:"162.gif",alt:"[动物]"},{url:"163.gif",alt:"[鲜花]"},{url:"164.gif",alt:"[枯]"},{url:"165.gif",alt:"[唇]"},{url:"166.gif",alt:"[爱]"},{url:"167.gif",alt:"[分手]"},{url:"168.gif",alt:"[生日]"},{url:"169.gif",alt:"[电]"},{url:"170.gif",alt:"[炸弹]"},{url:"171.gif",alt:"[刀子]"},{url:"172.gif",alt:"[足球]"},{url:"173.gif",alt:"[瓢虫]"},{url:"174.gif",alt:"[翔]"},{url:"175.gif",alt:"[月亮]"},{url:"176.gif",alt:"[太阳]"},{url:"177.gif",alt:"[礼物]"},{url:"178.gif",alt:"[抱抱]"},{url:"179.gif",alt:"[拇指]"},{url:"180.gif",alt:"[贬低]"},{url:"181.gif",alt:"[握手]"},{url:"182.gif",alt:"[剪刀手]"},{url:"183.gif",alt:"[抱拳]"},{url:"184.gif",alt:"[勾引]"},{url:"185.gif",alt:"[拳头]"},{url:"186.gif",alt:"[小拇指]"},{url:"187.gif",alt:"[拇指八]"},{url:"188.gif",alt:"[食指]"},{url:"189.gif",alt:"[ok]"},{url:"190.gif",alt:"[情侣]"},{url:"191.gif",alt:"[爱心]"},{url:"192.gif",alt:"[蹦哒]"},{url:"193.gif",alt:"[颤抖]"},{url:"194.gif",alt:"[怄气]"},{url:"195.gif",alt:"[跳舞]"},{url:"196.gif",alt:"[发呆1]"},{url:"197.gif",alt:"[背着]"},{url:"198.gif",alt:"[伸手]"},{url:"199.gif",alt:"[耍帅]"},{url:"200.png",alt:"[微笑1]"},{url:"201.png",alt:"[生病]"},{url:"202.png",alt:"[哭泣]"},{url:"203.png",alt:"[吐舌]"},{url:"204.png",alt:"[迷糊]"},{url:"205.png",alt:"[瞪眼]"},{url:"206.png",alt:"[恐怖]"},{url:"207.png",alt:"[忧愁]"},{url:"208.png",alt:"[眨眉]"},{url:"209.png",alt:"[闭眼]"},{url:"210.png",alt:"[鄙视]"},{url:"211.png",alt:"[阴暗]"},{url:"212.png",alt:"[小鬼]"},{url:"213.png",alt:"[礼物1]"},{url:"214.png",alt:"[拜佛]"},{url:"215.png",alt:"[力量]"},{url:"216.png",alt:"[金钱]"},{url:"217.png",alt:"[蛋糕]"},{url:"218.png",alt:"[彩带]"},{url:"219.png",alt:"[礼物2]"}],exports.emojiTree=[[{url:"100.gif",alt:"[微笑]"},{url:"101.gif",alt:"[撇嘴]"},{url:"102.gif",alt:"[美女]"},{url:"103.gif",alt:"[发呆]"},{url:"104.gif",alt:"[墨镜]"},{url:"105.gif",alt:"[哭]"},{url:"106.gif",alt:"[羞]"},{url:"107.gif",alt:"[哑]"},{url:"108.gif",alt:"[睡]"},{url:"109.gif",alt:"[大哭]"},{url:"110.gif",alt:"[囧]"},{url:"111.gif",alt:"[怒]"},{url:"112.gif",alt:"[调皮]"},{url:"113.gif",alt:"[大笑]"},{url:"114.gif",alt:"[惊讶]"},{url:"115.gif",alt:"[难过]"},{url:"116.gif",alt:"[酷]"},{url:"117.gif",alt:"[惊汗]"},{url:"118.gif",alt:"[抓狂]"},{url:"119.gif",alt:"[吐]"},{url:"120.gif",alt:"[偷笑]"},{url:"121.gif",alt:"[快乐]"},{url:"122.gif",alt:"[奇]"},{url:"123.gif",alt:"[傲]"}],[{url:"124.gif",alt:"[饿]"},{url:"125.gif",alt:"[困]"},{url:"126.gif",alt:"[惊吓]"},{url:"127.gif",alt:"[汗]"},{url:"128.gif",alt:"[高兴]"},{url:"129.gif",alt:"[闲]"},{url:"130.gif",alt:"[努力]"},{url:"131.gif",alt:"[骂]"},{url:"132.gif",alt:"[疑问]"},{url:"133.gif",alt:"[秘密]"},{url:"134.gif",alt:"[乱]"},{url:"135.gif",alt:"[疯]"},{url:"136.gif",alt:"[哀]"},{url:"137.gif",alt:"[鬼]"},{url:"138.gif",alt:"[打击]"},{url:"139.gif",alt:"[bye]"},{url:"140.gif",alt:"[擦汗]"},{url:"141.gif",alt:"[抠]"},{url:"142.gif",alt:"[鼓掌]"},{url:"143.gif",alt:"[糟糕]"},{url:"144.gif",alt:"[坏笑]"},{url:"145.gif",alt:"[左哼哼]"},{url:"146.gif",alt:"[右哼哼]"},{url:"147.gif",alt:"[哈欠]"}],[{url:"148.gif",alt:"[看]"},{url:"149.gif",alt:"[委屈]"},{url:"150.gif",alt:"[伤心]"},{url:"151.gif",alt:"[坏]"},{url:"152.gif",alt:"[亲]"},{url:"153.gif",alt:"[吓]"},{url:"154.gif",alt:"[可怜]"},{url:"155.gif",alt:"[刀]"},{url:"156.gif",alt:"[水果]"},{url:"157.gif",alt:"[酒]"},{url:"158.gif",alt:"[篮球]"},{url:"159.gif",alt:"[乒乓]"},{url:"160.gif",alt:"[咖啡]"},{url:"161.gif",alt:"[美食]"},{url:"162.gif",alt:"[动物]"},{url:"163.gif",alt:"[鲜花]"},{url:"164.gif",alt:"[枯]"},{url:"165.gif",alt:"[唇]"},{url:"166.gif",alt:"[爱]"},{url:"167.gif",alt:"[分手]"},{url:"168.gif",alt:"[生日]"},{url:"169.gif",alt:"[电]"},{url:"170.gif",alt:"[炸弹]"},{url:"171.gif",alt:"[刀子]"}],[{url:"172.gif",alt:"[足球]"},{url:"173.gif",alt:"[瓢虫]"},{url:"174.gif",alt:"[翔]"},{url:"175.gif",alt:"[月亮]"},{url:"176.gif",alt:"[太阳]"},{url:"177.gif",alt:"[礼物]"},{url:"178.gif",alt:"[抱抱]"},{url:"179.gif",alt:"[拇指]"},{url:"180.gif",alt:"[贬低]"},{url:"181.gif",alt:"[握手]"},{url:"182.gif",alt:"[剪刀手]"},{url:"183.gif",alt:"[抱拳]"},{url:"184.gif",alt:"[勾引]"},{url:"185.gif",alt:"[拳头]"},{url:"186.gif",alt:"[小拇指]"},{url:"187.gif",alt:"[拇指八]"},{url:"188.gif",alt:"[食指]"},{url:"189.gif",alt:"[ok]"},{url:"190.gif",alt:"[情侣]"},{url:"191.gif",alt:"[爱心]"},{url:"192.gif",alt:"[蹦哒]"},{url:"193.gif",alt:"[颤抖]"},{url:"194.gif",alt:"[怄气]"},{url:"195.gif",alt:"[跳舞]"}],[{url:"196.gif",alt:"[发呆1]"},{url:"197.gif",alt:"[背着]"},{url:"198.gif",alt:"[伸手]"},{url:"199.gif",alt:"[耍帅]"},{url:"200.png",alt:"[微笑1]"},{url:"201.png",alt:"[生病]"},{url:"202.png",alt:"[哭泣]"},{url:"203.png",alt:"[吐舌]"},{url:"204.png",alt:"[迷糊]"},{url:"205.png",alt:"[瞪眼]"},{url:"206.png",alt:"[恐怖]"},{url:"207.png",alt:"[忧愁]"},{url:"208.png",alt:"[眨眉]"},{url:"209.png",alt:"[闭眼]"},{url:"210.png",alt:"[鄙视]"},{url:"211.png",alt:"[阴暗]"},{url:"212.png",alt:"[小鬼]"},{url:"213.png",alt:"[礼物1]"},{url:"214.png",alt:"[拜佛]"},{url:"215.png",alt:"[力量]"},{url:"216.png",alt:"[金钱]"},{url:"217.png",alt:"[蛋糕]"},{url:"218.png",alt:"[彩带]"},{url:"219.png",alt:"[礼物2]"}]],exports.imagesMap=l;
"use strict";const e=require("../../../common/vendor.js");require("../../../utils/request.js");const t=require("./emoji.js"),o={components:{CommentFile:()=>"./comment-file/index.js",FlowUserModal:()=>"./comment-user-select/index.js"},data(){return{dataForm:{text:"",file:[],imgList:[]},type:"annexpic",deletable:!0,uploadHeaders:{Authorization:this.token},token:"",tabIndex:0,percent:"",list:[],textarea:{type:"textarea",border:!0,height:440,autoHeight:!1,maxlength:500},taskId:null,replyId:null,submitDisabled:!0,selectUserType:"",selectionStart:0,flowUserModalShow:!1,textFocus:!0,popupLayerClass:"",popupOpenBottom:20,showEmoji:!1,emojiList:t.emojiList,emojiTree:t.emojiTree}},computed:{baseURL(){return this.define.baseURL},comUploadUrl(){return this.define.comUploadUrl}},onReady(){},onLoad(t){let o=JSON.parse(decodeURIComponent(t.data));this.taskId=o.taskId,o.replyId&&(this.replyId=o.replyId,e.index.setNavigationBarTitle({title:"回复评论"}))},watch:{dataForm:{handler:function(e){this.setSubmitDisabled()},deep:!0,immediate:!0}},methods:{clickImgUploadOverCount:()=>(e.index.showToast({title:"最多可以上传9张图片",icon:"none"}),!1),discard(){},chooseEmoji(){if(this.showEmoji)return this.hideDrawer();this.showEmoji=!0,this.openDrawer()},addEmoji(e){this.dataForm.text+=e.alt},getEmojiUrl:e=>t.imagesMap[e.replace(".","")],openDrawer(){this.popupLayerClass="showLayer",setTimeout((()=>{this.popupOpenBottom=315}),150)},hideDrawer(){this.popupLayerClass="",setTimeout((()=>{this.showEmoji=!1,this.popupOpenBottom=20}),50)},getFocus(){this.textFocus=!1,setTimeout((()=>{this.textFocus=!0}),50)},setSubmitDisabled(){this.submitDisabled=!this.dataForm.text},openSelectUser(){this.selectUserType="btn",this.selectionStart=-1,this.flowUserModalShow=!0},closeFlowUserModal(){this.flowUserModalShow=!1},handleContentChange(e){e&&e.endsWith("@")&&(this.selectUserType="input",this.selectionStart=e.length,this.flowUserModalShow=!0)},handleSelectUser(e){if(!e.length||!e.length)return;let t="btn"===this.selectUserType?"@":"";for(let o=0;o<e.length;o++){t+=(o>0?"@":"")+`{${e[o].fullName}}`}if(-1===this.selectionStart)this.dataForm.text+=t,this.textFocus=!1,this.getFocus();else{let e=this.dataForm.text;this.selectionStart,t.length,this.dataForm.text=e.slice(0,this.selectionStart)+t+e.slice(this.selectionStart),this.textFocus=!1,this.getFocus()}},handleClick(){const t={text:this.dataForm.text,file:JSON.stringify(this.dataForm.file),image:JSON.stringify(this.dataForm.imgList),replyId:this.replyId};e.index.$emit("comment",t),e.index.navigateBack()},downLoad(e){this.previewFile(e)},previewFile(t){let o=t.url,i=o.split(".")[1];["doc","xls","ppt","pdf","docx","xlsx","pptx"].includes(i)?e.index.downloadFile({url:this.baseURL+o,success:t=>{var o=t.tempFilePath;e.index.openDocument({filePath:encodeURI(o),showMenu:!0,fileType:i,success:e=>{},fail(e){}})}}):this.$u.toast("该文件类型无法打开")},delFile(t){e.index.showModal({title:"提示",content:"是否删除该文件?",success:e=>{e.confirm?(this.dataForm.file.splice(t,1),this.$refs.commentFile.delFile(this.dataForm.file)):e.cancel}})},downloadFile(t){e.index.downloadFile({url:this.baseURL+t,success:t=>{if(200===t.statusCode){const o=t.tempFilePath;e.index.openDocument({filePath:escape(o),success:e=>{},fail(e){}})}}})},onImgSuccess(e,t,o,i){200==e.code?this.dataForm.imgList.push({name:o[t].file.name,fileId:e.data.name,url:e.data.url,thumbUrl:e.data.thumbUrl}):(o.splice(t,1),this.$u.toast(e.msg))},onImgChange(t,o,i,s){if(i.length>9)return e.index.showToast({title:"最多可以上传9张图片",icon:"none"}),!1;return i[o].file.size<10485760?void 0:(e.index.showToast({title:"图片大小超过10MB",icon:"none"}),!1)},onImgOversize:(t,o,i,s)=>(e.index.showToast({title:"图片大小超过10MB",icon:"none"}),!1),doPreviewImage(t){const o=this.dataForm.imgList.map((e=>this.baseURL+e.url));e.index.previewImage({urls:o,current:t,success:()=>{},fail:()=>{e.index.showToast({title:"预览图片失败",icon:"none"})}})},deleteItem(t){e.index.showModal({title:"提示",content:"是否删除该图片?",success:o=>{o.confirm&&(this.$refs.uUpload.remove(t),this.dataForm.imgList.splice(t,1),e.index.showToast({title:"移除成功",icon:"none"}))}})}}};if(!Array){(e.resolveComponent("u-input")+e.resolveComponent("u-icon")+e.resolveComponent("u-upload")+e.resolveComponent("CommentFile")+e.resolveComponent("u-button")+e.resolveComponent("FlowUserModal"))()}Math||((()=>"../../../uni_modules/vk-uview-ui/components/u-input/u-input.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-icon/u-icon.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-upload/u-upload.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-button/u-button.js"))();const i=e._export_sfc(o,[["render",function(t,o,i,s,a,l){return e.e({a:e.sr("textRef","b237756e-0"),b:e.o(l.handleContentChange),c:e.o((e=>a.dataForm.text=e)),d:e.p({type:a.textarea.type,placeholder:"请输入",height:a.textarea.height,focus:a.textFocus,border:a.textarea.border,maxlength:a.textarea.maxlength,"auto-height":a.textarea.autoHeight,modelValue:a.dataForm.text}),e:e.t(a.dataForm.text.length),f:e.t(a.textarea.maxlength),g:e.f(a.dataForm.imgList,((t,o,i)=>({a:"b237756e-1-"+i,b:e.o((e=>l.deleteItem(o)),o),c:l.baseURL+(t.thumbUrl||t.url),d:e.o((e=>l.doPreviewImage(l.baseURL+t.url)),o),e:o}))),h:e.p({name:"close",size:"20",color:"#ffffff"}),i:e.f(a.dataForm.file,((t,o,i)=>({a:e.t(t.name),b:e.o((e=>l.delFile(o)),o),c:o,d:e.o((e=>l.downLoad(t)),o)}))),j:e.o(((...e)=>l.hideDrawer&&l.hideDrawer(...e))),k:e.o((e=>l.openSelectUser())),l:a.dataForm.imgList&&a.dataForm.imgList.length>=9},a.dataForm.imgList&&a.dataForm.imgList.length>=9?{m:e.o(((...e)=>l.clickImgUploadOverCount&&l.clickImgUploadOverCount(...e)))}:{},{n:e.sr("uUpload","b237756e-2"),o:e.o(l.onImgSuccess),p:e.o(l.onImgChange),q:e.o(l.onImgOversize),r:e.p({"custom-btn":!0,action:l.comUploadUrl+a.type,header:a.uploadHeaders,"max-size":10485760,"max-count":9,"show-upload-list":!1,"show-progress":!1,"show-tips":!1}),s:e.sr("commentFile","b237756e-3"),t:e.o((e=>a.dataForm.file=e)),v:e.p({limit:9,fileSize:10,currentCount:a.dataForm.file?a.dataForm.file.length:0,modelValue:a.dataForm.file}),w:e.o(((...e)=>l.chooseEmoji&&l.chooseEmoji(...e))),x:e.o(l.handleClick),y:e.p({type:"primary",disabled:a.submitDisabled,size:"medium"}),z:a.popupOpenBottom+"rpx",A:e.f(a.emojiTree,((t,o,i)=>({a:e.f(t,((t,o,i)=>({a:l.getEmojiUrl(t.url),b:o,c:e.o((e=>l.addEmoji(t)),o)}))),b:o}))),B:a.showEmoji,C:e.n(a.popupLayerClass),D:e.o(((...e)=>l.discard&&l.discard(...e))),E:e.sr("flowUserModal","b237756e-5"),F:e.o(l.handleSelectUser),G:e.o(l.closeFlowUserModal),H:e.o((e=>a.flowUserModalShow=e)),I:e.p({taskId:a.taskId,selectType:"custom",multiple:!0,modelValue:a.flowUserModalShow})})}]]);wx.createPage(i);
{
"navigationBarTitleText": "填写评论",
"usingComponents": {
"comment-file": "./comment-file/index",
"flow-user-modal": "./comment-user-select/index",
"u-input": "../../../uni_modules/vk-uview-ui/components/u-input/u-input",
"u-icon": "../../../uni_modules/vk-uview-ui/components/u-icon/u-icon",
"u-upload": "../../../uni_modules/vk-uview-ui/components/u-upload/u-upload",
"u-button": "../../../uni_modules/vk-uview-ui/components/u-button/u-button"
}
}
\ No newline at end of file
<view class="comment-v"><view class="comment_inner"><view class="text_box"><view class="u-input-wrapper"><u-input wx:if="{{d}}" u-r="textRef" class="text_input r" bindinput="{{b}}" u-i="b237756e-0" bind:__l="__l" bindupdateModelValue="{{c}}" u-p="{{d}}"/><view class="remainingCharacters">{{e}}/{{f}}</view></view></view><view class="box" style="{{'bottom:' + z}}"><scroll-view scroll-y="{{true}}" style="height:550rpx" class="scroll_view" bindtap="{{j}}"><view class="comment-area"><view class="img_box"><view wx:for="{{g}}" wx:for-item="item" wx:key="e" class="u-preview-wrap"><view class="u-delete-icon" catchtap="{{item.b}}"><u-icon wx:if="{{h}}" class="u-icon" u-i="{{item.a}}" bind:__l="__l" u-p="{{h}}"></u-icon></view><image class="u-preview-image" src="{{item.c}}" mode="aspectFill" catchtap="{{item.d}}"></image></view></view><view wx:for="{{i}}" wx:for-item="item" wx:key="c" class="jnpf-file-item u-type-primary u-flex u-line-1" bindtap="{{item.d}}"><view class="jnpf-file-item-txt u-line-1">{{item.a}}</view><view class="closeBox u-flex-col" catchtap="{{item.b}}"><text class="icon-ym icon-ym-nav-close closeTxt u-flex"></text></view></view></view></scroll-view><view class="btn_box"><view class="btn_item"><view class="icon-ym icon-ym-roll-call" size="mini" bindtap="{{k}}"></view></view><view class="btn_item"><view wx:if="{{l}}" class="icon-ym icon-ym-comment-img" bindtap="{{m}}"></view><u-upload wx:if="{{r}}" class="r" u-s="{{['addBtn']}}" u-r="uUpload" bindonSuccess="{{o}}" bindonChange="{{p}}" bindonOversize="{{q}}" u-i="b237756e-2" bind:__l="__l" u-p="{{r}}"><view class="slot-btn" hover-class="slot-btn__hover" hover-stay-time="150" slot="addBtn"><view class="icon-ym icon-ym-comment-img"></view></view></u-upload></view><view class="btn_item"><comment-file wx:if="{{v}}" class="r" u-r="commentFile" u-i="b237756e-3" bind:__l="__l" bindupdateModelValue="{{t}}" u-p="{{v}}"/></view><view class="btn_item"><view class="icon-ym icon-ym-emoji" size="mini" bindtap="{{w}}"></view></view><view class="btn_item"><u-button wx:if="{{y}}" u-s="{{['d']}}" bindclick="{{x}}" u-i="b237756e-4" bind:__l="__l" u-p="{{y}}">发送</u-button></view></view></view></view><view class="{{['popup-layer', 'u-border-top', C]}}" catchtouchmove="{{D}}"><swiper class="emoji-swiper" indicator-dots="true" duration="150" hidden="{{!B}}"><swiper-item wx:for="{{A}}" wx:for-item="page" wx:key="b"><view wx:for="{{page.a}}" wx:for-item="em" wx:key="b" bindtap="{{em.c}}" class="emoji-item"><image mode="widthFix" src="{{em.a}}" class="emoji-item-img"></image></view></swiper-item></swiper></view><flow-user-modal wx:if="{{I}}" class="r" u-r="flowUserModal" bindconfirm="{{F}}" bindclose="{{G}}" u-i="b237756e-5" bind:__l="__l" bindupdateModelValue="{{H}}" u-p="{{I}}"/></view>
\ No newline at end of file
page{height:100%}.comment-v{width:100%;height:100%;display:flex;flex-direction:column;margin:0 auto}.comment-v .uni-textarea-compute{height:470rpx!important}.comment-v .comment_inner{display:flex;flex-direction:column;background-color:#fff;height:100%;padding:0 30rpx}.comment-v .comment_inner .text_box{flex:.35}.comment-v .comment_inner .text_box .u-input-wrapper{border:1px solid #E7E7E7;margin-top:10px}.comment-v .comment_inner .text_box .remainingCharacters{width:99%;text-align:right}.comment-v .comment_inner .text_box .text_input{border:0px}.comment-v .comment_inner .box{width:100%;display:flex;flex-direction:column;position:absolute}.comment-v .comment_inner .box .scroll_view .comment-area{height:550rpx;display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-end;margin-bottom:28rpx}.comment-v .comment_inner .box .scroll_view .comment-area .img_box{width:100%;display:flex;flex-direction:row;flex-wrap:wrap}.comment-v .comment_inner .box .scroll_view .comment-area .img_box .u-preview-wrap{width:110rpx;height:110rpx;overflow:hidden;margin:10rpx;background:#f4f5f6;position:relative;border-radius:10rpx;display:flex;align-items:center;justify-content:center}.comment-v .comment_inner .box .scroll_view .comment-area .img_box .u-preview-wrap .u-preview-image{display:block;width:100%;height:100%;border-radius:10rpx}.comment-v .comment_inner .box .scroll_view .comment-area .img_box .u-preview-wrap .u-delete-icon{position:absolute;top:10rpx;right:10rpx;z-index:10;background-color:#fa3534;border-radius:100rpx;width:34rpx;height:34rpx;display:flex;align-items:center;justify-content:center}.comment-v .comment_inner .box .scroll_view .comment-area .img_box .u-preview-wrap .u-icon{display:flex;align-items:center;justify-content:center}.comment-v .comment_inner .box .scroll_view .comment-area .jnpf-file-item{width:100%;justify-content:space-between;flex-direction:row}.comment-v .comment_inner .box .scroll_view .comment-area .jnpf-file-item .jnpf-file-item-txt{flex:1}.comment-v .comment_inner .box .scroll_view .comment-area .jnpf-file-item .closeBox{height:60rpx;justify-content:space-evenly;flex:.2}.comment-v .comment_inner .box .scroll_view .comment-area .jnpf-file-item .closeBox .closeTxt{width:34rpx;height:34rpx;border-radius:50%;background-color:#909194;color:#fff;font-size:22rpx;align-items:center;justify-content:center}.comment-v .comment_inner .box .btn_box{width:100%;display:flex;flex-direction:row;justify-content:flex-start;align-items:center}.comment-v .comment_inner .box .btn_box .btn_item{margin-right:30rpx;margin-left:10rpx}.comment-v .comment_inner .box .btn_box .btn_item .icon-ym{font-size:48rpx}.comment-v .comment_inner .box .btn_box .btn_item:last-child{margin-left:auto;margin-right:50rpx}.comment-v .comment_inner .box .btn_box .submit_item{background-color:red}.comment-v .comment_inner .box .btn_box .slot-btn .img_icon{width:80rpx;height:80rpx;text-align:center;line-height:80rpx}.comment-v .comment_inner .box .btn_box .slot-btn .img_icon:before{content:"\e987";font-size:60rpx;color:#666}.comment-v .comment_inner .box .btn_box .file_icon{width:80rpx;height:80rpx;text-align:center;line-height:80rpx}.comment-v .comment_inner .box .btn_box .file_icon:before{font-size:60rpx;color:#666}.popup-layer{transition:all .15s linear;width:100%;height:42vw;padding:20rpx 2%;background-color:#f2f2f2;position:fixed;z-index:20;top:100%}.popup-layer.showLayer{transform:translate3d(0,-42vw,0)}.popup-layer .emoji-swiper{height:40vw}.popup-layer .emoji-swiper swiper-item{display:flex;align-content:flex-start;flex-wrap:wrap}.popup-layer .emoji-swiper swiper-item .emoji-item{width:12vw;height:12vw;display:flex;justify-content:center;align-items:center}.popup-layer .emoji-swiper swiper-item .emoji-item .emoji-item-img{width:8.4vw;height:8.4vw}.popup-layer .more-layer{width:100%;height:42vw}.popup-layer .more-layer .list{width:100%;display:flex;flex-wrap:wrap}.popup-layer .more-layer .list .box{width:18vw;height:18vw;border-radius:20rpx;background-color:#fff;display:flex;justify-content:center;align-items:center;margin:0 3vw 2vw}.popup-layer .more-layer .list .box .icon{font-size:70rpx}
"use strict";const e=require("../../../common/vendor.js"),t={props:{modelValue:{type:Boolean,default:!1},formData:{type:Object,default:()=>({})},taskId:{type:String,default:""}},data:()=>({showPopup:!1,innerValue:"",candidateForm:{list:[],branchList:[]},nodeId:"",selectId:{},rules:{},selectList:[],selectVal:{},isCandidate:!1,props:{label:"nodeName",value:"nodeId"},candidateType:1,branchList:[],candidateList:[]}),watch:{modelValue:{immediate:!0,handler(e){this.showPopup=e}}},created(){e.index.$on("confirm",((e,t)=>{this.selectConfirm(e,t)}))},onUnload(){e.index.$off("confirm")},methods:{branchChange(e){this.candidateForm.branchList=e,this.init()},init(e,t,i){if(this.candidateType=e,this.branchList=t,this.candidateList=i,1==this.candidateType){let e=[];for(let t=0;t<this.candidateForm.branchList.length;t++){e:for(let i=0;i<this.branchList.length;i++){let s=this.branchList[i];if(s.isCandidates&&(this.isCandidate=s.isCandidates),this.candidateForm.branchList[t]===s.nodeId&&s.isCandidates){e.push({...s,label:s.nodeName+"审批人",value:"",selectShow:!1});break e}}this.candidateForm.list=e}}else Array.isArray(this.candidateList)&&this.candidateList.length&&(this.isCandidate=!0,this.candidateForm.list=this.candidateList.map((e=>({...e,label:e.nodeName+"审批人",value:"",selectShow:!1}))))},openSelect(t){this.selectList=[];for(let e in this.selectVal)e===t.nodeId&&(this.selectList=this.selectVal[e]);t.formData=this.formData,t.taskId=this.taskId,t.selectList=t.value?this.selectList:[],e.index.navigateTo({url:"/pages/workFlow/candiDateUserSelect/index?data="+encodeURIComponent(JSON.stringify(t))})},selectConfirm(e,t){let i=e,s=[],a=[],o=[],n="";if(!i.length){delete this.selectVal[t],delete this.selectId[t];for(let e=0;e<this.candidateForm.list.length;e++)t===this.candidateForm.list[e].nodeId&&(this.candidateForm.list[e].value="")}for(let d=0;d<this.candidateForm.list.length;d++)for(let e=0;e<i.length;e++)i[e].nodeId===this.candidateForm.list[d].nodeId&&(n=i[e].nodeId,a.push(i[e].userName),s.push(i[e]),this.candidateForm.list[d].value=a.join(","),o.push(i[e].userId),this.$set(this.selectId,i[e].nodeId,o));this.$set(this.selectVal,n,s)},submit(){const e={candidateType:this.candidateType,branchList:this.candidateForm.branchList};if(this.isCandidate){e.candidateList=this.selectId;for(let e of this.candidateForm.list)if(!e.value)return this.$u.toast(`${e.nodeName}不能为空`)}this.$emit("submitCandidate",e)},cancel(){this.close()},close(){this.$emit("input",!1)}}};if(!Array){(e.resolveComponent("JnpfSelect")+e.resolveComponent("u-form-item")+e.resolveComponent("u-input")+e.resolveComponent("u-form")+e.resolveComponent("u-button")+e.resolveComponent("u-popup"))()}Math||((()=>"../../../components/Jnpf/Select/index.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-form-item/u-form-item.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-input/u-input.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-form/u-form.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-button/u-button.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-popup/u-popup.js"))();const i=e._export_sfc(t,[["render",function(t,i,s,a,o,n){return e.e({a:1==o.candidateType},1==o.candidateType?{b:e.o(n.branchChange),c:e.o((e=>o.candidateForm.branchList=e)),d:e.p({placeholder:"请选择审批分支",options:o.branchList,multiple:!0,props:o.props,modelValue:o.candidateForm.branchList}),e:e.p({label:"分支选择",prop:"branch",required:!0})}:{},{f:e.f(o.candidateForm.list,((t,i,s)=>({a:e.o((e=>n.openSelect(t)),i),b:"fb898276-5-"+s+",fb898276-4-"+s,c:e.o((e=>t.value=e),i),d:e.p({type:"select","select-open":t.selectShow,placeholder:"请选择审批候选人",modelValue:t.value}),e:i,f:"fb898276-4-"+s+",fb898276-1",g:e.p({"label-width":"250",label:t.label})}))),g:e.sr("candidateForm","fb898276-1,fb898276-0"),h:e.p({model:o.candidateForm,errorType:["toast"],"label-position":"left","label-width":"150","label-align":"left"}),i:e.o(n.cancel),j:e.o(n.submit),k:e.p({type:"primary"}),l:e.o(n.close),m:e.o((e=>o.showPopup=e)),n:e.p({mode:"left",popup:!1,length:"auto",width:"100%",modelValue:o.showPopup})})}],["__scopeId","data-v-fb898276"]]);wx.createComponent(i);
{
"component": true,
"usingComponents": {
"jnpf-select": "../../../components/Jnpf/Select/index",
"u-form-item": "../../../uni_modules/vk-uview-ui/components/u-form-item/u-form-item",
"u-input": "../../../uni_modules/vk-uview-ui/components/u-input/u-input",
"u-form": "../../../uni_modules/vk-uview-ui/components/u-form/u-form",
"u-button": "../../../uni_modules/vk-uview-ui/components/u-button/u-button",
"u-popup": "../../../uni_modules/vk-uview-ui/components/u-popup/u-popup"
}
}
\ No newline at end of file
<view class="candidateForm-v data-v-fb898276"><u-popup wx:if="{{n}}" class="data-v-fb898276" u-s="{{['d']}}" bindclose="{{l}}" u-i="fb898276-0" bind:__l="__l" bindupdateModelValue="{{m}}" u-p="{{n}}"><view class="jnpf-wrap jnpf-wrap-form data-v-fb898276"><u-form wx:if="{{h}}" class="r data-v-fb898276" u-s="{{['d']}}" u-r="candidateForm" u-i="fb898276-1,fb898276-0" bind:__l="__l" u-p="{{h}}"><u-form-item wx:if="{{a}}" class="data-v-fb898276" u-s="{{['d']}}" u-i="fb898276-2,fb898276-1" bind:__l="__l" u-p="{{e}}"><jnpf-select wx:if="{{d}}" class="data-v-fb898276" bindchange="{{b}}" u-i="fb898276-3,fb898276-2" bind:__l="__l" bindupdateModelValue="{{c}}" u-p="{{d}}"/></u-form-item><u-form-item wx:for="{{f}}" wx:for-item="item" wx:key="e" class="data-v-fb898276" u-s="{{['d']}}" u-i="{{item.f}}" bind:__l="__l" u-p="{{item.g}}"><u-input wx:if="{{item.d}}" class="data-v-fb898276" bindclick="{{item.a}}" u-i="{{item.b}}" bind:__l="__l" bindupdateModelValue="{{item.c}}" u-p="{{item.d}}"></u-input></u-form-item></u-form><view class="buttom-actions data-v-fb898276"><u-button u-s="{{['d']}}" class="buttom-btn data-v-fb898276" bindclick="{{i}}" u-i="fb898276-6,fb898276-0" bind:__l="__l">取消</u-button><u-button wx:if="{{k}}" u-s="{{['d']}}" class="buttom-btn data-v-fb898276" bindclick="{{j}}" u-i="fb898276-7,fb898276-0" bind:__l="__l" u-p="{{k}}">确定</u-button></view></view></u-popup></view>
\ No newline at end of file
.candidateForm-v .jnpf-wrap.data-v-fb898276,.candidateForm-v .jnpf-wrap-form.data-v-fb898276{padding:0}
"use strict";const e=require("../../../common/vendor.js"),o={props:{},data:()=>({errorDataForm:{errorRuleUserList:{}},list:[],show:!1,query:{}}),methods:{init(e,o,r){this.query=r,this.show=!0,this.list=e,this.eventType=o,this.list.map((e=>{this.$set(this.errorDataForm.errorRuleUserList,e.nodeId,[])}))},submit(){const e={...this.query,errorRuleUserList:this.errorDataForm.errorRuleUserList,eventType:this.eventType};for(let o in this.errorDataForm.errorRuleUserList)if(this.errorDataForm.errorRuleUserList[o].length<=0)return this.$u.toast("异常处理人员不能为空");this.$emit("submitErrorForm",e)},cancel(){this.close()},black(){this.close()},close(){this.show=!1}}};if(!Array){(e.resolveComponent("uni-icons")+e.resolveComponent("JnpfUserSelect")+e.resolveComponent("u-form-item")+e.resolveComponent("u-form")+e.resolveComponent("u-button")+e.resolveComponent("u-popup"))()}Math||((()=>"../../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../../components/Jnpf/UserSelect/index.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-form-item/u-form-item.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-form/u-form.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-button/u-button.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-popup/u-popup.js"))();const r=e._export_sfc(o,[["render",function(o,r,t,s,i,n){return{a:e.o(n.black),b:e.p({type:"back",size:"27"}),c:e.f(i.list,((o,r,t)=>({a:"5196f04b-4-"+t+",5196f04b-3-"+t,b:e.o((e=>i.errorDataForm.errorRuleUserList[o.nodeId]=e),r),c:e.p({multiple:!0,placeholder:"异常处理人员不能为空",modelValue:i.errorDataForm.errorRuleUserList[o.nodeId]}),d:r,e:"5196f04b-3-"+t+",5196f04b-2",f:e.p({prop:"errorDataForm",label:o.nodeName,required:!0})}))),d:e.sr("errorDataForm","5196f04b-2,5196f04b-0"),e:e.p({model:i.errorDataForm,errorType:["toast"],"label-position":"left","label-width":"150","label-align":"left"}),f:e.o(n.cancel),g:e.o(n.submit),h:e.p({type:"primary"}),i:e.o(n.close),j:e.o((e=>i.show=e)),k:e.p({mode:"left",popup:!1,length:"auto",width:"100%",modelValue:i.show})}}],["__scopeId","data-v-5196f04b"]]);wx.createComponent(r);
{
"component": true,
"usingComponents": {
"uni-icons": "../../../uni_modules/uni-icons/components/uni-icons/uni-icons",
"jnpf-user-select": "../../../components/Jnpf/UserSelect/index",
"u-form-item": "../../../uni_modules/vk-uview-ui/components/u-form-item/u-form-item",
"u-form": "../../../uni_modules/vk-uview-ui/components/u-form/u-form",
"u-button": "../../../uni_modules/vk-uview-ui/components/u-button/u-button",
"u-popup": "../../../uni_modules/vk-uview-ui/components/u-popup/u-popup"
}
}
\ No newline at end of file
<view class="dataForm-v data-v-5196f04b"><u-popup wx:if="{{k}}" class="data-v-5196f04b" u-s="{{['d']}}" bindclose="{{i}}" u-i="5196f04b-0" bind:__l="__l" bindupdateModelValue="{{j}}" u-p="{{k}}"><view class="diyTitle u-flex data-v-5196f04b"><uni-icons wx:if="{{b}}" class="uni-btn-icon data-v-5196f04b" bindclick="{{a}}" u-i="5196f04b-1,5196f04b-0" bind:__l="__l" u-p="{{b}}"></uni-icons><view class="txt data-v-5196f04b">异常处理</view></view><view class="jnpf-wrap-form data-v-5196f04b"><u-form wx:if="{{e}}" class="r data-v-5196f04b" u-s="{{['d']}}" u-r="errorDataForm" u-i="5196f04b-2,5196f04b-0" bind:__l="__l" u-p="{{e}}"><u-form-item wx:for="{{c}}" wx:for-item="item" wx:key="d" class="data-v-5196f04b" u-s="{{['d']}}" u-i="{{item.e}}" bind:__l="__l" u-p="{{item.f}}"><jnpf-user-select wx:if="{{item.c}}" class="data-v-5196f04b" u-i="{{item.a}}" bind:__l="__l" bindupdateModelValue="{{item.b}}" u-p="{{item.c}}"/></u-form-item></u-form><view class="buttom-actions data-v-5196f04b"><u-button u-s="{{['d']}}" class="buttom-btn data-v-5196f04b" bindclick="{{f}}" u-i="5196f04b-5,5196f04b-0" bind:__l="__l">取消</u-button><u-button wx:if="{{h}}" u-s="{{['d']}}" class="buttom-btn data-v-5196f04b" bindclick="{{g}}" u-i="5196f04b-6,5196f04b-0" bind:__l="__l" u-p="{{h}}">确定</u-button></view></view></u-popup></view>
\ No newline at end of file
.dataForm-v .diyTitle.data-v-5196f04b{height:80rpx;padding:14rpx 6rpx;text-align:center;justify-content:flex-start}.dataForm-v .diyTitle .uniui-back.data-v-5196f04b{font-size:27px;font-weight:lighter}.dataForm-v .diyTitle .txt.data-v-5196f04b{flex:.95}.dataForm-v .jnpf-wrap.data-v-5196f04b,.dataForm-v .jnpf-wrap-form.data-v-5196f04b{padding:0}
"use strict";const e=require("../../../api/workFlow/flowBefore.js"),t=require("../../../libs/resources.js"),a=require("../../../common/vendor.js"),s={name:"RecordSummary",props:{processId:{type:String,default:""},summaryType:{default:"0"}},data:()=>({approve_list:[{name:"按部门汇总",id:"1"},{name:"按岗位汇总",id:"3"}],list:[],approveIndex:0,tabI:1,nodataIcon:t.resources.message.nodata,activeItemStyle:{"background-color":"#f0f2f6","border-radius":"18rpx 18rpx 0 0"}}),created(){this.init()},computed:{baseURL(){return this.define.baseURL}},watch:{approveIndex(e){this.init()}},methods:{init(){const t={category:this.tabI,type:this.summaryType};e.getRecordList(this.processId,t).then((e=>{this.list=e.data||[],this.list.length&&this.list.forEach(((e,t)=>{e.list.forEach((e=>{e.fileList=e.fileList?JSON.parse(e.fileList):[]})),e.list=e.list.map((e=>({txt:0==e.handleStatus?"退回":1==e.handleStatus?"同意":2==e.handleStatus?"发起":3==e.handleStatus?"撤回":4==e.handleStatus?"终止":5==e.handleStatus?"指派":6==e.handleStatus?"后加签":10==e.handleStatus?"前加签":8==e.handleStatus?"变更":13==e.handleStatus?"转向":"转审",tagType:0==e.handleStatus?"error":1==e.handleStatus?"success":3==e.handleStatus||4==e.handleStatus||8==e.handleStatus||13==e.handleStatus?"warning":"primary",...e})))}))})).catch((()=>{}))},approveChange(e){this.approveIndex=e,this.tabI=this.approve_list[e].id}}};if(!Array){(a.resolveComponent("u-tabs")+a.resolveComponent("u-avatar")+a.resolveComponent("u-tag")+a.resolveComponent("JnpfUploadFile"))()}Math||((()=>"../../../uni_modules/vk-uview-ui/components/u-tabs/u-tabs.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-avatar/u-avatar.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-tag/u-tag.js")+(()=>"../../../components/Jnpf/UploadFile/index.js"))();const i=a._export_sfc(s,[["render",function(e,t,s,i,n,o){return a.e({a:a.o(o.approveChange),b:a.p({list:n.approve_list,current:n.approveIndex,height:"90","show-bar":!1,"active-item-style":n.activeItemStyle,"font-size":"28"}),c:n.list.length},n.list.length?{d:a.f(n.list,((t,s,i)=>({a:a.t(t.fullName),b:a.f(t.list,((t,s,n)=>a.e({a:"25e8f63f-1-"+i+"-"+n,b:a.p({size:"mini",src:o.baseURL+t.headIcon}),c:a.t(t.userName),d:"25e8f63f-2-"+i+"-"+n,e:a.p({text:t.txt,mode:"light",type:t.tagType}),f:t.handleOpinion&&2!=t.handleStatus},t.handleOpinion&&2!=t.handleStatus?{g:a.t(t.handleOpinion)}:{},{h:t.fileList.length&&2!=t.handleStatus},t.fileList.length&&2!=t.handleStatus?{i:"25e8f63f-3-"+i+"-"+n,j:a.o((e=>t.fileList=e),s),k:a.p({align:"left",detailed:!0,modelValue:t.fileList})}:{},{l:a.t(e.$u.timeFormat(t.handleTime,"yyyy-mm-dd hh:MM:ss")),m:s}))),c:s})))}:{e:n.nodataIcon})}],["__scopeId","data-v-25e8f63f"]]);wx.createComponent(i);
{
"component": true,
"usingComponents": {
"u-tabs": "../../../uni_modules/vk-uview-ui/components/u-tabs/u-tabs",
"u-avatar": "../../../uni_modules/vk-uview-ui/components/u-avatar/u-avatar",
"u-tag": "../../../uni_modules/vk-uview-ui/components/u-tag/u-tag",
"jnpf-upload-file": "../../../components/Jnpf/UploadFile/index"
}
}
\ No newline at end of file
<view class="approve-v u-flex-col data-v-25e8f63f"><u-tabs wx:if="{{b}}" class="data-v-25e8f63f" bindchange="{{a}}" u-i="25e8f63f-0" bind:__l="__l" u-p="{{b}}"></u-tabs><view class="approve_list data-v-25e8f63f"><view wx:if="{{c}}" class="data-v-25e8f63f"><view wx:for="{{d}}" wx:for-item="item" wx:key="c" class="u-flex approve_box data-v-25e8f63f"><view class="left-box data-v-25e8f63f">{{item.a}}</view><view class="right-box data-v-25e8f63f"><view wx:for="{{item.b}}" wx:for-item="child" wx:key="m" class="right-box-item data-v-25e8f63f"><view class="head-avatar data-v-25e8f63f"><u-avatar wx:if="{{child.b}}" class="data-v-25e8f63f" u-i="{{child.a}}" bind:__l="__l" u-p="{{child.b}}"/></view><view class="item-box data-v-25e8f63f"><view class="item-top data-v-25e8f63f"><view class="userName data-v-25e8f63f">{{child.c}}</view><u-tag wx:if="{{child.e}}" class="data-v-25e8f63f" u-i="{{child.d}}" bind:__l="__l" u-p="{{child.e}}"/></view><view wx:if="{{child.f}}" class="item-content data-v-25e8f63f">{{child.g}}</view><jnpf-upload-file wx:if="{{child.h}}" class="data-v-25e8f63f" u-i="{{child.i}}" bind:__l="__l" bindupdateModelValue="{{child.j}}" u-p="{{child.k}}"/><view class="dateTime data-v-25e8f63f">{{child.l}}</view></view></view></view></view></view><view wx:else class="noContent data-v-25e8f63f"><image src="{{e}}" class="img data-v-25e8f63f"></image><view class="data-v-25e8f63f">暂无数据</view></view></view></view>
\ No newline at end of file
.approve-v .u-tabs.data-v-25e8f63f{height:90rpx!important}.approve-v .u-tabs.data-v-25e8f63f .u-tab-item{margin-top:20rpx;height:74rpx!important;line-height:73rpx!important}.approve-v .approve_list.data-v-25e8f63f{width:100%;margin-top:20rpx;padding:0 20rpx}.approve-v .approve_list .u-tag.data-v-25e8f63f{padding:10rpx!important}.approve-v .approve_list .approve_box.data-v-25e8f63f{width:100%;box-shadow:0 2px 12px rgba(0,0,0,.1);border-radius:20rpx;margin-bottom:20rpx;background-color:#fff;position:relative}.approve-v .approve_list .approve_box .left-box.data-v-25e8f63f{padding:0 12rpx;text-align:center;-webkit-writing-mode:vertical-rl;writing-mode:vertical-rl;letter-spacing:4rpx}.approve-v .approve_list .approve_box .right-box.data-v-25e8f63f{height:100%;flex:1;min-width:0;padding:20rpx 0rpx;border-left:1px solid #e4e7ed}.approve-v .approve_list .approve_box .right-box .right-box-item.data-v-25e8f63f{display:flex}.approve-v .approve_list .approve_box .right-box .right-box-item .head-avatar.data-v-25e8f63f{padding:0 16rpx 0 20rpx}.approve-v .approve_list .approve_box .right-box .right-box-item.data-v-25e8f63f:nth-child(2n){border-top:1rpx solid #e4e7ed;padding-top:20rpx}.approve-v .approve_list .approve_box .right-box .right-box-item.data-v-25e8f63f:first-child{padding-bottom:20rpx}.approve-v .approve_list .approve_box .right-box .right-box-item .item-box.data-v-25e8f63f{flex:1;min-width:0;font-size:26rpx}.approve-v .approve_list .approve_box .right-box .right-box-item .item-box .item-top.data-v-25e8f63f{display:flex;align-items:center;padding-right:20rpx}.approve-v .approve_list .approve_box .right-box .right-box-item .item-box .item-top .userName.data-v-25e8f63f{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:20rpx}.approve-v .approve_list .approve_box .right-box .right-box-item .item-box .item-content.data-v-25e8f63f{text-align:justify;text-justify:newspaper;word-break:break-all;padding:20rpx 0;color:#636569}.approve-v .approve_list .approve_box .right-box .right-box-item .item-box .dateTime.data-v-25e8f63f{font-weight:400;padding-top:20rpx}.approve-v .noContent.data-v-25e8f63f{text-align:center;padding:58% 0}.approve-v .noContent .img.data-v-25e8f63f{width:154px;height:118px}
"use strict";const o=require("../../../../common/vendor.js"),t={name:"FlowCard",components:{FlowCard:()=>Promise.resolve().then((()=>i))},props:{options:{}},methods:{clickFlowCard(o){this.$emit("showTabs",o)}}};if(!Array){(o.resolveComponent("u-tag")+o.resolveComponent("FlowCard"))()}Math;const n=o._export_sfc(t,[["render",function(t,n,i,e,p,s){var l,d,r,a,c,u,v,y,w,h,F,m,f,b,C,N;return o.e({a:!(null==(l=i.options)?void 0:l.isBranchFlow)&&!(null==(d=i.options)?void 0:d.isInterflow)&&"condition"!=(null==(r=i.options)?void 0:r.type)},(null==(a=i.options)?void 0:a.isBranchFlow)||(null==(c=i.options)?void 0:c.isInterflow)||"condition"==(null==(u=i.options)?void 0:u.type)?{}:o.e({b:null==(v=i.options)?void 0:v.type},(null==(y=i.options)?void 0:y.type)?o.e({c:"subFlow"!=i.options.type||!i.options.state},"subFlow"==i.options.type&&i.options.state?{e:o.t(i.options.properties.title),f:o.o((o=>s.clickFlowCard(i.options)))}:{d:o.t(i.options.properties.title)},{g:"subFlow"==(null==(w=i.options)?void 0:w.type)},"subFlow"==(null==(h=i.options)?void 0:h.type)?{h:o.p({size:"mini",text:i.options.properties.isAsync?"异步":"同步",plain:!0})}:{},{i:o.t(i.options.content),j:o.n(i.options.state),k:o.n(i.options.type),l:o.n(i.options.type?"start-node":""),m:o.n(i.options.type)}):{}),{n:null==(m=null==(F=i.options)?void 0:F.conditionNodes)?void 0:m.length},(null==(b=null==(f=i.options)?void 0:f.conditionNodes)?void 0:b.length)?{o:o.f(i.options.conditionNodes,((t,n,i)=>o.e({a:null==t?void 0:t.type},(null==t?void 0:t.type)?o.e({b:o.t(t.properties.title),c:"subFlow"==(null==t?void 0:t.type)},"subFlow"==(null==t?void 0:t.type)?{d:"21ad25a6-1-"+i,e:o.p({size:"mini",text:t.properties.isAsync?"异步":"同步",plain:!0})}:{},{f:o.t(t.content),g:o.n(t.state),h:o.n(t.type),i:"condition"===t.type&&1===t.properties.conditionType},("condition"===t.type&&t.properties.conditionType,{})):{},{j:t.conditionNodes},t.conditionNodes?{k:o.sr("FlowCard","21ad25a6-2-"+i,{f:1}),l:"21ad25a6-2-"+i,m:o.p({options:t})}:{},{n:t.childNode&&("condition"==t.type||"approver"===t.type&&(t.isInterflow||t.isBranchFlow))},t.childNode&&("condition"==t.type||"approver"===t.type&&(t.isInterflow||t.isBranchFlow))?{o:o.sr("FlowCard","21ad25a6-3-"+i,{f:1}),p:"21ad25a6-3-"+i,q:o.p({options:t.childNode})}:{},{r:n})))}:{},{p:null==(C=i.options)?void 0:C.childNode},(null==(N=i.options)?void 0:N.childNode)?{q:o.sr("FlowCard","21ad25a6-4"),r:o.o(s.clickFlowCard),s:o.p({options:i.options.childNode})}:{})}],["__scopeId","data-v-21ad25a6"]]);wx.createComponent(n);const i=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));
{
"component": true,
"usingComponents": {
"flow-card": "./FlowCard",
"u-tag": "../../../../uni_modules/vk-uview-ui/components/u-tag/u-tag"
}
}
\ No newline at end of file
<view class="steps data-v-21ad25a6"><view class="data-v-21ad25a6"><view wx:if="{{a}}" class="node-wrap data-v-21ad25a6"><view wx:if="{{b}}" class="{{['node-wrap-box', 'data-v-21ad25a6', m]}}"><view class="{{['flow-path-card', 'data-v-21ad25a6', j, k, l]}}"><view class="header data-v-21ad25a6"><view wx:if="{{c}}" class="title-box data-v-21ad25a6" style="height:100%;width:190px"><label class="title-text data-v-21ad25a6">{{d}}</label></view><view wx:else class="title-box data-v-21ad25a6" style="height:100%;width:190px" catchtap="{{f}}"><label class="title-text data-v-21ad25a6">{{e}}</label></view><u-tag wx:if="{{g}}" class="async-state data-v-21ad25a6" style="right:10px" u-i="21ad25a6-0" bind:__l="__l" u-p="{{h}}"></u-tag></view><view class="body data-v-21ad25a6"><scroll-view class="text data-v-21ad25a6" scroll-y="true">{{i}}</scroll-view></view></view><view class="add-node-btn-box flex justify-center data-v-21ad25a6"></view></view></view><view wx:if="{{n}}" class="branch-wrap data-v-21ad25a6"><view class="branch-box-wrap data-v-21ad25a6"><view class="branch-box flex justify-center relative data-v-21ad25a6"><label class="line data-v-21ad25a6"></label><view wx:for="{{o}}" wx:for-item="item" wx:key="r" class="col-box data-v-21ad25a6"><view class="center-line data-v-21ad25a6"></view><view class="top-cover-line data-v-21ad25a6"></view><view class="bottom-cover-line data-v-21ad25a6"></view><view class="node-wrap data-v-21ad25a6"><view wx:if="{{item.a}}" class="node-wrap-box branchFlow data-v-21ad25a6"><view class="{{['flow-path-card', 'data-v-21ad25a6', item.g, item.h]}}"><view class="header data-v-21ad25a6"><view class="title-box data-v-21ad25a6" style="height:100%;width:190px"><label class="title-text data-v-21ad25a6">{{item.b}}</label></view><u-tag wx:if="{{item.c}}" class="async-state data-v-21ad25a6" style="right:10px" u-i="{{item.d}}" bind:__l="__l" u-p="{{item.e}}"></u-tag></view><view class="body data-v-21ad25a6"><scroll-view class="text data-v-21ad25a6" scroll-y="true">{{item.f}}</scroll-view></view></view><view class="add-node-btn-box flex justify-center data-v-21ad25a6"><view wx:if="{{item.i}}" class="add-node-btn data-v-21ad25a6"><view class="icon-ym icon-ym-nav-close icon data-v-21ad25a6"></view></view></view></view></view><flow-card wx:if="{{item.j}}" class="r-i-f data-v-21ad25a6" u-r="FlowCard" u-i="{{item.l}}" bind:__l="__l" u-p="{{item.m}}"/><flow-card wx:if="{{item.n}}" class="r-i-f data-v-21ad25a6" u-r="FlowCard" u-i="{{item.p}}" bind:__l="__l" u-p="{{item.q}}"/></view></view><view class="add-node-btn-box flex justify-center data-v-21ad25a6"></view></view></view><flow-card wx:if="{{p}}" class="r data-v-21ad25a6" u-r="FlowCard" bindshowTabs="{{r}}" u-i="21ad25a6-4" bind:__l="__l" u-p="{{s}}"/></view></view>
\ No newline at end of file
.node-wrap-box.data-v-21ad25a6{position:relative;display:flex;flex-wrap:nowrap;justify-content:center;align-items:center;flex-direction:column}.node-wrap-box.condition.data-v-21ad25a6,.node-wrap-box.branchFlow.data-v-21ad25a6,.node-wrap-box.interflow.data-v-21ad25a6{padding:60rpx 60rpx 0}.node-wrap-box.empty.data-v-21ad25a6{overflow:hidden}.node-wrap-box.approver.data-v-21ad25a6:before{content:"";position:absolute;top:-10px;left:50%;transform:translate(-50%);width:0;height:4px;border-style:solid;border-width:8px 6px 4px;border-color:#A9B4CD transparent transparent;background:#ebeef5}.node-wrap-box.approver.branchFlow.data-v-21ad25a6:before,.node-wrap-box.approver.interflow.data-v-21ad25a6:before{top:20px}.end-node.data-v-21ad25a6{font-size:24rpx;text-align:center;display:flex;flex-wrap:nowrap;justify-content:center;align-items:center;flex-direction:column}.end-node.state-past.data-v-21ad25a6{color:#67c23a}.end-node.data-v-21ad25a6:before{content:"";width:20rpx;height:20rpx;margin:auto;border:none;margin-bottom:12rpx;border-radius:50%;background:#a9b4cd}.flow-path-card.data-v-21ad25a6{width:400rpx;min-height:150rpx;border-radius:4px;text-align:left;cursor:pointer;overflow:hidden;position:relative;box-sizing:border-box;box-shadow:0 0 12rpx rgba(0,0,0,.3);background:#fff;border-radius:4rpx;font-size:24rpx}.flow-path-card.copy .header.data-v-21ad25a6{background-color:#1890ff}.flow-path-card.timer .header.data-v-21ad25a6{color:#f5811c;border-bottom:1px solid #EEEEEE}.flow-path-card.timer .header .actions.data-v-21ad25a6{color:#606266}.flow-path-card.approver .header.data-v-21ad25a6,.flow-path-card.subFlow .header.data-v-21ad25a6{background-color:#1890ff}.flow-path-card.start-node .header.data-v-21ad25a6{background-color:#576a95}.flow-path-card .header.data-v-21ad25a6{padding-left:20rpx;padding-right:60rpx;width:100%;height:60rpx;line-height:60rpx;color:#fff;position:relative;box-sizing:border-box}.flow-path-card .header .title-box.data-v-21ad25a6{position:relative;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.flow-path-card .header .title-input.data-v-21ad25a6{position:absolute;left:0;border:none;background:inherit;color:inherit;opacity:0;margin-top:12rpx}.flow-path-card .header .title-input.data-v-21ad25a6:focus{border-radius:8rpx;font-size:24rpx;padding:4rpx 4rpx 4rpx 8rpx;width:97%;margin-left:1px;height:36rpx;box-sizing:border-box;box-shadow:0 0 1px 1px #1890ff;background-color:#ebeef5;color:#000;opacity:1}.flow-path-card .header .title-text.data-v-21ad25a6{vertical-align:middle}.flow-path-card .header>.actions.data-v-21ad25a6{position:absolute;right:0;top:0;visibility:hidden}.flow-path-card .header>.async-state.data-v-21ad25a6{position:absolute;right:50rpx;top:10rpx}.flow-path-card.subFlow .header .title-box.data-v-21ad25a6{width:280rpx!important}.flow-path-card .body.data-v-21ad25a6{position:relative;padding:20rpx;box-sizing:border-box}.flow-path-card .body .text.data-v-21ad25a6{word-break:break-all;margin:0;overflow:auto;display:inline-block;max-height:150px}.flow-path-card .icon-wrapper.data-v-21ad25a6{position:absolute;top:0;height:100%;width:28rpx;box-sizing:border-box}.flow-path-card .icon-wrapper.left.data-v-21ad25a6{left:0}.flow-path-card .icon-wrapper.right.data-v-21ad25a6{right:0}.flow-path-card .icon-wrapper>.right-arrow.data-v-21ad25a6,.flow-path-card .icon-wrapper>.left-arrow.data-v-21ad25a6{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.flow-path-card.condition .header.data-v-21ad25a6{line-height:60rpx;color:inherit;border-bottom:1px solid #EEEEEE}.flow-path-card.condition .header .title-box.data-v-21ad25a6{height:auto!important}.flow-path-card.condition .header .title-text.data-v-21ad25a6{color:#15bc83}.flow-path-card.condition .body.data-v-21ad25a6{padding:20rpx;color:#606266}.flow-path-card.condition .right-arrow.data-v-21ad25a6,.flow-path-card.condition .left-arrow.data-v-21ad25a6{visibility:hidden}.col-box:first-of-type>.node-wrap .left.data-v-21ad25a6{display:none}.col-box:last-of-type>.node-wrap .right.data-v-21ad25a6{display:none}.add-node-btn-box.data-v-21ad25a6{width:400rpx;height:80rpx;position:relative;padding-top:60rpx}.add-node-btn-box.data-v-21ad25a6:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;margin:auto;width:1px;height:100%;background-color:#a9b4cd}.add-node-btn-box .add-node-btn.data-v-21ad25a6{background-color:#ed6f6f;width:64rpx;height:64rpx;border-radius:32rpx;line-height:64rpx;z-index:10;color:#fff;font-size:20rpx;text-align:center}.branch-wrap .branch-box-wrap.data-v-21ad25a6{display:inline-flex;flex-direction:column;align-items:center}.branch-wrap .branch-box.data-v-21ad25a6{align-items:stretch;border-bottom:1px solid #A9B4CD;border-top:1px solid #A9B4CD;box-sizing:border-box;background:#ebeef5}.branch-wrap .branch-box>.col-box.data-v-21ad25a6{display:flex;flex-direction:column;align-items:center;position:relative}.branch-wrap .branch-box>.col-box.data-v-21ad25a6:first-of-type:before,.branch-wrap .branch-box>.col-box.data-v-21ad25a6:first-of-type:after{content:"";position:absolute;left:0;height:6rpx;width:calc(50% - 1px);background:#ebeef5}.branch-wrap .branch-box>.col-box.data-v-21ad25a6:first-of-type:before{top:-4rpx}.branch-wrap .branch-box>.col-box.data-v-21ad25a6:first-of-type:after{bottom:-4rpx}.branch-wrap .branch-box>.col-box.data-v-21ad25a6:last-of-type:before,.branch-wrap .branch-box>.col-box.data-v-21ad25a6:last-of-type:after{content:"";position:absolute;right:0;height:6rpx;width:calc(50% - 1px);background:#ebeef5}.branch-wrap .branch-box>.col-box.data-v-21ad25a6:last-of-type:before{top:-4rpx}.branch-wrap .branch-box>.col-box.data-v-21ad25a6:last-of-type:after{bottom:-4rpx}.branch-wrap .branch-box>.col-box .center-line.data-v-21ad25a6{height:100%;width:1px;background:#a9b4cd;position:absolute}.condition-box.data-v-21ad25a6{display:flex;justify-content:space-around;align-items:center;text-align:center;padding:20rpx 0}.condition-box>div:nth-child(1) .iconfont.data-v-21ad25a6{color:#ff943e}.condition-box>div:nth-child(2) .iconfont.data-v-21ad25a6{color:#3296fa}.condition-box .condition-disabled.data-v-21ad25a6{color:#c0c4cc}.condition-box .condition-disabled .condition-icon.data-v-21ad25a6{background:#e5e5e5;color:#999;cursor:default}.condition-box .condition-icon.data-v-21ad25a6{width:120rpx;height:120rpx;line-height:120rpx;border:1px solid #e5e5e5;border-radius:60rpx;box-sizing:border-box;font-size:24rpx;cursor:pointer;margin-bottom:8rpx}.condition-box .condition-icon .icon-ym.data-v-21ad25a6,.condition-box .condition-icon [class^=el-icon-].data-v-21ad25a6,.condition-box .condition-icon .ym-custom.data-v-21ad25a6{font-size:64rpx}.relative.data-v-21ad25a6{position:relative}.flex.data-v-21ad25a6{display:flex}.justify-center.data-v-21ad25a6{justify-content:center}.icon.data-v-21ad25a6{vertical-align:middle;width:28rpx;height:28rpx;font-size:28rpx}.priority.data-v-21ad25a6{position:absolute;right:0;font-size:24rpx}input.data-v-21ad25a6::-ms-clear,input.data-v-21ad25a6::-ms-reveal{display:none}.branch-wrap.data-v-21ad25a6{display:flex;justify-content:center}.branch-wrap .branch-box.data-v-21ad25a6{background:#fff}.branch-wrap .branch-box>.col-box.data-v-21ad25a6:first-of-type:before,.branch-wrap .branch-box>.col-box.data-v-21ad25a6:first-of-type:after{background:#fff!important}.branch-wrap .branch-box>.col-box.data-v-21ad25a6:last-of-type:before,.branch-wrap .branch-box>.col-box.data-v-21ad25a6:last-of-type:after{background:#fff}.node-wrap-box.approver.data-v-21ad25a6:before{background:#fff}.flow-path-card.start-node .header.data-v-21ad25a6,.flow-path-card.approver .header.data-v-21ad25a6,.flow-path-card.subFlow .header.data-v-21ad25a6{background-color:#b6b6b6}.flow-path-card.state-past .header.data-v-21ad25a6{background-color:#67c23a}.flow-path-card.state-curr .header.data-v-21ad25a6{background-color:#1890ff}.node-wrap-box .start.data-v-21ad25a6{margin-top:15rpx}
"use strict";const e=require("../../../../common/vendor.js"),o={components:{FlowCard:()=>"./FlowCard.js"},name:"steps",props:{options:{},config:{},isEnd:{type:Boolean,default:!1}},data:()=>({x:30}),mounted(){e.index.createSelectorQuery().in(this).select(".movableView").boundingClientRect((o=>{const n=o.width,t=e.index.getSystemInfoSync().windowWidth;this.x=-n/2+t/2})).exec()},methods:{getFlowInfo(o){let n={subId:o.id,nodeId:o.nodeId,prevId:o.prevId,type:o.type,...this.config};e.index.navigateTo({url:"./subFlowForm?config="+this.jnpf.base64.encode(JSON.stringify(n))})}}};if(!Array){e.resolveComponent("FlowCard")()}const n=e._export_sfc(o,[["render",function(o,n,t,d,s,i){return{a:e.sr("FlowCard","5c64bb94-0"),b:e.o(i.getFlowInfo),c:e.p({options:t.options}),d:t.isEnd?1:"",e:s.x}}],["__scopeId","data-v-5c64bb94"]]);wx.createComponent(n);
{
"component": true,
"usingComponents": {
"flow-card": "./FlowCard"
}
}
\ No newline at end of file
<view class="steps data-v-5c64bb94"><movable-area class="movableArea data-v-5c64bb94"><movable-view class="movableView data-v-5c64bb94" x="{{e}}" out-of-bounds="{{true}}" direction="all" inertia="{{true}}" scale="{{true}}" animation="{{false}}"><flow-card wx:if="{{c}}" class="r data-v-5c64bb94" u-r="FlowCard" bindshowTabs="{{b}}" u-i="5c64bb94-0" bind:__l="__l" u-p="{{c}}"/><view class="{{['end-node', 'data-v-5c64bb94', d && 'state-past']}}">流程结束</view></movable-view></movable-area></view>
\ No newline at end of file
.node-wrap-box.data-v-5c64bb94{position:relative;display:flex;flex-wrap:nowrap;justify-content:center;align-items:center;flex-direction:column}.node-wrap-box.condition.data-v-5c64bb94,.node-wrap-box.branchFlow.data-v-5c64bb94,.node-wrap-box.interflow.data-v-5c64bb94{padding:60rpx 60rpx 0}.node-wrap-box.empty.data-v-5c64bb94{overflow:hidden}.node-wrap-box.approver.data-v-5c64bb94:before{content:"";position:absolute;top:-10px;left:50%;transform:translate(-50%);width:0;height:4px;border-style:solid;border-width:8px 6px 4px;border-color:#A9B4CD transparent transparent;background:#ebeef5}.node-wrap-box.approver.branchFlow.data-v-5c64bb94:before,.node-wrap-box.approver.interflow.data-v-5c64bb94:before{top:20px}.end-node.data-v-5c64bb94{font-size:24rpx;text-align:center;display:flex;flex-wrap:nowrap;justify-content:center;align-items:center;flex-direction:column}.end-node.state-past.data-v-5c64bb94{color:#67c23a}.end-node.data-v-5c64bb94:before{content:"";width:20rpx;height:20rpx;margin:auto;border:none;margin-bottom:12rpx;border-radius:50%;background:#a9b4cd}.flow-path-card.data-v-5c64bb94{width:400rpx;min-height:150rpx;border-radius:4px;text-align:left;cursor:pointer;overflow:hidden;position:relative;box-sizing:border-box;box-shadow:0 0 12rpx rgba(0,0,0,.3);background:#fff;border-radius:4rpx;font-size:24rpx}.flow-path-card.copy .header.data-v-5c64bb94{background-color:#1890ff}.flow-path-card.timer .header.data-v-5c64bb94{color:#f5811c;border-bottom:1px solid #EEEEEE}.flow-path-card.timer .header .actions.data-v-5c64bb94{color:#606266}.flow-path-card.approver .header.data-v-5c64bb94,.flow-path-card.subFlow .header.data-v-5c64bb94{background-color:#1890ff}.flow-path-card.start-node .header.data-v-5c64bb94{background-color:#576a95}.flow-path-card .header.data-v-5c64bb94{padding-left:20rpx;padding-right:60rpx;width:100%;height:60rpx;line-height:60rpx;color:#fff;position:relative;box-sizing:border-box}.flow-path-card .header .title-box.data-v-5c64bb94{position:relative;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.flow-path-card .header .title-input.data-v-5c64bb94{position:absolute;left:0;border:none;background:inherit;color:inherit;opacity:0;margin-top:12rpx}.flow-path-card .header .title-input.data-v-5c64bb94:focus{border-radius:8rpx;font-size:24rpx;padding:4rpx 4rpx 4rpx 8rpx;width:97%;margin-left:1px;height:36rpx;box-sizing:border-box;box-shadow:0 0 1px 1px #1890ff;background-color:#ebeef5;color:#000;opacity:1}.flow-path-card .header .title-text.data-v-5c64bb94{vertical-align:middle}.flow-path-card .header>.actions.data-v-5c64bb94{position:absolute;right:0;top:0;visibility:hidden}.flow-path-card .header>.async-state.data-v-5c64bb94{position:absolute;right:50rpx;top:10rpx}.flow-path-card.subFlow .header .title-box.data-v-5c64bb94{width:280rpx!important}.flow-path-card .body.data-v-5c64bb94{position:relative;padding:20rpx;box-sizing:border-box}.flow-path-card .body .text.data-v-5c64bb94{word-break:break-all;margin:0;overflow:auto;display:inline-block;max-height:150px}.flow-path-card .icon-wrapper.data-v-5c64bb94{position:absolute;top:0;height:100%;width:28rpx;box-sizing:border-box}.flow-path-card .icon-wrapper.left.data-v-5c64bb94{left:0}.flow-path-card .icon-wrapper.right.data-v-5c64bb94{right:0}.flow-path-card .icon-wrapper>.right-arrow.data-v-5c64bb94,.flow-path-card .icon-wrapper>.left-arrow.data-v-5c64bb94{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.flow-path-card.condition .header.data-v-5c64bb94{line-height:60rpx;color:inherit;border-bottom:1px solid #EEEEEE}.flow-path-card.condition .header .title-box.data-v-5c64bb94{height:auto!important}.flow-path-card.condition .header .title-text.data-v-5c64bb94{color:#15bc83}.flow-path-card.condition .body.data-v-5c64bb94{padding:20rpx;color:#606266}.flow-path-card.condition .right-arrow.data-v-5c64bb94,.flow-path-card.condition .left-arrow.data-v-5c64bb94{visibility:hidden}.col-box:first-of-type>.node-wrap .left.data-v-5c64bb94{display:none}.col-box:last-of-type>.node-wrap .right.data-v-5c64bb94{display:none}.add-node-btn-box.data-v-5c64bb94{width:400rpx;height:80rpx;position:relative;padding-top:60rpx}.add-node-btn-box.data-v-5c64bb94:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;margin:auto;width:1px;height:100%;background-color:#a9b4cd}.add-node-btn-box .add-node-btn.data-v-5c64bb94{background-color:#ed6f6f;width:64rpx;height:64rpx;border-radius:32rpx;line-height:64rpx;z-index:10;color:#fff;font-size:20rpx;text-align:center}.branch-wrap .branch-box-wrap.data-v-5c64bb94{display:inline-flex;flex-direction:column;align-items:center}.branch-wrap .branch-box.data-v-5c64bb94{align-items:stretch;border-bottom:1px solid #A9B4CD;border-top:1px solid #A9B4CD;box-sizing:border-box;background:#ebeef5}.branch-wrap .branch-box>.col-box.data-v-5c64bb94{display:flex;flex-direction:column;align-items:center;position:relative}.branch-wrap .branch-box>.col-box.data-v-5c64bb94:first-of-type:before,.branch-wrap .branch-box>.col-box.data-v-5c64bb94:first-of-type:after{content:"";position:absolute;left:0;height:6rpx;width:calc(50% - 1px);background:#ebeef5}.branch-wrap .branch-box>.col-box.data-v-5c64bb94:first-of-type:before{top:-4rpx}.branch-wrap .branch-box>.col-box.data-v-5c64bb94:first-of-type:after{bottom:-4rpx}.branch-wrap .branch-box>.col-box.data-v-5c64bb94:last-of-type:before,.branch-wrap .branch-box>.col-box.data-v-5c64bb94:last-of-type:after{content:"";position:absolute;right:0;height:6rpx;width:calc(50% - 1px);background:#ebeef5}.branch-wrap .branch-box>.col-box.data-v-5c64bb94:last-of-type:before{top:-4rpx}.branch-wrap .branch-box>.col-box.data-v-5c64bb94:last-of-type:after{bottom:-4rpx}.branch-wrap .branch-box>.col-box .center-line.data-v-5c64bb94{height:100%;width:1px;background:#a9b4cd;position:absolute}.condition-box.data-v-5c64bb94{display:flex;justify-content:space-around;align-items:center;text-align:center;padding:20rpx 0}.condition-box>div:nth-child(1) .iconfont.data-v-5c64bb94{color:#ff943e}.condition-box>div:nth-child(2) .iconfont.data-v-5c64bb94{color:#3296fa}.condition-box .condition-disabled.data-v-5c64bb94{color:#c0c4cc}.condition-box .condition-disabled .condition-icon.data-v-5c64bb94{background:#e5e5e5;color:#999;cursor:default}.condition-box .condition-icon.data-v-5c64bb94{width:120rpx;height:120rpx;line-height:120rpx;border:1px solid #e5e5e5;border-radius:60rpx;box-sizing:border-box;font-size:24rpx;cursor:pointer;margin-bottom:8rpx}.condition-box .condition-icon .icon-ym.data-v-5c64bb94,.condition-box .condition-icon [class^=el-icon-].data-v-5c64bb94,.condition-box .condition-icon .ym-custom.data-v-5c64bb94{font-size:64rpx}.relative.data-v-5c64bb94{position:relative}.flex.data-v-5c64bb94{display:flex}.justify-center.data-v-5c64bb94{justify-content:center}.icon.data-v-5c64bb94{vertical-align:middle;width:28rpx;height:28rpx;font-size:28rpx}.priority.data-v-5c64bb94{position:absolute;right:0;font-size:24rpx}input.data-v-5c64bb94::-ms-clear,input.data-v-5c64bb94::-ms-reveal{display:none}.movableArea.data-v-5c64bb94{width:100%;height:calc(100vh - 256rpx)}.movableView.data-v-5c64bb94{width:unset;height:unset}.end-node.data-v-5c64bb94{padding-bottom:15rpx}
"use strict";const e=require("../../../common/vendor.js"),t={name:"FlowList",props:{list:{type:Array,default:()=>[]},opType:{type:Number,default:1}},data:()=>({title:""}),created(){this.title=1==this.opType?"接收时间":2==this.opType?"办理时间":"抄送时间"},methods:{handleClick(t){const s={id:t.processId,flowId:t.flowId,opType:this.opType,status:t.status,taskNodeId:t.thisStepId,taskId:t.id};e.index.navigateTo({url:"/pages/workFlow/flowBefore/index?config="+this.jnpf.base64.encode(JSON.stringify(s))})},getLableValue(e){var t="";switch(e){case 1:default:t="普通";break;case 2:t="重要";break;case 3:t="紧急"}return t}}};if(!Array){e.resolveComponent("u-tag")()}Math;const s=e._export_sfc(t,[["render",function(t,s,a,o,i,r){return{a:e.f(a.list,((s,a,o)=>e.e({a:s.delegateUser},s.delegateUser?{b:"70d6b346-0-"+o,c:e.p({text:"委托",type:"success",size:"mini"})}:{},{d:e.t(r.getLableValue(s.flowUrgent)),e:2==s.flowUrgent?1:"",f:3==s.flowUrgent?1:"",g:e.t(s.fullName),h:e.t(s.thisStep?s.thisStep:"暂无"),i:e.t(s.creatorTime?t.$u.timeFormat(s.creatorTime,"yyyy-mm-dd hh:MM:ss"):""),j:s.flowStatus,k:s.id,l:e.o((e=>r.handleClick(s)),s.id)}))),b:e.t(i.title)}}],["__scopeId","data-v-70d6b346"]]);wx.createComponent(s);
{
"component": true,
"usingComponents": {
"u-tag": "../../../uni_modules/vk-uview-ui/components/u-tag/u-tag"
}
}
\ No newline at end of file
<view class="flow-list flowBefore data-v-70d6b346"><view class="flow-list-box data-v-70d6b346"><view wx:for="{{a}}" wx:for-item="item" wx:key="k" class="item data-v-70d6b346" bindtap="{{item.l}}"><view class="item-left data-v-70d6b346"><view class="item-left-top data-v-70d6b346"><view wx:if="{{item.a}}" class="u-m-r-8 data-v-70d6b346"><u-tag wx:if="{{item.c}}" class="data-v-70d6b346" u-i="{{item.b}}" bind:__l="__l" u-p="{{item.c}}"/></view><view class="{{['common-lable', 'data-v-70d6b346', item.e && 'urgent-lable', item.f && 'important-lable']}}">{{item.d}}</view><text class="title u-font-28 u-line-1 data-v-70d6b346">{{item.g}}</text></view><text class="title u-line-1 u-font-24 data-v-70d6b346">审批节点:<text class="titInner data-v-70d6b346">{{item.h}}</text></text><text class="time title u-font-24 data-v-70d6b346">{{b}}:<text class="titInner data-v-70d6b346">{{item.i}}</text></text></view><view class="item-right data-v-70d6b346"><image src="{{item.j}}" mode="widthFix" class="item-right-img data-v-70d6b346"></image></view></view></view></view>
\ No newline at end of file
.item-left-top.data-v-70d6b346{display:flex;width:100%}.item-left-top .common-lable.data-v-70d6b346{font-size:24rpx;padding:2rpx 8rpx;margin-right:8rpx;border-radius:8rpx;color:#409eff;border:1px solid #409EFF;background-color:#e5f3fe}.item-left-top .urgent-lable.data-v-70d6b346{color:#e6a23c;border:1px solid #E6A23C;background-color:#fef6e5}.item-left-top .important-lable.data-v-70d6b346{color:#f56c6c;border:1px solid #F56C6C;background-color:#fee5e5}.item-left-top .title.data-v-70d6b346{width:unset;flex:1;min-width:0}
"use strict";const e=require("../../../../common/vendor.js"),t=require("../../../../store/modules/base.js"),s=require("../../../../libs/resources.js"),a=require("../../../../api/workFlow/flowEngine.js"),i=t.useBaseStore(),o={label:"fullName",value:"id"},l={props:{selectType:{type:String,default:"all"},clearable:{type:Boolean,default:!1},query:{type:Object,default:()=>({})},selectedData:{type:Array,default:()=>[]},modelValue:{type:Boolean,default:!1},zIndex:{type:[String,Number],default:0},safeAreaInsetBottom:{type:Boolean,default:!1},maskCloseAble:{type:Boolean,default:!0},multiple:{type:Boolean,default:!1}},data:()=>({noDataIcon:s.resources.message.nodata,tabsList:[],keyword:"",selectList:[],list:[],current:0,swiperCurrent:0,pagination:{currentPage:1,pageSize:20},total:0,categoryId:"",tabIndex:0,showPopup:!1}),watch:{modelValue:{immediate:!0,handler(e){this.showPopup=e,e&&setTimeout((()=>this.init()),10)}}},computed:{uZIndex(){return this.zIndex?this.zIndex:this.$u.zIndex.popup},realProps:()=>({...o})},created(){setTimeout((()=>{this.triggered=!0}),1e3),i.getDictionaryData({sort:"WorkFlowCategory"}).then((e=>{this.tabsList.push({id:0,encode:"all",fullName:"全部流程"}),this.tabsList.push(...e)}))},methods:{init(){console.log(2544),this.upCallback(),this.current=0,this.selectList=JSON.parse(JSON.stringify(this.selectedData))||[]},delSelect(e){this.selectList.splice(e,1)},cleanAll(){this.selectList=[]},handleNodeClick(e){for(var t=!1,s=0;s<this.selectList.length;s++)if(this.selectList[s].id==e.data.id){t=!0;break}!t&&this.selectList.push(e.data)},search(e){this.searchTimer&&clearTimeout(this.searchTimer),this.searchTimer=setTimeout((()=>{this.upCallback()}),300)},resetData(){this.list=[],this.pagination={currentPage:1,pageSize:20}},tabChange(e){this.current=e,this.upCallback()},handleScrollToLower(){this.pagination.pageSize*this.pagination.currentPage<this.total?(this.pagination.currentPage=this.pagination.currentPage+1,this.upCallback()):e.index.showToast({title:"没有更多信息啦!",icon:"none"})},upCallback(){this.pagination.currentPage=1,this.categoryId=this.tabsList[this.current].id?this.tabsList[this.current].id:"",this.list=[];let e={currentPage:this.pagination.currentPage,pageSize:this.pagination.pageSize,keyword:this.keyword,category:this.categoryId?this.categoryId:""};this.loading=!1,a.FlowEngineAll(e).then((e=>{const t=e.data.list;t.map((e=>{e.fullName=e.fullName+"/"+e.enCode})),this.list=this.list.concat(t),this.pagination=e.data.pagination,this.total=this.pagination.total})).catch((()=>{}))},getResult(e=null){if(this.keyword="","cancel"===e)return this.$emit("confirm",this.selectedData),void this.close();this.$emit(e,this.selectList),this.close()},close(){this.$emit("close")}}};if(!Array){(e.resolveComponent("u-search")+e.resolveComponent("u-icon")+e.resolveComponent("u-tabs")+e.resolveComponent("ly-tree")+e.resolveComponent("u-button")+e.resolveComponent("u-popup"))()}Math||((()=>"../../../../uni_modules/vk-uview-ui/components/u-search/u-search.js")+(()=>"../../../../uni_modules/vk-uview-ui/components/u-icon/u-icon.js")+(()=>"../../../../uni_modules/vk-uview-ui/components/u-tabs/u-tabs.js")+(()=>"../../../../components/ly-tree/ly-tree.js")+(()=>"../../../../uni_modules/vk-uview-ui/components/u-button/u-button.js")+(()=>"../../../../uni_modules/vk-uview-ui/components/u-popup/u-popup.js"))();const n=e._export_sfc(l,[["render",function(t,s,a,i,o,l){return{a:e.o(((...e)=>l.close&&l.close(...e))),b:e.o((e=>l.search(o.swiperCurrent))),c:e.o((e=>o.keyword=e)),d:e.p({placeholder:"请输入关键词搜索",height:"72","show-action":!1,"bg-color":"#f0f2f6",shape:"square",modelValue:o.keyword}),e:e.o(((...e)=>l.cleanAll&&l.cleanAll(...e))),f:e.f(o.selectList,((t,s,a)=>({a:e.t(t.fullName),b:e.o((e=>l.delSelect(s)),s),c:"1b71a45d-2-"+a+",1b71a45d-0",d:s}))),g:e.p({name:"close"}),h:e.o(l.tabChange),i:e.p({list:o.tabsList,current:o.current,"is-scroll":!0,name:"fullName"}),j:e.sr("tree","1b71a45d-4,1b71a45d-0"),k:e.o(l.handleNodeClick),l:e.p({"node-key":l.realProps.value,"highlight-current":!0,props:l.realProps,"tree-data":o.list}),m:o.swiperCurrent,n:e.o((e=>l.getResult("cancel"))),o:e.o((e=>l.getResult("confirm"))),p:e.p({type:"primary"}),q:e.o(l.close),r:e.o((e=>o.showPopup=e)),s:e.p({maskCloseAble:a.maskCloseAble,mode:"right",popup:!1,safeAreaInsetBottom:a.safeAreaInsetBottom,"z-index":l.uZIndex,width:"100%",modelValue:o.showPopup})}}],["__scopeId","data-v-1b71a45d"]]);wx.createComponent(n);
{
"component": true,
"usingComponents": {
"u-search": "../../../../uni_modules/vk-uview-ui/components/u-search/u-search",
"u-icon": "../../../../uni_modules/vk-uview-ui/components/u-icon/u-icon",
"u-tabs": "../../../../uni_modules/vk-uview-ui/components/u-tabs/u-tabs",
"ly-tree": "../../../../components/ly-tree/ly-tree",
"u-button": "../../../../uni_modules/vk-uview-ui/components/u-button/u-button",
"u-popup": "../../../../uni_modules/vk-uview-ui/components/u-popup/u-popup"
}
}
\ No newline at end of file
<u-popup wx:if="{{s}}" u-s="{{['d']}}" class="jnpf-tree-select-popup data-v-1b71a45d" bindclose="{{q}}" u-i="1b71a45d-0" bind:__l="__l" bindupdateModelValue="{{r}}" u-p="{{s}}"><view class="jnpf-tree-select-body data-v-1b71a45d"><view class="jnpf-tree-select-title data-v-1b71a45d"><text class="icon-ym icon-ym-report-icon-preview-pagePre u-font-40 backIcon data-v-1b71a45d" bindtap="{{a}}"></text><view class="title data-v-1b71a45d">流程选择</view></view><view class="jnpf-tree-select-search data-v-1b71a45d"><u-search wx:if="{{d}}" class="data-v-1b71a45d" bindchange="{{b}}" u-i="1b71a45d-1,1b71a45d-0" bind:__l="__l" bindupdateModelValue="{{c}}" u-p="{{d}}"></u-search></view><view class="jnpf-tree-selected data-v-1b71a45d"><view class="jnpf-tree-selected-head data-v-1b71a45d"><view class="data-v-1b71a45d">已选</view><view class="clear-btn data-v-1b71a45d" bindtap="{{e}}">清空列表</view></view><view class="jnpf-tree-selected-box u-p-b-6 data-v-1b71a45d"><scroll-view scroll-y="true" class="selected-box-scroll-view data-v-1b71a45d"><view wx:for="{{f}}" wx:for-item="list" wx:key="d" class="u-flex u-p-l-10 u-p-r-10 u-line-1 u-m-b-10 selected-box-iner data-v-1b71a45d"><text class="name u-line-1 data-v-1b71a45d">{{list.a}}</text><u-icon wx:if="{{g}}" class="close data-v-1b71a45d" bindclick="{{list.b}}" u-i="{{list.c}}" bind:__l="__l" u-p="{{g}}"></u-icon></view></scroll-view></view></view><view class="jnpf-user-content data-v-1b71a45d"><u-tabs wx:if="{{i}}" class="data-v-1b71a45d" bindchange="{{h}}" u-i="1b71a45d-3,1b71a45d-0" bind:__l="__l" u-p="{{i}}"></u-tabs><swiper current="{{m}}" class="swiper-box data-v-1b71a45d"><swiper-item class="data-v-1b71a45d"><scroll-view scroll-y="{{true}}" class="scroll-view data-v-1b71a45d"><ly-tree wx:if="{{l}}" class="r data-v-1b71a45d" u-r="tree" bindnodeClick="{{k}}" u-i="1b71a45d-4,1b71a45d-0" bind:__l="__l" u-p="{{l}}"/></scroll-view></swiper-item></swiper></view><view class="jnpf-tree-select-actions data-v-1b71a45d"><u-button u-s="{{['d']}}" class="buttom-btn data-v-1b71a45d" catchclick="{{n}}" u-i="1b71a45d-5,1b71a45d-0" bind:__l="__l">取消</u-button><u-button wx:if="{{p}}" u-s="{{['d']}}" class="buttom-btn data-v-1b71a45d" catchclick="{{o}}" u-i="1b71a45d-6,1b71a45d-0" bind:__l="__l" u-p="{{p}}">确定</u-button></view></view></u-popup>
\ No newline at end of file
.jnpf-tree-selected .jnpf-tree-selected-box .selected-box-scroll-view.data-v-1b71a45d{max-height:240rpx}.jnpf-tree-selected .jnpf-tree-selected-box .selected-box-scroll-view .selected-box-iner.data-v-1b71a45d{border:1px solid #2194fa;justify-content:space-between;border-radius:8rpx;background-color:#e8f4fe}.jnpf-tree-selected .jnpf-tree-selected-box .selected-box-scroll-view .selected-box-iner .name.data-v-1b71a45d{flex:.95}.jnpf-tree-selected .jnpf-tree-selected-box .selected-box-scroll-view .selected-box-iner .close.data-v-1b71a45d{color:#2194fa}.jnpf-tree-selected .jnpf-tree-selected-box .jnpf-tree-selected-list .u-selectTag.data-v-1b71a45d{width:100%!important;padding-right:10rpx;justify-content:space-between}.jnpf-tree-selected .jnpf-tree-selected-box .jnpf-tree-selected-list .u-selectTag .name-box .close.data-v-1b71a45d{padding-right:16rpx!important}.scroll-view.data-v-1b71a45d{height:100%}.jnpf-user-content.data-v-1b71a45d{flex:1;display:flex;flex-direction:column}.jnpf-user-content .swiper-box.data-v-1b71a45d{flex:1}
"use strict";const e=require("../../../../api/workFlow/flowEngine.js"),t=require("../../../../common/vendor.js"),l={components:{flowSelect:()=>"./Select.js"},props:{modelValue:{default:""},placeholder:{type:String,default:"请选择"},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},multiple:{type:Boolean,default:!1}},data:()=>({selectShow:!1,innerValue:"",selectedData:[],selectedIds:[]}),watch:{modelValue:{handler(e){if(!e||!e.length)return this.innerValue="";this.setDefault(e)},immediate:!0}},methods:{setDefault(t){if(!t||!t.length)return this.innerValue="";e.getFlowEngineListByIds(t).then((e=>{const t=e.data.map((e=>e.fullName));this.innerValue=t.join(),this.selectedData=e.data}))},openSelect(){this.disabled||(this.selectShow=!0,this.$refs.flowSelect.resetData(),this.setDefault())},selectConfirm(e){this.selectedData=e;let t="",l=[];this.defaultValue=[];for(let a=0;a<e.length;a++)t+=(a?",":"")+e[a].fullName,l.push(e[a].id);if(this.defaultValue=l,this.innerValue=t,!this.multiple)return this.$emit("update:modelValue",l),void this.$emit("change",l.join(),e[0]);this.$emit("update:modelValue",l),this.$emit("change",l,e)},handleClose(){this.selectShow=!1}}};if(!Array){(t.resolveComponent("u-input")+t.resolveComponent("flowSelect"))()}Math;const a=t._export_sfc(l,[["render",function(e,l,a,o,s,i){return{a:t.o(i.openSelect),b:t.o((e=>s.innerValue=e)),c:t.p({"input-align":"right",type:"select","select-open":s.selectShow,placeholder:a.placeholder,modelValue:s.innerValue}),d:t.sr("flowSelect","10802c2d-1"),e:t.o(i.selectConfirm),f:t.o(i.handleClose),g:t.o((e=>s.selectShow=e)),h:t.p({multiple:a.multiple,selectedData:s.selectedData,clearable:a.clearable,modelValue:s.selectShow})}}],["__scopeId","data-v-10802c2d"]]);wx.createComponent(a);
{
"component": true,
"usingComponents": {
"flow-select": "./Select",
"u-input": "../../../../uni_modules/vk-uview-ui/components/u-input/u-input"
}
}
\ No newline at end of file
<view class="jnpf-tree-select data-v-10802c2d"><u-input wx:if="{{c}}" class="data-v-10802c2d" bindclick="{{a}}" u-i="10802c2d-0" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}"></u-input><flow-select wx:if="{{h}}" class="r data-v-10802c2d" bindconfirm="{{e}}" u-r="flowSelect" bindclose="{{f}}" u-i="10802c2d-1" bind:__l="__l" bindupdateModelValue="{{g}}" u-p="{{h}}"></flow-select></view>
\ No newline at end of file
"use strict";const e=require("../../../common/vendor.js"),t={name:"Records",props:{options:{type:Array,default:()=>[]},flowId:{type:String,default:""}},data:()=>({colorList:["rgba(242,68,68,0.39)","rgba(35,162,5,0.39)","rgba(21,157,120,0.39)","rgba(21,21,157,0.39)","rgba(186,33,33,0.39)","rgba(25,185,185,0.39)","rgba(50,191,61,0.39)","rgba(49,151,214,0.39)","rgba(185,123,6,0.39)","rgba(45,94,186,0.39)","rgba(50,191,61,0.39)","rgba(255, 0, 0, 0.39)","rgba(0, 128, 0, 0.39)","rgba(172,214,58,0.39)"],statusList:["退回","同意","发起","撤回","终止","指派","后加签","转办","变更","复活","前加签","挂起","恢复","转向"]}),methods:{goDetail(t){let a="-1";[1,2,4,5].includes(t.status)&&(a=0);const s={id:t.taskId,opType:a,status:t.status,readonly:1,formRecords:1,title:t.nodeName,flowId:this.flowId,taskNodeId:t.taskNodeId};e.index.navigateTo({url:"/pages/workFlow/flowBefore/index?config="+this.jnpf.base64.encode(JSON.stringify(s))})},previewImage(e){}}};if(!Array){e.resolveComponent("JnpfUploadFile")()}Math;const a=e._export_sfc(t,[["render",function(t,a,s,n,o,i){return{a:e.f(s.options,((a,s,n)=>e.e({a:e.t(a.nodeName),b:e.t(a.userName),c:e.t(t.$u.timeFormat(a.creatorTime,"yyyy-mm-dd hh:MM:ss")),d:e.t(t.$u.timeFormat(a.handleTime,"yyyy-mm-dd hh:MM:ss")),e:o.colorList[a.handleStatus||0],f:e.t(o.statusList[a.handleStatus||0]),g:5==a.handleStatus||6==a.handleStatus||7==a.handleStatus||10==a.handleStatus},5==a.handleStatus||6==a.handleStatus||7==a.handleStatus||10==a.handleStatus?{h:e.t(a.operatorId)}:{},{i:a.fileList&&a.fileList.length},a.fileList&&a.fileList.length?{j:"eaf0a4c9-0-"+n,k:e.o((e=>a.fileList=e),s),l:e.p({align:"left",detailed:!0,modelValue:a.fileList})}:{},{m:a.handleOpinion},a.handleOpinion?{n:e.t(a.handleOpinion)}:{},{o:a.signImg},a.signImg?{p:a.signImg,q:e.o((e=>i.previewImage(a.signImg)),s)}:{},{r:s})))}}],["__scopeId","data-v-eaf0a4c9"]]);wx.createComponent(a);
{
"component": true,
"usingComponents": {
"jnpf-upload-file": "../../../components/Jnpf/UploadFile/index"
}
}
\ No newline at end of file
<view class="records data-v-eaf0a4c9"><view wx:for="{{a}}" wx:for-item="item" wx:key="r" class="records-item data-v-eaf0a4c9"><view class="record-cell data-v-eaf0a4c9"><text class="title data-v-eaf0a4c9">节点名称:</text><text class="content data-v-eaf0a4c9">{{item.a}}</text></view><view class="record-cell data-v-eaf0a4c9"><text class="title data-v-eaf0a4c9">操作人员:</text><text class="content data-v-eaf0a4c9">{{item.b}}</text></view><view class="record-cell data-v-eaf0a4c9"><text class="title data-v-eaf0a4c9">接收时间:</text><text class="content data-v-eaf0a4c9">{{item.c}}</text></view><view class="record-cell data-v-eaf0a4c9"><text class="title data-v-eaf0a4c9">操作时间:</text><text class="content data-v-eaf0a4c9">{{item.d}}</text></view><view class="record-cell data-v-eaf0a4c9"><text class="title data-v-eaf0a4c9">执行动作:</text><text class="content data-v-eaf0a4c9"><text class="circle data-v-eaf0a4c9" style="{{'background:' + item.e}}"></text> {{item.f}} <text wx:if="{{item.g}}" class="data-v-eaf0a4c9"> :{{item.h}}</text></text></view><view wx:if="{{item.i}}" class="record-cell data-v-eaf0a4c9"><text class="title data-v-eaf0a4c9">附件:</text><jnpf-upload-file wx:if="{{item.l}}" class="data-v-eaf0a4c9" u-i="{{item.j}}" bind:__l="__l" bindupdateModelValue="{{item.k}}" u-p="{{item.l}}"/></view><view wx:if="{{item.m}}" class="record-cell data-v-eaf0a4c9"><text class="title data-v-eaf0a4c9">备注:</text><text class="content data-v-eaf0a4c9">{{item.n}}</text></view><image wx:if="{{item.o}}" class="record-cell-img data-v-eaf0a4c9" src="{{item.p}}" mode="widthFix" bindtap="{{item.q}}"/></view></view>
\ No newline at end of file
.records .records-item.data-v-eaf0a4c9{position:relative;background-color:#fff;margin-bottom:20rpx;padding:28rpx 32rpx 10rpx}.records .records-item .record-cell.data-v-eaf0a4c9{color:#303133;line-height:42rpx;font-size:28rpx;padding-bottom:20rpx;display:flex}.records .records-item .record-cell .title.data-v-eaf0a4c9{text-align:right;width:140rpx;display:inline-block;flex-shrink:0}.records .records-item .record-cell .content.data-v-eaf0a4c9{color:#909399}.records .records-item .record-cell .content .circle.data-v-eaf0a4c9{width:14rpx;height:14rpx;border-radius:50%;margin-right:6rpx;display:inline-block;margin-bottom:2rpx}.records .records-item .record-cell .text-link.data-v-eaf0a4c9{color:#2979ff}.records .records-item .record-cell-img.data-v-eaf0a4c9{position:absolute;width:200rpx;top:28rpx;right:32rpx}
"use strict";const e=require("../../../common/vendor.js"),t=require("../../../api/workFlow/entrust.js"),s=require("../../../api/workFlow/flowEngine.js");require("../../../utils/request.js");const o=require("../../../libs/resources.js"),i=require("../../../uni_modules/mescroll-uni/components/mescroll-uni/mescroll-mixins.js"),l=require("../../../store/modules/base.js").useBaseStore(),r={mixins:[i.MescrollMixin],data:()=>({selector:[],show:!1,activeFlow:{},templateList:[],downOption:{use:!0,auto:!0},upOption:{page:{num:0,size:50,time:null},empty:{use:!0,icon:o.resources.message.nodata,tip:"暂无数据",fixed:!1,top:"560rpx"},textNoMore:"没有更多数据"},keyword:"",category:"",current:0,categoryList:[{fullName:"全部流程"}],list:[],fullName:"",loading:!1,entrustList:[{fullName:"发起流程"},{fullName:"功能流程"}],flowCurrent:0,options:[],config:{}}),onLoad(){this.getPaymentMethodOptions(),e.index.$on("refresh",(()=>{this.list=[],this.current=0,this.mescroll.resetUpScroll()}))},methods:{openPage(t){t&&e.index.navigateTo({url:t})},upCallback(e){let s={currentPage:e.num,pageSize:e.size,keyword:this.keyword,category:0==this.category?"":this.category,flowType:this.flowCurrent};this.loading=!1,t.delegateGetflow(s,{load:1==e.num}).then((t=>{let s=t.data.list||[];this.mescroll.endSuccess(s.length),1==e.num&&(this.list=[]);const o=s.map((e=>({show:!1,...e})));this.list=this.list.concat(o),this.loading=!0})).catch((()=>{this.mescroll.endErr()}))},search(){this.searchTimer&&clearTimeout(this.searchTimer),this.searchTimer=setTimeout((()=>{this.list=[],this.mescroll.resetUpScroll()}),300)},flowChange(e){this.flowCurrent=e,this.current=0,this.list=[],this.mescroll.resetUpScroll()},change(e){this.current=e,this.fullName=this.categoryList[e].fullName,this.category=this.categoryList[e].id?this.categoryList[e].id:"",this.list=[],this.keyword="",this.mescroll.resetUpScroll()},getPaymentMethodOptions(){l.getDictionaryData({sort:"WorkFlowCategory"}).then((e=>{e.forEach((e=>{this.categoryList.push(e)}))}))},confirm(e){this.activeFlow=this.templateList[e[0]],this.Jump()},Jump(){this.config={id:"",flowId:this.activeFlow.id,opType:"-1",taskNodeId:"",fullName:this.activeFlow.fullName},t.getUserListByFlowId({flowId:this.activeFlow.id}).then((t=>{if(this.options=t.data.list||[],this.options.length>1)return this.$refs.select.openSelect();this.config.delegateUserList=[this.options[0].id],e.index.navigateTo({url:"/pages/workFlow/flowBefore/index?config="+this.jnpf.base64.encode(JSON.stringify(this.config))})}))},handelClick(e){s.FlowJsonList(e.id,"1").then((e=>{this.templateList=e.data,this.templateList.length?this.templateList.length>1?(this.show=!0,this.selector=this.templateList):(this.activeFlow=this.templateList[0],this.Jump()):this.$u.toast("流程不存在")}))},selectChange(t){if(!t.length)return this.$u.toast("请选择人员");this.config.delegateUserList=t,e.index.navigateTo({url:"/pages/workFlow/flowBefore/index?config="+this.jnpf.base64.encode(JSON.stringify(this.config))})}}};if(!Array){(e.resolveComponent("u-tabs")+e.resolveComponent("u-search")+e.resolveComponent("mescroll-body")+e.resolveComponent("JnpfSelect")+e.resolveComponent("u-picker"))()}Math||((()=>"../../../uni_modules/vk-uview-ui/components/u-tabs/u-tabs.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-search/u-search.js")+(()=>"../../../uni_modules/mescroll-uni/components/mescroll-body/mescroll-body.js")+(()=>"../../../components/Jnpf/Select/index.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-picker/u-picker.js"))();const n=e._export_sfc(r,[["render",function(t,s,o,i,l,r){return e.e({a:e.o(r.flowChange),b:e.p({list:l.entrustList,current:l.flowCurrent,"is-scroll":!1,name:"fullName"}),c:e.o(r.search),d:e.o((e=>l.keyword=e)),e:e.p({placeholder:"请输入关键词搜索",height:"72","show-action":!1,"bg-color":"#f0f2f6",shape:"square",modelValue:l.keyword}),f:e.o(r.change),g:e.p({list:l.categoryList,current:l.current,"is-scroll":!0,name:"fullName"}),h:l.list.length>=1},l.list.length>=1?{i:e.t(0===l.current?"全部流程":l.fullName)}:{},{j:e.f(l.list,((t,s,o)=>({a:e.n(t.icon),b:t.iconBackground||"#008cff",c:e.t(t.fullName),d:s,e:e.o((e=>r.handelClick(t)),s)}))),k:e.sr("mescrollRef","710c89d2-3"),l:e.o(t.downCallback),m:e.o(r.upCallback),n:e.o(t.mescrollInit),o:e.p({down:l.downOption,sticky:!1,up:l.upOption,bottombar:!1}),p:e.sr("select","710c89d2-4"),q:e.o(r.selectChange),r:e.p({multiple:!0,options:l.options,isForm:!1}),s:e.o(r.confirm),t:e.o((e=>l.show=e)),v:e.p({mode:"selector","default-selector":[0],title:"请选择流程",range:l.selector,"range-key":"fullName",modelValue:l.show})})}]]);wx.createPage(n);
{
"navigationBarTitleText": "发起流程",
"usingComponents": {
"u-tabs": "../../../uni_modules/vk-uview-ui/components/u-tabs/u-tabs",
"u-search": "../../../uni_modules/vk-uview-ui/components/u-search/u-search",
"mescroll-body": "../../../uni_modules/mescroll-uni/components/mescroll-body/mescroll-body",
"jnpf-select": "../../../components/Jnpf/Select/index",
"u-picker": "../../../uni_modules/vk-uview-ui/components/u-picker/u-picker"
}
}
\ No newline at end of file
<view class="workFlow-v"><u-tabs wx:if="{{b}}" bindchange="{{a}}" u-i="710c89d2-0" bind:__l="__l" u-p="{{b}}"></u-tabs><view class="search-box_sticky"><view class="search-box"><u-search wx:if="{{e}}" bindchange="{{c}}" u-i="710c89d2-1" bind:__l="__l" bindupdateModelValue="{{d}}" u-p="{{e}}"></u-search></view><u-tabs wx:if="{{g}}" bindchange="{{f}}" u-i="710c89d2-2" bind:__l="__l" u-p="{{g}}"></u-tabs></view><mescroll-body wx:if="{{o}}" class="r" u-s="{{['d']}}" u-r="mescrollRef" binddown="{{l}}" bindup="{{m}}" style="min-height:100%" bindinit="{{n}}" u-i="710c89d2-3" bind:__l="__l" u-p="{{o}}"><view class="workFlow-list"><view class="part"><view wx:if="{{h}}" class="caption u-line-1">{{i}}</view><view class="u-flex u-flex-wrap"><view wx:for="{{j}}" wx:for-item="child" wx:key="d" class="item u-flex-col u-col-center" bindtap="{{child.e}}"><text class="{{['u-font-40', 'item-icon', child.a]}}" style="{{'background:' + child.b}}"/><text class="u-font-24 u-line-1 item-text">{{child.c}}</text></view></view></view></view></mescroll-body><jnpf-select wx:if="{{r}}" class="r" u-r="select" bindchange="{{q}}" u-i="710c89d2-4" bind:__l="__l" u-p="{{r}}"/><u-picker wx:if="{{v}}" bindconfirm="{{s}}" u-i="710c89d2-5" bind:__l="__l" bindupdateModelValue="{{t}}" u-p="{{v}}"></u-picker></view>
\ No newline at end of file
page{background-color:#f0f2f6}.workFlow-v .search-box_sticky{margin-bottom:20rpx}.workFlow-v .search-box_sticky .search-box{padding:20rpx}.workFlow-v .head-tabs{width:100%;padding:0 32rpx;height:132rpx}.workFlow-v .head-tabs .head-tabs-item{display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:28rpx;color:#303133;line-height:40rpx}.workFlow-v .head-tabs .head-tabs-item .icon-style{font-size:48rpx;color:#303133;margin-bottom:24rpx}.workFlow-v .workFlow-list{padding:0rpx 20rpx 0}.workFlow-v .workFlow-list .part{background:#fff;border-radius:8rpx;margin-bottom:20rpx}.workFlow-v .workFlow-list .part .caption{padding-left:32rpx;font-size:36rpx;line-height:100rpx;font-weight:700}.workFlow-v .workFlow-list .part .item{margin-bottom:32rpx;width:25%}.workFlow-v .workFlow-list .part .item .item-icon{width:88rpx;height:88rpx;margin-bottom:8rpx;line-height:88rpx;text-align:center;border-radius:20rpx;color:#fff;font-size:56rpx}.workFlow-v .workFlow-list .part .item .item-icon.more{background:#ececec;color:#666;font-size:50rpx}.workFlow-v .workFlow-list .part .item .item-text{width:100%;text-align:center;padding:0 16rpx}
"use strict";const e=require("../../../common/vendor.js");require("../../../utils/request.js");const t=require("../../../api/workFlow/entrust.js"),o=require("../../../api/workFlow/flowEngine.js"),s={components:{flowSelect:()=>"../components/flowSelect/index.js"},data:()=>({showBtn:!1,showctionSheet:!1,show:!1,props:{label:"fullName",value:"enCode"},dataForm:{id:"",userId:"",toUserId:"",flowId:[],description:"",startTime:"",endTime:"",flowName:"",toUserName:"",type:[]},typeOptions:[{enCode:"0",fullName:"发起委托"},{enCode:"1",fullName:"审批委托"}],userInfo:{},rules:{userId:[{required:!0,message:"委托人不能为空",trigger:["change","blur"]}],toUserId:[{required:!0,message:"受委托人不能为空",trigger:["change","blur"]}],type:[{required:!0,message:"委托类型不能为空",trigger:["change","blur"]}],endTime:[{required:!0,message:"结束时间不能为空",trigger:"blur",type:"number"}],startTime:[{required:!0,message:"开始时间不能为空",trigger:"blur",type:"number"}]},isGradeUser:2,myNameAccount:"",actionList:[],current:"1",disabled:!1}),computed:{baseURL(){return this.define.baseURL}},onLoad(s){this.userInfo=e.index.getStorageSync("userInfo")||{},s&&(this.current=s.current,this.disabled=2==this.current,this.dataForm.id=s.id||"",this.showBtn=1==s.current,(this.showBtn&&1==s.status||0==s.status)&&this.actionList.push({text:"结束委托",fontSize:30})),e.index.setNavigationBarTitle({title:this.dataForm.id?"编辑":"新建"}),this.myNameAccount=this.userInfo.userName+"/"+this.userInfo.userAccount,this.dataForm.userId=this.userInfo.userId,this.dataForm.userName=this.myNameAccount,o.FlowEngineListAll().then((e=>{this.flowEngineList=e.data.list,this.dataForm.id&&t.FlowDelegateInfo(this.dataForm.id).then((e=>{this.dataForm=e.data,this.dataForm.flowId=this.dataForm.flowId?this.dataForm.flowId.split(","):[],this.myNameAccount=this.dataForm.userName}))}))},mounted(){this.$refs.dataForm.setRules(this.rules)},methods:{handleAction(o){let s=Math.round(new Date);e.index.showModal({title:"提示",content:"结束后,流程不再进行委托!",success:o=>{o.confirm&&t.entrustStop(this.dataForm.id).then((t=>{this.dataForm.endTime=s,e.index.$emit("refresh"),e.index.navigateBack()}))}})},onChange(e,t){if(t&&t.length){let e=[];t.forEach((t=>{e.push(t.fullName)})),this.dataForm.flowName=e.join(",")}else this.dataForm.flowName="全部流程"},change(e,t){this.$nextTick((()=>{this.$emit("change",this.dataForm)}))},toChangeUser(e,t){return this.dataForm.toUserName=t.fullName},onChangeUser(e,t){this.dataForm.userName=t.fullName},getResult(e=null){if(!this.moving){if(this.keyword="","cancel"===e)return this.close();this.submit()}},close(){e.index.navigateBack()},submit(){let o=this.dataForm.startTime,s=this.dataForm.endTime;this.$refs.dataForm.validate((a=>{if(a){if(o>s)return this.$refs.uToast.show({title:"开始时间不能大于等于结束时间",type:"error"}),this.dataForm.startTime="",void(this.dataForm.endTime="");const a=this.dataForm.id?t.Update:t.Create;let i={...this.dataForm};i.flowId=this.dataForm.flowId?this.dataForm.flowId.join(","):"",2==this.isGradeUser&&(i.userId=this.userInfo.userId,i.userName=this.myNameAccount),i.flowId||(i.flowName="全部流程"),a(i).then((t=>{e.index.showToast({title:t.msg,complete:()=>{setTimeout((()=>{e.index.$emit("refresh"),e.index.navigateBack()}),1500)}})})).catch()}}))}}};if(!Array){(e.resolveComponent("u-toast")+e.resolveComponent("JnpfUserSelect")+e.resolveComponent("u-form-item")+e.resolveComponent("JnpfSelect")+e.resolveComponent("flowSelect")+e.resolveComponent("JnpfDatePicker")+e.resolveComponent("u-input")+e.resolveComponent("u-form")+e.resolveComponent("u-icon")+e.resolveComponent("u-button")+e.resolveComponent("u-action-sheet"))()}Math||((()=>"../../../uni_modules/vk-uview-ui/components/u-toast/u-toast.js")+(()=>"../../../components/Jnpf/UserSelect/index.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-form-item/u-form-item.js")+(()=>"../../../components/Jnpf/Select/index.js")+(()=>"../../../components/Jnpf/DatePicker/index.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-input/u-input.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-form/u-form.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-icon/u-icon.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-button/u-button.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-action-sheet/u-action-sheet.js"))();const a=e._export_sfc(s,[["render",function(t,o,s,a,i,r){return e.e({a:e.sr("uToast","6abe0bad-0"),b:e.o(r.toChangeUser),c:e.o((e=>t.dataForm.toUserId=e)),d:e.p({disabled:t.disabled,modelValue:t.dataForm.toUserId}),e:e.p({label:"受委托人",prop:"toUserId",required:!0}),f:e.o((e=>t.dataForm.type=e)),g:e.p({placeholder:"请选择",options:t.typeOptions,props:t.props,disabled:t.disabled,modelValue:t.dataForm.type}),h:e.p({label:"委托类型",prop:"type",required:!0}),i:e.o(r.onChange),j:e.o((e=>t.dataForm.flowId=e)),k:e.p({placeholder:"全部流程",multiple:!0,disabled:t.disabled,clearable:!0,modelValue:t.dataForm.flowId}),l:e.p({label:"委托流程"}),m:e.o(r.change),n:e.o((e=>t.dataForm.startTime=e)),o:e.p({placeholder:"请选择",disabled:t.disabled,format:"yyyy-MM-dd HH:mm:ss",modelValue:t.dataForm.startTime}),p:e.p({label:"开始时间",prop:"startTime",required:!0}),q:e.o(r.change),r:e.o((e=>t.dataForm.endTime=e)),s:e.p({placeholder:"请选择",disabled:t.disabled,format:"yyyy-MM-dd HH:mm:ss",modelValue:t.dataForm.endTime}),t:e.p({label:"结束时间",prop:"endTime",required:!0}),v:e.o((e=>t.dataForm.description=e)),w:e.p({"input-align":"right",type:"textarea",placeholder:"请输入",disabled:t.disabled,modelValue:t.dataForm.description}),x:e.p({label:"委托说明"}),y:e.sr("dataForm","6abe0bad-1"),z:e.p({model:t.dataForm,errorType:["toast"],"label-width":"180","label-align":"left"}),A:t.showBtn},t.showBtn?{B:e.p({name:"arrow-down",size:"24"}),C:e.o((e=>t.showctionSheet=!0))}:{},{D:2!=t.current},2!=t.current?{E:e.o((e=>r.getResult("confirm"))),F:e.p({type:"primary"})}:{},{G:e.o((e=>r.getResult("cancel"))),H:e.o(r.handleAction),I:e.o((e=>t.showctionSheet=e)),J:e.p({list:t.actionList,modelValue:t.showctionSheet})})}]]);wx.createPage(a);
{
"navigationBarTitleText": "",
"usingComponents": {
"flow-select": "../components/flowSelect/index",
"u-toast": "../../../uni_modules/vk-uview-ui/components/u-toast/u-toast",
"jnpf-user-select": "../../../components/Jnpf/UserSelect/index",
"u-form-item": "../../../uni_modules/vk-uview-ui/components/u-form-item/u-form-item",
"jnpf-select": "../../../components/Jnpf/Select/index",
"jnpf-date-picker": "../../../components/Jnpf/DatePicker/index",
"u-input": "../../../uni_modules/vk-uview-ui/components/u-input/u-input",
"u-form": "../../../uni_modules/vk-uview-ui/components/u-form/u-form",
"u-icon": "../../../uni_modules/vk-uview-ui/components/u-icon/u-icon",
"u-button": "../../../uni_modules/vk-uview-ui/components/u-button/u-button",
"u-action-sheet": "../../../uni_modules/vk-uview-ui/components/u-action-sheet/u-action-sheet"
}
}
\ No newline at end of file
<view class="jnpf-wrap personalData"><u-toast class="r" u-r="uToast" u-i="6abe0bad-0" bind:__l="__l"/><view class="u-p-l-20 u-p-r-20" style="background-color:#fff"><u-form wx:if="{{z}}" class="r" u-s="{{['d']}}" u-r="dataForm" u-i="6abe0bad-1" bind:__l="__l" u-p="{{z}}"><u-form-item wx:if="{{e}}" u-s="{{['d']}}" u-i="6abe0bad-2,6abe0bad-1" bind:__l="__l" u-p="{{e}}"><jnpf-user-select wx:if="{{d}}" bindchange="{{b}}" u-i="6abe0bad-3,6abe0bad-2" bind:__l="__l" bindupdateModelValue="{{c}}" u-p="{{d}}"/></u-form-item><u-form-item wx:if="{{h}}" u-s="{{['d']}}" u-i="6abe0bad-4,6abe0bad-1" bind:__l="__l" u-p="{{h}}"><jnpf-select wx:if="{{g}}" u-i="6abe0bad-5,6abe0bad-4" bind:__l="__l" bindupdateModelValue="{{f}}" u-p="{{g}}"/></u-form-item><u-form-item wx:if="{{l}}" u-s="{{['d']}}" u-i="6abe0bad-6,6abe0bad-1" bind:__l="__l" u-p="{{l}}"><flow-select wx:if="{{k}}" bindchange="{{i}}" u-i="6abe0bad-7,6abe0bad-6" bind:__l="__l" bindupdateModelValue="{{j}}" u-p="{{k}}"/></u-form-item><u-form-item wx:if="{{p}}" u-s="{{['d']}}" u-i="6abe0bad-8,6abe0bad-1" bind:__l="__l" u-p="{{p}}"><jnpf-date-picker wx:if="{{o}}" bindchange="{{m}}" u-i="6abe0bad-9,6abe0bad-8" bind:__l="__l" bindupdateModelValue="{{n}}" u-p="{{o}}"/></u-form-item><u-form-item wx:if="{{t}}" u-s="{{['d']}}" u-i="6abe0bad-10,6abe0bad-1" bind:__l="__l" u-p="{{t}}"><jnpf-date-picker wx:if="{{s}}" bindchange="{{q}}" u-i="6abe0bad-11,6abe0bad-10" bind:__l="__l" bindupdateModelValue="{{r}}" u-p="{{s}}"/></u-form-item><u-form-item wx:if="{{x}}" u-s="{{['d']}}" u-i="6abe0bad-12,6abe0bad-1" bind:__l="__l" u-p="{{x}}"><u-input wx:if="{{w}}" u-i="6abe0bad-13,6abe0bad-12" bind:__l="__l" bindupdateModelValue="{{v}}" u-p="{{w}}"/></u-form-item></u-form></view><view class="flowBefore-actions"><u-button wx:if="{{A}}" u-s="{{['d']}}" class="buttom-btn" bindclick="{{C}}" u-i="6abe0bad-14" bind:__l="__l"> 更多<u-icon wx:if="{{B}}" u-i="6abe0bad-15,6abe0bad-14" bind:__l="__l" u-p="{{B}}"></u-icon></u-button><u-button wx:if="{{D}}" u-s="{{['d']}}" class="buttom-btn" catchclick="{{E}}" u-i="6abe0bad-16" bind:__l="__l" u-p="{{F}}">确定</u-button><u-button u-s="{{['d']}}" class="buttom-btn" bindclick="{{G}}" u-i="6abe0bad-17" bind:__l="__l">取消</u-button></view><u-action-sheet wx:if="{{J}}" bindclick="{{H}}" u-i="6abe0bad-18" bind:__l="__l" bindupdateModelValue="{{I}}" u-p="{{J}}"/></view>
\ No newline at end of file
page{background-color:#f0f2f6}.u-form-item{min-height:112rpx}.u-form{padding:0}.slot-btn{width:329rpx;height:140rpx;display:flex;justify-content:center;align-items:center;background:#f4f5f6;border-radius:10rpx}.slot-btn__hover{background-color:#ebecee}
"use strict";const e=require("../../../common/vendor.js"),t=require("../../../libs/resources.js"),s=require("../../../api/workFlow/entrust.js"),r=require("../../../api/workFlow/flowLaunch.js"),o={components:{flowlist:()=>"../components/flowList.js"},mixins:[require("../../../uni_modules/mescroll-uni/components/mescroll-uni/mescroll-mixins.js").MescrollMixin],data:()=>({keyword:"",opType:3,list:[],downOption:{use:!0,auto:!0},upOption:{page:{num:0,size:20,time:null},empty:{use:!0,icon:t.resources.message.nodata,tip:"暂无数据",fixed:!0,top:"300rpx"},textNoMore:"没有更多数据"},entrustList:[{fullName:"委托发起"},{fullName:"委托设置"},{fullName:"委托给我的"}],current:0,options:[{text:"删除",style:{backgroundColor:"#dd524d"}}],key:+new Date}),onShow(){e.index.$on("refresh",(()=>{this.list=[],this.mescroll.resetUpScroll()}))},onLoad(e){e.index&&(this.current=e.index)},methods:{addPage(t){0==this.current?e.index.navigateTo({url:"/pages/workFlow/entrust/flow"}):e.index.navigateTo({url:"/pages/workFlow/entrust/form?id="})},handleClick(e){const t=this.list[e];if(0==this.current){if([1,2,3,5].includes(t.status))return this.$u.toast("流程正在审核,请勿删除"),void(this.list[e].show=!1);r.Delete(t.id).then((e=>{this.$u.toast(e.msg),this.mescroll.resetUpScroll()}))}1==this.current&&s.DeleteDelagate(t.id).then((e=>{this.$u.toast(e.msg),this.mescroll.resetUpScroll()}))},upCallback(e){let t={currentPage:e.num,pageSize:e.size,keyword:this.keyword};1==this.current&&(t.myOrDelagateToMe=1),2==this.current&&(t.myOrDelagateToMe=2),0==this.current&&(t.delegateType=!0),0!=this.current?s.FlowDelegateList(t,{load:1==e.num}).then((t=>{this.mescroll.endSuccess(t.data.list.length),1==e.num&&(this.list=[]);const s=t.data.list.map((e=>({entrustStatus:this.getEntrustStatus(e),...e})));this.list=this.list.concat(s),this.key=+new Date})).catch((()=>{this.mescroll.endErr()})):r.FlowLaunchList(t,{load:1==e.num}).then((t=>{this.mescroll.endSuccess(t.data.list.length),1==e.num&&(this.list=[]);const s=t.data.list.map((e=>({flowStatus:this.getFlowStatus(e.status),...e})));this.list=this.list.concat(s)})).catch((()=>{this.mescroll.endErr()}))},getFlowStatus(e){let s;switch(e){case 0:s=t.resources.status.submit;break;case 1:default:s=t.resources.status.review;break;case 2:s=t.resources.status.reviewAdopt;break;case 3:s=t.resources.status.reviewRefuse;break;case 4:case 7:s=t.resources.status.reviewUndo;break;case 5:s=t.resources.status.reviewStop}return s},getEntrustStatus(e){let s,r,o=e.startTime,i=e.endTime,n=Math.round(new Date);switch(s=o>n?1:i<=n?2:0,s){case 0:r=t.resources.status.entrusting;break;case 1:r=t.resources.status.notStarted;break;default:r=t.resources.status.expired}return{flowStatus:r,status:s}},search(){this.searchTimer&&clearTimeout(this.searchTimer),this.searchTimer=setTimeout((()=>{this.list=[],this.mescroll.resetUpScroll()}),300)},change(e){this.keyword="",this.current=e,this.list=[],this.search()},getLableValue(e){var t="";switch(e){case 1:default:t="普通";break;case 2:t="重要";break;case 3:t="紧急"}return t},goDetail(t){let s="/pages/workFlow/";if(0==this.current){let e="-1";[1,2,4,5].includes(t.status)&&(e=0);const r={id:t.id,flowId:t.flowId,opType:e,status:t.status,taskNodeId:""};s=s+"flowBefore/index?config="+this.jnpf.base64.encode(JSON.stringify(r))}else{if(2==t.entrustStatus.status)return;s=s+"entrust/form?id="+t.id+"&status="+t.entrustStatus.status+"&current="+this.current}e.index.navigateTo({url:s})}}};if(!Array){(e.resolveComponent("u-tabs")+e.resolveComponent("u-search")+e.resolveComponent("uni-swipe-action-item")+e.resolveComponent("uni-swipe-action")+e.resolveComponent("mescroll-body")+e.resolveComponent("u-icon"))()}Math||((()=>"../../../uni_modules/vk-uview-ui/components/u-tabs/u-tabs.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-search/u-search.js")+(()=>"../../../uni_modules/uni-swipe-action/components/uni-swipe-action-item/uni-swipe-action-item.js")+(()=>"../../../uni_modules/uni-swipe-action/components/uni-swipe-action/uni-swipe-action.js")+(()=>"../../../uni_modules/mescroll-uni/components/mescroll-body/mescroll-body.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-icon/u-icon.js"))();const i=e._export_sfc(o,[["render",function(t,s,r,o,i,n){return e.e({a:e.o(n.change),b:e.p({list:i.entrustList,current:i.current,"is-scroll":!1,name:"fullName"}),c:e.o(n.search),d:e.o((e=>i.keyword=e)),e:e.p({placeholder:"请输入关键词搜索",height:"72","show-action":!1,"bg-color":"#f0f2f6",shape:"square",modelValue:i.keyword}),f:i.list.length>0},i.list.length>0?{g:e.f(i.list,((s,r,o)=>e.e(0==i.current?{a:e.t(n.getLableValue(s.flowUrgent)),b:2==s.flowUrgent?1:"",c:3==s.flowUrgent?1:"",d:e.t(s.fullName),e:e.t(s.thisStep?s.thisStep:""),f:e.t(s.creatorTime?t.$u.timeFormat(s.creatorTime,"yyyy-mm-dd hh:MM:ss"):""),g:s.flowStatus,h:e.o((e=>n.goDetail(s)),s.id),i:"item"+r}:e.e({j:2==i.current},2==i.current?{k:e.t(s.userName?s.userName:"")}:{},{l:e.t(s.toUserName?s.toUserName:""),m:e.t(s.flowName?s.flowName:""),n:e.t(s.startTime?t.$u.timeFormat(s.startTime,"yyyy-mm-dd hh:MM:ss"):""),o:e.t(s.endTime?t.$u.timeFormat(s.endTime,"yyyy-mm-dd hh:MM:ss"):""),p:s.entrustStatus.flowStatus,q:"item"+r,r:e.o((e=>n.goDetail(s)),s.id)}),{s:s.id,t:e.o((e=>n.handleClick(r)),s.id),v:"53a39e39-4-"+o+",53a39e39-3"}))),h:0==i.current,i:e.p({threshold:0,"right-options":i.options,disabled:2==i.current}),j:e.sr("swipeAction","53a39e39-3,53a39e39-1")}:{},{k:e.sr("mescrollRef","53a39e39-1"),l:e.o(t.mescrollInit),m:e.o(t.downCallback),n:e.o(n.upCallback),o:e.p({down:i.downOption,up:i.upOption}),p:2!=i.current},2!=i.current?{q:e.p({name:"plus",size:"60",color:"#fff"}),r:e.o((e=>n.addPage()))}:{})}]]);wx.createPage(i);
{
"navigationBarTitleText": "流程委托",
"usingComponents": {
"u-tabs": "../../../uni_modules/vk-uview-ui/components/u-tabs/u-tabs",
"u-search": "../../../uni_modules/vk-uview-ui/components/u-search/u-search",
"uni-swipe-action-item": "../../../uni_modules/uni-swipe-action/components/uni-swipe-action-item/uni-swipe-action-item",
"uni-swipe-action": "../../../uni_modules/uni-swipe-action/components/uni-swipe-action/uni-swipe-action",
"mescroll-body": "../../../uni_modules/mescroll-uni/components/mescroll-body/mescroll-body",
"u-icon": "../../../uni_modules/vk-uview-ui/components/u-icon/u-icon"
}
}
\ No newline at end of file
<view class="flowLaunch-v"><u-tabs wx:if="{{b}}" bindchange="{{a}}" u-i="53a39e39-0" bind:__l="__l" u-p="{{b}}"></u-tabs><mescroll-body wx:if="{{o}}" class="r" u-s="{{['d']}}" u-r="mescrollRef" bindinit="{{l}}" binddown="{{m}}" bindup="{{n}}" u-i="53a39e39-1" bind:__l="__l" u-p="{{o}}"><view class="search-box search_sticky"><u-search wx:if="{{e}}" bindchange="{{c}}" u-i="53a39e39-2,53a39e39-1" bind:__l="__l" bindupdateModelValue="{{d}}" u-p="{{e}}"></u-search></view><view wx:if="{{f}}" class="flow-list"><view class="flow-list-box"><uni-swipe-action class="r" u-s="{{['d']}}" u-r="swipeAction" u-i="53a39e39-3,53a39e39-1" bind:__l="__l"><uni-swipe-action-item wx:for="{{g}}" wx:for-item="item" wx:key="s" u-s="{{['d']}}" bindclick="{{item.t}}" u-i="{{item.v}}" bind:__l="__l" u-p="{{i}}"><view wx:if="{{h}}" class="item" bindtap="{{item.h}}" id="{{item.i}}" ref="mydom"><view class="item-left"><view class="item-left-top u-m-b-20"><view class="{{['common-lable', item.b && 'urgent-lable', item.c && 'important-lable']}}">{{item.a}}</view><text class="u-font-24 u-line-1 u-m-l-16">{{item.d}}</text></view><text class="title u-line-1 u-font-24 u-m-b-18">审批节点:<text class="titInner">{{item.e}}</text></text><text class="time title u-font-24">发起时间:<text class="titInner">{{item.f}}</text></text></view><view class="item-right"><image src="{{item.g}}" mode="widthFix" class="item-right-img"></image></view></view><view wx:else class="item" id="{{item.q}}" ref="mydom" bindtap="{{item.r}}"><view class="item-left"><text wx:if="{{item.j}}" class="title u-line-1 u-font-24 u-m-b-18">委托人:<text class="titInner">{{item.k}}</text></text><text class="title u-line-1 u-font-24 u-m-b-18">受委托人:<text class="titInner">{{item.l}}</text></text><text class="title u-line-1 u-font-24 u-m-b-18">委托流程:<text class="titInner">{{item.m}}</text></text><text class="time title u-font-24 u-m-b-18">开始时间:<text class="titInner">{{item.n}}</text></text><text class="time title u-font-24">结束时间:<text class="titInner">{{item.o}}</text></text></view><view class="item-right"><image src="{{item.p}}" mode="widthFix" class="item-right-img"></image></view></view></uni-swipe-action-item></uni-swipe-action></view></view></mescroll-body><view wx:if="{{p}}" class="com-addBtn" bindtap="{{r}}"><u-icon wx:if="{{q}}" u-i="53a39e39-5" bind:__l="__l" u-p="{{q}}"/></view></view>
\ No newline at end of file
page{background-color:#f0f2f6}.search_sticky{z-index:990;position:-webkit-sticky;position:sticky;background-color:#fff}.flowLaunch-v{width:100%}.flowLaunch-v .flow-list-box{width:95%}.flowLaunch-v .flow-list-box .item{display:flex;width:100%;height:100%}.flowLaunch-v .flow-list-box .item .common-lable{font-size:24rpx;border-radius:8rpx;color:#409eff;border:1px solid #409EFF;background-color:#e5f3fe}.flowLaunch-v .flow-list-box .item .urgent-lable{color:#e6a23c;border:1px solid #E6A23C;background-color:#fef6e5}.flowLaunch-v .flow-list-box .item .important-lable{color:#f56c6c;border:1px solid #F56C6C;background-color:#fee5e5}.flowLaunch-v .flow-list-box .item .item-right{display:flex;justify-content:flex-end;height:88rpx}.flowLaunch-v .flow-list-box .item .item-right .item-right-img{width:102rpx}.flowLaunch-v .item-left-top{display:flex;width:100%;align-items:baseline}.flowLaunch-v .item-left-top .common-lable{font-size:24rpx;padding:2rpx 8rpx;border-radius:8rpx;color:#409eff;border:1px solid #409EFF;background-color:#e5f3fe}.flowLaunch-v .item-left-top .urgent-lable{color:#e6a23c;border:1px solid #E6A23C;background-color:#fef6e5}.flowLaunch-v .item-left-top .important-lable{color:#f56c6c;border:1px solid #F56C6C;background-color:#fee5e5}.flowLaunch-v .item-left-top .title{width:unset;flex:1;min-width:0}
"use strict";const e=require("../../../common/vendor.js"),t=require("../../../api/common.js"),r={data:()=>({fileUrl:""}),onLoad(t){e.index.setNavigationBarTitle({title:t.name}),this.getFileUrl(t.fileId)},methods:{getFileUrl(e){t.getDownloadUrl("workFlow",e).then((e=>{this.fileUrl=this.define.baseURL+e.data.url}))}}};const i=e._export_sfc(r,[["render",function(e,t,r,i,l,o){return{a:l.fileUrl}}]]);wx.createPage(i);
{
"navigationBarTitleText": "",
"usingComponents": {}
}
\ No newline at end of file
<view><web-view src="{{a}}"></web-view></view>
\ No newline at end of file
"use strict";const _=require("../../../common/assets.js"),i=Object.assign({"./static/emoji/100.gif":_.__vite_glob_0_0$2,"./static/emoji/101.gif":_.__vite_glob_0_1$2,"./static/emoji/102.gif":_.__vite_glob_0_2$2,"./static/emoji/103.gif":_.__vite_glob_0_3$2,"./static/emoji/104.gif":_.__vite_glob_0_4$2,"./static/emoji/105.gif":_.__vite_glob_0_5$2,"./static/emoji/106.gif":_.__vite_glob_0_6$2,"./static/emoji/107.gif":_.__vite_glob_0_7$2,"./static/emoji/108.gif":_.__vite_glob_0_8$2,"./static/emoji/109.gif":_.__vite_glob_0_9$2,"./static/emoji/110.gif":_.__vite_glob_0_10$2,"./static/emoji/111.gif":_.__vite_glob_0_11$2,"./static/emoji/112.gif":_.__vite_glob_0_12$2,"./static/emoji/113.gif":_.__vite_glob_0_13$2,"./static/emoji/114.gif":_.__vite_glob_0_14$2,"./static/emoji/115.gif":_.__vite_glob_0_15$2,"./static/emoji/116.gif":_.__vite_glob_0_16$2,"./static/emoji/117.gif":_.__vite_glob_0_17$2,"./static/emoji/118.gif":_.__vite_glob_0_18$2,"./static/emoji/119.gif":_.__vite_glob_0_19$2,"./static/emoji/120.gif":_.__vite_glob_0_20$2,"./static/emoji/121.gif":_.__vite_glob_0_21$2,"./static/emoji/122.gif":_.__vite_glob_0_22$2,"./static/emoji/123.gif":_.__vite_glob_0_23$2,"./static/emoji/124.gif":_.__vite_glob_0_24$2,"./static/emoji/125.gif":_.__vite_glob_0_25$2,"./static/emoji/126.gif":_.__vite_glob_0_26$2,"./static/emoji/127.gif":_.__vite_glob_0_27$2,"./static/emoji/128.gif":_.__vite_glob_0_28$2,"./static/emoji/129.gif":_.__vite_glob_0_29$2,"./static/emoji/130.gif":_.__vite_glob_0_30$2,"./static/emoji/131.gif":_.__vite_glob_0_31$2,"./static/emoji/132.gif":_.__vite_glob_0_32$2,"./static/emoji/133.gif":_.__vite_glob_0_33$2,"./static/emoji/134.gif":_.__vite_glob_0_34$2,"./static/emoji/135.gif":_.__vite_glob_0_35$2,"./static/emoji/136.gif":_.__vite_glob_0_36$2,"./static/emoji/137.gif":_.__vite_glob_0_37$2,"./static/emoji/138.gif":_.__vite_glob_0_38$2,"./static/emoji/139.gif":_.__vite_glob_0_39$2,"./static/emoji/140.gif":_.__vite_glob_0_40$2,"./static/emoji/141.gif":_.__vite_glob_0_41$2,"./static/emoji/142.gif":_.__vite_glob_0_42$2,"./static/emoji/143.gif":_.__vite_glob_0_43$2,"./static/emoji/144.gif":_.__vite_glob_0_44$2,"./static/emoji/145.gif":_.__vite_glob_0_45$2,"./static/emoji/146.gif":_.__vite_glob_0_46$2,"./static/emoji/147.gif":_.__vite_glob_0_47$2,"./static/emoji/148.gif":_.__vite_glob_0_48$2,"./static/emoji/149.gif":_.__vite_glob_0_49$2,"./static/emoji/150.gif":_.__vite_glob_0_50$2,"./static/emoji/151.gif":_.__vite_glob_0_51$2,"./static/emoji/152.gif":_.__vite_glob_0_52$2,"./static/emoji/153.gif":_.__vite_glob_0_53$2,"./static/emoji/154.gif":_.__vite_glob_0_54$2,"./static/emoji/155.gif":_.__vite_glob_0_55$2,"./static/emoji/156.gif":_.__vite_glob_0_56$2,"./static/emoji/157.gif":_.__vite_glob_0_57$2,"./static/emoji/158.gif":_.__vite_glob_0_58$2,"./static/emoji/159.gif":_.__vite_glob_0_59$2,"./static/emoji/160.gif":_.__vite_glob_0_60$2,"./static/emoji/161.gif":_.__vite_glob_0_61$2,"./static/emoji/162.gif":_.__vite_glob_0_62$2,"./static/emoji/163.gif":_.__vite_glob_0_63$2,"./static/emoji/164.gif":_.__vite_glob_0_64$2,"./static/emoji/165.gif":_.__vite_glob_0_65$2,"./static/emoji/166.gif":_.__vite_glob_0_66$2,"./static/emoji/167.gif":_.__vite_glob_0_67$2,"./static/emoji/168.gif":_.__vite_glob_0_68$2,"./static/emoji/169.gif":_.__vite_glob_0_69$2,"./static/emoji/170.gif":_.__vite_glob_0_70$2,"./static/emoji/171.gif":_.__vite_glob_0_71$2,"./static/emoji/172.gif":_.__vite_glob_0_72$2,"./static/emoji/173.gif":_.__vite_glob_0_73$2,"./static/emoji/174.gif":_.__vite_glob_0_74$2,"./static/emoji/175.gif":_.__vite_glob_0_75$2,"./static/emoji/176.gif":_.__vite_glob_0_76$2,"./static/emoji/177.gif":_.__vite_glob_0_77$2,"./static/emoji/178.gif":_.__vite_glob_0_78$2,"./static/emoji/179.gif":_.__vite_glob_0_79$2,"./static/emoji/180.gif":_.__vite_glob_0_80$2,"./static/emoji/181.gif":_.__vite_glob_0_81$2,"./static/emoji/182.gif":_.__vite_glob_0_82$2,"./static/emoji/183.gif":_.__vite_glob_0_83$2,"./static/emoji/184.gif":_.__vite_glob_0_84$2,"./static/emoji/185.gif":_.__vite_glob_0_85$2,"./static/emoji/186.gif":_.__vite_glob_0_86$2,"./static/emoji/187.gif":_.__vite_glob_0_87$2,"./static/emoji/188.gif":_.__vite_glob_0_88$2,"./static/emoji/189.gif":_.__vite_glob_0_89$2,"./static/emoji/190.gif":_.__vite_glob_0_90$2,"./static/emoji/191.gif":_.__vite_glob_0_91$2,"./static/emoji/192.gif":_.__vite_glob_0_92$2,"./static/emoji/193.gif":_.__vite_glob_0_93$2,"./static/emoji/194.gif":_.__vite_glob_0_94$2,"./static/emoji/195.gif":_.__vite_glob_0_95$2,"./static/emoji/196.gif":_.__vite_glob_0_96$2,"./static/emoji/197.gif":_.__vite_glob_0_97$2,"./static/emoji/198.gif":_.__vite_glob_0_98$2,"./static/emoji/199.gif":_.__vite_glob_0_99$2,"./static/emoji/200.png":_.__vite_glob_0_100$2,"./static/emoji/201.png":_.__vite_glob_0_101$2,"./static/emoji/202.png":_.__vite_glob_0_102$2,"./static/emoji/203.png":_.__vite_glob_0_103$2,"./static/emoji/204.png":_.__vite_glob_0_104$2,"./static/emoji/205.png":_.__vite_glob_0_105$2,"./static/emoji/206.png":_.__vite_glob_0_106$2,"./static/emoji/207.png":_.__vite_glob_0_107$2,"./static/emoji/208.png":_.__vite_glob_0_108$2,"./static/emoji/209.png":_.__vite_glob_0_109$2,"./static/emoji/210.png":_.__vite_glob_0_110$2,"./static/emoji/211.png":_.__vite_glob_0_111$2,"./static/emoji/212.png":_.__vite_glob_0_112$2,"./static/emoji/213.png":_.__vite_glob_0_113$2,"./static/emoji/214.png":_.__vite_glob_0_114$2,"./static/emoji/215.png":_.__vite_glob_0_115$2,"./static/emoji/216.png":_.__vite_glob_0_116$2,"./static/emoji/217.png":_.__vite_glob_0_117$2,"./static/emoji/218.png":_.__vite_glob_0_118$2,"./static/emoji/219.png":_.__vite_glob_0_119$2}),t={};for(const l in i){t[l.split("/").slice(-1)[0].replace(".","")]=i[l].default}exports.emojiList=[{url:"100.gif",alt:"[微笑]"},{url:"101.gif",alt:"[撇嘴]"},{url:"102.gif",alt:"[美女]"},{url:"103.gif",alt:"[发呆]"},{url:"104.gif",alt:"[墨镜]"},{url:"105.gif",alt:"[哭]"},{url:"106.gif",alt:"[羞]"},{url:"107.gif",alt:"[哑]"},{url:"108.gif",alt:"[睡]"},{url:"109.gif",alt:"[大哭]"},{url:"110.gif",alt:"[囧]"},{url:"111.gif",alt:"[怒]"},{url:"112.gif",alt:"[调皮]"},{url:"113.gif",alt:"[大笑]"},{url:"114.gif",alt:"[惊讶]"},{url:"115.gif",alt:"[难过]"},{url:"116.gif",alt:"[酷]"},{url:"117.gif",alt:"[惊汗]"},{url:"118.gif",alt:"[抓狂]"},{url:"119.gif",alt:"[吐]"},{url:"120.gif",alt:"[偷笑]"},{url:"121.gif",alt:"[快乐]"},{url:"122.gif",alt:"[奇]"},{url:"123.gif",alt:"[傲]"},{url:"124.gif",alt:"[饿]"},{url:"125.gif",alt:"[困]"},{url:"126.gif",alt:"[惊吓]"},{url:"127.gif",alt:"[汗]"},{url:"128.gif",alt:"[高兴]"},{url:"129.gif",alt:"[闲]"},{url:"130.gif",alt:"[努力]"},{url:"131.gif",alt:"[骂]"},{url:"132.gif",alt:"[疑问]"},{url:"133.gif",alt:"[秘密]"},{url:"134.gif",alt:"[乱]"},{url:"135.gif",alt:"[疯]"},{url:"136.gif",alt:"[哀]"},{url:"137.gif",alt:"[鬼]"},{url:"138.gif",alt:"[打击]"},{url:"139.gif",alt:"[bye]"},{url:"140.gif",alt:"[擦汗]"},{url:"141.gif",alt:"[抠]"},{url:"142.gif",alt:"[鼓掌]"},{url:"143.gif",alt:"[糟糕]"},{url:"144.gif",alt:"[坏笑]"},{url:"145.gif",alt:"[左哼哼]"},{url:"146.gif",alt:"[右哼哼]"},{url:"147.gif",alt:"[哈欠]"},{url:"148.gif",alt:"[看]"},{url:"149.gif",alt:"[委屈]"},{url:"150.gif",alt:"[伤心]"},{url:"151.gif",alt:"[坏]"},{url:"152.gif",alt:"[亲]"},{url:"153.gif",alt:"[吓]"},{url:"154.gif",alt:"[可怜]"},{url:"155.gif",alt:"[刀]"},{url:"156.gif",alt:"[水果]"},{url:"157.gif",alt:"[酒]"},{url:"158.gif",alt:"[篮球]"},{url:"159.gif",alt:"[乒乓]"},{url:"160.gif",alt:"[咖啡]"},{url:"161.gif",alt:"[美食]"},{url:"162.gif",alt:"[动物]"},{url:"163.gif",alt:"[鲜花]"},{url:"164.gif",alt:"[枯]"},{url:"165.gif",alt:"[唇]"},{url:"166.gif",alt:"[爱]"},{url:"167.gif",alt:"[分手]"},{url:"168.gif",alt:"[生日]"},{url:"169.gif",alt:"[电]"},{url:"170.gif",alt:"[炸弹]"},{url:"171.gif",alt:"[刀子]"},{url:"172.gif",alt:"[足球]"},{url:"173.gif",alt:"[瓢虫]"},{url:"174.gif",alt:"[翔]"},{url:"175.gif",alt:"[月亮]"},{url:"176.gif",alt:"[太阳]"},{url:"177.gif",alt:"[礼物]"},{url:"178.gif",alt:"[抱抱]"},{url:"179.gif",alt:"[拇指]"},{url:"180.gif",alt:"[贬低]"},{url:"181.gif",alt:"[握手]"},{url:"182.gif",alt:"[剪刀手]"},{url:"183.gif",alt:"[抱拳]"},{url:"184.gif",alt:"[勾引]"},{url:"185.gif",alt:"[拳头]"},{url:"186.gif",alt:"[小拇指]"},{url:"187.gif",alt:"[拇指八]"},{url:"188.gif",alt:"[食指]"},{url:"189.gif",alt:"[ok]"},{url:"190.gif",alt:"[情侣]"},{url:"191.gif",alt:"[爱心]"},{url:"192.gif",alt:"[蹦哒]"},{url:"193.gif",alt:"[颤抖]"},{url:"194.gif",alt:"[怄气]"},{url:"195.gif",alt:"[跳舞]"},{url:"196.gif",alt:"[发呆1]"},{url:"197.gif",alt:"[背着]"},{url:"198.gif",alt:"[伸手]"},{url:"199.gif",alt:"[耍帅]"},{url:"200.png",alt:"[微笑1]"},{url:"201.png",alt:"[生病]"},{url:"202.png",alt:"[哭泣]"},{url:"203.png",alt:"[吐舌]"},{url:"204.png",alt:"[迷糊]"},{url:"205.png",alt:"[瞪眼]"},{url:"206.png",alt:"[恐怖]"},{url:"207.png",alt:"[忧愁]"},{url:"208.png",alt:"[眨眉]"},{url:"209.png",alt:"[闭眼]"},{url:"210.png",alt:"[鄙视]"},{url:"211.png",alt:"[阴暗]"},{url:"212.png",alt:"[小鬼]"},{url:"213.png",alt:"[礼物1]"},{url:"214.png",alt:"[拜佛]"},{url:"215.png",alt:"[力量]"},{url:"216.png",alt:"[金钱]"},{url:"217.png",alt:"[蛋糕]"},{url:"218.png",alt:"[彩带]"},{url:"219.png",alt:"[礼物2]"}],exports.imagesMap=t;
"use strict";const e=require("../../../common/vendor.js"),t=require("../../../api/workFlow/workFlowForm.js"),o=require("../../../api/workFlow/flowBefore.js"),s=require("../../../api/workFlow/flowLaunch.js"),i=require("../../../api/workFlow/flowEngine.js"),a=require("../../../libs/resources.js"),n=require("../../../uni_modules/mescroll-uni/components/mescroll-uni/mescroll-mixins.js"),r=require("./emoji.js"),l={mixins:[n.MescrollMixin],components:{CandidateForm:()=>"../components/CandidateForm.js",userSelect:()=>"../../../components/Jnpf/UserSelect/Tree.js",childForm:()=>"./form.js",flowInfo:()=>"../components/flowInfo/index.js",records:()=>"../components/records.js",RecordSummary:()=>"../components/RecordSummary.js"},data:()=>({emojiList:r.emojiList,downOption:{use:!0,auto:!0},upOption:{page:{num:0,size:20,time:null},empty:{use:!0,icon:a.resources.message.nodata,tip:"暂无数据",fixed:!0,top:"300rpx"},textNoMore:"没有更多数据"},isComment:!1,show:!1,config:{opType:"-1"},currentView:"",formData:{},flowTaskInfo:{},flowTaskNodeList:[],recordList:[],properties:{},endTime:0,tabIndex:0,tabBars:[{name:"表单信息",id:0},{name:"流程信息",id:1},{name:"流转记录",id:2}],tablist:[],flowStatus:"",stepIndex:0,userSelectShow:!1,btnLoading:!1,eventType:"",commentList:[],processId:"",selectShow:!1,candidateList:[],isSummary:!1,summaryType:0,tabsName:"表单信息",flowUrgent:1,flowUrgentList:[{label:"普通",color:"#409EFF",bgColor:"#e5f3fe",value:1,extra:"0"},{label:"重要",color:"#E6A23C",bgColor:"#fef6e5",value:2,extra:"1"},{label:"紧急",color:"#F56C6C",bgColor:"#fee5e5",value:3,extra:"2"}],selectflowUrgent:{extra:"0",label:"普通",value:1},flowTemplateJson:[]}),computed:{baseURL(){return this.define.baseURL}},methods:{getTabBars(){let e=this.tabBars;this.isSummary&&e.push({name:"审批汇总",id:3}),this.isComment&&e.push({name:"流程评论",id:4}),this.tablist=e},upCallback(e){let t={currentPage:e.num,pageSize:e.size,sort:"desc",sidx:"",taskId:this.processId};i.getCommentList(t,{load:1==e.num}).then((t=>{this.mescroll.endSuccess(t.data.list.length),1==e.num&&(this.commentList=[]);const o=t.data.list.map((e=>(e.image=JSON.parse(e.image),e.file=JSON.parse(e.file),e.text=this.replaceEmoji(e.text),e)));this.commentList=this.commentList.concat(o)})).catch((()=>{this.mescroll.endErr()}))},tabChange(e){this.tabIndex=e,this.tabsName=this.tabBars[e].name},replaceEmoji(e){if(!e)return"";let t=e.replace(/\[([^(\]|\[)]*)\]/g,(e=>"jnpfjnpf"+e+"jnpfjnpf")).split(/jnpfjnpfjnpfjnpf|jnpfjnpf/g);t=t.filter((e=>e));let o=[];for(let s=0;s<t.length;s++){let e={content:t[s],type:"emjio"};if(/\[([^(\]|\[)]*)\]/.test(t[s])){let o="";for(let e=0;e<this.emojiList.length;e++){let i=this.emojiList[e];if(i.alt==t[s]){o=this.getEmojiUrl(i.url);break}}e={content:o,type:"emjio"}}else e={content:t[s],type:"text"};o.push(e)}return o},getEmojiUrl:e=>r.imagesMap[e.replace(".","")],openReplyText(t){e.index.showModal({content:t,showCancel:!1,success:e=>{}})},handleReply(e,t){this.goWriteComment(e)},goWriteComment(t){let o={taskId:this.processId};t&&(o.replyId=t),o=encodeURIComponent(JSON.stringify(o)),e.index.navigateTo({url:"/pages/workFlow/comment/index?data="+o})},jumpComment(){this.goWriteComment()},addComment(e){e.taskId=this.processId,i.createComment(e).then((e=>{this.mescroll.resetUpScroll()}))},delComment(t,o){e.index.showModal({title:"提示",content:"确定删除该评论?",success:e=>{e.confirm&&i.delComment(t).then((e=>{this.commentList.splice(o,1),this.mescroll.resetUpScroll()}))}})},init(e){this.tabIndex=0,this.config=e,this.config.origin="scan",this.taskId=this.config.id,this.getBeforeInfo(this.config)},getBeforeInfo(t){this.formData.flowId=t.flowId,this.loading=!0;const s={taskNodeId:t.taskNodeId,taskOperatorId:t.taskId,flowId:t.flowId};o.FlowBeforeInfo(t.id||0,s).then((o=>{t.formData=o.data.formData||{},this.flowTaskInfo=o.data.flowTaskInfo||{},this.flowFormInfo=o.data.flowFormInfo||{},t.formType=this.flowFormInfo.formType,this.config.formType=this.flowFormInfo.formType,this.config.formEnCode=this.flowFormInfo.enCode,this.loading=!1,this.flowTemplateInfo=o.data.flowTemplateInfo||{};const s=this.flowTemplateInfo.flowTemplateJson?JSON.parse(this.flowTemplateInfo.flowTemplateJson):null;t.flowTemplateJson=s,this.flowTemplateJson=s,this.isSummary=this.flowTemplateJson.properties.isSummary,this.isComment=this.flowTemplateJson.properties.isComment,this.getTabBars(),this.summaryType=this.flowTemplateJson.properties.summaryType,this.flowTaskNodeList=o.data.flowTaskNodeList||[],this.recordList=(o.data.flowTaskOperatorRecordList||[]).reverse();for(let e=0;e<this.recordList.length;e++){const t=this.recordList[e];t.formType=this.flowFormInfo.formType,t.enCode=this.flowFormInfo.enCode,t.fileList&&(t.fileList=JSON.parse(t.fileList))}this.properties=o.data.approversProperties||{},t.draftData=o.data.draftData||null,t.formConf=this.flowFormInfo.propertyJson,t.type=this.flowTaskInfo.type,this.config.status=this.flowTaskInfo.status,this.config.fullName="-1"==t.opType?this.flowTemplateInfo.fullName:this.flowTaskInfo.fullName,this.title=this.flowTaskInfo.fullName,0!==this.config.status&&3!==this.config.status&&(this.title=this.flowTaskInfo.thisStep?this.config.fullName+"/"+this.flowTaskInfo.thisStep:this.config.fullName),e.index.setNavigationBarTitle({title:this.config.fullName}),this.config.formRecords&&this.config.title&&e.index.setNavigationBarTitle({title:this.config.title}),this.flowUrgent=this.flowTaskInfo.flowUrgent||1;if(this.selectflowUrgent=(()=>{var e={value:this.flowUrgent,extra:"0",label:"普通"};return this.flowUrgentList.forEach(((t,o)=>{t.value==this.flowUrgent&&(e.extra=o,e.label=t.label)})),e})(),this.flowTaskNodeList.length){for(let e=0;e<this.flowTaskNodeList.length;e++){const t=this.flowTaskNodeList[e],o=e=>{if(Array.isArray(e)&&e.forEach((e=>o(e))),e.nodeId===t.nodeCode)return e.id=t.id,0==t.type&&(e.state="state-past"),1==t.type&&(e.state="state-curr"),void("approver"!==t.nodeType&&"start"!==t.nodeType&&"subFlow"!==t.nodeType||(e.content=t.userName));e.conditionNodes&&Array.isArray(e.conditionNodes)&&o(e.conditionNodes),e.childNode&&o(e.childNode)};o(s)}this.flowTemplateJson=s}switch(1!=t.opType&&"-1"!=t.opType&&(t.readonly=!0),t.formOperates=[],0==t.opType?this.flowTemplateJson&&this.flowTemplateJson.properties&&this.flowTemplateJson.properties.formOperates&&(t.formOperates=this.flowTemplateJson.properties.formOperates||[]):t.formOperates=o.data.formOperates||[],this.config.status){case 0:this.flowStatus=a.resources.status.submit;break;case 1:default:this.flowStatus=a.resources.status.review;break;case 2:this.flowStatus=a.resources.status.reviewAdopt;break;case 3:this.flowStatus=a.resources.status.reviewRefuse;break;case 4:this.flowStatus=a.resources.status.reviewUndo;break;case 5:this.flowStatus=a.resources.status.reviewStop}setTimeout((()=>{this.$nextTick((()=>{this.$refs.child&&this.$refs.child.$refs.form||e.index.showToast({title:"暂无此流程表单",icon:"none",complete:()=>{setTimeout((()=>{e.index.navigateBack()}),1500)}})}))}),100)}))},eventLauncher(e){this.$refs.child&&this.$refs.child.$refs.form&&this.$refs.child.$refs.form.submit(e)},eventReceiver(e,t){return this.formData=e,this.eventType=t,"save"===t||"submit"===t?this.submitOrSave(t):"saveAudit"===t?this.saveAudit():"audit"===t?this.operate("audit",this.properties.auditBtnText):"reject"===t?this.operate("reject",this.properties.rejectBtnText):void 0},saveAudit(){this.btnLoading=!0,o.SaveAudit(this.config.taskId,this.formData).then((t=>{e.index.showToast({title:t.msg,complete:()=>{setTimeout((()=>{this.btnLoading=!1,e.index.navigateBack()}),1500)}})})).catch((()=>{this.btnLoading=!1}))},submitCandidate(t){this.selectShow=!1,t?this.handleRequest(t):e.index.showModal({title:"提示",content:"您确定要提交当前流程吗?",success:e=>{this.handleRequest()}})},submitOrSave(t){if(this.formData.status="submit"===t?0:1,"save"===t)return this.handleRequest();o.Candidates(0,{formData:this.formData}).then((t=>{let o=t.data;Array.isArray(o)&&o.length?(this.candidateList=t.data,this.selectShow=!0):e.index.showModal({title:"提示",content:"您确定要提交当前流程吗?",success:e=>{e.confirm&&this.handleRequest()}})})).catch((()=>{this.selectShow=!1}))},handleRequest(o){o&&(this.formData.candidateList=o),"save"===this.eventType&&(this.btnLoading=!0),(this.formData.id?t.Update:t.Create)(this.config.enCode,this.formData).then((t=>{e.index.showToast({title:t.msg,complete:()=>{setTimeout((()=>{this.formData.id&&e.index.$emit("refresh"),this.btnLoading=!1,e.index.navigateBack()}),1500)}})})).catch((()=>{this.btnLoading=!1}))},handlePress(){e.index.showModal({title:"提示",content:"此操作将提示该节点尽快处理",success:e=>{e.confirm&&s.Press(this.config.id).then((e=>{this.$u.toast(e.msg)}))}})},operate(t,o){let s={eventType:t,title:"确认"+o.replace(/\s+/g,"")};"audit"!==t&&"reject"!==t||(s={...s,hasSign:this.properties.hasSign,hasFreeApprover:this.properties.hasFreeApprover,isCustomCopy:this.properties.isCustomCopy,formData:this.formData,taskId:this.config.taskId,eventType:t}),e.index.navigateTo({url:"/pages/workFlow/operate/index?config="+encodeURIComponent(JSON.stringify(s))})},handleTransfer(e){o.Transfer(this.config.taskId,{freeApproverUserId:e}).then((e=>{this.toastAndBack(e.msg,!0)}))},revokeHandle(e){s.Revoke(this.config.id,{handleOpinion:e.handleOpinion}).then((e=>{this.toastAndBack(e.msg,!0)}))},recallHandle(e){o.Recall(this.config.taskId,{handleOpinion:e.handleOpinion}).then((e=>{this.toastAndBack(e.msg,!0)}))},auditHandle(e){this.handleApproval(e)},rejectHandle(e){this.handleApproval(e)},handleApproval(e){const t={...e,formData:this.formData,enCode:this.config.enCode};("audit"===e.eventType?o.Audit:o.Reject)(this.config.taskId,t).then((e=>{this.toastAndBack(e.msg,!0)}))},setBtnLoad(e){this.btnLoading=!!e},toastAndBack(t,o){e.index.showToast({title:t,complete:()=>{setTimeout((()=>{o&&e.index.$emit("refresh"),e.index.navigateBack()}),1500)}})}}};if(!Array){(e.resolveComponent("childForm")+e.resolveComponent("candidate-form")+e.resolveComponent("u-tabs")+e.resolveComponent("u-sticky")+e.resolveComponent("flowInfo")+e.resolveComponent("records")+e.resolveComponent("RecordSummary")+e.resolveComponent("u-avatar")+e.resolveComponent("JnpfUploadImg")+e.resolveComponent("u-divider")+e.resolveComponent("mescroll-body")+e.resolveComponent("template"))()}Math||((()=>"../../../uni_modules/vk-uview-ui/components/u-tabs/u-tabs.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-sticky/u-sticky.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-avatar/u-avatar.js")+(()=>"../../../components/Jnpf/UploadImg/index.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-divider/u-divider.js")+(()=>"../../../uni_modules/mescroll-uni/components/mescroll-body/mescroll-body.js"))();const m=e._export_sfc(l,[["render",function(t,o,s,i,a,n){return e.e({a:e.t(a.selectflowUrgent.label),b:a.flowUrgentList[a.selectflowUrgent.extra].color,c:a.flowUrgentList[a.selectflowUrgent.extra].bgColor,d:e.o(((...e)=>t.handleShowSelect&&t.handleShowSelect(...e))),e:"-1"===a.config.opType},"-1"===a.config.opType?{f:e.sr("child","8c7f670a-0"),g:e.o(n.eventReceiver),h:e.p({config:a.config}),i:e.sr("candidateForm","8c7f670a-1"),j:e.o(n.submitCandidate),k:e.o((e=>a.selectShow=e)),l:e.p({candidateList:a.candidateList,taskId:a.config.taskId,formData:a.formData,modelValue:a.selectShow})}:e.e({m:e.o(n.tabChange),n:e.p({list:a.tablist,"is-scroll":!0,current:a.tabIndex,height:"100"}),o:0==a.config.opType||4==a.config.opType},0==a.config.opType||4==a.config.opType?{p:a.flowStatus}:{},{q:e.sr("child","8c7f670a-4"),r:e.o(n.eventReceiver),s:e.o(n.setBtnLoad),t:e.p({config:a.config}),v:e.sr("candidateForm","8c7f670a-5"),w:e.o(n.submitCandidate),x:e.o((e=>a.selectShow=e)),y:e.p({candidateList:a.candidateList,taskId:a.config.taskId,formData:a.formData,modelValue:a.selectShow}),z:"表单信息"===a.tabsName,A:"流程信息"===a.tabsName},"流程信息"===a.tabsName?{B:e.p({options:a.flowTemplateJson})}:{},{C:"流转记录"===a.tabsName},"流转记录"===a.tabsName?{D:e.p({options:a.recordList,endTime:a.endTime})}:{},{E:"审批汇总"===a.tabsName},"审批汇总"===a.tabsName?{F:e.sr("recordSummary","8c7f670a-8"),G:e.p({processId:a.processId,summaryType:a.summaryType})}:{},{H:"流程评论"===a.tabsName},"流程评论"===a.tabsName?{I:e.f(a.commentList,((o,s,i)=>e.e({a:"8c7f670a-10-"+i+",8c7f670a-9",b:e.p({src:n.baseURL+o.creatorUserHeadIcon}),c:e.t(o.creatorUser),d:o.replyUser},o.replyUser?{e:e.t(o.replyUser),f:e.o((e=>n.openReplyText(o.replyText)),s)}:{},{g:e.f(o.text,((t,o,s)=>e.e({a:"text"==t.type},"text"==t.type?{b:e.t(t.content)}:{},{c:"emjio"==t.type},"emjio"==t.type?{d:t.content}:{},{e:o}))),h:2!=o.isDel},2!=o.isDel?{i:"8c7f670a-11-"+i+",8c7f670a-9",j:e.o((e=>o.image=e),s),k:e.p({disabled:!0,detailed:!0,align:"left",modelValue:o.image})}:{},{l:2!=o.isDel},2!=o.isDel?{m:e.f(o.file,((o,s,i)=>({a:e.t(o.name),b:s,c:e.o((e=>t.openFile(o)),s)})))}:{},{n:e.t(t.$u.timeFormat(o.creatorTime,"yyyy-mm-dd hh:MM:ss")),o:1==o.isDel},1==o.isDel?{p:e.o((e=>n.delComment(o.id,s)),s)}:{},{q:s!=a.commentList.length-1},s!=a.commentList.length-1?{r:"8c7f670a-12-"+i+",8c7f670a-9",s:e.p({"half-width":"100%","margin-top":32,"margin-bottom":32,"use-slot":!1})}:{},{t:s}))),J:e.sr("mescrollRef","8c7f670a-9"),K:e.o(t.mescrollInit),L:e.o(t.downCallback),M:e.o(n.upCallback),N:e.p({sticky:!1,down:a.downOption,up:a.upOption,bottombar:!1})}:{}))}]]);wx.createComponent(m);
{
"component": true,
"usingComponents": {
"child-form": "./form",
"flow-info": "../components/flowInfo/index",
"records": "../components/records",
"candidate-form": "../components/CandidateForm",
"record-summary": "../components/RecordSummary",
"u-tabs": "../../../uni_modules/vk-uview-ui/components/u-tabs/u-tabs",
"u-sticky": "../../../uni_modules/vk-uview-ui/components/u-sticky/u-sticky",
"u-avatar": "../../../uni_modules/vk-uview-ui/components/u-avatar/u-avatar",
"jnpf-upload-img": "../../../components/Jnpf/UploadImg/index",
"u-divider": "../../../uni_modules/vk-uview-ui/components/u-divider/u-divider",
"mescroll-body": "../../../uni_modules/mescroll-uni/components/mescroll-body/mescroll-body"
}
}
\ No newline at end of file
<view class="flowBefore-v"><view class="flow-urgent-value" style="{{'background-color:' + c}}" bindtap="{{d}}"><label style="{{'color:' + b}}">{{a}}</label></view><view wx:if="{{e}}" class="flowBefore-box"><view class="scroll-v" scroll-y><child-form wx:if="{{h}}" class="r" u-r="child" bindeventReceiver="{{g}}" u-i="8c7f670a-0" bind:__l="__l" u-p="{{h}}"/><candidate-form wx:if="{{l}}" class="r" bindsubmitCandidate="{{j}}" u-r="candidateForm" u-i="8c7f670a-1" bind:__l="__l" bindupdateModelValue="{{k}}" u-p="{{l}}"/></view></view><view wx:else class="flowBefore-box"><view class="u-border-bottom"><u-sticky u-s="{{['d']}}" u-i="8c7f670a-2" bind:__l="__l"><u-tabs wx:if="{{n}}" bindchange="{{m}}" u-i="8c7f670a-3,8c7f670a-2" bind:__l="__l" u-p="{{n}}"></u-tabs></u-sticky></view><block u-s="{{['d']}}"><view hidden="{{!z}}"><view><view wx:if="{{o}}" class="flowStatus"><image src="{{p}}" mode="widthFix"></image></view><child-form wx:if="{{t}}" class="r" u-r="child" bindeventReceiver="{{r}}" bindsetBtnLoad="{{s}}" u-i="8c7f670a-4" bind:__l="__l" u-p="{{t}}"/><candidate-form wx:if="{{y}}" class="r" bindsubmitCandidate="{{w}}" u-r="candidateForm" u-i="8c7f670a-5" bind:__l="__l" bindupdateModelValue="{{x}}" u-p="{{y}}"/></view></view><view wx:if="{{A}}" class="nodeList-v"><flow-info wx:if="{{B}}" u-i="8c7f670a-6" bind:__l="__l" u-p="{{B}}"/></view><view wx:if="{{C}}" class="record-v"><records wx:if="{{D}}" u-i="8c7f670a-7" bind:__l="__l" u-p="{{D}}"/></view><view wx:if="{{E}}" class="record2-v"><record-summary wx:if="{{G}}" class="r" u-r="recordSummary" u-i="8c7f670a-8" bind:__l="__l" u-p="{{G}}"/></view><view wx:if="{{H}}"><view class="record-v"><mescroll-body wx:if="{{N}}" class="r" u-s="{{['d']}}" u-r="mescrollRef" bindinit="{{K}}" binddown="{{L}}" bindup="{{M}}" u-i="8c7f670a-9" bind:__l="__l" u-p="{{N}}"><view class="discuss_box"><scroll-view scroll-y="true" style="height:100%"><view wx:for="{{I}}" wx:for-item="item" wx:key="t" class="u-flex-col discuss_list"><view class="u-flex discuss_txt"><view class="discuss_txt_left u-flex"><u-avatar wx:if="{{item.b}}" u-i="{{item.a}}" bind:__l="__l" u-p="{{item.b}}"></u-avatar><label class="uName"><label class="comment-header-color">{{item.c}}</label><label wx:if="{{item.d}}"><label class="replyText">回复</label><label class="replyText comment-content-color">{{item.e}}</label><label class="replyText comment-header-color"><label class="icon-ym icon-ym-chat" bindtap="{{item.f}}"></label></label></label></label></view></view><view class="u-flex-col discuss_content"><view class="msg-text"><view wx:for="{{item.g}}" wx:for-item="item2" wx:key="e"><text wx:if="{{item2.a}}" class="txt comment-content-color">{{item2.b}}</text><image wx:if="{{item2.c}}" class="msg-text-emoji" src="{{item2.d}}"/></view></view><jnpf-upload-img wx:if="{{item.h}}" u-i="{{item.i}}" bind:__l="__l" bindupdateModelValue="{{item.j}}" u-p="{{item.k}}"/><block wx:if="{{item.l}}"><view wx:for="{{item.m}}" wx:for-item="file" wx:key="b" class="jnpf-file-item u-type-primary u-flex u-line-1" bindtap="{{file.c}}"><view class="u-line-1" style="margin-bottom:10rpx">{{file.a}}</view></view></block></view><view class="u-flex discuss_txt time_button"><text class="discuss_txt_left u-flex comment-creator-time">{{item.n}}</text><view><text wx:if="{{item.o}}" class="del" catchtap="{{item.p}}">删除</text></view></view><u-divider wx:if="{{item.q}}" u-i="{{item.r}}" bind:__l="__l" u-p="{{item.s}}"/></view></scroll-view></view></mescroll-body></view></view></block></view></view>
\ No newline at end of file
page{background-color:#f0f2f6;height:100%}.flow-urgent-value{position:-webkit-sticky;position:sticky;top:var(--window-top);z-index:200;display:flex;align-items:center;justify-content:center;height:60rpx;font-size:28rpx}.flowBefore-v{display:flex;flex-direction:column}.flowBefore-v .flowBefore-box{height:100%;flex:1;display:flex;flex-direction:column;overflow:hidden}.flowBefore-v .flowBefore-box .u-border-bottom{z-index:500}.flowBefore-v .swiper-box{height:100vh}.flowBefore-v .swiper-item{flex:1;flex-direction:row}.flowBefore-v .scroll-v{flex:1;flex-direction:column;width:100%;height:100%}.flowBefore-v .flowStatus{position:absolute;top:90rpx;right:0;border:0;margin:20rpx;opacity:.7;z-index:9999}.flowBefore-v .flowStatus image{width:200rpx}.flowBefore-v .discuss_btn{background-color:#fff;position:fixed;bottom:0;display:flex;width:100%;z-index:20}.flowBefore-v .discuss_btn .custom-style{background-color:#2979ff;color:#fff;width:100%;border-radius:0!important}.flowBefore-v .discuss_btn .custom-style:after{border:none!important}.flowBefore-v .discuss_btn .content{padding:24rpx;text-align:center}.flowBefore-v .discuss_btn .content .confrim-btn{display:flex;flex-direction:row}.flowBefore-v .discuss_btn .content .confrim-btn .send{flex:1;background-color:#2979ff;color:#fff}.flowBefore-v .discuss_btn .content .confrim-btn .cancel{flex:1}.nodeList-v,.record-v{padding:32rpx 32rpx 10rpx;background-color:#fff}.record2-v{padding:0rpx 32rpx 10rpx;background-color:#fff}.discuss_box .discuss_list .time_button{padding-left:110rpx;margin-top:20rpx;padding-right:10rpx}.discuss_box .discuss_list .discuss_txt{width:100%;justify-content:space-between}.discuss_box .discuss_list .discuss_txt .discuss_txt_left .uName{margin-left:8px;font-size:14px;font-family:PingFang SC;line-height:17rpx}.discuss_box .discuss_list .discuss_txt .discuss_txt_left .uName .replyText{margin-left:8px}.discuss_box .discuss_list .discuss_txt .del{color:red;margin-left:20px}.discuss_box .discuss_list .discuss_txt .reply{margin-left:20px}.discuss_box .discuss_list .discuss_content{font-size:12px;padding-left:70rpx}.discuss_box .discuss_list .discuss_content .img_box{margin:40rpx 0}.msg-text{border-radius:4rpx 30rpx 30rpx;padding:16rpx 32rpx;display:flex;align-items:center;font-size:14px;line-height:17px;font-family:PingFang SC;word-break:break-word;flex-wrap:wrap;background-color:#fff}.msg-text .msg-text-emoji{vertical-align:top;width:48rpx;height:48rpx;display:inline-block}.comment-creator-time{font-size:12px;color:#999;font-family:PingFang SC;line-height:17rpx}.comment-content-color{color:#606266}.comment-header-color{color:#303133}
"use strict";const e=require("../../../common/vendor.js"),o={components:{crmOrder:()=>"../workFlowForm/crmOrder/index.js",dynamicForm:()=>"../workFlowForm/dynamicForm/index.js",leaveApply:()=>"../workFlowForm/leaveApply/index.js",salesOrder:()=>"../workFlowForm/salesOrder/index.js"},props:{config:{type:Object,default:()=>{}}},methods:{eventReceiver(e,o){this.$emit("eventReceiver",e,o)},setBtnLoad(e){this.$emit("setBtnLoad",e)}}};if(!Array){(e.resolveComponent("crmOrder")+e.resolveComponent("leaveApply")+e.resolveComponent("salesOrder")+e.resolveComponent("dynamicForm"))()}const r=e._export_sfc(o,[["render",function(o,r,n,c,f,i){return e.e({a:1==n.config.formType},1==n.config.formType?e.e({b:"crmOrder"===n.config.formEnCode},"crmOrder"===n.config.formEnCode?{c:e.sr("form","b5acf4a6-0"),d:e.o(i.eventReceiver),e:e.p({config:n.config})}:{},{f:"leaveApply"===n.config.formEnCode},"leaveApply"===n.config.formEnCode?{g:e.sr("form","b5acf4a6-1"),h:e.o(i.eventReceiver),i:e.p({config:n.config})}:{},{j:"salesOrder"===n.config.formEnCode},"salesOrder"===n.config.formEnCode?{k:e.sr("form","b5acf4a6-2"),l:e.o(i.eventReceiver),m:e.p({config:n.config})}:{}):{},{n:2==n.config.formType},2==n.config.formType?{o:e.sr("form","b5acf4a6-3"),p:e.o(i.eventReceiver),q:e.o(i.setBtnLoad),r:e.p({config:n.config})}:{})}]]);wx.createComponent(r);
{
"component": true,
"usingComponents": {
"dynamic-form": "../workFlowForm/dynamicForm/index",
"sales-order": "../workFlowForm/salesOrder/index",
"leave-apply": "../workFlowForm/leaveApply/index",
"crm-order": "../workFlowForm/crmOrder/index"
}
}
\ No newline at end of file
<view><block wx:if="{{a}}"><crm-order wx:if="{{b}}" class="r" u-r="form" bindeventReceiver="{{d}}" u-i="b5acf4a6-0" bind:__l="__l" u-p="{{e}}"/><leave-apply wx:if="{{f}}" class="r" u-r="form" bindeventReceiver="{{h}}" u-i="b5acf4a6-1" bind:__l="__l" u-p="{{i}}"/><sales-order wx:if="{{j}}" class="r" u-r="form" bindeventReceiver="{{l}}" u-i="b5acf4a6-2" bind:__l="__l" u-p="{{m}}"/></block><block wx:if="{{n}}"><dynamic-form wx:if="{{r}}" class="r" u-r="form" bindeventReceiver="{{p}}" bindsetBtnLoad="{{q}}" u-i="b5acf4a6-3" bind:__l="__l" u-p="{{r}}"/></block></view>
\ No newline at end of file
"use strict";const e=require("../../../common/vendor.js"),t=require("../../../api/workFlow/workFlowForm.js"),s=require("../../../api/workFlow/flowBefore.js"),i=require("../../../api/workFlow/flowLaunch.js"),o=require("../../../api/apply/visualDev.js");require("../../../utils/request.js");const n=require("../../../api/workFlow/flowEngine.js"),a=require("../../../api/message.js"),r=require("../../../libs/resources.js"),l=require("../../../uni_modules/mescroll-uni/components/mescroll-uni/mescroll-mixins.js"),h=require("../../../store/modules/user.js"),p=require("./emoji.js"),c={mixins:[l.MescrollMixin],components:{CandidateForm:()=>"../components/CandidateForm.js",childForm:()=>"./form.js",flowInfo:()=>"../components/flowInfo/index.js",records:()=>"../components/records.js",RecordSummary:()=>"../components/RecordSummary.js",ErrorForm:()=>"../components/ErrorForm.js"},data:()=>({emojiList:p.emojiList,downOption:{use:!0,auto:!0},upOption:{page:{num:0,size:20,time:null},empty:{use:!0,icon:r.resources.message.nodata,tip:"暂无数据",fixed:!0,top:"300rpx"},textNoMore:"没有更多数据"},isComment:!1,isSummary:!1,show:!1,config:{},currentView:"",formData:{},flowTaskInfo:{},flowFormInfo:{},flowTemplateInfo:{},flowTaskNodeList:[],flowTemplateJson:[],recordList:[],properties:{},tabIndex:0,tabBars:[{name:"表单信息",id:0},{name:"流程信息",id:1},{name:"流转记录",id:2}],tablist:[],flowStatus:"",stepIndex:0,btnLoading:!1,eventType:"",commentList:[],processId:"",candidateList:[],summaryType:0,tabsName:"表单信息",title:"",branchList:[],candidateType:3,countersignOver:!1,selectflowUrgent:{extra:"0",label:"普通",value:1},showFlowUrgent:!1,defaultValue:[0],flowUrgent:1,flowUrgentList:[{label:"普通",color:"#409EFF",bgColor:"#e5f3fe",value:1,extra:"0"},{label:"重要",color:"#E6A23C",bgColor:"#fef6e5",value:2,extra:"1"},{label:"紧急",color:"#F56C6C",bgColor:"#fee5e5",value:3,extra:"2"}],showErrorForm:!1,showAction:!1,actionList:[],rejectList:[],rejectStep:"",key:+new Date,shortLink:!1}),computed:{baseURL(){return this.define.baseURL}},onLoad(t){if(!t.config)return this.goBack();if(this.config=JSON.parse(this.jnpf.base64.decode(t.config)),e.index.$on("operate",(e=>{this[e.eventType+"Handle"](e)})),this.loading=!0,t.token){this.shortLink=!0;const e=h.useUserStore();e.setToken(""),e.setToken(t.token);let s={id:this.config.processId,flowId:this.config.flowId,opType:1==this.config.type?0:2==this.config.type?1:this.config.type,taskNodeId:this.config.taskNodeId,taskId:this.config.taskOperatorId,hideCancelBtn:!0,status:this.config.status};2==this.config.type?a.checkInfo(this.config.taskOperatorId).then((e=>{e.data&&e.data.isCheck&&(s.opType=3),this.config=s,this.init()})).catch((e=>{})):(this.config=s,this.init())}else this.init(),this.processId=this.config.id,("-1"!==this.config.opType||"-1"==this.config.opType&&3==this.config.status)&&setTimeout((()=>{this.tabIndex=0}),0)},onShow(){e.index.$off("comment"),e.index.$on("comment",(e=>{this.commentList=[],this.current=0,this.addComment(e)})),e.index.$emit("initCollapse")},onUnload(){e.index.$off("operate"),e.index.$off("refresh"),e.index.$off("comment")},methods:{getTabBars(){let e=this.tabBars;this.isSummary&&e.push({name:"审批汇总",id:3}),this.isComment&&e.push({name:"流程评论",id:4}),this.tablist=e},handleCodeGeneration(t){this.config=t,this.init(this.config),e.index.$on("operate",(e=>{this[e.eventType+"Handle"](e)})),e.index.$on("comment",(e=>{this.commentList=[],this.current=0,this.addComment(e)})),("-1"!==this.config.opType||"-1"==this.config.opType&&3==this.config.status)&&setTimeout((()=>{this.tabIndex=0}),0),this.processId=this.config.id,e.index.setNavigationBarTitle({title:this.config.fullName}),this.key=+new Date},doPreviewImage(t){let s;this.commentList.forEach((e=>{e.image.length>0&&(s=e.image.map((e=>this.baseURL+e.url)))})),e.index.previewImage({urls:s,current:t,success:()=>{},fail:()=>{e.index.showToast({title:"预览图片失败",icon:"none"})}})},openFile(e){this.previewFile(e)},previewFile(t){let s=t.url;e.index.downloadFile({url:this.baseURL+s,success:t=>{var s=t.tempFilePath;e.index.openDocument({filePath:encodeURI(s),success:e=>{}})}})},swiperChange(e){this.tabIndex=e.detail.current,this.tabsName=this.tabBars[this.tabIndex].name},upCallback(e){let t={currentPage:e.num,pageSize:e.size,sort:"desc",sidx:"",taskId:this.processId};n.getCommentList(t,{load:1==e.num}).then((t=>{this.mescroll.endSuccess(t.data.list.length),1==e.num&&(this.commentList=[]);const s=t.data.list.map((e=>(e.image=JSON.parse(e.image),e.file=JSON.parse(e.file),e.text=this.replaceEmoji(e.text),e)));this.commentList=this.commentList.concat(s)})).catch((()=>{this.mescroll.endErr()}))},replaceEmoji(e){if(!e)return"";let t=e.replace(/\[([^(\]|\[)]*)\]/g,(e=>"jnpfjnpf"+e+"jnpfjnpf")).split(/jnpfjnpfjnpfjnpf|jnpfjnpf/g);t=t.filter((e=>e));let s=[];for(let i=0;i<t.length;i++){let e={content:t[i],type:"emjio"};if(/\[([^(\]|\[)]*)\]/.test(t[i])){let s="";for(let e=0;e<this.emojiList.length;e++){let o=this.emojiList[e];if(o.alt==t[i]){s=this.getEmojiUrl(o.url);break}}e={content:s,type:"emjio"}}else e={content:t[i],type:"text"};s.push(e)}return s},getEmojiUrl:e=>p.imagesMap[e.replace(".","")],openReplyText(t){e.index.showModal({content:t,showCancel:!1,success:e=>{}})},handleReply(e,t){this.goWriteComment(e)},goWriteComment(t){let s={taskId:this.processId};t&&(s.replyId=t),s=encodeURIComponent(JSON.stringify(s)),e.index.navigateTo({url:"/pages/workFlow/comment/index?data="+s})},tabChange(e){this.tabIndex=e,this.tabsName=this.tabBars[e].name},jumpComment(){this.goWriteComment()},addComment(e){e.taskId=this.processId,n.createComment(e).then((e=>{this.mescroll.resetUpScroll()}))},delComment(t,s){e.index.showModal({title:"提示",content:"确定删除该评论?",success:e=>{e.confirm&&n.delComment(t).then((e=>{this.commentList.splice(s,1),this.mescroll.resetUpScroll()}))}})},init(){if(this.processId=this.config.id,("-1"!==this.config.opType||"-1"==this.config.opType&&3==this.config.status)&&setTimeout((()=>{this.tabIndex=0}),0),this.tabIndex=1,this.config.formRecords&&(this.tabIndex=4),this.config.id){let t={modelId:this.config.flowId,id:this.config.id,type:1,flowId:this.config.flowId,processId:this.config.id,taskId:this.config.taskId,opType:this.config.opType};e.index.setStorageSync("dynamicModelExtra",t)}this.getBeforeInfo(this.config)},getBeforeInfo(t){this.formData.flowId=t.flowId,this.loading=!0;const i={taskNodeId:t.taskNodeId,taskOperatorId:t.taskId,flowId:t.flowId};s.FlowBeforeInfo(t.id||0,i).then((s=>{t.formData=s.data.formData||{},this.flowTaskInfo=s.data.flowTaskInfo||{},this.flowFormInfo=s.data.flowFormInfo||{},t.formType=this.flowFormInfo.formType,this.config.formType=this.flowFormInfo.formType,this.config.formEnCode=this.flowFormInfo.enCode,this.loading=!1,this.flowTemplateInfo=s.data.flowTemplateInfo||{};const i=this.flowTemplateInfo.flowTemplateJson?JSON.parse(this.flowTemplateInfo.flowTemplateJson):null;t.flowTemplateJson=i,this.flowTemplateJson=i,this.isSummary=this.flowTemplateJson.properties.isSummary,this.isComment=this.flowTemplateJson.properties.isComment,this.getTabBars(),this.summaryType=this.flowTemplateJson.properties.summaryType,this.flowTaskNodeList=s.data.flowTaskNodeList||[],this.recordList=(s.data.flowTaskOperatorRecordList||[]).reverse();for(let e=0;e<this.recordList.length;e++){const t=this.recordList[e];t.formType=this.flowFormInfo.formType,t.enCode=this.flowFormInfo.enCode,t.fileList&&(t.fileList=JSON.parse(t.fileList))}this.properties=s.data.approversProperties||{},t.draftData=s.data.draftData||null,t.formConf=this.flowFormInfo.propertyJson,t.type=this.flowTaskInfo.type,this.config.status=this.flowTaskInfo.status,this.config.fullName="-1"==t.opType?this.flowTemplateInfo.fullName:this.flowTaskInfo.fullName,this.title=this.flowTaskInfo.fullName,0!==this.config.status&&3!==this.config.status&&(this.title=this.flowTaskInfo.thisStep?this.config.fullName+"/"+this.flowTaskInfo.thisStep:this.config.fullName),e.index.setNavigationBarTitle({title:this.config.fullName}),this.config.formRecords&&this.config.title&&e.index.setNavigationBarTitle({title:this.config.title}),this.flowUrgent=this.flowTaskInfo.flowUrgent||1;if(this.selectflowUrgent=(()=>{var e={value:this.flowUrgent,extra:"0",label:"普通"};return this.flowUrgentList.forEach(((t,s)=>{t.value==this.flowUrgent&&(e.extra=s,e.label=t.label)})),e})(),this.handleMoreBtnList(),this.flowTaskNodeList.length){for(let e=0;e<this.flowTaskNodeList.length;e++){const t=this.flowTaskNodeList[e],s=e=>{if(Array.isArray(e)&&e.forEach((e=>s(e))),e.nodeId===t.nodeCode)return e.id=t.id,0==t.type&&(e.state="state-past"),1==t.type&&(e.state="state-curr"),void("approver"!==t.nodeType&&"start"!==t.nodeType&&"subFlow"!==t.nodeType||(e.content=t.userName));e.conditionNodes&&Array.isArray(e.conditionNodes)&&s(e.conditionNodes),e.childNode&&s(e.childNode)};s(i)}this.flowTemplateJson=i}switch(1!=t.opType&&"-1"!=t.opType&&(t.readonly=!0),t.formOperates=[],0==t.opType?this.flowTemplateJson&&this.flowTemplateJson.properties&&this.flowTemplateJson.properties.formOperates&&(t.formOperates=this.flowTemplateJson.properties.formOperates||[]):t.formOperates=s.data.formOperates||[],this.config.status){case 0:this.flowStatus=r.resources.status.submit;break;case 1:default:this.flowStatus=r.resources.status.review;break;case 2:this.flowStatus=r.resources.status.reviewAdopt;break;case 3:this.flowStatus=r.resources.status.reviewRefuse;break;case 4:case 7:this.flowStatus=r.resources.status.reviewUndo;break;case 5:this.flowStatus=r.resources.status.reviewStop}setTimeout((()=>{this.$nextTick((()=>{this.$refs.child&&this.$refs.child.$refs.form||e.index.showToast({title:"暂无此流程表单",icon:"none",complete:()=>{setTimeout((()=>{e.index.navigateBack()}),1500)}})}))}),100)}))},handleAction(e){switch(this.actionList[e].id){case"save":this.eventLauncher("save");break;case"transfer":this.eventReceiver({},"transfer");break;case"reject":this.eventReceiver({},"reject");break;case"saveAudit":this.eventLauncher("saveAudit");break;case"revoke":this.eventReceiver({},"revoke");break;case"freeapprover":this.eventLauncher("freeapprover");break;case"approvalCancel":this.eventReceiver({},"approvalCancel")}},handleMoreBtnList(){const e=[],t=this.config;t.type;const s=t.opType,i=this.properties;"-1"!=s||t.hideCancelBtn||e.push({text:i.saveBtnText||"暂存",id:"save"}),0==s&&1==t.status&&i.hasRevokeBtn&&e.push({text:i.revokeBtnText||"撤回",id:"revoke"}),1==s&&(i.hasTransferBtn&&e.push({text:i.transferBtnText||"转审",id:"transfer"}),i.hasRejectBtn&&e.push({text:i.rejectBtnText||"退回",id:"reject"}),i.hasSaveBtn&&e.push({text:i.saveBtnText||"暂存",id:"saveAudit"}),i.hasFreeApproverBtn&&e.push({text:i.hasFreeApproverBtnText||"加签",id:"freeapprover"}),i.hasCancelBtn&&e.push({text:i.cancelBtnText||"驳回",id:"approvalCancel"})),this.actionList=e},eventLauncher(e){this.$refs.child&&this.$refs.child.$refs.form&&this.$refs.child.$refs.form.submit(e,this.selectflowUrgent.value)},goBack(){if(this.shortLink)return e.index.switchTab({url:"/pages/index/index"});e.index.navigateBack()},eventReceiver(t,i){if(this.formData={...t},this.eventType=i,this.formData.flowUrgent=this.selectflowUrgent.value||1,"save"===i||"submit"===i)return this.submitOrSave(i);if("saveAudit"===i)return this.saveAudit();if("audit"===i&&this.getCandidates(this.config.taskId,this.formData),"reject"===i||"revoke"===i||"recall"===i){let t="reject"===i?"退回":"撤回",o={formData:this.formData,eventType:this.eventType};if("recall"===i)return this.operate("recall",this.properties.revokeBtnText);if("reject"===i)return void s.RejectList(this.config.taskId).then((e=>{this.rejectList=e.data||[],this.operate("reject",this.properties.rejectBtnText)})).catch({});if("revoke"===i)return this.operate("revoke",this.properties.revokeBtnText);if(!this.properties.hasOpinion&&!this.properties.hasSign)return e.index.showModal({title:"提示",content:`此操作将${t}该审批单,是否继续?`,success:e=>{if(e.confirm){if("recall"===i)return this.recallHandle(o);if("reject"===i)return this.rejectHandle(o);if("revoke"===i)return this.revokeHandle(o)}}})}if("transfer"===i)return this.operate("transfer",this.properties.transferBtnText);if("freeapprover"===i&&this.getCandidates(this.config.taskId,this.formData),"approvalCancel"===i){let t={formData:this.formData,eventType:this.eventType};return this.properties.hasOpinion||this.properties.hasSign?this.operate("approvalCancel",this.properties.cancelBtnText||"驳回"):e.index.showModal({title:"提示",content:"此操作将审批驳回终止流程,是否继续?",success:e=>{e.confirm&&this.approvalCancelHandle(t)}})}},saveAudit(){this.btnLoading=!0,s.SaveAudit(this.config.taskId,this.formData).then((t=>{e.index.showToast({title:t.msg,icon:"none",complete:()=>{setTimeout((()=>{this.btnLoading=!1,e.index.navigateBack()}),1500)}})})).catch((()=>{this.btnLoading=!1}))},submitErrorForm(e){"submit"===e.eventType?this.handleRequest(e):this.handleApproval(e)},getCandidates(t,i){i.flowId=this.config.flowId,s.Candidates(t,{flowId:i.flowId,flowUrgent:this.flowUrgent,...i}).then((t=>{const s=t.data||{};if(this.candidateType=s.type||3,this.countersignOver=!!s.countersignOver,this.branchList=s.list||[],"save"===this.eventType||"submit"===this.eventType)if(1==s.type)this.operate("submit","提交审核");else if(2==s.type)this.branchList=[],this.candidateList=t.data.list.filter((e=>e.isCandidates)),this.operate("submit","提交审核");else{if(this.properties.isCustomCopy)return this.operate("submit","提交审核");this.branchList=[],e.index.showModal({title:"提示",content:"您确定要提交当前流程吗?",success:e=>{e.confirm&&this.handleRequest()}})}else{if(this.candidateList=t.data.list?t.data.list.filter((e=>e.isCandidates)):[],!(this.properties.hasOpinion||this.properties.hasFreeApprover||this.properties.hasSign||this.properties.isCustomCopy||3!=this.candidateType)){let t={formData:this.formData,eventType:this.eventType};return void e.index.showModal({title:"提示",content:"此操作将通过该审批单,是否继续?",success:e=>{e.confirm&&this.auditHandle(t)}})}if("freeapprover"===this.eventType)return this.operate(this.eventType,this.properties.hasFreeApproverBtnText);this.operate(this.eventType,this.properties.auditBtnText)}})).catch((()=>{}))},submitOrSave(e){if(this.formData.status="submit"===e?0:1,"save"===e)return this.handleRequest();this.getCandidates(0,this.formData)},submitHandle(e){this.handleRequest(e)},selfHandleRequest(){(this.formData.id?o.updateModel:o.createModel)(this.config.flowId,this.formData).then((t=>{e.index.showToast({title:t.msg,icon:"none",complete:()=>{setTimeout((()=>{e.index.navigateBack()}),1500)}})})).catch((()=>{}))},handleRequest(s){this.formData={...s,...this.formData,flowId:this.config.flowId,candidateType:this.candidateType,countersignOver:this.countersignOver,status:"save"===this.eventType?1:0,delegateUserList:this.config.delegateUserList||[],id:this.config.id},"save"===this.eventType&&(this.btnLoading=!0),(this.formData.id?t.Update:t.Create)(this.config.enCode,this.formData).then((t=>{t.data&&Array.isArray(t.data)&&t.data.length?this.$refs.ErrorForm.init(t.data,this.eventType):e.index.showToast({title:t.msg,icon:"none",complete:()=>{setTimeout((()=>{e.index.$emit("refresh"),this.btnLoading=!1,e.index.navigateBack()}),1500)}})})).catch((()=>{this.btnLoading=!1}))},handlePress(){e.index.showModal({title:"提示",content:"此操作将提示该节点尽快处理",success:e=>{e.confirm&&i.Press(this.config.id).then((e=>{this.$u.toast(e.msg)}))}})},operate(t,s){let i={eventType:t,title:s.replace(/\s+/g,""),hasSign:this.properties.hasSign,hasFreeApprover:"freeapprover"===t&&this.properties.hasFreeApproverBtn,isCustomCopy:this.properties.isCustomCopy,taskId:"submit"===t?0:this.config.taskId,formData:this.formData,hasOpinion:this.properties.hasOpinion,candidateType:this.candidateType,branchList:this.branchList,candidateList:this.candidateList,rejectStep:this.properties.rejectStep,rejectList:this.rejectList,rejectType:this.properties.rejectType,props:{label:"nodeName",value:"nodeId"}};e.index.navigateTo({url:"/pages/workFlow/operate/index?config="+encodeURIComponent(JSON.stringify(i))})},revokeHandle(e){i.Revoke(this.config.id,{handleOpinion:e.handleOpinion,signImg:e.signImg,fileList:e.fileList}).then((e=>{this.toastAndBack(e.msg,!0)}))},recallHandle(e){s.Recall(this.config.taskId,{handleOpinion:e.handleOpinion,signImg:e.signImg,fileList:e.fileList}).then((e=>{this.toastAndBack(e.msg,!0)}))},auditHandle(e){this.handleApproval(e)},freeapproverHandle(e){this.freeApprover(e)},transferHandle(e){s.Transfer(this.config.taskId,e).then((e=>{this.toastAndBack(e.msg,!0)}))},approvalCancelHandle(e){s.cancel(this.config.id,{handleOpinion:e.handleOpinion,signImg:e.signImg,fileList:e.fileList,eventType:"approvalCancel"}).then((e=>{this.toastAndBack(e.msg,!0)}))},rejectHandle(e){this.handleApproval(e)},freeApprover(e){const t={...e,...this.formData};s.FreeApprover(this.config.taskId,t).then((e=>{this.toastAndBack(e.msg,!0)}))},handleApproval(e){const t={...e,countersignOver:this.countersignOver,...this.formData,enCode:this.config.enCode},i="audit"===e.eventType?s.Audit:s.Reject;null!=this.config.taskId&&i(this.config.taskId,t).then((s=>{s.data&&Array.isArray(s.data)&&s.data.length?this.$refs.ErrorForm.init(s.data,e.eventType,t):this.toastAndBack(s.msg,!0)}))},setBtnLoad(e){this.btnLoading=!!e},toastAndBack(t,s){e.index.showToast({title:t,icon:"none",mask:!0,complete:()=>{setTimeout((()=>{if(this.shortLink)return e.index.switchTab({url:"/pages/index/index"});e.index.$emit("refresh"),e.index.navigateBack()}),1500)}})},handleShowSelect(){"-1"==this.config.opType&&(this.showFlowUrgent=!0)},seltConfirm(e){this.flowUrgent=e[0].value,this.selectflowUrgent=e[0],this.defaultValue=[this.flowUrgentList.findIndex((t=>t.value===e[0].value))]}}};if(!Array){(e.resolveComponent("childForm")+e.resolveComponent("ErrorForm")+e.resolveComponent("u-tabs")+e.resolveComponent("flowInfo")+e.resolveComponent("records")+e.resolveComponent("RecordSummary")+e.resolveComponent("u-avatar")+e.resolveComponent("JnpfUploadImg")+e.resolveComponent("u-divider")+e.resolveComponent("mescroll-body")+e.resolveComponent("u-icon")+e.resolveComponent("u-button")+e.resolveComponent("u-select")+e.resolveComponent("u-action-sheet"))()}Math||((()=>"../../../uni_modules/vk-uview-ui/components/u-tabs/u-tabs.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-avatar/u-avatar.js")+(()=>"../../../components/Jnpf/UploadImg/index.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-divider/u-divider.js")+(()=>"../../../uni_modules/mescroll-uni/components/mescroll-body/mescroll-body.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-icon/u-icon.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-button/u-button.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-select/u-select.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-action-sheet/u-action-sheet.js"))();const d=e._export_sfc(c,[["render",function(t,s,i,o,n,a){return e.e({a:e.t(n.selectflowUrgent.label),b:n.flowUrgentList[n.selectflowUrgent.extra].color,c:n.flowUrgentList[n.selectflowUrgent.extra].bgColor,d:e.o(((...e)=>a.handleShowSelect&&a.handleShowSelect(...e))),e:"-1"===n.config.opType&&7!=n.config.status},"-1"===n.config.opType&&7!=n.config.status?e.e({f:!t.loading},t.loading?{}:{g:e.sr("child","66a76439-0"),h:e.o(a.eventReceiver),i:e.p({config:n.config})},{j:e.sr("ErrorForm","66a76439-1"),k:e.o(a.submitErrorForm),l:e.o((e=>n.showErrorForm=e)),m:e.p({modelValue:n.showErrorForm})}):e.e({n:e.o(a.tabChange),o:e.p({list:n.tablist,"is-scroll":!0,current:n.tabIndex,height:"100"}),p:0==n.config.opType||4==n.config.opType},0==n.config.opType||4==n.config.opType?{q:n.flowStatus}:{},{r:!t.loading},t.loading?{}:{s:e.sr("child","66a76439-3"),t:e.o(a.eventReceiver),v:e.o(a.setBtnLoad),w:e.p({config:n.config})},{x:"表单信息"===n.tabsName,y:"流程信息"===n.tabsName},"流程信息"===n.tabsName?{z:e.p({options:n.flowTemplateJson,config:n.config,isEnd:100==n.flowTaskInfo.completion})}:{},{A:"流转记录"===n.tabsName},"流转记录"===n.tabsName?{B:e.p({options:n.recordList,flowId:n.config.flowId})}:{},{C:"审批汇总"===n.tabsName},"审批汇总"===n.tabsName?{D:e.sr("recordSummary","66a76439-6"),E:e.p({processId:n.processId,summaryType:n.summaryType})}:{},{F:"流程评论"===n.tabsName},"流程评论"===n.tabsName?e.e({G:e.f(n.commentList,((s,i,o)=>e.e({a:"66a76439-8-"+o+",66a76439-7",b:e.p({src:a.baseURL+s.creatorUserHeadIcon}),c:e.t(s.creatorUser),d:s.replyUser},s.replyUser?{e:e.t(s.replyUser),f:e.o((e=>a.openReplyText(s.replyText)),i)}:{},{g:e.f(s.text,((t,s,i)=>e.e({a:"text"==t.type},"text"==t.type?{b:e.t(t.content)}:{},{c:"emjio"==t.type},"emjio"==t.type?{d:t.content}:{},{e:s}))),h:2!=s.isDel},2!=s.isDel?{i:"66a76439-9-"+o+",66a76439-7",j:e.o((e=>s.image=e),i),k:e.p({disabled:!0,detailed:!0,align:"left",modelValue:s.image})}:{},{l:2!=s.isDel},2!=s.isDel?{m:e.f(s.file,((t,s,i)=>({a:e.t(t.name),b:s,c:e.o((e=>a.openFile(t)),s)})))}:{},{n:e.t(t.$u.timeFormat(s.creatorTime,"yyyy-mm-dd hh:MM:ss")),o:1==s.isDel},1==s.isDel?{p:e.o((e=>a.delComment(s.id,i)),i)}:{},{q:2!=s.isDel},2!=s.isDel?{r:e.o((e=>a.handleReply(s.id,i)),i)}:{},{s:i!=n.commentList.length-1},i!=n.commentList.length-1?{t:"66a76439-10-"+o+",66a76439-7",v:e.p({"half-width":"100%","margin-top":32,"margin-bottom":32,"use-slot":!1})}:{},{w:i}))),H:e.sr("mescrollRef","66a76439-7"),I:e.o(t.mescrollInit),J:e.o(t.downCallback),K:e.o(a.upCallback),L:e.p({sticky:!1,down:n.downOption,up:n.upOption,bottombar:!1}),M:"流程评论"===n.tabsName},"流程评论"===n.tabsName?{N:e.o(((...e)=>a.jumpComment&&a.jumpComment(...e)))}:{}):{},{O:e.sr("ErrorForm","66a76439-11"),P:e.o(a.submitErrorForm),Q:e.o((e=>n.showErrorForm=e)),R:e.p({modelValue:n.showErrorForm})}),{S:4!=n.tabIndex&&3!=n.tabIndex},4!=n.tabIndex&&3!=n.tabIndex?e.e({T:n.actionList.length},n.actionList.length?{U:e.p({name:"arrow-down",size:"24"}),V:e.o((e=>n.showAction=!0)),W:e.p({loading:n.btnLoading})}:{},{X:"-1"==n.config.opType},"-1"==n.config.opType?{Y:e.t(n.properties.submitBtnText||"提交"),Z:e.o((e=>a.eventLauncher("submit"))),aa:e.p({type:"primary"})}:{},{ab:0==n.config.opType},0==n.config.opType?e.e({ac:1==n.config.status&&n.properties.hasPressBtn},1==n.config.status&&n.properties.hasPressBtn?{ad:e.t(n.properties.pressBtnText||"催办"),ae:e.o((e=>a.handlePress())),af:e.p({type:"primary"})}:{}):{},{ag:1==n.config.opType&&n.properties.hasAuditBtn},1==n.config.opType&&n.properties.hasAuditBtn?{ah:e.t(n.properties.auditBtnText||"通过"),ai:e.o((e=>a.eventLauncher("audit"))),aj:e.p({type:"primary"})}:{},{ak:2==n.config.opType&&n.properties.hasRevokeBtn},2==n.config.opType&&n.properties.hasRevokeBtn?{al:e.t(n.properties.revokeBtnText||"撤回"),am:e.o((e=>a.eventReceiver({},"recall"))),an:e.p({type:"error"})}:{},{ao:e.o((e=>a.goBack()))}):{},{ap:e.o(a.seltConfirm),aq:e.o((e=>n.showFlowUrgent=e)),ar:e.p({list:n.flowUrgentList,"default-value":n.defaultValue,modelValue:n.showFlowUrgent}),as:e.o(a.handleAction),at:e.o((e=>n.showAction=e)),av:e.p({list:n.actionList,modelValue:n.showAction})})}]]);wx.createPage(d);
{
"navigationBarTitleText": "",
"usingComponents": {
"child-form": "./form",
"flow-info": "../components/flowInfo/index",
"records": "../components/records",
"error-form": "../components/ErrorForm",
"record-summary": "../components/RecordSummary",
"u-tabs": "../../../uni_modules/vk-uview-ui/components/u-tabs/u-tabs",
"u-avatar": "../../../uni_modules/vk-uview-ui/components/u-avatar/u-avatar",
"jnpf-upload-img": "../../../components/Jnpf/UploadImg/index",
"u-divider": "../../../uni_modules/vk-uview-ui/components/u-divider/u-divider",
"mescroll-body": "../../../uni_modules/mescroll-uni/components/mescroll-body/mescroll-body",
"u-icon": "../../../uni_modules/vk-uview-ui/components/u-icon/u-icon",
"u-button": "../../../uni_modules/vk-uview-ui/components/u-button/u-button",
"u-select": "../../../uni_modules/vk-uview-ui/components/u-select/u-select",
"u-action-sheet": "../../../uni_modules/vk-uview-ui/components/u-action-sheet/u-action-sheet"
}
}
\ No newline at end of file
<view class="flowBefore-v"><view class="flow-urgent-value" style="{{'background-color:' + c}}" bindtap="{{d}}"><label style="{{'color:' + b}}">{{a}}</label></view><view wx:if="{{e}}" class="flowBefore-box"><view class="scroll-v" scroll-y><child-form wx:if="{{f}}" class="r" u-r="child" bindeventReceiver="{{h}}" u-i="66a76439-0" bind:__l="__l" u-p="{{i}}"/><error-form wx:if="{{m}}" class="r" bindsubmitErrorForm="{{k}}" u-r="ErrorForm" u-i="66a76439-1" bind:__l="__l" bindupdateModelValue="{{l}}" u-p="{{m}}"/></view></view><view wx:else class="flowBefore-box"><view class="u-border-bottom sticky-box"><u-tabs wx:if="{{o}}" bindchange="{{n}}" u-i="66a76439-2" bind:__l="__l" u-p="{{o}}"/></view><view><view hidden="{{!x}}"><view wx:if="{{p}}" class="flowStatus"><image src="{{q}}" mode="widthFix"/></view><child-form wx:if="{{r}}" class="r" u-r="child" bindeventReceiver="{{t}}" bindsetBtnLoad="{{v}}" u-i="66a76439-3" bind:__l="__l" u-p="{{w}}"/></view><view wx:if="{{y}}" class="nodeList-v"><flow-info wx:if="{{z}}" u-i="66a76439-4" bind:__l="__l" u-p="{{z}}"/></view><view wx:if="{{A}}"><records wx:if="{{B}}" u-i="66a76439-5" bind:__l="__l" u-p="{{B}}"/></view><view wx:if="{{C}}"><record-summary wx:if="{{E}}" class="r" u-r="recordSummary" u-i="66a76439-6" bind:__l="__l" u-p="{{E}}"/></view><view wx:if="{{F}}"><view class="record-v"><mescroll-body wx:if="{{L}}" class="r" u-s="{{['d']}}" u-r="mescrollRef" bindinit="{{I}}" binddown="{{J}}" bindup="{{K}}" u-i="66a76439-7" bind:__l="__l" u-p="{{L}}"><view class="discuss_box"><scroll-view scroll-y="true" style="height:100%"><view wx:for="{{G}}" wx:for-item="item" wx:key="w" class="u-flex-col discuss_list"><view class="u-flex discuss_txt"><view class="discuss_txt_left u-flex"><u-avatar wx:if="{{item.b}}" u-i="{{item.a}}" bind:__l="__l" u-p="{{item.b}}"></u-avatar><label class="uName"><label class="comment-header-color">{{item.c}}</label><label wx:if="{{item.d}}"><label class="replyText comment-content-color">回复</label><label class="replyText comment-header-color">{{item.e}}</label><label class="replyText"><label class="icon-ym icon-ym-chat" bindtap="{{item.f}}"></label></label></label></label></view></view><view class="u-flex-col discuss_content"><view class="msg-text"><view wx:for="{{item.g}}" wx:for-item="item2" wx:key="e"><text wx:if="{{item2.a}}" class="txt comment-content-color">{{item2.b}}</text><image wx:if="{{item2.c}}" class="msg-text-emoji" src="{{item2.d}}"/></view></view><jnpf-upload-img wx:if="{{item.h}}" u-i="{{item.i}}" bind:__l="__l" bindupdateModelValue="{{item.j}}" u-p="{{item.k}}"/><block wx:if="{{item.l}}"><view wx:for="{{item.m}}" wx:for-item="file" wx:key="b" class="jnpf-file-item u-type-primary u-flex u-line-1" bindtap="{{file.c}}"><view class="u-line-1" style="margin-bottom:10rpx">{{file.a}}</view></view></block></view><view class="u-flex discuss_txt time_button"><text class="discuss_txt_left u-flex comment-creator-time">{{item.n}}</text><view><text wx:if="{{item.o}}" class="del" catchtap="{{item.p}}">删除</text><text wx:if="{{item.q}}" class="reply" catchtap="{{item.r}}">回复</text></view></view><u-divider wx:if="{{item.s}}" u-i="{{item.t}}" bind:__l="__l" u-p="{{item.v}}"/></view></scroll-view></view></mescroll-body></view><view wx:if="{{M}}" class="discuss_btn"><button catchtap="{{N}}" class="custom-style">评论</button></view></view><error-form wx:if="{{R}}" class="r" bindsubmitErrorForm="{{P}}" u-r="ErrorForm" u-i="66a76439-11" bind:__l="__l" bindupdateModelValue="{{Q}}" u-p="{{R}}"/></view></view><view wx:if="{{S}}" class="flowBefore-actions"><u-button wx:if="{{T}}" u-s="{{['d']}}" class="buttom-btn" bindclick="{{V}}" u-i="66a76439-12" bind:__l="__l" u-p="{{W}}"> 更多<u-icon wx:if="{{U}}" u-i="66a76439-13,66a76439-12" bind:__l="__l" u-p="{{U}}"></u-icon></u-button><u-button wx:if="{{X}}" u-s="{{['d']}}" class="buttom-btn" catchclick="{{Z}}" u-i="66a76439-14" bind:__l="__l" u-p="{{aa}}">{{Y}}</u-button><block wx:if="{{ab}}"><u-button wx:if="{{ac}}" u-s="{{['d']}}" class="buttom-btn" catchclick="{{ae}}" u-i="66a76439-15" bind:__l="__l" u-p="{{af}}">{{ad}}</u-button></block><u-button wx:if="{{ag}}" u-s="{{['d']}}" class="buttom-btn" catchclick="{{ai}}" u-i="66a76439-16" bind:__l="__l" u-p="{{aj}}">{{ah}}</u-button><u-button wx:if="{{ak}}" u-s="{{['d']}}" class="buttom-btn" catchclick="{{am}}" u-i="66a76439-17" bind:__l="__l" u-p="{{an}}">{{al}}</u-button><u-button u-s="{{['d']}}" class="buttom-btn" catchclick="{{ao}}" u-i="66a76439-18" bind:__l="__l">取消</u-button></view><u-select wx:if="{{ar}}" bindconfirm="{{ap}}" u-i="66a76439-19" bind:__l="__l" bindupdateModelValue="{{aq}}" u-p="{{ar}}"/><u-action-sheet wx:if="{{av}}" bindclick="{{as}}" u-i="66a76439-20" bind:__l="__l" bindupdateModelValue="{{at}}" u-p="{{av}}"/></view>
\ No newline at end of file
page{background-color:#f0f2f6;height:100%}.flow-urgent-value{position:-webkit-sticky;position:sticky;top:var(--window-top);z-index:200;display:flex;align-items:center;justify-content:center;height:60rpx;font-size:28rpx}.flowBefore-v{display:flex;flex-direction:column}.flowBefore-v .workFlowTitle{width:100%;padding:0 32rpx 32rpx;background-color:#fff;font-size:32rpx;font-weight:700;white-space:pre-wrap;text-align:left}.flowBefore-v .flowBefore-box{height:100%;flex:1;display:flex;flex-direction:column;overflow:hidden;padding-bottom:88rpx}.flowBefore-v .flowBefore-box .sticky-box{z-index:500}.flowBefore-v .swiper-box{height:100vh}.flowBefore-v .swiper-item{flex:1;flex-direction:row}.flowBefore-v .scroll-v{flex:1;flex-direction:column;width:100%;height:100%}.flowBefore-v .flowStatus{position:absolute;top:90rpx;right:0;border:0;margin:20rpx;opacity:.7;z-index:999}.flowBefore-v .flowStatus image{width:200rpx}.flowBefore-v .discuss_btn{background-color:#fff;position:fixed;bottom:0;display:flex;width:100%;z-index:20}.flowBefore-v .discuss_btn .custom-style{background-color:#2979ff;color:#fff;width:100%;border-radius:0!important}.flowBefore-v .discuss_btn .custom-style:after{border:none!important}.flowBefore-v .discuss_btn .content{padding:24rpx;text-align:center}.flowBefore-v .discuss_btn .content .confrim-btn{display:flex;flex-direction:row}.flowBefore-v .discuss_btn .content .confrim-btn .send{flex:1;background-color:#2979ff;color:#fff}.flowBefore-v .discuss_btn .content .confrim-btn .cancel{flex:1}.nodeList-v{background-color:#fff}.record-v{padding:32rpx 32rpx 10rpx;background-color:#fff}.discuss_box .discuss_list .time_button{padding-left:110rpx;margin-top:20rpx;padding-right:10rpx}.discuss_box .discuss_list .discuss_txt{width:100%;justify-content:space-between}.discuss_box .discuss_list .discuss_txt .discuss_txt_left .uName{margin-left:8px;font-size:14px;font-family:PingFang SC;line-height:17rpx}.discuss_box .discuss_list .discuss_txt .discuss_txt_left .uName .replyText{margin-left:8px}.discuss_box .discuss_list .discuss_txt .del{color:red;margin-left:20px}.discuss_box .discuss_list .discuss_txt .reply{margin-left:20px}.discuss_box .discuss_list .discuss_content{font-size:12px;padding-left:70rpx}.discuss_box .discuss_list .discuss_content .img_box{margin:40rpx 0}.msg-text{border-radius:4rpx 30rpx 30rpx;padding:16rpx 32rpx;display:flex;align-items:center;font-size:14px;line-height:17px;font-family:PingFang SC;word-break:break-word;flex-wrap:wrap;background-color:#fff}.msg-text .msg-text-emoji{vertical-align:top;width:48rpx;height:48rpx;display:inline-block}.comment-creator-time{font-size:12px;color:#999;font-family:PingFang SC;line-height:17rpx}.comment-content-color{color:#606266}.comment-header-color{color:#303133}
"use strict";const e=require("../../../common/vendor.js"),t=require("../../../api/workFlow/workFlowForm.js"),s=require("../../../api/workFlow/flowBefore.js"),i=require("../../../api/workFlow/flowLaunch.js"),o=require("../../../api/apply/visualDev.js");require("../../../utils/request.js");const n=require("../../../api/workFlow/flowEngine.js"),a=require("../../../api/message.js"),r=require("../../../libs/resources.js"),l=require("../../../uni_modules/mescroll-uni/components/mescroll-uni/mescroll-mixins.js"),h=require("../../../store/modules/user.js"),d=require("./emoji.js"),c={mixins:[l.MescrollMixin],components:{CandidateForm:()=>"../components/CandidateForm.js",childForm:()=>"./form.js",flowInfo:()=>"../components/flowInfo/index.js",records:()=>"../components/records.js",RecordSummary:()=>"../components/RecordSummary.js",ErrorForm:()=>"../components/ErrorForm.js",flowForm:()=>"./flowForm.js"},data:()=>({emojiList:d.emojiList,key:+new Date,Loading:!1,isSubFlowInfo:!1,downOption:{use:!0,auto:!0},upOption:{page:{num:0,size:20,time:null},empty:{use:!0,icon:r.resources.message.nodata,tip:"暂无数据",fixed:!0,top:"300rpx"},textNoMore:"没有更多数据"},isComment:!1,isSummary:!1,show:!1,config:{},currentView:"",formData:{},flowTaskInfo:{},flowFormInfo:{},flowTemplateInfo:{},flowTaskNodeList:[],flowTemplateJson:[],recordList:[],properties:{},endTime:0,tabIndex:0,tabBars:[{name:"流程信息",id:1},{name:"流转记录",id:2}],flowStatus:"",stepIndex:0,userOptions:[],btnLoading:!1,eventType:"",commentList:[],processId:"",candidateList:[],summaryType:0,tabsName:"流程信息",title:"",branchList:[],candidateType:3,selectflowUrgent:{extra:"0",label:"普通",value:1},showFlowUrgent:!1,defaultValue:[0],flowUrgent:1,flowUrgentList:[{label:"普通",color:"#409EFF",bgColor:"#e5f3fe",value:1,extra:"0"},{label:"重要",color:"#E6A23C",bgColor:"#fef6e5",value:2,extra:"1"},{label:"紧急",color:"#F56C6C",bgColor:"#fee5e5",value:3,extra:"2"}],showErrorForm:!1,showAction:!1,actionList:[],rejectList:[],rejectStep:"",subFlowInfoList:[],currentSubFlow:0}),computed:{baseURL(){return this.define.baseURL}},onLoad(t){const s=JSON.parse(this.jnpf.base64.decode(t.config));if(this.config=s,t.token){const e=h.useUserStore();e.setToken(""),e.setToken(t.token);let s={id:this.config.processId,flowId:this.config.flowId,opType:1==this.config.type?0:2==this.config.type?1:this.config.type,taskNodeId:this.config.taskNodeId,taskId:this.config.taskOperatorId,hideCancelBtn:!0,status:this.config.status};2==this.config.type&&a.checkInfo(this.config.taskOperatorId).then((e=>{e.data&&e.data.isCheck&&(s.opType=3)})).catch((e=>{})),this.config=s}if(!s)return this.jnpf.goBack();e.index.$on("operate",(e=>{this[e.eventType+"Handle"](e)})),e.index.$on("comment",(e=>{this.commentList=[],this.current=0,this.addComment(e)})),this.processId=this.config.id,this.init()},onUnload(){e.index.$off("operate"),e.index.$off("refresh"),e.index.$off("comment")},methods:{init(){e.index.showLoading({title:"正在加载"}),this.config.formRecords&&(this.tabIndex=4),this.getBeforeInfo(this.config)},getBeforeInfo(e){this.formData.flowId=e.flowId,s.SubFlowInfo(e.subId).then((e=>{this.subFlowInfoList=e.data||[],this.handelData()}))},handelData(){let t=this.config;for(let e=0;e<this.subFlowInfoList.length;e++)this.subFlowInfoList[e].name=this.subFlowInfoList[e].flowTaskInfo.fullName,this.subFlowInfoList[e].id=this.subFlowInfoList[e].flowTaskInfo.id;let s=this.subFlowInfoList[this.currentSubFlow];t.formData=s.formData,this.flowTaskInfo=s.flowTaskInfo||{},this.flowFormInfo=s.flowFormInfo,t.formType=this.flowFormInfo.formType,this.flowTemplateInfo=s.flowTemplateInfo;const i=this.flowTemplateInfo.flowTemplateJson?JSON.parse(this.flowTemplateInfo.flowTemplateJson):null;t.flowTemplateJson=i,this.flowTemplateJson=i,this.isComment=this.flowTemplateJson.properties.isComment,this.isSummary=this.flowTemplateJson.properties.isSummary,this.summaryType=this.flowTemplateJson.properties.summaryType,this.flowTaskNodeList=s.flowTaskNodeList||[];const o=this.$u.deepClone(s.flowTaskOperatorRecordList)||[];this.recordList=o.reverse();for(let e=0;e<this.recordList.length;e++){let t=this.recordList[e];t.formType=this.flowFormInfo.formType,t.enCode=this.flowFormInfo.enCode,t.fileList=JSON.parse(t.fileList)}this.properties=s.approversProperties||{},t.draftData=s.draftData||null,t.formConf=this.flowFormInfo.propertyJson,t.type=this.flowTaskInfo.type,this.endTime=100==this.flowTaskInfo.completion?this.flowTaskInfo.endTime:0,this.config.status=this.flowTaskInfo.status,this.config.fullName="-1"==t.opType?this.flowTemplateInfo.fullName:this.flowTaskInfo.fullName,this.title=this.flowTaskInfo.fullName,0!==this.config.status&&3!==this.config.status&&(this.title=this.flowTaskInfo.thisStep?this.config.fullName+"/"+this.flowTaskInfo.thisStep:this.config.fullName),e.index.setNavigationBarTitle({title:this.config.fullName}),this.config.formRecords&&this.config.title&&e.index.setNavigationBarTitle({title:this.config.title}),this.flowUrgent=this.flowTaskInfo.flowUrgent||1;if(this.selectflowUrgent=(()=>{var e={value:this.flowTaskInfo.flowUrgent,extra:"0",label:"普通"};return this.flowUrgentList.forEach(((t,s)=>{t.value==this.flowTaskInfo.flowUrgent&&(e.extra=s,e.label=t.label)})),e})(),this.handleMoreBtnList(),this.flowTaskNodeList.length){for(let e=0;e<this.flowTaskNodeList.length;e++){const t=this.flowTaskNodeList[e],s=e=>{if(Array.isArray(e)&&e.forEach((e=>s(e))),e.nodeId===t.nodeCode)return e.id=t.id,0==t.type&&(e.state="state-past"),1==t.type&&(e.state="state-curr"),void("approver"!==t.nodeType&&"start"!==t.nodeType&&"subFlow"!==t.nodeType||(e.content=t.userName));e.conditionNodes&&Array.isArray(e.conditionNodes)&&s(e.conditionNodes),e.childNode&&s(e.childNode)};s(i)}this.flowTemplateJson=i,e.index.hideLoading(),this.key=+new Date,this.Loading=!0}else this.flowTemplateJson.state="state-curr",e.index.hideLoading(),this.key=+new Date,this.Loading=!0},subFlowChange(e){this.currentSubFlow=e,this.handelData()},handleCodeGeneration(t){this.config=t,"-1"!==this.config.opType&&setTimeout((()=>{this.tabIndex=0}),0),e.index.setNavigationBarTitle({title:this.config.fullName})},doPreviewImage(t){let s;this.commentList.forEach((e=>{e.image.length>0&&(s=e.image.map((e=>this.baseURL+e.url)))})),e.index.previewImage({urls:s,current:t,success:()=>{},fail:()=>{e.index.showToast({title:"预览图片失败",icon:"none"})}})},openFile(e){this.previewFile(e)},previewFile(t){let s=t.url;e.index.downloadFile({url:this.baseURL+s,success:t=>{var s=t.tempFilePath;e.index.openDocument({filePath:encodeURI(s),success:e=>{}})}})},swiperChange(e){this.tabIndex=e.detail.current,this.tabsName=this.tabBars[this.tabIndex].name},upCallback(e){let t={currentPage:e.num,pageSize:e.size,sort:"desc",sidx:"",taskId:this.processId};n.getCommentList(t,{load:1==e.num}).then((t=>{this.mescroll.endSuccess(t.data.list.length),1==e.num&&(this.commentList=[]);const s=t.data.list.map((e=>(e.image=JSON.parse(e.image),e.file=JSON.parse(e.file),e.text=this.replaceEmoji(e.text),e)));this.commentList=this.commentList.concat(s)})).catch((()=>{this.mescroll.endErr()}))},replaceEmoji(e){if(!e)return"";let t=e.replace(/\[([^(\]|\[)]*)\]/g,(e=>"jnpfjnpf"+e+"jnpfjnpf")).split(/jnpfjnpfjnpfjnpf|jnpfjnpf/g);t=t.filter((e=>e));let s=[];for(let i=0;i<t.length;i++){let e={content:t[i],type:"emjio"};if(/\[([^(\]|\[)]*)\]/.test(t[i])){let s="";for(let e=0;e<this.emojiList.length;e++){let o=this.emojiList[e];if(o.alt==t[i]){s=this.getEmojiUrl(o.url);break}}e={content:s,type:"emjio"}}else e={content:t[i],type:"text"};s.push(e)}return s},getEmojiUrl:e=>d.imagesMap[e.replace(".","")],openReplyText(t){e.index.showModal({content:t,showCancel:!1,success:e=>{}})},handleReply(e,t){this.goWriteComment(e)},goWriteComment(t){let s={taskId:this.processId};t&&(s.replyId=t),s=encodeURIComponent(JSON.stringify(s)),e.index.navigateTo({url:"/pages/workFlow/comment/index?data="+s})},tabChange(e){this.tabIndex=e,this.tabsName=this.tabBars[e].name,"审批汇总"!==this.tabsName&&"流程评论"!==this.tabsName||(this.processId=this.subFlowInfoList[this.currentSubFlow].flowTaskInfo.processId)},jumpComment(){this.goWriteComment()},addComment(e){e.taskId=this.processId,n.createComment(e).then((e=>{this.mescroll.resetUpScroll()}))},delComment(t,s){e.index.showModal({title:"提示",content:"确定删除该评论?",success:e=>{e.confirm&&n.delComment(t).then((e=>{this.commentList.splice(s,1),this.mescroll.resetUpScroll()}))}})},handleAction(e){switch(this.actionList[e].id){case"save":this.eventLauncher("save");break;case"transfer":this.eventReceiver({},"transfer");break;case"reject":this.eventReceiver({},"reject");break;case"saveAudit":this.eventLauncher("saveAudit");break;case"revoke":this.eventReceiver({},"revoke");break;case"freeapprover":this.eventLauncher("freeapprover")}},handleMoreBtnList(){const e=this.config;e.type;const t=e.opType,s=this.properties;"-1"==t?this.actionList.push({text:s.saveBtnText||"暂存",id:"save"}):0==t?1!=e.status||!s.hasRevokeBtn&&void 0!==s.hasRevokeBtn?3==e.status&&this.actionList.push({text:s.saveBtnText||"暂存",id:"save"}):this.actionList.push({text:s.revokeBtnText||"撤回",id:"revoke"}):1==t&&(s.hasTransferBtn&&this.actionList.push({text:s.transferBtnText||"转审",id:"transfer"}),s.hasRejectBtn&&this.actionList.push({text:s.rejectBtnText||"退回",id:"reject"}),s.hasSaveBtn&&this.actionList.push({text:s.saveBtnText||"暂存",id:"saveAudit"}),s.hasFreeApproverBtn&&this.actionList.push({text:s.hasFreeApproverBtnText||"加签",id:"freeapprover"}))},eventLauncher(e){this.$refs.child&&this.$refs.child.$refs.form&&this.$refs.child.$refs.form.submit(e,this.selectflowUrgent.value)},eventReceiver(t,i){if(this.formData={...t},this.eventType=i,this.formData.flowUrgent=this.selectflowUrgent.value||1,"save"===i||"submit"===i)return this.submitOrSave(i);if("saveAudit"===i)return this.saveAudit();if("audit"===i&&this.getCandidates(this.config.taskId,this.formData),"reject"===i||"revoke"===i||"recall"===i){let t="reject"===i?"退回":"撤回",o={formData:this.formData,eventType:this.eventType};if(!this.properties.hasOpinion&&!this.properties.hasSign)return e.index.showModal({title:"提示",content:`此操作将${t}该审批单,是否继续?`,success:e=>{if(e.confirm){if("recall"===i)return this.recallHandle(o);if("reject"===i)return this.rejectHandle(o);if("revoke"===i)return this.revokeHandle(o)}}});if("recall"===i)return this.operate("recall",this.properties.revokeBtnText);if("reject"===i)return void s.RejectList(this.config.taskId).then((e=>{this.rejectList=e.data||[],this.operate("reject",this.properties.rejectBtnText)})).catch({});if("revoke"===i)return this.operate("revoke",this.properties.revokeBtnText)}if("transfer"===i)return this.operate("transfer",this.properties.transferBtnText);"freeapprover"===i&&this.getCandidates(this.config.taskId,this.formData)},saveAudit(){this.btnLoading=!0,s.SaveAudit(this.config.taskId,this.formData).then((t=>{e.index.showToast({title:t.msg,complete:()=>{setTimeout((()=>{this.btnLoading=!1,e.index.navigateBack()}),1500)}})})).catch((()=>{this.btnLoading=!1}))},submitErrorForm(e){"submit"===e.eventType?this.handleRequest(e):this.handleApproval(e)},getCandidates(t,i){s.Candidates(t,{flowId:i.flowId,flowUrgent:this.flowUrgent,...i}).then((t=>{const s=t.data||{};if(this.candidateType=s.type||3,this.branchList=s.list||[],"save"===this.eventType||"submit"===this.eventType)if(1==s.type)this.operate("submit","提交审核");else if(2==s.type)this.branchList=[],this.candidateList=t.data.list.filter((e=>e.isCandidates)),this.operate("submit","提交审核");else{if(this.properties.isCustomCopy)return this.operate("submit","提交审核");this.branchList=[],e.index.showModal({title:"提示",content:"您确定要提交当前流程吗?",success:e=>{e.confirm&&this.handleRequest()}})}else{if(this.candidateList=t.data.list?t.data.list.filter((e=>e.isCandidates)):[],!(this.properties.hasOpinion||this.properties.hasFreeApprover||this.properties.hasSign||this.properties.isCustomCopy||3!=this.candidateType)){let t={formData:this.formData,eventType:this.eventType};return void e.index.showModal({title:"提示",content:"此操作将通过该审批单,是否继续?",success:e=>{e.confirm&&this.auditHandle(t)}})}if("freeapprover"===this.eventType)return this.operate(this.eventType,this.properties.hasFreeApproverBtnText);this.operate(this.eventType,this.properties.auditBtnText)}})).catch((()=>{}))},submitOrSave(e){if(this.formData.status="submit"===e?0:1,"save"===e)return this.handleRequest();this.getCandidates(0,this.formData)},submitHandle(e){this.handleRequest(e)},selfHandleRequest(){(this.formData.id?o.updateModel:o.createModel)(this.config.flowId,this.formData).then((t=>{e.index.showToast({title:t.msg,complete:()=>{setTimeout((()=>{e.index.navigateBack()}),1500)}})})).catch((()=>{}))},handleRequest(s){this.formData={...s,...this.formData,flowId:this.config.flowId,candidateType:this.candidateType,status:"save"===this.eventType?1:0,delegateUserList:[this.config.delegateUserList],id:this.config.id},"save"===this.eventType&&(this.btnLoading=!0),(this.formData.id?t.Update:t.Create)(this.config.enCode,this.formData).then((t=>{t.data&&Array.isArray(t.data)&&t.data.length?this.$refs.ErrorForm.init(t.data,this.eventType):e.index.showToast({title:t.msg,complete:()=>{setTimeout((()=>{e.index.$emit("refresh"),this.btnLoading=!1,e.index.navigateBack()}),1500)}})})).catch((()=>{this.btnLoading=!1}))},handlePress(){e.index.showModal({title:"提示",content:"此操作将提示该节点尽快处理",success:e=>{e.confirm&&i.Press(this.config.id).then((e=>{this.$u.toast(e.msg)}))}})},operate(t,s){let i={eventType:t,title:s.replace(/\s+/g,""),btnTxt:"确认"+s.replace(/\s+/g,""),hasSign:this.properties.hasSign,hasFreeApprover:"freeapprover"===t&&this.properties.hasFreeApproverBtn,isCustomCopy:this.properties.isCustomCopy,taskId:"submit"===t?0:this.config.taskId,formData:this.formData,flowId:this.config.flowId,hasOpinion:this.properties.hasOpinion,candidateType:this.candidateType,branchList:this.branchList,candidateList:this.candidateList,isCandidate:2==this.candidateType,rejectStep:this.properties.rejectStep,rejectList:this.rejectList,rejectType:this.properties.rejectType,props:{label:"nodeName",value:"nodeId"},type:this.config.type};e.index.navigateTo({url:"/pages/workFlow/operate/index?config="+JSON.stringify(i)})},revokeHandle(e){i.Revoke(this.config.id,{handleOpinion:e.handleOpinion,signImg:e.signImg,fileList:e.fileList}).then((e=>{this.toastAndBack(e.msg,!0)}))},recallHandle(e){s.Recall(this.config.taskId,{handleOpinion:e.handleOpinion,signImg:e.signImg,fileList:e.fileList}).then((e=>{this.toastAndBack(e.msg,!0)}))},auditHandle(e){this.handleApproval(e)},freeapproverHandle(e){this.freeApprover(e)},transferHandle(e){s.Transfer(this.config.taskId,e).then((e=>{this.toastAndBack(e.msg,!0)}))},rejectHandle(e){this.handleApproval(e)},freeApprover(e){const t={...e,...this.formData};s.FreeApprover(this.config.taskId,t).then((e=>{this.toastAndBack(e.msg,!0)}))},handleApproval(e){const t={...e,...this.formData,enCode:this.config.enCode};("audit"===e.eventType?s.Audit:s.Reject)(this.config.taskId,t).then((s=>{s.data&&Array.isArray(s.data)&&s.data.length?this.$refs.ErrorForm.init(s.data,e.eventType,t):this.toastAndBack(s.msg,!0)}))},setBtnLoad(e){this.btnLoading=!!e},toastAndBack(t,s){e.index.showToast({title:t,mask:!0,complete:()=>{setTimeout((()=>{e.index.$emit("refresh"),e.index.navigateBack()}),1500)}})},handleShowSelect(){"-1"==this.config.opType&&(this.showFlowUrgent=!0)},seltConfirm(e){this.flowUrgent=e[0].value,this.selectflowUrgent=e[0],this.defaultValue=[this.flowUrgentList.findIndex((t=>t.value===e[0].value))]}}};if(!Array){(e.resolveComponent("childForm")+e.resolveComponent("ErrorForm")+e.resolveComponent("u-tabs")+e.resolveComponent("u-sticky")+e.resolveComponent("flowInfo")+e.resolveComponent("records")+e.resolveComponent("RecordSummary")+e.resolveComponent("u-avatar")+e.resolveComponent("JnpfUploadImg")+e.resolveComponent("u-divider")+e.resolveComponent("mescroll-body"))()}Math||((()=>"../../../uni_modules/vk-uview-ui/components/u-tabs/u-tabs.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-sticky/u-sticky.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-avatar/u-avatar.js")+(()=>"../../../components/Jnpf/UploadImg/index.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-divider/u-divider.js")+(()=>"../../../uni_modules/mescroll-uni/components/mescroll-body/mescroll-body.js"))();const p=e._export_sfc(c,[["render",function(t,s,i,o,n,a){return e.e({a:e.t(n.selectflowUrgent.label),b:n.flowUrgentList[n.selectflowUrgent.extra].color,c:n.flowUrgentList[n.selectflowUrgent.extra].bgColor,d:e.o(((...e)=>a.handleShowSelect&&a.handleShowSelect(...e))),e:"-1"===n.config.opType},"-1"===n.config.opType?{f:e.sr("child","e13d9cce-0"),g:e.o(a.eventReceiver),h:e.p({config:n.config}),i:e.sr("ErrorForm","e13d9cce-1"),j:e.o(a.submitErrorForm),k:e.o((e=>n.showErrorForm=e)),l:e.p({modelValue:n.showErrorForm})}:{},{m:!n.isSubFlowInfo},n.isSubFlowInfo?{}:e.e({n:e.o(a.tabChange),o:e.p({list:n.tabBars,"is-scroll":!0,current:n.tabIndex,height:"100"}),p:e.o(a.subFlowChange),q:e.p({list:n.subFlowInfoList,"is-scroll":!0,current:n.currentSubFlow}),r:n.Loading},n.Loading?{s:n.key,t:e.p({options:n.flowTemplateJson,isEnd:100==n.flowTaskInfo.completion})}:{},{v:"流程信息"===n.tabsName,w:"流转记录"===n.tabsName},"流转记录"===n.tabsName?{x:e.p({options:n.recordList,endTime:n.endTime,flowId:n.config.flowId})}:{},{y:"审批汇总"===n.tabsName},"审批汇总"===n.tabsName?{z:e.sr("recordSummary","e13d9cce-7"),A:e.p({processId:n.processId,summaryType:n.summaryType})}:{},{B:"流程评论"===n.tabsName},"流程评论"===n.tabsName?e.e({C:e.f(n.commentList,((s,i,o)=>e.e({a:"e13d9cce-9-"+o+",e13d9cce-8",b:e.p({src:a.baseURL+s.creatorUserHeadIcon}),c:e.t(s.creatorUser),d:s.replyUser},s.replyUser?{e:e.t(s.replyUser),f:e.o((e=>a.openReplyText(s.replyText)),i)}:{},{g:e.f(s.text,((t,s,i)=>e.e({a:"text"==t.type},"text"==t.type?{b:e.t(t.content)}:{},{c:"emjio"==t.type},"emjio"==t.type?{d:t.content}:{},{e:s}))),h:2!=s.isDel},2!=s.isDel?{i:"e13d9cce-10-"+o+",e13d9cce-8",j:e.o((e=>s.image=e),i),k:e.p({disabled:!0,detailed:!0,align:"left",modelValue:s.image})}:{},{l:2!=s.isDel},2!=s.isDel?{m:e.f(s.file,((t,s,i)=>({a:e.t(t.name),b:s,c:e.o((e=>a.openFile(t)),s)})))}:{},{n:e.t(t.$u.timeFormat(s.creatorTime,"yyyy-mm-dd hh:MM:ss")),o:1==s.isDel},1==s.isDel?{p:e.o((e=>a.delComment(s.id,i)),i)}:{},{q:2!=s.isDel},2!=s.isDel?{r:e.o((e=>a.handleReply(s.id,i)),i)}:{},{s:i!=n.commentList.length-1},i!=n.commentList.length-1?{t:"e13d9cce-11-"+o+",e13d9cce-8",v:e.p({"half-width":"100%","margin-top":32,"margin-bottom":32,"use-slot":!1})}:{},{w:i}))),D:e.sr("mescrollRef","e13d9cce-8"),E:e.o(t.mescrollInit),F:e.o(t.downCallback),G:e.o(a.upCallback),H:e.p({sticky:!1,down:n.downOption,up:n.upOption,bottombar:!1}),I:"流程评论"===n.tabsName},"流程评论"===n.tabsName?{J:e.o(((...e)=>a.jumpComment&&a.jumpComment(...e)))}:{}):{},{K:e.sr("ErrorForm","e13d9cce-12"),L:e.o(a.submitErrorForm),M:e.o((e=>n.showErrorForm=e)),N:e.p({modelValue:n.showErrorForm})}))}]]);wx.createPage(p);
{
"navigationBarTitleText": "",
"usingComponents": {
"child-form": "./form",
"flow-info": "../components/flowInfo/index",
"records": "../components/records",
"error-form": "../components/ErrorForm",
"record-summary": "../components/RecordSummary",
"u-tabs": "../../../uni_modules/vk-uview-ui/components/u-tabs/u-tabs",
"u-sticky": "../../../uni_modules/vk-uview-ui/components/u-sticky/u-sticky",
"u-avatar": "../../../uni_modules/vk-uview-ui/components/u-avatar/u-avatar",
"jnpf-upload-img": "../../../components/Jnpf/UploadImg/index",
"u-divider": "../../../uni_modules/vk-uview-ui/components/u-divider/u-divider",
"mescroll-body": "../../../uni_modules/mescroll-uni/components/mescroll-body/mescroll-body"
}
}
\ No newline at end of file
<view class="flowBefore-v"><view class="flow-urgent-value" style="{{'background-color:' + c}}" bindtap="{{d}}"><label style="{{'color:' + b}}">{{a}}</label></view><view wx:if="{{e}}" class="flowBefore-box"><view class="scroll-v" scroll-y><child-form wx:if="{{h}}" class="r" u-r="child" bindeventReceiver="{{g}}" u-i="e13d9cce-0" bind:__l="__l" u-p="{{h}}"/><error-form wx:if="{{l}}" class="r" bindsubmitErrorForm="{{j}}" u-r="ErrorForm" u-i="e13d9cce-1" bind:__l="__l" bindupdateModelValue="{{k}}" u-p="{{l}}"/></view></view><view wx:if="{{m}}" class="flowBefore-box"><view class="u-border-bottom sticky-box"><u-sticky u-s="{{['d']}}" u-i="e13d9cce-2" bind:__l="__l"><u-tabs wx:if="{{o}}" bindchange="{{n}}" u-i="e13d9cce-3,e13d9cce-2" bind:__l="__l" u-p="{{o}}"></u-tabs></u-sticky></view><view><view class="nodeList-v" hidden="{{!v}}"><u-tabs wx:if="{{q}}" bindchange="{{p}}" u-i="e13d9cce-4" bind:__l="__l" u-p="{{q}}"></u-tabs><flow-info wx:if="{{r}}" key="{{s}}" u-i="e13d9cce-5" bind:__l="__l" u-p="{{t}}"></flow-info></view><view wx:if="{{w}}"><records wx:if="{{x}}" u-i="e13d9cce-6" bind:__l="__l" u-p="{{x}}"/></view><view wx:if="{{y}}"><record-summary wx:if="{{A}}" class="r" u-r="recordSummary" u-i="e13d9cce-7" bind:__l="__l" u-p="{{A}}"></record-summary></view><view wx:if="{{B}}"><view class="record-v"><mescroll-body wx:if="{{H}}" class="r" u-s="{{['d']}}" u-r="mescrollRef" bindinit="{{E}}" binddown="{{F}}" bindup="{{G}}" u-i="e13d9cce-8" bind:__l="__l" u-p="{{H}}"><view class="discuss_box"><scroll-view scroll-y="true" style="height:100%"><view wx:for="{{C}}" wx:for-item="item" wx:key="w" class="u-flex-col discuss_list"><view class="u-flex discuss_txt"><view class="discuss_txt_left u-flex"><u-avatar wx:if="{{item.b}}" u-i="{{item.a}}" bind:__l="__l" u-p="{{item.b}}"></u-avatar><label class="uName"><label class="comment-header-color">{{item.c}}</label><label wx:if="{{item.d}}"><label class="replyText comment-content-color">回复</label><label class="replyText comment-header-color">{{item.e}}</label><label class="replyText"><label class="icon-ym icon-ym-chat" bindtap="{{item.f}}"></label></label></label></label></view></view><view class="u-flex-col discuss_content"><view class="msg-text"><view wx:for="{{item.g}}" wx:for-item="item2" wx:key="e"><text wx:if="{{item2.a}}" class="txt comment-content-color">{{item2.b}}</text><image wx:if="{{item2.c}}" class="msg-text-emoji" src="{{item2.d}}"/></view></view><jnpf-upload-img wx:if="{{item.h}}" u-i="{{item.i}}" bind:__l="__l" bindupdateModelValue="{{item.j}}" u-p="{{item.k}}"/><block wx:if="{{item.l}}"><view wx:for="{{item.m}}" wx:for-item="file" wx:key="b" class="jnpf-file-item u-type-primary u-flex u-line-1" bindtap="{{file.c}}"><view class="u-line-1" style="margin-bottom:10rpx">{{file.a}}</view></view></block></view><view class="u-flex discuss_txt time_button"><text class="discuss_txt_left u-flex comment-creator-time">{{item.n}}</text><view><text wx:if="{{item.o}}" class="del" catchtap="{{item.p}}">删除</text><text wx:if="{{item.q}}" class="reply" catchtap="{{item.r}}">回复</text></view></view><u-divider wx:if="{{item.s}}" u-i="{{item.t}}" bind:__l="__l" u-p="{{item.v}}"/></view></scroll-view></view></mescroll-body></view><view wx:if="{{I}}" class="discuss_btn"><button catchtap="{{J}}" class="custom-style">评论</button></view></view><error-form wx:if="{{N}}" class="r" bindsubmitErrorForm="{{L}}" u-r="ErrorForm" u-i="e13d9cce-12" bind:__l="__l" bindupdateModelValue="{{M}}" u-p="{{N}}"/></view></view></view>
\ No newline at end of file
page{background-color:#f0f2f6;height:100%}.flow-urgent-value{position:-webkit-sticky;position:sticky;top:var(--window-top);z-index:200;display:flex;align-items:center;justify-content:center;height:60rpx;font-size:28rpx}.flowBefore-v{display:flex;flex-direction:column}.flowBefore-v .workFlowTitle{width:100%;padding:0 32rpx 32rpx;background-color:#fff;font-size:32rpx;font-weight:700;white-space:pre-wrap;text-align:left}.flowBefore-v .flowBefore-box{height:100%;flex:1;display:flex;flex-direction:column;overflow:hidden;padding-bottom:88rpx}.flowBefore-v .flowBefore-box .sticky-box{z-index:500}.flowBefore-v .swiper-box{height:100vh}.flowBefore-v .swiper-item{flex:1;flex-direction:row}.flowBefore-v .scroll-v{flex:1;flex-direction:column;width:100%;height:100%}.flowBefore-v .flowStatus{position:absolute;top:90rpx;right:0;border:0;margin:20rpx;opacity:.7;z-index:999}.flowBefore-v .flowStatus image{width:200rpx}.flowBefore-v .discuss_btn{background-color:#fff;position:fixed;bottom:0;display:flex;width:100%;z-index:20}.flowBefore-v .discuss_btn .custom-style{background-color:#2979ff;color:#fff;width:100%;border-radius:0!important}.flowBefore-v .discuss_btn .custom-style:after{border:none!important}.flowBefore-v .discuss_btn .content{padding:24rpx;text-align:center}.flowBefore-v .discuss_btn .content .confrim-btn{display:flex;flex-direction:row}.flowBefore-v .discuss_btn .content .confrim-btn .send{flex:1;background-color:#2979ff;color:#fff}.flowBefore-v .discuss_btn .content .confrim-btn .cancel{flex:1}.nodeList-v{background-color:#fff}.record-v{padding:32rpx 32rpx 10rpx;background-color:#fff}.discuss_box .discuss_list .time_button{padding-left:110rpx;margin-top:20rpx;padding-right:10rpx}.discuss_box .discuss_list .discuss_txt{width:100%;justify-content:space-between}.discuss_box .discuss_list .discuss_txt .discuss_txt_left .uName{margin-left:8px;font-size:14px;font-family:PingFang SC;line-height:17rpx}.discuss_box .discuss_list .discuss_txt .discuss_txt_left .uName .replyText{margin-left:8px}.discuss_box .discuss_list .discuss_txt .del{color:red;margin-left:20px}.discuss_box .discuss_list .discuss_txt .reply{margin-left:20px}.discuss_box .discuss_list .discuss_content{font-size:12px;padding-left:70rpx}.discuss_box .discuss_list .discuss_content .img_box{margin:40rpx 0}.msg-text{border-radius:4rpx 30rpx 30rpx;padding:16rpx 32rpx;display:flex;align-items:center;font-size:14px;line-height:17px;font-family:PingFang SC;word-break:break-word;flex-wrap:wrap;background-color:#fff}.msg-text .msg-text-emoji{vertical-align:top;width:48rpx;height:48rpx;display:inline-block}.comment-creator-time{font-size:12px;color:#999;font-family:PingFang SC;line-height:17rpx}.comment-content-color{color:#606266}.comment-header-color{color:#303133}
"use strict";const e=require("../../../common/vendor.js"),s=require("../../../libs/resources.js"),o=require("../../../api/workFlow/flowBefore.js"),t={components:{flowlist:()=>"../components/flowList.js"},mixins:[require("../../../uni_modules/mescroll-uni/components/mescroll-uni/mescroll-mixins.js").MescrollMixin],data:()=>({keyword:"",opType:3,list:[],downOption:{use:!0,auto:!0},upOption:{page:{num:0,size:20,time:null},empty:{use:!0,icon:s.resources.message.nodata,tip:"暂无数据",fixed:!0,top:"300rpx"},textNoMore:"没有更多数据"}}),onShow(){e.index.$on("refresh",(()=>{this.list=[],this.mescroll.resetUpScroll()}))},methods:{upCallback(e){let s={currentPage:e.num,pageSize:e.size,keyword:this.keyword};o.FlowBeforeList(this.opType,s,{load:1==e.num}).then((s=>{this.mescroll.endSuccess(s.data.list.length),1==e.num&&(this.list=[]);const o=s.data.list.map((e=>({flowStatus:this.getFlowStatus(e.status),...e})));this.list=this.list.concat(o)})).catch((()=>{this.mescroll.endErr()}))},getFlowStatus(e){let o;switch(e){case 0:o=s.resources.status.submit;break;case 1:default:o=s.resources.status.review;break;case 2:o=s.resources.status.reviewAdopt;break;case 3:o=s.resources.status.reviewRefuse;break;case 4:case 7:o=s.resources.status.reviewUndo;break;case 5:o=s.resources.status.reviewStop}return o},search(){this.searchTimer&&clearTimeout(this.searchTimer),this.searchTimer=setTimeout((()=>{this.list=[],this.mescroll.resetUpScroll()}),300)}}};if(!Array){(e.resolveComponent("u-search")+e.resolveComponent("flowlist")+e.resolveComponent("mescroll-body"))()}Math||((()=>"../../../uni_modules/vk-uview-ui/components/u-search/u-search.js")+(()=>"../../../uni_modules/mescroll-uni/components/mescroll-body/mescroll-body.js"))();const r=e._export_sfc(t,[["render",function(s,o,t,r,i,l){return{a:e.o(l.search),b:e.o((e=>i.keyword=e)),c:e.p({placeholder:"请输入关键词搜索",height:"72","show-action":!1,"bg-color":"#f0f2f6",shape:"square",modelValue:i.keyword}),d:e.p({list:i.list,opType:i.opType}),e:e.sr("mescrollRef","30e7646f-0"),f:e.o(s.mescrollInit),g:e.o(s.downCallback),h:e.o(l.upCallback),i:e.p({sticky:!0,down:i.downOption,up:i.upOption})}}]]);wx.createPage(r);
{
"navigationBarTitleText": "抄送我的",
"usingComponents": {
"flowlist": "../components/flowList",
"u-search": "../../../uni_modules/vk-uview-ui/components/u-search/u-search",
"mescroll-body": "../../../uni_modules/mescroll-uni/components/mescroll-body/mescroll-body"
}
}
\ No newline at end of file
<view class="flowCopy-v"><mescroll-body wx:if="{{i}}" class="r" u-s="{{['d']}}" u-r="mescrollRef" bindinit="{{f}}" binddown="{{g}}" bindup="{{h}}" u-i="30e7646f-0" bind:__l="__l" u-p="{{i}}"><view class="search-box search-box_sticky"><u-search wx:if="{{c}}" bindchange="{{a}}" u-i="30e7646f-1,30e7646f-0" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}"></u-search></view><flowlist wx:if="{{d}}" u-i="30e7646f-2,30e7646f-0" bind:__l="__l" u-p="{{d}}"/></mescroll-body></view>
\ No newline at end of file
"use strict";const e=require("../../../common/vendor.js"),s=require("../../../libs/resources.js"),o=require("../../../api/workFlow/flowBefore.js"),t={components:{flowlist:()=>"../components/flowList.js"},mixins:[require("../../../uni_modules/mescroll-uni/components/mescroll-uni/mescroll-mixins.js").MescrollMixin],data:()=>({keyword:"",opType:2,list:[],downOption:{use:!0,auto:!0},upOption:{page:{num:0,size:20,time:null},empty:{use:!0,icon:s.resources.message.nodata,tip:"暂无数据",fixed:!0,top:"300rpx"},textNoMore:"没有更多数据",category:""}}),onLoad(e){this.category=e.category},onShow(){e.index.$on("refresh",(()=>{this.list=[],this.mescroll.resetUpScroll()}))},onUnload(){e.index.$off("refresh")},methods:{upCallback(e){let t={currentPage:e.num,pageSize:e.size,keyword:this.keyword,category:this.category};o.FlowBeforeList(this.opType,t,{load:1==e.num}).then((o=>{let t;this.mescroll.endSuccess(o.data.list.length),1==e.num&&(this.list=[]);const r=o.data.list.map((e=>(t=1==e.status?s.resources.status.adopt:10==e.status?s.resources.status.frontSign:13==e.status?s.resources.status.trun:s.resources.status.refuse,{flowStatus:t,...e})));this.list=this.list.concat(r)})).catch((()=>{this.mescroll.endErr()}))},search(){this.searchTimer&&clearTimeout(this.searchTimer),this.searchTimer=setTimeout((()=>{this.list=[],this.mescroll.resetUpScroll()}),300)}}};if(!Array){(e.resolveComponent("u-search")+e.resolveComponent("flowlist")+e.resolveComponent("mescroll-body"))()}Math||((()=>"../../../uni_modules/vk-uview-ui/components/u-search/u-search.js")+(()=>"../../../uni_modules/mescroll-uni/components/mescroll-body/mescroll-body.js"))();const r=e._export_sfc(t,[["render",function(s,o,t,r,i,l){return{a:e.o(l.search),b:e.o((e=>i.keyword=e)),c:e.p({placeholder:"请输入关键词搜索",height:"72","show-action":!1,"bg-color":"#f0f2f6",shape:"square",modelValue:i.keyword}),d:e.p({list:i.list,opType:i.opType}),e:e.sr("mescrollRef","6183ec3c-0"),f:e.o(s.mescrollInit),g:e.o(s.downCallback),h:e.o(l.upCallback),i:e.p({sticky:!0,down:i.downOption,up:i.upOption})}}]]);wx.createPage(r);
{
"navigationBarTitleText": "已办事宜",
"usingComponents": {
"flowlist": "../components/flowList",
"u-search": "../../../uni_modules/vk-uview-ui/components/u-search/u-search",
"mescroll-body": "../../../uni_modules/mescroll-uni/components/mescroll-body/mescroll-body"
}
}
\ No newline at end of file
<view class="flowDone-v"><mescroll-body wx:if="{{i}}" class="r" u-s="{{['d']}}" u-r="mescrollRef" bindinit="{{f}}" binddown="{{g}}" bindup="{{h}}" u-i="6183ec3c-0" bind:__l="__l" u-p="{{i}}"><view class="search-box search-box_sticky"><u-search wx:if="{{c}}" bindchange="{{a}}" u-i="6183ec3c-1,6183ec3c-0" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}"></u-search></view><flowlist wx:if="{{d}}" u-i="6183ec3c-2,6183ec3c-0" bind:__l="__l" u-p="{{d}}"/></mescroll-body></view>
\ No newline at end of file
"use strict";const e=require("../../../common/vendor.js"),s=require("../../../libs/resources.js"),t=require("../../../uni_modules/mescroll-uni/components/mescroll-uni/mescroll-mixins.js"),o=require("../../../api/workFlow/flowLaunch.js"),i={mixins:[t.MescrollMixin],data:()=>({flowStatus:"",downOption:{use:!0,auto:!0},upOption:{page:{num:0,size:10,time:null},empty:{use:!0,icon:s.resources.message.nodata,tip:"暂无数据",fixed:!0,top:"300rpx"},textNoMore:"没有更多数据"},keyword:"",list:[],options:[{text:"删除",style:{backgroundColor:"#dd524d"}}]}),onShow(){e.index.$on("refresh",(()=>{this.list=[],this.mescroll.resetUpScroll()}))},onUnload(){e.index.$off("refresh")},methods:{upCallback(e){let s={currentPage:e.num,pageSize:e.size,keyword:this.keyword};o.FlowLaunchList(s,{load:1==e.num}).then((s=>{this.mescroll.endSuccess(s.data.list.length),1==e.num&&(this.list=[]);const t=s.data.list.map((e=>({flowStatus:this.getFlowStatus(e.status),...e})));this.list=this.list.concat(t)})).catch((()=>{this.mescroll.endErr()}))},getFlowStatus(e){let t;switch(e){case 0:default:t=s.resources.status.submit;break;case 1:t=s.resources.status.review;break;case 2:t=s.resources.status.reviewAdopt;break;case 3:t=s.resources.status.reviewRefuse;break;case 4:case 7:t=s.resources.status.reviewUndo;break;case 5:t=s.resources.status.reviewStop;break;case 6:t=s.resources.status.suspend}return t},handleClick(e){const s=this.list[e];if([1,2,3,5].includes(s.status))return this.$u.toast("流程正在审核,请勿删除"),void(this.list[e].show=!1);o.Delete(s.id).then((s=>{this.$u.toast(s.msg),this.list.splice(e,1),this.list.length||this.mescroll.resetUpScroll()}))},open(e){this.list[e].show=!0,this.list.map(((s,t)=>{e!=t&&(this.list[t].show=!1)}))},search(){this.searchTimer&&clearTimeout(this.searchTimer),this.searchTimer=setTimeout((()=>{this.list=[],this.mescroll.resetUpScroll()}),300)},goDetail(s){let t="-1";[1,2,4,5].includes(s.status)&&(t=0);const o={id:s.id,flowId:s.flowId,opType:t,status:s.status};e.index.navigateTo({url:"/pages/workFlow/flowBefore/index?config="+this.jnpf.base64.encode(JSON.stringify(o))})},getLableValue(e){var s="";switch(e){case 1:default:s="普通";break;case 2:s="重要";break;case 3:s="紧急"}return s}}};if(!Array){(e.resolveComponent("u-search")+e.resolveComponent("u-tag")+e.resolveComponent("uni-swipe-action-item")+e.resolveComponent("uni-swipe-action")+e.resolveComponent("mescroll-body"))()}Math||((()=>"../../../uni_modules/vk-uview-ui/components/u-search/u-search.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-tag/u-tag.js")+(()=>"../../../uni_modules/uni-swipe-action/components/uni-swipe-action-item/uni-swipe-action-item.js")+(()=>"../../../uni_modules/uni-swipe-action/components/uni-swipe-action/uni-swipe-action.js")+(()=>"../../../uni_modules/mescroll-uni/components/mescroll-body/mescroll-body.js"))();const r=e._export_sfc(i,[["render",function(s,t,o,i,r,l){return e.e({a:e.o(l.search),b:e.o((e=>r.keyword=e)),c:e.p({placeholder:"请输入关键词搜索",height:"72","show-action":!1,"bg-color":"#f0f2f6",shape:"square",modelValue:r.keyword}),d:r.list.length>0},r.list.length>0?{e:e.f(r.list,((t,o,i)=>e.e({a:t.delegateUser},t.delegateUser?{b:"67ad976d-4-"+i+",67ad976d-3-"+i,c:e.p({text:"委托",type:"success",size:"mini"})}:{},{d:e.t(l.getLableValue(t.flowUrgent)),e:2==t.flowUrgent?1:"",f:3==t.flowUrgent?1:"",g:e.t(t.fullName),h:e.t(t.thisStep?t.thisStep:""),i:e.t(t.creatorTime?s.$u.timeFormat(t.creatorTime,"yyyy-mm-dd hh:MM:ss"):""),j:t.flowStatus,k:e.o((e=>l.goDetail(t)),t.id),l:"item"+o,m:t.id,n:e.o((e=>l.handleClick(o)),t.id),o:"67ad976d-3-"+i+",67ad976d-2"}))),f:e.p({threshold:0,"right-options":r.options}),g:e.sr("swipeAction","67ad976d-2,67ad976d-0")}:{},{h:e.sr("mescrollRef","67ad976d-0"),i:e.o(s.mescrollInit),j:e.o(s.downCallback),k:e.o(l.upCallback),l:e.p({sticky:!0,down:r.downOption,up:r.upOption})})}]]);wx.createPage(r);
{
"navigationBarTitleText": "我发起的",
"usingComponents": {
"u-search": "../../../uni_modules/vk-uview-ui/components/u-search/u-search",
"u-tag": "../../../uni_modules/vk-uview-ui/components/u-tag/u-tag",
"uni-swipe-action-item": "../../../uni_modules/uni-swipe-action/components/uni-swipe-action-item/uni-swipe-action-item",
"uni-swipe-action": "../../../uni_modules/uni-swipe-action/components/uni-swipe-action/uni-swipe-action",
"mescroll-body": "../../../uni_modules/mescroll-uni/components/mescroll-body/mescroll-body"
}
}
\ No newline at end of file
<view class="flowLaunch-v"><mescroll-body wx:if="{{l}}" class="r" u-s="{{['d']}}" u-r="mescrollRef" bindinit="{{i}}" binddown="{{j}}" bindup="{{k}}" u-i="67ad976d-0" bind:__l="__l" u-p="{{l}}"><view class="search-box search-box_sticky"><u-search wx:if="{{c}}" bindchange="{{a}}" u-i="67ad976d-1,67ad976d-0" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}"></u-search></view><view wx:if="{{d}}" class="flow-list"><view class="flow-list-box"><uni-swipe-action class="r" u-s="{{['d']}}" u-r="swipeAction" u-i="67ad976d-2,67ad976d-0" bind:__l="__l"><uni-swipe-action-item wx:for="{{e}}" wx:for-item="item" wx:key="m" u-s="{{['d']}}" bindclick="{{item.n}}" u-i="{{item.o}}" bind:__l="__l" u-p="{{f}}"><view class="item" bindtap="{{item.k}}" id="{{item.l}}" ref="mydom"><view class="item-left"><view class="item-left-top"><view wx:if="{{item.a}}" class="u-m-r-8"><u-tag wx:if="{{item.c}}" u-i="{{item.b}}" bind:__l="__l" u-p="{{item.c}}"/></view><view class="{{['common-lable', item.e && 'urgent-lable', item.f && 'important-lable']}}">{{item.d}}</view><text class="title u-font-28 u-line-1">{{item.g}}</text></view><text class="title u-line-1 u-font-24">审批节点:<text class="titInner">{{item.h}}</text></text><text class="time title u-font-24">发起时间:<text class="titInner">{{item.i}}</text></text></view><view class="item-right"><image src="{{item.j}}" mode="widthFix" class="item-right-img"></image></view></view></uni-swipe-action-item></uni-swipe-action></view></view></mescroll-body></view>
\ No newline at end of file
page{background-color:#f0f2f6}.flowLaunch-v{width:100%}.flowLaunch-v .flow-list-box{width:95%}.flowLaunch-v .flow-list-box .item-left-top{display:flex;width:100%}.flowLaunch-v .flow-list-box .item-left-top .common-lable{font-size:24rpx;padding:2rpx 8rpx;margin-right:8rpx;border-radius:8rpx;color:#409eff;border:1px solid #409EFF;background-color:#e5f3fe}.flowLaunch-v .flow-list-box .item-left-top .urgent-lable{color:#e6a23c;border:1px solid #E6A23C;background-color:#fef6e5}.flowLaunch-v .flow-list-box .item-left-top .important-lable{color:#f56c6c;border:1px solid #F56C6C;background-color:#fee5e5}.flowLaunch-v .flow-list-box .item-left-top .title{width:unset;flex:1;min-width:0}
"use strict";const e=require("../../../common/vendor.js"),s=require("../../../libs/resources.js"),o=require("../../../api/workFlow/flowBefore.js"),t={components:{flowlist:()=>"../components/flowList.js"},mixins:[require("../../../uni_modules/mescroll-uni/components/mescroll-uni/mescroll-mixins.js").MescrollMixin],data:()=>({keyword:"",opType:1,list:[],downOption:{use:!0,auto:!0},upOption:{page:{num:0,size:20,time:null},empty:{use:!0,icon:s.resources.message.nodata,tip:"暂无数据",fixed:!0,top:"300rpx"},textNoMore:"没有更多数据",category:""}}),onLoad(e){this.category=e.category},onShow(){e.index.$on("refresh",(()=>{this.list=[],this.mescroll.resetUpScroll()}))},onUnload(){e.index.$off("refresh")},methods:{upCallback(e){let t={currentPage:e.num,pageSize:e.size,keyword:this.keyword,category:this.category};o.FlowBeforeList(this.opType,t,{load:1==e.num}).then((o=>{let t;this.mescroll.endSuccess(o.data.list.length),1==e.num&&(this.list=[]);const r=o.data.list.map((e=>(t=1==e.status?s.resources.status.review:6==e.status?s.resources.status.suspend:"",{flowStatus:t,...e})));this.list=this.list.concat(r)})).catch((()=>{this.mescroll.endErr()}))},search(){this.searchTimer&&clearTimeout(this.searchTimer),this.searchTimer=setTimeout((()=>{this.list=[],this.mescroll.resetUpScroll()}),300)}}};if(!Array){(e.resolveComponent("u-search")+e.resolveComponent("flowlist")+e.resolveComponent("mescroll-body"))()}Math||((()=>"../../../uni_modules/vk-uview-ui/components/u-search/u-search.js")+(()=>"../../../uni_modules/mescroll-uni/components/mescroll-body/mescroll-body.js"))();const r=e._export_sfc(t,[["render",function(s,o,t,r,i,l){return{a:e.o(l.search),b:e.o((e=>i.keyword=e)),c:e.p({placeholder:"请输入关键词搜索",height:"72","show-action":!1,"bg-color":"#f0f2f6",shape:"square",modelValue:i.keyword}),d:e.p({list:i.list,opType:i.opType}),e:e.sr("mescrollRef","035f0c00-0"),f:e.o(s.mescrollInit),g:e.o(s.downCallback),h:e.o(l.upCallback),i:e.p({sticky:!0,down:i.downOption,up:i.upOption})}}]]);wx.createPage(r);
{
"navigationBarTitleText": "待办事宜",
"usingComponents": {
"flowlist": "../components/flowList",
"u-search": "../../../uni_modules/vk-uview-ui/components/u-search/u-search",
"mescroll-body": "../../../uni_modules/mescroll-uni/components/mescroll-body/mescroll-body"
}
}
\ No newline at end of file
<view class="flowTodo-v"><mescroll-body wx:if="{{i}}" class="r" u-s="{{['d']}}" u-r="mescrollRef" bindinit="{{f}}" binddown="{{g}}" bindup="{{h}}" u-i="035f0c00-0" bind:__l="__l" u-p="{{i}}"><view class="search-box search-box_sticky"><u-search wx:if="{{c}}" bindchange="{{a}}" u-i="035f0c00-1,035f0c00-0" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}"></u-search></view><flowlist wx:if="{{d}}" u-i="035f0c00-2,035f0c00-0" bind:__l="__l" u-p="{{d}}"/></mescroll-body></view>
\ No newline at end of file
page{background-color:#f0f2f6}.flowTodo-v .flow-list-box{width:95%;margin:20rpx}
"use strict";const e=require("../../../common/vendor.js"),t=require("../../../api/commonWords.js"),i=require("../../../libs/resources.js"),o={data:()=>({placeholder:"请输入",icon:i.resources.message.nodata,customStyle:{color:"red",width:"100%",height:"100%",borderRadius:"0",border:"0"},commonWordsText:"",show2:!1,show:!1,btnTxt:"确认",typeList:[{fullName:"审批前",id:1},{fullName:"审批后",id:2}],props:{label:"nodeName",value:"nodeCode"},list:[{fullName:"重新审批",disabled:!1,name:1},{fullName:"直接提交给我",disabled:!1,name:2}],config:{},dataForm:{fileList:[],handleOpinion:"",signImg:"",copyIds:"",freeApproverUserId:"",branchList:[],candidateList:{},rejectStep:"",freeApproverType:1,rejectType:1},candidateValue:{},selectList:[],selectVal:{},isCandidate:!1,branchList:[],candidateList:[],candidateType:"",seletUserLabel:"选择人员",opinionName:"审批意见",isShow:!0,isBranch:!1,isSign:!1,rejectList:[],isLastAppro:!0,rejectType:1,commonWordsList:[],commonWordsData:{},key:+new Date}),onLoad(t){try{this.config=JSON.parse(decodeURIComponent(t.config))}catch{this.config=JSON.parse(t.config)}this.userInfo=e.index.getStorageSync("userInfo")||{},this.dataForm.signImg=this.userInfo.signImg,this.rejectList=this.config.rejectList.list||[],this.rejectType=this.config.rejectType,this.isLastAppro=this.config.rejectList.isLastAppro,e.index.setNavigationBarTitle({title:this.config.title}),this.btnTxt=this.btnTxt+this.config.title.replace(/\s+/g,""),this.isCandidate=!0,this.candidateType=this.config.candidateType,this.isSign="submit"!==this.config.eventType&&this.config.hasSign,this.config.hasFreeApprover?(this.opinionName="加签原因",this.seletUserLabel="加签人员",this.isBranch=!1):this.isBranch=1==this.candidateType&&"transfer"!==this.config.eventType&&"reject"!==this.config.eventType,3===this.candidateType&&(this.isCandidate=!1),this.candidateList=this.config.candidateList,this.branchList=this.config.branchList||[],this.branchList.length&&(this.branchList=this.branchList.filter((e=>e.isBranchFlow)),this.candidateList=this.config.branchList.filter((e=>!e.isBranchFlow&&e.isCandidates)),this.candidateList=this.candidateList.map((e=>({...e,label:e.nodeName+"审批人"})))),"reject"!==this.config.eventType&&"revoke"!==this.config.eventType&&"recall"!==this.config.eventType&&"submit"!==this.config.eventType&&"transfer"!==this.config.eventType||("transfer"===this.config.eventType&&(this.seletUserLabel="转给谁",this.opinionName="转审原因",this.placeholder="请输入"),"reject"===this.config.eventType&&(this.opinionName="退回意见",this.dataForm.rejectStep=this.rejectList[0][this.props.value],this.dataForm.rejectType=3!=this.rejectType?this.rejectType:1),"recall"===this.config.eventType&&(this.opinionName="撤回原因",this.placeholder="请输入"),"revoke"===this.config.eventType&&(this.opinionName="撤回原因",this.placeholder="请输入")),"approvalCancel"===this.config.eventType&&(this.opinionName="驳回原因",this.placeholder="请输入"),e.index.$on("confirm",((e,t)=>{this.selectConfirm(e,t)})),this.init(),"submit"!==this.config.eventType&&this.config.hasOpinion&&this.getSelector()},onUnload(){e.index.$off("confirm")},methods:{init(){if(1==this.candidateType){let e=[];this.isCandidate=!1;const t=this.candidateList;for(let i=0;i<this.dataForm.branchList.length;i++){e:for(let t=0;t<this.branchList.length;t++){let o=this.branchList[t];if(this.dataForm.branchList[i]===o.nodeId&&o.isCandidates){this.isCandidate=!0,e.push({...o,label:o.nodeName+"审批人"});break e}}this.candidateList=[...t,...e]}}else 2==this.candidateType&&Array.isArray(this.candidateList)&&this.candidateList.length&&(this.isCandidate="freeapprover"!==this.config.eventType,this.candidateList=this.candidateList.map((e=>({...e,label:e.nodeName+"审批人"}))));this.key=+new Date},getSelector(){t.getSelector().then((e=>{this.commonWordsList=e.data.list||[],this.key=+new Date}))},confirm(i){if(this.commonWordsData.commonWordsText=this.commonWordsText,this.commonWordsData.commonWordsType=1,!this.commonWordsText)return this.$u.toast("审批常用语不能为空");(0===this.commonWordsData.id?t.Create:t.Update)(this.commonWordsData).then((t=>{this.show2=!1,this.commonWordsText="",e.index.showToast({title:t.msg,icon:"none",complete:()=>{this.getSelector()}})})).catch((e=>{this.show2=!1,this.getSelector()}))},cancel(){this.show2=!1,this.commonWordsText=""},commonWords(){this.show=!0,this.key=+new Date},selectCommonWord(e){this.dataForm.handleOpinion=this.dataForm.handleOpinion+e.commonWordsText,this.show=!1},delCommonWord(e){t.deleteCommonWordsInfo(e.id).then((e=>{this.$u.toast(e.msg),this.getSelector()}))},editCommonWord(e){this.show2=!0;let t={commonWordsText:"",enabledMark:1,id:0,sortCode:0,systemIds:[],systemNames:[]};e.id?(this.commonWordsText=e.commonWordsText,this.commonWordsData={...e,systemIds:[],systemNames:[]}):(this.commonWordsText="",this.commonWordsData=t)},radioChange(e){this.dataForm.rejectType=e.name},open(e){this.isShow=!e},change(e,t){if(!e.length)return this.dataForm.candidateList={};let i=[];for(let o=0;o<e.length;o++)i.push(e[o]);this.$set(this.dataForm.candidateList,t,i)},branchChange(e){this.dataForm.branchList=e,this.candidateList=[],this.init()},freeApproverChange(e){this.isBranch=!1,this.isCandidate=!1,this.config.hasFreeApprover&&2==e&&this.candidateList.length&&(this.isCandidate=!0,this.candidateType=this.config.candidateType,1==this.candidateType&&this.branchList.length>0&&(this.isBranch=!0))},openSelect(t){this.selectList=[];for(let e in this.selectVal)e===t.nodeId&&(this.selectList=this.selectVal[e]);t.formData=this.config.formData,t.taskId=this.config.taskId,t.selectList=this.selectList,t.candidateList=JSON.stringify(this.candidateList),e.index.navigateTo({url:"/pages/workFlow/candiDateUserSelect/index?data="+encodeURIComponent(JSON.stringify(t))})},selectConfirm(e,t){let i=e,o=[],n=[],s=[];for(let a=0;a<this.candidateList.length;a++)for(let e=0;e<i.length;e++)i[e].nodeId===this.candidateList[a].nodeId&&(n.push(i[e].fullName),s.push(i[e]),this.$set(this.candidateValue,t,n.join(",")),o.push(i[e].id));this.$set(this.selectVal,t,s),this.$set(this.dataForm.candidateList,t,o)},handleClick(t){if("cancel"===t)return e.index.navigateBack();this.isCandidate||delete this.dataForm.candidateList,this.config.hasSign||delete this.dataForm.signImg,this.config.hasFreeApprover||delete this.dataForm.freeApproverType,this.dataForm.copyIds=this.dataForm.copyIds?this.dataForm.copyIds.join():"";let i={...this.dataForm,eventType:this.config.eventType,candidateType:this.candidateType};return"transfer"!==t||this.dataForm.freeApproverUserId.length?this.config.hasFreeApprover&&!this.dataForm.freeApproverUserId.length?this.$u.toast("加签人员不能为空"):this.isBranch&&this.branchList.length&&!this.dataForm.branchList.length?this.$u.toast("分支选择不能为空"):this.isCandidate&&(i.candidateList=this.dataForm.candidateList,!Object.keys(this.dataForm.candidateList).length)?this.$u.toast("候选人不能为空"):"submit"!==this.config.eventType&&this.isSign&&!this.dataForm.signImg?this.$u.toast("签名不能为空"):(1==this.config.type&&(i={...i,...this.config.formData}),i.fileList=i.fileList,e.index.$emit("operate",i),void e.index.navigateBack()):this.$u.toast("转审人员不能为空")}}};if(!Array){(e.resolveComponent("JnpfSelect")+e.resolveComponent("u-form-item")+e.resolveComponent("u-radio")+e.resolveComponent("u-radio-group")+e.resolveComponent("JnpfUserSelect")+e.resolveComponent("u-input")+e.resolveComponent("u-button")+e.resolveComponent("JnpfUploadFile")+e.resolveComponent("JnpfSign")+e.resolveComponent("u-form")+e.resolveComponent("u-icon")+e.resolveComponent("u-popup"))()}Math||((()=>"../../../components/Jnpf/Select/index.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-form-item/u-form-item.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-radio/u-radio.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-radio-group/u-radio-group.js")+(()=>"../../../components/Jnpf/UserSelect/index.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-input/u-input.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-button/u-button.js")+(()=>"../../../components/Jnpf/UploadFile/index.js")+(()=>"../../../components/Jnpf/Sign/index.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-form/u-form.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-icon/u-icon.js")+(()=>"../../../uni_modules/vk-uview-ui/components/u-popup/u-popup.js"))();const n=e._export_sfc(o,[["render",function(t,i,o,n,s,a){return e.e({a:"reject"===s.config.eventType&&s.isLastAppro},"reject"===s.config.eventType&&s.isLastAppro?{b:e.o((e=>s.dataForm.rejectStep=e)),c:e.p({options:s.config.rejectList.list,props:s.props,disabled:2!=s.config.rejectStep,modelValue:s.dataForm.rejectStep}),d:3==s.rejectType?1:"",e:e.p({label:"退回节点"})}:{},{f:3==s.rejectType&&"reject"===s.config.eventType},3==s.rejectType&&"reject"===s.config.eventType?{g:e.f(s.list,((t,i,o)=>({a:e.t(t.fullName),b:e.o((e=>a.radioChange(t)),i),c:i,d:"b4c513a4-4-"+o+",b4c513a4-3",e:e.p({name:t.name,disabled:t.disabled})}))),h:e.o((e=>s.dataForm.rejectType=e)),i:e.p({modelValue:s.dataForm.rejectType})}:{},{j:s.isBranch},s.isBranch?{k:e.o(a.branchChange),l:e.o((e=>s.dataForm.branchList=e)),m:e.p({placeholder:"请选择审批分支",options:s.branchList,multiple:!0,props:s.config.props,modelValue:s.dataForm.branchList}),n:e.p({label:"分支选择",prop:"branch",required:!0})}:{},{o:(s.config.hasFreeApprover||"transfer"===s.config.eventType)&&"revoke"!==s.config.eventType&&"recall"!==s.config.eventType&&"reject"!==s.config.eventType},!s.config.hasFreeApprover&&"transfer"!==s.config.eventType||"revoke"===s.config.eventType||"recall"===s.config.eventType||"reject"===s.config.eventType?{}:{p:e.o(a.open),q:e.o((e=>s.dataForm.freeApproverUserId=e)),r:e.p({modelValue:s.dataForm.freeApproverUserId}),s:e.p({label:s.seletUserLabel,prop:"freeApproverUserId",required:!("transfer"!==s.config.eventType&&!s.config.hasFreeApprover)})},{t:s.config.hasFreeApprover},s.config.hasFreeApprover?{v:e.o(a.freeApproverChange),w:e.o((e=>s.dataForm.freeApproverType=e)),x:e.p({options:s.typeList,modelValue:s.dataForm.freeApproverType}),y:e.p({label:"加签类型"})}:{},{z:"transfer"!==s.config.eventType&&"revoke"!==s.config.eventType&&"recall"!==s.config.eventType&&s.isCandidate},"transfer"!==s.config.eventType&&"revoke"!==s.config.eventType&&"recall"!==s.config.eventType&&s.isCandidate?{A:e.f(s.candidateList,((t,i,o)=>e.e({a:t.hasCandidates},t.hasCandidates?{b:e.o((e=>a.openSelect(t)),i),c:"b4c513a4-12-"+o+",b4c513a4-11-"+o,d:e.o((e=>s.candidateValue[t.nodeId]=e),i),e:e.p({type:"select","select-open":t.selectShow,placeholder:"请选择审批候选人","input-align":"right",modelValue:s.candidateValue[t.nodeId]})}:{f:e.o((e=>a.change(e,t.nodeId)),i),g:e.o(a.open,i),h:"b4c513a4-13-"+o+",b4c513a4-11-"+o,i:e.o((e=>s.candidateValue[t.nodeId]=e),i),j:e.p({multiple:!0,modelValue:s.candidateValue[t.nodeId]})},{k:i,l:"b4c513a4-11-"+o+",b4c513a4-0",m:e.p({prop:"comInput",label:t.nodeName,required:!0})})))}:{},{B:"submit"!==s.config.eventType&&s.config.hasOpinion},"submit"!==s.config.eventType&&s.config.hasOpinion?e.e({C:e.o((e=>s.dataForm.handleOpinion=e)),D:e.p({type:"textarea",placeholder:s.placeholder,"input-align":"right",modelValue:s.dataForm.handleOpinion}),E:"transfer"!=s.config.eventType&&"recall"!=s.config.eventType&&"revoke"!==s.config.eventType&&"approvalCancel"!==s.config.eventType},"transfer"!=s.config.eventType&&"recall"!=s.config.eventType&&"revoke"!==s.config.eventType&&"approvalCancel"!==s.config.eventType?{F:e.o(a.commonWords),G:e.p({size:"mini"})}:{},{H:e.p({label:s.opinionName,prop:"handleOpinion"})}):{},{I:"submit"!==s.config.eventType&&s.config.hasOpinion},"submit"!==s.config.eventType&&s.config.hasOpinion?{J:e.o((e=>s.dataForm.fileList=e)),K:e.p({limit:3,modelValue:s.dataForm.fileList}),L:e.p({label:s.config.title+"附件",prop:"fileList"})}:{},{M:s.config.isCustomCopy&&"transfer"!==s.config.eventType&&"revoke"!==s.config.eventType&&"recall"!==s.config.eventType},s.config.isCustomCopy&&"transfer"!==s.config.eventType&&"revoke"!==s.config.eventType&&"recall"!==s.config.eventType?{N:e.o(a.open),O:e.o((e=>s.dataForm.copyIds=e)),P:e.p({multiple:!0,modelValue:s.dataForm.copyIds}),Q:e.p({label:"抄送人员",prop:"copyIds"})}:{},{R:s.isSign},s.isSign?{S:e.o((e=>s.dataForm.signImg=e)),T:e.p({isInvoke:!0,modelValue:s.dataForm.signImg}),U:e.p({label:"签名",prop:"signImg",required:!0})}:{},{V:e.sr("dataForm","b4c513a4-0"),W:e.p({model:s.dataForm,"label-position":"left","label-width":"150"}),X:s.isShow},s.isShow?e.e({Y:"submit"!==s.config.eventType},"submit"!==s.config.eventType?{Z:e.t(s.btnTxt),aa:e.o((e=>a.handleClick(s.config.eventType))),ab:e.p({type:"primary"})}:{}):{},{ac:s.isShow},s.isShow?e.e({ad:"submit"===s.config.eventType},"submit"===s.config.eventType?{ae:e.o((e=>a.handleClick("cancel"))),af:e.o((e=>a.handleClick(s.config.eventType))),ag:e.p({type:"primary"})}:{}):{},{ah:e.p({name:"plus-circle-fill",color:"#81d3f8",size:"28"}),ai:e.o(((...e)=>a.editCommonWord&&a.editCommonWord(...e))),aj:s.commonWordsList.length>0},s.commonWordsList.length>0?{ak:e.f(s.commonWordsList,((t,i,o)=>e.e({a:e.t(t.commonWordsText),b:e.o((e=>a.selectCommonWord(t)),i),c:1==t.commonWordsType},1==t.commonWordsType?{d:e.o((e=>a.editCommonWord(t)),i)}:{},{e:1==t.commonWordsType},1==t.commonWordsType?{f:e.o((e=>a.delCommonWord(t)),i)}:{},{g:i})))}:{},{al:s.commonWordsList.length<=0},s.commonWordsList.length<=0?{am:s.icon}:{},{an:e.o((e=>s.show=e)),ao:e.p({mode:"bottom","border-radius":"14",height:"700rpx",closeable:!0,"mask-close-able":!1,modelValue:s.show}),ap:e.o((e=>s.commonWordsText=e)),aq:e.p({type:"textarea",placeholder:"请输入内容","auto-height":!1,maxlength:"99999",height:"150","input-align":"right",modelValue:s.commonWordsText}),ar:e.o(((...e)=>a.cancel&&a.cancel(...e))),as:e.o(((...e)=>a.confirm&&a.confirm(...e))),at:s.key,av:e.o((e=>s.show2=e)),aw:e.p({mode:"center",width:"500rpx","border-radius":"24",modelValue:s.show2})})}]]);wx.createPage(n);
{
"navigationBarTitleText": "",
"usingComponents": {
"jnpf-select": "../../../components/Jnpf/Select/index",
"u-form-item": "../../../uni_modules/vk-uview-ui/components/u-form-item/u-form-item",
"u-radio": "../../../uni_modules/vk-uview-ui/components/u-radio/u-radio",
"u-radio-group": "../../../uni_modules/vk-uview-ui/components/u-radio-group/u-radio-group",
"jnpf-user-select": "../../../components/Jnpf/UserSelect/index",
"u-input": "../../../uni_modules/vk-uview-ui/components/u-input/u-input",
"u-button": "../../../uni_modules/vk-uview-ui/components/u-button/u-button",
"jnpf-upload-file": "../../../components/Jnpf/UploadFile/index",
"jnpf-sign": "../../../components/Jnpf/Sign/index",
"u-form": "../../../uni_modules/vk-uview-ui/components/u-form/u-form",
"u-icon": "../../../uni_modules/vk-uview-ui/components/u-icon/u-icon",
"u-popup": "../../../uni_modules/vk-uview-ui/components/u-popup/u-popup"
}
}
\ No newline at end of file
<view class="operate-v"><view class="jnpf-wrap"><u-form wx:if="{{W}}" class="r" u-s="{{['d']}}" u-r="dataForm" u-i="b4c513a4-0" bind:__l="__l" u-p="{{W}}"><view class="u-p-l-20 u-p-r-20 form-item-box"><u-form-item wx:if="{{a}}" u-s="{{['d']}}" class="{{[d && 'form-item']}}" u-i="b4c513a4-1,b4c513a4-0" bind:__l="__l" u-p="{{e}}"><jnpf-select wx:if="{{c}}" u-i="b4c513a4-2,b4c513a4-1" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}"/></u-form-item></view><view wx:if="{{f}}" class="reject"><view class=""><u-radio-group wx:if="{{i}}" u-s="{{['d']}}" u-i="b4c513a4-3,b4c513a4-0" bind:__l="__l" bindupdateModelValue="{{h}}" u-p="{{i}}"><u-radio wx:for="{{g}}" wx:for-item="item" wx:key="c" u-s="{{['d']}}" bindchange="{{item.b}}" u-i="{{item.d}}" bind:__l="__l" u-p="{{item.e}}">{{item.a}}</u-radio></u-radio-group></view></view><view class="u-p-l-20 u-p-r-20 form-item-box"><u-form-item wx:if="{{j}}" u-s="{{['d']}}" u-i="b4c513a4-5,b4c513a4-0" bind:__l="__l" u-p="{{n}}"><jnpf-select wx:if="{{m}}" bindchange="{{k}}" u-i="b4c513a4-6,b4c513a4-5" bind:__l="__l" bindupdateModelValue="{{l}}" u-p="{{m}}"/></u-form-item><u-form-item wx:if="{{o}}" u-s="{{['d']}}" u-i="b4c513a4-7,b4c513a4-0" bind:__l="__l" u-p="{{s}}"><jnpf-user-select wx:if="{{r}}" bindopen="{{p}}" u-i="b4c513a4-8,b4c513a4-7" bind:__l="__l" bindupdateModelValue="{{q}}" u-p="{{r}}"/></u-form-item><u-form-item wx:if="{{t}}" u-s="{{['d']}}" u-i="b4c513a4-9,b4c513a4-0" bind:__l="__l" u-p="{{y}}"><jnpf-select wx:if="{{x}}" bindchange="{{v}}" u-i="b4c513a4-10,b4c513a4-9" bind:__l="__l" bindupdateModelValue="{{w}}" u-p="{{x}}"/></u-form-item><block wx:if="{{z}}"><u-form-item wx:for="{{A}}" wx:for-item="item" wx:key="k" u-s="{{['d']}}" u-i="{{item.l}}" bind:__l="__l" u-p="{{item.m}}"><u-input wx:if="{{item.a}}" bindclick="{{item.b}}" u-i="{{item.c}}" bind:__l="__l" bindupdateModelValue="{{item.d}}" u-p="{{item.e}}"/><jnpf-user-select wx:else bindchange="{{item.f}}" bindopen="{{item.g}}" u-i="{{item.h}}" bind:__l="__l" bindupdateModelValue="{{item.i}}" u-p="{{item.j||''}}"/></u-form-item></block><u-form-item wx:if="{{B}}" u-s="{{['d']}}" u-i="b4c513a4-14,b4c513a4-0" bind:__l="__l" u-p="{{H}}"><view class="words-contain"><u-input wx:if="{{D}}" style="flex:1" u-i="b4c513a4-15,b4c513a4-14" bind:__l="__l" bindupdateModelValue="{{C}}" u-p="{{D}}"/><view wx:if="{{E}}" class="u-p-10"><u-button wx:if="{{G}}" u-s="{{['d']}}" bindclick="{{F}}" u-i="b4c513a4-16,b4c513a4-14" bind:__l="__l" u-p="{{G}}">常用语</u-button></view></view></u-form-item><u-form-item wx:if="{{I}}" u-s="{{['d']}}" u-i="b4c513a4-17,b4c513a4-0" bind:__l="__l" u-p="{{L}}"><jnpf-upload-file wx:if="{{K}}" u-i="b4c513a4-18,b4c513a4-17" bind:__l="__l" bindupdateModelValue="{{J}}" u-p="{{K}}"/></u-form-item><u-form-item wx:if="{{M}}" u-s="{{['d']}}" u-i="b4c513a4-19,b4c513a4-0" bind:__l="__l" u-p="{{Q}}"><jnpf-user-select wx:if="{{P}}" bindopen="{{N}}" u-i="b4c513a4-20,b4c513a4-19" bind:__l="__l" bindupdateModelValue="{{O}}" u-p="{{P}}"/></u-form-item><u-form-item wx:if="{{R}}" u-s="{{['d']}}" u-i="b4c513a4-21,b4c513a4-0" bind:__l="__l" u-p="{{U}}"><jnpf-sign wx:if="{{T}}" u-i="b4c513a4-22,b4c513a4-21" bind:__l="__l" bindupdateModelValue="{{S}}" u-p="{{T}}"/></u-form-item></view></u-form></view><view wx:if="{{X}}"><view wx:if="{{Y}}" class="flowBefore-actions"><u-button wx:if="{{ab}}" u-s="{{['d']}}" class="buttom-btn" bindclick="{{aa}}" u-i="b4c513a4-23" bind:__l="__l" u-p="{{ab}}">{{Z}}</u-button></view></view><view wx:if="{{ac}}"><view wx:if="{{ad}}" class="flowBefore-actions"><u-button u-s="{{['d']}}" class="buttom-btn" bindclick="{{ae}}" u-i="b4c513a4-24" bind:__l="__l">取消</u-button><u-button wx:if="{{ag}}" u-s="{{['d']}}" class="buttom-btn" bindclick="{{af}}" u-i="b4c513a4-25" bind:__l="__l" u-p="{{ag}}">确定 </u-button></view></view><u-popup wx:if="{{ao}}" u-s="{{['d']}}" u-i="b4c513a4-26" bind:__l="__l" bindupdateModelValue="{{an}}" u-p="{{ao}}"><view class="u-p-28 hd" style="text-align:center">常用审批语</view><view class="add"><view class="add-inner" bindtap="{{ai}}"><u-icon wx:if="{{ah}}" u-i="b4c513a4-27,b4c513a4-26" bind:__l="__l" u-p="{{ah}}"></u-icon><text class="u-m-l-8">添加常用语</text></view></view><view class="content"><scroll-view scroll-y="true" style="height:480rpx"><view class="commonList u-flex-col"><block wx:if="{{aj}}"><view wx:for="{{ak}}" wx:for-item="item" wx:key="g" class="u-flex item"><view class="txt" bindtap="{{item.b}}">{{item.a}}</view><view wx:if="{{item.c}}" class="icon" catchtap="{{item.d}}"><view class="icon-ym icon-ym-btn-edit" style="color:#81d3f8;font-size:36rpx"></view></view><view wx:if="{{item.e}}" class="icon" catchtap="{{item.f}}"><view class="icon-ym icon-ym-extend-trash" style="color:#e35d4b;font-size:36rpx"></view></view></view></block><view wx:if="{{al}}" class=""><view class="notData-box u-flex-col"><view class="u-flex-col notData-inner"><image src="{{am}}" mode="" class="iconImg"></image><text class="notData-inner-text">暂无数据</text></view></view></view></view></scroll-view></view></u-popup><u-popup wx:if="{{aw}}" u-s="{{['d']}}" key="{{at}}" u-i="b4c513a4-28" bind:__l="__l" bindupdateModelValue="{{av}}" u-p="{{aw}}"><view class="u-flex-col innerPopup-box"><view class="innerPopup-hd"> 审批常用语 </view><view class="innerPopup-content"><u-input wx:if="{{aq}}" u-i="b4c513a4-29,b4c513a4-28" bind:__l="__l" bindupdateModelValue="{{ap}}" u-p="{{aq}}"/></view><view class="u-flex btn-box"><button class="btn" bindtap="{{ar}}">取消</button><button class="btn btn2" bindtap="{{as}}">确定</button></view></view></u-popup></view>
\ No newline at end of file
page{height:100%}.form-item:after{border-bottom-width:0px!important}.reject{text-align:center;background-color:#fff;padding:20rpx 32rpx;border-bottom:2rpx solid #f4f6f8}.reject .active{color:#1890ff}.operate-v{height:100vh;overflow-y:scroll;display:flex;flex-direction:column}.operate-v .flowBefore-actions{z-index:0}.operate-v .operate-area{flex:1}.operate-v .words-contain{display:flex;flex:1}.operate-v .hd{border-bottom:2rpx solid #f2f2f2}.operate-v .add{width:100%;border-bottom:2rpx solid #f2f2f2;display:flex;flex-direction:row;justify-content:flex-start;padding:20rpx}.operate-v .add .add-inner{width:30%}.operate-v .commonList{width:100%}.operate-v .commonList .item{width:100%;padding:20rpx;border-bottom:2rpx solid #f2f2f2}.operate-v .commonList .item .txt{width:90%;word-wrap:break-word}.operate-v .commonList .item .icon{width:60rpx;text-align:right}.operate-v .commonList .notData-box{width:100%;height:100%;justify-content:center;align-items:center;padding-top:100rpx}.operate-v .commonList .notData-box .notData-inner{width:280rpx;height:308rpx;align-items:center}.operate-v .commonList .notData-box .notData-inner .iconImg{width:100%;height:100%}.operate-v .commonList .notData-box .notData-inner .notData-inner-text{padding:30rpx 0;color:#909399}.operate-v .innerPopup-box{justify-content:space-between;box-sizing:border-box;overflow:hidden}.operate-v .innerPopup-box .innerPopup-hd{height:80rpx;background-color:#f2f2f2;border-bottom:1px solid #f0f2f6;padding:0 20rpx;line-height:80rpx}.operate-v .innerPopup-box .innerPopup-content{padding:0 20rpx}.operate-v .innerPopup-box .btn-box{width:100%}.operate-v .innerPopup-box .btn-box .btn{width:100%;height:72rpx;border-radius:0 0 0 24rpx!important;font-size:28rpx}.operate-v .innerPopup-box .btn-box .btn:after{border-radius:0!important}.operate-v .innerPopup-box .btn-box .btn2{background-color:#409eff;color:#fff;border-radius:0 0 24rpx!important}
"use strict";const o=require("../../../api/workFlow/flowEngine.js"),e=require("../../../common/vendor.js"),r={name:"scanForm",components:{childForm:()=>"../flowBefore/form.js"},data:()=>({webType:"",origin:"",config:{},formConf:{},flowConfig:{},isShow:!1,dataSource:""}),onLoad(o){let e=JSON.parse(o.config);this.initData(e)},methods:{initData(e){o.flowForm(e.id).then((o=>{const r="propertyJson"===e.ds?"propertyJson":"draftJson";o.data&&o.data[r]&&(this.config={formEnCode:o.data.enCode,flowId:o.data.id,formConf:o.data[r],formType:o.data.formType,fullName:o.data.fullName},this.isShow=!0)}))}}};if(!Array){e.resolveComponent("childForm")()}const n=e._export_sfc(r,[["render",function(o,r,n,a,t,i){return e.e({a:t.isShow},t.isShow?{b:e.sr("child","dc2b0be6-0"),c:e.p({config:t.config})}:{})}]]);wx.createPage(n);
{
"navigationBarTitleText": "预览页面",
"usingComponents": {
"child-form": "../flowBefore/form"
}
}
\ No newline at end of file
<view class="dynamicModel-v"><view wx:if="{{a}}" class="jnpf-wrap jnpf-wrap-form"><child-form wx:if="{{c}}" class="r" u-r="child" u-i="dc2b0be6-0" bind:__l="__l" u-p="{{c}}"/></view></view>
\ No newline at end of file
page{background-color:#f0f2f6}.dynamicModel-v{height:100%}
"use strict";const e=require("../../../../common/vendor.js"),o=require("../mixin.js"),d=require("../../../../api/apply/order.js"),t={name:"crmOrder",mixins:[o.comMixin],data:()=>({hide:!1,billEnCode:"OrderNumber",dataForm:{id:"",customerName:"",salesmanId:"",orderDate:"",orderCode:"",paymentMode:"",receivableMoney:"",earnestRate:"",prepayEarnest:"",transportMode:"",deliveryDate:"",deliveryAddress:"",description:"",customerId:"",salesmanName:"",goodsList:[],collectionPlanList:[],fileJson:""},rules:{customerId:[{required:!0,message:"客户名称不能为空",trigger:"input"}],salesmanId:[{required:!0,message:"业务人员不能为空",trigger:"input"}],orderDate:[{required:!0,message:"订单日期不能为空",trigger:"change",type:"number"}],paymentMode:[{required:!0,message:"付款方式不能为空",trigger:"input"}]},options:[{id:"现金",fullName:"现金"},{id:"转帐",fullName:"转帐"},{id:"汇票",fullName:"汇票"}],transportOptions:[{id:"快递",fullName:"快递"},{id:"物流",fullName:"物流"},{id:"配送",fullName:"配送"},{id:"自提",fullName:"自提"}],props:{label:"text",value:"id",children:"children"},goodsOptions:[],customerOptions:[]}),created(){e.index.showLoading({title:"正在加载.....",mask:!0}),setTimeout((()=>{this.hide=!0,this.initData(),e.index.hideLoading()}),800)},methods:{initData(){d.getGoodsList().then((e=>{this.goodsOptions=e.data.list})),d.getCustomerList().then((e=>{this.customerOptions=e.data.list}))},selfInit(){this.addGoods(),this.addPlan()},onChange(e,o){this.dataForm.salesmanName=o.fullName},addGoods(){this.dataForm.goodsList.push({goodsId:"",goodsCode:"",goodsName:"",specifications:"",unit:"",qty:"",price:"",amount:"",discount:null,cess:null,actualPrice:"",actualAmount:"",description:""})},delGoods(e){this.dataForm.goodsList.splice(e,1)},addPlan(){this.dataForm.collectionPlanList.push({receivableDate:"",receivableRate:"",receivableMoney:"",receivableMode:"",abstract:""})},delPlan(e){this.dataForm.collectionPlanList.splice(e,1)},onGoodsChange(e,o){const d=e[0];this.dataForm.goodsList[o]={goodsId:d.id,goodsCode:d.code,goodsName:d.text,specifications:d.specifications,unit:d.unit,qty:1,price:d.price,amount:d.price,discount:100,cess:0,actualPrice:d.price,actualAmount:d.price,description:""},this.$forceUpdate()},onCustomerChange(e,o){this.dataForm.customerName=o.text},count(e){e.amount=this.jnpf.toDecimal(parseFloat(e.price)*parseFloat(e.qty));var o=e.price*(e.discount/100);e.actualPrice=this.jnpf.toDecimal(o*(1+e.cess/100)),e.actualAmount=this.jnpf.toDecimal(parseFloat(e.actualPrice)*parseFloat(e.qty)),this.$forceUpdate()}}};if(!Array){(e.resolveComponent("u-input")+e.resolveComponent("u-form-item")+e.resolveComponent("JnpfTreeSelect")+e.resolveComponent("JnpfUserSelect")+e.resolveComponent("JnpfDatePicker")+e.resolveComponent("JnpfSelect")+e.resolveComponent("JnpfUploadFile")+e.resolveComponent("u-icon")+e.resolveComponent("u-form"))()}Math||((()=>"../../../../uni_modules/vk-uview-ui/components/u-input/u-input.js")+(()=>"../../../../uni_modules/vk-uview-ui/components/u-form-item/u-form-item.js")+(()=>"../../../../components/Jnpf/TreeSelect/index.js")+(()=>"../../../../components/Jnpf/UserSelect/index.js")+(()=>"../../../../components/Jnpf/DatePicker/index.js")+(()=>"../../../../components/Jnpf/Select/index.js")+(()=>"../../../../components/Jnpf/UploadFile/index.js")+(()=>"../../../../uni_modules/vk-uview-ui/components/u-icon/u-icon.js")+(()=>"../../../../uni_modules/vk-uview-ui/components/u-form/u-form.js"))();const a=e._export_sfc(t,[["render",function(o,d,t,a,i,r){return e.e({a:o.judgeShow("orderCode")},o.judgeShow("orderCode")?{b:e.o((e=>i.dataForm.orderCode=e)),c:e.p({placeholder:"订单编码",disabled:!0,"input-align":"right",modelValue:i.dataForm.orderCode}),d:e.p({label:"订单编码",prop:"orderCode",required:o.requiredList.orderCode})}:{},{e:o.judgeShow("customerName")},o.judgeShow("customerName")?{f:e.o(r.onCustomerChange),g:e.o((e=>i.dataForm.customerId=e)),h:e.p({placeholder:"请选择客户名称",options:i.customerOptions,props:i.props,disabled:o.judgeWrite("customerName"),modelValue:i.dataForm.customerId}),i:e.p({label:"客户名称",prop:"customerId",required:o.requiredList.customerName})}:{},{j:o.judgeShow("salesmanId")},o.judgeShow("salesmanId")?{k:e.o(r.onChange),l:e.o((e=>i.dataForm.salesmanId=e)),m:e.p({placeholder:"请选择业务人员",disabled:o.judgeWrite("salesmanId"),modelValue:i.dataForm.salesmanId}),n:e.p({label:"业务人员",prop:"salesmanId",required:o.requiredList.salesmanId})}:{},{o:o.judgeShow("orderDate")},o.judgeShow("orderDate")?{p:e.o((e=>i.dataForm.orderDate=e)),q:e.p({format:"yyyy-MM-dd",placeholder:"请选择订单日期",disabled:o.judgeWrite("orderDate"),modelValue:i.dataForm.orderDate}),r:e.p({label:"订单日期",prop:"orderDate",required:o.requiredList.orderDate})}:{},{s:o.judgeShow("paymentMode")},o.judgeShow("paymentMode")?{t:e.o((e=>i.dataForm.paymentMode=e)),v:e.p({placeholder:"请选择付款方式",options:i.options,disabled:o.judgeWrite("paymentMode"),modelValue:i.dataForm.paymentMode}),w:e.p({label:"付款方式",prop:"paymentMode",required:o.requiredList.paymentMode})}:{},{x:o.judgeShow("receivableMoney")},o.judgeShow("receivableMoney")?{y:e.o((e=>i.dataForm.receivableMoney=e)),z:e.p({type:"number",placeholder:"付款金额",disabled:o.judgeWrite("receivableMoney"),"input-align":"right",modelValue:i.dataForm.receivableMoney}),A:e.p({label:"付款金额",prop:"receivableMoney",required:o.requiredList.receivableMoney})}:{},{B:o.judgeShow("earnestRate")},o.judgeShow("earnestRate")?{C:e.o((e=>i.dataForm.earnestRate=e)),D:e.p({type:"number",placeholder:"请输入定金比率",disabled:o.judgeWrite("earnestRate"),"input-align":"right",modelValue:i.dataForm.earnestRate}),E:e.p({label:"定金比率",prop:"earnestRate",required:o.requiredList.earnestRate})}:{},{F:o.judgeShow("prepayEarnest")},o.judgeShow("prepayEarnest")?{G:e.o((e=>i.dataForm.prepayEarnest=e)),H:e.p({type:"number",placeholder:"请输入预付定金",disabled:o.judgeWrite("prepayEarnest"),"input-align":"right",modelValue:i.dataForm.prepayEarnest}),I:e.p({label:"预付定金",prop:"prepayEarnest",required:o.requiredList.prepayEarnest})}:{},{J:o.judgeShow("transportMode")},o.judgeShow("transportMode")?{K:e.o((e=>i.dataForm.transportMode=e)),L:e.p({placeholder:"请选择运输方式",options:i.transportOptions,disabled:o.judgeWrite("transportMode"),modelValue:i.dataForm.transportMode}),M:e.p({label:"运输方式",prop:"transportMode",required:o.requiredList.transportMode})}:{},{N:o.judgeShow("deliveryDate")},o.judgeShow("deliveryDate")?{O:e.o((e=>i.dataForm.deliveryDate=e)),P:e.p({format:"yyyy-MM-dd",placeholder:"请选择发货日期",disabled:o.judgeWrite("deliveryDate"),modelValue:i.dataForm.deliveryDate}),Q:e.p({label:"发货日期",prop:"deliveryDate",required:o.requiredList.deliveryDate})}:{},{R:o.judgeShow("deliveryAddress")},o.judgeShow("deliveryAddress")?{S:e.o((e=>i.dataForm.deliveryAddress=e)),T:e.p({type:"textarea",placeholder:"请输入发货地址",disabled:o.judgeWrite("deliveryAddress"),"input-align":"right",modelValue:i.dataForm.deliveryAddress}),U:e.p({label:"发货地址",prop:"deliveryAddress",required:o.requiredList.deliveryAddress})}:{},{V:o.judgeShow("description")},o.judgeShow("description")?{W:e.o((e=>i.dataForm.description=e)),X:e.p({type:"textarea",placeholder:"请输入订单备注",disabled:o.judgeWrite("description"),"input-align":"right",modelValue:i.dataForm.description}),Y:e.p({label:"订单备注",prop:"description",required:o.requiredList.description})}:{},{Z:e.o((e=>o.fileList=e)),aa:e.p({disabled:o.judgeWrite("fileJson"),modelValue:o.fileList}),ab:e.p({label:"相关附件",prop:"fileJson",required:o.requiredList.fileJson}),ac:o.judgeShow("goodsList")},o.judgeShow("goodsList")?e.e({ad:e.f(i.dataForm.goodsList,((d,t,a)=>e.e({a:e.t(t+1)},i.dataForm.goodsList.length>1&&!o.judgeWrite("goodsList")?{b:e.o((e=>r.delGoods(t)),t)}:{},{c:e.o((e=>r.onGoodsChange(e,t)),t),d:"f5df8074-28-"+a+",f5df8074-27-"+a,e:e.o((e=>i.dataForm.goodsList[t].goodsId=e),t),f:e.p({placeholder:"请选择商品名称",options:i.goodsOptions,props:i.props,disabled:o.judgeWrite("goodsList"),modelValue:i.dataForm.goodsList[t].goodsId}),g:"f5df8074-27-"+a+",f5df8074-0",h:"f5df8074-30-"+a+",f5df8074-29-"+a,i:e.o((e=>i.dataForm.goodsList[t].specifications=e),t),j:e.p({placeholder:"规格型号",disabled:o.judgeWrite("goodsList"),"input-align":"right",modelValue:i.dataForm.goodsList[t].specifications}),k:"f5df8074-29-"+a+",f5df8074-0",l:"f5df8074-32-"+a+",f5df8074-31-"+a,m:e.o((e=>i.dataForm.goodsList[t].unit=e),t),n:e.p({placeholder:"单位",disabled:o.judgeWrite("goodsList"),"input-align":"right",modelValue:i.dataForm.goodsList[t].unit}),o:"f5df8074-31-"+a+",f5df8074-0",p:e.o((e=>r.count(i.dataForm.goodsList[t])),t),q:"f5df8074-34-"+a+",f5df8074-33-"+a,r:e.o((e=>i.dataForm.goodsList[t].qty=e),t),s:e.p({placeholder:"数量",type:"number",disabled:o.judgeWrite("goodsList"),"input-align":"right",modelValue:i.dataForm.goodsList[t].qty}),t:"f5df8074-33-"+a+",f5df8074-0",v:e.o((e=>r.count(i.dataForm.goodsList[t])),t),w:"f5df8074-36-"+a+",f5df8074-35-"+a,x:e.o((e=>i.dataForm.goodsList[t].price=e),t),y:e.p({placeholder:"单价",type:"number",disabled:o.judgeWrite("goodsList"),"input-align":"right",modelValue:i.dataForm.goodsList[t].price}),z:"f5df8074-35-"+a+",f5df8074-0",A:"f5df8074-38-"+a+",f5df8074-37-"+a,B:e.o((e=>i.dataForm.goodsList[t].amount=e),t),C:e.p({placeholder:"金额",disabled:!0,"input-align":"right",modelValue:i.dataForm.goodsList[t].amount}),D:"f5df8074-37-"+a+",f5df8074-0",E:e.o((e=>r.count(i.dataForm.goodsList[t])),t),F:"f5df8074-40-"+a+",f5df8074-39-"+a,G:e.o((e=>i.dataForm.goodsList[t].discount=e),t),H:e.p({placeholder:"折扣",type:"number",disabled:o.judgeWrite("goodsList"),"input-align":"right",modelValue:i.dataForm.goodsList[t].discount}),I:"f5df8074-39-"+a+",f5df8074-0",J:e.o((e=>r.count(i.dataForm.goodsList[t])),t),K:"f5df8074-42-"+a+",f5df8074-41-"+a,L:e.o((e=>i.dataForm.goodsList[t].cess=e),t),M:e.p({placeholder:"税率",type:"number",disabled:o.judgeWrite("goodsList"),"input-align":"right",modelValue:i.dataForm.goodsList[t].cess}),N:"f5df8074-41-"+a+",f5df8074-0",O:"f5df8074-44-"+a+",f5df8074-43-"+a,P:e.o((e=>i.dataForm.goodsList[t].actualPrice=e),t),Q:e.p({placeholder:"实际单价",disabled:!0,"input-align":"right",modelValue:i.dataForm.goodsList[t].actualPrice}),R:"f5df8074-43-"+a+",f5df8074-0",S:"f5df8074-46-"+a+",f5df8074-45-"+a,T:e.o((e=>i.dataForm.goodsList[t].actualAmount=e),t),U:e.p({placeholder:"实际金额",disabled:!0,"input-align":"right",modelValue:i.dataForm.goodsList[t].actualAmount}),V:"f5df8074-45-"+a+",f5df8074-0",W:"f5df8074-48-"+a+",f5df8074-47-"+a,X:e.o((e=>i.dataForm.goodsList[t].description=e),t),Y:e.p({placeholder:"备注",type:"textarea",disabled:o.judgeWrite("goodsList"),"input-align":"right",modelValue:i.dataForm.goodsList[t].description}),Z:"f5df8074-47-"+a+",f5df8074-0",aa:t}))),ae:i.dataForm.goodsList.length>1&&!o.judgeWrite("goodsList"),af:e.p({label:"商品名称",prop:"dataForm.goodsList[i].goodsId",required:o.requiredList["goodsList-goodsId"]}),ag:e.p({label:"规格型号",prop:"dataForm.goodsList[i].specifications",required:o.requiredList["goodsList-specifications"]}),ah:e.p({label:"单位",prop:"dataForm.goodsList[i].unit",required:o.requiredList["goodsList-unit"]}),ai:e.p({label:"数量",prop:"dataForm.goodsList[i].qty",required:o.requiredList["goodsList-qty"]}),aj:e.p({label:"单价",prop:"dataForm.goodsList[i].price",required:o.requiredList["goodsList-price"]}),ak:e.p({label:"金额",prop:"dataForm.goodsList[i].amount",required:o.requiredList["goodsList-amount"]}),al:e.p({label:"折扣%",prop:"dataForm.goodsList[i].discount",required:o.requiredList["goodsList-discount"]}),am:e.p({label:"税率%",prop:"dataForm.goodsList[i].cess",required:o.requiredList["goodsList-cess"]}),an:e.p({label:"实际单价",prop:"dataForm.goodsList[i].actualPrice",required:o.requiredList["goodsList-actualPrice"]}),ao:e.p({label:"实际金额",prop:"dataForm.goodsList[i].actualAmount",required:o.requiredList["goodsList-actualAmount"]}),ap:e.p({label:"备注",prop:"dataForm.goodsList[i].description",required:o.requiredList["goodsList-description"]}),aq:!o.judgeWrite("goodsList")},o.judgeWrite("goodsList")?{}:{ar:e.p({name:"plus",color:"#2979ff"}),as:e.o(((...e)=>r.addGoods&&r.addGoods(...e)))}):{},{at:o.judgeShow("collectionPlanList")},o.judgeShow("collectionPlanList")?e.e({av:e.f(i.dataForm.collectionPlanList,((d,t,a)=>e.e({a:e.t(t+1)},i.dataForm.collectionPlanList.length>1?{b:e.o((e=>r.delPlan(t)),t)}:{},{c:"f5df8074-51-"+a+",f5df8074-50-"+a,d:e.o((e=>i.dataForm.collectionPlanList[t].receivableDate=e),t),e:e.p({format:"yyyy-MM-dd HH:mm:ss",placeholder:"请选择收款日期",disabled:o.judgeWrite("collectionPlanList"),modelValue:i.dataForm.collectionPlanList[t].receivableDate}),f:"f5df8074-50-"+a+",f5df8074-0",g:"f5df8074-53-"+a+",f5df8074-52-"+a,h:e.o((e=>i.dataForm.collectionPlanList[t].receivableRate=e),t),i:e.p({placeholder:"收款比率",type:"number",disabled:o.judgeWrite("collectionPlanList"),"input-align":"right",modelValue:i.dataForm.collectionPlanList[t].receivableRate}),j:"f5df8074-52-"+a+",f5df8074-0",k:"f5df8074-55-"+a+",f5df8074-54-"+a,l:e.o((e=>i.dataForm.collectionPlanList[t].receivableMoney=e),t),m:e.p({placeholder:"收款金额",type:"number",disabled:o.judgeWrite("collectionPlanList"),"input-align":"right",modelValue:i.dataForm.collectionPlanList[t].receivableMoney}),n:"f5df8074-54-"+a+",f5df8074-0",o:"f5df8074-57-"+a+",f5df8074-56-"+a,p:e.o((e=>i.dataForm.collectionPlanList[t].receivableMode=e),t),q:e.p({placeholder:"请选择收款方式",options:i.options,disabled:o.judgeWrite("collectionPlanList"),modelValue:i.dataForm.collectionPlanList[t].receivableMode}),r:"f5df8074-56-"+a+",f5df8074-0",s:"f5df8074-59-"+a+",f5df8074-58-"+a,t:e.o((e=>i.dataForm.collectionPlanList[t].abstract=e),t),v:e.p({placeholder:"收款摘要",type:"textarea",disabled:o.judgeWrite("collectionPlanList"),"input-align":"right",modelValue:i.dataForm.collectionPlanList[t].abstract}),w:"f5df8074-58-"+a+",f5df8074-0",x:t}))),aw:i.dataForm.collectionPlanList.length>1,ax:e.p({label:"收款日期",prop:"dataForm.collectionPlanList[i].receivableDate",required:o.requiredList["collectionPlanList-receivableDate"]}),ay:e.p({label:"收款比率%",prop:"dataForm.collectionPlanList[i].receivableRate",required:o.requiredList["collectionPlanList-receivableRate"]}),az:e.p({label:"收款金额",prop:"dataForm.collectionPlanList[i].receivableMoney",required:o.requiredList["collectionPlanList-receivableMoney"]}),aA:e.p({label:"收款方式",prop:"dataForm.collectionPlanList[i].receivableMode",required:o.requiredList["collectionPlanList-receivableMode"]}),aB:e.p({label:"收款摘要",prop:"dataForm.collectionPlanList[i].abstract",required:o.requiredList["collectionPlanList-abstract"]}),aC:!o.judgeWrite("collectionPlanList")},o.judgeWrite("collectionPlanList")?{}:{aD:e.p({name:"plus",color:"#2979ff"}),aE:e.o(((...e)=>r.addPlan&&r.addPlan(...e)))}):{},{aF:e.sr("dataForm","f5df8074-0"),aG:i.hide,aH:e.p({model:i.dataForm,rules:i.rules,errorType:["toast"],"label-position":"left","label-width":"150","label-align":"left"})})}]]);wx.createComponent(a);
{
"component": true,
"usingComponents": {
"u-input": "../../../../uni_modules/vk-uview-ui/components/u-input/u-input",
"u-form-item": "../../../../uni_modules/vk-uview-ui/components/u-form-item/u-form-item",
"jnpf-tree-select": "../../../../components/Jnpf/TreeSelect/index",
"jnpf-user-select": "../../../../components/Jnpf/UserSelect/index",
"jnpf-date-picker": "../../../../components/Jnpf/DatePicker/index",
"jnpf-select": "../../../../components/Jnpf/Select/index",
"jnpf-upload-file": "../../../../components/Jnpf/UploadFile/index",
"u-icon": "../../../../uni_modules/vk-uview-ui/components/u-icon/u-icon",
"u-form": "../../../../uni_modules/vk-uview-ui/components/u-form/u-form"
}
}
\ No newline at end of file
<view class="jnpf-wrap jnpf-wrap-workflow"><u-form wx:if="{{aH}}" class="r" u-s="{{['d']}}" u-r="dataForm" data-c-h="{{!aG}}" u-i="f5df8074-0" bind:__l="__l" u-p="{{aH}}"><view class="u-p-l-20 u-p-r-20 form-item-box"><u-form-item wx:if="{{a}}" u-s="{{['d']}}" u-i="f5df8074-1,f5df8074-0" bind:__l="__l" u-p="{{d}}"><u-input wx:if="{{c}}" u-i="f5df8074-2,f5df8074-1" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}"></u-input></u-form-item><u-form-item wx:if="{{e}}" u-s="{{['d']}}" u-i="f5df8074-3,f5df8074-0" bind:__l="__l" u-p="{{i}}"><jnpf-tree-select wx:if="{{h}}" bindchange="{{f}}" u-i="f5df8074-4,f5df8074-3" bind:__l="__l" bindupdateModelValue="{{g}}" u-p="{{h}}"/></u-form-item><u-form-item wx:if="{{j}}" u-s="{{['d']}}" u-i="f5df8074-5,f5df8074-0" bind:__l="__l" u-p="{{n}}"><jnpf-user-select wx:if="{{m}}" bindchange="{{k}}" u-i="f5df8074-6,f5df8074-5" bind:__l="__l" bindupdateModelValue="{{l}}" u-p="{{m}}"/></u-form-item><u-form-item wx:if="{{o}}" u-s="{{['d']}}" u-i="f5df8074-7,f5df8074-0" bind:__l="__l" u-p="{{r}}"><jnpf-date-picker wx:if="{{q}}" u-i="f5df8074-8,f5df8074-7" bind:__l="__l" bindupdateModelValue="{{p}}" u-p="{{q}}"/></u-form-item></view><view class="jnpf-card"><view class="u-p-l-20 u-p-r-20 form-item-box"><u-form-item wx:if="{{s}}" u-s="{{['d']}}" u-i="f5df8074-9,f5df8074-0" bind:__l="__l" u-p="{{w}}"><jnpf-select wx:if="{{v}}" u-i="f5df8074-10,f5df8074-9" bind:__l="__l" bindupdateModelValue="{{t}}" u-p="{{v}}"/></u-form-item><u-form-item wx:if="{{x}}" u-s="{{['d']}}" u-i="f5df8074-11,f5df8074-0" bind:__l="__l" u-p="{{A}}"><u-input wx:if="{{z}}" u-i="f5df8074-12,f5df8074-11" bind:__l="__l" bindupdateModelValue="{{y}}" u-p="{{z}}"></u-input></u-form-item><u-form-item wx:if="{{B}}" u-s="{{['d']}}" u-i="f5df8074-13,f5df8074-0" bind:__l="__l" u-p="{{E}}"><u-input wx:if="{{D}}" u-i="f5df8074-14,f5df8074-13" bind:__l="__l" bindupdateModelValue="{{C}}" u-p="{{D}}"></u-input></u-form-item><u-form-item wx:if="{{F}}" u-s="{{['d']}}" u-i="f5df8074-15,f5df8074-0" bind:__l="__l" u-p="{{I}}"><u-input wx:if="{{H}}" u-i="f5df8074-16,f5df8074-15" bind:__l="__l" bindupdateModelValue="{{G}}" u-p="{{H}}"></u-input></u-form-item><u-form-item wx:if="{{J}}" u-s="{{['d']}}" u-i="f5df8074-17,f5df8074-0" bind:__l="__l" u-p="{{M}}"><jnpf-select wx:if="{{L}}" u-i="f5df8074-18,f5df8074-17" bind:__l="__l" bindupdateModelValue="{{K}}" u-p="{{L}}"/></u-form-item><u-form-item wx:if="{{N}}" u-s="{{['d']}}" u-i="f5df8074-19,f5df8074-0" bind:__l="__l" u-p="{{Q}}"><jnpf-date-picker wx:if="{{P}}" u-i="f5df8074-20,f5df8074-19" bind:__l="__l" bindupdateModelValue="{{O}}" u-p="{{P}}"/></u-form-item><u-form-item wx:if="{{R}}" u-s="{{['d']}}" u-i="f5df8074-21,f5df8074-0" bind:__l="__l" u-p="{{U}}"><u-input wx:if="{{T}}" u-i="f5df8074-22,f5df8074-21" bind:__l="__l" bindupdateModelValue="{{S}}" u-p="{{T}}"></u-input></u-form-item><u-form-item wx:if="{{V}}" u-s="{{['d']}}" u-i="f5df8074-23,f5df8074-0" bind:__l="__l" u-p="{{Y}}"><u-input wx:if="{{X}}" u-i="f5df8074-24,f5df8074-23" bind:__l="__l" bindupdateModelValue="{{W}}" u-p="{{X}}"></u-input></u-form-item><u-form-item wx:if="{{ab}}" u-s="{{['d']}}" u-i="f5df8074-25,f5df8074-0" bind:__l="__l" u-p="{{ab}}"><jnpf-upload-file wx:if="{{aa}}" u-i="f5df8074-26,f5df8074-25" bind:__l="__l" bindupdateModelValue="{{Z}}" u-p="{{aa}}"/></u-form-item></view></view><view wx:if="{{ac}}" class="jnpf-table"><view wx:for="{{ad}}" wx:for-item="item" wx:key="aa" class="jnpf-table-item"><view class="jnpf-table-item-title u-flex u-row-between"><text class="jnpf-table-item-title-num">商品添购({{item.a}})</text><view wx:if="{{ae}}" class="jnpf-table-item-title-action" bindtap="{{item.b}}">删除 </view></view><view class="u-p-l-20 u-p-r-20 form-item-box"><u-form-item wx:if="{{af}}" u-s="{{['d']}}" u-i="{{item.g}}" bind:__l="__l" u-p="{{af}}"><jnpf-tree-select wx:if="{{item.f}}" bindchange="{{item.c}}" u-i="{{item.d}}" bind:__l="__l" bindupdateModelValue="{{item.e}}" u-p="{{item.f}}"/></u-form-item><u-form-item wx:if="{{ag}}" u-s="{{['d']}}" u-i="{{item.k}}" bind:__l="__l" u-p="{{ag}}"><u-input wx:if="{{item.j}}" u-i="{{item.h}}" bind:__l="__l" bindupdateModelValue="{{item.i}}" u-p="{{item.j}}"></u-input></u-form-item><u-form-item wx:if="{{ah}}" u-s="{{['d']}}" u-i="{{item.o}}" bind:__l="__l" u-p="{{ah}}"><u-input wx:if="{{item.n}}" u-i="{{item.l}}" bind:__l="__l" bindupdateModelValue="{{item.m}}" u-p="{{item.n}}"></u-input></u-form-item><u-form-item wx:if="{{ai}}" u-s="{{['d']}}" u-i="{{item.t}}" bind:__l="__l" u-p="{{ai}}"><u-input wx:if="{{item.s}}" bindinput="{{item.p}}" u-i="{{item.q}}" bind:__l="__l" bindupdateModelValue="{{item.r}}" u-p="{{item.s}}"></u-input></u-form-item><u-form-item wx:if="{{aj}}" u-s="{{['d']}}" u-i="{{item.z}}" bind:__l="__l" u-p="{{aj}}"><u-input wx:if="{{item.y}}" bindinput="{{item.v}}" u-i="{{item.w}}" bind:__l="__l" bindupdateModelValue="{{item.x}}" u-p="{{item.y}}"></u-input></u-form-item><u-form-item wx:if="{{ak}}" u-s="{{['d']}}" u-i="{{item.D}}" bind:__l="__l" u-p="{{ak}}"><u-input wx:if="{{item.C}}" u-i="{{item.A}}" bind:__l="__l" bindupdateModelValue="{{item.B}}" u-p="{{item.C}}"></u-input></u-form-item><u-form-item wx:if="{{al}}" u-s="{{['d']}}" u-i="{{item.I}}" bind:__l="__l" u-p="{{al}}"><u-input wx:if="{{item.H}}" bindinput="{{item.E}}" u-i="{{item.F}}" bind:__l="__l" bindupdateModelValue="{{item.G}}" u-p="{{item.H}}"></u-input></u-form-item><u-form-item wx:if="{{am}}" u-s="{{['d']}}" u-i="{{item.N}}" bind:__l="__l" u-p="{{am}}"><u-input wx:if="{{item.M}}" bindinput="{{item.J}}" u-i="{{item.K}}" bind:__l="__l" bindupdateModelValue="{{item.L}}" u-p="{{item.M}}"></u-input></u-form-item><u-form-item wx:if="{{an}}" u-s="{{['d']}}" u-i="{{item.R}}" bind:__l="__l" u-p="{{an}}"><u-input wx:if="{{item.Q}}" u-i="{{item.O}}" bind:__l="__l" bindupdateModelValue="{{item.P}}" u-p="{{item.Q}}"></u-input></u-form-item><u-form-item wx:if="{{ao}}" u-s="{{['d']}}" u-i="{{item.V}}" bind:__l="__l" u-p="{{ao}}"><u-input wx:if="{{item.U}}" u-i="{{item.S}}" bind:__l="__l" bindupdateModelValue="{{item.T}}" u-p="{{item.U}}"></u-input></u-form-item><u-form-item wx:if="{{ap}}" u-s="{{['d']}}" u-i="{{item.Z}}" bind:__l="__l" u-p="{{ap}}"><u-input wx:if="{{item.Y}}" u-i="{{item.W}}" bind:__l="__l" bindupdateModelValue="{{item.X}}" u-p="{{item.Y}}"></u-input></u-form-item></view></view><view wx:if="{{aq}}" class="jnpf-table-addBtn" bindtap="{{as}}"><u-icon wx:if="{{ar}}" u-i="f5df8074-49,f5df8074-0" bind:__l="__l" u-p="{{ar}}"></u-icon>商品添购 </view></view><view wx:if="{{at}}" class="jnpf-table"><view wx:for="{{av}}" wx:for-item="item" wx:key="x" class="jnpf-table-item"><view class="jnpf-table-item-title u-flex u-row-between"><text class="jnpf-table-item-title-num">收款计划({{item.a}})</text><view wx:if="{{aw}}" class="jnpf-table-item-title-action" bindtap="{{item.b}}">删除 </view></view><view class="u-p-l-20 u-p-r-20 form-item-box"><u-form-item wx:if="{{ax}}" u-s="{{['d']}}" u-i="{{item.f}}" bind:__l="__l" u-p="{{ax}}"><jnpf-date-picker wx:if="{{item.e}}" u-i="{{item.c}}" bind:__l="__l" bindupdateModelValue="{{item.d}}" u-p="{{item.e}}"/></u-form-item><u-form-item wx:if="{{ay}}" u-s="{{['d']}}" u-i="{{item.j}}" bind:__l="__l" u-p="{{ay}}"><u-input wx:if="{{item.i}}" u-i="{{item.g}}" bind:__l="__l" bindupdateModelValue="{{item.h}}" u-p="{{item.i}}"></u-input></u-form-item><u-form-item wx:if="{{az}}" u-s="{{['d']}}" u-i="{{item.n}}" bind:__l="__l" u-p="{{az}}"><u-input wx:if="{{item.m}}" u-i="{{item.k}}" bind:__l="__l" bindupdateModelValue="{{item.l}}" u-p="{{item.m}}"></u-input></u-form-item><u-form-item wx:if="{{aA}}" u-s="{{['d']}}" u-i="{{item.r}}" bind:__l="__l" u-p="{{aA}}"><jnpf-select wx:if="{{item.q}}" u-i="{{item.o}}" bind:__l="__l" bindupdateModelValue="{{item.p}}" u-p="{{item.q}}"/></u-form-item><u-form-item wx:if="{{aB}}" u-s="{{['d']}}" u-i="{{item.w}}" bind:__l="__l" u-p="{{aB}}"><u-input wx:if="{{item.v}}" u-i="{{item.s}}" bind:__l="__l" bindupdateModelValue="{{item.t}}" u-p="{{item.v}}"></u-input></u-form-item></view></view><view wx:if="{{aC}}" class="jnpf-table-addBtn" bindtap="{{aE}}"><u-icon wx:if="{{aD}}" u-i="f5df8074-60,f5df8074-0" bind:__l="__l" u-p="{{aD}}"></u-icon>收款计划 </view></view></u-form></view>
\ No newline at end of file
"use strict";const e=require("../../../../common/vendor.js"),t={props:{config:{type:Object,default:()=>{}}},data:()=>({loading:!0,key:+new Date,setting:{},formConf:{},formData:{},eventType:"",flowUrgent:1,dataForm:{id:"",flowId:""},isAdd:!1,userInfo:{}}),mounted(){this.init(this.config)},methods:{init(t){this.userInfo=e.index.getStorageSync("userInfo")||{},this.setting=t,this.formConf=t.formConf?JSON.parse(t.formConf):{},this.dataForm.id=t.id||null,this.dataForm.flowId=t.flowId,this.loading=!0,this.formData={},this.$nextTick((()=>{let i={};if(t.id){this.isAdd=!1,i={modelId:t.flowId,id:this.dataForm.id,type:t.type,flowId:t.flowId,processId:t.id,opType:t.opType,taskId:t.taskId},e.index.setStorageSync("dynamicModelExtra",i);const s=t.draftData||t.formData||{};this.formData={...s,flowId:t.flowId}}else this.isAdd=!0;this.fillFormData(this.formConf,this.formData),this.$nextTick((()=>{this.loading=!1})),this.dataForm.flowId=t.flowId,this.key=+new Date}))},fillFormData(e,t){e.disabled=this.setting.readonly;const i=(e,s)=>{for(let o=0;o<e.length;o++){let n=e[o],r=n.__vModel__,a=n.__config__;if(r){let e=t.hasOwnProperty(r)?t[r]:a.defaultValue;if(a.isSubTable||(a.defaultValue=e),(this.isAdd||a.isSubTable)&&a.defaultCurrent){if("datePicker"===a.jnpfKey&&!t.hasOwnProperty(r)){let t=this.jnpf.handelFormat(n.format),i=this.jnpf.toDate((new Date).getTime(),t);e=new Date(i+("yyyy"===t?"-01-01 00:00:00":"yyyy-MM"===t?"-01 00:00:00":"yyyy-MM-dd"===t?" 00:00:00":"")).getTime(),a.defaultValue=e}"timePicker"===a.jnpfKey&&(t.hasOwnProperty(r)||(a.defaultValue=this.jnpf.toDate(new Date,n.format)));const i=this.userInfo.organizeIdList;"organizeSelect"===a.jnpfKey&&Array.isArray(i)&&i.length&&(a.defaultValue=n.multiple?[i]:i);const s=this.userInfo.departmentId;"depSelect"===a.jnpfKey&&s&&(a.defaultValue=n.multiple?[s]:s);const o=this.userInfo.positionIds;"posSelect"===a.jnpfKey&&Array.isArray(o)&&o.length&&(a.defaultValue=n.multiple?o.map((e=>e.id)):o[0].id);const f=this.userInfo.roleIds;"roleSelect"===a.jnpfKey&&Array.isArray(f)&&f.length&&(a.defaultValue=n.multiple?f:f[0]);const l=this.userInfo.groupIds;"groupSelect"===a.jnpfKey&&Array.isArray(l)&&l.length&&(a.defaultValue=n.multiple?l:l[0]);const d=this.userInfo.userId;"userSelect"===a.jnpfKey&&d&&(a.defaultValue=n.multiple?[d]:d),"usersSelect"===a.jnpfKey&&d&&(a.defaultValue=n.multiple?[d+"--user"]:d+"--user"),"sign"===a.jnpfKey&&this.userInfo.signImg&&(a.defaultValue=this.userInfo.signImg)}let i=n.__config__.noShow||!1,o=n.disabled||!1,f=n.__config__.required||!1,l=!1;if((!n.__config__.visibility||Array.isArray(n.__config__.visibility)&&n.__config__.visibility.includes("app"))&&(l=!0),this.setting.formOperates&&this.setting.formOperates.length){let e=n.__config__.isSubTable?s.__vModel__+"-"+n.__vModel__:n.__vModel__,t=this.setting.formOperates.filter((t=>t.id===e))||[];if(t.length){let e=t[0];i=!e.read,o=!e.write,f=e.required?e.required:n.__config__.required}}o=n.readonly?n.readonly:o,this.setting.readonly&&(o=!0),"scan"===this.setting.origin&&(o=!0),this.$set(n,"disabled",o),this.$set(n.__config__,"noShow",i),this.$set(n.__config__,"required",f),this.$set(n.__config__,"isVisibility",l)}else{let e=!!n.__config__.noShow&&n.__config__.noShow,t=!1;(!n.__config__.visibility||Array.isArray(n.__config__.visibility)&&n.__config__.visibility.includes("app"))&&(t=!0),this.$set(n.__config__,"isVisibility",t),this.$set(n.__config__,"noShow",e)}n.__config__&&n.__config__.children&&Array.isArray(n.__config__.children)&&i(n.__config__.children,n)}};i(e.fields),e.formData=t},sumbitForm(e,t){if(!e)return;const i={...this.formData,...e};this.dataForm.formData=i,t&&"function"==typeof t&&t(),this.$emit("eventReceiver",this.dataForm,this.eventType)},submit(e,t){if("1"==this.setting.isPreview)return this.$u.toast("功能预览不支持数据保存");this.eventType=e,this.flowUrgent=t,this.$refs.dynamicForm&&this.$refs.dynamicForm.submitForm()}}};if(!Array){e.resolveComponent("JnpfParser")()}Math;const i=e._export_sfc(t,[["render",function(t,i,s,o,n,r){return e.e({a:!n.loading},n.loading?{}:{b:e.sr("dynamicForm","1a607a83-0"),c:e.o(r.sumbitForm),d:n.key,e:e.p({formConf:n.formConf})})}]]);wx.createComponent(i);
{
"component": true,
"usingComponents": {
"jnpf-parser": "../../../../components/Jnpf/Parser/index"
}
}
\ No newline at end of file
<view class="jnpf-wrap jnpf-wrap-workflow"><jnpf-parser wx:if="{{a}}" class="r" u-r="dynamicForm" bindsubmit="{{c}}" key="{{d}}" u-i="1a607a83-0" bind:__l="__l" u-p="{{e}}"/></view>
\ No newline at end of file
"use strict";const e=require("../mixin.js"),a=require("../../../../common/vendor.js"),l={name:"LeaveApply",mixins:[e.comMixin],data:()=>({billEnCode:"WF_LeaveApplyNo",dataForm:{flowTitle:"",billNo:"",flowUrgent:1,applyUser:"",leaveHour:"",applyDept:"",leaveStartTime:"",leaveEndTime:"",leaveDayCount:"",leaveReason:"",applyDate:"",leaveType:"",fileJson:"",applyPost:"",description:""},rules:{flowTitle:[{required:!0,message:"流程标题不能为空",trigger:"blur"}],flowUrgent:[{required:!0,message:"紧急程度不能为空",trigger:"change",type:"number"}],billNo:[{required:!0,message:"流程编码不能为空",trigger:"blur"}],leaveHour:[{required:!0,message:"请假小时不能为空",trigger:"blur"}],leaveStartTime:[{required:!0,message:"起始时间不能为空",trigger:"blur",type:"number"}],leaveDayCount:[{required:!0,message:"请假天数不能为空",trigger:"blur"}],leaveEndTime:[{required:!0,message:"结束时间不能为空",trigger:"blur",type:"number"}],leaveReason:[{required:!0,message:"请假原因不能为空",trigger:"blur",type:"string"}]},leaveTypeList:[{fullName:"事假",id:"事假",checked:!1},{fullName:"病假",id:"病假",checked:!1},{fullName:"婚假",id:"婚假",checked:!1},{fullName:"产假",id:"产假",checked:!1},{fullName:"丧假",id:"丧假",checked:!1},{fullName:"年假",id:"年假",checked:!1},{fullName:"调休",id:"调休",checked:!1},{fullName:"其他",id:"其他",checked:!1}]}),methods:{selfInit(e){if(this.dataForm.applyDate=(new Date).getTime(),this.dataForm.flowTitle=this.userInfo.userName+"的请假申请表",this.dataForm.applyUser=this.userInfo.userName+"/"+this.userInfo.userAccount,this.dataForm.applyDept=this.userInfo.organizeName,this.userInfo.positionIds&&this.userInfo.positionIds.length){let e=this.userInfo.positionIds.map((e=>e.name));this.dataForm.applyPost=e.join(",")}}}};if(!Array){(a.resolveComponent("u-input")+a.resolveComponent("u-form-item")+a.resolveComponent("JnpfDatePicker")+a.resolveComponent("JnpfSelect")+a.resolveComponent("JnpfUploadFile")+a.resolveComponent("u-form"))()}Math||((()=>"../../../../uni_modules/vk-uview-ui/components/u-input/u-input.js")+(()=>"../../../../uni_modules/vk-uview-ui/components/u-form-item/u-form-item.js")+(()=>"../../../../components/Jnpf/DatePicker/index.js")+(()=>"../../../../components/Jnpf/Select/index.js")+(()=>"../../../../components/Jnpf/UploadFile/index.js")+(()=>"../../../../uni_modules/vk-uview-ui/components/u-form/u-form.js"))();const r=a._export_sfc(l,[["render",function(e,l,r,o,i,t){return a.e({a:e.judgeShow("flowTitle")},e.judgeShow("flowTitle")?{b:a.o((e=>i.dataForm.flowTitle=e)),c:a.p({placeholder:"流程标题",disabled:e.judgeWrite("flowTitle"),"input-align":"right",modelValue:i.dataForm.flowTitle}),d:a.p({label:"流程标题",prop:"flowTitle",required:e.requiredList.flowTitle})}:{},{e:e.judgeShow("billNo")},e.judgeShow("billNo")?{f:a.o((e=>i.dataForm.billNo=e)),g:a.p({placeholder:"流程编码",disabled:!0,"input-align":"right",modelValue:i.dataForm.billNo}),h:a.p({label:"流程编码",prop:"billNo",required:e.requiredList.billNo})}:{},{i:e.judgeShow("applyUser")},e.judgeShow("applyUser")?{j:a.o((e=>i.dataForm.applyUser=e)),k:a.p({placeholder:"请输入申请人员",disabled:e.judgeWrite("applyUser"),"input-align":"right",modelValue:i.dataForm.applyUser}),l:a.p({label:"申请人员",prop:"applyUser",required:e.requiredList.applyUser})}:{},{m:e.judgeShow("applyDept")},e.judgeShow("applyDept")?{n:a.o((e=>i.dataForm.applyDept=e)),o:a.p({placeholder:"请输入申请部门",disabled:e.judgeWrite("applyDept"),"input-align":"right",modelValue:i.dataForm.applyDept}),p:a.p({label:"申请部门",prop:"applyDept",required:e.requiredList.applyDept})}:{},{q:e.judgeShow("applyPost")},e.judgeShow("applyPost")?{r:a.o((e=>i.dataForm.applyPost=e)),s:a.p({placeholder:"请输入申请职位",disabled:e.judgeWrite("applyPost"),"input-align":"right",modelValue:i.dataForm.applyPost}),t:a.p({label:"申请职位",prop:"applyPost",required:e.requiredList.applyPost})}:{},{v:e.judgeShow("applyDate")},e.judgeShow("applyDate")?{w:a.o((e=>i.dataForm.applyDate=e)),x:a.p({placeholder:"请输入申请日期",disabled:e.judgeWrite("applyDate"),modelValue:i.dataForm.applyDate}),y:a.p({label:"申请日期",prop:"applyDate",required:e.requiredList.applyDate})}:{},{z:e.judgeShow("leaveType")},e.judgeShow("leaveType")?{A:a.o((e=>i.dataForm.leaveType=e)),B:a.p({placeholder:"请选择请假类别",options:i.leaveTypeList,disabled:e.judgeWrite("leaveType"),modelValue:i.dataForm.leaveType}),C:a.p({label:"请假类别",prop:"leaveType",required:e.requiredList.leaveType})}:{},{D:e.judgeShow("leaveReason")},e.judgeShow("leaveReason")?{E:a.o((e=>i.dataForm.leaveReason=e)),F:a.p({placeholder:"请输入请假原因",type:"textarea",disabled:e.judgeWrite("leaveReason"),"input-align":"right",modelValue:i.dataForm.leaveReason}),G:a.p({label:"请假原因",prop:"leaveReason",required:e.requiredList.leaveReason})}:{},{H:e.judgeShow("leaveStartTime")},e.judgeShow("leaveStartTime")?{I:a.o((e=>i.dataForm.leaveStartTime=e)),J:a.p({format:"yyyy-MM-dd HH:mm:ss",placeholder:"请选择起始时间",disabled:e.judgeWrite("leaveStartTime"),modelValue:i.dataForm.leaveStartTime}),K:a.p({label:"起始时间",prop:"leaveStartTime",required:e.requiredList.leaveStartTime})}:{},{L:e.judgeShow("leaveEndTime")},e.judgeShow("leaveEndTime")?{M:a.o((e=>i.dataForm.leaveEndTime=e)),N:a.p({format:"yyyy-MM-dd HH:mm:ss",placeholder:"请选择结束时间",disabled:e.judgeWrite("leaveEndTime"),modelValue:i.dataForm.leaveEndTime}),O:a.p({label:"结束时间",prop:"leaveEndTime",required:e.requiredList.leaveEndTime})}:{},{P:e.judgeShow("leaveDayCount")},e.judgeShow("leaveDayCount")?{Q:a.o((e=>i.dataForm.leaveDayCount=e)),R:a.p({placeholder:"请输入请假天数",disabled:e.judgeWrite("leaveDayCount"),"input-align":"right",modelValue:i.dataForm.leaveDayCount}),S:a.p({label:"请假天数",prop:"leaveDayCount",required:e.requiredList.leaveDayCount})}:{},{T:e.judgeShow("leaveHour")},e.judgeShow("leaveHour")?{U:a.o((e=>i.dataForm.leaveHour=e)),V:a.p({placeholder:"请输入请假小时",type:"number",disabled:e.judgeWrite("leaveHour"),"input-align":"right",modelValue:i.dataForm.leaveHour}),W:a.p({label:"请假小时",prop:"leaveHour",required:e.requiredList.leaveHour})}:{},{X:e.judgeShow("fileJson")},e.judgeShow("fileJson")?{Y:a.o((a=>e.fileList=a)),Z:a.p({disabled:e.judgeWrite("fileJson"),modelValue:e.fileList}),aa:a.p({label:"相关附件",prop:"fileJson",required:e.requiredList.fileJson})}:{},{ab:a.sr("dataForm","2fd49f2d-0"),ac:a.p({model:i.dataForm,rules:i.rules,errorType:["toast"],"label-position":"left","label-width":"150","label-align":"left"})})}]]);wx.createComponent(r);
{
"component": true,
"usingComponents": {
"u-input": "../../../../uni_modules/vk-uview-ui/components/u-input/u-input",
"u-form-item": "../../../../uni_modules/vk-uview-ui/components/u-form-item/u-form-item",
"jnpf-date-picker": "../../../../components/Jnpf/DatePicker/index",
"jnpf-select": "../../../../components/Jnpf/Select/index",
"jnpf-upload-file": "../../../../components/Jnpf/UploadFile/index",
"u-form": "../../../../uni_modules/vk-uview-ui/components/u-form/u-form"
}
}
\ No newline at end of file
<view class="jnpf-wrap jnpf-wrap-workflow"><u-form wx:if="{{ac}}" class="r" u-s="{{['d']}}" u-r="dataForm" u-i="2fd49f2d-0" bind:__l="__l" u-p="{{ac}}"><view class="u-p-l-20 u-p-r-20 form-item-box"><u-form-item wx:if="{{a}}" u-s="{{['d']}}" u-i="2fd49f2d-1,2fd49f2d-0" bind:__l="__l" u-p="{{d}}"><u-input wx:if="{{c}}" u-i="2fd49f2d-2,2fd49f2d-1" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}"></u-input></u-form-item><u-form-item wx:if="{{e}}" u-s="{{['d']}}" u-i="2fd49f2d-3,2fd49f2d-0" bind:__l="__l" u-p="{{h}}"><u-input wx:if="{{g}}" u-i="2fd49f2d-4,2fd49f2d-3" bind:__l="__l" bindupdateModelValue="{{f}}" u-p="{{g}}"></u-input></u-form-item></view><view class="jnpf-card"><view class="u-p-l-20 u-p-r-20 form-item-box"><u-form-item wx:if="{{i}}" u-s="{{['d']}}" u-i="2fd49f2d-5,2fd49f2d-0" bind:__l="__l" u-p="{{l}}"><u-input wx:if="{{k}}" u-i="2fd49f2d-6,2fd49f2d-5" bind:__l="__l" bindupdateModelValue="{{j}}" u-p="{{k}}"></u-input></u-form-item><u-form-item wx:if="{{m}}" u-s="{{['d']}}" u-i="2fd49f2d-7,2fd49f2d-0" bind:__l="__l" u-p="{{p}}"><u-input wx:if="{{o}}" u-i="2fd49f2d-8,2fd49f2d-7" bind:__l="__l" bindupdateModelValue="{{n}}" u-p="{{o}}"></u-input></u-form-item><u-form-item wx:if="{{q}}" u-s="{{['d']}}" u-i="2fd49f2d-9,2fd49f2d-0" bind:__l="__l" u-p="{{t}}"><u-input wx:if="{{s}}" u-i="2fd49f2d-10,2fd49f2d-9" bind:__l="__l" bindupdateModelValue="{{r}}" u-p="{{s}}"></u-input></u-form-item><u-form-item wx:if="{{v}}" u-s="{{['d']}}" u-i="2fd49f2d-11,2fd49f2d-0" bind:__l="__l" u-p="{{y}}"><jnpf-date-picker wx:if="{{x}}" u-i="2fd49f2d-12,2fd49f2d-11" bind:__l="__l" bindupdateModelValue="{{w}}" u-p="{{x}}"/></u-form-item><u-form-item wx:if="{{z}}" u-s="{{['d']}}" u-i="2fd49f2d-13,2fd49f2d-0" bind:__l="__l" u-p="{{C}}"><jnpf-select wx:if="{{B}}" u-i="2fd49f2d-14,2fd49f2d-13" bind:__l="__l" bindupdateModelValue="{{A}}" u-p="{{B}}"/></u-form-item><u-form-item wx:if="{{D}}" u-s="{{['d']}}" u-i="2fd49f2d-15,2fd49f2d-0" bind:__l="__l" u-p="{{G}}"><u-input wx:if="{{F}}" u-i="2fd49f2d-16,2fd49f2d-15" bind:__l="__l" bindupdateModelValue="{{E}}" u-p="{{F}}"></u-input></u-form-item><u-form-item wx:if="{{H}}" u-s="{{['d']}}" u-i="2fd49f2d-17,2fd49f2d-0" bind:__l="__l" u-p="{{K}}"><jnpf-date-picker wx:if="{{J}}" u-i="2fd49f2d-18,2fd49f2d-17" bind:__l="__l" bindupdateModelValue="{{I}}" u-p="{{J}}"/></u-form-item><u-form-item wx:if="{{L}}" u-s="{{['d']}}" u-i="2fd49f2d-19,2fd49f2d-0" bind:__l="__l" u-p="{{O}}"><jnpf-date-picker wx:if="{{N}}" u-i="2fd49f2d-20,2fd49f2d-19" bind:__l="__l" bindupdateModelValue="{{M}}" u-p="{{N}}"/></u-form-item><u-form-item wx:if="{{P}}" u-s="{{['d']}}" u-i="2fd49f2d-21,2fd49f2d-0" bind:__l="__l" u-p="{{S}}"><u-input wx:if="{{R}}" u-i="2fd49f2d-22,2fd49f2d-21" bind:__l="__l" bindupdateModelValue="{{Q}}" u-p="{{R}}"></u-input></u-form-item><u-form-item wx:if="{{T}}" u-s="{{['d']}}" u-i="2fd49f2d-23,2fd49f2d-0" bind:__l="__l" u-p="{{W}}"><u-input wx:if="{{V}}" u-i="2fd49f2d-24,2fd49f2d-23" bind:__l="__l" bindupdateModelValue="{{U}}" u-p="{{V}}"></u-input></u-form-item><u-form-item wx:if="{{X}}" u-s="{{['d']}}" u-i="2fd49f2d-25,2fd49f2d-0" bind:__l="__l" u-p="{{aa}}"><jnpf-upload-file wx:if="{{Z}}" u-i="2fd49f2d-26,2fd49f2d-25" bind:__l="__l" bindupdateModelValue="{{Y}}" u-p="{{Z}}"/></u-form-item></view></view></u-form></view>
\ No newline at end of file
"use strict";const t=require("../../../common/vendor.js"),e=require("../../../api/common.js"),i=["crmOrder","salesOrder","leaveApply"],s={props:{config:{type:Object,default:()=>{}}},data:()=>({flowUrgentOptions:[{id:1,fullName:"普通"},{id:2,fullName:"重要"},{id:3,fullName:"紧急"}],fileList:[],setting:{},userInfo:{},eventType:"",paymentMethodOptions:[],requiredList:{},requiredObj:[]}),mounted(){this.init(this.config),this.$refs.dataForm.setRules(this.rules),this.userInfo=t.index.getStorageSync("userInfo")||{}},methods:{checkChildRule(){let t={};this.requiredObj.forEach((e=>{e.required&&(t[e.id]=e.name+"不能为空")}));let e=[];for(let s in t){let i=s.split("-"),r=i[0];i.forEach(((i,s)=>{if(1==s){this.dataForm[r].forEach(((s,n)=>{s[i]instanceof Array?0==s[i].length&&e.push(t[r+"-"+i]):s[i]||0===s[i]||e.push(t[r+"-"+i])}))}}))}let i=this.regList;for(let s in i){let t=this.dataForm[s];for(let r in i[s])for(let n=0;n<i[s][r].length;n++){const h=i[s][r][n];if(h.pattern){h.pattern=h.pattern.toString();let t=h.pattern.indexOf("/"),e=h.pattern.lastIndexOf("/"),i=h.pattern.substring(t+1,e),s=new RegExp(i);h.pattern=s}t.forEach(((t,i)=>{t[r]&&!h.pattern.test(t[r])&&e.push(h.message)}))}}if(e.length>0)return e[0]},init(t){this.dataForm.id=t.id||"",this.dataForm.flowId=t.flowId,this.setting=t,this.updateDataRule(),this.$nextTick((()=>{if(this.$refs.dataForm.resetFields(),this.beforeInit&&this.beforeInit(),t.id){let e=t.draftData||t.formData;return this.selfGetInfo&&"function"==typeof this.selfGetInfo?this.selfGetInfo(e):this.dataForm=e,void(i.includes(t.formEnCode)&&this.dataForm.fileJson&&(this.fileList=JSON.parse(this.dataForm.fileJson)))}this.selfInit&&this.selfInit(t),this.billEnCode&&e.getBillNumber(this.billEnCode).then((e=>{"crmOrder"===t.formEnCode?this.dataForm.orderCode=e.data:this.dataForm.billNo=e.data}))}))},submit(t,e){this.eventType=t,this.$refs.dataForm.setRules(this.rules),this.$refs.dataForm.validate((s=>{if(s){if(i.includes(this.setting.formEnCode)&&(this.dataForm.fileJson=this.fileList.length?JSON.stringify(this.fileList):""),this.checkChildRule())return this.$u.toast(`${this.checkChildRule()}`);if(this.exist&&this.exist())return this.$u.toast(`${this.exist()}`);let s={};if(s=this.beforeSubmit&&"function"==typeof this.beforeSubmit?this.beforeSubmit():this.dataForm,i.includes(this.setting.formEnCode)&&(s.fileJson=JSON.stringify(this.fileList)),("save"===t||"submit"===t)&&this.selfSubmit&&"function"==typeof this.selfSubmit)return void this.selfSubmit(this.dataForm,e);this.$emit("eventReceiver",{formData:s,id:this.dataForm.id},t)}}))},updateDataRule(){let t={};for(let e=0;e<this.setting.formOperates.length;e++){const i=this.setting.formOperates[e];i.required&&(this.$set(this.requiredList,i.id,i.required),"rate"!=i.jnpfKey&&"slider"!=i.jnpfKey&&this.requiredObj.push(i));const s={required:i.required||!1,message:i.name+"不能为空",trigger:i.trigger||["blur","change"],type:""},r=["inputNumber","datePicker","switch","rate","slider"];if("array"===i.dataType&&(s.type=i.dataType),r.includes(i.jnpfKey)&&(s.type="number"),this.rules.hasOwnProperty(i.id)){let t=!0;for(let e=0;e<this.rules[i.id].length;e++)this.rules[i.id][e].hasOwnProperty("required")&&(this.rules[i.id][e].required=i.required||!1,t=!1);t&&i.required&&this.rules[i.id].push(s)}else i.required&&this.$set(t,i.id,[s])}this.rules={...this.rules,...t},this.$refs.dataForm.setRules(this.rules)},judgeShow(t){if(4==this.setting.opType)return!0;if(!this.setting.formOperates||!this.setting.formOperates.length)return!0;let e=this.setting.formOperates.filter((e=>e.id===t))||[];return!e.length||e[0].read},judgeWrite(t){if(this.setting.readonly)return!0;if(!this.setting.formOperates||!this.setting.formOperates.length)return!1;let e=this.setting.formOperates.filter((e=>e.id===t))||[];return!e.length||!e[0].write}}};exports.comMixin=s;
"use strict";const e=require("../../../../common/vendor.js"),t={name:"SalesOrder",mixins:[require("../mixin.js").comMixin],data:()=>({billEnCode:"WF_SalesOrderNo",dataForm:{flowTitle:"",billNo:"",flowUrgent:1,customerAddres:"",contactPhone:"",description:"",fileJson:"",salesman:"",paymentMoney:"",paymentMethod:"",invoiceType:"",salesDate:"",contacts:"",customerName:"",entryList:[{goodsName:"",specifications:"",unit:"",qty:"",price:"",amount:"",description:""}]},invoiceTypeList:[{fullName:"普通发票",id:"普通发票",checked:!1},{fullName:"专业发票",id:"专业发票",checked:!1},{fullName:"其他",id:"其他",checked:!1}],rules:{flowTitle:[{required:!0,message:"流程标题不能为空",trigger:"blur"}],flowUrgent:[{required:!0,message:"紧急程度不能为空",trigger:"change",type:"number"}],billNo:[{required:!0,message:"流程编码不能为空",trigger:"blur"}],salesDate:[{required:!0,message:"开单日期不能为空",trigger:"change",type:"number"}]}}),methods:{selfInit(e){this.dataForm.flowTitle=this.userInfo.userName+"的销售订单"},addItem(){this.dataForm.entryList.push({goodsName:"",specifications:"",unit:"",qty:"",price:"",amount:"",description:""})},delItem(t){e.index.showModal({title:"提示",content:"确定删除销售明细("+(t+1)+")?",success:e=>{e.confirm&&this.dataForm.entryList.splice(t,1)}})},count(e){e.amount=this.jnpf.toDecimal(parseFloat(e.price)*parseFloat(e.qty));var t=e.price*(e.discount/100);e.actualPrice=this.jnpf.toDecimal(t*(1+e.cess/100)),e.actualAmount=this.jnpf.toDecimal(parseFloat(e.actualPrice)*parseFloat(e.qty)),this.$forceUpdate()}}};if(!Array){(e.resolveComponent("u-input")+e.resolveComponent("u-form-item")+e.resolveComponent("JnpfDatePicker")+e.resolveComponent("JnpfSelect")+e.resolveComponent("JnpfUploadFile")+e.resolveComponent("u-icon")+e.resolveComponent("u-form"))()}Math||((()=>"../../../../uni_modules/vk-uview-ui/components/u-input/u-input.js")+(()=>"../../../../uni_modules/vk-uview-ui/components/u-form-item/u-form-item.js")+(()=>"../../../../components/Jnpf/DatePicker/index.js")+(()=>"../../../../components/Jnpf/Select/index.js")+(()=>"../../../../components/Jnpf/UploadFile/index.js")+(()=>"../../../../uni_modules/vk-uview-ui/components/u-icon/u-icon.js")+(()=>"../../../../uni_modules/vk-uview-ui/components/u-form/u-form.js"))();const i=e._export_sfc(t,[["render",function(t,i,o,r,a,d){return e.e({a:t.judgeShow("flowTitle")},t.judgeShow("flowTitle")?{b:e.o((e=>a.dataForm.flowTitle=e)),c:e.p({placeholder:"流程标题",disabled:t.judgeWrite("flowTitle"),"input-align":"right",modelValue:a.dataForm.flowTitle}),d:e.p({label:"流程标题",prop:"flowTitle",required:t.requiredList.flowTitle})}:{},{e:t.judgeShow("billNo")},t.judgeShow("billNo")?{f:e.o((e=>a.dataForm.billNo=e)),g:e.p({placeholder:"流程编码",disabled:!0,"input-align":"right",modelValue:a.dataForm.billNo}),h:e.p({label:"流程编码",prop:"billNo",required:t.requiredList.billNo})}:{},{i:t.judgeShow("customerName")},t.judgeShow("customerName")?{j:e.o((e=>a.dataForm.customerName=e)),k:e.p({placeholder:"请输入客户名称",disabled:t.judgeWrite("customerName"),"input-align":"right",modelValue:a.dataForm.customerName}),l:e.p({label:"客户名称",prop:"customerName",required:t.requiredList.customerName})}:{},{m:t.judgeShow("contacts")},t.judgeShow("contacts")?{n:e.o((e=>a.dataForm.contacts=e)),o:e.p({placeholder:"请输入联系人员",disabled:t.judgeWrite("contacts"),"input-align":"right",modelValue:a.dataForm.contacts}),p:e.p({label:"联系人员",prop:"contacts",required:t.requiredList.contacts})}:{},{q:t.judgeShow("salesDate")},t.judgeShow("salesDate")?{r:e.o((e=>a.dataForm.salesDate=e)),s:e.p({type:"datetime",placeholder:"请输入开单日期",disabled:t.judgeWrite("salesDate"),modelValue:a.dataForm.salesDate}),t:e.p({label:"开单日期",prop:"salesDate",required:t.requiredList.salesDate})}:{},{v:t.judgeShow("contactPhone")},t.judgeShow("contactPhone")?{w:e.o((e=>a.dataForm.contactPhone=e)),x:e.p({placeholder:"请输入联系电话",disabled:t.judgeWrite("contactPhone"),"input-align":"right",modelValue:a.dataForm.contactPhone}),y:e.p({label:"联系电话",prop:"contactPhone",required:t.requiredList.contactPhone})}:{},{z:t.judgeShow("customerAddres")},t.judgeShow("customerAddres")?{A:e.o((e=>a.dataForm.customerAddres=e)),B:e.p({placeholder:"输入送客户地址",disabled:t.judgeWrite("customerAddres"),"input-align":"right",modelValue:a.dataForm.customerAddres}),C:e.p({label:"客户地址",prop:"customerAddres",required:t.requiredList.customerAddres})}:{},{D:t.judgeShow("salesman")},t.judgeShow("salesman")?{E:e.o((e=>a.dataForm.salesman=e)),F:e.p({placeholder:"输入业务人员",disabled:t.judgeWrite("salesman"),"input-align":"right",modelValue:a.dataForm.salesman}),G:e.p({label:"业务人员",prop:"salesman",required:t.requiredList.salesman})}:{},{H:t.judgeShow("ticketNum")},t.judgeShow("ticketNum")?{I:e.o((e=>a.dataForm.ticketNum=e)),J:e.p({placeholder:"输入发票编号",disabled:t.judgeWrite("ticketNum"),"input-align":"right",modelValue:a.dataForm.ticketNum}),K:e.p({label:"发票编号",prop:"ticketNum",required:t.requiredList.ticketNum})}:{},{L:t.judgeShow("invoiceType")},t.judgeShow("invoiceType")?{M:e.o((e=>a.dataForm.invoiceType=e)),N:e.p({placeholder:"请选择发票类型",options:a.invoiceTypeList,disabled:t.judgeWrite("invoiceType"),modelValue:a.dataForm.invoiceType}),O:e.p({label:"发票类型",prop:"invoiceType",required:t.requiredList.invoiceType})}:{},{P:t.judgeShow("paymentMethod")},t.judgeShow("paymentMethod")?{Q:e.o((e=>a.dataForm.paymentMethod=e)),R:e.p({placeholder:"请输入付款方式","input-align":"right",disabled:t.judgeWrite("paymentMethod"),modelValue:a.dataForm.paymentMethod}),S:e.p({label:"付款方式",prop:"paymentMethod",required:t.requiredList.paymentMethod})}:{},{T:t.judgeShow("paymentMoney")},t.judgeShow("paymentMoney")?{U:e.o((e=>a.dataForm.paymentMoney=e)),V:e.p({placeholder:"输入付款金额",disabled:t.judgeWrite("paymentMoney"),"input-align":"right",modelValue:a.dataForm.paymentMoney}),W:e.p({label:"付款金额",prop:"paymentMoney",required:t.requiredList.paymentMoney})}:{},{X:t.judgeShow("fileJson")},t.judgeShow("fileJson")?{Y:e.o((e=>t.fileList=e)),Z:e.p({disabled:t.judgeWrite("fileJson"),modelValue:t.fileList}),aa:e.p({label:"相关附件",prop:"fileJson",required:t.requiredList.fileJson})}:{},{ab:t.judgeShow("description")},t.judgeShow("description")?{ac:e.o((e=>a.dataForm.description=e)),ad:e.p({placeholder:"输入开单备注",type:"textarea",disabled:t.judgeWrite("description"),"input-align":"right",modelValue:a.dataForm.description}),ae:e.p({label:"开单备注",prop:"description",required:t.requiredList.description})}:{},{af:t.judgeShow("entryList")},t.judgeShow("entryList")?e.e({ag:e.f(a.dataForm.entryList,((i,o,r)=>e.e({a:e.t(o+1)},a.dataForm.entryList.length>1&&!t.judgeWrite("entryList")?{b:e.o((e=>d.delItem(o)),o)}:{},t.judgeShow("entryList-goodsName")?{c:"19ec87d0-30-"+r+",19ec87d0-29-"+r,d:e.o((e=>a.dataForm.entryList[o].goodsName=e),o),e:e.p({placeholder:"请输入商品名称",disabled:t.judgeWrite("entryList-goodsName"),"input-align":"right",modelValue:a.dataForm.entryList[o].goodsName}),f:"19ec87d0-29-"+r+",19ec87d0-0",g:e.p({label:"商品名称",prop:"dataForm.entryList[i].goodsName",required:t.requiredList["entryList-goodsName"]})}:{},t.judgeShow("entryList-specifications")?{h:"19ec87d0-32-"+r+",19ec87d0-31-"+r,i:e.o((e=>a.dataForm.entryList[o].specifications=e),o),j:e.p({placeholder:"请输入规格类型",disabled:t.judgeWrite("entryList-specifications"),"input-align":"right",modelValue:a.dataForm.entryList[o].specifications}),k:"19ec87d0-31-"+r+",19ec87d0-0",l:e.p({label:"规格类型",prop:"dataForm.entryList[i].specifications",required:t.requiredList["entryList-specifications"]})}:{},t.judgeShow("entryList-unit")?{m:"19ec87d0-34-"+r+",19ec87d0-33-"+r,n:e.o((e=>a.dataForm.entryList[o].unit=e),o),o:e.p({placeholder:"请输入单位",disabled:t.judgeWrite("entryList-unit"),"input-align":"right",modelValue:a.dataForm.entryList[o].unit}),p:"19ec87d0-33-"+r+",19ec87d0-0",q:e.p({label:"单位",prop:"dataForm.entryList[i].unit",required:t.requiredList["entryList-unit"]})}:{},t.judgeShow("entryList-qty")?{r:e.o((e=>d.count(a.dataForm.entryList[o])),o),s:"19ec87d0-36-"+r+",19ec87d0-35-"+r,t:e.o((e=>a.dataForm.entryList[o].qty=e),o),v:e.p({placeholder:"请输入数量",type:"number","input-align":"right",disabled:t.judgeWrite("entryList-qty"),modelValue:a.dataForm.entryList[o].qty}),w:"19ec87d0-35-"+r+",19ec87d0-0",x:e.p({label:"数量",prop:"dataForm.entryList[i].qty",required:t.requiredList["entryList-qty"]})}:{},t.judgeShow("entryList-price")?{y:e.o((e=>d.count(a.dataForm.entryList[o])),o),z:"19ec87d0-38-"+r+",19ec87d0-37-"+r,A:e.o((e=>a.dataForm.entryList[o].price=e),o),B:e.p({placeholder:"请输入单价",type:"number","input-align":"right",disabled:t.judgeWrite("entryList-price"),modelValue:a.dataForm.entryList[o].price}),C:"19ec87d0-37-"+r+",19ec87d0-0",D:e.p({label:"单价",prop:"dataForm.entryList[i].price",required:t.requiredList["entryList-price"]})}:{},t.judgeShow("entryList-amount")?{E:"19ec87d0-40-"+r+",19ec87d0-39-"+r,F:e.o((e=>a.dataForm.entryList[o].amount=e),o),G:e.p({placeholder:"请输入金额",disabled:!0,"input-align":"right",modelValue:a.dataForm.entryList[o].amount}),H:"19ec87d0-39-"+r+",19ec87d0-0",I:e.p({label:"金额",prop:"dataForm.entryList[i].amount",required:t.requiredList["entryList-amount"]})}:{},t.judgeShow("entryList-description")?{J:"19ec87d0-42-"+r+",19ec87d0-41-"+r,K:e.o((e=>a.dataForm.entryList[o].description=e),o),L:e.p({placeholder:"请输入备注",type:"textarea",disabled:t.judgeWrite("entryList-description"),"input-align":"right",modelValue:a.dataForm.entryList[o].description}),M:"19ec87d0-41-"+r+",19ec87d0-0",N:e.p({label:"备注",prop:"dataForm.entryList[i].description",required:t.requiredList["entryList-description"]})}:{},{O:o}))),ah:a.dataForm.entryList.length>1&&!t.judgeWrite("entryList"),ai:t.judgeShow("entryList-goodsName"),aj:t.judgeShow("entryList-specifications"),ak:t.judgeShow("entryList-unit"),al:t.judgeShow("entryList-qty"),am:t.judgeShow("entryList-price"),an:t.judgeShow("entryList-amount"),ao:t.judgeShow("entryList-description"),ap:!t.judgeWrite("entryList")},t.judgeWrite("entryList")?{}:{aq:e.p({name:"plus",color:"#2979ff"}),ar:e.o(((...e)=>d.addItem&&d.addItem(...e)))}):{},{as:e.sr("dataForm","19ec87d0-0"),at:e.p({model:a.dataForm,rules:a.rules,errorType:["toast"],"label-position":"left","label-width":"150","label-align":"left"})})}]]);wx.createComponent(i);
{
"component": true,
"usingComponents": {
"u-input": "../../../../uni_modules/vk-uview-ui/components/u-input/u-input",
"u-form-item": "../../../../uni_modules/vk-uview-ui/components/u-form-item/u-form-item",
"jnpf-date-picker": "../../../../components/Jnpf/DatePicker/index",
"jnpf-select": "../../../../components/Jnpf/Select/index",
"jnpf-upload-file": "../../../../components/Jnpf/UploadFile/index",
"u-icon": "../../../../uni_modules/vk-uview-ui/components/u-icon/u-icon",
"u-form": "../../../../uni_modules/vk-uview-ui/components/u-form/u-form"
}
}
\ No newline at end of file
<view class="jnpf-wrap jnpf-wrap-workflow"><u-form wx:if="{{at}}" class="r" u-s="{{['d']}}" u-r="dataForm" u-i="19ec87d0-0" bind:__l="__l" u-p="{{at}}"><view class="u-p-l-20 u-p-r-20 form-item-box"><u-form-item wx:if="{{a}}" u-s="{{['d']}}" u-i="19ec87d0-1,19ec87d0-0" bind:__l="__l" u-p="{{d}}"><u-input wx:if="{{c}}" u-i="19ec87d0-2,19ec87d0-1" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}"></u-input></u-form-item><u-form-item wx:if="{{e}}" u-s="{{['d']}}" u-i="19ec87d0-3,19ec87d0-0" bind:__l="__l" u-p="{{h}}"><u-input wx:if="{{g}}" u-i="19ec87d0-4,19ec87d0-3" bind:__l="__l" bindupdateModelValue="{{f}}" u-p="{{g}}"></u-input></u-form-item></view><view class="jnpf-card"><view class="u-p-l-20 u-p-r-20 form-item-box"><u-form-item wx:if="{{i}}" u-s="{{['d']}}" u-i="19ec87d0-5,19ec87d0-0" bind:__l="__l" u-p="{{l}}"><u-input wx:if="{{k}}" u-i="19ec87d0-6,19ec87d0-5" bind:__l="__l" bindupdateModelValue="{{j}}" u-p="{{k}}"></u-input></u-form-item><u-form-item wx:if="{{m}}" u-s="{{['d']}}" u-i="19ec87d0-7,19ec87d0-0" bind:__l="__l" u-p="{{p}}"><u-input wx:if="{{o}}" u-i="19ec87d0-8,19ec87d0-7" bind:__l="__l" bindupdateModelValue="{{n}}" u-p="{{o}}"></u-input></u-form-item><u-form-item wx:if="{{q}}" u-s="{{['d']}}" u-i="19ec87d0-9,19ec87d0-0" bind:__l="__l" u-p="{{t}}"><jnpf-date-picker wx:if="{{s}}" u-i="19ec87d0-10,19ec87d0-9" bind:__l="__l" bindupdateModelValue="{{r}}" u-p="{{s}}"/></u-form-item><u-form-item wx:if="{{v}}" u-s="{{['d']}}" u-i="19ec87d0-11,19ec87d0-0" bind:__l="__l" u-p="{{y}}"><u-input wx:if="{{x}}" u-i="19ec87d0-12,19ec87d0-11" bind:__l="__l" bindupdateModelValue="{{w}}" u-p="{{x}}"></u-input></u-form-item><u-form-item wx:if="{{z}}" u-s="{{['d']}}" u-i="19ec87d0-13,19ec87d0-0" bind:__l="__l" u-p="{{C}}"><u-input wx:if="{{B}}" u-i="19ec87d0-14,19ec87d0-13" bind:__l="__l" bindupdateModelValue="{{A}}" u-p="{{B}}"></u-input></u-form-item><u-form-item wx:if="{{D}}" u-s="{{['d']}}" u-i="19ec87d0-15,19ec87d0-0" bind:__l="__l" u-p="{{G}}"><u-input wx:if="{{F}}" u-i="19ec87d0-16,19ec87d0-15" bind:__l="__l" bindupdateModelValue="{{E}}" u-p="{{F}}"></u-input></u-form-item><u-form-item wx:if="{{H}}" u-s="{{['d']}}" u-i="19ec87d0-17,19ec87d0-0" bind:__l="__l" u-p="{{K}}"><u-input wx:if="{{J}}" u-i="19ec87d0-18,19ec87d0-17" bind:__l="__l" bindupdateModelValue="{{I}}" u-p="{{J}}"></u-input></u-form-item><u-form-item wx:if="{{L}}" u-s="{{['d']}}" u-i="19ec87d0-19,19ec87d0-0" bind:__l="__l" u-p="{{O}}"><jnpf-select wx:if="{{N}}" u-i="19ec87d0-20,19ec87d0-19" bind:__l="__l" bindupdateModelValue="{{M}}" u-p="{{N}}"/></u-form-item><u-form-item wx:if="{{P}}" u-s="{{['d']}}" u-i="19ec87d0-21,19ec87d0-0" bind:__l="__l" u-p="{{S}}"><u-input wx:if="{{R}}" u-i="19ec87d0-22,19ec87d0-21" bind:__l="__l" bindupdateModelValue="{{Q}}" u-p="{{R}}"></u-input></u-form-item><u-form-item wx:if="{{T}}" u-s="{{['d']}}" u-i="19ec87d0-23,19ec87d0-0" bind:__l="__l" u-p="{{W}}"><u-input wx:if="{{V}}" u-i="19ec87d0-24,19ec87d0-23" bind:__l="__l" bindupdateModelValue="{{U}}" u-p="{{V}}"></u-input></u-form-item><u-form-item wx:if="{{X}}" u-s="{{['d']}}" u-i="19ec87d0-25,19ec87d0-0" bind:__l="__l" u-p="{{aa}}"><jnpf-upload-file wx:if="{{Z}}" u-i="19ec87d0-26,19ec87d0-25" bind:__l="__l" bindupdateModelValue="{{Y}}" u-p="{{Z}}"/></u-form-item><u-form-item wx:if="{{ab}}" u-s="{{['d']}}" u-i="19ec87d0-27,19ec87d0-0" bind:__l="__l" u-p="{{ae}}"><u-input wx:if="{{ad}}" u-i="19ec87d0-28,19ec87d0-27" bind:__l="__l" bindupdateModelValue="{{ac}}" u-p="{{ad}}"></u-input></u-form-item></view></view><view wx:if="{{af}}" class="jnpf-table"><view wx:for="{{ag}}" wx:for-item="item" wx:key="O" class="jnpf-table-item"><view class="jnpf-table-item-title u-flex u-row-between"><text class="jnpf-table-item-title-num">销售明细({{item.a}})</text><view wx:if="{{ah}}" class="jnpf-table-item-title-action" bindtap="{{item.b}}">删除 </view></view><view class="u-p-l-20 u-p-r-20 form-item-box"><u-form-item wx:if="{{ai}}" u-s="{{['d']}}" u-i="{{item.f}}" bind:__l="__l" u-p="{{item.g}}"><u-input wx:if="{{item.e}}" u-i="{{item.c}}" bind:__l="__l" bindupdateModelValue="{{item.d}}" u-p="{{item.e}}"></u-input></u-form-item><u-form-item wx:if="{{aj}}" u-s="{{['d']}}" u-i="{{item.k}}" bind:__l="__l" u-p="{{item.l}}"><u-input wx:if="{{item.j}}" u-i="{{item.h}}" bind:__l="__l" bindupdateModelValue="{{item.i}}" u-p="{{item.j}}"></u-input></u-form-item><u-form-item wx:if="{{ak}}" u-s="{{['d']}}" u-i="{{item.p}}" bind:__l="__l" u-p="{{item.q}}"><u-input wx:if="{{item.o}}" u-i="{{item.m}}" bind:__l="__l" bindupdateModelValue="{{item.n}}" u-p="{{item.o}}"></u-input></u-form-item><u-form-item wx:if="{{al}}" u-s="{{['d']}}" u-i="{{item.w}}" bind:__l="__l" u-p="{{item.x}}"><u-input wx:if="{{item.v}}" bindinput="{{item.r}}" u-i="{{item.s}}" bind:__l="__l" bindupdateModelValue="{{item.t}}" u-p="{{item.v}}"></u-input></u-form-item><u-form-item wx:if="{{am}}" u-s="{{['d']}}" u-i="{{item.C}}" bind:__l="__l" u-p="{{item.D}}"><u-input wx:if="{{item.B}}" bindinput="{{item.y}}" u-i="{{item.z}}" bind:__l="__l" bindupdateModelValue="{{item.A}}" u-p="{{item.B}}"></u-input></u-form-item><u-form-item wx:if="{{an}}" u-s="{{['d']}}" u-i="{{item.H}}" bind:__l="__l" u-p="{{item.I}}"><u-input wx:if="{{item.G}}" u-i="{{item.E}}" bind:__l="__l" bindupdateModelValue="{{item.F}}" u-p="{{item.G}}"></u-input></u-form-item><u-form-item wx:if="{{ao}}" u-s="{{['d']}}" u-i="{{item.M}}" bind:__l="__l" u-p="{{item.N}}"><u-input wx:if="{{item.L}}" u-i="{{item.J}}" bind:__l="__l" bindupdateModelValue="{{item.K}}" u-p="{{item.L}}"></u-input></u-form-item></view></view><view wx:if="{{ap}}" class="jnpf-table-addBtn" bindtap="{{ar}}"><u-icon wx:if="{{aq}}" u-i="19ec87d0-43,19ec87d0-0" bind:__l="__l" u-p="{{aq}}"></u-icon>添加 </view></view></u-form></view>
\ No newline at end of file
{
"description": "项目配置文件。",
"packOptions": {
"ignore": []
},
"setting": {
"urlCheck": true,
"es6": true,
"postcss": true,
"minified": true,
"newFeature": true,
"bigPackageSizeSupport": true
},
"compileType": "miniprogram",
"libVersion": "",
"appid": "wx57dd8fe676b11082",
"projectname": "jnpf java vue3版",
"condition": {
"search": {
"current": -1,
"list": []
},
"conversation": {
"current": -1,
"list": []
},
"game": {
"current": -1,
"list": []
},
"miniprogram": {
"current": -1,
"list": []
}
}
}
\ No newline at end of file
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ImageResize=e():t.ImageResize=e()}(this,function(){return function(t){function e(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,o){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:o})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=39)}([function(t,e){function n(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}t.exports=n},function(t,e,n){var o=n(22),r="object"==typeof self&&self&&self.Object===Object&&self,i=o||r||Function("return this")();t.exports=i},function(t,e){function n(t){return null!=t&&"object"==typeof t}t.exports=n},function(t,e,n){function o(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var o=t[e];this.set(o[0],o[1])}}var r=n(76),i=n(77),u=n(78),c=n(79),a=n(80);o.prototype.clear=r,o.prototype.delete=i,o.prototype.get=u,o.prototype.has=c,o.prototype.set=a,t.exports=o},function(t,e,n){function o(t,e){for(var n=t.length;n--;)if(r(t[n][0],e))return n;return-1}var r=n(8);t.exports=o},function(t,e,n){function o(t){return null==t?void 0===t?a:c:s&&s in Object(t)?i(t):u(t)}var r=n(16),i=n(65),u=n(88),c="[object Null]",a="[object Undefined]",s=r?r.toStringTag:void 0;t.exports=o},function(t,e,n){function o(t,e){var n=t.__data__;return r(e)?n["string"==typeof e?"string":"hash"]:n.map}var r=n(74);t.exports=o},function(t,e,n){var o=n(11),r=o(Object,"create");t.exports=r},function(t,e){function n(t,e){return t===e||t!==t&&e!==e}t.exports=n},function(t,e,n){"use strict";function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}n.d(e,"a",function(){return r});var r=function t(e){o(this,t),this.onCreate=function(){},this.onDestroy=function(){},this.onUpdate=function(){},this.overlay=e.overlay,this.img=e.img,this.options=e.options,this.requestUpdate=e.onUpdate}},function(t,e,n){function o(t,e,n){"__proto__"==e&&r?r(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}var r=n(21);t.exports=o},function(t,e,n){function o(t,e){var n=i(t,e);return r(n)?n:void 0}var r=n(49),i=n(66);t.exports=o},function(t,e,n){function o(t){return null!=t&&i(t.length)&&!r(t)}var r=n(13),i=n(31);t.exports=o},function(t,e,n){function o(t){if(!i(t))return!1;var e=r(t);return e==c||e==a||e==u||e==s}var r=n(5),i=n(0),u="[object AsyncFunction]",c="[object Function]",a="[object GeneratorFunction]",s="[object Proxy]";t.exports=o},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,n){var o=n(11),r=n(1),i=o(r,"Map");t.exports=i},function(t,e,n){var o=n(1),r=o.Symbol;t.exports=r},function(t,e){function n(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}t.exports=n},function(t,e,n){function o(t,e,n){(void 0===n||i(t[e],n))&&(void 0!==n||e in t)||r(t,e,n)}var r=n(10),i=n(8);t.exports=o},function(t,e,n){function o(t,e,n,p,l){t!==e&&u(e,function(u,s){if(l||(l=new r),a(u))c(t,e,s,n,o,p,l);else{var d=p?p(f(t,s),u,s+"",t,e,l):void 0;void 0===d&&(d=u),i(t,s,d)}},s)}var r=n(42),i=n(18),u=n(47),c=n(52),a=n(0),s=n(33),f=n(26);t.exports=o},function(t,e,n){function o(t,e){return u(i(t,e,r),t+"")}var r=n(27),i=n(90),u=n(91);t.exports=o},function(t,e,n){var o=n(11),r=function(){try{var t=o(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=r},function(t,e,n){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(e,n(105))},function(t,e,n){var o=n(89),r=o(Object.getPrototypeOf,Object);t.exports=r},function(t,e){function n(t,e){var n=typeof t;return!!(e=null==e?o:e)&&("number"==n||"symbol"!=n&&r.test(t))&&t>-1&&t%1==0&&t<e}var o=9007199254740991,r=/^(?:0|[1-9]\d*)$/;t.exports=n},function(t,e){function n(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||o)}var o=Object.prototype;t.exports=n},function(t,e){function n(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}t.exports=n},function(t,e){function n(t){return t}t.exports=n},function(t,e,n){var o=n(48),r=n(2),i=Object.prototype,u=i.hasOwnProperty,c=i.propertyIsEnumerable,a=o(function(){return arguments}())?o:function(t){return r(t)&&u.call(t,"callee")&&!c.call(t,"callee")};t.exports=a},function(t,e){var n=Array.isArray;t.exports=n},function(t,e,n){(function(t){var o=n(1),r=n(103),i="object"==typeof e&&e&&!e.nodeType&&e,u=i&&"object"==typeof t&&t&&!t.nodeType&&t,c=u&&u.exports===i,a=c?o.Buffer:void 0,s=a?a.isBuffer:void 0,f=s||r;t.exports=f}).call(e,n(14)(t))},function(t,e){function n(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=o}var o=9007199254740991;t.exports=n},function(t,e,n){var o=n(50),r=n(55),i=n(87),u=i&&i.isTypedArray,c=u?r(u):o;t.exports=c},function(t,e,n){function o(t){return u(t)?r(t,!0):i(t)}var r=n(44),i=n(51),u=n(12);t.exports=o},function(t,e,n){"use strict";e.a={modules:["DisplaySize","Toolbar","Resize"]}},function(t,e,n){"use strict";function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}n.d(e,"a",function(){return c});var u=n(9),c=function(t){function e(){var t,n,i,u;o(this,e);for(var c=arguments.length,a=Array(c),s=0;s<c;s++)a[s]=arguments[s];return n=i=r(this,(t=e.__proto__||Object.getPrototypeOf(e)).call.apply(t,[this].concat(a))),i.onCreate=function(){i.display=document.createElement("div"),i.display.classList.add("ql-image-size"),i.overlay.appendChild(i.display)},i.onDestroy=function(){},i.onUpdate=function(){if(i.display&&i.img){var t=i.getCurrentSize();i.display.innerHTML=t.join(" &times; "),Object.assign(i.display.style,{right:"4px",top:"4px",left:"auto"})}},i.getCurrentSize=function(){return[i.img.width,Math.round(i.img.width/i.img.naturalWidth*i.img.naturalHeight)]},u=n,r(i,u)}return i(e,t),e}(u.a)},function(t,e,n){"use strict";function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}n.d(e,"a",function(){return f});var u=n(9),c=navigator.maxTouchPoints,a=!1;try{var s=Object.defineProperty({},"passive",{get:function(){a={passive:!1}}});window.addEventListener("test",null,s)}catch(t){}var f=function(t){function e(){var t,n,i,u;o(this,e);for(var s=arguments.length,f=Array(s),p=0;p<s;p++)f[p]=arguments[p];return n=i=r(this,(t=e.__proto__||Object.getPrototypeOf(e)).call.apply(t,[this].concat(f))),i.onCreate=function(){i.boxes=[],i.addBox("nwse-resize"),i.addBox("nesw-resize"),i.addBox("nwse-resize"),i.addBox("nesw-resize"),i.positionBoxes()},i.onDestroy=function(){i.setCursor("")},i.positionBoxes=function(){[{left:"-6px",top:"-6px"},{right:"-6px",top:"-6px"},{right:"-6px",bottom:"-6px"},{left:"-6px",bottom:"-6px"}].forEach(function(t,e){Object.assign(i.boxes[e].style,t)})},i.addBox=function(t){var e=document.createElement("div");e.classList.add("ql-image-handle"),e.style.cursor=t,e.addEventListener(c?"touchstart":"mousedown",i.handleMousedown,!1),i.overlay.appendChild(e),i.boxes.push(e)},i.handleMousedown=function(t){i.dragBox=t.target;var e=c?t.changedTouches[0]:t;i.dragStartX=e.clientX,i.preDragWidth=i.img.width||i.img.naturalWidth,i.setCursor(i.dragBox.style.cursor),document.addEventListener(c?"touchmove":"mousemove",i.handleDrag,a),document.addEventListener(c?"touchend":"mouseup",i.handleMouseup,!1)},i.handleMouseup=function(){i.setCursor(""),document.removeEventListener(c?"touchmove":"mousemove",i.handleDrag),document.removeEventListener(c?"touchend":"mouseup",i.handleMouseup)},i.handleDrag=function(t){if(i.img){var e=c?t.changedTouches[0]:t,n=e.clientX-i.dragStartX;i.dragBox===i.boxes[0]||i.dragBox===i.boxes[3]?i.img.width=Math.round(i.preDragWidth-n):i.img.width=Math.round(i.preDragWidth+n),i.requestUpdate(),t.preventDefault()}},i.setCursor=function(t){[document.body,i.img].forEach(function(e){e.style.cursor=t})},u=n,r(i,u)}return i(e,t),e}(u.a)},function(t,e,n){"use strict";function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}n.d(e,"a",function(){return c});var u=n(9),c=function(t){function e(){var t,n,i,u;o(this,e);for(var c=arguments.length,a=Array(c),s=0;s<c;s++)a[s]=arguments[s];return n=i=r(this,(t=e.__proto__||Object.getPrototypeOf(e)).call.apply(t,[this].concat(a))),i.onCreate=function(){i.toolbar=document.createElement("div"),i.toolbar.classList.add("ql-image-toolbar"),i.overlay.appendChild(i.toolbar),i._addToolbarButtons()},i.onDestroy=function(){},i.onUpdate=function(){},i._addToolbarButtons=function(){var t=document.createElement("span");t.classList.add("triangle-up"),i.toolbar.appendChild(t);var e=document.createElement("span");e.innerText="删除",e.addEventListener("click",function(){var t=new CustomEvent("keyup");t.keyCode=46,document.dispatchEvent(t)}),i.toolbar.appendChild(e)},u=n,r(i,u)}return i(e,t),e}(u.a)},function(t,e,n){var o=n(17),r=n(20),i=n(64),u=n(102),c=r(function(t){return t.push(void 0,i),o(u,void 0,t)});t.exports=c},function(t,e,n){"use strict";function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var r=n(38),i=n.n(r),u=n(34),c=n(35),a=n(37),s=n(36),f={DisplaySize:c.a,Toolbar:a.a,Resize:s.a},p=function t(e){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};o(this,t),this.initializeModules=function(){n.removeModules(),n.modules=n.moduleClasses.map(function(t){return new(f[t]||t)(n)}),n.modules.forEach(function(t){t.onCreate()}),n.onUpdate()},this.onUpdate=function(){n.repositionElements(),n.modules.forEach(function(t){t.onUpdate()})},this.removeModules=function(){n.modules.forEach(function(t){t.onDestroy()}),n.modules=[]},this.handleClick=function(t){if(t.target&&t.target.tagName&&"IMG"===t.target.tagName.toUpperCase()){if(n.img===t.target)return;n.img&&n.hide(),n.show(t.target)}else n.img&&n.hide()},this.show=function(t){n.img=t,n.showOverlay(),n.initializeModules()},this.showOverlay=function(){n.overlay&&n.hideOverlay(),n.quill.setSelection(null),n.setUserSelect("none"),document.addEventListener("keyup",n.checkImage,!0),n.quill.root.addEventListener("input",n.checkImage,!0),n.overlay=document.createElement("div"),n.overlay.classList.add("ql-image-overlay"),n.quill.root.parentNode.appendChild(n.overlay),n.repositionElements()},this.hideOverlay=function(){n.overlay&&(n.quill.root.parentNode.removeChild(n.overlay),n.overlay=void 0,document.removeEventListener("keyup",n.checkImage),n.quill.root.removeEventListener("input",n.checkImage),n.setUserSelect(""))},this.repositionElements=function(){if(n.overlay&&n.img){var t=n.quill.root.parentNode,e=n.img.getBoundingClientRect(),o=t.getBoundingClientRect();Object.assign(n.overlay.style,{left:e.left-o.left-1+t.scrollLeft+"px",top:e.top-o.top+t.scrollTop+"px",width:e.width+"px",height:e.height+"px"})}},this.hide=function(){n.hideOverlay(),n.removeModules(),n.img=void 0},this.setUserSelect=function(t){["userSelect","mozUserSelect","webkitUserSelect","msUserSelect"].forEach(function(e){n.quill.root.style[e]=t,document.documentElement.style[e]=t})},this.checkImage=function(t){n.img&&(46!=t.keyCode&&8!=t.keyCode||window.Quill.find(n.img).deleteAt(0),n.hide())},this.quill=e;var c=!1;r.modules&&(c=r.modules.slice()),this.options=i()({},r,u.a),!1!==c&&(this.options.modules=c),document.execCommand("enableObjectResizing",!1,"false"),this.quill.root.addEventListener("click",this.handleClick,!1),this.quill.root.parentNode.style.position=this.quill.root.parentNode.style.position||"relative",this.moduleClasses=this.options.modules,this.modules=[]};e.default=p,window.Quill&&window.Quill.register("modules/imageResize",p)},function(t,e,n){function o(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var o=t[e];this.set(o[0],o[1])}}var r=n(67),i=n(68),u=n(69),c=n(70),a=n(71);o.prototype.clear=r,o.prototype.delete=i,o.prototype.get=u,o.prototype.has=c,o.prototype.set=a,t.exports=o},function(t,e,n){function o(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var o=t[e];this.set(o[0],o[1])}}var r=n(81),i=n(82),u=n(83),c=n(84),a=n(85);o.prototype.clear=r,o.prototype.delete=i,o.prototype.get=u,o.prototype.has=c,o.prototype.set=a,t.exports=o},function(t,e,n){function o(t){var e=this.__data__=new r(t);this.size=e.size}var r=n(3),i=n(93),u=n(94),c=n(95),a=n(96),s=n(97);o.prototype.clear=i,o.prototype.delete=u,o.prototype.get=c,o.prototype.has=a,o.prototype.set=s,t.exports=o},function(t,e,n){var o=n(1),r=o.Uint8Array;t.exports=r},function(t,e,n){function o(t,e){var n=u(t),o=!n&&i(t),f=!n&&!o&&c(t),l=!n&&!o&&!f&&s(t),d=n||o||f||l,h=d?r(t.length,String):[],v=h.length;for(var y in t)!e&&!p.call(t,y)||d&&("length"==y||f&&("offset"==y||"parent"==y)||l&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||a(y,v))||h.push(y);return h}var r=n(54),i=n(28),u=n(29),c=n(30),a=n(24),s=n(32),f=Object.prototype,p=f.hasOwnProperty;t.exports=o},function(t,e,n){function o(t,e,n){var o=t[e];c.call(t,e)&&i(o,n)&&(void 0!==n||e in t)||r(t,e,n)}var r=n(10),i=n(8),u=Object.prototype,c=u.hasOwnProperty;t.exports=o},function(t,e,n){var o=n(0),r=Object.create,i=function(){function t(){}return function(e){if(!o(e))return{};if(r)return r(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();t.exports=i},function(t,e,n){var o=n(63),r=o();t.exports=r},function(t,e,n){function o(t){return i(t)&&r(t)==u}var r=n(5),i=n(2),u="[object Arguments]";t.exports=o},function(t,e,n){function o(t){return!(!u(t)||i(t))&&(r(t)?h:s).test(c(t))}var r=n(13),i=n(75),u=n(0),c=n(98),a=/[\\^$.*+?()[\]{}|]/g,s=/^\[object .+?Constructor\]$/,f=Function.prototype,p=Object.prototype,l=f.toString,d=p.hasOwnProperty,h=RegExp("^"+l.call(d).replace(a,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=o},function(t,e,n){function o(t){return u(t)&&i(t.length)&&!!c[r(t)]}var r=n(5),i=n(31),u=n(2),c={};c["[object Float32Array]"]=c["[object Float64Array]"]=c["[object Int8Array]"]=c["[object Int16Array]"]=c["[object Int32Array]"]=c["[object Uint8Array]"]=c["[object Uint8ClampedArray]"]=c["[object Uint16Array]"]=c["[object Uint32Array]"]=!0,c["[object Arguments]"]=c["[object Array]"]=c["[object ArrayBuffer]"]=c["[object Boolean]"]=c["[object DataView]"]=c["[object Date]"]=c["[object Error]"]=c["[object Function]"]=c["[object Map]"]=c["[object Number]"]=c["[object Object]"]=c["[object RegExp]"]=c["[object Set]"]=c["[object String]"]=c["[object WeakMap]"]=!1,t.exports=o},function(t,e,n){function o(t){if(!r(t))return u(t);var e=i(t),n=[];for(var o in t)("constructor"!=o||!e&&a.call(t,o))&&n.push(o);return n}var r=n(0),i=n(25),u=n(86),c=Object.prototype,a=c.hasOwnProperty;t.exports=o},function(t,e,n){function o(t,e,n,o,g,_,m){var j=b(t,n),w=b(e,n),O=m.get(w);if(O)return void r(t,n,O);var E=_?_(j,w,n+"",t,e,m):void 0,z=void 0===E;if(z){var C=f(w),P=!C&&l(w),S=!C&&!P&&y(w);E=w,C||P||S?f(j)?E=j:p(j)?E=c(j):P?(z=!1,E=i(w,!0)):S?(z=!1,E=u(w,!0)):E=[]:v(w)||s(w)?(E=j,s(j)?E=x(j):h(j)&&!d(j)||(E=a(w))):z=!1}z&&(m.set(w,E),g(E,w,o,_,m),m.delete(w)),r(t,n,E)}var r=n(18),i=n(57),u=n(58),c=n(59),a=n(72),s=n(28),f=n(29),p=n(100),l=n(30),d=n(13),h=n(0),v=n(101),y=n(32),b=n(26),x=n(104);t.exports=o},function(t,e,n){var o=n(99),r=n(21),i=n(27),u=r?function(t,e){return r(t,"toString",{configurable:!0,enumerable:!1,value:o(e),writable:!0})}:i;t.exports=u},function(t,e){function n(t,e){for(var n=-1,o=Array(t);++n<t;)o[n]=e(n);return o}t.exports=n},function(t,e){function n(t){return function(e){return t(e)}}t.exports=n},function(t,e,n){function o(t){var e=new t.constructor(t.byteLength);return new r(e).set(new r(t)),e}var r=n(43);t.exports=o},function(t,e,n){(function(t){function o(t,e){if(e)return t.slice();var n=t.length,o=s?s(n):new t.constructor(n);return t.copy(o),o}var r=n(1),i="object"==typeof e&&e&&!e.nodeType&&e,u=i&&"object"==typeof t&&t&&!t.nodeType&&t,c=u&&u.exports===i,a=c?r.Buffer:void 0,s=a?a.allocUnsafe:void 0;t.exports=o}).call(e,n(14)(t))},function(t,e,n){function o(t,e){var n=e?r(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}var r=n(56);t.exports=o},function(t,e){function n(t,e){var n=-1,o=t.length;for(e||(e=Array(o));++n<o;)e[n]=t[n];return e}t.exports=n},function(t,e,n){function o(t,e,n,o){var u=!n;n||(n={});for(var c=-1,a=e.length;++c<a;){var s=e[c],f=o?o(n[s],t[s],s,n,t):void 0;void 0===f&&(f=t[s]),u?i(n,s,f):r(n,s,f)}return n}var r=n(45),i=n(10);t.exports=o},function(t,e,n){var o=n(1),r=o["__core-js_shared__"];t.exports=r},function(t,e,n){function o(t){return r(function(e,n){var o=-1,r=n.length,u=r>1?n[r-1]:void 0,c=r>2?n[2]:void 0;for(u=t.length>3&&"function"==typeof u?(r--,u):void 0,c&&i(n[0],n[1],c)&&(u=r<3?void 0:u,r=1),e=Object(e);++o<r;){var a=n[o];a&&t(e,a,o,u)}return e})}var r=n(20),i=n(73);t.exports=o},function(t,e){function n(t){return function(e,n,o){for(var r=-1,i=Object(e),u=o(e),c=u.length;c--;){var a=u[t?c:++r];if(!1===n(i[a],a,i))break}return e}}t.exports=n},function(t,e,n){function o(t,e,n,u,c,a){return i(t)&&i(e)&&(a.set(e,t),r(t,e,void 0,o,a),a.delete(e)),t}var r=n(19),i=n(0);t.exports=o},function(t,e,n){function o(t){var e=u.call(t,a),n=t[a];try{t[a]=void 0;var o=!0}catch(t){}var r=c.call(t);return o&&(e?t[a]=n:delete t[a]),r}var r=n(16),i=Object.prototype,u=i.hasOwnProperty,c=i.toString,a=r?r.toStringTag:void 0;t.exports=o},function(t,e){function n(t,e){return null==t?void 0:t[e]}t.exports=n},function(t,e,n){function o(){this.__data__=r?r(null):{},this.size=0}var r=n(7);t.exports=o},function(t,e){function n(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}t.exports=n},function(t,e,n){function o(t){var e=this.__data__;if(r){var n=e[t];return n===i?void 0:n}return c.call(e,t)?e[t]:void 0}var r=n(7),i="__lodash_hash_undefined__",u=Object.prototype,c=u.hasOwnProperty;t.exports=o},function(t,e,n){function o(t){var e=this.__data__;return r?void 0!==e[t]:u.call(e,t)}var r=n(7),i=Object.prototype,u=i.hasOwnProperty;t.exports=o},function(t,e,n){function o(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=r&&void 0===e?i:e,this}var r=n(7),i="__lodash_hash_undefined__";t.exports=o},function(t,e,n){function o(t){return"function"!=typeof t.constructor||u(t)?{}:r(i(t))}var r=n(46),i=n(23),u=n(25);t.exports=o},function(t,e,n){function o(t,e,n){if(!c(n))return!1;var o=typeof e;return!!("number"==o?i(n)&&u(e,n.length):"string"==o&&e in n)&&r(n[e],t)}var r=n(8),i=n(12),u=n(24),c=n(0);t.exports=o},function(t,e){function n(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}t.exports=n},function(t,e,n){function o(t){return!!i&&i in t}var r=n(61),i=function(){var t=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();t.exports=o},function(t,e){function n(){this.__data__=[],this.size=0}t.exports=n},function(t,e,n){function o(t){var e=this.__data__,n=r(e,t);return!(n<0)&&(n==e.length-1?e.pop():u.call(e,n,1),--this.size,!0)}var r=n(4),i=Array.prototype,u=i.splice;t.exports=o},function(t,e,n){function o(t){var e=this.__data__,n=r(e,t);return n<0?void 0:e[n][1]}var r=n(4);t.exports=o},function(t,e,n){function o(t){return r(this.__data__,t)>-1}var r=n(4);t.exports=o},function(t,e,n){function o(t,e){var n=this.__data__,o=r(n,t);return o<0?(++this.size,n.push([t,e])):n[o][1]=e,this}var r=n(4);t.exports=o},function(t,e,n){function o(){this.size=0,this.__data__={hash:new r,map:new(u||i),string:new r}}var r=n(40),i=n(3),u=n(15);t.exports=o},function(t,e,n){function o(t){var e=r(this,t).delete(t);return this.size-=e?1:0,e}var r=n(6);t.exports=o},function(t,e,n){function o(t){return r(this,t).get(t)}var r=n(6);t.exports=o},function(t,e,n){function o(t){return r(this,t).has(t)}var r=n(6);t.exports=o},function(t,e,n){function o(t,e){var n=r(this,t),o=n.size;return n.set(t,e),this.size+=n.size==o?0:1,this}var r=n(6);t.exports=o},function(t,e){function n(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}t.exports=n},function(t,e,n){(function(t){var o=n(22),r="object"==typeof e&&e&&!e.nodeType&&e,i=r&&"object"==typeof t&&t&&!t.nodeType&&t,u=i&&i.exports===r,c=u&&o.process,a=function(){try{var t=i&&i.require&&i.require("util").types;return t||c&&c.binding&&c.binding("util")}catch(t){}}();t.exports=a}).call(e,n(14)(t))},function(t,e){function n(t){return r.call(t)}var o=Object.prototype,r=o.toString;t.exports=n},function(t,e){function n(t,e){return function(n){return t(e(n))}}t.exports=n},function(t,e,n){function o(t,e,n){return e=i(void 0===e?t.length-1:e,0),function(){for(var o=arguments,u=-1,c=i(o.length-e,0),a=Array(c);++u<c;)a[u]=o[e+u];u=-1;for(var s=Array(e+1);++u<e;)s[u]=o[u];return s[e]=n(a),r(t,this,s)}}var r=n(17),i=Math.max;t.exports=o},function(t,e,n){var o=n(53),r=n(92),i=r(o);t.exports=i},function(t,e){function n(t){var e=0,n=0;return function(){var u=i(),c=r-(u-n);if(n=u,c>0){if(++e>=o)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var o=800,r=16,i=Date.now;t.exports=n},function(t,e,n){function o(){this.__data__=new r,this.size=0}var r=n(3);t.exports=o},function(t,e){function n(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}t.exports=n},function(t,e){function n(t){return this.__data__.get(t)}t.exports=n},function(t,e){function n(t){return this.__data__.has(t)}t.exports=n},function(t,e,n){function o(t,e){var n=this.__data__;if(n instanceof r){var o=n.__data__;if(!i||o.length<c-1)return o.push([t,e]),this.size=++n.size,this;n=this.__data__=new u(o)}return n.set(t,e),this.size=n.size,this}var r=n(3),i=n(15),u=n(41),c=200;t.exports=o},function(t,e){function n(t){if(null!=t){try{return r.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var o=Function.prototype,r=o.toString;t.exports=n},function(t,e){function n(t){return function(){return t}}t.exports=n},function(t,e,n){function o(t){return i(t)&&r(t)}var r=n(12),i=n(2);t.exports=o},function(t,e,n){function o(t){if(!u(t)||r(t)!=c)return!1;var e=i(t);if(null===e)return!0;var n=p.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&f.call(n)==l}var r=n(5),i=n(23),u=n(2),c="[object Object]",a=Function.prototype,s=Object.prototype,f=a.toString,p=s.hasOwnProperty,l=f.call(Object);t.exports=o},function(t,e,n){var o=n(19),r=n(62),i=r(function(t,e,n,r){o(t,e,n,r)});t.exports=i},function(t,e){function n(){return!1}t.exports=n},function(t,e,n){function o(t){return r(t,i(t))}var r=n(60),i=n(33);t.exports=o},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n}])});
\ No newline at end of file
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg class="icon" width="200px" height="200.00px" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path fill="#ffffff" d="M704 512C810.666667 512 896 426.666667 896 320S810.666667 128 704 128 512 213.333333 512 320C512 213.333333 426.666667 128 320 128S128 213.333333 128 320 213.333333 512 320 512C213.333333 512 128 597.333333 128 704c0 21.333333 4.266667 42.666667 12.8 64l12.8 25.6v4.266667c4.266667 8.533333 8.533333 17.066667 12.8 21.333333v4.266667c8.533333 12.8 21.333333 25.6 34.133333 34.133333 4.266667 0 4.266667 4.266667 4.266667 4.266667 4.266667 4.266667 8.533333 4.266667 12.8 8.533333 4.266667 4.266667 8.533333 4.266667 17.066667 8.533333 4.266667 0 8.533333 4.266667 12.8 4.266667 8.533333 4.266667 12.8 4.266667 21.333333 8.533333 4.266667 0 8.533333 0 12.8 4.266667h38.4c12.8 0 25.6 0 34.133333-4.266667 4.266667 0 8.533333 0 12.8-4.266666 8.533333 0 12.8-4.266667 21.333334-8.533334 4.266667 0 8.533333-4.266667 12.8-4.266666 4.266667-4.266667 12.8-4.266667 17.066666-8.533334 4.266667-4.266667 8.533333-4.266667 12.8-8.533333 4.266667 0 4.266667-4.266667 4.266667-4.266667 12.8-8.533333 25.6-21.333333 34.133333-34.133333v-4.266667c4.266667-8.533333 8.533333-12.8 12.8-21.333333v-4.266667l12.8-25.6c8.533333-21.333333 12.8-42.666667 12.8-64 0 21.333333 4.266667 42.666667 12.8 64l12.8 25.6v4.266667c4.266667 8.533333 8.533333 17.066667 12.8 21.333333v4.266667c8.533333 12.8 21.333333 25.6 34.133334 34.133333 4.266667 0 4.266667 4.266667 4.266666 4.266667 4.266667 4.266667 8.533333 4.266667 12.8 8.533333 4.266667 4.266667 8.533333 4.266667 17.066667 8.533334 4.266667 0 8.533333 4.266667 12.8 4.266666 8.533333 4.266667 12.8 4.266667 21.333333 8.533334 4.266667 0 8.533333 0 12.8 4.266666 12.8 0 21.333333 4.266667 34.133334 4.266667s25.6 0 34.133333-4.266667c4.266667 0 8.533333 0 12.8-4.266666 8.533333 0 12.8-4.266667 21.333333-8.533334 4.266667 0 8.533333-4.266667 12.8-4.266666 4.266667-4.266667 12.8-4.266667 17.066667-8.533334s8.533333-4.266667 12.8-8.533333c4.266667 0 4.266667-4.266667 4.266667-4.266667 12.8-8.533333 25.6-21.333333 34.133333-34.133333v-4.266667c4.266667-8.533333 8.533333-12.8 12.8-21.333333v-4.266667l12.8-25.6c8.533333-21.333333 12.8-42.666667 12.8-64C896 597.333333 810.666667 512 704 512zM554.666667 320C554.666667 238.933333 622.933333 170.666667 704 170.666667S853.333333 238.933333 853.333333 320 785.066667 469.333333 704 469.333333H554.666667V320z m-384 0C170.666667 238.933333 238.933333 170.666667 320 170.666667S469.333333 238.933333 469.333333 320V469.333333h-149.333333C238.933333 469.333333 170.666667 401.066667 170.666667 320zM187.733333 768c-12.8-21.333333-17.066667-42.666667-17.066666-64C170.666667 622.933333 238.933333 554.666667 320 554.666667H469.333333v149.333333c0 21.333333-4.266667 42.666667-17.066666 64H187.733333z m366.933334-64V554.666667h149.333333c81.066667 0 149.333333 68.266667 149.333333 149.333333 0 21.333333-4.266667 42.666667-17.066666 64h-268.8c-8.533333-21.333333-12.8-42.666667-12.8-64z" /></svg>
\ No newline at end of file
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg class="icon" width="200px" height="200.00px" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path fill="#ffaa00" d="M704 512C810.666667 512 896 426.666667 896 320S810.666667 128 704 128 512 213.333333 512 320C512 213.333333 426.666667 128 320 128S128 213.333333 128 320 213.333333 512 320 512C213.333333 512 128 597.333333 128 704c0 21.333333 4.266667 42.666667 12.8 64l12.8 25.6v4.266667c4.266667 8.533333 8.533333 17.066667 12.8 21.333333v4.266667c8.533333 12.8 21.333333 25.6 34.133333 34.133333 4.266667 0 4.266667 4.266667 4.266667 4.266667 4.266667 4.266667 8.533333 4.266667 12.8 8.533333 4.266667 4.266667 8.533333 4.266667 17.066667 8.533333 4.266667 0 8.533333 4.266667 12.8 4.266667 8.533333 4.266667 12.8 4.266667 21.333333 8.533333 4.266667 0 8.533333 0 12.8 4.266667h38.4c12.8 0 25.6 0 34.133333-4.266667 4.266667 0 8.533333 0 12.8-4.266666 8.533333 0 12.8-4.266667 21.333334-8.533334 4.266667 0 8.533333-4.266667 12.8-4.266666 4.266667-4.266667 12.8-4.266667 17.066666-8.533334 4.266667-4.266667 8.533333-4.266667 12.8-8.533333 4.266667 0 4.266667-4.266667 4.266667-4.266667 12.8-8.533333 25.6-21.333333 34.133333-34.133333v-4.266667c4.266667-8.533333 8.533333-12.8 12.8-21.333333v-4.266667l12.8-25.6c8.533333-21.333333 12.8-42.666667 12.8-64 0 21.333333 4.266667 42.666667 12.8 64l12.8 25.6v4.266667c4.266667 8.533333 8.533333 17.066667 12.8 21.333333v4.266667c8.533333 12.8 21.333333 25.6 34.133334 34.133333 4.266667 0 4.266667 4.266667 4.266666 4.266667 4.266667 4.266667 8.533333 4.266667 12.8 8.533333 4.266667 4.266667 8.533333 4.266667 17.066667 8.533334 4.266667 0 8.533333 4.266667 12.8 4.266666 8.533333 4.266667 12.8 4.266667 21.333333 8.533334 4.266667 0 8.533333 0 12.8 4.266666 12.8 0 21.333333 4.266667 34.133334 4.266667s25.6 0 34.133333-4.266667c4.266667 0 8.533333 0 12.8-4.266666 8.533333 0 12.8-4.266667 21.333333-8.533334 4.266667 0 8.533333-4.266667 12.8-4.266666 4.266667-4.266667 12.8-4.266667 17.066667-8.533334s8.533333-4.266667 12.8-8.533333c4.266667 0 4.266667-4.266667 4.266667-4.266667 12.8-8.533333 25.6-21.333333 34.133333-34.133333v-4.266667c4.266667-8.533333 8.533333-12.8 12.8-21.333333v-4.266667l12.8-25.6c8.533333-21.333333 12.8-42.666667 12.8-64C896 597.333333 810.666667 512 704 512zM554.666667 320C554.666667 238.933333 622.933333 170.666667 704 170.666667S853.333333 238.933333 853.333333 320 785.066667 469.333333 704 469.333333H554.666667V320z m-384 0C170.666667 238.933333 238.933333 170.666667 320 170.666667S469.333333 238.933333 469.333333 320V469.333333h-149.333333C238.933333 469.333333 170.666667 401.066667 170.666667 320zM187.733333 768c-12.8-21.333333-17.066667-42.666667-17.066666-64C170.666667 622.933333 238.933333 554.666667 320 554.666667H469.333333v149.333333c0 21.333333-4.266667 42.666667-17.066666 64H187.733333z m366.933334-64V554.666667h149.333333c81.066667 0 149.333333 68.266667 149.333333 149.333333 0 21.333333-4.266667 42.666667-17.066666 64h-268.8c-8.533333-21.333333-12.8-42.666667-12.8-64z" /></svg>
\ No newline at end of file
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1722590135704" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4381" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M362.666667 895.914667V639.850667c0-36.266667 33.109333-63.850667 72.533333-63.850667h153.6c39.253333 0 72.533333 27.648 72.533333 63.850667v256.064h59.904c61.269333 0 110.762667-47.957333 110.762667-106.730667V414.165333L557.162667 139.328a63.808 63.808 0 0 0-90.325334 0L192 414.165333v375.018667c0 58.88 49.386667 106.730667 110.762667 106.730667H362.666667z m42.666666 0h213.333334V639.850667c0-10.709333-12.586667-21.184-29.866667-21.184h-153.6c-17.408 0-29.866667 10.389333-29.866667 21.184v256.064z m469.333334-439.082667v332.352c0 82.645333-68.885333 149.397333-153.429334 149.397333H302.762667C218.133333 938.581333 149.333333 871.936 149.333333 789.184V456.832l-27.584 27.584a21.333333 21.333333 0 1 1-30.165333-30.165333L436.672 109.162667a106.474667 106.474667 0 0 1 150.656 0l345.088 345.088a21.333333 21.333333 0 0 1-30.165333 30.165333L874.666667 456.832z" fill="#ffffff" p-id="4382"></path></svg>
\ No newline at end of file
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1722590135704" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4381" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M362.666667 895.914667V639.850667c0-36.266667 33.109333-63.850667 72.533333-63.850667h153.6c39.253333 0 72.533333 27.648 72.533333 63.850667v256.064h59.904c61.269333 0 110.762667-47.957333 110.762667-106.730667V414.165333L557.162667 139.328a63.808 63.808 0 0 0-90.325334 0L192 414.165333v375.018667c0 58.88 49.386667 106.730667 110.762667 106.730667H362.666667z m42.666666 0h213.333334V639.850667c0-10.709333-12.586667-21.184-29.866667-21.184h-153.6c-17.408 0-29.866667 10.389333-29.866667 21.184v256.064z m469.333334-439.082667v332.352c0 82.645333-68.885333 149.397333-153.429334 149.397333H302.762667C218.133333 938.581333 149.333333 871.936 149.333333 789.184V456.832l-27.584 27.584a21.333333 21.333333 0 1 1-30.165333-30.165333L436.672 109.162667a106.474667 106.474667 0 0 1 150.656 0l345.088 345.088a21.333333 21.333333 0 0 1-30.165333 30.165333L874.666667 456.832z" fill="#ffaa00" p-id="4382"></path></svg>
\ No newline at end of file
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg class="icon" width="200px" height="200.00px" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path fill="#ffffff" d="M938.666667 454.101333c0 201.621333-186.432 364.202667-416.938667 368.661334-9.130667 10.346667-11.733333 13.226667-16.213333 17.898666-1.493333 1.578667-1.493333 1.578667-3.029334 3.136-7.552 7.68-15.253333 14.741333-35.456 32.597334-54.272 41.322667-130.837333 62.165333-186.602666 62.272a21.333333 21.333333 0 0 1-14.378667-5.546667 22.485333 22.485333 0 0 1-6.741333-22.592c0.810667-3.413333 2.197333-6.293333 4.053333-9.28 2.026667-3.242667 4.629333-6.570667 8.874667-11.605333 1.109333-1.322667 8.682667-10.197333 11.093333-13.077334 4.672-5.589333 8.64-10.56 12.416-15.594666 23.253333-31.146667 33.216-58.474667 26.666667-83.52a21.333333 21.333333 0 1 1 41.28-10.794667c10.602667 40.597333-3.52 79.36-33.770667 119.850667-1.173333 1.578667-2.368 3.136-3.584 4.693333 39.104-7.509333 82.026667-23.744 113.6-47.722667 18.282667-16.213333 25.472-22.826667 32.128-29.610666l2.602667-2.666667c4.757333-4.992 7.36-7.893333 21.333333-23.765333a21.333333 21.333333 0 0 1 16-7.253334c212.736 0 384-146.773333 384-326.08C896 274.773333 724.736 128 512 128S128 274.773333 128 454.101333c0 86.933333 40.32 168.661333 111.274667 229.461334a21.333333 21.333333 0 1 1-27.776 32.405333C131.413333 647.296 85.333333 553.941333 85.333333 454.101333 85.333333 249.642667 277.034667 85.333333 512 85.333333s426.666667 164.309333 426.666667 368.768zM341.333333 384c0-11.776 9.493333-21.333333 21.333334-21.333333h298.666666c11.776 0 21.333333 9.472 21.333334 21.333333 0 11.776-9.493333 21.333333-21.333334 21.333333H362.666667c-11.776 0-21.333333-9.472-21.333334-21.333333z m0 128c0-11.776 9.728-21.333333 21.376-21.333333h213.248a21.312 21.312 0 1 1 0 42.666666h-213.248A21.312 21.312 0 0 1 341.333333 512z" /></svg>
\ No newline at end of file
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg class="icon" width="200px" height="200.00px" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path fill="#ffaa00" d="M938.666667 454.101333c0 201.621333-186.432 364.202667-416.938667 368.661334-9.130667 10.346667-11.733333 13.226667-16.213333 17.898666-1.493333 1.578667-1.493333 1.578667-3.029334 3.136-7.552 7.68-15.253333 14.741333-35.456 32.597334-54.272 41.322667-130.837333 62.165333-186.602666 62.272a21.333333 21.333333 0 0 1-14.378667-5.546667 22.485333 22.485333 0 0 1-6.741333-22.592c0.810667-3.413333 2.197333-6.293333 4.053333-9.28 2.026667-3.242667 4.629333-6.570667 8.874667-11.605333 1.109333-1.322667 8.682667-10.197333 11.093333-13.077334 4.672-5.589333 8.64-10.56 12.416-15.594666 23.253333-31.146667 33.216-58.474667 26.666667-83.52a21.333333 21.333333 0 1 1 41.28-10.794667c10.602667 40.597333-3.52 79.36-33.770667 119.850667-1.173333 1.578667-2.368 3.136-3.584 4.693333 39.104-7.509333 82.026667-23.744 113.6-47.722667 18.282667-16.213333 25.472-22.826667 32.128-29.610666l2.602667-2.666667c4.757333-4.992 7.36-7.893333 21.333333-23.765333a21.333333 21.333333 0 0 1 16-7.253334c212.736 0 384-146.773333 384-326.08C896 274.773333 724.736 128 512 128S128 274.773333 128 454.101333c0 86.933333 40.32 168.661333 111.274667 229.461334a21.333333 21.333333 0 1 1-27.776 32.405333C131.413333 647.296 85.333333 553.941333 85.333333 454.101333 85.333333 249.642667 277.034667 85.333333 512 85.333333s426.666667 164.309333 426.666667 368.768zM341.333333 384c0-11.776 9.493333-21.333333 21.333334-21.333333h298.666666c11.776 0 21.333333 9.472 21.333334 21.333333 0 11.776-9.493333 21.333333-21.333334 21.333333H362.666667c-11.776 0-21.333333-9.472-21.333334-21.333333z m0 128c0-11.776 9.728-21.333333 21.376-21.333333h213.248a21.312 21.312 0 1 1 0 42.666666h-213.248A21.312 21.312 0 0 1 341.333333 512z" /></svg>
\ No newline at end of file
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg class="icon" width="200px" height="200.00px" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path fill="#ffffff" d="M512 563.2c-127.9744 0-230.4-115.2512-230.4-256s102.4256-256 230.4-256 230.4 115.2512 230.4 256-102.4256 256-230.4 256z m0-51.2c98.2528 0 179.2-91.0592 179.2-204.8s-80.9472-204.8-179.2-204.8-179.2 91.0592-179.2 204.8 80.9472 204.8 179.2 204.8zM128 793.6a179.2 179.2 0 0 1 179.3792-179.2h409.2416C815.6416 614.4 896 694.7328 896 793.6a179.2 179.2 0 0 1-179.3792 179.2H307.3792C208.3584 972.8 128 892.4672 128 793.6z m51.2 0c0 70.5792 57.4464 128 128.1792 128h409.2416A128 128 0 0 0 844.8 793.6c0-70.5792-57.4464-128-128.1792-128H307.3792A128 128 0 0 0 179.2 793.6z" /></svg>
\ No newline at end of file
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg class="icon" width="200px" height="200.00px" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path fill="#ffaa00" d="M512 563.2c-127.9744 0-230.4-115.2512-230.4-256s102.4256-256 230.4-256 230.4 115.2512 230.4 256-102.4256 256-230.4 256z m0-51.2c98.2528 0 179.2-91.0592 179.2-204.8s-80.9472-204.8-179.2-204.8-179.2 91.0592-179.2 204.8 80.9472 204.8 179.2 204.8zM128 793.6a179.2 179.2 0 0 1 179.3792-179.2h409.2416C815.6416 614.4 896 694.7328 896 793.6a179.2 179.2 0 0 1-179.3792 179.2H307.3792C208.3584 972.8 128 892.4672 128 793.6z m51.2 0c0 70.5792 57.4464 128 128.1792 128h409.2416A128 128 0 0 0 844.8 793.6c0-70.5792-57.4464-128-128.1792-128H307.3792A128 128 0 0 0 179.2 793.6z" /></svg>
\ No newline at end of file
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" t="1722483401708" class="icon" viewBox="0 0 1055 1024" version="1.1" p-id="12090" width="206.0546875" height="200"><path d="M989.717043 559.46165c0 15.844691-15.844691 31.689383-31.689383 31.689382s-31.689383-10.515113-31.689383-31.689382c0-147.787758-84.408992-285.060403-211.166524-348.439169a29.168636 29.168636 0 0 1-15.844691-26.359805c0-10.515113 5.329578-21.174269 15.844691-31.689383s21.174269-5.329578 31.689383 0c147.931801 79.223457 248.185485 237.526329 242.855907 406.488357zM255.963788 934.260623a462.204053 462.204053 0 0 0 274.545289 89.73857c95.068148 0 184.806719-31.689383 264.030176-84.408992 10.515113-5.329578 15.844691-15.844691 15.844692-31.689383s-10.515113-21.174269-21.17427-26.359805-21.174269-5.329578-31.689383 5.329578c-68.564301 47.534074-147.787758 68.564301-227.011215 68.564301-84.408992 0-163.63245-26.359805-232.340793-73.893879-15.844691-10.515113-37.018961-5.329578-47.534074 5.329578-10.515113 15.844691-5.329578 36.874918 5.329578 47.390032zM314.012975 152.973293c-153.117336 79.223457-248.185485 237.526329-248.185484 406.488357 0 15.844691 15.844691 31.689383 31.689383 31.689382s37.018961-10.515113 37.01896-31.689382c0-147.787758 84.408992-279.874867 211.166524-348.439169a29.168636 29.168636 0 0 0 15.844692-26.359805c0-10.515113-5.329578-21.174269-15.844692-31.689383-5.329578-5.329578-21.174269-5.329578-31.689383 0z" fill="#ffffff" p-id="12091"/><path d="M923.889552 892.056127c-73.893879 0-131.943067-58.049188-131.943067-131.943067s58.049188-131.943067 131.943067-131.943067 131.943067 58.049188 131.943067 131.943067-58.049188 131.943067-131.943067 131.943067z m-791.946485 0C58.049188 892.056127 0 834.006939 0 760.11306s58.049188-131.943067 131.943067-131.943067 131.943067 58.049188 131.943066 131.943067-58.049188 131.943067-131.943066 131.943067z m395.973242-628.169994c-73.893879 0-131.943067-58.049188-131.943066-131.943066S454.02243 0 527.916309 0s131.943067 58.049188 131.943067 131.943067-58.049188 131.943067-131.943067 131.943066z" fill="#ffffff" p-id="12092"/></svg>
\ No newline at end of file
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" t="1722483401708" class="icon" viewBox="0 0 1055 1024" version="1.1" p-id="12090" width="206.0546875" height="200"><path d="M989.717043 559.46165c0 15.844691-15.844691 31.689383-31.689383 31.689382s-31.689383-10.515113-31.689383-31.689382c0-147.787758-84.408992-285.060403-211.166524-348.439169a29.168636 29.168636 0 0 1-15.844691-26.359805c0-10.515113 5.329578-21.174269 15.844691-31.689383s21.174269-5.329578 31.689383 0c147.931801 79.223457 248.185485 237.526329 242.855907 406.488357zM255.963788 934.260623a462.204053 462.204053 0 0 0 274.545289 89.73857c95.068148 0 184.806719-31.689383 264.030176-84.408992 10.515113-5.329578 15.844691-15.844691 15.844692-31.689383s-10.515113-21.174269-21.17427-26.359805-21.174269-5.329578-31.689383 5.329578c-68.564301 47.534074-147.787758 68.564301-227.011215 68.564301-84.408992 0-163.63245-26.359805-232.340793-73.893879-15.844691-10.515113-37.018961-5.329578-47.534074 5.329578-10.515113 15.844691-5.329578 36.874918 5.329578 47.390032zM314.012975 152.973293c-153.117336 79.223457-248.185485 237.526329-248.185484 406.488357 0 15.844691 15.844691 31.689383 31.689383 31.689382s37.018961-10.515113 37.01896-31.689382c0-147.787758 84.408992-279.874867 211.166524-348.439169a29.168636 29.168636 0 0 0 15.844692-26.359805c0-10.515113-5.329578-21.174269-15.844692-31.689383-5.329578-5.329578-21.174269-5.329578-31.689383 0z" fill="#ffaa00" p-id="12091"/><path d="M923.889552 892.056127c-73.893879 0-131.943067-58.049188-131.943067-131.943067s58.049188-131.943067 131.943067-131.943067 131.943067 58.049188 131.943067 131.943067-58.049188 131.943067-131.943067 131.943067z m-791.946485 0C58.049188 892.056127 0 834.006939 0 760.11306s58.049188-131.943067 131.943067-131.943067 131.943067 58.049188 131.943066 131.943067-58.049188 131.943067-131.943066 131.943067z m395.973242-628.169994c-73.893879 0-131.943067-58.049188-131.943066-131.943066S454.02243 0 527.916309 0s131.943067 58.049188 131.943067 131.943067-58.049188 131.943067-131.943067 131.943066z" fill="#ffaa00" p-id="12092"/></svg>
\ No newline at end of file
<svg t="1623912064673" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3145" width="48" height="48" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><style type="text/css"></style></defs><path d="M512.288 96.128c214.688 80.512 344.96 337.824 233.376 546.336l-272.352-273.6 103.968-104.32-65.024-64.704c-35.872 35.136-92.896 42.624-131.36 27.136l-207.008 207.104 117.248 116.8 78.144-77.856 272.256 273.152c-133.248 73.184-317.92 50.112-454.208-91.456L121.28 720.512c19.776 27.392 36.352 52.224 56.96 73.056-1.824 2.176-7.456 6.816-7.584 6.944-3.456-0.576-7.552-1.92-11.2-1.92-35.136 0-63.488 30.56-63.488 65.696C96 899.392 124.64 928 159.744 928c35.136 0 65.184-28.864 65.184-64 0-4.096-0.928-7.84-1.6-11.68l10.112-9.984c156.704 105.696 328.448 118.848 513.216 8.288l76.32 76.576 104.448-103.04-76.8-77.6C1071.04 414.432 777.152 88.192 512.32 96.128z" fill="#D81E06" p-id="3146"></path></svg>
\ No newline at end of file
<svg t="1623912064673" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3145" width="48" height="48" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><style type="text/css"></style></defs><path d="M512.288 96.128c214.688 80.512 344.96 337.824 233.376 546.336l-272.352-273.6 103.968-104.32-65.024-64.704c-35.872 35.136-92.896 42.624-131.36 27.136l-207.008 207.104 117.248 116.8 78.144-77.856 272.256 273.152c-133.248 73.184-317.92 50.112-454.208-91.456L121.28 720.512c19.776 27.392 36.352 52.224 56.96 73.056-1.824 2.176-7.456 6.816-7.584 6.944-3.456-0.576-7.552-1.92-11.2-1.92-35.136 0-63.488 30.56-63.488 65.696C96 899.392 124.64 928 159.744 928c35.136 0 65.184-28.864 65.184-64 0-4.096-0.928-7.84-1.6-11.68l10.112-9.984c156.704 105.696 328.448 118.848 513.216 8.288l76.32 76.576 104.448-103.04-76.8-77.6C1071.04 414.432 777.152 88.192 512.32 96.128z" fill="#FFFF00" p-id="3146"></path></svg>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
"use strict";const e=require("../common/vendor.js").createPinia();exports.store=e;
"use strict";const e=require("../../common/vendor.js"),t=require("../../api/common.js"),i=e.defineStore({id:" app-base",state:()=>({dictionaryList:[],organizeTree:[],departmentTree:[],positionTree:[],groupTree:[],roleTree:[],userTree:[],userList:[],relationData:{}}),getters:{getDictionaryList(){return this.dictionaryList},getRelationData(){return this.relationData}},actions:{setDictionaryList(e){this.dictionaryList=e||[]},setOrganizeTree(e){this.organizeTree=e},setDepartmentTree(e){this.departmentTree=e},setPositionTree(e){this.positionTree=e},setGroupTree(e){this.groupTree=e},setRoleTree(e){this.roleTree=e},setUserTree(e){this.userTree=e},setUserList(e){this.userList=e},updateRelationData(e){this.relationData=e},getDictionaryDataAll(){return new Promise(((e,i)=>{this.dictionaryList.length?e(this.dictionaryList):t.getDictionaryDataAll().then((t=>{this.setDictionaryList(t.data.list),e(t.data.list)})).catch((e=>{i(e)}))}))},getDictionaryData(e){return new Promise((async t=>{let i=[],r=[],s=[];if(i=this.dictionaryList.length?this.dictionaryList:await this.getDictionaryDataAll(),e.sort)if(r=i.filter((t=>t.enCode===e.sort))[0],e.id){let t=[];if(r.isTree){const i=r=>{for(let s=0;s<r.length;s++){const a=r[s];if(a.id==e.id){t[0]=a;break}a.children&&a.children.length&&i(a.children)}};i(r.dictionaryList)}else t=r.dictionaryList.fliter((t=>t.id==e.id));s=t.length?t[0]:{id:"",fullName:""}}else s=(null==r?void 0:r.dictionaryList)||[];t(s)}))},getDicDataSelector(e,t="id"){return new Promise((async i=>{let r=[],s={},a=[];if(r=this.dictionaryList.length?this.dictionaryList:await this.getDictionaryDataAll(),!e)return i([]);let n=r.filter((i=>i[t]===e));if(!n.length)return i([]);s=n[0],a=s.dictionaryList,i(a)}))},getOrganizeTree(){return new Promise(((e,i)=>{this.organizeTree.length?e(this.organizeTree):t.getOrganizeSelector().then((t=>{this.setOrganizeTree(t.data.list),e(t.data.list)})).catch((e=>{i(e)}))}))},getDepartmentTree(){return new Promise(((e,i)=>{this.departmentTree.length?e(this.departmentTree):t.getDepartmentSelector().then((t=>{this.setDepartmentTree(t.data.list),e(t.data.list)})).catch((e=>{i(e)}))}))},getPositionTree(){return new Promise(((e,i)=>{this.positionTree.length?e(this.positionTree):t.getPositionSelector().then((t=>{this.setPositionTree(t.data.list),e(t.data.list)})).catch((e=>{i(e)}))}))},getGroupTree(){return new Promise(((e,i)=>{this.groupTree.length?e(this.groupTree):t.getGroupSelector().then((t=>{this.setGroupTree(t.data),e(t.data)})).catch((e=>{i(e)}))}))},getRoleTree(){return new Promise(((e,i)=>{this.roleTree.length?e(this.roleTree):t.getRoleSelector().then((t=>{this.setRoleTree(t.data.list),e(t.data.list)})).catch((e=>{i(e)}))}))},getUserTree(){return new Promise(((e,i)=>{this.userTree.length?e(this.userTree):t.getUserSelector().then((t=>{this.setUserTree(t.data.list),e(t.data.list)})).catch((e=>{i(e)}))}))},getUserList(){return new Promise(((e,i)=>{this.userList.length?e(this.userList):t.getUserAll().then((t=>{this.setUserList(t.data.list),e(t.data.list)})).catch((e=>{i(e)}))}))},getUserInfo(e){return new Promise((async t=>{let i=[];i=this.userList.length?this.userList:await this.getUserList(),t(i.filter((t=>t.id===e))[0]||{})}))}}});exports.useBaseStore=i;
"use strict";const e=require("../../common/vendor.js"),s=require("../index.js"),t=e.defineStore({id:" chat",state:()=>({socket:null,badgeNum:0,msgInfo:{},formUserId:""}),getters:{getSocket(){return this.socket},getBadgeNum(){return this.badgeNum},getMsgInfo(){return this.msgInfo}},actions:{setSocket(e){this.socket=e},setBadgeNum(e){this.badgeNum=e},addBadgeNum(e){this.badgeNum+=e},reduceBadgeNum(e){let s=this.badgeNum-e;s<0&&(s=0),this.badgeNum=s},setMsgInfo(e){this.msgInfo=e},setMsgInfoNum(e){if(e||0===e)return this.msgInfo.messageCount=e,this.msgInfo.count=e,void(this.badgeNum=e);this.msgInfo.messageCount-=1,this.msgInfo.count=this.msgInfo.messageCount;let s=this.badgeNum-1;s<0&&(s=0),this.badgeNum=s},setFormUserId(e){this.formUserId=e},sendMessage(s){const t={account:s.toAccount,headIcon:s.toHeadIcon,id:s.toUserId,latestDate:s.latestDate,latestMessage:s.toMessage,messageType:s.messageType,realName:s.toRealName,unreadMessage:0},a={sendUserId:s.UserId,contentType:s.messageType,content:s.toMessage,sendTime:s.dateTime,method:s.method};e.index.$emit("addMsg",a),e.index.$emit("updateList",t)},receiveMessage(s){if(this.formUserId===s.formUserId){s.unreadMessage=0;const t={sendUserId:s.formUserId,contentType:s.messageType,content:s.formMessage,sendTime:s.dateTime,method:s.method};e.index.$emit("addMsg",t)}else s.unreadMessage=1,this.addBadgeNum(1);s.id=s.formUserId,s.latestMessage=s.formMessage,e.index.$emit("updateList",s)},getMessageList(s){e.index.$emit("getMessageList",s)},messagePush(e){this.msgInfo.messageText=e.title,this.msgInfo.messageCount+=e.unreadNoticeCount,this.msgInfo.messageDate=e.messageDefaultTime,this.addBadgeNum(e.unreadNoticeCount||1)}}});exports.useChatStore=t,exports.useChatStoreWithOut=function(){return t(s.store)};
"use strict";const e=require("../../common/vendor.js"),n=require("../../api/common.js");require("../index.js");const t=require("../../libs/permission.js"),s=e.defineStore({id:" user",state:()=>({token:"",userInfo:{}}),getters:{getToken(){return this.token}},actions:{setToken(n){this.token=n,e.index.setStorageSync("token",n)},setCid(n){this.cid=n,e.index.setStorageSync("cid",n)},setUserInfo(n){this.userInfo=n,e.index.setStorageSync("userInfo",n)},getCurrentUser(){return new Promise(((s,o)=>{n.getCurrentUser().then((n=>{const r=n.data.userInfo||{},i=n.data.permissionList||[],a=n.data.sysConfigInfo||{},d=a.sysVersion||"",c=a.copyright||"";e.index.setStorageSync("sysVersion",d),e.index.setStorageSync("permissionList",i),t.permission&&t.permission.updatePermissionList(),e.index.setStorageSync("sysConfigInfo",a),e.index.setStorageSync("copyright",c),this.setUserInfo(r),n.data.menuList.length||r.workflowEnabled||(e.index.showToast({title:"您的权限不足,请联系管理员",icon:"none"}),e.index.removeStorageSync("token"),o(),setTimeout((()=>{e.index.reLaunch({url:"/pages/login/index"})}),500)),s(r)})).catch((e=>{o(e)}))}))},logout(){return new Promise(((e,t)=>{n.logout().then((()=>{this.setToken(""),this.setCid(""),this.setUserInfo({}),this.resetToken(),e()})).catch((e=>{t(e)}))}))},resetToken(){e.index.removeStorageSync("token"),e.index.removeStorageSync("cid"),e.index.removeStorageSync("userInfo"),e.index.removeStorageSync("permissionList"),e.index.removeStorageSync("sysVersion"),e.index.removeStorageSync("dynamicModelExtra")}}});exports.useUserStore=s;
"use strict";const e=require("../../../../common/vendor.js");exports.LsjFile=class{constructor(e){this.dom=null,this.files=new Map,this.debug=e.debug||!1,this.id=e.id,this.width=e.width,this.height=e.height,this.option=e.option,this.instantly=e.instantly,this.prohibited=e.prohibited,this.onchange=e.onchange,this.onprogress=e.onprogress,this.uploadHandle=this._uploadHandle,this.uploadHandle=this._uploadHandleWX}create(e){if(!this.dom)return this.dom}setData(){let[e,t=""]=arguments;"object"==typeof e?Object.assign(this.option,e):this._setValue(this.option,e,t),this.debug&&console.log(JSON.stringify(this.option))}async upload(e=""){if(!this.option.url)throw Error("未设置上传地址");if(e&&this.files.has(e))await this.uploadHandle(this.files.get(e));else for(let t of this.files.values())"waiting"!==t.type&&"fail"!==t.type||await this.uploadHandle(t)}addFile(e,t){let s=e.name;if(this.debug&&console.log("文件名称",s,"大小",e.size),e){let t="",i=s.substring(s.lastIndexOf(".")+1).toLowerCase(),o=this.prohibited.formats.toLowerCase();return t=e.path,o&&!o.includes(i)?(this.toast(`不支持上传${i.toUpperCase()}格式文件`),!1):e.size>1048576*Math.abs(this.prohibited.size)?(this.toast(`附件大小请勿超过${this.prohibited.size}M`),!1):(this.files.set(e.name,{file:e,path:t,name:e.name,size:e.size,progress:0,type:"waiting"}),!0)}}clear(e=""){return e?this.files.delete(e):this.files.clear(),this.onchange(this.files)}toast(t){e.index.showToast({title:t,icon:"none"})}chooseMessageFile(t,s){e.wx$1.chooseMessageFile({count:s,type:t,success:({tempFiles:e})=>{for(let t of e)this.addFile(t);this._uploadAfter()},fail:()=>{this.toast("打开失败")}})}_copyObject(e){return void 0!==e?JSON.parse(JSON.stringify(e)):e}_setValue(e,t,s){let i;i="object"==typeof s?this._copyObject(s):s;let o=new RegExp("([\\w$]+)|\\[(:\\d)\\]","g");const n=t.match(o);for(let a=0;a<n.length-1;a++){let t=n[a];"object"!=typeof e[t]&&(e[t]={}),e=e[t]}e[n[n.length-1]]=i,this.debug&&console.log("参数更新后",JSON.stringify(this.option))}_uploadAfter(){this.onchange(this.files),setTimeout((()=>{this.instantly&&this.upload()}),1e3)}_overrideUrlLoading(){this.dom.overrideUrlLoading({mode:"reject"},(e=>{let{retype:t,item:s,files:i,end:o}=this._getRequest(e.url),n=this;switch(t){case"updateOption":this.dom.evalJS(`vm.setData('${JSON.stringify(n.option)}')`);break;case"change":try{n.files=new Map([...n.files,...JSON.parse(unescape(i))])}catch(a){return console.error("出错了,请检查代码")}n.onchange(n.files);break;case"progress":try{s=JSON.parse(unescape(s))}catch(a){return console.error("出错了,请检查代码")}n._changeFilesItem(s,o)}}))}_getRequest(e){let t=new Object,s=e.indexOf("?");if(-1!=s){let i=e.substring(s+1).split("&");for(let e=0;e<i.length;e++)t[i[e].split("=")[0]]=unescape(i[e].split("=")[1])}return t}_changeFilesItem(e,t=!1){this.debug&&console.log("onprogress",JSON.stringify(e)),this.onprogress(e,t),this.files.set(e.name,e)}_uploadHandle(e){return e.type="loading",delete e.responseText,new Promise(((t,s)=>{this.debug&&console.log("option",JSON.stringify(this.option));let{url:i,name:o,method:n="POST",header:a,formData:l,data:r}=this.option,h=new FormData;for(let e in l)h.append(e,l[e]);for(let e in r)h.append(e,r[e]);h.append(o,e.file);let p=new XMLHttpRequest;p.open(n,i,!0);for(let e in a)p.setRequestHeader(e,a[e]);p.upload.addEventListener("progress",(t=>{if(t.lengthComputable){let s=Math.ceil(100*t.loaded/t.total);s<=100&&(e.progress=s,this._changeFilesItem(e))}}),!1),p.ontimeout=()=>(console.error("请求超时"),e.type="fail",this._changeFilesItem(e,!0),t(!1)),p.onreadystatechange=s=>{if(4==p.readyState)return 200==p.status?(this.debug&&console.log("上传完成:"+p.responseText),e.responseText=p.responseText,e.type="success",this._changeFilesItem(e,!0),t(!0)):(0==p.status&&console.error("status = 0 :请检查请求头Content-Type与服务端是否匹配,服务端已正确开启跨域,并且nginx未拦截阻止请求"),console.error("--ERROR--:status = "+p.status),e.type="fail",this._changeFilesItem(e,!0),t(!1))},p.send(h)}))}_uploadHandleWX(t){return t.type="loading",delete t.responseText,new Promise(((s,i)=>{this.debug&&console.log("option",JSON.stringify(this.option));let o={filePath:t.file.path,...this.option,formData:this.option.data||{}};o.fail=({errMsg:e=""})=>(console.error("--ERROR--:"+e),t.type="fail",this._changeFilesItem(t,!0),s(!1)),o.success=e=>200==e.statusCode?(this.debug&&console.log("上传完成,微信端返回不一定是字符串,根据接口返回格式判断是否需要JSON.parse:"+e.data),t.responseText=e.data,t.type="success",this._changeFilesItem(t,!0),s(!0)):(t.type="fail",this._changeFilesItem(t,!0),s(!1)),e.index.uploadFile(o).onProgressUpdate((({progress:e=0})=>{e<=100&&(t.progress=e,this._changeFilesItem(t))}))}))}};
"use strict";const t=require("../../../../common/vendor.js"),e=require("./LsjFile.js"),i={name:"Lsj-upload",props:{debug:{type:Boolean,default:!1},instantly:{type:Boolean,default:!1},option:{type:Object,default:()=>{}},size:{type:Number,default:10},count:{type:Number,default:9},multiple:{type:Boolean,default:!0},formats:{type:String,default:""},accept:{type:String,default:""},wxFileType:{type:String,default:"all"},childId:{type:String,default:"lsjUpload"},width:{type:String,default:"100%"},height:{type:String,default:"80rpx"},top:{type:[String,Number],default:""},left:{type:[String,Number],default:""},bottom:{type:[String,Number],default:""},right:{type:[String,Number],default:""},position:{type:String,default:"static"}},data:()=>({}),watch:{option(t){}},updated(){},computed:{getStyles(){let t={width:this.width,height:this.height};return"absolute"==this.position&&(t.top=this.top,t.bottom=this.bottom,t.left=this.left,t.right=this.right,t.position="fixed"),t}},mounted(){this._size=0;let i=this.childId+(new Date).getTime();this.lsjFile=new e.LsjFile({id:i,debug:this.debug,width:this.width,height:this.height,option:this.option,instantly:this.instantly,prohibited:{size:this.size,formats:this.formats,accept:this.accept,count:this.count,multiple:this.multiple},onchange:this.onchange,onprogress:this.onprogress}),this.create(),t.index.$on("lsjShow",this.show)},beforeDestroy(){t.index.$off("lsjShow",this.show)},methods:{setFiles(t){if(t instanceof Map)for(let[e,i]of t)i.progress=100,i.type="success",this.lsjFile.files.set(e,i);else Array.isArray(t)&&t.forEach((t=>{t.name&&(t.progress=100,t.type="success",this.lsjFile.files.set(t.name,t))}));this.onchange(this.lsjFile.files)},setData(){this.lsjFile&&this.lsjFile.setData(...arguments)},getDomStyles(e){t.index.createSelectorQuery().in(this).select(".lsj-file").fields({size:!0,rect:!0},(({height:i,width:s,top:o,left:l,right:h,bottom:n})=>{t.index.createSelectorQuery().selectViewport().scrollOffset((({scrollTop:t})=>e({top:parseInt(o)+parseInt(t)+"px",left:parseInt(l)+"px",width:parseInt(s)+"px",height:parseInt(i)+"px"}))).exec()})).exec()},show(){this._size&&this._size>=this.count||(this.isShow=!0)},hide(){this.isShow=!1},upload(t){this.lsjFile&&this.lsjFile.upload(t)},onchange(t){return this._size=t.size,t.size>=this.count?this.hide():this.show()},onprogress(t,e=!1){this.$emit("progress",t),e&&setTimeout((()=>{this.$emit("uploadEnd",t)}),0)},clear(t){this.lsjFile.clear(t)},create(){this.lsjFile.create("/uni_modules/lsj-upload/hybrid/html/uploadFile.html"),this.show()},onClick(){if(this._size>=this.count)return void this.toast(`只允许上传${this.count}个文件`);if(!this.isShow)return;let t=this.count-this._size;this.lsjFile.chooseMessageFile(this.wxFileType,t)},toast(e){t.index.showToast({title:e,icon:"none"})}}};const s=t._export_sfc(i,[["render",function(e,i,s,o,l,h){return{a:t.s(h.getStyles),b:t.s(h.getStyles),c:t.o(((...t)=>h.onClick&&h.onClick(...t))),d:t.s(h.getStyles)}}],["__scopeId","data-v-6e32acff"]]);wx.createComponent(s);
{
"component": true,
"usingComponents": {}
}
\ No newline at end of file
<view class="lsj-file data-v-6e32acff" style="{{d}}"><view ref="lsj" class="hFile data-v-6e32acff" style="{{b}}" bindtap="{{c}}"><block wx:if="{{$slots.d}}"><slot></slot></block><block wx:else><view class="defview data-v-6e32acff" style="{{a}}">附件上传</view></block></view></view>
\ No newline at end of file
.lsj-file.data-v-6e32acff{display:inline-block}.defview.data-v-6e32acff{background-color:#007aff;color:#fff;border-radius:10rpx;display:flex;align-items:center;justify-content:center;font-size:28rpx}.hFile.data-v-6e32acff{position:relative;overflow:hidden}
"use strict";const o=require("../../../../common/vendor.js"),e=require("../../../../wxs.wxs_vue_type_wxs_index_0_src_true_name_wxsBiz_lang.js"),t=require("../mescroll-uni/mescroll-uni-option.js"),n=require("../mescroll-uni/mescroll-i18n.js"),l={name:"mescroll-body",mixins:[require("../mescroll-uni/wxs/mixins.js").WxsMixin],components:{MescrollTop:()=>"../mescroll-uni/components/mescroll-top.js"},props:{down:Object,up:Object,i18n:Object,top:[String,Number],topbar:[Boolean,String],bottom:[String,Number],safearea:Boolean,height:[String,Number],bottombar:{type:Boolean,default:!0},sticky:Boolean},data:()=>({mescroll:{optDown:{},optUp:{}},downHight:0,downRate:0,downLoadType:0,upLoadType:0,isShowEmpty:!1,isShowToTop:!1,windowHeight:0,windowBottom:0,statusBarHeight:0}),computed:{minHeight(){return this.toPx(this.height||"100%")+"px"},numTop(){return this.toPx(this.top)},padTop(){return this.numTop+"px"},numBottom(){return this.toPx(this.bottom)},padBottom(){return this.numBottom+"px"},isDownReset(){return 3===this.downLoadType||4===this.downLoadType},transition(){return this.isDownReset?"transform 300ms":""},translateY(){return this.downHight>0?"translateY("+this.downHight+"px)":""},isDownLoading(){return 3===this.downLoadType},downRotate(){return"rotate("+360*this.downRate+"deg)"},downText(){if(!this.mescroll)return"";switch(this.downLoadType){case 1:default:return this.mescroll.optDown.textInOffset;case 2:return this.mescroll.optDown.textOutOffset;case 3:return this.mescroll.optDown.textLoading;case 4:return this.mescroll.isDownEndSuccess?this.mescroll.optDown.textSuccess:0==this.mescroll.isDownEndSuccess?this.mescroll.optDown.textErr:this.mescroll.optDown.textInOffset}}},methods:{toPx(e){if("string"==typeof e)if(-1!==e.indexOf("px"))if(-1!==e.indexOf("rpx"))e=e.replace("rpx","");else{if(-1===e.indexOf("upx"))return Number(e.replace("px",""));e=e.replace("upx","")}else if(-1!==e.indexOf("%")){let o=Number(e.replace("%",""))/100;return this.windowHeight*o}return e?o.index.upx2px(Number(e)):0},emptyClick(){this.$emit("emptyclick",this.mescroll)},toTopClick(){this.mescroll.scrollTo(0,this.mescroll.optUp.toTop.duration),this.$emit("topclick",this.mescroll)}},created(){let l=this,r={down:{inOffset(){l.downLoadType=1},outOffset(){l.downLoadType=2},onMoving(o,e,t){l.downHight=t,l.downRate=e},showLoading(o,e){l.downLoadType=3,l.downHight=e},beforeEndDownScroll:o=>(l.downLoadType=4,o.optDown.beforeEndDelay),endDownScroll(){l.downLoadType=4,l.downHight=0,l.downResetTimer&&(clearTimeout(l.downResetTimer),l.downResetTimer=null),l.downResetTimer=setTimeout((()=>{4===l.downLoadType&&(l.downLoadType=0)}),300)},callback:function(o){l.$emit("down",o)}},up:{showLoading(){l.upLoadType=1},showNoMore(){l.upLoadType=2},hideUpScroll(o){l.upLoadType=o.optUp.hasNext?0:3},empty:{onShow(o){l.isShowEmpty=o}},toTop:{onShow(o){l.isShowToTop=o}},callback:function(o){l.$emit("up",o)}}},s=n.mescrollI18n.getType(),i={type:s};e.MeScroll.extend(i,l.i18n),e.MeScroll.extend(i,t.GlobalOption.i18n),e.MeScroll.extend(r,i[s]),e.MeScroll.extend(r,{down:t.GlobalOption.down,up:t.GlobalOption.up});let p=JSON.parse(JSON.stringify({down:l.down,up:l.up}));e.MeScroll.extend(p,r),l.mescroll=new e.MeScroll(p,!0),l.mescroll.i18n=i,l.$emit("init",l.mescroll);const c=o.index.getSystemInfoSync();c.windowHeight&&(l.windowHeight=c.windowHeight),c.windowBottom&&(l.windowBottom=c.windowBottom),c.statusBarHeight&&(l.statusBarHeight=c.statusBarHeight),l.mescroll.setBodyHeight(c.windowHeight),l.mescroll.resetScrollTo(((e,t)=>{"string"==typeof e?setTimeout((()=>{let n;n=-1==e.indexOf("#")&&-1==e.indexOf(".")?"#"+e:e,o.index.createSelectorQuery().select(n).boundingClientRect((function(e){if(e){let n=e.top;n+=l.mescroll.getScrollTop(),o.index.pageScrollTo({scrollTop:n,duration:t})}else console.error(n+" does not exist")})).exec()}),30):o.index.pageScrollTo({scrollTop:e,duration:t})})),l.up&&l.up.toTop&&null!=l.up.toTop.safearea||(l.mescroll.optUp.toTop.safearea=l.safearea),o.index.$on("setMescrollGlobalOption",(o=>{if(!o)return;let t=o.i18n?o.i18n.type:null;if(t&&l.mescroll.i18n.type!=t&&(l.mescroll.i18n.type=t,n.mescrollI18n.setType(t),e.MeScroll.extend(o,l.mescroll.i18n[t])),o.down){let t=e.MeScroll.extend({},o.down);l.mescroll.optDown=e.MeScroll.extend(t,l.mescroll.optDown)}if(o.up){let t=e.MeScroll.extend({},o.up);l.mescroll.optUp=e.MeScroll.extend(t,l.mescroll.optUp)}}))},destroyed(){o.index.$off("setMescrollGlobalOption")}};if(!Array){(o.resolveComponent("mescroll-empty")+o.resolveComponent("mescroll-top"))()}Math,"function"==typeof e.block0&&e.block0(l);const r=o._export_sfc(l,[["render",function(e,t,n,l,r,s){return o.e({a:n.topbar&&r.statusBarHeight},n.topbar&&r.statusBarHeight?{b:r.statusBarHeight+"px",c:n.topbar}:{},{d:r.mescroll.optDown.use},r.mescroll.optDown.use?{e:s.isDownLoading?1:"",f:r.mescroll.optDown.textColor,g:s.downRotate,h:o.t(s.downText),i:r.mescroll.optDown.bgColor,j:r.mescroll.optDown.textColor}:{},{k:r.isShowEmpty},r.isShowEmpty?{l:o.o(s.emptyClick),m:o.p({option:r.mescroll.optUp.empty})}:{},{n:r.mescroll.optUp.use&&!s.isDownLoading&&3!==r.upLoadType},r.mescroll.optUp.use&&!s.isDownLoading&&3!==r.upLoadType?o.e({o:r.mescroll.optUp.textColor,p:o.t(r.mescroll.optUp.textLoading),q:1===r.upLoadType,r:2===r.upLoadType},2===r.upLoadType?{s:o.t(r.mescroll.optUp.textNoMore)}:{},{t:r.mescroll.optUp.bgColor,v:r.mescroll.optUp.textColor}):{},{w:s.translateY,x:s.transition,y:e.callProp,z:n.safearea},(n.safearea,{}),{A:o.o(s.toTopClick),B:o.o((o=>r.isShowToTop=o)),C:o.p({option:r.mescroll.optUp.toTop,modelValue:r.isShowToTop}),D:e.renderBiz.propObserver,E:e.wxsProp,F:n.sticky?1:"",G:s.minHeight,H:s.padTop,I:s.padBottom,J:e.wxsProp})}]]);wx.createComponent(r);
{
"component": true,
"usingComponents": {
"mescroll-top": "../mescroll-uni/components/mescroll-top",
"mescroll-empty": "../mescroll-empty/mescroll-empty"
}
}
\ No newline at end of file
<wxs src="./../mescroll-uni/wxs/wxs.wxs" module="wxsBiz"/>
<view class="{{['mescroll-body', 'mescroll-render-touch', F && 'mescorll-sticky']}}" style="{{'min-height:' + G + ';' + ('padding-top:' + H) + ';' + ('padding-bottom:' + I)}}" bindtouchstart="{{wxsBiz.touchstartEvent}}" bindtouchmove="{{wxsBiz.touchmoveEvent}}" bindtouchend="{{wxsBiz.touchendEvent}}" bindtouchcancel="{{wxsBiz.touchendEvent}}" change:prop="{{wxsBiz.propObserver}}" prop="{{J}}"><view wx:if="{{a}}" class="mescroll-topbar" style="{{'height:' + b + ';' + ('background:' + c)}}"></view><view class="mescroll-body-content mescroll-wxs-content" style="{{'transform:' + w + ';' + ('transition:' + x)}}" change:prop="{{wxsBiz.callObserver}}" prop="{{y}}"><view wx:if="{{d}}" class="mescroll-downwarp" style="{{'background:' + i + ';' + ('color:' + j)}}"><view class="downwarp-content"><view class="{{['downwarp-progress', 'mescroll-wxs-progress', e && 'mescroll-rotate']}}" style="{{'border-color:' + f + ';' + ('transform:' + g)}}"></view><view class="downwarp-tip">{{h}}</view></view></view><slot></slot><mescroll-empty wx:if="{{k}}" bindemptyclick="{{l}}" u-i="7dd814e0-0" bind:__l="__l" u-p="{{m}}"></mescroll-empty><view wx:if="{{n}}" class="mescroll-upwarp" style="{{'background:' + t + ';' + ('color:' + v)}}"><view hidden="{{!q}}"><view class="upwarp-progress mescroll-rotate" style="{{'border-color:' + o}}"></view><view class="upwarp-tip">{{p}}</view></view><view wx:if="{{r}}" class="upwarp-nodata">{{s}}</view></view></view><view wx:if="{{z}}" class="mescroll-safearea"></view><mescroll-top wx:if="{{C}}" bindclick="{{A}}" u-i="7dd814e0-1" bind:__l="__l" bindupdateModelValue="{{B}}" u-p="{{C}}"></mescroll-top><view change:prop="{{D}}" prop="{{E}}"></view></view>
\ No newline at end of file
.mescroll-body{position:relative;height:auto;overflow:hidden;box-sizing:border-box}.mescroll-body.mescorll-sticky{overflow:unset!important}@supports (bottom: constant(safe-area-inset-bottom)) or (bottom: env(safe-area-inset-bottom)){.mescroll-safearea{padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}}.mescroll-downwarp{position:absolute;top:-100%;left:0;width:100%;height:100%;text-align:center}.mescroll-downwarp .downwarp-content{position:absolute;left:0;bottom:0;width:100%;min-height:60rpx;padding:20rpx 0;text-align:center}.mescroll-downwarp .downwarp-tip{display:inline-block;font-size:28rpx;vertical-align:middle;margin-left:16rpx}.mescroll-downwarp .downwarp-progress{display:inline-block;width:32rpx;height:32rpx;border-radius:50%;border:2rpx solid gray;border-bottom-color:transparent!important;vertical-align:middle}.mescroll-downwarp .mescroll-rotate{animation:mescrollDownRotate .6s linear infinite}@keyframes mescrollDownRotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.mescroll-upwarp{box-sizing:border-box;min-height:110rpx;padding:30rpx 0;text-align:center;clear:both}.mescroll-upwarp .upwarp-tip,.mescroll-upwarp .upwarp-nodata{display:inline-block;font-size:28rpx;vertical-align:middle}.mescroll-upwarp .upwarp-tip{margin-left:16rpx}.mescroll-upwarp .upwarp-progress{display:inline-block;width:32rpx;height:32rpx;border-radius:50%;border:2rpx solid gray;border-bottom-color:transparent!important;vertical-align:middle}.mescroll-upwarp .mescroll-rotate{animation:mescrollUpRotate .6s linear infinite}@keyframes mescrollUpRotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}
"use strict";const t=require("../mescroll-uni/mescroll-uni-option.js"),i=require("../mescroll-uni/mescroll-i18n.js"),o=require("../../../../common/vendor.js"),n={props:{option:{type:Object,default:()=>({})}},computed:{icon(){if(null!=this.option.icon)return this.option.icon;{let o=i.mescrollI18n.getType();return this.option.i18n?this.option.i18n[o].icon:t.GlobalOption.i18n[o].up.empty.icon||t.GlobalOption.up.empty.icon}},tip(){if(null!=this.option.tip)return this.option.tip;{let o=i.mescrollI18n.getType();return this.option.i18n?this.option.i18n[o].tip:t.GlobalOption.i18n[o].up.empty.tip||t.GlobalOption.up.empty.tip}},btnText(){if(this.option.i18n){let t=i.mescrollI18n.getType();return this.option.i18n[t].btnText}return this.option.btnText}},methods:{emptyClick(){this.$emit("emptyclick")}}};const e=o._export_sfc(n,[["render",function(t,i,n,e,p,l){return o.e({a:l.icon},l.icon?{b:l.icon}:{},{c:l.tip},l.tip?{d:o.t(l.tip)}:{},{e:l.btnText},l.btnText?{f:o.t(l.btnText),g:o.o(((...t)=>l.emptyClick&&l.emptyClick(...t)))}:{},{h:n.option.fixed?1:"",i:n.option.zIndex,j:n.option.top})}]]);wx.createComponent(e);
{
"component": true,
"usingComponents": {}
}
\ No newline at end of file
<view class="{{['mescroll-empty', h && 'empty-fixed']}}" style="{{'z-index:' + i + ';' + ('top:' + j)}}"><view><image wx:if="{{a}}" class="empty-icon" src="{{b}}" mode="widthFix"/></view><view wx:if="{{c}}" class="empty-tip">{{d}}</view><view wx:if="{{e}}" class="empty-btn" bindtap="{{g}}">{{f}}</view></view>
\ No newline at end of file
.mescroll-empty{box-sizing:border-box;width:100%;padding:100rpx 50rpx;text-align:center}.mescroll-empty.empty-fixed{z-index:99;position:absolute;top:100rpx;left:0}.mescroll-empty .empty-icon{width:280rpx;height:280rpx}.mescroll-empty .empty-tip{margin-top:20rpx;font-size:24rpx;color:gray}.mescroll-empty .empty-btn{display:inline-block;margin-top:40rpx;min-width:200rpx;padding:18rpx;font-size:28rpx;border:1rpx solid #e04b28;border-radius:60rpx;color:#e04b28}.mescroll-empty .empty-btn:active{opacity:.75}
"use strict";const t=require("../../../../../common/vendor.js"),o={props:{option:{type:Object,default:()=>({})},value:!1,modelValue:!1},computed:{left(){return this.option.left?this.addUnit(this.option.left):"auto"},right(){return this.option.left?"auto":this.addUnit(this.option.right)},isShow(){return this.modelValue}},methods:{addUnit:t=>t?"number"==typeof t?t+"rpx":t:0,toTopClick(){this.$emit("update:modelValue",!1),this.$emit("click")}}};const e=t._export_sfc(o,[["render",function(o,e,i,n,r,p){return t.e({a:i.option.src},i.option.src?{b:t.n(p.isShow?"mescroll-totop-in":"mescroll-totop-out"),c:t.n({"mescroll-totop-safearea":i.option.safearea}),d:i.option.zIndex,e:p.left,f:p.right,g:p.addUnit(i.option.bottom),h:p.addUnit(i.option.width),i:p.addUnit(i.option.radius),j:i.option.src,k:t.o(((...t)=>p.toTopClick&&p.toTopClick(...t)))}:{})}]]);wx.createComponent(e);
<image wx:if="{{a}}" class="{{['mescroll-totop', b, c]}}" style="{{'z-index:' + d + ';' + ('left:' + e) + ';' + ('right:' + f) + ';' + ('bottom:' + g) + ';' + ('width:' + h) + ';' + ('border-radius:' + i)}}" src="{{j}}" mode="widthFix" bindtap="{{k}}"/>
\ No newline at end of file
.mescroll-totop{z-index:9990;position:fixed!important;right:20rpx;bottom:120rpx;width:72rpx;height:auto;border-radius:50%;opacity:0;transition:opacity .5s;margin-bottom:var(--window-bottom)}@supports (bottom: constant(safe-area-inset-bottom)) or (bottom: env(safe-area-inset-bottom)){.mescroll-totop-safearea{margin-bottom:calc(var(--window-bottom) + constant(safe-area-inset-bottom));margin-bottom:calc(var(--window-bottom) + env(safe-area-inset-bottom))}}.mescroll-totop-in{opacity:1}.mescroll-totop-out{opacity:0;pointer-events:none}
"use strict";const e=require("../../../../common/vendor.js"),r={def:"zh",getType(){return e.index.getStorageSync("mescroll-i18n")||this.def},setType(r){e.index.setStorageSync("mescroll-i18n",r)}};exports.mescrollI18n=r;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment