fix(lc-assets): 修正vue_export_helper脚本的错误出口点
之前,vue_export_helper脚本在非legacy环境中没有提供正确的出口点,导致构建过程失败。此修复引入了一个新的文件,为非legacy用例建立了一个正确的出口点,同时保持与现有架构的兼容性。
This commit is contained in:
parent
7d46d5f8d1
commit
ac5577fecc
|
@ -0,0 +1 @@
|
||||||
|
import{a as t}from"./hevue-img-preview-4a7ab001.js";import{o as a,c as o,ba as c,b8 as _,a as s}from"./@vue-b2c9e7bc.js";const n={name:"Page404",computed:{message(){return"The webmaster said that you can not enter this page..."}}},p=e=>(c("data-v-544e9625"),e=e(),_(),e),r={class:"wscn-http404-container"},d=p(()=>s("div",{class:"wscn-http404"},[s("div",{class:"bullshit"},[s("div",{class:"bullshit__oops"},"404! 找不到页面"),s("a",{href:"",class:"bullshit__return-home"},"回到首页")])],-1)),i=[d];function l(e,h,u,m,f,v){return a(),o("div",r,i)}const w=t(n,[["render",l],["__scopeId","data-v-544e9625"]]);export{w as default};
|
|
@ -1 +0,0 @@
|
||||||
import{_ as t}from"./_plugin-vue_export-helper-c27b6911.js";import{o as a,c as o,ax as c,ay as _,a as s}from"./@vue-5dd246aa.js";const n={name:"Page404",computed:{message(){return"The webmaster said that you can not enter this page..."}}},p=e=>(c("data-v-544e9625"),e=e(),_(),e),r={class:"wscn-http404-container"},d=p(()=>s("div",{class:"wscn-http404"},[s("div",{class:"bullshit"},[s("div",{class:"bullshit__oops"},"404! 找不到页面"),s("a",{href:"",class:"bullshit__return-home"},"回到首页")])],-1)),i=[d];function l(e,h,u,m,f,v){return a(),o("div",r,i)}const g=t(n,[["render",l],["__scopeId","data-v-544e9625"]]);export{g as default};
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
||||||
import{f,h as C,ag as a,o as h,S as k,T as e,a as y,d as l,X as d}from"./@vue-5dd246aa.js";const A={class:"dialog-footer"},N={__name:"Approve",props:{},emits:["update:modelValue","handleApprove"],setup(c,{emit:p}){const s=c,u=f(!1),o=f({status:"2"}),m=()=>{u.value=!1,o.value={status:"2"},p("update:modelValue",!1)},V=()=>{p("handleApprove",o.value),m()};return C(()=>s.modelValue,v=>{s.modelValue&&(u.value=s.modelValue)}),(v,t)=>{const b=a("el-input"),r=a("el-form-item"),_=a("el-radio"),g=a("el-radio-group"),w=a("el-form"),i=a("el-button"),x=a("el-dialog");return h(),k(x,{modelValue:u.value,"onUpdate:modelValue":t[2]||(t[2]=n=>u.value=n),title:"审批",width:"26%","before-close":m},{footer:e(()=>[y("span",A,[l(i,{onClick:m},{default:e(()=>[d("取消")]),_:1}),l(i,{type:"primary",onClick:V},{default:e(()=>[d(" 确认 ")]),_:1})])]),default:e(()=>[l(w,{model:o.value},{default:e(()=>[l(r,{label:"审批意见"},{default:e(()=>[l(b,{modelValue:o.value.auditOpinion,"onUpdate:modelValue":t[0]||(t[0]=n=>o.value.auditOpinion=n),rows:4,type:"textarea"},null,8,["modelValue"])]),_:1}),l(r,{label:"审批状态"},{default:e(()=>[l(g,{modelValue:o.value.status,"onUpdate:modelValue":t[1]||(t[1]=n=>o.value.status=n)},{default:e(()=>[l(_,{label:"2"},{default:e(()=>[d("同意")]),_:1}),l(_,{label:"3"},{default:e(()=>[d("拒绝")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"])}}};export{N as default};
|
import{f,h as C,ag as a,o as h,S as k,T as e,a as y,d as l,X as d}from"./@vue-b2c9e7bc.js";const A={class:"dialog-footer"},N={__name:"Approve",props:{},emits:["update:modelValue","handleApprove"],setup(c,{emit:p}){const s=c,u=f(!1),o=f({status:"2"}),m=()=>{u.value=!1,o.value={status:"2"},p("update:modelValue",!1)},V=()=>{p("handleApprove",o.value),m()};return C(()=>s.modelValue,v=>{s.modelValue&&(u.value=s.modelValue)}),(v,t)=>{const b=a("el-input"),r=a("el-form-item"),_=a("el-radio"),g=a("el-radio-group"),w=a("el-form"),i=a("el-button"),x=a("el-dialog");return h(),k(x,{modelValue:u.value,"onUpdate:modelValue":t[2]||(t[2]=n=>u.value=n),title:"审批",width:"26%","before-close":m},{footer:e(()=>[y("span",A,[l(i,{onClick:m},{default:e(()=>[d("取消")]),_:1}),l(i,{type:"primary",onClick:V},{default:e(()=>[d(" 确认 ")]),_:1})])]),default:e(()=>[l(w,{model:o.value},{default:e(()=>[l(r,{label:"审批意见"},{default:e(()=>[l(b,{modelValue:o.value.auditOpinion,"onUpdate:modelValue":t[0]||(t[0]=n=>o.value.auditOpinion=n),rows:4,type:"textarea"},null,8,["modelValue"])]),_:1}),l(r,{label:"审批状态"},{default:e(()=>[l(g,{modelValue:o.value.status,"onUpdate:modelValue":t[1]||(t[1]=n=>o.value.status=n)},{default:e(()=>[l(_,{label:"2"},{default:e(()=>[d("同意")]),_:1}),l(_,{label:"3"},{default:e(()=>[d("拒绝")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"])}}};export{N as default};
|
|
@ -1 +1 @@
|
||||||
System.register(["./@vue-legacy-4de3d5b5.js"],(function(e,l){"use strict";var a,u,t,o,d,n,r,s,m;return{setters:[e=>{a=e.f,u=e.h,t=e.ag,o=e.o,d=e.S,n=e.T,r=e.a,s=e.d,m=e.X}],execute:function(){const l={class:"dialog-footer"};e("default",{__name:"Approve",props:{},emits:["update:modelValue","handleApprove"],setup(e,{emit:i}){const p=e,f=a(!1),v=a({status:"2"}),V=()=>{f.value=!1,v.value={status:"2"},i("update:modelValue",!1)},c=()=>{i("handleApprove",v.value),V()};return u((()=>p.modelValue),(e=>{console.log(e,"newValue"),p.modelValue&&(f.value=p.modelValue)})),(e,a)=>{const u=t("el-input"),i=t("el-form-item"),p=t("el-radio"),_=t("el-radio-group"),g=t("el-form"),b=t("el-button"),y=t("el-dialog");return o(),d(y,{modelValue:f.value,"onUpdate:modelValue":a[2]||(a[2]=e=>f.value=e),title:"审批",width:"26%","before-close":V},{footer:n((()=>[r("span",l,[s(b,{onClick:V},{default:n((()=>[m("取消")])),_:1}),s(b,{type:"primary",onClick:c},{default:n((()=>[m(" 确认 ")])),_:1})])])),default:n((()=>[s(g,{model:v.value},{default:n((()=>[s(i,{label:"审批意见"},{default:n((()=>[s(u,{modelValue:v.value.auditOpinion,"onUpdate:modelValue":a[0]||(a[0]=e=>v.value.auditOpinion=e),rows:4,type:"textarea"},null,8,["modelValue"])])),_:1}),s(i,{label:"审批状态"},{default:n((()=>[s(_,{modelValue:v.value.status,"onUpdate:modelValue":a[1]||(a[1]=e=>v.value.status=e)},{default:n((()=>[s(p,{label:"2"},{default:n((()=>[m("同意")])),_:1}),s(p,{label:"3"},{default:n((()=>[m("拒绝")])),_:1})])),_:1},8,["modelValue"])])),_:1})])),_:1},8,["model"])])),_:1},8,["modelValue"])}}})}}}));
|
System.register(["./@vue-legacy-98edf7e4.js"],(function(e,l){"use strict";var a,u,t,o,d,n,r,s,m;return{setters:[e=>{a=e.f,u=e.h,t=e.ag,o=e.o,d=e.S,n=e.T,r=e.a,s=e.d,m=e.X}],execute:function(){const l={class:"dialog-footer"};e("default",{__name:"Approve",props:{},emits:["update:modelValue","handleApprove"],setup(e,{emit:i}){const p=e,f=a(!1),v=a({status:"2"}),V=()=>{f.value=!1,v.value={status:"2"},i("update:modelValue",!1)},c=()=>{i("handleApprove",v.value),V()};return u((()=>p.modelValue),(e=>{console.log(e,"newValue"),p.modelValue&&(f.value=p.modelValue)})),(e,a)=>{const u=t("el-input"),i=t("el-form-item"),p=t("el-radio"),_=t("el-radio-group"),g=t("el-form"),b=t("el-button"),y=t("el-dialog");return o(),d(y,{modelValue:f.value,"onUpdate:modelValue":a[2]||(a[2]=e=>f.value=e),title:"审批",width:"26%","before-close":V},{footer:n((()=>[r("span",l,[s(b,{onClick:V},{default:n((()=>[m("取消")])),_:1}),s(b,{type:"primary",onClick:c},{default:n((()=>[m(" 确认 ")])),_:1})])])),default:n((()=>[s(g,{model:v.value},{default:n((()=>[s(i,{label:"审批意见"},{default:n((()=>[s(u,{modelValue:v.value.auditOpinion,"onUpdate:modelValue":a[0]||(a[0]=e=>v.value.auditOpinion=e),rows:4,type:"textarea"},null,8,["modelValue"])])),_:1}),s(i,{label:"审批状态"},{default:n((()=>[s(_,{modelValue:v.value.status,"onUpdate:modelValue":a[1]||(a[1]=e=>v.value.status=e)},{default:n((()=>[s(p,{label:"2"},{default:n((()=>[m("同意")])),_:1}),s(p,{label:"3"},{default:n((()=>[m("拒绝")])),_:1})])),_:1},8,["modelValue"])])),_:1})])),_:1},8,["model"])])),_:1},8,["modelValue"])}}})}}}));
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -0,0 +1 @@
|
||||||
|
import{f as v,h as B,ag as n,o,c as p,d,T as r,a as l,U as L,Z as N,Y as y,F as D,a7 as R,a0 as U,S as b,X as V,W as u}from"./@vue-b2c9e7bc.js";import{h as k}from"./index-8c52d20c.js";import{a as E}from"./hevue-img-preview-4a7ab001.js";import{E as M}from"./element-plus-4b5d5603.js";import"./vue-router-3598b468.js";import"./tools-0351b48a.js";import"./pinia-fd2dfb87.js";import"./axios-46f5fd04.js";import"./form-data-d2a9677b.js";import"./js-cookie-40e39767.js";import"./mitt-f7ef348c.js";import"./lodash-es-b9271f86.js";import"./@vueuse-9c157bcb.js";import"./@element-plus-a1a6045a.js";import"./@popperjs-c75af06c.js";import"./@ctrl-1c80e935.js";import"./dayjs-83dd9e59.js";import"./@imengyu-76f76aa5.js";import"./vue-2bd35934.js";import"./async-validator-a1293421.js";import"./memoize-one-297ddbcb.js";import"./escape-html-1d60d822.js";import"./normalize-wheel-es-ed76fb12.js";import"./@floating-ui-f831ca66.js";const A={class:"notification-detail"},F=["innerHTML"],j={class:"notification-detail-files"},H=["onClick"],O={key:0,class:"notification-footer-btn"},$={__name:"DetailDialog",props:{dialogVisible:{type:Boolean},dialogData:{},pageType:{type:Object,default:{type:"tz",isShowRead:!1,isShowPerson:!1}}},emits:["update:dialogVisible","init"],setup(e,{emit:g}){const f=e,c=v(!1),T=a=>{k.downloadFile("/api/alteration/download",{params:{fileName:a.name,path:a.path},responseType:"blob"}).then(t=>{const m=window.URL.createObjectURL(t),s=document.createElement("a");s.download=a.name,s.href=m,s.click()})},C=()=>{const a=f.dialogData.id;k.get(`/api/notice/read?id=${a}`).then(t=>{t.code==200&&(M.success(t.message||"阅读成功"),g("update:dialogVisible",!1),c.value=!1,g("init"))})},h=v(!1),S=()=>{h.value=!0},x=a=>{g("update:dialogVisible",!1),a()};return B(()=>f.dialogVisible,()=>{f.dialogVisible&&(c.value=!0)},{immediate:!0}),(a,t)=>{const m=n("el-button"),s=n("el-dialog"),w=n("el-table-column"),P=n("el-table"),_=n("el-drawer");return o(),p(D,null,[d(s,{modelValue:c.value,"onUpdate:modelValue":t[0]||(t[0]=i=>c.value=i),title:"通知查看",width:"60%","before-close":x,top:"6vh"},{default:r(()=>[l("div",A,[L(l("div",{class:"notification-time"},y(e.dialogData.updatedAt),513),[[N,e.dialogData.updatedAt]]),l("h3",null,y(e.dialogData.title),1),l("div",{innerHTML:e.dialogData.content,class:"notification-detail-content"},null,8,F),l("div",j,[(o(!0),p(D,null,R(e.dialogData.files,(i,z)=>(o(),p("span",{class:"fileBox",key:z,onClick:U(I=>T(i),["stop"])},[l("span",null,y(i.name),1)],8,H))),128))]),e.pageType.type=="tz"?(o(),p("div",O,[e.pageType.isShowRead&&!e.dialogData.isRead?(o(),b(m,{key:0,type:"primary",size:"small",onClick:C},{default:r(()=>[V("已阅")]),_:1})):u("",!0),e.pageType.isShowPerson=="tzgl"||e.pageType.isShowPerson&&e.dialogData.isCreated?(o(),b(m,{key:1,onClick:S,type:"primary",size:"small"},{default:r(()=>[V("查看已读人员")]),_:1})):u("",!0)])):u("",!0)])]),_:1},8,["modelValue"]),e.pageType.isShowPerson=="tzgl"||e.pageType.isShowPerson&&e.dialogData.isCreated?(o(),b(_,{key:0,modelValue:h.value,"onUpdate:modelValue":t[1]||(t[1]=i=>h.value=i),title:"查看已读人员",class:"person-drawer"},{default:r(()=>[d(P,{data:e.dialogData.readUserList,stripe:"",border:"",style:{width:"100%"}},{default:r(()=>[d(w,{type:"index",width:"50"}),d(w,{prop:"userName",label:"已读人"}),d(w,{prop:"createdAt",label:"已读时间",width:"170"})]),_:1},8,["data"])]),_:1},8,["modelValue"])):u("",!0)],64)}}},fe=E($,[["__scopeId","data-v-e2764a32"]]);export{fe as default};
|
|
@ -1 +0,0 @@
|
||||||
import{f as v,h as B,ag as n,o,c as p,d,T as r,a as l,U as L,Z as N,Y as y,F as D,a7 as R,S as b,X as V,W as u,a0 as U}from"./@vue-5dd246aa.js";import{h as k}from"./index-3251f0fb.js";import{_ as E}from"./_plugin-vue_export-helper-c27b6911.js";import{E as M}from"./element-plus-a215fcb5.js";import"./jspdf-28a20e90.js";import"./@babel-5a4b8c9a.js";import"./fflate-8981c52c.js";import"./vue-router-ab2ba79f.js";import"./tools-0351b48a.js";import"./pinia-6e226388.js";import"./vue-demi-71ba0ef2.js";import"./axios-46f5fd04.js";import"./form-data-d2a9677b.js";import"./js-cookie-40e39767.js";import"./mitt-f7ef348c.js";import"./lodash-es-b9271f86.js";import"./@vueuse-77cc1d99.js";import"./@element-plus-ba666efa.js";import"./@popperjs-c75af06c.js";import"./@ctrl-1c80e935.js";import"./dayjs-88f1e3c5.js";import"./core-js-c6c47c20.js";import"./async-validator-a1293421.js";import"./memoize-one-297ddbcb.js";import"./escape-html-1d60d822.js";import"./normalize-wheel-es-ed76fb12.js";import"./@floating-ui-f831ca66.js";const A={class:"notification-detail"},F=["innerHTML"],j={class:"notification-detail-files"},H=["onClick"],O={key:0,class:"notification-footer-btn"},$={__name:"DetailDialog",props:{dialogVisible:{type:Boolean},dialogData:{},pageType:{type:Object,default:{type:"tz",isShowRead:!1,isShowPerson:!1}}},emits:["update:dialogVisible","init"],setup(e,{emit:g}){const f=e,c=v(!1),T=a=>{k.downloadFile("/api/alteration/download",{params:{fileName:a.name,path:a.path},responseType:"blob"}).then(t=>{const m=window.URL.createObjectURL(t),s=document.createElement("a");s.download=a.name,s.href=m,s.click()})},C=()=>{const a=f.dialogData.id;k.get(`/api/notice/read?id=${a}`).then(t=>{t.code==200&&(M.success(t.message||"阅读成功"),g("update:dialogVisible",!1),c.value=!1,g("init"))})},h=v(!1),S=()=>{h.value=!0},_=a=>{g("update:dialogVisible",!1),a()};return B(()=>f.dialogVisible,()=>{f.dialogVisible&&(c.value=!0)},{immediate:!0}),(a,t)=>{const m=n("el-button"),s=n("el-dialog"),w=n("el-table-column"),x=n("el-table"),P=n("el-drawer");return o(),p(D,null,[d(s,{modelValue:c.value,"onUpdate:modelValue":t[0]||(t[0]=i=>c.value=i),title:"通知查看",width:"60%","before-close":_,top:"6vh"},{default:r(()=>[l("div",A,[L(l("div",{class:"notification-time"},y(e.dialogData.updatedAt),513),[[N,e.dialogData.updatedAt]]),l("h3",null,y(e.dialogData.title),1),l("div",{innerHTML:e.dialogData.content,class:"notification-detail-content"},null,8,F),l("div",j,[(o(!0),p(D,null,R(e.dialogData.files,(i,z)=>(o(),p("span",{class:"fileBox",key:z,onClick:U(I=>T(i),["stop"])},[l("span",null,y(i.name),1)],8,H))),128))]),e.pageType.type=="tz"?(o(),p("div",O,[e.pageType.isShowRead&&!e.dialogData.isRead?(o(),b(m,{key:0,type:"primary",size:"small",onClick:C},{default:r(()=>[V("已阅")]),_:1})):u("",!0),e.pageType.isShowPerson=="tzgl"||e.pageType.isShowPerson&&e.dialogData.isCreated?(o(),b(m,{key:1,onClick:S,type:"primary",size:"small"},{default:r(()=>[V("查看已读人员")]),_:1})):u("",!0)])):u("",!0)])]),_:1},8,["modelValue"]),e.pageType.isShowPerson=="tzgl"||e.pageType.isShowPerson&&e.dialogData.isCreated?(o(),b(P,{key:0,modelValue:h.value,"onUpdate:modelValue":t[1]||(t[1]=i=>h.value=i),title:"查看已读人员",class:"person-drawer"},{default:r(()=>[d(x,{data:e.dialogData.readUserList,stripe:"",border:"",style:{width:"100%"}},{default:r(()=>[d(w,{type:"index",width:"50"}),d(w,{prop:"userName",label:"已读人"}),d(w,{prop:"createdAt",label:"已读时间",width:"170"})]),_:1},8,["data"])]),_:1},8,["modelValue"])):u("",!0)],64)}}},ye=E($,[["__scopeId","data-v-e2764a32"]]);export{ye as default};
|
|
|
@ -1 +0,0 @@
|
||||||
System.register(["./@vue-legacy-4de3d5b5.js","./index-legacy-fa26f41f.js","./_plugin-vue_export-helper-legacy-762b7923.js","./element-plus-legacy-efe0366d.js","./jspdf-legacy-62dde53b.js","./@babel-legacy-633f46ed.js","./fflate-legacy-e1443086.js","./vue-router-legacy-1e8e1d15.js","./tools-legacy-fa9cbc87.js","./pinia-legacy-13c50dcc.js","./vue-demi-legacy-97cfbb01.js","./axios-legacy-6abb032a.js","./form-data-legacy-f3fd8c46.js","./js-cookie-legacy-c7672909.js","./mitt-legacy-b7d2faf6.js","./lodash-es-legacy-19b348e6.js","./@vueuse-legacy-c8e81244.js","./@element-plus-legacy-bb874362.js","./@popperjs-legacy-16895e05.js","./@ctrl-legacy-79e027b8.js","./dayjs-legacy-b8c949e6.js","./core-js-legacy-b197ddf1.js","./async-validator-legacy-b9dd2ff7.js","./memoize-one-legacy-599ef04d.js","./escape-html-legacy-ae962a8c.js","./normalize-wheel-es-legacy-f7d8e481.js","./@floating-ui-legacy-212d790c.js"],(function(e,l){"use strict";var a,t,i,s,o,n,d,u,c,p,g,r,y,m,j,f,h,v,b,w;return{setters:[e=>{a=e.f,t=e.h,i=e.ag,s=e.o,o=e.c,n=e.d,d=e.T,u=e.a,c=e.U,p=e.Z,g=e.Y,r=e.F,y=e.a7,m=e.S,j=e.X,f=e.W,h=e.a0},e=>{v=e.h},e=>{b=e._},e=>{w=e.E},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){const l={class:"notification-detail"},D=["innerHTML"],V={class:"notification-detail-files"},_=["onClick"],k={key:0,class:"notification-footer-btn"},T={__name:"DetailDialog",props:{dialogVisible:{type:Boolean},dialogData:{},pageType:{type:Object,default:{type:"tz",isShowRead:!1,isShowPerson:!1}}},emits:["update:dialogVisible","init"],setup(e,{emit:b}){const T=e,z=a(!1),S=()=>{const e=T.dialogData.id;v.get(`/api/notice/read?id=${e}`).then((e=>{200==e.code&&(w.success(e.message||"阅读成功"),b("update:dialogVisible",!1),z.value=!1,b("init"))}))},x=a(!1),C=()=>{x.value=!0},U=e=>{b("update:dialogVisible",!1),e()};return t((()=>T.dialogVisible),(()=>{T.dialogVisible&&(z.value=!0)}),{immediate:!0}),(a,t)=>{const b=i("el-button"),w=i("el-dialog"),T=i("el-table-column"),L=i("el-table"),P=i("el-drawer");return s(),o(r,null,[n(w,{modelValue:z.value,"onUpdate:modelValue":t[0]||(t[0]=e=>z.value=e),title:"通知查看",width:"60%","before-close":U,top:"6vh"},{default:d((()=>[u("div",l,[c(u("div",{class:"notification-time"},g(e.dialogData.updatedAt),513),[[p,e.dialogData.updatedAt]]),u("h3",null,g(e.dialogData.title),1),u("div",{innerHTML:e.dialogData.content,class:"notification-detail-content"},null,8,D),u("div",V,[(s(!0),o(r,null,y(e.dialogData.files,((e,l)=>(s(),o("span",{class:"fileBox",key:l,onClick:h((l=>(e=>{v.downloadFile("/api/alteration/download",{params:{fileName:e.name,path:e.path},responseType:"blob"}).then((l=>{const a=window.URL.createObjectURL(l),t=document.createElement("a");t.download=e.name,t.href=a,t.click()}))})(e)),["stop"])},[u("span",null,g(e.name),1)],8,_)))),128))]),"tz"==e.pageType.type?(s(),o("div",k,[e.pageType.isShowRead&&!e.dialogData.isRead?(s(),m(b,{key:0,type:"primary",size:"small",onClick:S},{default:d((()=>[j("已阅")])),_:1})):f("",!0),"tzgl"==e.pageType.isShowPerson||e.pageType.isShowPerson&&e.dialogData.isCreated?(s(),m(b,{key:1,onClick:C,type:"primary",size:"small"},{default:d((()=>[j("查看已读人员")])),_:1})):f("",!0)])):f("",!0)])])),_:1},8,["modelValue"]),"tzgl"==e.pageType.isShowPerson||e.pageType.isShowPerson&&e.dialogData.isCreated?(s(),m(P,{key:0,modelValue:x.value,"onUpdate:modelValue":t[1]||(t[1]=e=>x.value=e),title:"查看已读人员",class:"person-drawer"},{default:d((()=>[n(L,{data:e.dialogData.readUserList,stripe:"",border:"",style:{width:"100%"}},{default:d((()=>[n(T,{type:"index",width:"50"}),n(T,{prop:"userName",label:"已读人"}),n(T,{prop:"createdAt",label:"已读时间",width:"170"})])),_:1},8,["data"])])),_:1},8,["modelValue"])):f("",!0)],64)}}};e("default",b(T,[["__scopeId","data-v-e2764a32"]]))}}}));
|
|
|
@ -0,0 +1 @@
|
||||||
|
System.register(["./@vue-legacy-98edf7e4.js","./index-legacy-20e9f451.js","./hevue-img-preview-legacy-7b0f5670.js","./element-plus-legacy-be489926.js","./vue-router-legacy-014c426a.js","./tools-legacy-fa9cbc87.js","./pinia-legacy-ae5252ec.js","./axios-legacy-6abb032a.js","./form-data-legacy-f3fd8c46.js","./js-cookie-legacy-c7672909.js","./mitt-legacy-b7d2faf6.js","./lodash-es-legacy-19b348e6.js","./@vueuse-legacy-485cb7fd.js","./@element-plus-legacy-fc466b21.js","./@popperjs-legacy-16895e05.js","./@ctrl-legacy-79e027b8.js","./dayjs-legacy-8181a174.js","./@imengyu-legacy-4fdfe515.js","./vue-legacy-74f9c847.js","./async-validator-legacy-b9dd2ff7.js","./memoize-one-legacy-599ef04d.js","./escape-html-legacy-ae962a8c.js","./normalize-wheel-es-legacy-f7d8e481.js","./@floating-ui-legacy-212d790c.js"],(function(e,l){"use strict";var a,t,i,s,o,n,d,u,c,g,p,r,y,m,j,h,f,v,w,b;return{setters:[e=>{a=e.f,t=e.h,i=e.ag,s=e.o,o=e.c,n=e.d,d=e.T,u=e.a,c=e.U,g=e.Z,p=e.Y,r=e.F,y=e.a7,m=e.a0,j=e.S,h=e.X,f=e.W},e=>{v=e.h},e=>{w=e.a},e=>{b=e.E},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){const l={class:"notification-detail"},D=["innerHTML"],V={class:"notification-detail-files"},k=["onClick"],T={key:0,class:"notification-footer-btn"},S={__name:"DetailDialog",props:{dialogVisible:{type:Boolean},dialogData:{},pageType:{type:Object,default:{type:"tz",isShowRead:!1,isShowPerson:!1}}},emits:["update:dialogVisible","init"],setup(e,{emit:w}){const S=e,_=a(!1),z=()=>{const e=S.dialogData.id;v.get(`/api/notice/read?id=${e}`).then((e=>{200==e.code&&(b.success(e.message||"阅读成功"),w("update:dialogVisible",!1),_.value=!1,w("init"))}))},C=a(!1),x=()=>{C.value=!0},L=e=>{w("update:dialogVisible",!1),e()};return t((()=>S.dialogVisible),(()=>{S.dialogVisible&&(_.value=!0)}),{immediate:!0}),(a,t)=>{const w=i("el-button"),b=i("el-dialog"),S=i("el-table-column"),U=i("el-table"),P=i("el-drawer");return s(),o(r,null,[n(b,{modelValue:_.value,"onUpdate:modelValue":t[0]||(t[0]=e=>_.value=e),title:"通知查看",width:"60%","before-close":L,top:"6vh"},{default:d((()=>[u("div",l,[c(u("div",{class:"notification-time"},p(e.dialogData.updatedAt),513),[[g,e.dialogData.updatedAt]]),u("h3",null,p(e.dialogData.title),1),u("div",{innerHTML:e.dialogData.content,class:"notification-detail-content"},null,8,D),u("div",V,[(s(!0),o(r,null,y(e.dialogData.files,((e,l)=>(s(),o("span",{class:"fileBox",key:l,onClick:m((l=>(e=>{v.downloadFile("/api/alteration/download",{params:{fileName:e.name,path:e.path},responseType:"blob"}).then((l=>{const a=window.URL.createObjectURL(l),t=document.createElement("a");t.download=e.name,t.href=a,t.click()}))})(e)),["stop"])},[u("span",null,p(e.name),1)],8,k)))),128))]),"tz"==e.pageType.type?(s(),o("div",T,[e.pageType.isShowRead&&!e.dialogData.isRead?(s(),j(w,{key:0,type:"primary",size:"small",onClick:z},{default:d((()=>[h("已阅")])),_:1})):f("",!0),"tzgl"==e.pageType.isShowPerson||e.pageType.isShowPerson&&e.dialogData.isCreated?(s(),j(w,{key:1,onClick:x,type:"primary",size:"small"},{default:d((()=>[h("查看已读人员")])),_:1})):f("",!0)])):f("",!0)])])),_:1},8,["modelValue"]),"tzgl"==e.pageType.isShowPerson||e.pageType.isShowPerson&&e.dialogData.isCreated?(s(),j(P,{key:0,modelValue:C.value,"onUpdate:modelValue":t[1]||(t[1]=e=>C.value=e),title:"查看已读人员",class:"person-drawer"},{default:d((()=>[n(U,{data:e.dialogData.readUserList,stripe:"",border:"",style:{width:"100%"}},{default:d((()=>[n(S,{type:"index",width:"50"}),n(S,{prop:"userName",label:"已读人"}),n(S,{prop:"createdAt",label:"已读时间",width:"170"})])),_:1},8,["data"])])),_:1},8,["modelValue"])):f("",!0)],64)}}};e("default",w(S,[["__scopeId","data-v-e2764a32"]]))}}}));
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -0,0 +1 @@
|
||||||
|
import T from"./Upload-8ca4c2bb.js";import{h as _}from"./index-8c52d20c.js";import{c as $}from"./lodash.clonedeep-7c3da1fa.js";import{a as I}from"./hevue-img-preview-4a7ab001.js";import{E as f}from"./element-plus-4b5d5603.js";import{l as v,f as p,a1 as J,k as M,ag as d,o as x,S as D,T as o,a as g,X as C,W as j,d as t,u as b,O as z}from"./@vue-b2c9e7bc.js";/* empty css */import"./vue-router-3598b468.js";import"./tools-0351b48a.js";import"./pinia-fd2dfb87.js";import"./axios-46f5fd04.js";import"./form-data-d2a9677b.js";import"./js-cookie-40e39767.js";import"./mitt-f7ef348c.js";import"./@imengyu-76f76aa5.js";import"./vue-2bd35934.js";import"./lodash-es-b9271f86.js";import"./@vueuse-9c157bcb.js";import"./@element-plus-a1a6045a.js";import"./@popperjs-c75af06c.js";import"./@ctrl-1c80e935.js";import"./dayjs-83dd9e59.js";import"./async-validator-a1293421.js";import"./memoize-one-297ddbcb.js";import"./escape-html-1d60d822.js";import"./normalize-wheel-es-ed76fb12.js";import"./@floating-ui-f831ca66.js";const E={class:"tab-content"},P={class:"dialog-footer"},W={__name:"DocumentDialog",emits:["init"],setup(X,{expose:U,emit:V}){const c=v(()=>!["create","edit"].includes(u.value));v(()=>u==="create"),v(()=>u==="edit");const k=p();let N={files:[],remarks:void 0,serialNumber:"",title:""};const l=p({...N}),F=J({title:[{required:!0,message:"请输入标题",trigger:"blur"}],serialNumber:[{required:!0,message:"请输入文号",trigger:"blur"}],files:[{required:!0,message:"请上传文件",trigger:"blur"}]}),r=p(!1),u=p(""),y=p(""),S=(i,e)=>{i==="create"?(r.value=!r.value,u.value="create",l.value=$(N)):(i==="edit"||i==="check")&&_.get("/api/document/detail",{id:e}).then(s=>{r.value=!r.value,l.value={files:JSON.parse(s.data.files),remarks:s.data.remarks,serialNumber:s.data.serialNumber,title:s.data.title},y.value=e,u.value=i})},q=async i=>{i&&await i.validate(async(e,s)=>{if(e){let m={...l.value,files:JSON.stringify(l.value.files)};if(u.value==="create"){let n=await _.post("/api/document/save",m);n.code==200?(f({message:"新增成功",type:"success"}),r.value=!1,V("init")):f.error(n.message)}else{let n=await _.put(`/api/document/edit?id=${y.value}`,m);n.code==200?(f({message:"修改成功",type:"success"}),r.value=!1,V("init")):f.error(n.message)}}})};return M(()=>{}),U({changeDialog:S}),(i,e)=>{const s=d("el-input"),m=d("el-form-item"),n=d("el-col"),B=d("el-row"),O=d("el-form"),w=d("el-button"),R=d("el-dialog");return x(),D(R,{modelValue:r.value,"onUpdate:modelValue":e[6]||(e[6]=a=>r.value=a),title:"文件管理",width:"60%"},{footer:o(()=>[g("span",P,[g("div",null,[u.value!="check"?(x(),D(w,{key:0,type:"primary",onClick:e[4]||(e[4]=a=>q(k.value))},{default:o(()=>[C("保存")]),_:1})):j("",!0),t(w,{onClick:e[5]||(e[5]=a=>r.value=!1)},{default:o(()=>[C("关闭")]),_:1})])])]),default:o(()=>[g("div",E,[t(O,{ref_key:"ruleFormRef",ref:k,model:l.value,rules:F,"label-width":"180px",disabled:b(c),class:z(b(c)?"el-form-diabled":"")},{default:o(()=>[t(B,null,{default:o(()=>[t(n,{span:24},{default:o(()=>[t(m,{label:"标题:",prop:"title"},{default:o(()=>[t(s,{modelValue:l.value.title,"onUpdate:modelValue":e[0]||(e[0]=a=>l.value.title=a)},null,8,["modelValue"])]),_:1}),t(m,{label:"文号:",prop:"serialNumber"},{default:o(()=>[t(s,{modelValue:l.value.serialNumber,"onUpdate:modelValue":e[1]||(e[1]=a=>l.value.serialNumber=a)},null,8,["modelValue"])]),_:1}),t(m,{label:"备注:",prop:"remarks"},{default:o(()=>[t(s,{modelValue:l.value.remarks,"onUpdate:modelValue":e[2]||(e[2]=a=>l.value.remarks=a)},null,8,["modelValue"])]),_:1}),t(m,{label:"相关附件:",class:"form-item-upload",prop:"files"},{default:o(()=>[t(T,{modelValue:l.value.files,"onUpdate:modelValue":e[3]||(e[3]=a=>l.value.files=a),disabled:b(c)},null,8,["modelValue","disabled"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules","disabled","class"])])]),_:1},8,["modelValue"])}}},be=I(W,[["__scopeId","data-v-d70ea42b"]]);export{be as default};
|
|
@ -1 +0,0 @@
|
||||||
import T from"./Upload-b138ef4e.js";import{h as _}from"./index-3251f0fb.js";import{c as $}from"./lodash.clonedeep-2f114c62.js";import{_ as I}from"./_plugin-vue_export-helper-c27b6911.js";import{E as f}from"./element-plus-a215fcb5.js";import{l as v,f as p,a1 as J,k as M,ag as d,o as x,S as D,T as o,a as g,X as C,W as j,d as t,u as b,O as z}from"./@vue-5dd246aa.js";/* empty css */import"./jspdf-28a20e90.js";import"./@babel-5a4b8c9a.js";import"./fflate-8981c52c.js";import"./vue-router-ab2ba79f.js";import"./tools-0351b48a.js";import"./pinia-6e226388.js";import"./vue-demi-71ba0ef2.js";import"./axios-46f5fd04.js";import"./form-data-d2a9677b.js";import"./lodash-es-b9271f86.js";import"./@vueuse-77cc1d99.js";import"./@element-plus-ba666efa.js";import"./@popperjs-c75af06c.js";import"./@ctrl-1c80e935.js";import"./dayjs-88f1e3c5.js";import"./core-js-c6c47c20.js";import"./async-validator-a1293421.js";import"./memoize-one-297ddbcb.js";import"./escape-html-1d60d822.js";import"./normalize-wheel-es-ed76fb12.js";import"./@floating-ui-f831ca66.js";import"./js-cookie-40e39767.js";import"./mitt-f7ef348c.js";const E={class:"tab-content"},P={class:"dialog-footer"},W={__name:"DocumentDialog",emits:["init"],setup(X,{expose:U,emit:V}){const c=v(()=>!["create","edit"].includes(u.value));v(()=>u==="create"),v(()=>u==="edit");const k=p();let N={files:[],remarks:void 0,serialNumber:"",title:""};const l=p({...N}),F=J({title:[{required:!0,message:"请输入标题",trigger:"blur"}],serialNumber:[{required:!0,message:"请输入文号",trigger:"blur"}],files:[{required:!0,message:"请上传文件",trigger:"blur"}]}),r=p(!1),u=p(""),y=p(""),S=(i,e)=>{i==="create"?(r.value=!r.value,u.value="create",l.value=$(N)):(i==="edit"||i==="check")&&_.get("/api/document/detail",{id:e}).then(s=>{r.value=!r.value,l.value={files:JSON.parse(s.data.files),remarks:s.data.remarks,serialNumber:s.data.serialNumber,title:s.data.title},y.value=e,u.value=i})},q=async i=>{i&&await i.validate(async(e,s)=>{if(e){let m={...l.value,files:JSON.stringify(l.value.files)};if(u.value==="create"){let n=await _.post("/api/document/save",m);n.code==200?(f({message:"新增成功",type:"success"}),r.value=!1,V("init")):f.error(n.message)}else{let n=await _.put(`/api/document/edit?id=${y.value}`,m);n.code==200?(f({message:"修改成功",type:"success"}),r.value=!1,V("init")):f.error(n.message)}}})};return M(()=>{}),U({changeDialog:S}),(i,e)=>{const s=d("el-input"),m=d("el-form-item"),n=d("el-col"),B=d("el-row"),O=d("el-form"),w=d("el-button"),R=d("el-dialog");return x(),D(R,{modelValue:r.value,"onUpdate:modelValue":e[6]||(e[6]=a=>r.value=a),title:"文件管理",width:"60%"},{footer:o(()=>[g("span",P,[g("div",null,[u.value!="check"?(x(),D(w,{key:0,type:"primary",onClick:e[4]||(e[4]=a=>q(k.value))},{default:o(()=>[C("保存")]),_:1})):j("",!0),t(w,{onClick:e[5]||(e[5]=a=>r.value=!1)},{default:o(()=>[C("关闭")]),_:1})])])]),default:o(()=>[g("div",E,[t(O,{ref_key:"ruleFormRef",ref:k,model:l.value,rules:F,"label-width":"180px",disabled:b(c),class:z(b(c)?"el-form-diabled":"")},{default:o(()=>[t(B,null,{default:o(()=>[t(n,{span:24},{default:o(()=>[t(m,{label:"标题:",prop:"title"},{default:o(()=>[t(s,{modelValue:l.value.title,"onUpdate:modelValue":e[0]||(e[0]=a=>l.value.title=a)},null,8,["modelValue"])]),_:1}),t(m,{label:"文号:",prop:"serialNumber"},{default:o(()=>[t(s,{modelValue:l.value.serialNumber,"onUpdate:modelValue":e[1]||(e[1]=a=>l.value.serialNumber=a)},null,8,["modelValue"])]),_:1}),t(m,{label:"备注:",prop:"remarks"},{default:o(()=>[t(s,{modelValue:l.value.remarks,"onUpdate:modelValue":e[2]||(e[2]=a=>l.value.remarks=a)},null,8,["modelValue"])]),_:1}),t(m,{label:"相关附件:",class:"form-item-upload",prop:"files"},{default:o(()=>[t(T,{modelValue:l.value.files,"onUpdate:modelValue":e[3]||(e[3]=a=>l.value.files=a),disabled:b(c)},null,8,["modelValue","disabled"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules","disabled","class"])])]),_:1},8,["modelValue"])}}},Ne=I(W,[["__scopeId","data-v-d70ea42b"]]);export{Ne as default};
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -0,0 +1 @@
|
||||||
|
import{h as v}from"./index-8c52d20c.js";import{c as g}from"./lodash.clonedeep-7c3da1fa.js";import{a as R}from"./hevue-img-preview-4a7ab001.js";import{f as r,h as I,k as L,ag as p,o as u,c as b,d as s,T as a,a as j,X as _,F as A,a7 as F,S as M,Y as q}from"./@vue-b2c9e7bc.js";import"./vue-router-3598b468.js";import"./tools-0351b48a.js";import"./pinia-fd2dfb87.js";import"./axios-46f5fd04.js";import"./form-data-d2a9677b.js";import"./element-plus-4b5d5603.js";import"./lodash-es-b9271f86.js";import"./@vueuse-9c157bcb.js";import"./@element-plus-a1a6045a.js";import"./@popperjs-c75af06c.js";import"./@ctrl-1c80e935.js";import"./dayjs-83dd9e59.js";import"./@imengyu-76f76aa5.js";import"./vue-2bd35934.js";import"./async-validator-a1293421.js";import"./memoize-one-297ddbcb.js";import"./escape-html-1d60d822.js";import"./normalize-wheel-es-ed76fb12.js";import"./@floating-ui-f831ca66.js";import"./js-cookie-40e39767.js";import"./mitt-f7ef348c.js";const z={class:"export"},G={class:"dialog-footer"},O={__name:"Export",props:{dialogVisible:[Boolean]},emits:["update:dialogVisible"],setup(k,{emit:x}){const C=k,d=r(!1),l=r([]),V=r({academy:"毕业院校",alterationSign:"变更标志",annualSalary:"年薪",birthday:"出生日期",companyName:"企业名称",contractModality:"合同形式",education:"学历",finalTrialRemark:"终审意见",firstTrialRemark:"初审意见",freshGraduate:"是否应届毕业生",gender:"性别",hireDate:"入职时间",hireType:"录用方式",jobTitle:"专业技术职称",nation:"民族",numberId:"身份证号",personnelCharacter:"人员性质",personnelType:"人员类型",politicsStatus:"政治面貌",position:"岗位职务",presentDept:"所在部门",qualification:"执业资格证书",receipts:"单据状态",recruitNumber:"人员招聘单号",remark:"备注",resignationTime:"离职时间",retirementTime:"退休时间",socialCreditCode:"统一社会信用代码",specialty:"专业",txfpEndTime:"退休返聘结束时间",txfpStartTime:"退休返聘开始时间",userName:"姓名",workState:"工作状态"}),c=r(),m=r(!1),n=r([]),f=()=>{d.value=!1,x("update:dialogVisible",!1),n.value=g(l.value),c.value=!1,m.value=!1},y=e=>{f(),e()},T=()=>{v.export("/api/person/export",{ids:n.value}).then(e=>{const t=window.URL.createObjectURL(e.data),i=document.createElement("a");i.download=decodeURIComponent(e.headers["content-disposition"].split(";")[1].split("=")[1]),i.href=t,i.click()})},w=e=>{n.value=e?l.value:[],m.value=!1},S=e=>{const t=e.length;c.value=t===l.value.length,m.value=t>0&&t<l.value.length};I(()=>C.dialogVisible,e=>{d.value=e,c.value=!0});const E=()=>{v.get("/api/person/getEntityParam").then(e=>{e.code===200&&(l.value=e.data,n.value=g(e.data))})};return L(()=>{E()}),(e,t)=>{const i=p("el-checkbox"),B=p("el-checkbox-group"),D=p("el-form"),h=p("el-button"),N=p("el-dialog");return u(),b("div",z,[s(N,{modelValue:d.value,"onUpdate:modelValue":t[2]||(t[2]=o=>d.value=o),title:"导出选项",width:"36%","before-close":y},{footer:a(()=>[j("span",G,[s(h,{onClick:T},{default:a(()=>[_("导出")]),_:1}),s(h,{onClick:f,type:"primary"},{default:a(()=>[_("关闭")]),_:1})])]),default:a(()=>[s(D,null,{default:a(()=>[s(i,{modelValue:c.value,"onUpdate:modelValue":t[0]||(t[0]=o=>c.value=o),label:"全选",class:"is-checked-all",size:"large",indeterminate:m.value,onChange:w},null,8,["modelValue","indeterminate"]),s(B,{modelValue:n.value,"onUpdate:modelValue":t[1]||(t[1]=o=>n.value=o),onChange:S},{default:a(()=>[(u(!0),b(A,null,F(l.value,(o,U)=>(u(),M(i,{class:"el-checkbox-width",label:o,key:U},{default:a(()=>[_(q(V.value[o]),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["modelValue"])])}}},fe=R(O,[["__scopeId","data-v-e0be88eb"]]);export{fe as default};
|
|
@ -1 +0,0 @@
|
||||||
import{h as v}from"./index-3251f0fb.js";import{c as g}from"./lodash.clonedeep-2f114c62.js";import{_ as R}from"./_plugin-vue_export-helper-c27b6911.js";import{f as r,h as I,k as L,ag as c,o as u,c as b,d as s,T as a,a as j,X as _,F as A,a7 as F,S as M,Y as q}from"./@vue-5dd246aa.js";import"./jspdf-28a20e90.js";import"./@babel-5a4b8c9a.js";import"./fflate-8981c52c.js";import"./vue-router-ab2ba79f.js";import"./tools-0351b48a.js";import"./pinia-6e226388.js";import"./vue-demi-71ba0ef2.js";import"./axios-46f5fd04.js";import"./form-data-d2a9677b.js";import"./element-plus-a215fcb5.js";import"./lodash-es-b9271f86.js";import"./@vueuse-77cc1d99.js";import"./@element-plus-ba666efa.js";import"./@popperjs-c75af06c.js";import"./@ctrl-1c80e935.js";import"./dayjs-88f1e3c5.js";import"./core-js-c6c47c20.js";import"./async-validator-a1293421.js";import"./memoize-one-297ddbcb.js";import"./escape-html-1d60d822.js";import"./normalize-wheel-es-ed76fb12.js";import"./@floating-ui-f831ca66.js";import"./js-cookie-40e39767.js";import"./mitt-f7ef348c.js";const z={class:"export"},G={class:"dialog-footer"},O={__name:"Export",props:{dialogVisible:[Boolean]},emits:["update:dialogVisible"],setup(k,{emit:x}){const C=k,d=r(!1),l=r([]),V=r({academy:"毕业院校",alterationSign:"变更标志",annualSalary:"年薪",birthday:"出生日期",companyName:"企业名称",contractModality:"合同形式",education:"学历",finalTrialRemark:"终审意见",firstTrialRemark:"初审意见",freshGraduate:"是否应届毕业生",gender:"性别",hireDate:"入职时间",hireType:"录用方式",jobTitle:"专业技术职称",nation:"民族",numberId:"身份证号",personnelCharacter:"人员性质",personnelType:"人员类型",politicsStatus:"政治面貌",position:"岗位职务",presentDept:"所在部门",qualification:"执业资格证书",receipts:"单据状态",recruitNumber:"人员招聘单号",remark:"备注",resignationTime:"离职时间",retirementTime:"退休时间",socialCreditCode:"统一社会信用代码",specialty:"专业",txfpEndTime:"退休返聘结束时间",txfpStartTime:"退休返聘开始时间",userName:"姓名",workState:"工作状态"}),p=r(),m=r(!1),n=r([]),f=()=>{d.value=!1,x("update:dialogVisible",!1),n.value=g(l.value),p.value=!1,m.value=!1},y=e=>{f(),e()},T=()=>{v.export("/api/person/export",{ids:n.value}).then(e=>{const t=window.URL.createObjectURL(e.data),i=document.createElement("a");i.download=decodeURIComponent(e.headers["content-disposition"].split(";")[1].split("=")[1]),i.href=t,i.click()})},w=e=>{n.value=e?l.value:[],m.value=!1},S=e=>{const t=e.length;p.value=t===l.value.length,m.value=t>0&&t<l.value.length};I(()=>C.dialogVisible,e=>{d.value=e,p.value=!0});const E=()=>{v.get("/api/person/getEntityParam").then(e=>{e.code===200&&(l.value=e.data,n.value=g(e.data))})};return L(()=>{E()}),(e,t)=>{const i=c("el-checkbox"),B=c("el-checkbox-group"),D=c("el-form"),h=c("el-button"),N=c("el-dialog");return u(),b("div",z,[s(N,{modelValue:d.value,"onUpdate:modelValue":t[2]||(t[2]=o=>d.value=o),title:"导出选项",width:"36%","before-close":y},{footer:a(()=>[j("span",G,[s(h,{onClick:T},{default:a(()=>[_("导出")]),_:1}),s(h,{onClick:f,type:"primary"},{default:a(()=>[_("关闭")]),_:1})])]),default:a(()=>[s(D,null,{default:a(()=>[s(i,{modelValue:p.value,"onUpdate:modelValue":t[0]||(t[0]=o=>p.value=o),label:"全选",class:"is-checked-all",size:"large",indeterminate:m.value,onChange:w},null,8,["modelValue","indeterminate"]),s(B,{modelValue:n.value,"onUpdate:modelValue":t[1]||(t[1]=o=>n.value=o),onChange:S},{default:a(()=>[(u(!0),b(A,null,F(l.value,(o,U)=>(u(),M(i,{class:"el-checkbox-width",label:o,key:U},{default:a(()=>[_(q(V.value[o]),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["modelValue"])])}}},ge=R(O,[["__scopeId","data-v-e0be88eb"]]);export{ge as default};
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
||||||
import{h as g}from"./index-3251f0fb.js";import{c as A}from"./lodash.clonedeep-2f114c62.js";/* empty css */import{_ as G}from"./_plugin-vue_export-helper-c27b6911.js";import{t as H}from"./tools-0351b48a.js";import{E as R}from"./element-plus-a215fcb5.js";import{l as k,f as i,a1 as J,k as K,ag as l,o as _,S as b,T as o,a as T,X as V,W as B,d as s,u,O as I,c as Q,a7 as Y,F as Z}from"./@vue-5dd246aa.js";import"./jspdf-28a20e90.js";import"./@babel-5a4b8c9a.js";import"./fflate-8981c52c.js";import"./vue-router-ab2ba79f.js";import"./pinia-6e226388.js";import"./vue-demi-71ba0ef2.js";import"./axios-46f5fd04.js";import"./form-data-d2a9677b.js";import"./js-cookie-40e39767.js";import"./mitt-f7ef348c.js";import"./core-js-c6c47c20.js";import"./lodash-es-b9271f86.js";import"./@vueuse-77cc1d99.js";import"./@element-plus-ba666efa.js";import"./@popperjs-c75af06c.js";import"./@ctrl-1c80e935.js";import"./dayjs-88f1e3c5.js";import"./async-validator-a1293421.js";import"./memoize-one-297ddbcb.js";import"./escape-html-1d60d822.js";import"./normalize-wheel-es-ed76fb12.js";import"./@floating-ui-f831ca66.js";const ee={class:"tab-content"},te={class:"dialog-footer"},oe={__name:"FoodDialog",emits:["init"],setup(ae,{expose:N,emit:U}){const q=H.data.get("user"),F=k(()=>!["create","edit","rk","ck"].includes(r.value));k(()=>r.value==="create");const v=k(()=>r.value==="ck"||r.value==="rk"),h=i();let w={deptId:void 0,foodTypeId:void 0,amount:0};const a=i({...w}),E=J({foodTypeId:[{required:!0,message:"请输入粮食类型",trigger:"blur"}],amount:[{required:!0,message:"请输入库存",trigger:"blur"}],deptId:[{required:!0,message:"请输入粮仓",trigger:"blur"}]}),d=i(!1),r=i(""),z=i(""),M=(t,e)=>{t==="create"?(d.value=!d.value,r.value="create",a.value=A(w)):(t==="rk"||t==="ck"||t==="check")&&g.get("/api/foodReserves/detail",{id:e}).then(p=>{d.value=!d.value,a.value={deptId:p.data.deptId,foodTypeId:p.data.foodTypeId,amount:t==="check"?p.data.amount:0},z.value=e,r.value=t})},P=async t=>{t&&await t.validate(async(e,p)=>{if(e){let m={...a.value},y={create:"add",rk:"warehousing",ck:"out_of_stock"};m.operationType=y[r.value];let f=await g.post("/api/foodReserves/operation",m);f.code==200?(R({message:f.message,type:"success"}),d.value=!1,U("init")):R.error(f.message)}})},x=i([]),S=()=>{g.get("/api/foodType/page",{size:999999,current:1}).then(t=>{t.code==200&&(x.value=t.data.records)})},D=i([]),$=()=>{g.get("/api/dept/tree").then(t=>{t.code==200&&(D.value=t.data.data)})};return K(()=>{S(),$()}),N({changeDialog:M}),(t,e)=>{const p=l("el-tree-select"),m=l("el-form-item"),y=l("el-option"),f=l("el-select"),j=l("el-input"),L=l("el-col"),O=l("el-row"),W=l("el-form"),C=l("el-button"),X=l("el-dialog");return _(),b(X,{modelValue:d.value,"onUpdate:modelValue":e[5]||(e[5]=c=>d.value=c),title:"粮食库存",width:"40%"},{footer:o(()=>[T("span",te,[T("div",null,[r.value!="check"?(_(),b(C,{key:0,type:"primary",onClick:e[3]||(e[3]=c=>P(h.value))},{default:o(()=>[V("保存")]),_:1})):B("",!0),s(C,{onClick:e[4]||(e[4]=c=>d.value=!1)},{default:o(()=>[V("关闭")]),_:1})])])]),default:o(()=>[T("div",ee,[s(W,{ref_key:"ruleFormRef",ref:h,model:a.value,rules:E,"label-width":"180px",disabled:u(F),class:I(u(F)?"el-form-diabled":"")},{default:o(()=>[s(O,null,{default:o(()=>[s(L,{span:24},{default:o(()=>{var c;return[((c=u(q))==null?void 0:c.permissions)=="all"?(_(),b(m,{key:0,label:"粮仓:",prop:"deptId",class:I(u(v)?"form-item-diabled":"")},{default:o(()=>[s(p,{modelValue:a.value.deptId,"onUpdate:modelValue":e[0]||(e[0]=n=>a.value.deptId=n),data:D.value,clearable:"","check-strictly":"",placeholder:"请选择","render-after-expand":!1,disabled:u(v)},null,8,["modelValue","data","disabled"])]),_:1},8,["class"])):B("",!0),s(m,{label:"粮食类型:",prop:"foodTypeId",class:I(u(v)?"form-item-diabled":"")},{default:o(()=>[s(f,{modelValue:a.value.foodTypeId,"onUpdate:modelValue":e[1]||(e[1]=n=>a.value.foodTypeId=n),placeholder:"请选择",disabled:u(v)},{default:o(()=>[(_(!0),Q(Z,null,Y(x.value,n=>(_(),b(y,{label:n.type,value:n.id},null,8,["label","value"]))),256))]),_:1},8,["modelValue","disabled"])]),_:1},8,["class"]),s(m,{label:r.value=="create"?"库存:":"变更库存:",prop:"amount"},{default:o(()=>[s(j,{modelValue:a.value.amount,"onUpdate:modelValue":e[2]||(e[2]=n=>a.value.amount=n),type:"number",oninput:"value=value.replace(/^0+(\\d)|[^\\d]+/g,'')",min:"0"},{append:o(()=>[V("公斤")]),_:1},8,["modelValue"])]),_:1},8,["label"])]}),_:1})]),_:1})]),_:1},8,["model","rules","disabled","class"])])]),_:1},8,["modelValue"])}}},Ue=G(oe,[["__scopeId","data-v-e226ed5b"]]);export{Ue as default};
|
|
|
@ -0,0 +1 @@
|
||||||
|
import{h as g}from"./index-8c52d20c.js";import{c as A}from"./lodash.clonedeep-7c3da1fa.js";/* empty css */import{a as G}from"./hevue-img-preview-4a7ab001.js";import{t as H}from"./tools-0351b48a.js";import{E as R}from"./element-plus-4b5d5603.js";import{l as k,f as u,a1 as J,k as K,ag as l,o as _,S as b,T as o,a as T,X as V,W as B,d as s,u as i,O as I,c as Q,a7 as Y,F as Z}from"./@vue-b2c9e7bc.js";import"./vue-router-3598b468.js";import"./pinia-fd2dfb87.js";import"./axios-46f5fd04.js";import"./form-data-d2a9677b.js";import"./js-cookie-40e39767.js";import"./mitt-f7ef348c.js";import"./@imengyu-76f76aa5.js";import"./vue-2bd35934.js";import"./lodash-es-b9271f86.js";import"./@vueuse-9c157bcb.js";import"./@element-plus-a1a6045a.js";import"./@popperjs-c75af06c.js";import"./@ctrl-1c80e935.js";import"./dayjs-83dd9e59.js";import"./async-validator-a1293421.js";import"./memoize-one-297ddbcb.js";import"./escape-html-1d60d822.js";import"./normalize-wheel-es-ed76fb12.js";import"./@floating-ui-f831ca66.js";const ee={class:"tab-content"},te={class:"dialog-footer"},oe={__name:"FoodDialog",emits:["init"],setup(ae,{expose:N,emit:U}){const q=H.data.get("user"),F=k(()=>!["create","edit","rk","ck"].includes(r.value));k(()=>r.value==="create");const v=k(()=>r.value==="ck"||r.value==="rk"),h=u();let w={deptId:void 0,foodTypeId:void 0,amount:0};const a=u({...w}),E=J({foodTypeId:[{required:!0,message:"请输入粮食类型",trigger:"blur"}],amount:[{required:!0,message:"请输入库存",trigger:"blur"}],deptId:[{required:!0,message:"请输入粮仓",trigger:"blur"}]}),d=u(!1),r=u(""),z=u(""),M=(t,e)=>{t==="create"?(d.value=!d.value,r.value="create",a.value=A(w)):(t==="rk"||t==="ck"||t==="check")&&g.get("/api/foodReserves/detail",{id:e}).then(p=>{d.value=!d.value,a.value={deptId:p.data.deptId,foodTypeId:p.data.foodTypeId,amount:t==="check"?p.data.amount:0},z.value=e,r.value=t})},P=async t=>{t&&await t.validate(async(e,p)=>{if(e){let m={...a.value},y={create:"add",rk:"warehousing",ck:"out_of_stock"};m.operationType=y[r.value];let f=await g.post("/api/foodReserves/operation",m);f.code==200?(R({message:f.message,type:"success"}),d.value=!1,U("init")):R.error(f.message)}})},x=u([]),S=()=>{g.get("/api/foodType/page",{size:999999,current:1}).then(t=>{t.code==200&&(x.value=t.data.records)})},D=u([]),$=()=>{g.get("/api/dept/tree").then(t=>{t.code==200&&(D.value=t.data.data)})};return K(()=>{S(),$()}),N({changeDialog:M}),(t,e)=>{const p=l("el-tree-select"),m=l("el-form-item"),y=l("el-option"),f=l("el-select"),j=l("el-input"),L=l("el-col"),O=l("el-row"),W=l("el-form"),C=l("el-button"),X=l("el-dialog");return _(),b(X,{modelValue:d.value,"onUpdate:modelValue":e[5]||(e[5]=c=>d.value=c),title:"粮食库存",width:"40%"},{footer:o(()=>[T("span",te,[T("div",null,[r.value!="check"?(_(),b(C,{key:0,type:"primary",onClick:e[3]||(e[3]=c=>P(h.value))},{default:o(()=>[V("保存")]),_:1})):B("",!0),s(C,{onClick:e[4]||(e[4]=c=>d.value=!1)},{default:o(()=>[V("关闭")]),_:1})])])]),default:o(()=>[T("div",ee,[s(W,{ref_key:"ruleFormRef",ref:h,model:a.value,rules:E,"label-width":"180px",disabled:i(F),class:I(i(F)?"el-form-diabled":"")},{default:o(()=>[s(O,null,{default:o(()=>[s(L,{span:24},{default:o(()=>{var c;return[((c=i(q))==null?void 0:c.permissions)=="all"?(_(),b(m,{key:0,label:"粮仓:",prop:"deptId",class:I(i(v)?"form-item-diabled":"")},{default:o(()=>[s(p,{modelValue:a.value.deptId,"onUpdate:modelValue":e[0]||(e[0]=n=>a.value.deptId=n),data:D.value,clearable:"","check-strictly":"",placeholder:"请选择","render-after-expand":!1,disabled:i(v)},null,8,["modelValue","data","disabled"])]),_:1},8,["class"])):B("",!0),s(m,{label:"粮食类型:",prop:"foodTypeId",class:I(i(v)?"form-item-diabled":"")},{default:o(()=>[s(f,{modelValue:a.value.foodTypeId,"onUpdate:modelValue":e[1]||(e[1]=n=>a.value.foodTypeId=n),placeholder:"请选择",disabled:i(v)},{default:o(()=>[(_(!0),Q(Z,null,Y(x.value,n=>(_(),b(y,{label:n.type,value:n.id},null,8,["label","value"]))),256))]),_:1},8,["modelValue","disabled"])]),_:1},8,["class"]),s(m,{label:r.value=="create"?"库存:":"变更库存:",prop:"amount"},{default:o(()=>[s(j,{modelValue:a.value.amount,"onUpdate:modelValue":e[2]||(e[2]=n=>a.value.amount=n),type:"number",oninput:"value=value.replace(/^0+(\\d)|[^\\d]+/g,'')",min:"0"},{append:o(()=>[V("公斤")]),_:1},8,["modelValue"])]),_:1},8,["label"])]}),_:1})]),_:1})]),_:1},8,["model","rules","disabled","class"])])]),_:1},8,["modelValue"])}}},Re=G(oe,[["__scopeId","data-v-e226ed5b"]]);export{Re as default};
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -0,0 +1 @@
|
||||||
|
import{h as f}from"./index-8c52d20c.js";import{c as M}from"./lodash.clonedeep-7c3da1fa.js";/* empty css */import{a as S}from"./hevue-img-preview-4a7ab001.js";import{E as c}from"./element-plus-4b5d5603.js";import{l as _,f as p,a1 as U,k as j,ag as r,o as T,S as x,T as l,a as v,X as F,W as q,d as n,u as C,O as z}from"./@vue-b2c9e7bc.js";import"./vue-router-3598b468.js";import"./tools-0351b48a.js";import"./pinia-fd2dfb87.js";import"./axios-46f5fd04.js";import"./form-data-d2a9677b.js";import"./js-cookie-40e39767.js";import"./mitt-f7ef348c.js";import"./@imengyu-76f76aa5.js";import"./vue-2bd35934.js";import"./lodash-es-b9271f86.js";import"./@vueuse-9c157bcb.js";import"./@element-plus-a1a6045a.js";import"./@popperjs-c75af06c.js";import"./@ctrl-1c80e935.js";import"./dayjs-83dd9e59.js";import"./async-validator-a1293421.js";import"./memoize-one-297ddbcb.js";import"./escape-html-1d60d822.js";import"./normalize-wheel-es-ed76fb12.js";import"./@floating-ui-f831ca66.js";const E={class:"tab-content"},O={class:"dialog-footer"},P={__name:"FoodTypeDialog",emits:["init"],setup(W,{expose:h,emit:g}){const y=_(()=>!["create","edit"].includes(a.value));_(()=>a.value==="create"),_(()=>a.value==="edit");const b=p();let V={type:""};const i=p({...V}),D=U({type:[{required:!0,message:"请输入粮食类型",trigger:"blur"}]}),t=p(!1),a=p(""),k=p(""),N=(o,e)=>{o==="create"?(t.value=!t.value,a.value="create",i.value=M(V)):(o==="edit"||o==="check")&&f.get("/api/foodType/detail",{id:e}).then(m=>{t.value=!t.value,i.value={type:m.data.type},k.value=e,a.value=o})},B=async o=>{o&&await o.validate(async(e,m)=>{if(e){let d={...i.value};if(a.value==="create"){let s=await f.post("/api/foodType/save",d);s.code==200?(c({message:"新增成功",type:"success"}),t.value=!1,g("init")):c.error(s.message)}else{let s=await f.put(`/api/foodType/edit?id=${k.value}`,d);s.code==200?(c({message:"修改成功",type:"success"}),t.value=!1,g("init")):c.error(s.message)}}})};return j(()=>{}),h({changeDialog:N}),(o,e)=>{const m=r("el-input"),d=r("el-form-item"),s=r("el-col"),R=r("el-row"),$=r("el-form"),w=r("el-button"),I=r("el-dialog");return T(),x(I,{modelValue:t.value,"onUpdate:modelValue":e[3]||(e[3]=u=>t.value=u),title:"粮食类型",width:"40%"},{footer:l(()=>[v("span",O,[v("div",null,[a.value!="check"?(T(),x(w,{key:0,type:"primary",onClick:e[1]||(e[1]=u=>B(b.value))},{default:l(()=>[F("保存")]),_:1})):q("",!0),n(w,{onClick:e[2]||(e[2]=u=>t.value=!1)},{default:l(()=>[F("关闭")]),_:1})])])]),default:l(()=>[v("div",E,[n($,{ref_key:"ruleFormRef",ref:b,model:i.value,rules:D,"label-width":"180px",disabled:C(y),class:z(C(y)?"el-form-diabled":"")},{default:l(()=>[n(R,null,{default:l(()=>[n(s,{span:24},{default:l(()=>[n(d,{label:"粮食类型:",prop:"type"},{default:l(()=>[n(m,{modelValue:i.value.type,"onUpdate:modelValue":e[0]||(e[0]=u=>i.value.type=u)},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules","disabled","class"])])]),_:1},8,["modelValue"])}}},ve=S(P,[["__scopeId","data-v-82a014d8"]]);export{ve as default};
|
|
@ -1 +0,0 @@
|
||||||
import{h as f}from"./index-3251f0fb.js";import{c as M}from"./lodash.clonedeep-2f114c62.js";/* empty css */import{_ as S}from"./_plugin-vue_export-helper-c27b6911.js";import{E as c}from"./element-plus-a215fcb5.js";import{l as _,f as p,a1 as U,k as j,ag as s,o as T,S as x,T as l,a as v,X as F,W as q,d as n,u as C,O as z}from"./@vue-5dd246aa.js";import"./jspdf-28a20e90.js";import"./@babel-5a4b8c9a.js";import"./fflate-8981c52c.js";import"./vue-router-ab2ba79f.js";import"./tools-0351b48a.js";import"./pinia-6e226388.js";import"./vue-demi-71ba0ef2.js";import"./axios-46f5fd04.js";import"./form-data-d2a9677b.js";import"./js-cookie-40e39767.js";import"./mitt-f7ef348c.js";import"./core-js-c6c47c20.js";import"./lodash-es-b9271f86.js";import"./@vueuse-77cc1d99.js";import"./@element-plus-ba666efa.js";import"./@popperjs-c75af06c.js";import"./@ctrl-1c80e935.js";import"./dayjs-88f1e3c5.js";import"./async-validator-a1293421.js";import"./memoize-one-297ddbcb.js";import"./escape-html-1d60d822.js";import"./normalize-wheel-es-ed76fb12.js";import"./@floating-ui-f831ca66.js";const E={class:"tab-content"},O={class:"dialog-footer"},P={__name:"FoodTypeDialog",emits:["init"],setup(W,{expose:h,emit:g}){const y=_(()=>!["create","edit"].includes(a.value));_(()=>a.value==="create"),_(()=>a.value==="edit");const b=p();let V={type:""};const i=p({...V}),D=U({type:[{required:!0,message:"请输入粮食类型",trigger:"blur"}]}),t=p(!1),a=p(""),k=p(""),N=(o,e)=>{o==="create"?(t.value=!t.value,a.value="create",i.value=M(V)):(o==="edit"||o==="check")&&f.get("/api/foodType/detail",{id:e}).then(m=>{t.value=!t.value,i.value={type:m.data.type},k.value=e,a.value=o})},B=async o=>{o&&await o.validate(async(e,m)=>{if(e){let d={...i.value};if(a.value==="create"){let r=await f.post("/api/foodType/save",d);r.code==200?(c({message:"新增成功",type:"success"}),t.value=!1,g("init")):c.error(r.message)}else{let r=await f.put(`/api/foodType/edit?id=${k.value}`,d);r.code==200?(c({message:"修改成功",type:"success"}),t.value=!1,g("init")):c.error(r.message)}}})};return j(()=>{}),h({changeDialog:N}),(o,e)=>{const m=s("el-input"),d=s("el-form-item"),r=s("el-col"),R=s("el-row"),$=s("el-form"),w=s("el-button"),I=s("el-dialog");return T(),x(I,{modelValue:t.value,"onUpdate:modelValue":e[3]||(e[3]=u=>t.value=u),title:"粮食类型",width:"40%"},{footer:l(()=>[v("span",O,[v("div",null,[a.value!="check"?(T(),x(w,{key:0,type:"primary",onClick:e[1]||(e[1]=u=>B(b.value))},{default:l(()=>[F("保存")]),_:1})):q("",!0),n(w,{onClick:e[2]||(e[2]=u=>t.value=!1)},{default:l(()=>[F("关闭")]),_:1})])])]),default:l(()=>[v("div",E,[n($,{ref_key:"ruleFormRef",ref:b,model:i.value,rules:D,"label-width":"180px",disabled:C(y),class:z(C(y)?"el-form-diabled":"")},{default:l(()=>[n(R,null,{default:l(()=>[n(r,{span:24},{default:l(()=>[n(d,{label:"粮食类型:",prop:"type"},{default:l(()=>[n(m,{modelValue:i.value.type,"onUpdate:modelValue":e[0]||(e[0]=u=>i.value.type=u)},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules","disabled","class"])])]),_:1},8,["modelValue"])}}},be=S(P,[["__scopeId","data-v-82a014d8"]]);export{be as default};
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
||||||
import{f as v,h as y,ag as u,o,S as V,T as s,d as t,a as b,Y as r,P as g,c as d,W as N}from"./@vue-5dd246aa.js";const h={key:0,style:{color:"#67c23a"}},R={key:1,style:{color:"#f56c6c"}},k={key:2,style:{color:"#909399"}},x={__name:"ListDialog",props:{ReportLogData:{type:Array,default:()=>[]},modelValue:{}},emits:["update:modelValue"],setup(c,{emit:_}){const n=c,l=v(!1),p=()=>{l.value=!1,_("update:modelValue",!1)};return y(()=>n.modelValue,i=>{n.modelValue&&(l.value=n.modelValue)}),(i,m)=>{const a=u("el-table-column"),w=u("el-table"),f=u("el-drawer");return o(),V(f,{modelValue:l.value,"onUpdate:modelValue":m[0]||(m[0]=e=>l.value=e),title:"决策列表","before-close":p,class:"report-drawer"},{default:s(()=>[t(w,{data:c.ReportLogData,stripe:"",border:"",style:{width:"100%"}},{default:s(()=>[t(a,{type:"index",width:"50"}),t(a,{prop:"userName",label:"参会人员姓名"}),t(a,{prop:"voteTime",label:"决策时间",width:"170"}),t(a,{label:"是否决策"},{default:s(e=>[b("span",{style:g({color:e.row.voteStatus?"#67c23a":"#f56c6c"})},r(e.row.voteStatus?"是":"否"),5)]),_:1}),t(a,{label:"决策状态"},{default:s(e=>[e.row.voteResultName=="赞同"?(o(),d("span",h,r(e.row.voteResultName),1)):e.row.voteResultName=="反对"?(o(),d("span",R,r(e.row.voteResultName),1)):e.row.voteResultName=="弃权"?(o(),d("span",k,r(e.row.voteResultName),1)):N("",!0)]),_:1}),t(a,{prop:"voteSuggest",label:"建议"})]),_:1},8,["data"])]),_:1},8,["modelValue"])}}};export{x as default};
|
import{f as v,h as y,ag as u,o,S as V,T as s,d as t,a as b,Y as r,P as g,c as d,W as N}from"./@vue-b2c9e7bc.js";const h={key:0,style:{color:"#67c23a"}},R={key:1,style:{color:"#f56c6c"}},k={key:2,style:{color:"#909399"}},x={__name:"ListDialog",props:{ReportLogData:{type:Array,default:()=>[]},modelValue:{}},emits:["update:modelValue"],setup(c,{emit:_}){const n=c,l=v(!1),p=()=>{l.value=!1,_("update:modelValue",!1)};return y(()=>n.modelValue,i=>{n.modelValue&&(l.value=n.modelValue)}),(i,m)=>{const a=u("el-table-column"),w=u("el-table"),f=u("el-drawer");return o(),V(f,{modelValue:l.value,"onUpdate:modelValue":m[0]||(m[0]=e=>l.value=e),title:"决策列表","before-close":p,class:"report-drawer"},{default:s(()=>[t(w,{data:c.ReportLogData,stripe:"",border:"",style:{width:"100%"}},{default:s(()=>[t(a,{type:"index",width:"50"}),t(a,{prop:"userName",label:"参会人员姓名"}),t(a,{prop:"voteTime",label:"决策时间",width:"170"}),t(a,{label:"是否决策"},{default:s(e=>[b("span",{style:g({color:e.row.voteStatus?"#67c23a":"#f56c6c"})},r(e.row.voteStatus?"是":"否"),5)]),_:1}),t(a,{label:"决策状态"},{default:s(e=>[e.row.voteResultName=="赞同"?(o(),d("span",h,r(e.row.voteResultName),1)):e.row.voteResultName=="反对"?(o(),d("span",R,r(e.row.voteResultName),1)):e.row.voteResultName=="弃权"?(o(),d("span",k,r(e.row.voteResultName),1)):N("",!0)]),_:1}),t(a,{prop:"voteSuggest",label:"建议"})]),_:1},8,["data"])]),_:1},8,["modelValue"])}}};export{x as default};
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1 @@
|
||||||
|
import{h as y}from"./index-8c52d20c.js";import"./lodash.clonedeep-7c3da1fa.js";/* empty css */import{a as b}from"./hevue-img-preview-4a7ab001.js";import{a as k}from"./vue-router-3598b468.js";import{f as S,k as x,ag as _,o as s,c as u,S as h,W as L,F as w,a7 as B,T as t,d as i,a as e,Y as r,ba as I,b8 as q}from"./@vue-b2c9e7bc.js";import"./tools-0351b48a.js";import"./pinia-fd2dfb87.js";import"./axios-46f5fd04.js";import"./form-data-d2a9677b.js";import"./element-plus-4b5d5603.js";import"./lodash-es-b9271f86.js";import"./@vueuse-9c157bcb.js";import"./@element-plus-a1a6045a.js";import"./@popperjs-c75af06c.js";import"./@ctrl-1c80e935.js";import"./dayjs-83dd9e59.js";import"./@imengyu-76f76aa5.js";import"./vue-2bd35934.js";import"./async-validator-a1293421.js";import"./memoize-one-297ddbcb.js";import"./escape-html-1d60d822.js";import"./normalize-wheel-es-ed76fb12.js";import"./@floating-ui-f831ca66.js";import"./js-cookie-40e39767.js";import"./mitt-f7ef348c.js";const p=o=>(I("data-v-706b4881"),o=o(),q(),o),C={class:"tab-content"},N={class:"item-container"},T=p(()=>e("div",null,"处理人:",-1)),V={class:"item-container"},D=p(()=>e("div",null,"处理时间:",-1)),F={class:"item-container"},$=p(()=>e("div",null,"处理状态:",-1)),A={class:"item-container"},E=p(()=>e("div",null,"处理意见:",-1)),M={__name:"Log",setup(o){const d=k(),c=S([]),v=()=>{let m={edit:"personnel",change:"change",approve:"personnel",approve_change:"change",check:"personnel",check_change:"change"};y.get(`/api/alteration/audtiLog?id=${d.query.id}&personnelType=${m[d.query.type]}`).then(l=>{l.code===200&&(c.value=l.data)})};return x(()=>{v()}),(m,l)=>{const g=_("el-empty"),n=_("el-col"),f=_("el-row");return s(),u("div",C,[c.value.length===0?(s(),h(g,{key:0,description:"暂无"})):L("",!0),(s(!0),u(w,null,B(c.value,a=>(s(),h(f,null,{default:t(()=>[i(n,{span:8},{default:t(()=>[e("div",N,[T,e("div",null,r(a.approver),1)])]),_:2},1024),i(n,{span:8},{default:t(()=>[e("div",V,[D,e("div",null,r(a.createdAt),1)])]),_:2},1024),i(n,{span:8},{default:t(()=>[e("div",F,[$,e("div",null,r(a.auditState),1)])]),_:2},1024),i(n,{span:24},{default:t(()=>[e("div",A,[E,e("div",null,r(a.opinion),1)])]),_:2},1024)]),_:2},1024))),256))])}}},_e=b(M,[["__scopeId","data-v-706b4881"]]);export{_e as default};
|
|
@ -1 +0,0 @@
|
||||||
import{h as y}from"./index-3251f0fb.js";import"./lodash.clonedeep-2f114c62.js";/* empty css */import{_ as k}from"./_plugin-vue_export-helper-c27b6911.js";import{a as x}from"./vue-router-ab2ba79f.js";import{f as S,k as b,ag as _,o as s,c as u,S as h,W as L,F as w,a7 as B,T as e,d as i,a as t,Y as r,ax as I,ay as q}from"./@vue-5dd246aa.js";import"./jspdf-28a20e90.js";import"./@babel-5a4b8c9a.js";import"./fflate-8981c52c.js";import"./tools-0351b48a.js";import"./pinia-6e226388.js";import"./vue-demi-71ba0ef2.js";import"./axios-46f5fd04.js";import"./form-data-d2a9677b.js";import"./element-plus-a215fcb5.js";import"./lodash-es-b9271f86.js";import"./@vueuse-77cc1d99.js";import"./@element-plus-ba666efa.js";import"./@popperjs-c75af06c.js";import"./@ctrl-1c80e935.js";import"./dayjs-88f1e3c5.js";import"./core-js-c6c47c20.js";import"./async-validator-a1293421.js";import"./memoize-one-297ddbcb.js";import"./escape-html-1d60d822.js";import"./normalize-wheel-es-ed76fb12.js";import"./@floating-ui-f831ca66.js";import"./js-cookie-40e39767.js";import"./mitt-f7ef348c.js";const p=o=>(I("data-v-706b4881"),o=o(),q(),o),C={class:"tab-content"},N={class:"item-container"},T=p(()=>t("div",null,"处理人:",-1)),V={class:"item-container"},D=p(()=>t("div",null,"处理时间:",-1)),F={class:"item-container"},$=p(()=>t("div",null,"处理状态:",-1)),A={class:"item-container"},E=p(()=>t("div",null,"处理意见:",-1)),M={__name:"Log",setup(o){const d=x(),c=S([]),v=()=>{let m={edit:"personnel",change:"change",approve:"personnel",approve_change:"change",check:"personnel",check_change:"change"};y.get(`/api/alteration/audtiLog?id=${d.query.id}&personnelType=${m[d.query.type]}`).then(l=>{l.code===200&&(c.value=l.data)})};return b(()=>{v()}),(m,l)=>{const g=_("el-empty"),n=_("el-col"),f=_("el-row");return s(),u("div",C,[c.value.length===0?(s(),h(g,{key:0,description:"暂无"})):L("",!0),(s(!0),u(w,null,B(c.value,a=>(s(),h(f,null,{default:e(()=>[i(n,{span:8},{default:e(()=>[t("div",N,[T,t("div",null,r(a.approver),1)])]),_:2},1024),i(n,{span:8},{default:e(()=>[t("div",V,[D,t("div",null,r(a.createdAt),1)])]),_:2},1024),i(n,{span:8},{default:e(()=>[t("div",F,[$,t("div",null,r(a.auditState),1)])]),_:2},1024),i(n,{span:24},{default:e(()=>[t("div",A,[E,t("div",null,r(a.opinion),1)])]),_:2},1024)]),_:2},1024))),256))])}}},ut=k(M,[["__scopeId","data-v-706b4881"]]);export{ut as default};
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -0,0 +1 @@
|
||||||
|
import{_ as R}from"./TableBody-814242b2.js";import{h as i}from"./index-8c52d20c.js";import{u as B}from"./vue-router-3598b468.js";import C from"./FoodDialog-baae9fcd.js";import{t as H}from"./tools-0351b48a.js";import{E as u}from"./element-plus-4b5d5603.js";import{f as r,a1 as N,k as P,ag as V,o as g,c as L,d as f,T as O,u as S,S as A,W as E,Q as K}from"./@vue-b2c9e7bc.js";import"./hevue-img-preview-4a7ab001.js";import"./@element-plus-a1a6045a.js";import"./pinia-fd2dfb87.js";import"./axios-46f5fd04.js";import"./form-data-d2a9677b.js";import"./js-cookie-40e39767.js";import"./mitt-f7ef348c.js";import"./lodash.clonedeep-7c3da1fa.js";import"./@imengyu-76f76aa5.js";import"./vue-2bd35934.js";/* empty css */import"./lodash-es-b9271f86.js";import"./@vueuse-9c157bcb.js";import"./@popperjs-c75af06c.js";import"./@ctrl-1c80e935.js";import"./dayjs-83dd9e59.js";import"./async-validator-a1293421.js";import"./memoize-one-297ddbcb.js";import"./escape-html-1d60d822.js";import"./normalize-wheel-es-ed76fb12.js";import"./@floating-ui-f831ca66.js";const z={class:"example"},he={__name:"Manage",setup(M){const c=H.data.get("user");B();const s=r(),b=r(),t=N({tableType:{selection:!1,tableLoading:!1,tableIndex:!1,changeHeight:312},tableHeader:[{buttons:[{type:"custom",name:"create",title:"新增",icon:"Plus",isOpen:"custom",disabled:!1,permission:"gxcc:lskcgl:create"},{type:"custom",name:"customCK",title:"出库",icon:"Upload",isOpen:"single",permission:"gxcc:lskcgl:ck"},{type:"custom",name:"customRK",title:"入库",icon:"Download",isOpen:"single",permission:"gxcc:lskcgl:rk"},{type:"custom",name:"check",title:"查看",icon:"View",isOpen:"single",permission:"gxcc:lskcgl:check"},{type:"popconfirm",name:"customDelete",title:"删除",icon:"Delete",isOpen:"single",permission:"gxcc:lskcgl:delete"}]},{buttons:[{name:"sort",options:[{label:"创建时间",value:"createdAt"},{label:"更新时间",value:"updatedAt"}]},"search"]}],tableList:[{name:"deptName",label:"粮仓",show:!0},{name:"foodTypeName",label:"粮食类型",show:!0},{name:"amount",label:"库存(公斤)",show:!0},{name:"createdName",label:"创建人",show:!0},{name:"createdAt",label:"创建时间",show:!0},{name:"updatedName",label:"更新人",show:!0},{name:"updatedAt",label:"更新时间",show:!0}],tableData:[],pagination:{pageSize:10,current:1,total:0}}),h={current:t.pagination.current,size:t.pagination.pageSize,deptId:void 0,column:void 0,orderBy:void 0,value:void 0},o=r({...h}),l=()=>{t.tableType.tableLoading=!0,i.get("/api/foodReserves/page",o.value).then(e=>{e.code==200&&(t.tableData=e.data.records,t.tableType.tableLoading=!1,t.pagination.total=e.data.total)}).catch(()=>{t.tableType.tableLoading=!1})},k=({type:e,data:a})=>{switch(e){case"create":w();break;case"check":v(a);break;case"customCK":d(a,"ck");break;case"customRK":d(a,"rk");break;case"sort":D(a);break;case"search":_(a);break;case"customDelete":T(a);break}},y=e=>{t.pagination.current=e,o.value.current=e,l()},v=e=>{const a=e[0].id;s.value.changeDialog("check",a)},T=e=>{let a={deptId:c.permissions=="all"?e[0].deptId:void 0,foodTypeId:e[0].foodTypeId,operationType:"delete",amount:0};i.post("/api/foodReserves/operation",a).then(n=>{n.code==200?(u({message:"删除成功",type:"success"}),l()):u({message:n.message,type:"error"})})},_=e=>{o.value.value=e.value,l()},D=e=>{e.name===""?(o.value.orderBy=void 0,o.value.column=void 0):(o.value.orderBy=e.sortType,o.value.column=e.name),l()},w=()=>{s.value.changeDialog("create")},d=(e,a)=>{const n=e[0].id;s.value.changeDialog(a,n)};P(()=>{l(),x()});const m=r([]),x=()=>{i.get("/api/dept/tree").then(e=>{e.code==200&&(m.value=e.data.data)})};return(e,a)=>{const n=V("el-tree-select");return g(),L("div",z,[f(R,K(t,{onHandleTableHeader:k,onHandleTablePagination:y,ref_key:"TableBodyRef",ref:b}),{TableHeaderRight:O(({selectData:q})=>{var p;return[((p=S(c))==null?void 0:p.permissions)=="all"?(g(),A(n,{key:0,style:{width:"220px"},modelValue:o.value.deptId,"onUpdate:modelValue":a[0]||(a[0]=I=>o.value.deptId=I),data:m.value,clearable:"","check-strictly":"",placeholder:"请选择粮仓","render-after-expand":!1,class:"status-select",onChange:l},null,8,["modelValue","data"])):E("",!0)]}),_:1},16),f(C,{ref_key:"formDialog",ref:s,onInit:l},null,512)])}}};export{he as default};
|
|
@ -1 +0,0 @@
|
||||||
import{_ as R}from"./TableBody-302df2d4.js";import{h as i}from"./index-3251f0fb.js";import{u as B}from"./vue-router-ab2ba79f.js";import C from"./FoodDialog-a1c4ed8b.js";import{t as H}from"./tools-0351b48a.js";import{E as u}from"./element-plus-a215fcb5.js";import{f as r,a1 as N,k as P,ag as V,o as g,c as L,d as f,T as O,u as S,S as A,W as E,Q as K}from"./@vue-5dd246aa.js";import"./_plugin-vue_export-helper-c27b6911.js";import"./@element-plus-ba666efa.js";import"./jspdf-28a20e90.js";import"./@babel-5a4b8c9a.js";import"./fflate-8981c52c.js";import"./pinia-6e226388.js";import"./vue-demi-71ba0ef2.js";import"./axios-46f5fd04.js";import"./form-data-d2a9677b.js";import"./js-cookie-40e39767.js";import"./mitt-f7ef348c.js";import"./lodash.clonedeep-2f114c62.js";import"./core-js-c6c47c20.js";/* empty css */import"./lodash-es-b9271f86.js";import"./@vueuse-77cc1d99.js";import"./@popperjs-c75af06c.js";import"./@ctrl-1c80e935.js";import"./dayjs-88f1e3c5.js";import"./async-validator-a1293421.js";import"./memoize-one-297ddbcb.js";import"./escape-html-1d60d822.js";import"./normalize-wheel-es-ed76fb12.js";import"./@floating-ui-f831ca66.js";const z={class:"example"},ve={__name:"Manage",setup(M){const c=H.data.get("user");B();const s=r(),b=r(),a=N({tableType:{selection:!1,tableLoading:!1,tableIndex:!1,changeHeight:312},tableHeader:[{buttons:[{type:"custom",name:"create",title:"新增",icon:"Plus",isOpen:"custom",disabled:!1,permission:"gxcc:lskcgl:create"},{type:"custom",name:"customCK",title:"出库",icon:"Upload",isOpen:"single",permission:"gxcc:lskcgl:ck"},{type:"custom",name:"customRK",title:"入库",icon:"Download",isOpen:"single",permission:"gxcc:lskcgl:rk"},{type:"custom",name:"check",title:"查看",icon:"View",isOpen:"single",permission:"gxcc:lskcgl:check"},{type:"popconfirm",name:"customDelete",title:"删除",icon:"Delete",isOpen:"single",permission:"gxcc:lskcgl:delete"}]},{buttons:[{name:"sort",options:[{label:"创建时间",value:"createdAt"},{label:"更新时间",value:"updatedAt"}]},"search"]}],tableList:[{name:"deptName",label:"粮仓",show:!0},{name:"foodTypeName",label:"粮食类型",show:!0},{name:"amount",label:"库存(公斤)",show:!0},{name:"createdName",label:"创建人",show:!0},{name:"createdAt",label:"创建时间",show:!0},{name:"updatedName",label:"更新人",show:!0},{name:"updatedAt",label:"更新时间",show:!0}],tableData:[],pagination:{pageSize:10,current:1,total:0}}),h={current:a.pagination.current,size:a.pagination.pageSize,deptId:void 0,column:void 0,orderBy:void 0,value:void 0},o=r({...h}),l=()=>{a.tableType.tableLoading=!0,i.get("/api/foodReserves/page",o.value).then(e=>{e.code==200&&(a.tableData=e.data.records,a.tableType.tableLoading=!1,a.pagination.total=e.data.total)}).catch(()=>{a.tableType.tableLoading=!1})},k=({type:e,data:t})=>{switch(e){case"create":w();break;case"check":v(t);break;case"customCK":m(t,"ck");break;case"customRK":m(t,"rk");break;case"sort":D(t);break;case"search":_(t);break;case"customDelete":T(t);break}},y=e=>{a.pagination.current=e,o.value.current=e,l()},v=e=>{const t=e[0].id;s.value.changeDialog("check",t)},T=e=>{let t={deptId:c.permissions=="all"?e[0].deptId:void 0,foodTypeId:e[0].foodTypeId,operationType:"delete",amount:0};i.post("/api/foodReserves/operation",t).then(n=>{n.code==200?(u({message:"删除成功",type:"success"}),l()):u({message:n.message,type:"error"})})},_=e=>{o.value.value=e.value,l()},D=e=>{e.name===""?(o.value.orderBy=void 0,o.value.column=void 0):(o.value.orderBy=e.sortType,o.value.column=e.name),l()},w=()=>{s.value.changeDialog("create")},m=(e,t)=>{const n=e[0].id;s.value.changeDialog(t,n)};P(()=>{l(),x()});const p=r([]),x=()=>{i.get("/api/dept/tree").then(e=>{e.code==200&&(p.value=e.data.data)})};return(e,t)=>{const n=V("el-tree-select");return g(),L("div",z,[f(R,K(a,{onHandleTableHeader:k,onHandleTablePagination:y,ref_key:"TableBodyRef",ref:b}),{TableHeaderRight:O(({selectData:q})=>{var d;return[((d=S(c))==null?void 0:d.permissions)=="all"?(g(),A(n,{key:0,style:{width:"220px"},modelValue:o.value.deptId,"onUpdate:modelValue":t[0]||(t[0]=I=>o.value.deptId=I),data:p.value,clearable:"","check-strictly":"",placeholder:"请选择粮仓","render-after-expand":!1,class:"status-select",onChange:l},null,8,["modelValue","data"])):E("",!0)]}),_:1},16),f(C,{ref_key:"formDialog",ref:s,onInit:l},null,512)])}}};export{ve as default};
|
|
|
@ -0,0 +1 @@
|
||||||
|
System.register(["./TableBody-legacy-eafa0254.js","./index-legacy-20e9f451.js","./vue-router-legacy-014c426a.js","./FoodDialog-legacy-fde6e3a3.js","./tools-legacy-fa9cbc87.js","./element-plus-legacy-be489926.js","./@vue-legacy-98edf7e4.js","./hevue-img-preview-legacy-7b0f5670.js","./@element-plus-legacy-fc466b21.js","./pinia-legacy-ae5252ec.js","./axios-legacy-6abb032a.js","./form-data-legacy-f3fd8c46.js","./js-cookie-legacy-c7672909.js","./mitt-legacy-b7d2faf6.js","./lodash.clonedeep-legacy-7f67fce1.js","./@imengyu-legacy-4fdfe515.js","./vue-legacy-74f9c847.js","./Upload.vue_vue_type_style_index_0_scoped_3e0822f6_lang-legacy-689b99a2.js","./lodash-es-legacy-19b348e6.js","./@vueuse-legacy-485cb7fd.js","./@popperjs-legacy-16895e05.js","./@ctrl-legacy-79e027b8.js","./dayjs-legacy-8181a174.js","./async-validator-legacy-b9dd2ff7.js","./memoize-one-legacy-599ef04d.js","./escape-html-legacy-ae962a8c.js","./normalize-wheel-es-legacy-f7d8e481.js","./@floating-ui-legacy-212d790c.js"],(function(e,a){"use strict";var l,t,s,o,n,c,i,u,d,r,g,p,m,y,v,b,h,j;return{setters:[e=>{l=e._},e=>{t=e.h},e=>{s=e.u},e=>{o=e.default},e=>{n=e.t},e=>{c=e.E},e=>{i=e.f,u=e.a1,d=e.k,r=e.ag,g=e.o,p=e.c,m=e.d,y=e.T,v=e.u,b=e.S,h=e.W,j=e.Q},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){const a={class:"example"};e("default",{__name:"Manage",setup(e){const k=n.data.get("user");s();const f=i(),T=i(),w=u({tableType:{selection:!1,tableLoading:!1,tableIndex:!1,changeHeight:312},tableHeader:[{buttons:[{type:"custom",name:"create",title:"新增",icon:"Plus",isOpen:"custom",disabled:!1,permission:"gxcc:lskcgl:create"},{type:"custom",name:"customCK",title:"出库",icon:"Upload",isOpen:"single",permission:"gxcc:lskcgl:ck"},{type:"custom",name:"customRK",title:"入库",icon:"Download",isOpen:"single",permission:"gxcc:lskcgl:rk"},{type:"custom",name:"check",title:"查看",icon:"View",isOpen:"single",permission:"gxcc:lskcgl:check"},{type:"popconfirm",name:"customDelete",title:"删除",icon:"Delete",isOpen:"single",permission:"gxcc:lskcgl:delete"}]},{buttons:[{name:"sort",options:[{label:"创建时间",value:"createdAt"},{label:"更新时间",value:"updatedAt"}]},"search"]}],tableList:[{name:"deptName",label:"粮仓",show:!0},{name:"foodTypeName",label:"粮食类型",show:!0},{name:"amount",label:"库存(公斤)",show:!0},{name:"createdName",label:"创建人",show:!0},{name:"createdAt",label:"创建时间",show:!0},{name:"updatedName",label:"更新人",show:!0},{name:"updatedAt",label:"更新时间",show:!0}],tableData:[],pagination:{pageSize:10,current:1,total:0}}),x={current:w.pagination.current,size:w.pagination.pageSize,deptId:void 0,column:void 0,orderBy:void 0,value:void 0},_=i({...x}),D=()=>{w.tableType.tableLoading=!0,t.get("/api/foodReserves/page",_.value).then((e=>{200==e.code&&(w.tableData=e.data.records,w.tableType.tableLoading=!1,w.pagination.total=e.data.total)})).catch((()=>{w.tableType.tableLoading=!1}))},I=({type:e,data:a})=>{switch(e){case"create":A();break;case"check":L(a);break;case"customCK":B(a,"ck");break;case"customRK":B(a,"rk");break;case"sort":z(a);break;case"search":R(a);break;case"customDelete":O(a)}},H=e=>{console.log(e),w.pagination.current=e,_.value.current=e,D()},L=e=>{const a=e[0].id;f.value.changeDialog("check",a)},O=e=>{let a={deptId:"all"==k.permissions?e[0].deptId:void 0,foodTypeId:e[0].foodTypeId,operationType:"delete",amount:0};t.post("/api/foodReserves/operation",a).then((e=>{200==e.code?(c({message:"删除成功",type:"success"}),D()):c({message:e.message,type:"error"})}))},R=e=>{console.log(e.value),_.value.value=e.value,D()},z=e=>{""===e.name?(_.value.orderBy=void 0,_.value.column=void 0):(_.value.orderBy=e.sortType,_.value.column=e.name),D()},A=()=>{f.value.changeDialog("create")},B=(e,a)=>{const l=e[0].id;f.value.changeDialog(a,l)};d((()=>{D(),K()}));const C=i([]),K=()=>{t.get("/api/dept/tree").then((e=>{200==e.code&&(C.value=e.data.data)}))};return(e,t)=>{const s=r("el-tree-select");return g(),p("div",a,[m(l,j(w,{onHandleTableHeader:I,onHandleTablePagination:H,ref_key:"TableBodyRef",ref:T}),{TableHeaderRight:y((({selectData:e})=>["all"==v(k)?.permissions?(g(),b(s,{key:0,style:{width:"220px"},modelValue:_.value.deptId,"onUpdate:modelValue":t[0]||(t[0]=e=>_.value.deptId=e),data:C.value,clearable:"","check-strictly":"",placeholder:"请选择粮仓","render-after-expand":!1,class:"status-select",onChange:D},null,8,["modelValue","data"])):h("",!0)])),_:1},16),m(o,{ref_key:"formDialog",ref:f,onInit:D},null,512)])}}})}}}));
|
|
@ -1 +0,0 @@
|
||||||
System.register(["./TableBody-legacy-0d3d26cd.js","./index-legacy-fa26f41f.js","./vue-router-legacy-1e8e1d15.js","./FoodDialog-legacy-a391d091.js","./tools-legacy-fa9cbc87.js","./element-plus-legacy-efe0366d.js","./@vue-legacy-4de3d5b5.js","./_plugin-vue_export-helper-legacy-762b7923.js","./@element-plus-legacy-bb874362.js","./jspdf-legacy-62dde53b.js","./@babel-legacy-633f46ed.js","./fflate-legacy-e1443086.js","./pinia-legacy-13c50dcc.js","./vue-demi-legacy-97cfbb01.js","./axios-legacy-6abb032a.js","./form-data-legacy-f3fd8c46.js","./js-cookie-legacy-c7672909.js","./mitt-legacy-b7d2faf6.js","./lodash.clonedeep-legacy-81abd881.js","./core-js-legacy-b197ddf1.js","./Upload.vue_vue_type_style_index_0_scoped_f028b45f_lang-legacy-64ab9a15.js","./lodash-es-legacy-19b348e6.js","./@vueuse-legacy-c8e81244.js","./@popperjs-legacy-16895e05.js","./@ctrl-legacy-79e027b8.js","./dayjs-legacy-b8c949e6.js","./async-validator-legacy-b9dd2ff7.js","./memoize-one-legacy-599ef04d.js","./escape-html-legacy-ae962a8c.js","./normalize-wheel-es-legacy-f7d8e481.js","./@floating-ui-legacy-212d790c.js"],(function(e,a){"use strict";var l,t,s,n,o,c,u,i,d,r,g,p,m,y,b,v,j,h;return{setters:[e=>{l=e._},e=>{t=e.h},e=>{s=e.u},e=>{n=e.default},e=>{o=e.t},e=>{c=e.E},e=>{u=e.f,i=e.a1,d=e.k,r=e.ag,g=e.o,p=e.c,m=e.d,y=e.T,b=e.u,v=e.S,j=e.W,h=e.Q},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){const a={class:"example"};e("default",{__name:"Manage",setup(e){const f=o.data.get("user");s();const k=u(),_=u(),x=i({tableType:{selection:!1,tableLoading:!1,tableIndex:!1,changeHeight:312},tableHeader:[{buttons:[{type:"custom",name:"create",title:"新增",icon:"Plus",isOpen:"custom",disabled:!1,permission:"gxcc:lskcgl:create"},{type:"custom",name:"customCK",title:"出库",icon:"Upload",isOpen:"single",permission:"gxcc:lskcgl:ck"},{type:"custom",name:"customRK",title:"入库",icon:"Download",isOpen:"single",permission:"gxcc:lskcgl:rk"},{type:"custom",name:"check",title:"查看",icon:"View",isOpen:"single",permission:"gxcc:lskcgl:check"},{type:"popconfirm",name:"customDelete",title:"删除",icon:"Delete",isOpen:"single",permission:"gxcc:lskcgl:delete"}]},{buttons:[{name:"sort",options:[{label:"创建时间",value:"createdAt"},{label:"更新时间",value:"updatedAt"}]},"search"]}],tableList:[{name:"deptName",label:"粮仓",show:!0},{name:"foodTypeName",label:"粮食类型",show:!0},{name:"amount",label:"库存(公斤)",show:!0},{name:"createdName",label:"创建人",show:!0},{name:"createdAt",label:"创建时间",show:!0},{name:"updatedName",label:"更新人",show:!0},{name:"updatedAt",label:"更新时间",show:!0}],tableData:[],pagination:{pageSize:10,current:1,total:0}}),T={current:x.pagination.current,size:x.pagination.pageSize,deptId:void 0,column:void 0,orderBy:void 0,value:void 0},D=u({...T}),w=()=>{x.tableType.tableLoading=!0,t.get("/api/foodReserves/page",D.value).then((e=>{200==e.code&&(x.tableData=e.data.records,x.tableType.tableLoading=!1,x.pagination.total=e.data.total)})).catch((()=>{x.tableType.tableLoading=!1}))},I=({type:e,data:a})=>{switch(e){case"create":L();break;case"check":z(a);break;case"customCK":N(a,"ck");break;case"customRK":N(a,"rk");break;case"sort":K(a);break;case"search":R(a);break;case"customDelete":B(a)}},H=e=>{console.log(e),x.pagination.current=e,D.value.current=e,w()},z=e=>{const a=e[0].id;k.value.changeDialog("check",a)},B=e=>{let a={deptId:"all"==f.permissions?e[0].deptId:void 0,foodTypeId:e[0].foodTypeId,operationType:"delete",amount:0};t.post("/api/foodReserves/operation",a).then((e=>{200==e.code?(c({message:"删除成功",type:"success"}),w()):c({message:e.message,type:"error"})}))},R=e=>{console.log(e.value),D.value.value=e.value,w()},K=e=>{""===e.name?(D.value.orderBy=void 0,D.value.column=void 0):(D.value.orderBy=e.sortType,D.value.column=e.name),w()},L=()=>{k.value.changeDialog("create")},N=(e,a)=>{const l=e[0].id;k.value.changeDialog(a,l)};d((()=>{w(),A()}));const O=u([]),A=()=>{t.get("/api/dept/tree").then((e=>{200==e.code&&(O.value=e.data.data)}))};return(e,t)=>{const s=r("el-tree-select");return g(),p("div",a,[m(l,h(x,{onHandleTableHeader:I,onHandleTablePagination:H,ref_key:"TableBodyRef",ref:_}),{TableHeaderRight:y((({selectData:e})=>["all"==b(f)?.permissions?(g(),v(s,{key:0,style:{width:"220px"},modelValue:D.value.deptId,"onUpdate:modelValue":t[0]||(t[0]=e=>D.value.deptId=e),data:O.value,clearable:"","check-strictly":"",placeholder:"请选择粮仓","render-after-expand":!1,class:"status-select",onChange:w},null,8,["modelValue","data"])):j("",!0)])),_:1},16),m(n,{ref_key:"formDialog",ref:k,onInit:w},null,512)])}}})}}}));
|
|
|
@ -0,0 +1 @@
|
||||||
|
import{a1 as x,aq as E,o as r,c as d,a as o,a0 as f,U as m,Z as b,d as c,u as a,O as N,Y as v,aj as S,S as u,F as $,a7 as q}from"./@vue-b2c9e7bc.js";import z from"./NodeType-a145b288.js";import{r as B,t as L}from"./optionConfig-cdce2392.js";import{a as D}from"./approver-f837ea06.js";import{C as M,E as V,P as W,a as j}from"./@icon-park-88b8be61.js";import"./pinia-fd2dfb87.js";const O={class:"y-flow-middle"},F={class:"y-flow-insert-wrapper"},P={class:"y-flow-insert"},T={key:0,class:"text"},U={class:"span"},R=o("div",{class:"y-flow-apply-list y-flow-head"},"节点负责人:",-1),Y={class:"person-list"},Z={class:"y-flow-line"},ee={__name:"NodeItem",props:{parentNode:{type:Object,default:{}},nodeItem:{type:Object,default:{}}},emits:["addApprover","addCondition","removeApprover"],setup(y,{emit:i}){const e=y,l=D(),p=x({roleArray:B,typeArray:L,defaultRole:"未知",activeIndex:-1}),I=(s,t)=>{i("addApprover",e.nodeItem,t)},w=()=>{i("addCondition",e.nodeItem,"add")},k=()=>{i("removeApprover",e.nodeItem,e.parentNode)},h=(s,t)=>{s.titleEdit=t},_=(s,t)=>{s.title||(s.title="审批节点"),l.editTtitle(s.title),s.titleEdit=t},A=s=>{l.changeApprover(s),l.toggleApproverVisible(!0)};return(s,t)=>{const C=E("focus");return r(),d("div",O,[o("div",F,[o("div",P,[o("div",{class:"y-flow-node-wrapper",onMouseenter:t[4]||(t[4]=f(n=>p.activeIndex=e.nodeItem.nodeId,["self"])),onMouseleave:t[5]||(t[5]=f(n=>p.activeIndex=-1,["self"]))},[m(o("div",{class:"y-flow-node-del",onClick:k},[c(a(M),{theme:"outline",size:"20",fill:"#fff",strokeWidth:3,strokeLinecap:"square"})],512),[[b,e.nodeItem.nodeId==p.activeIndex]]),o("div",{class:"y-flow-node",onClick:t[3]||(t[3]=n=>A(e.nodeItem))},[o("div",{class:N(["y-flow-node-head",[e.nodeItem.type==="approver"?"y-flow-actual-approverbg":"y-flow-actual-fillbg"]])},[o("div",{class:"y-flow-node-title",onClick:t[2]||(t[2]=f(n=>h(e.nodeItem,!0),["stop"]))},[e.nodeItem.titleEdit?m((r(),d("input",{key:1,class:"y-input",type:"text","onUpdate:modelValue":t[0]||(t[0]=n=>e.nodeItem.title=n),onBlur:t[1]||(t[1]=n=>_(e.nodeItem,!1))},null,544)),[[S,e.nodeItem.title],[C]]):(r(),d("div",T,[o("span",U,v(e.nodeItem.title||e.nodeItem.name),1),c(a(V),{theme:"outline",size:"18",fill:"#fff",strokeWidth:3,strokeLinecap:"square"})]))]),e.nodeItem.type==="approver"?(r(),u(a(W),{key:0,theme:"outline",size:"18",fill:"#fff",strokeWidth:3,strokeLinecap:"square"})):(r(),u(a(j),{key:1,theme:"outline",size:"18",fill:"#fff",strokeWidth:3,strokeLinecap:"square"}))],2),R,o("div",Y,[(r(!0),d($,null,q(e.nodeItem.properties.persons,(n,g)=>(r(),d("div",{class:"person-add-item",key:g},v(n.realName),1))),128))])]),o("div",Z,[c(z,{branchItem:e.nodeItem,onAddApprover:I,onChangeCondition:w},null,8,["branchItem"])])],32)])])])}}};export{ee as default};
|
|
@ -1 +0,0 @@
|
||||||
import{a1 as x,aq as E,o as r,c as d,a as o,a0 as f,U as c,Z as b,d as m,u as i,O as N,Y as v,aj as S,S as u,F as $,a7 as q}from"./@vue-5dd246aa.js";import z from"./NodeType-1fcb0099.js";import{r as B,t as L}from"./optionConfig-cdce2392.js";import{a as D}from"./approver-8c13d8a1.js";import{C as M,E as V,P as W,a as j}from"./@icon-park-904b8974.js";import"./pinia-6e226388.js";import"./vue-demi-71ba0ef2.js";const O={class:"y-flow-middle"},F={class:"y-flow-insert-wrapper"},P={class:"y-flow-insert"},T={key:0,class:"text"},U={class:"span"},R=o("div",{class:"y-flow-apply-list y-flow-head"},"节点负责人:",-1),Y={class:"person-list"},Z={class:"y-flow-line"},te={__name:"NodeItem",props:{parentNode:{type:Object,default:{}},nodeItem:{type:Object,default:{}}},emits:["addApprover","addCondition","removeApprover"],setup(y,{emit:a}){const e=y,l=D(),p=x({roleArray:B,typeArray:L,defaultRole:"未知",activeIndex:-1}),I=(s,t)=>{a("addApprover",e.nodeItem,t)},w=()=>{a("addCondition",e.nodeItem,"add")},k=()=>{a("removeApprover",e.nodeItem,e.parentNode)},h=(s,t)=>{s.titleEdit=t},_=(s,t)=>{s.title||(s.title="审批节点"),l.editTtitle(s.title),s.titleEdit=t},A=s=>{l.changeApprover(s),l.toggleApproverVisible(!0)};return(s,t)=>{const C=E("focus");return r(),d("div",O,[o("div",F,[o("div",P,[o("div",{class:"y-flow-node-wrapper",onMouseenter:t[4]||(t[4]=f(n=>p.activeIndex=e.nodeItem.nodeId,["self"])),onMouseleave:t[5]||(t[5]=f(n=>p.activeIndex=-1,["self"]))},[c(o("div",{class:"y-flow-node-del",onClick:k},[m(i(M),{theme:"outline",size:"20",fill:"#fff",strokeWidth:3,strokeLinecap:"square"})],512),[[b,e.nodeItem.nodeId==p.activeIndex]]),o("div",{class:"y-flow-node",onClick:t[3]||(t[3]=n=>A(e.nodeItem))},[o("div",{class:N(["y-flow-node-head",[e.nodeItem.type==="approver"?"y-flow-actual-approverbg":"y-flow-actual-fillbg"]])},[o("div",{class:"y-flow-node-title",onClick:t[2]||(t[2]=f(n=>h(e.nodeItem,!0),["stop"]))},[e.nodeItem.titleEdit?c((r(),d("input",{key:1,class:"y-input",type:"text","onUpdate:modelValue":t[0]||(t[0]=n=>e.nodeItem.title=n),onBlur:t[1]||(t[1]=n=>_(e.nodeItem,!1))},null,544)),[[S,e.nodeItem.title],[C]]):(r(),d("div",T,[o("span",U,v(e.nodeItem.title||e.nodeItem.name),1),m(i(V),{theme:"outline",size:"18",fill:"#fff",strokeWidth:3,strokeLinecap:"square"})]))]),e.nodeItem.type==="approver"?(r(),u(i(W),{key:0,theme:"outline",size:"18",fill:"#fff",strokeWidth:3,strokeLinecap:"square"})):(r(),u(i(j),{key:1,theme:"outline",size:"18",fill:"#fff",strokeWidth:3,strokeLinecap:"square"}))],2),R,o("div",Y,[(r(!0),d($,null,q(e.nodeItem.properties.persons,(n,g)=>(r(),d("div",{class:"person-add-item",key:g},v(n.realName),1))),128))])]),o("div",Z,[m(z,{branchItem:e.nodeItem,onAddApprover:I,onChangeCondition:w},null,8,["branchItem"])])],32)])])])}}};export{te as default};
|
|
|
@ -0,0 +1 @@
|
||||||
|
System.register(["./@vue-legacy-98edf7e4.js","./NodeType-legacy-cb7a1880.js","./optionConfig-legacy-708250f5.js","./approver-legacy-8954463e.js","./@icon-park-legacy-1e6de739.js","./pinia-legacy-ae5252ec.js"],(function(e,t){"use strict";var o,l,n,d,i,a,r,s,p,c,f,u,v,m,y,I,k,h,w,g,j,A,C,b;return{setters:[e=>{o=e.a1,l=e.aq,n=e.o,d=e.c,i=e.a,a=e.a0,r=e.U,s=e.Z,p=e.d,c=e.u,f=e.O,u=e.Y,v=e.aj,m=e.S,y=e.F,I=e.a7},e=>{k=e.default},e=>{h=e.r,w=e.t},e=>{g=e.a},e=>{j=e.C,A=e.E,C=e.P,b=e.a},null],execute:function(){const t={class:"y-flow-middle"},x={class:"y-flow-insert-wrapper"},q={class:"y-flow-insert"},N={key:0,class:"text"},z={class:"span"},E=i("div",{class:"y-flow-apply-list y-flow-head"},"节点负责人:",-1),L={class:"person-list"},W={class:"y-flow-line"};e("default",{__name:"NodeItem",props:{parentNode:{type:Object,default:{}},nodeItem:{type:Object,default:{}}},emits:["addApprover","addCondition","removeApprover"],setup(e,{emit:O}){const M=e,S=g(),T=o({roleArray:h,typeArray:w,defaultRole:"未知",activeIndex:-1}),U=(e,t)=>{O("addApprover",M.nodeItem,t)},V=()=>{O("addCondition",M.nodeItem,"add")},_=()=>{O("removeApprover",M.nodeItem,M.parentNode)};return(e,o)=>{const h=l("focus");return n(),d("div",t,[i("div",x,[i("div",q,[i("div",{class:"y-flow-node-wrapper",onMouseenter:o[4]||(o[4]=a((e=>T.activeIndex=M.nodeItem.nodeId),["self"])),onMouseleave:o[5]||(o[5]=a((e=>T.activeIndex=-1),["self"]))},[r(i("div",{class:"y-flow-node-del",onClick:_},[p(c(j),{theme:"outline",size:"20",fill:"#fff",strokeWidth:3,strokeLinecap:"square"})],512),[[s,M.nodeItem.nodeId==T.activeIndex]]),i("div",{class:"y-flow-node",onClick:o[3]||(o[3]=e=>{return t=M.nodeItem,S.changeApprover(t),void S.toggleApproverVisible(!0);var t})},[i("div",{class:f(["y-flow-node-head",["approver"===M.nodeItem.type?"y-flow-actual-approverbg":"y-flow-actual-fillbg"]])},[i("div",{class:"y-flow-node-title",onClick:o[2]||(o[2]=a((e=>{return t=M.nodeItem,o=!0,void(t.titleEdit=o);var t,o}),["stop"]))},[M.nodeItem.titleEdit?r((n(),d("input",{key:1,class:"y-input",type:"text","onUpdate:modelValue":o[0]||(o[0]=e=>M.nodeItem.title=e),onBlur:o[1]||(o[1]=e=>{return t=M.nodeItem,o=!1,t.title||(t.title="审批节点"),S.editTtitle(t.title),void(t.titleEdit=o);var t,o})},null,544)),[[v,M.nodeItem.title],[h]]):(n(),d("div",N,[i("span",z,u(M.nodeItem.title||M.nodeItem.name),1),p(c(A),{theme:"outline",size:"18",fill:"#fff",strokeWidth:3,strokeLinecap:"square"})]))]),"approver"===M.nodeItem.type?(n(),m(c(C),{key:0,theme:"outline",size:"18",fill:"#fff",strokeWidth:3,strokeLinecap:"square"})):(n(),m(c(b),{key:1,theme:"outline",size:"18",fill:"#fff",strokeWidth:3,strokeLinecap:"square"}))],2),E,i("div",L,[(n(!0),d(y,null,I(M.nodeItem.properties.persons,((e,t)=>(n(),d("div",{class:"person-add-item",key:t},u(e.realName),1)))),128))])]),i("div",W,[p(k,{branchItem:M.nodeItem,onAddApprover:U,onChangeCondition:V},null,8,["branchItem"])])],32)])])])}}})}}}));
|
|
@ -1 +0,0 @@
|
||||||
System.register(["./@vue-legacy-4de3d5b5.js","./NodeType-legacy-1c5fb083.js","./optionConfig-legacy-708250f5.js","./approver-legacy-65dadbe3.js","./@icon-park-legacy-d73df4b1.js","./pinia-legacy-13c50dcc.js","./vue-demi-legacy-97cfbb01.js"],(function(e,t){"use strict";var o,l,n,d,a,i,s,r,p,c,f,u,v,m,y,I,k,g,w,h,j,A,C,b;return{setters:[e=>{o=e.a1,l=e.aq,n=e.o,d=e.c,a=e.a,i=e.a0,s=e.U,r=e.Z,p=e.d,c=e.u,f=e.O,u=e.Y,v=e.aj,m=e.S,y=e.F,I=e.a7},e=>{k=e.default},e=>{g=e.r,w=e.t},e=>{h=e.a},e=>{j=e.C,A=e.E,C=e.P,b=e.a},null,null],execute:function(){const t={class:"y-flow-middle"},x={class:"y-flow-insert-wrapper"},q={class:"y-flow-insert"},E={key:0,class:"text"},N={class:"span"},z=a("div",{class:"y-flow-apply-list y-flow-head"},"节点负责人:",-1),L={class:"person-list"},W={class:"y-flow-line"};e("default",{__name:"NodeItem",props:{parentNode:{type:Object,default:{}},nodeItem:{type:Object,default:{}}},emits:["addApprover","addCondition","removeApprover"],setup(e,{emit:O}){const M=e,S=h(),T=o({roleArray:g,typeArray:w,defaultRole:"未知",activeIndex:-1}),U=(e,t)=>{O("addApprover",M.nodeItem,t)},V=()=>{O("addCondition",M.nodeItem,"add")},_=()=>{O("removeApprover",M.nodeItem,M.parentNode)};return(e,o)=>{const g=l("focus");return n(),d("div",t,[a("div",x,[a("div",q,[a("div",{class:"y-flow-node-wrapper",onMouseenter:o[4]||(o[4]=i((e=>T.activeIndex=M.nodeItem.nodeId),["self"])),onMouseleave:o[5]||(o[5]=i((e=>T.activeIndex=-1),["self"]))},[s(a("div",{class:"y-flow-node-del",onClick:_},[p(c(j),{theme:"outline",size:"20",fill:"#fff",strokeWidth:3,strokeLinecap:"square"})],512),[[r,M.nodeItem.nodeId==T.activeIndex]]),a("div",{class:"y-flow-node",onClick:o[3]||(o[3]=e=>{return t=M.nodeItem,S.changeApprover(t),void S.toggleApproverVisible(!0);var t})},[a("div",{class:f(["y-flow-node-head",["approver"===M.nodeItem.type?"y-flow-actual-approverbg":"y-flow-actual-fillbg"]])},[a("div",{class:"y-flow-node-title",onClick:o[2]||(o[2]=i((e=>{return t=M.nodeItem,o=!0,void(t.titleEdit=o);var t,o}),["stop"]))},[M.nodeItem.titleEdit?s((n(),d("input",{key:1,class:"y-input",type:"text","onUpdate:modelValue":o[0]||(o[0]=e=>M.nodeItem.title=e),onBlur:o[1]||(o[1]=e=>{return t=M.nodeItem,o=!1,t.title||(t.title="审批节点"),S.editTtitle(t.title),void(t.titleEdit=o);var t,o})},null,544)),[[v,M.nodeItem.title],[g]]):(n(),d("div",E,[a("span",N,u(M.nodeItem.title||M.nodeItem.name),1),p(c(A),{theme:"outline",size:"18",fill:"#fff",strokeWidth:3,strokeLinecap:"square"})]))]),"approver"===M.nodeItem.type?(n(),m(c(C),{key:0,theme:"outline",size:"18",fill:"#fff",strokeWidth:3,strokeLinecap:"square"})):(n(),m(c(b),{key:1,theme:"outline",size:"18",fill:"#fff",strokeWidth:3,strokeLinecap:"square"}))],2),z,a("div",L,[(n(!0),d(y,null,I(M.nodeItem.properties.persons,((e,t)=>(n(),d("div",{class:"person-add-item",key:t},u(e.realName),1)))),128))])]),a("div",W,[p(k,{branchItem:M.nodeItem,onAddApprover:U,onChangeCondition:V},null,8,["branchItem"])])],32)])])])}}})}}}));
|
|
|
@ -1 +1 @@
|
||||||
import{b as h,c as v,d as u,B as k}from"./@icon-park-904b8974.js";import{f as l,ag as b,o as C,S as g,T as d,a as e,d as t,u as o}from"./@vue-5dd246aa.js";const w={class:"y-flow-select"},y={class:"item-icon"},B=e("p",{class:"item-des"},"审批节点",-1),q={class:"item-icon"},x=e("p",{class:"item-des"},"填写节点",-1),z={class:"item-icon"},L=e("p",{class:"item-des"},"条件分支",-1),N={class:"add-btn"},A={__name:"NodeType",props:{branchItem:{type:Object,default:{}}},emits:["addApprover","changeCondition"],setup(p,{emit:i}){const n=p;l(!1);const a=l(),r=c=>{a.value.hide(),i("addApprover",n.branchItem,c)},_=()=>{a.value.hide(),i("changeCondition",n.branchItem,"add")};return(c,s)=>{const f=b("el-popover");return C(),g(f,{placement:"top-start",width:250,trigger:"click",title:"标题",ref_key:"popoverRef",ref:a},{reference:d(()=>[e("span",N,[t(o(h),{theme:"filled",size:"16",fill:"#f5bc21",strokeWidth:3,strokeLinecap:"square"})])]),default:d(()=>[e("div",w,[e("div",{class:"item-wrapper",onClick:s[0]||(s[0]=m=>r("approver"))},[e("span",y,[t(o(v),{theme:"filled",size:"30",fill:"#3296fa",strokeWidth:3,strokeLinecap:"square"})]),B]),e("div",{class:"item-wrapper",onClick:s[1]||(s[1]=m=>r("fill"))},[e("span",q,[t(o(u),{theme:"filled",size:"30",fill:"#324963",strokeWidth:3,strokeLinecap:"square"})]),x]),e("div",{class:"item-wrapper",onClick:_},[e("span",z,[t(o(k),{theme:"filled",size:"30",fill:"#15bc83",strokeWidth:3,strokeLinecap:"square"})]),L])])]),_:1},512)}}};export{A as default};
|
import{b as h,c as v,d as u,B as k}from"./@icon-park-88b8be61.js";import{f as l,ag as b,o as C,S as g,T as d,a as e,d as t,u as o}from"./@vue-b2c9e7bc.js";const w={class:"y-flow-select"},y={class:"item-icon"},B=e("p",{class:"item-des"},"审批节点",-1),q={class:"item-icon"},x=e("p",{class:"item-des"},"填写节点",-1),z={class:"item-icon"},L=e("p",{class:"item-des"},"条件分支",-1),N={class:"add-btn"},A={__name:"NodeType",props:{branchItem:{type:Object,default:{}}},emits:["addApprover","changeCondition"],setup(p,{emit:i}){const n=p;l(!1);const a=l(),r=c=>{a.value.hide(),i("addApprover",n.branchItem,c)},_=()=>{a.value.hide(),i("changeCondition",n.branchItem,"add")};return(c,s)=>{const f=b("el-popover");return C(),g(f,{placement:"top-start",width:250,trigger:"click",title:"标题",ref_key:"popoverRef",ref:a},{reference:d(()=>[e("span",N,[t(o(h),{theme:"filled",size:"16",fill:"#f5bc21",strokeWidth:3,strokeLinecap:"square"})])]),default:d(()=>[e("div",w,[e("div",{class:"item-wrapper",onClick:s[0]||(s[0]=m=>r("approver"))},[e("span",y,[t(o(v),{theme:"filled",size:"30",fill:"#3296fa",strokeWidth:3,strokeLinecap:"square"})]),B]),e("div",{class:"item-wrapper",onClick:s[1]||(s[1]=m=>r("fill"))},[e("span",q,[t(o(u),{theme:"filled",size:"30",fill:"#324963",strokeWidth:3,strokeLinecap:"square"})]),x]),e("div",{class:"item-wrapper",onClick:_},[e("span",z,[t(o(k),{theme:"filled",size:"30",fill:"#15bc83",strokeWidth:3,strokeLinecap:"square"})]),L])])]),_:1},512)}}};export{A as default};
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1 @@
|
||||||
|
import{_ as J}from"./index-41513436.js";import P from"./Upload-8ca4c2bb.js";import{U as R}from"./index-18b96b4f.js";import h from"./DetailDialog-422c931e.js";import{u as B,a as T}from"./vue-router-3598b468.js";import{h as U}from"./index-8c52d20c.js";import{a as A}from"./hevue-img-preview-4a7ab001.js";import{E as p}from"./element-plus-4b5d5603.js";import{l as V,f as n,k as E,ag as d,o as w,c as M,d as s,a as f,T as a,X as m,S as j,W as z,ba as L,b8 as W}from"./@vue-b2c9e7bc.js";import"./@wangeditor-21276f11.js";import"./lodash.clonedeep-7c3da1fa.js";import"./@imengyu-76f76aa5.js";import"./vue-2bd35934.js";/* empty css */import"./tools-0351b48a.js";import"./pinia-fd2dfb87.js";import"./axios-46f5fd04.js";import"./form-data-d2a9677b.js";import"./js-cookie-40e39767.js";import"./mitt-f7ef348c.js";import"./lodash-es-b9271f86.js";import"./@vueuse-9c157bcb.js";import"./@element-plus-a1a6045a.js";import"./@popperjs-c75af06c.js";import"./@ctrl-1c80e935.js";import"./dayjs-83dd9e59.js";import"./async-validator-a1293421.js";import"./memoize-one-297ddbcb.js";import"./escape-html-1d60d822.js";import"./normalize-wheel-es-ed76fb12.js";import"./@floating-ui-f831ca66.js";/* empty css */const F=c=>(L("data-v-67ec0485"),c=c(),W(),c),X={class:"card"},G=F(()=>f("div",{class:"line"},null,-1)),H={class:"page-content"},K=F(()=>f("p",{class:"page-content-title"},"通知新增",-1)),Q={class:"roll-container"},Y={class:"bottom-item"},Z={__name:"PageForm",setup(c){const S=B(),i=T();V(()=>!["create","edit"].includes(i.query.type)),V(()=>i.query.type==="create"),V(()=>i.query.type==="edit");const I=n(),t=n({userIds:[],content:"",files:[],title:"",isUrgent:!1}),N=n({title:[{required:!0,message:"请输入",trigger:"blur"}],isUrgent:[{required:!0,message:"请选择",trigger:"blur"}]}),_=n(!1),k=n({}),x=()=>{_.value=!0,k.value={...t.value}},q=()=>{S.go(-1)},O=async u=>{u&&await u.validate(async(e,v)=>{if(e){if(!t.value.content)return p.warning("请填写通知内容");let o={...t.value,files:JSON.stringify(t.value.files),userIds:JSON.stringify(t.value.userIds)};if(i.query.type==="create"){let r=await U.post("/api/notice/save",o);r.code==200?(p({message:r.message,type:"success"}),q()):p.error(r.message)}else if(i.query.type==="edit"){let r=await U.put(`/api/notice/edit?id=${i.query.id}`,o);r.code==200?(p({message:r.message,type:"success"}),q()):p.error(r.message)}}})},g=n(!1),y=n([]),C=()=>{var u,e;if(((u=i.query)==null?void 0:u.type)==="check"||((e=i.query)==null?void 0:e.type)==="edit"){let v=i.query.id;U.get(`/api/notice/detail?id=${v}`).then(o=>{o.code==200&&(t.value={userIds:JSON.parse(o.data.userIds),content:o.data.content,files:JSON.parse(o.data.files),title:o.data.title,updatedAt:o.data.updatedAt,isUrgent:o.data.isUrgent},y.value=JSON.parse(o.data.userList),g.value=!0)})}else g.value=!0};return E(()=>{C()}),(u,e)=>{const v=d("el-input"),o=d("el-form-item"),r=d("el-radio"),D=d("el-radio-group"),b=d("el-button"),$=d("el-form");return w(),M("div",X,[s(J,{height:"60vh",value:t.value.content,"onUpdate:value":e[0]||(e[0]=l=>t.value.content=l)},null,8,["value"]),G,f("div",H,[K,s($,{ref_key:"ruleFormRef",ref:I,"label-position":"top",model:t.value,rules:N.value,"label-width":"120px","status-icon":""},{default:a(()=>[s(o,{label:"标题",prop:"title"},{default:a(()=>[s(v,{modelValue:t.value.title,"onUpdate:modelValue":e[1]||(e[1]=l=>t.value.title=l)},null,8,["modelValue"])]),_:1}),s(o,{label:"是否紧急",prop:"isUrgent"},{default:a(()=>[s(D,{modelValue:t.value.isUrgent,"onUpdate:modelValue":e[2]||(e[2]=l=>t.value.isUrgent=l)},{default:a(()=>[s(r,{label:!0},{default:a(()=>[m("是")]),_:1}),s(r,{label:!1,style:{"margin-left":"30px"}},{default:a(()=>[m("否")]),_:1})]),_:1},8,["modelValue"])]),_:1}),f("div",Q,[s(o,{label:"接收人:不选默认全体",prop:"userIds"},{default:a(()=>[g.value?(w(),j(R,{key:0,userIds:t.value.userIds,"onUpdate:userIds":e[3]||(e[3]=l=>t.value.userIds=l),users:y.value,"onUpdate:users":e[4]||(e[4]=l=>y.value=l)},null,8,["userIds","users"])):z("",!0)]),_:1})]),s(o,{label:"附件",prop:"files"},{default:a(()=>[s(P,{modelValue:t.value.files,"onUpdate:modelValue":e[5]||(e[5]=l=>t.value.files=l),type:"create",disabled:!1},null,8,["modelValue"])]),_:1}),f("div",Y,[s(b,{type:"primary",onClick:x},{default:a(()=>[m(" 预览内容 ")]),_:1}),s(b,{type:"primary",onClick:e[6]||(e[6]=l=>O(I.value))},{default:a(()=>[m(" 保存 ")]),_:1}),s(b,{onClick:e[7]||(e[7]=l=>u.$router.back())},{default:a(()=>[m(" 返回 ")]),_:1})])]),_:1},8,["model","rules"])]),s(h,{dialogVisible:_.value,"onUpdate:dialogVisible":e[8]||(e[8]=l=>_.value=l),dialogData:k.value,pageType:{type:"tz",isShowRead:!1,isShowPerson:!1}},null,8,["dialogVisible","dialogData"])])}}},De=A(Z,[["__scopeId","data-v-67ec0485"]]);export{De as default};
|
|
@ -1 +0,0 @@
|
||||||
import{_ as C}from"./index-3c4f05ab.js";import N from"./Upload-b138ef4e.js";import{u as R,a as U}from"./vue-router-ab2ba79f.js";import{h as g}from"./index-3251f0fb.js";/* empty css */import{_ as I}from"./_plugin-vue_export-helper-c27b6911.js";import B from"./DetailDialog-6191bff6.js";import{E as u}from"./element-plus-a215fcb5.js";import{l as y,f as d,k as T,ag as c,o as A,c as E,d as l,u as b,a as f,T as n,X as V,ax as J,ay as M}from"./@vue-5dd246aa.js";import"./@wangeditor-61a2cfac.js";import"./lodash.clonedeep-2f114c62.js";import"./core-js-c6c47c20.js";/* empty css */import"./jspdf-28a20e90.js";import"./@babel-5a4b8c9a.js";import"./fflate-8981c52c.js";import"./tools-0351b48a.js";import"./pinia-6e226388.js";import"./vue-demi-71ba0ef2.js";import"./axios-46f5fd04.js";import"./form-data-d2a9677b.js";import"./lodash-es-b9271f86.js";import"./@vueuse-77cc1d99.js";import"./@element-plus-ba666efa.js";import"./@popperjs-c75af06c.js";import"./@ctrl-1c80e935.js";import"./dayjs-88f1e3c5.js";import"./async-validator-a1293421.js";import"./memoize-one-297ddbcb.js";import"./escape-html-1d60d822.js";import"./normalize-wheel-es-ed76fb12.js";import"./@floating-ui-f831ca66.js";import"./js-cookie-40e39767.js";import"./mitt-f7ef348c.js";const k=p=>(J("data-v-0d362498"),p=p(),M(),p),O={class:"card"},j=k(()=>f("div",{class:"line"},null,-1)),z={class:"page-content"},X=k(()=>f("p",{class:"page-content-title"},"制度新增",-1)),G={class:"bottom-item"},H={__name:"PageForm",setup(p){const h=R(),i=U(),_=y(()=>!["create","edit"].includes(i.query.type));y(()=>i.query.type==="create"),y(()=>i.query.type==="edit");const F=d(),t=d({content:"",files:[],title:""}),x=d({title:[{required:!0,message:"请输入",trigger:"blur"}]}),v=d(!1),q=d({}),D=()=>{v.value=!0,q.value={...t.value}},w=()=>{h.go(-1)},S=async r=>{r&&await r.validate(async(e,m)=>{if(e){if(!t.value.content)return u.warning("请填写内容");let o={...t.value,files:JSON.stringify(t.value.files)};if(i.query.type==="create"){let a=await g.post("/api/institution/save",o);a.code==200?(u({message:a.message,type:"success"}),w()):u.error(a.message)}else if(i.query.type==="edit"){let a=await g.put(`/api/institution/edit?id=${i.query.id}`,o);a.code==200?(u({message:a.message,type:"success"}),w()):u.error(a.message)}}})},P=()=>{var r,e;if(((r=i.query)==null?void 0:r.type)==="check"||((e=i.query)==null?void 0:e.type)==="edit"){let m=i.query.id;g.get(`/api/institution/detail?id=${m}`).then(o=>{o.code==200&&(t.value={content:o.data.content,files:JSON.parse(o.data.files),title:o.data.title,updatedAt:o.data.updatedAt})})}};return T(()=>{P()}),(r,e)=>{const m=c("el-input"),o=c("el-form-item"),a=c("el-button"),$=c("el-form");return A(),E("div",O,[l(C,{height:"60vh",value:t.value.content,"onUpdate:value":e[0]||(e[0]=s=>t.value.content=s),disabled:b(_)},null,8,["value","disabled"]),j,f("div",z,[X,l($,{ref_key:"ruleFormRef",ref:F,"label-position":"top",model:t.value,rules:x.value,"label-width":"120px",disabled:b(_),"status-icon":""},{default:n(()=>[l(o,{label:"标题",prop:"title"},{default:n(()=>[l(m,{modelValue:t.value.title,"onUpdate:modelValue":e[1]||(e[1]=s=>t.value.title=s)},null,8,["modelValue"])]),_:1}),l(o,{label:"附件",prop:"files"},{default:n(()=>[l(N,{modelValue:t.value.files,"onUpdate:modelValue":e[2]||(e[2]=s=>t.value.files=s),type:"create",disabled:b(_)},null,8,["modelValue","disabled"])]),_:1}),f("div",G,[l(a,{type:"primary",onClick:D},{default:n(()=>[V(" 预览内容 ")]),_:1}),l(a,{type:"primary",onClick:e[3]||(e[3]=s=>S(F.value))},{default:n(()=>[V(" 保存 ")]),_:1}),l(a,{onClick:e[4]||(e[4]=s=>r.$router.back())},{default:n(()=>[V(" 返回 ")]),_:1})])]),_:1},8,["model","rules","disabled"])]),l(B,{dialogVisible:v.value,"onUpdate:dialogVisible":e[5]||(e[5]=s=>v.value=s),dialogData:q.value,pageType:{type:"zd",isShowRead:!1,isShowPerson:!1}},null,8,["dialogVisible","dialogData"])])}}},Se=I(H,[["__scopeId","data-v-0d362498"]]);export{Se as default};
|
|
|
@ -0,0 +1 @@
|
||||||
|
import{_ as C}from"./index-41513436.js";import N from"./Upload-8ca4c2bb.js";import{u as R,a as U}from"./vue-router-3598b468.js";import{h as g}from"./index-8c52d20c.js";/* empty css */import{a as I}from"./hevue-img-preview-4a7ab001.js";import B from"./DetailDialog-422c931e.js";import{E as u}from"./element-plus-4b5d5603.js";import{l as y,f as d,k as T,ag as c,o as A,c as E,d as l,u as b,a as f,T as n,X as V,ba as J,b8 as M}from"./@vue-b2c9e7bc.js";import"./@wangeditor-21276f11.js";import"./lodash.clonedeep-7c3da1fa.js";import"./@imengyu-76f76aa5.js";import"./vue-2bd35934.js";/* empty css */import"./tools-0351b48a.js";import"./pinia-fd2dfb87.js";import"./axios-46f5fd04.js";import"./form-data-d2a9677b.js";import"./js-cookie-40e39767.js";import"./mitt-f7ef348c.js";import"./lodash-es-b9271f86.js";import"./@vueuse-9c157bcb.js";import"./@element-plus-a1a6045a.js";import"./@popperjs-c75af06c.js";import"./@ctrl-1c80e935.js";import"./dayjs-83dd9e59.js";import"./async-validator-a1293421.js";import"./memoize-one-297ddbcb.js";import"./escape-html-1d60d822.js";import"./normalize-wheel-es-ed76fb12.js";import"./@floating-ui-f831ca66.js";const k=p=>(J("data-v-0d362498"),p=p(),M(),p),O={class:"card"},j=k(()=>f("div",{class:"line"},null,-1)),z={class:"page-content"},X=k(()=>f("p",{class:"page-content-title"},"制度新增",-1)),G={class:"bottom-item"},H={__name:"PageForm",setup(p){const h=R(),i=U(),_=y(()=>!["create","edit"].includes(i.query.type));y(()=>i.query.type==="create"),y(()=>i.query.type==="edit");const F=d(),t=d({content:"",files:[],title:""}),D=d({title:[{required:!0,message:"请输入",trigger:"blur"}]}),v=d(!1),q=d({}),S=()=>{v.value=!0,q.value={...t.value}},w=()=>{h.go(-1)},x=async r=>{r&&await r.validate(async(e,m)=>{if(e){if(!t.value.content)return u.warning("请填写内容");let o={...t.value,files:JSON.stringify(t.value.files)};if(i.query.type==="create"){let a=await g.post("/api/institution/save",o);a.code==200?(u({message:a.message,type:"success"}),w()):u.error(a.message)}else if(i.query.type==="edit"){let a=await g.put(`/api/institution/edit?id=${i.query.id}`,o);a.code==200?(u({message:a.message,type:"success"}),w()):u.error(a.message)}}})},P=()=>{var r,e;if(((r=i.query)==null?void 0:r.type)==="check"||((e=i.query)==null?void 0:e.type)==="edit"){let m=i.query.id;g.get(`/api/institution/detail?id=${m}`).then(o=>{o.code==200&&(t.value={content:o.data.content,files:JSON.parse(o.data.files),title:o.data.title,updatedAt:o.data.updatedAt})})}};return T(()=>{P()}),(r,e)=>{const m=c("el-input"),o=c("el-form-item"),a=c("el-button"),$=c("el-form");return A(),E("div",O,[l(C,{height:"60vh",value:t.value.content,"onUpdate:value":e[0]||(e[0]=s=>t.value.content=s),disabled:b(_)},null,8,["value","disabled"]),j,f("div",z,[X,l($,{ref_key:"ruleFormRef",ref:F,"label-position":"top",model:t.value,rules:D.value,"label-width":"120px",disabled:b(_),"status-icon":""},{default:n(()=>[l(o,{label:"标题",prop:"title"},{default:n(()=>[l(m,{modelValue:t.value.title,"onUpdate:modelValue":e[1]||(e[1]=s=>t.value.title=s)},null,8,["modelValue"])]),_:1}),l(o,{label:"附件",prop:"files"},{default:n(()=>[l(N,{modelValue:t.value.files,"onUpdate:modelValue":e[2]||(e[2]=s=>t.value.files=s),type:"create",disabled:b(_)},null,8,["modelValue","disabled"])]),_:1}),f("div",G,[l(a,{type:"primary",onClick:S},{default:n(()=>[V(" 预览内容 ")]),_:1}),l(a,{type:"primary",onClick:e[3]||(e[3]=s=>x(F.value))},{default:n(()=>[V(" 保存 ")]),_:1}),l(a,{onClick:e[4]||(e[4]=s=>r.$router.back())},{default:n(()=>[V(" 返回 ")]),_:1})])]),_:1},8,["model","rules","disabled"])]),l(B,{dialogVisible:v.value,"onUpdate:dialogVisible":e[5]||(e[5]=s=>v.value=s),dialogData:q.value,pageType:{type:"zd",isShowRead:!1,isShowPerson:!1}},null,8,["dialogVisible","dialogData"])])}}},he=I(H,[["__scopeId","data-v-0d362498"]]);export{he as default};
|
|
@ -1 +0,0 @@
|
||||||
import{_ as J}from"./index-3c4f05ab.js";import P from"./Upload-b138ef4e.js";import{U as R}from"./index-066b61df.js";import h from"./DetailDialog-6191bff6.js";import{u as B,a as T}from"./vue-router-ab2ba79f.js";import{h as U}from"./index-3251f0fb.js";import{_ as A}from"./_plugin-vue_export-helper-c27b6911.js";import{E as p}from"./element-plus-a215fcb5.js";import{l as V,f as n,k as E,ag as d,o as w,c as M,d as s,a as f,T as a,X as m,S as j,W as z,ax as L,ay as W}from"./@vue-5dd246aa.js";import"./@wangeditor-61a2cfac.js";import"./lodash.clonedeep-2f114c62.js";import"./core-js-c6c47c20.js";/* empty css */import"./jspdf-28a20e90.js";import"./@babel-5a4b8c9a.js";import"./fflate-8981c52c.js";import"./tools-0351b48a.js";import"./pinia-6e226388.js";import"./vue-demi-71ba0ef2.js";import"./axios-46f5fd04.js";import"./form-data-d2a9677b.js";import"./lodash-es-b9271f86.js";import"./@vueuse-77cc1d99.js";import"./@element-plus-ba666efa.js";import"./@popperjs-c75af06c.js";import"./@ctrl-1c80e935.js";import"./dayjs-88f1e3c5.js";import"./async-validator-a1293421.js";import"./memoize-one-297ddbcb.js";import"./escape-html-1d60d822.js";import"./normalize-wheel-es-ed76fb12.js";import"./@floating-ui-f831ca66.js";import"./js-cookie-40e39767.js";import"./mitt-f7ef348c.js";/* empty css */const F=c=>(L("data-v-67ec0485"),c=c(),W(),c),X={class:"card"},G=F(()=>f("div",{class:"line"},null,-1)),H={class:"page-content"},K=F(()=>f("p",{class:"page-content-title"},"通知新增",-1)),Q={class:"roll-container"},Y={class:"bottom-item"},Z={__name:"PageForm",setup(c){const S=B(),i=T();V(()=>!["create","edit"].includes(i.query.type)),V(()=>i.query.type==="create"),V(()=>i.query.type==="edit");const I=n(),t=n({userIds:[],content:"",files:[],title:"",isUrgent:!1}),N=n({title:[{required:!0,message:"请输入",trigger:"blur"}],isUrgent:[{required:!0,message:"请选择",trigger:"blur"}]}),v=n(!1),k=n({}),x=()=>{v.value=!0,k.value={...t.value}},q=()=>{S.go(-1)},O=async u=>{u&&await u.validate(async(e,_)=>{if(e){if(!t.value.content)return p.warning("请填写通知内容");let o={...t.value,files:JSON.stringify(t.value.files),userIds:JSON.stringify(t.value.userIds)};if(i.query.type==="create"){let r=await U.post("/api/notice/save",o);r.code==200?(p({message:r.message,type:"success"}),q()):p.error(r.message)}else if(i.query.type==="edit"){let r=await U.put(`/api/notice/edit?id=${i.query.id}`,o);r.code==200?(p({message:r.message,type:"success"}),q()):p.error(r.message)}}})},g=n(!1),y=n([]),C=()=>{var u,e;if(((u=i.query)==null?void 0:u.type)==="check"||((e=i.query)==null?void 0:e.type)==="edit"){let _=i.query.id;U.get(`/api/notice/detail?id=${_}`).then(o=>{o.code==200&&(t.value={userIds:JSON.parse(o.data.userIds),content:o.data.content,files:JSON.parse(o.data.files),title:o.data.title,updatedAt:o.data.updatedAt,isUrgent:o.data.isUrgent},y.value=JSON.parse(o.data.userList),g.value=!0)})}else g.value=!0};return E(()=>{C()}),(u,e)=>{const _=d("el-input"),o=d("el-form-item"),r=d("el-radio"),D=d("el-radio-group"),b=d("el-button"),$=d("el-form");return w(),M("div",X,[s(J,{height:"60vh",value:t.value.content,"onUpdate:value":e[0]||(e[0]=l=>t.value.content=l)},null,8,["value"]),G,f("div",H,[K,s($,{ref_key:"ruleFormRef",ref:I,"label-position":"top",model:t.value,rules:N.value,"label-width":"120px","status-icon":""},{default:a(()=>[s(o,{label:"标题",prop:"title"},{default:a(()=>[s(_,{modelValue:t.value.title,"onUpdate:modelValue":e[1]||(e[1]=l=>t.value.title=l)},null,8,["modelValue"])]),_:1}),s(o,{label:"是否紧急",prop:"isUrgent"},{default:a(()=>[s(D,{modelValue:t.value.isUrgent,"onUpdate:modelValue":e[2]||(e[2]=l=>t.value.isUrgent=l)},{default:a(()=>[s(r,{label:!0},{default:a(()=>[m("是")]),_:1}),s(r,{label:!1,style:{"margin-left":"30px"}},{default:a(()=>[m("否")]),_:1})]),_:1},8,["modelValue"])]),_:1}),f("div",Q,[s(o,{label:"接收人:不选默认全体",prop:"userIds"},{default:a(()=>[g.value?(w(),j(R,{key:0,userIds:t.value.userIds,"onUpdate:userIds":e[3]||(e[3]=l=>t.value.userIds=l),users:y.value,"onUpdate:users":e[4]||(e[4]=l=>y.value=l)},null,8,["userIds","users"])):z("",!0)]),_:1})]),s(o,{label:"附件",prop:"files"},{default:a(()=>[s(P,{modelValue:t.value.files,"onUpdate:modelValue":e[5]||(e[5]=l=>t.value.files=l),type:"create",disabled:!1},null,8,["modelValue"])]),_:1}),f("div",Y,[s(b,{type:"primary",onClick:x},{default:a(()=>[m(" 预览内容 ")]),_:1}),s(b,{type:"primary",onClick:e[6]||(e[6]=l=>O(I.value))},{default:a(()=>[m(" 保存 ")]),_:1}),s(b,{onClick:e[7]||(e[7]=l=>u.$router.back())},{default:a(()=>[m(" 返回 ")]),_:1})])]),_:1},8,["model","rules"])]),s(h,{dialogVisible:v.value,"onUpdate:dialogVisible":e[8]||(e[8]=l=>v.value=l),dialogData:k.value,pageType:{type:"tz",isShowRead:!1,isShowPerson:!1}},null,8,["dialogVisible","dialogData"])])}}},Pe=A(Z,[["__scopeId","data-v-67ec0485"]]);export{Pe as default};
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue