Commit 66cb31b5 authored by zuoliyuan's avatar zuoliyuan

授权

parent 8621e5dc
<template>
<view class="launch-v">
<!-- #ifdef APP-PLUS -->
<view class="launch-box">
<view class="title">全新模式 为你而来</view>
<view class="version">VERSION3.7</view>
<view class="launch-img">
<image :src="startup" mode="widthFix"></image>
</view>
<!-- <view class="copyright">Copyright © 2024 华中师范大学出品</view> -->
</view>
<!-- #endif -->
</view>
</template>
<script>
import resources from '@/libs/resources.js'
export default {
data() {
return {
startup: resources.startup.main
}
},
onLoad() {
if (uni.getStorageSync('isUpdate')) return
const launchFlag = uni.getStorageSync('launchFlag');
const token = uni.getStorageSync("token") || '';
if (launchFlag) {
if (token) {
uni.switchTab({
url: '/pages/index/index'
})
} else {
uni.redirectTo({
url: '/pages/login/index'
})
}
} else {
// #ifdef APP-PLUS
uni.redirectTo({
url: '/pages/launch/policy'
})
// #endif
// #ifndef APP-PLUS
if (token) {
uni.switchTab({
url: '/pages/index/index'
})
} else {
uni.redirectTo({
url: '/pages/login/index'
})
}
// #endif
}
},
}
</script>
<style lang="scss">
.launch-v {
.launch-box {
padding-top: 170rpx;
.title {
font-size: 50rpx;
line-height: 70rpx;
color: #5098FA;
text-align: center;
margin-bottom: 10rpx;
}
.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-img {
margin: 0 auto;
width: 680rpx;
image {
width: 100%;
}
}
.copyright {
position: fixed;
bottom: 120rpx;
right: 0;
left: 0;
text-align: center;
color: #999999;
font-size: 24rpx;
}
}
}
</style>
\ No newline at end of file
<template> <template>
<view class="launch-v"> <view class="content">
<!-- #ifdef APP-PLUS --> <image class="logo" src="/static/logo.png"></image>
<view class="launch-box"> <view class="text-area">
<view class="title">全新模式 为你而来</view> <text class="title">{{title}}</text>
<view class="version">VERSION3.7</view>
<view class="launch-img">
<image :src="startup" mode="widthFix"></image>
</view>
<!-- <view class="copyright">Copyright © 2024 华中师范大学出品</view> -->
</view> </view>
<!-- #endif -->
</view> </view>
</template> </template>
<script> <script>
import resources from '@/libs/resources.js'
export default { export default {
data() { data() {
return { return {
startup: resources.startup.main title: this.$route.query.code
} }
}, },
onLoad() { onLoad() {
if (uni.getStorageSync('isUpdate')) return if(localStorage.getItem("hasLogin")=='false'){
const launchFlag = uni.getStorageSync('launchFlag');
const token = uni.getStorageSync("token") || '';
if (launchFlag) {
if (token) {
uni.switchTab({
url: '/pages/index/index'
})
} else {
uni.redirectTo({
url: '/pages/login/index'
})
}
} else {
// #ifdef APP-PLUS
uni.redirectTo({ uni.redirectTo({
url: '/pages/launch/policy' url: '/pages/login/index'
}) });
// #endif
// #ifndef APP-PLUS
if (token) {
uni.switchTab({
url: '/pages/index/index'
})
} else {
uni.redirectTo({
url: '/pages/login/index'
})
}
// #endif
} }
if(this.$route.query.code){
// 从静模授权进入首页
localStorage.setItem("auth_code",this.$route.query.code)
this.getuserinfo3rd()
}
}, },
methods: {
// 获取敏感信息
getuserinfo3rd:function(){
uni.request({
url: 'http://127.0.0.1:4523/m1/2230462-1135055-default/getData?code='+this.$route.query.code,
method:'POST',
success: function (res) {
alert(res.data.hasChildren,this.$route.query.code)
console.log("res:"+res);
}
})
}
}
} }
</script> </script>
<style lang="scss"> <style>
.launch-v { .content {
.launch-box { display: flex;
padding-top: 170rpx; flex-direction: column;
align-items: center;
.title { justify-content: center;
font-size: 50rpx; }
line-height: 70rpx;
color: #5098FA;
text-align: center;
margin-bottom: 10rpx;
}
.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-img { .logo {
margin: 0 auto; height: 200rpx;
width: 680rpx; width: 200rpx;
margin-top: 200rpx;
margin-left: auto;
margin-right: auto;
margin-bottom: 50rpx;
}
image { .text-area {
width: 100%; display: flex;
} justify-content: center;
} }
.copyright { .title {
position: fixed; font-size: 36rpx;
bottom: 120rpx; color: #8f8f94;
right: 0;
left: 0;
text-align: center;
color: #999999;
font-size: 24rpx;
}
}
} }
</style> </style>
\ No newline at end of file
This diff is collapsed.
import{_ as e}from"./uni-icons.BNaWtJCu.js";import{q as r,o,c as t,w as s,t as a,v as l,C as i,D as u,F as m,i as n}from"./index-q4e9g9yE.js";import{r as p}from"./uni-app.es.xrkMgk95.js";import{_ as d}from"./index.xmDOlOIj.js";import{_ as c,a as f}from"./u-form.CYIYSjYw.js";import{_ as h}from"./u-button.C4-DWqAF.js";import{_}from"./u-popup.DF0FfdDZ.js";import{_ as b}from"./_plugin-vue_export-helper.BCo6x5W8.js";const F=b({props:{},data:()=>({errorDataForm:{errorRuleUserList:{}},list:[],show:!1,query:{}}),methods:{init(e,r,o){this.query=o,this.show=!0,this.list=e,this.eventType=r,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 r in this.errorDataForm.errorRuleUserList)if(this.errorDataForm.errorRuleUserList[r].length<=0)return this.$u.toast("异常处理人员不能为空");this.$emit("submitErrorForm",e)},cancel(){this.close()},black(){this.close()},close(){this.show=!1}}},[["render",function(b,F,y,U,D,k){const j=p(r("uni-icons"),e),w=n,C=p(r("JnpfUserSelect"),d),L=p(r("u-form-item"),c),R=p(r("u-form"),f),v=p(r("u-button"),h),V=p(r("u-popup"),_);return o(),t(w,{class:"dataForm-v"},{default:s((()=>[a(V,{mode:"left",popup:!1,modelValue:D.show,"onUpdate:modelValue":F[0]||(F[0]=e=>D.show=e),length:"auto",onClose:k.close,width:"100%"},{default:s((()=>[a(w,{class:"diyTitle u-flex"},{default:s((()=>[a(j,{type:"back",size:"27",class:"uni-btn-icon",onClick:k.black},null,8,["onClick"]),a(w,{class:"txt"},{default:s((()=>[l("异常处理")])),_:1})])),_:1}),a(w,{class:"jnpf-wrap-form"},{default:s((()=>[a(R,{model:D.errorDataForm,ref:"errorDataForm",errorType:["toast"],"label-position":"left","label-width":"150","label-align":"left"},{default:s((()=>[(o(!0),i(m,null,u(D.list,((e,r)=>(o(),t(L,{prop:"errorDataForm",key:r,label:e.nodeName,required:""},{default:s((()=>[a(C,{modelValue:D.errorDataForm.errorRuleUserList[e.nodeId],"onUpdate:modelValue":r=>D.errorDataForm.errorRuleUserList[e.nodeId]=r,multiple:!0,placeholder:"异常处理人员不能为空"},null,8,["modelValue","onUpdate:modelValue"])])),_:2},1032,["label"])))),128))])),_:1},8,["model"]),a(w,{class:"buttom-actions"},{default:s((()=>[a(v,{class:"buttom-btn",onClick:k.cancel},{default:s((()=>[l("取消")])),_:1},8,["onClick"]),a(v,{class:"buttom-btn",type:"primary",onClick:k.submit},{default:s((()=>[l("确定")])),_:1},8,["onClick"])])),_:1})])),_:1})])),_:1},8,["modelValue","onClose"])])),_:1})}],["__scopeId","data-v-5196f04b"]]);export{F as E}; import{_ as e}from"./uni-icons.D5_Hhi8B.js";import{q as r,o,c as t,w as s,b as a,d as l,I as i,J as u,K as m,i as n}from"./index-Cp2JAVBI.js";import{r as p}from"./uni-app.es._ktafJZk.js";import{_ as d}from"./index.Dg_pkMqe.js";import{_ as c,a as f}from"./u-form.DimjSunN.js";import{_ as h}from"./u-button.D_SL7t3W.js";import{_ as b}from"./u-popup.DOgecstG.js";import{_}from"./_plugin-vue_export-helper.BCo6x5W8.js";const y=_({props:{},data:()=>({errorDataForm:{errorRuleUserList:{}},list:[],show:!1,query:{}}),methods:{init(e,r,o){this.query=o,this.show=!0,this.list=e,this.eventType=r,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 r in this.errorDataForm.errorRuleUserList)if(this.errorDataForm.errorRuleUserList[r].length<=0)return this.$u.toast("异常处理人员不能为空");this.$emit("submitErrorForm",e)},cancel(){this.close()},black(){this.close()},close(){this.show=!1}}},[["render",function(_,y,F,U,k,D){const j=p(r("uni-icons"),e),w=n,C=p(r("JnpfUserSelect"),d),L=p(r("u-form-item"),c),R=p(r("u-form"),f),V=p(r("u-button"),h),v=p(r("u-popup"),b);return o(),t(w,{class:"dataForm-v"},{default:s((()=>[a(v,{mode:"left",popup:!1,modelValue:k.show,"onUpdate:modelValue":y[0]||(y[0]=e=>k.show=e),length:"auto",onClose:D.close,width:"100%"},{default:s((()=>[a(w,{class:"diyTitle u-flex"},{default:s((()=>[a(j,{type:"back",size:"27",class:"uni-btn-icon",onClick:D.black},null,8,["onClick"]),a(w,{class:"txt"},{default:s((()=>[l("异常处理")])),_:1})])),_:1}),a(w,{class:"jnpf-wrap-form"},{default:s((()=>[a(R,{model:k.errorDataForm,ref:"errorDataForm",errorType:["toast"],"label-position":"left","label-width":"150","label-align":"left"},{default:s((()=>[(o(!0),i(m,null,u(k.list,((e,r)=>(o(),t(L,{prop:"errorDataForm",key:r,label:e.nodeName,required:""},{default:s((()=>[a(C,{modelValue:k.errorDataForm.errorRuleUserList[e.nodeId],"onUpdate:modelValue":r=>k.errorDataForm.errorRuleUserList[e.nodeId]=r,multiple:!0,placeholder:"异常处理人员不能为空"},null,8,["modelValue","onUpdate:modelValue"])])),_:2},1032,["label"])))),128))])),_:1},8,["model"]),a(w,{class:"buttom-actions"},{default:s((()=>[a(V,{class:"buttom-btn",onClick:D.cancel},{default:s((()=>[l("取消")])),_:1},8,["onClick"]),a(V,{class:"buttom-btn",type:"primary",onClick:D.submit},{default:s((()=>[l("确定")])),_:1},8,["onClick"])])),_:1})])),_:1})])),_:1},8,["modelValue","onClose"])])),_:1})}],["__scopeId","data-v-5196f04b"]]);export{y as E};
import{q as e,o as a,c as l,w as t,b as s,X as o,L as u,d as i,t as n,v as c,I as r,J as h,K as m,i as d,e as f,f as p,a2 as _}from"./index-Cp2JAVBI.js";import{_ as V}from"./u-search.DxqGFcYF.js";import{r as y}from"./uni-app.es._ktafJZk.js";import{_ as b,a as k}from"./u-checkbox-group.CdjXQSXu.js";import{_ as g,a as C}from"./u-radio-group.DTPJi59N.js";import{_ as D}from"./u-popup.DOgecstG.js";import{r as x}from"./resources.DipqUmnN.js";import{_ as v}from"./_plugin-vue_export-helper.BCo6x5W8.js";const w=v({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:x.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,a)=>({...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 a=0;a<this.columnData.length;a++)if(this.innerValue[e]===this.columnData[a][this.valueName]){this.columnData[a].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,a){this.innerValue=[{index:a,...e,checked:!0}]},handleConfirm(){if(this.multiple){let e={indexs:[],list:[],label:"",value:uni.$u.deepClone(this.innerValue)};if(!this.isFlow)for(let a=0;a<this.columnData.length;a++){const l=this.columnData[a];this.columnData[a].checked&&(e.list.push(uni.$u.deepClone(l)),e.indexs.push(a),e.label?e.label+=","+l[this.labelName]:e.label+=l[this.labelName])}this.$emit("confirm",e)}else{if(this.isFlow&&!this.innerValue.length)return this.$u.toast("请选择流程");this.$emit("confirm",this.innerValue)}this.close()},close(){this.$emit("close")}}},[["render",function(x,v,w,N,A,B){const S=d,j=y(e("u-search"),V),I=y(e("u-checkbox"),b),T=y(e("u-checkbox-group"),k),$=y(e("u-radio"),g),U=y(e("u-radio-group"),C),L=f,F=p,P=_,q=y(e("u-popup"),D);return a(),l(q,{maskCloseAble:w.maskCloseAble,mode:"bottom",modelValue:A.showPopup,"onUpdate:modelValue":v[7]||(v[7]=e=>A.showPopup=e),safeAreaInsetBottom:w.safeAreaInsetBottom,onClose:B.close,"mask-close-able":!1},{default:t((()=>[s(S,{class:"u-select"},{default:t((()=>[s(S,{class:"u-select__header",onTouchmove:v[3]||(v[3]=o((()=>{}),["stop","prevent"]))},{default:t((()=>[s(S,{class:"u-select__header__cancel u-select__header__btn",style:u({color:w.cancelColor}),"hover-class":"u-hover-class","hover-stay-time":150,onClick:v[0]||(v[0]=e=>B.close())},{default:t((()=>[i(n(w.cancelText),1)])),_:1},8,["style"]),s(S,{class:"u-select__header__title"},{default:t((()=>[i(n(w.title),1)])),_:1}),s(S,{class:"u-select__header__confirm u-select__header__btn",style:u({color:w.confirmColor}),"hover-class":"u-hover-class","hover-stay-time":150,onTouchmove:v[1]||(v[1]=o((()=>{}),["stop"])),onClick:v[2]||(v[2]=o((e=>B.handleConfirm()),["stop"]))},{default:t((()=>[i(n(w.confirmText),1)])),_:1},8,["style"])])),_:1}),w.isFlow||w.filterable?(a(),l(S,{key:0,class:"search-box_sticky"},{default:t((()=>[s(S,{class:"search-box"},{default:t((()=>[s(j,{placeholder:"请输入关键词搜索",height:"72","show-action":!1,"bg-color":"#f0f2f6",shape:"square",modelValue:A.searchValue,"onUpdate:modelValue":v[4]||(v[4]=e=>A.searchValue=e)},null,8,["modelValue"])])),_:1})])),_:1})):c("",!0),s(S,{class:"u-select__body u-select__body__multiple"},{default:t((()=>[s(P,{"scroll-y":!0,style:{height:"100%"}},{default:t((()=>[w.multiple?(a(),l(T,{key:0,modelValue:A.innerValue,"onUpdate:modelValue":v[5]||(v[5]=e=>A.innerValue=e)},{default:t((()=>[(a(!0),r(m,null,h(B.columnList,((e,s)=>(a(),l(I,{modelValue:e.checked,"onUpdate:modelValue":a=>e.checked=a,key:s,name:e[w.valueName]},{default:t((()=>[i(n(e[w.labelName]),1)])),_:2},1032,["modelValue","onUpdate:modelValue","name"])))),128))])),_:1},8,["modelValue"])):(a(),l(U,{key:1,wrap:"",modelValue:A.checkedValue,"onUpdate:modelValue":v[6]||(v[6]=e=>A.checkedValue=e)},{default:t((()=>[(a(!0),r(m,null,h(B.columnList,((e,s)=>(a(),l($,{onChange:a=>B.radioGroupChange(e,s),name:e[w.valueName],key:s},{default:t((()=>[i(n(e[w.labelName]),1)])),_:2},1032,["onChange","name"])))),128))])),_:1},8,["modelValue"])),B.columnList.length?c("",!0):(a(),l(S,{key:2,class:"notData-box u-flex-col"},{default:t((()=>[s(S,{class:"u-flex-col notData-inner"},{default:t((()=>[s(L,{src:A.icon,mode:"",class:"iconImg"},null,8,["src"])])),_:1}),s(F,{class:"notData-inner-text"},{default:t((()=>[i("暂无数据")])),_:1})])),_:1}))])),_:1})])),_:1})])),_:1})])),_:1},8,["maskCloseAble","modelValue","safeAreaInsetBottom","onClose"])}],["__scopeId","data-v-fd3af5ac"]]);export{w as M};
import{q as e,o as a,c as l,w as t,t as s,a0 as o,R as u,v as i,x as n,A as c,C as r,D as h,F as m,i as d,E as f,H as p,a5 as _}from"./index-q4e9g9yE.js";import{_ as V}from"./u-search.CaJ7gLmG.js";import{r as y}from"./uni-app.es.xrkMgk95.js";import{_ as b}from"./u-checkbox.CgXB409k.js";import{_ as k}from"./u-checkbox-group.Df9YeOSE.js";import{_ as g,a as C}from"./u-radio-group.CXgzmKAa.js";import{_ as x}from"./u-popup.DF0FfdDZ.js";import{r as D}from"./resources.DipqUmnN.js";import{_ as v}from"./_plugin-vue_export-helper.BCo6x5W8.js";const w=v({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:D.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,a)=>({...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 a=0;a<this.columnData.length;a++)if(this.innerValue[e]===this.columnData[a][this.valueName]){this.columnData[a].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,a){this.innerValue=[{index:a,...e,checked:!0}]},handleConfirm(){if(this.multiple){let e={indexs:[],list:[],label:"",value:uni.$u.deepClone(this.innerValue)};if(!this.isFlow)for(let a=0;a<this.columnData.length;a++){const l=this.columnData[a];this.columnData[a].checked&&(e.list.push(uni.$u.deepClone(l)),e.indexs.push(a),e.label?e.label+=","+l[this.labelName]:e.label+=l[this.labelName])}this.$emit("confirm",e)}else{if(this.isFlow&&!this.innerValue.length)return this.$u.toast("请选择流程");this.$emit("confirm",this.innerValue)}this.close()},close(){this.$emit("close")}}},[["render",function(D,v,w,N,A,B){const j=d,S=y(e("u-search"),V),I=y(e("u-checkbox"),b),T=y(e("u-checkbox-group"),k),U=y(e("u-radio"),g),$=y(e("u-radio-group"),C),F=f,L=p,P=_,q=y(e("u-popup"),x);return a(),l(q,{maskCloseAble:w.maskCloseAble,mode:"bottom",modelValue:A.showPopup,"onUpdate:modelValue":v[7]||(v[7]=e=>A.showPopup=e),safeAreaInsetBottom:w.safeAreaInsetBottom,onClose:B.close,"mask-close-able":!1},{default:t((()=>[s(j,{class:"u-select"},{default:t((()=>[s(j,{class:"u-select__header",onTouchmove:v[3]||(v[3]=o((()=>{}),["stop","prevent"]))},{default:t((()=>[s(j,{class:"u-select__header__cancel u-select__header__btn",style:u({color:w.cancelColor}),"hover-class":"u-hover-class","hover-stay-time":150,onClick:v[0]||(v[0]=e=>B.close())},{default:t((()=>[i(n(w.cancelText),1)])),_:1},8,["style"]),s(j,{class:"u-select__header__title"},{default:t((()=>[i(n(w.title),1)])),_:1}),s(j,{class:"u-select__header__confirm u-select__header__btn",style:u({color:w.confirmColor}),"hover-class":"u-hover-class","hover-stay-time":150,onTouchmove:v[1]||(v[1]=o((()=>{}),["stop"])),onClick:v[2]||(v[2]=o((e=>B.handleConfirm()),["stop"]))},{default:t((()=>[i(n(w.confirmText),1)])),_:1},8,["style"])])),_:1}),w.isFlow||w.filterable?(a(),l(j,{key:0,class:"search-box_sticky"},{default:t((()=>[s(j,{class:"search-box"},{default:t((()=>[s(S,{placeholder:"请输入关键词搜索",height:"72","show-action":!1,"bg-color":"#f0f2f6",shape:"square",modelValue:A.searchValue,"onUpdate:modelValue":v[4]||(v[4]=e=>A.searchValue=e)},null,8,["modelValue"])])),_:1})])),_:1})):c("",!0),s(j,{class:"u-select__body u-select__body__multiple"},{default:t((()=>[s(P,{"scroll-y":!0,style:{height:"100%"}},{default:t((()=>[w.multiple?(a(),l(T,{key:0,modelValue:A.innerValue,"onUpdate:modelValue":v[5]||(v[5]=e=>A.innerValue=e)},{default:t((()=>[(a(!0),r(m,null,h(B.columnList,((e,s)=>(a(),l(I,{modelValue:e.checked,"onUpdate:modelValue":a=>e.checked=a,key:s,name:e[w.valueName]},{default:t((()=>[i(n(e[w.labelName]),1)])),_:2},1032,["modelValue","onUpdate:modelValue","name"])))),128))])),_:1},8,["modelValue"])):(a(),l($,{key:1,wrap:"",modelValue:A.checkedValue,"onUpdate:modelValue":v[6]||(v[6]=e=>A.checkedValue=e)},{default:t((()=>[(a(!0),r(m,null,h(B.columnList,((e,s)=>(a(),l(U,{onChange:a=>B.radioGroupChange(e,s),name:e[w.valueName],key:s},{default:t((()=>[i(n(e[w.labelName]),1)])),_:2},1032,["onChange","name"])))),128))])),_:1},8,["modelValue"])),B.columnList.length?c("",!0):(a(),l(j,{key:2,class:"notData-box u-flex-col"},{default:t((()=>[s(j,{class:"u-flex-col notData-inner"},{default:t((()=>[s(F,{src:A.icon,mode:"",class:"iconImg"},null,8,["src"])])),_:1}),s(L,{class:"notData-inner-text"},{default:t((()=>[i("暂无数据")])),_:1})])),_:1}))])),_:1})])),_:1})])),_:1})])),_:1},8,["maskCloseAble","modelValue","safeAreaInsetBottom","onClose"])}],["__scopeId","data-v-fd3af5ac"]]);export{w as M};
This diff is collapsed.
This diff is collapsed.
import{a6 as a}from"./index-q4e9g9yE.js";function t(t){return a({url:"/api/app/Menu",method:"get",data:t,options:{load:!1}})}function p(t){return a({url:"/api/app/Data?type="+t,options:{load:!1}})}function n(t){return a({url:"/api/app/Data",method:"post",data:t})}function r(t){return a({url:"/api/app/Data/"+t,method:"delete"})}function e(t){return a({url:"/api/app/Data/getFlowList",data:t})}function o(){return a({url:"/api/app/Data/getDataList"})}export{t as a,e as b,n as c,r as d,o as e,p as g}; import{a3 as a}from"./index-Cp2JAVBI.js";function t(t){return a({url:"/api/app/Menu",method:"get",data:t,options:{load:!1}})}function p(t){return a({url:"/api/app/Data?type="+t,options:{load:!1}})}function n(t){return a({url:"/api/app/Data",method:"post",data:t})}function r(t){return a({url:"/api/app/Data/"+t,method:"delete"})}function e(t){return a({url:"/api/app/Data/getFlowList",data:t})}function o(){return a({url:"/api/app/Data/getDataList"})}export{t as a,e as b,n as c,r as d,o as e,p as g};
import{be as t,bf as e,bg as i,bh as r,bi as s,bj as a,bk as n,bl as o,bm as h}from"./index-q4e9g9yE.js";const l=t({id:" app-base",state:()=>({dictionaryList:[],organizeTree:[],departmentTree:[],positionTree:[],groupTree:[],roleTree:[],userTree:[],userList:[],relationData:{}}),getters:{getDictionaryList(){return this.dictionaryList},getRelationData(){return this.relationData}},actions:{setDictionaryList(t){this.dictionaryList=t||[]},setOrganizeTree(t){this.organizeTree=t},setDepartmentTree(t){this.departmentTree=t},setPositionTree(t){this.positionTree=t},setGroupTree(t){this.groupTree=t},setRoleTree(t){this.roleTree=t},setUserTree(t){this.userTree=t},setUserList(t){this.userList=t},updateRelationData(t){this.relationData=t},getDictionaryDataAll(){return new Promise(((t,i)=>{this.dictionaryList.length?t(this.dictionaryList):e().then((e=>{this.setDictionaryList(e.data.list),t(e.data.list)})).catch((t=>{i(t)}))}))},getDictionaryData(t){return new Promise((async e=>{let i=[],r=[],s=[];if(i=this.dictionaryList.length?this.dictionaryList:await this.getDictionaryDataAll(),t.sort)if(r=i.filter((e=>e.enCode===t.sort))[0],t.id){let e=[];if(r.isTree){const i=r=>{for(let s=0;s<r.length;s++){const a=r[s];if(a.id==t.id){e[0]=a;break}a.children&&a.children.length&&i(a.children)}};i(r.dictionaryList)}else e=r.dictionaryList.fliter((e=>e.id==t.id));s=e.length?e[0]:{id:"",fullName:""}}else s=(null==r?void 0:r.dictionaryList)||[];e(s)}))},getDicDataSelector(t,e="id"){return new Promise((async i=>{let r=[],s={},a=[];if(r=this.dictionaryList.length?this.dictionaryList:await this.getDictionaryDataAll(),!t)return i([]);let n=r.filter((i=>i[e]===t));if(!n.length)return i([]);s=n[0],a=s.dictionaryList,i(a)}))},getOrganizeTree(){return new Promise(((t,e)=>{this.organizeTree.length?t(this.organizeTree):i().then((e=>{this.setOrganizeTree(e.data.list),t(e.data.list)})).catch((t=>{e(t)}))}))},getDepartmentTree(){return new Promise(((t,e)=>{this.departmentTree.length?t(this.departmentTree):r().then((e=>{this.setDepartmentTree(e.data.list),t(e.data.list)})).catch((t=>{e(t)}))}))},getPositionTree(){return new Promise(((t,e)=>{this.positionTree.length?t(this.positionTree):s().then((e=>{this.setPositionTree(e.data.list),t(e.data.list)})).catch((t=>{e(t)}))}))},getGroupTree(){return new Promise(((t,e)=>{this.groupTree.length?t(this.groupTree):a().then((e=>{this.setGroupTree(e.data),t(e.data)})).catch((t=>{e(t)}))}))},getRoleTree(){return new Promise(((t,e)=>{this.roleTree.length?t(this.roleTree):n().then((e=>{this.setRoleTree(e.data.list),t(e.data.list)})).catch((t=>{e(t)}))}))},getUserTree(){return new Promise(((t,e)=>{this.userTree.length?t(this.userTree):o().then((e=>{this.setUserTree(e.data.list),t(e.data.list)})).catch((t=>{e(t)}))}))},getUserList(){return new Promise(((t,e)=>{this.userList.length?t(this.userList):h().then((e=>{this.setUserList(e.data.list),t(e.data.list)})).catch((t=>{e(t)}))}))},getUserInfo(t){return new Promise((async e=>{let i=[];i=this.userList.length?this.userList:await this.getUserList(),e(i.filter((e=>e.id===t))[0]||{})}))}}});export{l as u}; import{b9 as t,ba as e,bb as i,bc as r,bd as s,be as a,bf as n,bg as o,bh as h}from"./index-Cp2JAVBI.js";const l=t({id:" app-base",state:()=>({dictionaryList:[],organizeTree:[],departmentTree:[],positionTree:[],groupTree:[],roleTree:[],userTree:[],userList:[],relationData:{}}),getters:{getDictionaryList(){return this.dictionaryList},getRelationData(){return this.relationData}},actions:{setDictionaryList(t){this.dictionaryList=t||[]},setOrganizeTree(t){this.organizeTree=t},setDepartmentTree(t){this.departmentTree=t},setPositionTree(t){this.positionTree=t},setGroupTree(t){this.groupTree=t},setRoleTree(t){this.roleTree=t},setUserTree(t){this.userTree=t},setUserList(t){this.userList=t},updateRelationData(t){this.relationData=t},getDictionaryDataAll(){return new Promise(((t,i)=>{this.dictionaryList.length?t(this.dictionaryList):e().then((e=>{this.setDictionaryList(e.data.list),t(e.data.list)})).catch((t=>{i(t)}))}))},getDictionaryData(t){return new Promise((async e=>{let i=[],r=[],s=[];if(i=this.dictionaryList.length?this.dictionaryList:await this.getDictionaryDataAll(),t.sort)if(r=i.filter((e=>e.enCode===t.sort))[0],t.id){let e=[];if(r.isTree){const i=r=>{for(let s=0;s<r.length;s++){const a=r[s];if(a.id==t.id){e[0]=a;break}a.children&&a.children.length&&i(a.children)}};i(r.dictionaryList)}else e=r.dictionaryList.fliter((e=>e.id==t.id));s=e.length?e[0]:{id:"",fullName:""}}else s=(null==r?void 0:r.dictionaryList)||[];e(s)}))},getDicDataSelector(t,e="id"){return new Promise((async i=>{let r=[],s={},a=[];if(r=this.dictionaryList.length?this.dictionaryList:await this.getDictionaryDataAll(),!t)return i([]);let n=r.filter((i=>i[e]===t));if(!n.length)return i([]);s=n[0],a=s.dictionaryList,i(a)}))},getOrganizeTree(){return new Promise(((t,e)=>{this.organizeTree.length?t(this.organizeTree):i().then((e=>{this.setOrganizeTree(e.data.list),t(e.data.list)})).catch((t=>{e(t)}))}))},getDepartmentTree(){return new Promise(((t,e)=>{this.departmentTree.length?t(this.departmentTree):r().then((e=>{this.setDepartmentTree(e.data.list),t(e.data.list)})).catch((t=>{e(t)}))}))},getPositionTree(){return new Promise(((t,e)=>{this.positionTree.length?t(this.positionTree):s().then((e=>{this.setPositionTree(e.data.list),t(e.data.list)})).catch((t=>{e(t)}))}))},getGroupTree(){return new Promise(((t,e)=>{this.groupTree.length?t(this.groupTree):a().then((e=>{this.setGroupTree(e.data),t(e.data)})).catch((t=>{e(t)}))}))},getRoleTree(){return new Promise(((t,e)=>{this.roleTree.length?t(this.roleTree):n().then((e=>{this.setRoleTree(e.data.list),t(e.data.list)})).catch((t=>{e(t)}))}))},getUserTree(){return new Promise(((t,e)=>{this.userTree.length?t(this.userTree):o().then((e=>{this.setUserTree(e.data.list),t(e.data.list)})).catch((t=>{e(t)}))}))},getUserList(){return new Promise(((t,e)=>{this.userList.length?t(this.userList):h().then((e=>{this.setUserList(e.data.list),t(e.data.list)})).catch((t=>{e(t)}))}))},getUserInfo(t){return new Promise((async e=>{let i=[];i=this.userList.length?this.userList:await this.getUserList(),e(i.filter((e=>e.id===t))[0]||{})}))}}});export{l as u};
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
import{a6 as e}from"./index-q4e9g9yE.js";function t(t){return e({url:"/api/workflow/Engine/FlowDelegate",method:"get",data:t})}function o(t){return e({url:`/api/workflow/Engine/FlowDelegate/${t}`,method:"get"})}function n(t){return e({url:`/api/workflow/Engine/FlowDelegate/${t}`,method:"DELETE"})}function a(t){return e({url:"/api/workflow/Engine/FlowDelegate",method:"post",data:t})}function r(t){return e({url:`/api/workflow/Engine/FlowDelegate/${t.id}`,method:"PUT",data:t})}function l(t){return e({url:"/api/workflow/Engine/FlowDelegate/getflow",method:"get",data:t})}function i(t){return e({url:"/api/workflow/Engine/FlowDelegate/userList",method:"get",data:t})}function u(t){return e({url:`/api/workflow/Engine/FlowDelegate/Stop/${t}`,method:"put"})}export{a as C,n as D,t as F,r as U,o as a,l as d,u as e,i as g}; import{a3 as e}from"./index-Cp2JAVBI.js";function t(t){return e({url:"/api/workflow/Engine/FlowDelegate",method:"get",data:t})}function o(t){return e({url:`/api/workflow/Engine/FlowDelegate/${t}`,method:"get"})}function n(t){return e({url:`/api/workflow/Engine/FlowDelegate/${t}`,method:"DELETE"})}function a(t){return e({url:"/api/workflow/Engine/FlowDelegate",method:"post",data:t})}function r(t){return e({url:`/api/workflow/Engine/FlowDelegate/${t.id}`,method:"PUT",data:t})}function l(t){return e({url:"/api/workflow/Engine/FlowDelegate/getflow",method:"get",data:t})}function i(t){return e({url:"/api/workflow/Engine/FlowDelegate/userList",method:"get",data:t})}function u(t){return e({url:`/api/workflow/Engine/FlowDelegate/Stop/${t}`,method:"put"})}export{a as C,n as D,t as F,r as U,o as a,l as d,u as e,i as g};
import{a6 as o}from"./index-q4e9g9yE.js";function e(e,r,t){return o({url:`/api/workflow/Engine/FlowBefore/List/${e}`,method:"get",data:r,options:{load:!1}})}function r(e,r){return o({url:`/api/workflow/Engine/FlowBefore/${e}`,method:"get",data:r})}function t(e,r){return o({url:`/api/workflow/Engine/FlowBefore/Audit/${e}`,method:"post",data:r})}function n(e,r){return o({url:`/api/workflow/Engine/FlowBefore/Reject/${e}`,method:"post",data:r})}function a(e,r){return o({url:`/api/workflow/Engine/FlowBefore/Recall/${e}`,method:"post",data:r})}function i(e,r){return o({url:`/api/workflow/Engine/FlowBefore/Cancel/${e}`,method:"post",data:r})}function f(e,r){return o({url:`/api/workflow/Engine/FlowBefore/Transfer/${e}`,method:"post",data:r})}function l(e,r){return o({url:`/api/workflow/Engine/FlowBefore/RecordList/${e}`,method:"get",data:r})}function u(e,r){return o({url:`/api/workflow/Engine/FlowBefore/SaveAudit/${e}`,method:"post",data:r})}function w(e,r){return o({url:`/api/workflow/Engine/FlowBefore/Candidates/${e}`,method:"post",data:r})}function d(e,r){return o({url:`/api/workflow/Engine/FlowBefore/CandidateUser/${e}`,method:"post",data:r})}function s(e){return o({url:`/api/workflow/Engine/FlowBefore/RejectList/${e}`,method:"get"})}function p(e,r){return o({url:`/api/workflow/Engine/FlowBefore/freeApprover/${e}`,method:"post",data:r})}function g(e){return o({url:`/api/workflow/Engine/FlowBefore/SubFlowInfo/${e}`,method:"get"})}function c(e,r){return o({url:`/api/workflow/Engine/FlowBefore/TaskUserList/${e}`,method:"get",data:r})}export{t as A,w as C,r as F,s as R,u as S,f as T,a,p as b,i as c,n as d,g as e,e as f,l as g,c as h,d as i}; import{a3 as o}from"./index-Cp2JAVBI.js";function e(e,r,t){return o({url:`/api/workflow/Engine/FlowBefore/List/${e}`,method:"get",data:r,options:{load:!1}})}function r(e,r){return o({url:`/api/workflow/Engine/FlowBefore/${e}`,method:"get",data:r})}function t(e,r){return o({url:`/api/workflow/Engine/FlowBefore/Audit/${e}`,method:"post",data:r})}function n(e,r){return o({url:`/api/workflow/Engine/FlowBefore/Reject/${e}`,method:"post",data:r})}function a(e,r){return o({url:`/api/workflow/Engine/FlowBefore/Recall/${e}`,method:"post",data:r})}function i(e,r){return o({url:`/api/workflow/Engine/FlowBefore/Cancel/${e}`,method:"post",data:r})}function f(e,r){return o({url:`/api/workflow/Engine/FlowBefore/Transfer/${e}`,method:"post",data:r})}function l(e,r){return o({url:`/api/workflow/Engine/FlowBefore/RecordList/${e}`,method:"get",data:r})}function u(e,r){return o({url:`/api/workflow/Engine/FlowBefore/SaveAudit/${e}`,method:"post",data:r})}function w(e,r){return o({url:`/api/workflow/Engine/FlowBefore/Candidates/${e}`,method:"post",data:r})}function d(e,r){return o({url:`/api/workflow/Engine/FlowBefore/CandidateUser/${e}`,method:"post",data:r})}function s(e){return o({url:`/api/workflow/Engine/FlowBefore/RejectList/${e}`,method:"get"})}function p(e,r){return o({url:`/api/workflow/Engine/FlowBefore/freeApprover/${e}`,method:"post",data:r})}function g(e){return o({url:`/api/workflow/Engine/FlowBefore/SubFlowInfo/${e}`,method:"get"})}function c(e,r){return o({url:`/api/workflow/Engine/FlowBefore/TaskUserList/${e}`,method:"get",data:r})}export{t as A,w as C,r as F,s as R,u as S,f as T,a,p as b,i as c,n as d,g as e,e as f,l as g,c as h,d as i};
import{a6 as o}from"./index-q4e9g9yE.js";function t(t,e){return o({url:`/api/workflow/Engine/flowTemplate/FlowJsonList/${t}`,method:"get",data:{type:e}})}function e(t){return o({url:"/api/workflow/Engine/flowTemplate/PageListAll",method:"get",data:t,options:{load:!1}})}function n(t){return o({url:`/api/flowForm/Form/${t}`,method:"get"})}function a(){return o({url:"/api/workflow/Engine/flowTemplate/ListAll",method:"get",options:{load:!1}})}function l(t){return o({url:"/api/workflow/Engine/FlowComment",method:"get",data:t})}function r(t){return o({url:"/api/workflow/Engine/FlowComment",method:"post",data:t})}function i(t){return o({url:`/api/workflow/Engine/FlowComment/${t}`,method:"delete"})}function u(t){return o({url:"/api/workflow/Engine/flowTemplate/getflowAll",method:"get",data:t})}function w(t){return o({url:`/api/workflow/Engine/flowTemplate/getFlowIdByCode/${t}`,method:"get"})}function f(t){return o({url:"/api/visualdev/Dashboard/FlowTodoCount",method:"post",data:t})}function d(t){return o({url:"/api/workflow/Engine/flowTemplate/getflowList",method:"post",data:t})}export{e as F,t as a,l as b,r as c,i as d,u as e,d as f,f as g,a as h,n as i,w as j}; import{a3 as o}from"./index-Cp2JAVBI.js";function t(t,e){return o({url:`/api/workflow/Engine/flowTemplate/FlowJsonList/${t}`,method:"get",data:{type:e}})}function e(t){return o({url:"/api/workflow/Engine/flowTemplate/PageListAll",method:"get",data:t,options:{load:!1}})}function n(t){return o({url:`/api/flowForm/Form/${t}`,method:"get"})}function a(){return o({url:"/api/workflow/Engine/flowTemplate/ListAll",method:"get",options:{load:!1}})}function l(t){return o({url:"/api/workflow/Engine/FlowComment",method:"get",data:t})}function r(t){return o({url:"/api/workflow/Engine/FlowComment",method:"post",data:t})}function i(t){return o({url:`/api/workflow/Engine/FlowComment/${t}`,method:"delete"})}function u(t){return o({url:"/api/workflow/Engine/flowTemplate/getflowAll",method:"get",data:t})}function w(t){return o({url:`/api/workflow/Engine/flowTemplate/getFlowIdByCode/${t}`,method:"get"})}function f(t){return o({url:"/api/visualdev/Dashboard/FlowTodoCount",method:"post",data:t})}function d(t){return o({url:"/api/workflow/Engine/flowTemplate/getflowList",method:"post",data:t})}export{e as F,t as a,l as b,r as c,i as d,u as e,d as f,f as g,a as h,n as i,w as j};
This diff is collapsed.
This diff is collapsed.
import{a6 as o}from"./index-q4e9g9yE.js";function n(n,r){return o({url:"/api/workflow/Engine/FlowLaunch",method:"get",data:n,options:{load:!1}})}function r(n){return o({url:`/api/workflow/Engine/FlowLaunch/${n}`,method:"DELETE"})}function t(n,r){return o({url:`/api/workflow/Engine/FlowLaunch/${n}/Actions/Withdraw`,method:"PUT",data:r})}function a(n){return o({url:`/api/workflow/Engine/FlowLaunch/Press/${n}`,method:"post"})}export{r as D,n as F,a as P,t as R}; import{a3 as o}from"./index-Cp2JAVBI.js";function n(n,r){return o({url:"/api/workflow/Engine/FlowLaunch",method:"get",data:n,options:{load:!1}})}function r(n){return o({url:`/api/workflow/Engine/FlowLaunch/${n}`,method:"DELETE"})}function t(n,r){return o({url:`/api/workflow/Engine/FlowLaunch/${n}/Actions/Withdraw`,method:"PUT",data:r})}function a(n){return o({url:`/api/workflow/Engine/FlowLaunch/Press/${n}`,method:"post"})}export{r as D,n as F,a as P,t as R};
import{n as t,q as e,o as s,c as a,w as l,t as i,C as o,D as r,F as d,i as f,A as u,G as c,v as n,x as p,H as m,E as _}from"./index-q4e9g9yE.js";import{_ as h}from"./u-tag.CPXfer0M.js";import{r as g}from"./uni-app.es.xrkMgk95.js";import{_ as w}from"./_plugin-vue_export-helper.BCo6x5W8.js";const y=w({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(e){const s={id:e.processId,flowId:e.flowId,opType:this.opType,status:e.status,taskNodeId:e.thisStepId,taskId:e.id};t({url:"/pages/workFlow/flowBefore/index?config="+this.jnpf.base64.encode(JSON.stringify(s))})},getLableValue(t){var e="";switch(t){case 1:default:e="普通";break;case 2:e="重要";break;case 3:e="紧急"}return e}}},[["render",function(t,w,y,b,k,I){const x=g(e("u-tag"),h),T=f,j=m,C=_;return s(),a(T,{class:"flow-list flowBefore"},{default:l((()=>[i(T,{class:"flow-list-box"},{default:l((()=>[(s(!0),o(d,null,r(y.list,((e,o)=>(s(),a(T,{class:"item",key:e.id,onClick:t=>I.handleClick(e)},{default:l((()=>[i(T,{class:"item-left"},{default:l((()=>[i(T,{class:"item-left-top"},{default:l((()=>[e.delegateUser?(s(),a(T,{key:0,class:"u-m-r-8"},{default:l((()=>[i(x,{text:"委托",type:"success",size:"mini"})])),_:1})):u("",!0),i(T,{class:c(["common-lable",{"urgent-lable":2==e.flowUrgent,"important-lable":3==e.flowUrgent}])},{default:l((()=>[n(p(I.getLableValue(e.flowUrgent)),1)])),_:2},1032,["class"]),i(j,{class:"title u-font-28 u-line-1"},{default:l((()=>[n(p(e.fullName),1)])),_:2},1024)])),_:2},1024),i(j,{class:"title u-line-1 u-font-24"},{default:l((()=>[n("审批节点:"),i(j,{class:"titInner"},{default:l((()=>[n(p(e.thisStep?e.thisStep:"暂无"),1)])),_:2},1024)])),_:2},1024),i(j,{class:"time title u-font-24"},{default:l((()=>[n(p(k.title)+"",1),i(j,{class:"titInner"},{default:l((()=>[n(p(e.creatorTime?t.$u.timeFormat(e.creatorTime,"yyyy-mm-dd hh:MM:ss"):""),1)])),_:2},1024)])),_:2},1024)])),_:2},1024),i(T,{class:"item-right"},{default:l((()=>[i(C,{src:e.flowStatus,mode:"widthFix",class:"item-right-img"},null,8,["src"])])),_:2},1024)])),_:2},1032,["onClick"])))),128))])),_:1})])),_:1})}],["__scopeId","data-v-70d6b346"]]);export{y as f}; import{F as e,q as t,o as s,c as a,w as l,b as i,I as o,J as r,K as d,i as f,v as u,H as c,d as n,t as p,f as m,e as _}from"./index-Cp2JAVBI.js";import{_ as h}from"./u-tag.Dr64w5Fb.js";import{r as g}from"./uni-app.es._ktafJZk.js";import{_ as w}from"./_plugin-vue_export-helper.BCo6x5W8.js";const y=w({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({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}}},[["render",function(e,w,y,b,k,I){const x=g(t("u-tag"),h),T=f,j=m,F=_;return s(),a(T,{class:"flow-list flowBefore"},{default:l((()=>[i(T,{class:"flow-list-box"},{default:l((()=>[(s(!0),o(d,null,r(y.list,((t,o)=>(s(),a(T,{class:"item",key:t.id,onClick:e=>I.handleClick(t)},{default:l((()=>[i(T,{class:"item-left"},{default:l((()=>[i(T,{class:"item-left-top"},{default:l((()=>[t.delegateUser?(s(),a(T,{key:0,class:"u-m-r-8"},{default:l((()=>[i(x,{text:"委托",type:"success",size:"mini"})])),_:1})):u("",!0),i(T,{class:c(["common-lable",{"urgent-lable":2==t.flowUrgent,"important-lable":3==t.flowUrgent}])},{default:l((()=>[n(p(I.getLableValue(t.flowUrgent)),1)])),_:2},1032,["class"]),i(j,{class:"title u-font-28 u-line-1"},{default:l((()=>[n(p(t.fullName),1)])),_:2},1024)])),_:2},1024),i(j,{class:"title u-line-1 u-font-24"},{default:l((()=>[n("审批节点:"),i(j,{class:"titInner"},{default:l((()=>[n(p(t.thisStep?t.thisStep:"暂无"),1)])),_:2},1024)])),_:2},1024),i(j,{class:"time title u-font-24"},{default:l((()=>[n(p(k.title)+"",1),i(j,{class:"titInner"},{default:l((()=>[n(p(t.creatorTime?e.$u.timeFormat(t.creatorTime,"yyyy-mm-dd hh:MM:ss"):""),1)])),_:2},1024)])),_:2},1024)])),_:2},1024),i(T,{class:"item-right"},{default:l((()=>[i(F,{src:t.flowStatus,mode:"widthFix",class:"item-right-img"},null,8,["src"])])),_:2},1024)])),_:2},1032,["onClick"])))),128))])),_:1})])),_:1})}],["__scopeId","data-v-70d6b346"]]);export{y as f};
.launch-v .launch-box[data-v-2f3dcf67]{padding-top:5.3125rem}.launch-v .launch-box .title[data-v-2f3dcf67]{font-size:1.5625rem;line-height:2.1875rem;color:#5098fa;text-align:center;margin-bottom:.3125rem}.launch-v .launch-box .version[data-v-2f3dcf67]{width:7.8125rem;margin:0 auto;text-align:center;height:1.5625rem;border:1px solid #5098FA;border-radius:.78125rem;line-height:1.5rem;color:#5098fa;letter-spacing:.0625rem}.launch-v .launch-box .launch-img[data-v-2f3dcf67]{margin:0 auto;width:21.25rem}.launch-v .launch-box .launch-img uni-image[data-v-2f3dcf67]{width:100%}.launch-v .launch-box .copyright[data-v-2f3dcf67]{position:fixed;bottom:3.75rem;right:0;left:0;text-align:center;color:#999;font-size:.75rem}
.loginBtn[data-v-4ba8b8ed]{color:#337bd4!important;border:.03125rem solid #337bd4!important;font-size:.9375rem;border-radius:1.5625rem}
.content[data-v-57f28686]{display:flex;flex-direction:column;align-items:center;justify-content:center}.logo[data-v-57f28686]{height:6.25rem;width:6.25rem;margin-top:6.25rem;margin-left:auto;margin-right:auto;margin-bottom:1.5625rem}.text-area[data-v-57f28686]{display:flex;justify-content:center}.title[data-v-57f28686]{font-size:1.125rem;color:#8f8f94}
This diff is collapsed.
uni-page-body[data-v-7a4bd7f8]{width:100%;min-height:100vh}.remember-wrap[data-v-7a4bd7f8]{margin-top:8px}.remember-wrap .remember-text[data-v-7a4bd7f8]{color:#9a9a9a;font-size:13px}.logo-v[data-v-7a4bd7f8]{height:100vh;display:flex;flex-direction:column}.logo-v .login-version[data-v-7a4bd7f8]{position:fixed;right:0;top:0;width:3.75rem;height:3.75rem;background:url(/app/assets/login_version-BaE9W612.png) no-repeat center;background-size:100%}.logo-v .login-version .login-version-text[data-v-7a4bd7f8]{width:3.75rem;height:3.75rem;line-height:2.1875rem;text-align:center;color:#fff;font-size:.875rem;transform:rotate(45deg)}.logo-v .login-bg[data-v-7a4bd7f8]{height:15.625rem;position:relative}.logo-v .login-bg uni-image[data-v-7a4bd7f8]{width:100%;height:100%}.logo-v .login-bg .logoImg[data-v-7a4bd7f8]{width:5rem;height:5rem;margin:0 auto;position:absolute;bottom:0;left:0;right:0}.logo-v .login-bg .logoImg uni-image[data-v-7a4bd7f8]{width:100%;height:100%;border-radius:20%}.logo-v .logo-hd[data-v-7a4bd7f8]{width:100%}.logo-v .logo-hd .introduce[data-v-7a4bd7f8]{justify-content:center;align-items:center}.logo-v .logo-hd .introduce .text-one[data-v-7a4bd7f8]{height:2.1875rem;font-weight:700}.logo-v .logo-hd .introduce .text-two[data-v-7a4bd7f8]{color:#999}.logo-v .logo-hd .loginSwitch[data-v-7a4bd7f8]{margin-top:1.25rem;justify-content:center;align-items:center}.logo-v .logo-hd .loginSwitch .tabs[data-v-7a4bd7f8]{color:#999;position:relative}.logo-v .logo-hd .loginSwitch .tabs[data-v-7a4bd7f8]:after{content:"";width:2rem;height:.125rem;background-color:#356efe;margin-top:.46875rem;position:absolute;left:0;bottom:-.46875rem;display:block;border-radius:1.5625rem}.logo-v .logo-hd .loginSwitch .tabs.active2[data-v-7a4bd7f8]:after{left:70%}.logo-v .logo-hd .loginSwitch .tabs .tab[data-v-7a4bd7f8]{width:50%;height:2.5rem;text-align:center;color:#aeafb5;font-size:1rem}.logo-v .logo-hd .loginSwitch .tabs .tab.active[data-v-7a4bd7f8]{color:#3281ff}.logo-v .logo-hd .loginSwitch .loginInputBox[data-v-7a4bd7f8]{width:100%;margin-top:2.5rem;padding:0 2rem}.logo-v .logo-hd .loginSwitch .loginInputBox .code-box[data-v-7a4bd7f8]{width:100%}.logo-v .copyright[data-v-7a4bd7f8]{position:fixed;bottom:1.25rem;left:0;right:0;text-align:center;color:#9a9a9a;font-size:.75rem}.logo-v .sso-login-btn[data-v-7a4bd7f8]{width:100%;padding:0 2rem;margin-top:11.375rem}.other-list[data-v-7a4bd7f8]{display:flex;align-items:center;justify-content:space-around}.other-list .other-item[data-v-7a4bd7f8]{width:30px;height:30px;line-height:30px;text-align:center;cursor:pointer;border-radius:50%}.other-list .other-item uni-text[data-v-7a4bd7f8]{font-size:20px;color:#a0acb7}.mian[data-v-7a4bd7f8]{background:url(/app/assets/tenancy-DLwfXBAK.png);height:100%}.img[data-v-7a4bd7f8]{margin-top:.625rem;margin-left:30%}.title[data-v-7a4bd7f8]{margin-top:-1.71875rem;margin-left:8.125rem;font-size:1rem}.info[data-v-7a4bd7f8]{margin:auto;width:96%;height:9.375rem;background-color:#fff;margin-bottom:.625rem;border-radius:.3125rem;border-left:.3125rem solid #9DC8FA;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-name[data-v-7a4bd7f8]{font-weight:700;font-size:1rem;margin-left:.625rem;margin-bottom:.625rem;margin-top:.9375rem;width:100%;height:1.875rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-tenancy[data-v-7a4bd7f8]{font-size:.875rem;margin-left:.625rem;margin-bottom:.625rem;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
This diff is collapsed.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
import{an as t,am as e,o as i,c as s,w as n,Q as a,b as l,I as r,K as o,J as h,d,t as u,H as c,R as g,v as p,f as m,i as f,ap as w,M as v,x as y,N as _,F as S,aQ as b,p as x,q as C,G as V,X as k,Z as T,e as $}from"./index-Cp2JAVBI.js";import{_ as j}from"./u-action-sheet.CeQd15qr.js";import{r as I}from"./uni-app.es._ktafJZk.js";import{_ as D}from"./_plugin-vue_export-helper.BCo6x5W8.js";let M="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";let B=function(t){var e,i,s,n,a,l,r,o="",h=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);h<t.length;)n=(e=t.charCodeAt(h++))>>2,a=(3&e)<<4|(i=t.charCodeAt(h++))>>4,l=(15&i)<<2|(s=t.charCodeAt(h++))>>6,r=63&s,isNaN(i)?l=r=64:isNaN(s)&&(r=64),o=o+M.charAt(n)+M.charAt(a)+M.charAt(l)+M.charAt(r);return o};const N=D({name:"jnpf-sign",components:{Sign:D({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 i=t(this.cid,this);this.cxt=i,this.ctrl={width:0,height:0,clear:()=>{this.lines=[],e().in(this).select("."+this.cid).boundingClientRect((t=>{t&&(i.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,"+B(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,n=90==Math.abs(-90)?e:i,a=e/2,l=i/2,r=Math.PI,o=Math.cos(-90*r/180),h=Math.sin(-90*r/180),d=(s-e)/2,u=(n-i)/2,c=function(t){{let e=(t.x-a)*o-(t.y-l)*h+a,i=(t.x-a)*h+(t.y-l)*o+l;return{x:e+d,y:i+u}}};return this.lines.map((e=>{if(e.points.length<2)return;let i=c(e.start),s=[`M ${i.x} ${Number(i.y)}`];e.points.map((t=>{let e=c(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="${n}">${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){}}},[["render",function(t,e,v,y,_,S){const b=m,x=f,C=w;return i(),s(x,{class:"signature-wrap"},{default:n((()=>[v.disabled?p("",!0):a((i(),s(x,{key:0,class:"signature-contain"},{default:n((()=>[l(x,{class:"signature-main",style:{"z-index":"3000"}},{default:n((()=>[l(x,null,{default:n((()=>[l(x,{class:"signature-title"},{default:n((()=>[(i(!0),r(o,null,h(S.titles,((t,e)=>(i(),s(b,{key:e},{default:n((()=>[d(u(t),1)])),_:2},1024)))),128))])),_:1})])),_:1}),l(C,{"disable-scroll":"true",class:c(["signature",_.cid]),"canvas-id":_.cid,onTouchstart:S.touchstart,onTouchmove:S.touchmove,onTouchend:S.touchend},{default:n((()=>[a(l(x,{class:"tip"},{default:n((()=>[d(" 请在此区域手写签名 ")])),_:1},512),[[g,!_.hasDrew]])])),_:1},8,["class","canvas-id","onTouchstart","onTouchmove","onTouchend"]),l(x,{class:"signature-btns"},{default:n((()=>[l(x,{class:"btn btn-cancel cu-btn bg-main margin-tb-sm text-white",onClick:e[0]||(e[0]=t=>S.cancelSignature())},{default:n((()=>[l(b,null,{default:n((()=>[d("")])),_:1}),l(b,null,{default:n((()=>[d("")])),_:1})])),_:1}),l(x,{class:"btn btn-clear cu-btn bg-main margin-tb-sm text-white",onClick:e[1]||(e[1]=t=>{S.clearSignature()})},{default:n((()=>[l(b,null,{default:n((()=>[d("")])),_:1}),l(b,null,{default:n((()=>[d("")])),_:1})])),_:1}),l(x,{class:"btn btn-ok cu-btn bg-main margin-tb-sm text-white",onClick:e[2]||(e[2]=t=>S.onOK())},{default:n((()=>[l(b,null,{default:n((()=>[d("")])),_:1}),l(b,null,{default:n((()=>[d("")])),_:1})])),_:1})])),_:1})])),_:1})])),_:1},512)),[[g,_.show]])])),_:1})}],["__scopeId","data-v-8ac597d1"]])},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(){v("setSignValue",(t=>{let e=y("sign-fieldKey");this.fieldKey==e&&this.setValue(t)}))},onLoad(t){this.$nextTick((async()=>{await this.getSignData()}))},onUnload(){_("setSignValue")},watch:{modelValue:{handler(t){this.innerValue=t||""},deep:!0,immediate:!0}},methods:{showSignMode(){this.disabled||(this.signMode=!0)},handleCommand(t){1===t?S({url:"/pages/apply/interPage/signInvokeList?fieldKey="+this.fieldKey+"&signVal="+encodeURIComponent(this.modelValue)}):this.addSign()},addSign(){this.disabled||this.$nextTick((()=>{this.$refs.sign.showSignature()}))},setValue(t){t&&(this.innerValue=t,this.$emit("update:modelValue",t),this.$emit("change",t))},handlePreviewImage(t){b({urls:[t],current:t,success:()=>{},fail:()=>{x({title:"预览图片失败",icon:"none"})}})}}},[["render",function(t,e,h,m,w,v){const y=$,_=f,S=I(C("u-action-sheet"),j),b=V("Sign");return i(),s(_,{class:c(["jnpf-sign","right"==h.align?"flex-end":"flex-start"])},{default:n((()=>[l(_,{class:"jnpf-sign-box"},{default:n((()=>[h.showBtn?(i(),r(o,{key:0},[a(l(y,{class:"jnpf-sign-img",src:w.innerValue,mode:"scaleToFill",onClick:e[0]||(e[0]=k((t=>v.handlePreviewImage(w.innerValue)),["stop"]))},null,8,["src"]),[[g,w.innerValue]]),h.detailed||h.isInvoke?p("",!0):(i(),s(_,{key:0,class:"jnpf-sign-btn",onClick:e[1]||(e[1]=t=>v.addSign())},{default:n((()=>[T("i",{class:"icon-ym icon-ym-signature"}),w.innerValue?p("",!0):(i(),s(_,{key:0,class:"title"},{default:n((()=>[d(u(h.signTip),1)])),_:1}))])),_:1})),!h.detailed&&h.isInvoke?(i(),s(_,{key:1,class:"jnpf-sign-btn",onClick:e[2]||(e[2]=t=>v.showSignMode())},{default:n((()=>[T("i",{class:"icon-ym icon-ym-signature"}),w.innerValue?p("",!0):(i(),s(_,{key:0,class:"title"},{default:n((()=>[d(u(h.signTip),1)])),_:1}))])),_:1})):p("",!0)],64)):p("",!0),l(S,{list:w.signOptions,modelValue:w.signMode,"onUpdate:modelValue":e[3]||(e[3]=t=>w.signMode=t),onClick:v.handleCommand},null,8,["list","modelValue","onClick"]),l(b,{ref:"sign",onInput:v.setValue},null,8,["onInput"])])),_:1})])),_:1},8,["class"])}],["__scopeId","data-v-32082100"]]);export{N as _};
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
import{b8 as e,q as t,o as a,c as i,w as l,t as o,R as s,G as n,i as u}from"./index-q4e9g9yE.js";import{_ as d}from"./u-loading.lH2Hctim.js";import{r}from"./uni-app.es.xrkMgk95.js";import{_ as c}from"./_plugin-vue_export-helper.BCo6x5W8.js";const h=c({name:"u-switch",emits:["update:modelValue","input","change"],props:{value:{type:[Number,String,Boolean],default:!1},modelValue:{type:[Number,String,Boolean],default:!1},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},size:{type:[Number,String],default:50},activeColor:{type:String,default:"#2979ff"},inactiveColor:{type:String,default:"#ffffff"},vibrateShort:{type:Boolean,default:!1},activeValue:{type:[Number,String,Boolean],default:!0},inactiveValue:{type:[Number,String,Boolean],default:!1}},data:()=>({}),computed:{valueCom(){return this.modelValue},switchStyle(){let e={};return e.fontSize=this.size+"rpx",e.backgroundColor=this.valueCom?this.activeColor:this.inactiveColor,e},loadingColor(){return this.valueCom?this.activeColor:null}},methods:{onClick(){this.disabled||this.loading||(this.vibrateShort&&e(),this.$emit("input",!this.valueCom),this.$emit("update:modelValue",!this.valueCom),this.$nextTick((()=>{this.$emit("change",this.valueCom?this.activeValue:this.inactiveValue)})))}}},[["render",function(e,c,h,m,p,f){const v=r(t("u-loading"),d),g=u;return a(),i(g,{class:n(["u-switch",[1==f.valueCom?"u-switch--on":"",h.disabled?"u-switch--disabled":""]]),onClick:f.onClick,style:s([f.switchStyle])},{default:l((()=>[o(g,{class:"u-switch__node node-class",style:s({width:e.$u.addUnit(h.size),height:e.$u.addUnit(h.size)})},{default:l((()=>[o(v,{show:h.loading,class:"u-switch__loading",size:.6*h.size,color:f.loadingColor},null,8,["show","size","color"])])),_:1},8,["style"])])),_:1},8,["class","onClick","style"])}],["__scopeId","data-v-87400e0f"]]);const m=c({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)}}},[["render",function(e,s,n,d,c,m){const p=r(t("u-switch"),h),f=u;return a(),i(f,{class:"jnpf-switch"},{default:l((()=>[o(p,{modelValue:c.innerValue,"onUpdate:modelValue":s[0]||(s[0]=e=>c.innerValue=e),"active-value":n.activeValue,"inactive-value":n.inactiveValue,disabled:n.disabled,onChange:m.onChange,size:n.size},null,8,["modelValue","active-value","inactive-value","disabled","onChange","size"])])),_:1})}],["__scopeId","data-v-a6c5e7af"]]);export{m as _}; import{b2 as e,q as a,o as t,c as i,w as l,b as o,L as s,H as n,i as u}from"./index-Cp2JAVBI.js";import{_ as d}from"./u-loading.D6Q_Slgz.js";import{r}from"./uni-app.es._ktafJZk.js";import{_ as c}from"./_plugin-vue_export-helper.BCo6x5W8.js";const h=c({name:"u-switch",emits:["update:modelValue","input","change"],props:{value:{type:[Number,String,Boolean],default:!1},modelValue:{type:[Number,String,Boolean],default:!1},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},size:{type:[Number,String],default:50},activeColor:{type:String,default:"#2979ff"},inactiveColor:{type:String,default:"#ffffff"},vibrateShort:{type:Boolean,default:!1},activeValue:{type:[Number,String,Boolean],default:!0},inactiveValue:{type:[Number,String,Boolean],default:!1}},data:()=>({}),computed:{valueCom(){return this.modelValue},switchStyle(){let e={};return e.fontSize=this.size+"rpx",e.backgroundColor=this.valueCom?this.activeColor:this.inactiveColor,e},loadingColor(){return this.valueCom?this.activeColor:null}},methods:{onClick(){this.disabled||this.loading||(this.vibrateShort&&e(),this.$emit("input",!this.valueCom),this.$emit("update:modelValue",!this.valueCom),this.$nextTick((()=>{this.$emit("change",this.valueCom?this.activeValue:this.inactiveValue)})))}}},[["render",function(e,c,h,m,p,f){const v=r(a("u-loading"),d),g=u;return t(),i(g,{class:n(["u-switch",[1==f.valueCom?"u-switch--on":"",h.disabled?"u-switch--disabled":""]]),onClick:f.onClick,style:s([f.switchStyle])},{default:l((()=>[o(g,{class:"u-switch__node node-class",style:s({width:e.$u.addUnit(h.size),height:e.$u.addUnit(h.size)})},{default:l((()=>[o(v,{show:h.loading,class:"u-switch__loading",size:.6*h.size,color:f.loadingColor},null,8,["show","size","color"])])),_:1},8,["style"])])),_:1},8,["class","onClick","style"])}],["__scopeId","data-v-87400e0f"]]);const m=c({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)}}},[["render",function(e,s,n,d,c,m){const p=r(a("u-switch"),h),f=u;return t(),i(f,{class:"jnpf-switch"},{default:l((()=>[o(p,{modelValue:c.innerValue,"onUpdate:modelValue":s[0]||(s[0]=e=>c.innerValue=e),"active-value":n.activeValue,"inactive-value":n.inactiveValue,disabled:n.disabled,onChange:m.onChange,size:n.size},null,8,["modelValue","active-value","inactive-value","disabled","onChange","size"])])),_:1})}],["__scopeId","data-v-a6c5e7af"]]);export{m as _};
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
import{_ as e}from"./u-input.DYf86bZO.js";import{q as l,Q as t,o as a,c as s,w as i,A as o,t as u,i as n}from"./index-q4e9g9yE.js";import{r as p}from"./uni-app.es.xrkMgk95.js";import{M as r}from"./MultSelect.TVbPCNeO.js";import{_ as h}from"./_plugin-vue_export-helper.BCo6x5W8.js";const d=h({name:"jnpf-select",components:{MultSelect:r},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}}},[["render",function(r,h,d,m,f,c){const V=p(l("u-input"),e),b=t("MultSelect"),v=n;return a(),s(v,{class:"jnpf-select"},{default:i((()=>[d.isForm?(a(),s(V,{key:0,"input-align":"right",type:"select","select-open":f.showSelectModal,modelValue:f.innerValue,"onUpdate:modelValue":h[0]||(h[0]=e=>f.innerValue=e),placeholder:d.placeholder,onClick:c.openSelect},null,8,["select-open","modelValue","placeholder","onClick"])):o("",!0),u(b,{list:c.list,show:f.showSelectModal,"value-name":d.props.value,"label-name":d.props.label,defaultValue:f.defaultValue,onConfirm:c.selectConfirm,onClose:c.close,filterable:d.filterable,multiple:d.multiple,labelName:d.props.label,valueName:d.props.value},null,8,["list","show","value-name","label-name","defaultValue","onConfirm","onClose","filterable","multiple","labelName","valueName"])])),_:1})}],["__scopeId","data-v-8a738214"]]);export{d as _}; import{_ as e}from"./u-input.BVJGio2w.js";import{q as l,G as t,o as a,c as s,w as i,v as o,b as u,i as n}from"./index-Cp2JAVBI.js";import{r as p}from"./uni-app.es._ktafJZk.js";import{M as r}from"./MultSelect.CvYT2dQ1.js";import{_ as h}from"./_plugin-vue_export-helper.BCo6x5W8.js";const d=h({name:"jnpf-select",components:{MultSelect:r},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}}},[["render",function(r,h,d,m,f,c){const V=p(l("u-input"),e),b=t("MultSelect"),v=n;return a(),s(v,{class:"jnpf-select"},{default:i((()=>[d.isForm?(a(),s(V,{key:0,"input-align":"right",type:"select","select-open":f.showSelectModal,modelValue:f.innerValue,"onUpdate:modelValue":h[0]||(h[0]=e=>f.innerValue=e),placeholder:d.placeholder,onClick:c.openSelect},null,8,["select-open","modelValue","placeholder","onClick"])):o("",!0),u(b,{list:c.list,show:f.showSelectModal,"value-name":d.props.value,"label-name":d.props.label,defaultValue:f.defaultValue,onConfirm:c.selectConfirm,onClose:c.close,filterable:d.filterable,multiple:d.multiple,labelName:d.props.label,valueName:d.props.value},null,8,["list","show","value-name","label-name","defaultValue","onConfirm","onClose","filterable","multiple","labelName","valueName"])])),_:1})}],["__scopeId","data-v-8a738214"]]);export{d as _};
import{ar as t,aq as e,o as i,c as s,w as n,y as a,t as l,C as r,F as o,D as h,v as d,x as u,G as c,z as g,A as p,H as m,i as f,at as w,T as v,g as y,U as _,n as S,aU as b,e as C,q as x,Q as V,a0 as k,B as T,E as $}from"./index-q4e9g9yE.js";import{_ as j}from"./u-action-sheet.BGFPFmXO.js";import{r as I}from"./uni-app.es.xrkMgk95.js";import{_ as B}from"./_plugin-vue_export-helper.BCo6x5W8.js";let D="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";let M=function(t){var e,i,s,n,a,l,r,o="",h=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);h<t.length;)n=(e=t.charCodeAt(h++))>>2,a=(3&e)<<4|(i=t.charCodeAt(h++))>>4,l=(15&i)<<2|(s=t.charCodeAt(h++))>>6,r=63&s,isNaN(i)?l=r=64:isNaN(s)&&(r=64),o=o+D.charAt(n)+D.charAt(a)+D.charAt(l)+D.charAt(r);return o};const N=B({name:"jnpf-sign",components:{Sign:B({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 i=t(this.cid,this);this.cxt=i,this.ctrl={width:0,height:0,clear:()=>{this.lines=[],e().in(this).select("."+this.cid).boundingClientRect((t=>{t&&(i.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,"+M(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,n=90==Math.abs(-90)?e:i,a=e/2,l=i/2,r=Math.PI,o=Math.cos(-90*r/180),h=Math.sin(-90*r/180),d=(s-e)/2,u=(n-i)/2,c=function(t){{let e=(t.x-a)*o-(t.y-l)*h+a,i=(t.x-a)*h+(t.y-l)*o+l;return{x:e+d,y:i+u}}};return this.lines.map((e=>{if(e.points.length<2)return;let i=c(e.start),s=[`M ${i.x} ${Number(i.y)}`];e.points.map((t=>{let e=c(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="${n}">${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){}}},[["render",function(t,e,v,y,_,S){const b=m,C=f,x=w;return i(),s(C,{class:"signature-wrap"},{default:n((()=>[v.disabled?p("",!0):a((i(),s(C,{key:0,class:"signature-contain"},{default:n((()=>[l(C,{class:"signature-main",style:{"z-index":"3000"}},{default:n((()=>[l(C,null,{default:n((()=>[l(C,{class:"signature-title"},{default:n((()=>[(i(!0),r(o,null,h(S.titles,((t,e)=>(i(),s(b,{key:e},{default:n((()=>[d(u(t),1)])),_:2},1024)))),128))])),_:1})])),_:1}),l(x,{"disable-scroll":"true",class:c(["signature",_.cid]),"canvas-id":_.cid,onTouchstart:S.touchstart,onTouchmove:S.touchmove,onTouchend:S.touchend},{default:n((()=>[a(l(C,{class:"tip"},{default:n((()=>[d(" 请在此区域手写签名 ")])),_:1},512),[[g,!_.hasDrew]])])),_:1},8,["class","canvas-id","onTouchstart","onTouchmove","onTouchend"]),l(C,{class:"signature-btns"},{default:n((()=>[l(C,{class:"btn btn-cancel cu-btn bg-main margin-tb-sm text-white",onClick:e[0]||(e[0]=t=>S.cancelSignature())},{default:n((()=>[l(b,null,{default:n((()=>[d("")])),_:1}),l(b,null,{default:n((()=>[d("")])),_:1})])),_:1}),l(C,{class:"btn btn-clear cu-btn bg-main margin-tb-sm text-white",onClick:e[1]||(e[1]=t=>{S.clearSignature()})},{default:n((()=>[l(b,null,{default:n((()=>[d("")])),_:1}),l(b,null,{default:n((()=>[d("")])),_:1})])),_:1}),l(C,{class:"btn btn-ok cu-btn bg-main margin-tb-sm text-white",onClick:e[2]||(e[2]=t=>S.onOK())},{default:n((()=>[l(b,null,{default:n((()=>[d("")])),_:1}),l(b,null,{default:n((()=>[d("")])),_:1})])),_:1})])),_:1})])),_:1})])),_:1},512)),[[g,_.show]])])),_:1})}],["__scopeId","data-v-8ac597d1"]])},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(){v("setSignValue",(t=>{let e=y("sign-fieldKey");this.fieldKey==e&&this.setValue(t)}))},onLoad(t){this.$nextTick((async()=>{await this.getSignData()}))},onUnload(){_("setSignValue")},watch:{modelValue:{handler(t){this.innerValue=t||""},deep:!0,immediate:!0}},methods:{showSignMode(){this.disabled||(this.signMode=!0)},handleCommand(t){1===t?S({url:"/pages/apply/interPage/signInvokeList?fieldKey="+this.fieldKey+"&signVal="+encodeURIComponent(this.modelValue)}):this.addSign()},addSign(){this.disabled||this.$nextTick((()=>{this.$refs.sign.showSignature()}))},setValue(t){t&&(this.innerValue=t,this.$emit("update:modelValue",t),this.$emit("change",t))},handlePreviewImage(t){b({urls:[t],current:t,success:()=>{},fail:()=>{C({title:"预览图片失败",icon:"none"})}})}}},[["render",function(t,e,h,m,w,v){const y=$,_=f,S=I(x("u-action-sheet"),j),b=V("Sign");return i(),s(_,{class:c(["jnpf-sign","right"==h.align?"flex-end":"flex-start"])},{default:n((()=>[l(_,{class:"jnpf-sign-box"},{default:n((()=>[h.showBtn?(i(),r(o,{key:0},[a(l(y,{class:"jnpf-sign-img",src:w.innerValue,mode:"scaleToFill",onClick:e[0]||(e[0]=k((t=>v.handlePreviewImage(w.innerValue)),["stop"]))},null,8,["src"]),[[g,w.innerValue]]),h.detailed||h.isInvoke?p("",!0):(i(),s(_,{key:0,class:"jnpf-sign-btn",onClick:e[1]||(e[1]=t=>v.addSign())},{default:n((()=>[T("i",{class:"icon-ym icon-ym-signature"}),w.innerValue?p("",!0):(i(),s(_,{key:0,class:"title"},{default:n((()=>[d(u(h.signTip),1)])),_:1}))])),_:1})),!h.detailed&&h.isInvoke?(i(),s(_,{key:1,class:"jnpf-sign-btn",onClick:e[2]||(e[2]=t=>v.showSignMode())},{default:n((()=>[T("i",{class:"icon-ym icon-ym-signature"}),w.innerValue?p("",!0):(i(),s(_,{key:0,class:"title"},{default:n((()=>[d(u(h.signTip),1)])),_:1}))])),_:1})):p("",!0)],64)):p("",!0),l(S,{list:w.signOptions,modelValue:w.signMode,"onUpdate:modelValue":e[3]||(e[3]=t=>w.signMode=t),onClick:v.handleCommand},null,8,["list","modelValue","onClick"]),l(b,{ref:"sign",onInput:v.setValue},null,8,["onInput"])])),_:1})])),_:1},8,["class"])}],["__scopeId","data-v-32082100"]]);export{N as _};
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
import{O as a,aK as t,aL as e}from"./index-q4e9g9yE.js";const s={onShow(){this.setTabBarBadge()},methods:{setTabBarBadge(){const s=a().getBadgeNum||0;s?t({index:3,text:s>99?"99+":s.toString()}):e({index:3})}}};export{s as I}; import{D as a,aG as t,aH as e}from"./index-Cp2JAVBI.js";const s={onShow(){this.setTabBarBadge()},methods:{setTabBarBadge(){const s=a().getBadgeNum||0;s?t({index:3,text:s>99?"99+":s.toString()}):e({index:3})}}};export{s as I};
This diff is collapsed.
This diff is collapsed.
import{o as a,c as s,w as e,b as o,d as t,e as n,f as r,i as c}from"./index-Cp2JAVBI.js";import{r as l}from"./resources.DipqUmnN.js";import{_ as i}from"./_plugin-vue_export-helper.BCo6x5W8.js";const d=i({data:()=>({icon:l.message.nodata})},[["render",function(l,i,d,f,u,m){const p=n,_=r,x=c;return a(),s(x,{class:"notData-box u-flex-col"},{default:e((()=>[o(x,{class:"u-flex-col notData-inner"},{default:e((()=>[o(p,{src:u.icon,mode:"",class:"notData-inner-img"},null,8,["src"]),o(_,{class:"notData-inner-text"},{default:e((()=>[t("暂无数据")])),_:1})])),_:1})])),_:1})}],["__scopeId","data-v-31b109f7"]]);export{d as N};
import{o as a,c as s,w as t,t as o,v as e,E as n,H as r,i as c}from"./index-q4e9g9yE.js";import{r as l}from"./resources.DipqUmnN.js";import{_ as i}from"./_plugin-vue_export-helper.BCo6x5W8.js";const u=i({data:()=>({icon:l.message.nodata})},[["render",function(l,i,u,d,f,m){const _=n,p=r,x=c;return a(),s(x,{class:"notData-box u-flex-col"},{default:t((()=>[o(x,{class:"u-flex-col notData-inner"},{default:t((()=>[o(_,{src:f.icon,mode:"",class:"notData-inner-img"},null,8,["src"]),o(p,{class:"notData-inner-text"},{default:t((()=>[e("暂无数据")])),_:1})])),_:1})])),_:1})}],["__scopeId","data-v-31b109f7"]]);export{u as N};
import{a1 as t,c as e,w as r,i as s,o as a,t as o,N as l}from"./index-q4e9g9yE.js";import{_ as n}from"./_plugin-vue_export-helper.BCo6x5W8.js";const u=n({data:()=>({url:""}),onLoad(e){this.url=decodeURIComponent(e.url);const r=e.fullName||"";5!=e.type&&r&&t({title:r})}},[["render",function(t,n,u,c,d,i){const p=l,f=s;return a(),e(f,null,{default:r((()=>[o(p,{src:d.url},null,8,["src"])])),_:1})}]]);export{u as default};
import{Y as e,c as r,w as s,i as t,o,b as a,C as l}from"./index-Cp2JAVBI.js";import{_ as n}from"./_plugin-vue_export-helper.BCo6x5W8.js";const u=n({data:()=>({url:""}),onLoad(r){this.url=decodeURIComponent(r.url);const s=r.fullName||"";5!=r.type&&s&&e({title:s})}},[["render",function(e,n,u,c,d,i){const p=l,f=t;return o(),r(f,null,{default:s((()=>[a(p,{src:d.url},null,8,["src"])])),_:1})}]]);export{u as default};
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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