前端打包

This commit is contained in:
zhuyy 2023-02-15 16:20:54 +08:00
parent 85da7ed448
commit 0373ee87f2
116 changed files with 78 additions and 1154 deletions

View File

@ -19,4 +19,7 @@ public class AttachmentRequest {
@ApiModelProperty(value = "大小")
private String size;
@ApiModelProperty(value = "后缀")
private String suffix;
}

View File

@ -18,16 +18,16 @@ public class OrganizationRequest implements Serializable {
private String approvalNumber;
@ApiModelProperty(value = "核定用工人数")
private String checkNumber;
private Long checkNumber;
@ApiModelProperty(value = "在职人数")
private String activeStaff;
private Long activeStaff;
@ApiModelProperty(value = "本次核定总人数")
private String thisApprovalNumber;
private Long thisApprovalNumber;
@ApiModelProperty(value = "剩余指标人数")
private String residualNumber;
private Long residualNumber;
@ApiModelProperty(value = "类型")
private String type;

View File

@ -5,8 +5,10 @@ import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.ydool.common.base.BaseService;
import com.ydool.common.data.dto.AjaxResult;
import com.ydool.staff.entity.CompanyName;
import com.ydool.staff.entity.Personnel;
import com.ydool.staff.entity.Recruitment;
import com.ydool.staff.mapper.CompanyNameMapper;
import com.ydool.staff.mapper.PersonnelMapper;
import com.ydool.staff.mapper.RecruitmentMapper;
import com.ydool.staff.request.CompanyNameRequest;
import com.ydool.staff.service.ICompanyNameService;
@ -31,6 +33,8 @@ public class CompanyNameServiceImpl extends BaseService<CompanyNameMapper, Compa
CompanyNameMapper companyNameMapper;
@Autowired
RecruitmentMapper recruitmentMapper;
@Autowired
PersonnelMapper personnelMapper;
@Override
public AjaxResult companyList() {
@ -39,7 +43,9 @@ public class CompanyNameServiceImpl extends BaseService<CompanyNameMapper, Compa
@Override
public AjaxResult companyName(String id) {
return AjaxResult.ok().data(companyNameMapper.selectOne(new LambdaQueryWrapper<CompanyName>().eq(CompanyName::getId, id)));
CompanyName companyName = companyNameMapper.selectOne(new LambdaQueryWrapper<CompanyName>().eq(CompanyName::getId, id));
companyName.setActiveStaff(Long.valueOf(personnelMapper.selectCount(new LambdaQueryWrapper<Personnel>().eq(Personnel::getWorkState, "在职").eq(Personnel::getCompanyName, id))));
return AjaxResult.ok().data(companyName);
}
@Override

View File

@ -36,6 +36,10 @@ public class OrganizationServiceImpl extends BaseService<OrganizationMapper, Org
UserMapper userMapper;
@Autowired
CompanyNameMapper companyNameMapper;
@Autowired
PersonnelIndicatorsMapper personnelIndicatorsMapper;
@Autowired
RecruitmentMapper recruitmentMapper;
@Override
public AjaxResult selectOrganizationList(Page<Organization> page, OrganizationSearch organizationSearch) {
@ -45,7 +49,6 @@ public class OrganizationServiceImpl extends BaseService<OrganizationMapper, Org
organizationLambdaQueryWrapper.eq(Organization::getType, organizationSearch.getType());
Page<Organization> selectPage = organizationMapper.selectPage(page, organizationLambdaQueryWrapper);
for (Organization record : selectPage.getRecords()) {
record.setUpdatedName(userMapper.selectById(record.getUpdatedId()).getUserName());
record.setCompanyId(companyNameMapper.selectById(record.getCompanyId()).getCompanyName());
}
return AjaxResult.ok().data(selectPage);
@ -59,7 +62,12 @@ public class OrganizationServiceImpl extends BaseService<OrganizationMapper, Org
return AjaxResult.fail().msg("Id不能为空");
} else {
int i = organizationMapper.deleteBatchIds(asList);
return i > 0 ? AjaxResult.ok().msg("删除成功!") : AjaxResult.fail().msg("删除失败!");
if (i > 0) {
personnelIndicatorsMapper.delete(new LambdaQueryWrapper<PersonnelIndicators>().in(PersonnelIndicators::getOrganizationId, asList));
recruitmentMapper.delete(new LambdaQueryWrapper<Recruitment>().in(Recruitment::getCompanyId, asList));
return AjaxResult.ok().msg("删除成功!");
}
return AjaxResult.fail().msg("删除失败!");
}
}
}

View File

@ -10,6 +10,7 @@ import com.ydool.common.base.BaseService;
import com.ydool.staff.entity.PersonnelIndicators;
import com.ydool.staff.mapper.OrganizationMapper;
import com.ydool.staff.mapper.PersonnelIndicatorsMapper;
import com.ydool.staff.mapper.PersonnelMapper;
import com.ydool.staff.request.OrganizationRequest;
import com.ydool.staff.request.PersonnelIndicatorsRequest;
import com.ydool.staff.service.IPersonnelIndicatorsService;
@ -33,6 +34,8 @@ public class PersonnelIndicatorsServiceImpl extends BaseService<PersonnelIndicat
PersonnelIndicatorsMapper personnelIndicatorsMapper;
@Autowired
OrganizationMapper organizationMapper;
@Autowired
PersonnelMapper personnelMapper;
@Override
public AjaxResult savePersonnelIndicators(PersonnelIndicatorsRequest personnelIndicatorsRequest) {
@ -53,15 +56,22 @@ public class PersonnelIndicatorsServiceImpl extends BaseService<PersonnelIndicat
@Override
public AjaxResult selectPersonnelIndicatorsById(String id) {
Organization companyName = organizationMapper.selectById(id);
if (ObjectUtil.isNull(companyName)) {
Organization organization = organizationMapper.selectById(id);
if (ObjectUtil.isNull(organization)) {
return AjaxResult.fail().msg("未找到相关信息!");
}
List<PersonnelIndicators> personnelIndicators = personnelIndicatorsMapper.selectList(new LambdaQueryWrapper<PersonnelIndicators>().eq(PersonnelIndicators::getOrganizationId, companyName.getId()));
List<PersonnelIndicators> personnelIndicators = personnelIndicatorsMapper.selectList(new LambdaQueryWrapper<PersonnelIndicators>().eq(PersonnelIndicators::getOrganizationId, organization.getId()));
PersonnelIndicatorsDto recruitmentRequest = new PersonnelIndicatorsDto();
recruitmentRequest.setOrganization(companyName);
organization.setActiveStaff((getPersonnelCount()));
recruitmentRequest.setOrganization(organization);
recruitmentRequest.setPersonnelIndicators(personnelIndicators);
return AjaxResult.ok().data(recruitmentRequest);
}
private Long getPersonnelCount() {
return Long.valueOf(personnelMapper.selectCount(new LambdaQueryWrapper<Personnel>().eq(Personnel::getWorkState, "在职")));
}
}

View File

@ -327,6 +327,7 @@ public class PersonnelServiceImpl extends BaseService<PersonnelMapper, Personnel
dto.setName(attachment.getName());
dto.setPath(attachment.getPath());
dto.setSize(attachment.getSize());
dto.setSuffix(attachment.getSuffix());
attachmentDtos.add(dto);
}
}

View File

@ -7,10 +7,12 @@ import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.ydool.common.data.dto.AjaxResult;
import com.ydool.staff.dto.RecruitmentDto;
import com.ydool.staff.entity.Organization;
import com.ydool.staff.entity.Personnel;
import com.ydool.staff.entity.Recruitment;
import com.ydool.common.base.BaseService;
import com.ydool.staff.mapper.CompanyNameMapper;
import com.ydool.staff.mapper.OrganizationMapper;
import com.ydool.staff.mapper.PersonnelMapper;
import com.ydool.staff.mapper.RecruitmentMapper;
import com.ydool.staff.request.OrganizationRequest;
import com.ydool.staff.request.RecruitmentRequest;
@ -37,12 +39,13 @@ public class RecruitmentServiceImpl extends BaseService<RecruitmentMapper, Recru
@Autowired
RecruitmentMapper recruitmentMapper;
@Autowired
CompanyNameMapper companyNameMapper;
PersonnelMapper personnelMapper;
@Autowired
OrganizationMapper organizationMapper;
/**
* 人员招聘登记
*
* @param recruitmentRequest
* @return
*/
@ -79,16 +82,21 @@ public class RecruitmentServiceImpl extends BaseService<RecruitmentMapper, Recru
@Override
public AjaxResult selectRecruitmentById(String id) {
Organization recruitment = organizationMapper.selectById(id);
if (ObjectUtil.isNull(recruitment)) {
Organization organization = organizationMapper.selectById(id);
if (ObjectUtil.isNull(organization)) {
return AjaxResult.fail().msg("未找到相关信息!");
}
List<Recruitment> recruitments = recruitmentMapper.selectList(new LambdaQueryWrapper<Recruitment>().eq(Recruitment::getCompanyId, recruitment.getId()));
List<Recruitment> recruitments = recruitmentMapper.selectList(new LambdaQueryWrapper<Recruitment>().eq(Recruitment::getCompanyId, organization.getId()));
RecruitmentDto recruitmentRequest = new RecruitmentDto();
recruitmentRequest.setOrganization(recruitment);
organization.setActiveStaff(getPersonnelCount());
recruitmentRequest.setOrganization(organization);
recruitmentRequest.setRecruitments(recruitments);
return AjaxResult.ok().data(recruitmentRequest);
}
private Long getPersonnelCount() {
return Long.valueOf(personnelMapper.selectCount(new LambdaQueryWrapper<Personnel>().eq(Personnel::getWorkState, "在职")));
}
}

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

View File

@ -1 +0,0 @@
import"./index-aa480384.js";import"./index-a16ff794.js";import"./Upload-02c019f0.js";import{aB as _,j as d,o as a,k as n,l as i,F as u,G as m,m as p,p as v,u as b,n as y,A as f}from"./_plugin-vue_export-helper-eeee8477.js";const k={class:"entDeclaration"},g={class:"entDeclaration-nav"},h=["onClick"],x={class:"entDeclaration-main"},A={__name:"Tab",props:{tabList:{type:Array,required:!0,default:()=>[]},isActive:{type:String,default:""}},emits:["clickItem"],setup(e,{emit:c}){const o=e,r=d(()=>t=>o.tabList.length-t);return(t,D)=>(a(),n("section",k,[i("nav",g,[(a(!0),n(u,null,m(e.tabList,(s,l)=>(a(),n("div",{style:v({zIndex:b(r)(l)}),class:y(["entDeclaration-nav-item",e.isActive===s?"active":""]),onClick:I=>c("clickItem",s)},f(s),15,h))),256))]),i("main",x,[p(t.$slots,"default",{isActive:e.isActive},void 0,!0)])]))}},T=_(A,[["__scopeId","data-v-441b1381"]]);export{T};

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

View File

@ -1 +0,0 @@
import{v as z,z as f}from"./focus-trap-8e30bec7.js";import{L as h}from"./index-aa480384.js";import{c as v}from"./index-a16ff794.js";import{aB as A,b as w,w as D,r as s,o as c,k as p,B as n,t as d,z as L,v as N,l as y,F as S,G as q,A as E,y as I}from"./_plugin-vue_export-helper-eeee8477.js";const R={class:"upload"},T={class:"empty"},$=["onClick"],j={__name:"Upload",props:{modelValue:{}},emits:["update:modelValue"],setup(C,{emit:i}){const r=C;w([]);const t=w([]),k=e=>!0,u=e=>v(e),V=e=>v(e);D(()=>r.modelValue,e=>{if(e===""||e===void 0||!Array.isArray(e))return t.value=[];t.value=V(r.modelValue)},{immediate:!0});const b=e=>{let l=e.file;const a=new FormData;a.append("file",l),h.post("/api/attachment/upload",a).then(o=>{o.code==200&&(t.value.push({name:o.data.name,path:o.data.path,size:l.size}),i("update:modelValue",u(t.value)),console.log(r.modelValue,t.value))})},F=e=>{t.value.splice(e,1),i("update:modelValue",u(t.value))},U=e=>{h.downloadFile("/api/person/download",{params:{fileName:e.name,path:e.path},responseType:"blob"}).then(l=>{const a=window.URL.createObjectURL(l),o=document.createElement("a");o.download=e.name,o.href=a,o.click()})};return(e,l)=>{const a=s("el-button"),o=s("el-upload"),g=s("CircleCloseFilled"),x=s("el-icon");return c(),p("div",R,[n(o,{"show-file-list":!1,"before-upload":k,"http-request":b},{default:d(()=>[n(a,{type:"primary",plain:""},{default:d(()=>[L("选择文件")]),_:1})]),_:1}),N(y("span",T,"未选择任何文件",512),[[z,t.value.length===0]]),t.value.length>0?(c(!0),p(S,{key:0},q(t.value,(m,_)=>(c(),p("span",{class:"fileBox",key:_,onClick:f(B=>U(m),["stop"])},[y("span",null,E(m.name),1),n(x,{class:"fileBoxDel",size:16,color:"#729880",onClick:f(B=>F(_),["stop"])},{default:d(()=>[n(g)]),_:2},1032,["onClick"])],8,$))),128)):I("",!0)])}}},H=A(j,[["__scopeId","data-v-57c71f5e"]]);export{H as U};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
var o=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function l(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}export{o as c,l as g};

View File

@ -1 +0,0 @@
System.register([],(function(e,t){"use strict";return{execute:function(){e("g",(function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e})),e("c","undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{})}}}));

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
import{_ as B}from"./TableBody-07819356.js";import{y as L}from"./yd_diaInput-965612c1.js";import{L as n,G as d}from"./index-aa480384.js";import{b as m,T as u,d as F,o as x,k as A,B as y,H as q}from"./_plugin-vue_export-helper-eeee8477.js";import"./index-6b5d5250.js";import"./focus-trap-8e30bec7.js";import"./index-a16ff794.js";import"./_commonjsHelpers-725317a4.js";const D={class:"example"},G={__name:"department",setup(E){const p=m(!1),i=u({tableType:{selection:!1,tableLoading:!1,tableIndex:!1,tableTree:!0,tableTreeName:"children",isHiddenPagination:!0,changeHeight:!1},tableHeader:[{buttons:["create","edit","delete"]},{buttons:[{name:"sort",options:[{label:"排序",value:"sortNo"},{label:"创建时间",value:"createdAt"}]},"search"]}],tableList:[{name:"name",label:"部门名称",show:!0},{name:"code",label:"部门编码",show:!0},{name:"remarks",label:"备注",show:!0},{name:"sortNo",label:"排序",show:!0}],tableData:[]}),l=u({value:!1,changeValue:e=>{l.value=e}}),h=u([{type:"treeSelect",title:"上级部门",model:"pid",placeholder:"请选择上级部门",control:!1,row:24,options:[]},{type:"input",title:"部门编码",model:"code",placeholder:"请输入部门编码",control:!1,row:24},{type:"input",title:"部门名称",placeholder:"请输入部门名称",control:!1,model:"name",row:24},{type:"number",title:"排序",model:"sortNo",row:24},{type:"input",title:"备注",control:!1,placeholder:"请输入备注",model:"remarks",row:24}]),b=m({code:"",name:"",pid:"",remarks:"",sortNo:0}),g=m({type:"create",name:"新增",id:""}),v=m({code:[{required:!0,message:"请输入部门编码",trigger:"blur"}],name:[{required:!0,message:"请输入部门名称",trigger:"blur"}]}),r=u({column:void 0,orderBy:void 0,value:void 0}),f=()=>{n.get("/api/dept/tree").then(e=>{e.code==200&&(console.log("res",e),h[0].options=e.data.data)})},s=()=>{i.tableType.tableLoading=!0,n.get("/api/dept/list",r).then(e=>{e.code==200&&(i.tableData=e.data,i.tableType.tableLoading=!1)}).catch(()=>{i.tableType.tableLoading=!1})},k=({type:e,data:t})=>{switch(console.log(e,t),e){case"create":w();break;case"edit":console.log(e,t),T(t);break;case"delete":N(t);break;case"sort":V(t);break;case"search":H(t);break}},N=e=>{const t=e.map(a=>a.id);console.log(t[0]),n.delete("/api/dept/remove",{params:{id:t[0]}}).then(a=>{a.code==200?(d({message:"删除成功",type:"success"}),s(),f()):d({message:a.message,type:"error"})})},_=(e,t,a)=>{if(console.log(e,t,a),e==="create"){let o={...t};t.pid===""&&(o={...o,pid:0}),n.post("/api/dept/save",o).then(c=>{console.log(c),c.code==200?(d({message:c.message,type:"success"}),l.value=!1,s(),f()):d.error(c.message)})}else e==="edit"&&(n.put(`/api/dept/edit?id=${a}`,t).then(o=>{o.code==200?(d({message:o.message,type:"success"}),l.value=!1,s()):d.error(o.message)}),console.log(a))},w=()=>{l.value=!0,g.value={type:"create",name:"新增",id:""},p.value=!1,b.value={code:"",name:"",pid:"",remarks:"",sortNo:0}},T=e=>{const t=e[0].id;p.value=!1,n.get("/api/dept/detail",{id:t}).then(a=>{a.code===200&&(console.log(a),l.value=!0,b.value={paramKey:a.data.paramKey,paramValue:a.data.paramValue,remarks:a.data.remarks,sortNo:a.data.sortNo,code:a.data.data.code,name:a.data.data.name,pid:a.data.data.pid==0?"":a.data.data.pid,remarks:a.data.data.remarks,sortNo:a.data.data.sortNo},g.value={type:"edit",name:"编辑",id:t})})},H=e=>{console.log(e.value),r.value=e.value,s()},V=e=>{e.name===""?(r.orderBy=void 0,r.column=void 0):(r.orderBy=e.sortType,r.column=e.name),s()};return F(()=>{s(),f()}),(e,t)=>(x(),A("div",D,[y(B,q(i,{onHandleTableHeader:k}),null,16),y(L,{inputArray:h,onHandleFrom:_,dialogVisible:l,control:p.value,buttonName:g.value,ruleForm:b.value,rules:v.value,diawidth:25},null,8,["inputArray","dialogVisible","control","buttonName","ruleForm","rules"])]))}};export{G as default};

View File

@ -1 +0,0 @@
System.register(["./TableBody-legacy-1c30511f.js","./yd_diaInput-legacy-6f87928f.js","./index-legacy-5255d1a2.js","./_plugin-vue_export-helper-legacy-92dd76f5.js","./index-legacy-93823f3c.js","./focus-trap-legacy-8cbfa7f8.js","./index-legacy-5f7204fb.js","./_commonjsHelpers-legacy-16634a03.js"],(function(e,a){"use strict";var t,l,o,r,s,d,n,i,c,u,p;return{setters:[e=>{t=e._},e=>{l=e.y},e=>{o=e.L,r=e.G},e=>{s=e.b,d=e.T,n=e.d,i=e.o,c=e.k,u=e.B,p=e.H},null,null,null,null],execute:function(){const a={class:"example"};e("default",{__name:"department",setup(e){const m=s(!1),g=d({tableType:{selection:!1,tableLoading:!1,tableIndex:!1,tableTree:!0,tableTreeName:"children",isHiddenPagination:!0,changeHeight:!1},tableHeader:[{buttons:["create","edit","delete"]},{buttons:[{name:"sort",options:[{label:"排序",value:"sortNo"},{label:"创建时间",value:"createdAt"}]},"search"]}],tableList:[{name:"name",label:"部门名称",show:!0},{name:"code",label:"部门编码",show:!0},{name:"remarks",label:"备注",show:!0},{name:"sortNo",label:"排序",show:!0}],tableData:[]}),b=d({value:!1,changeValue:e=>{b.value=e}}),y=d([{type:"treeSelect",title:"上级部门",model:"pid",placeholder:"请选择上级部门",control:!1,row:24,options:[]},{type:"input",title:"部门编码",model:"code",placeholder:"请输入部门编码",control:!1,row:24},{type:"input",title:"部门名称",placeholder:"请输入部门名称",control:!1,model:"name",row:24},{type:"number",title:"排序",model:"sortNo",row:24},{type:"input",title:"备注",control:!1,placeholder:"请输入备注",model:"remarks",row:24}]),v=s({code:"",name:"",pid:"",remarks:"",sortNo:0}),h=s({type:"create",name:"新增",id:""}),k=s({code:[{required:!0,message:"请输入部门编码",trigger:"blur"}],name:[{required:!0,message:"请输入部门名称",trigger:"blur"}]}),N=d({column:void 0,orderBy:void 0,value:void 0}),w=()=>{o.get("/api/dept/tree").then((e=>{200==e.code&&(console.log("res",e),y[0].options=e.data.data)}))},T=()=>{g.tableType.tableLoading=!0,o.get("/api/dept/list",N).then((e=>{200==e.code&&(g.tableData=e.data,g.tableType.tableLoading=!1)})).catch((()=>{g.tableType.tableLoading=!1}))},j=({type:e,data:a})=>{switch(console.log(e,a),e){case"create":_();break;case"edit":console.log(e,a),B(a);break;case"delete":H(a);break;case"sort":f(a);break;case"search":L(a)}},H=e=>{const a=e.map((e=>e.id));console.log(a[0]),o.delete("/api/dept/remove",{params:{id:a[0]}}).then((e=>{200==e.code?(r({message:"删除成功",type:"success"}),T(),w()):r({message:e.message,type:"error"})}))},x=(e,a,t)=>{if(console.log(e,a,t),"create"===e){let e={...a};""===a.pid&&(e={...e,pid:0}),o.post("/api/dept/save",e).then((e=>{console.log(e),200==e.code?(r({message:e.message,type:"success"}),b.value=!1,T(),w()):r.error(e.message)}))}else"edit"===e&&(o.put(`/api/dept/edit?id=${t}`,a).then((e=>{200==e.code?(r({message:e.message,type:"success"}),b.value=!1,T()):r.error(e.message)})),console.log(t))},_=()=>{b.value=!0,h.value={type:"create",name:"新增",id:""},m.value=!1,v.value={code:"",name:"",pid:"",remarks:"",sortNo:0}},B=e=>{const a=e[0].id;m.value=!1,o.get("/api/dept/detail",{id:a}).then((e=>{200===e.code&&(console.log(e),b.value=!0,v.value={paramKey:e.data.paramKey,paramValue:e.data.paramValue,remarks:e.data.remarks,sortNo:e.data.sortNo,code:e.data.data.code,name:e.data.data.name,pid:0==e.data.data.pid?"":e.data.data.pid,remarks:e.data.data.remarks,sortNo:e.data.data.sortNo},h.value={type:"edit",name:"编辑",id:a})}))},L=e=>{console.log(e.value),N.value=e.value,T()},f=e=>{""===e.name?(N.orderBy=void 0,N.column=void 0):(N.orderBy=e.sortType,N.column=e.name),T()};return n((()=>{T(),w()})),(e,o)=>(i(),c("div",a,[u(t,p(g,{onHandleTableHeader:j}),null,16),u(l,{inputArray:y,onHandleFrom:x,dialogVisible:b,control:m.value,buttonName:h.value,ruleForm:v.value,rules:k.value,diawidth:25},null,8,["inputArray","dialogVisible","control","buttonName","ruleForm","rules"])]))}})}}}));

View File

@ -1 +0,0 @@
import{_ as w}from"./TableBody-07819356.js";import{y as j}from"./yd_diaInput-965612c1.js";import{K as f}from"./index-aa480384.js";import{b as o,T as s,d as _,o as T,k,B as u,H as x}from"./_plugin-vue_export-helper-eeee8477.js";import"./index-6b5d5250.js";import"./focus-trap-8e30bec7.js";import"./index-a16ff794.js";import"./_commonjsHelpers-725317a4.js";const V={class:"example"},D={__name:"desTarget",setup(H){const l=f(),r=o(!1),i=s({tableType:{selection:!0,tableLoading:!1,tableIndex:!1},tableHeader:[{buttons:[{type:"custom",name:"create",title:"新增登记",icon:"Plus"},"edit","delete"]},{buttons:[{name:"sort",options:[{label:"按企业名称",value:1},{label:"按姓名",value:2}]},{name:"mixInput",options:[{label:1,value:1},{label:1,value:1}]},"advanced"]}],tableList:[{name:"qymc",label:"企业名称",show:!0,width:200},{name:"spdh",label:"审批单号",show:!0},{name:"yhdy",label:"原核定用工指标人数",show:!0},{name:"xzzr",label:"现在职人数(指标内)",show:!0},{name:"bchz",label:"本次核准后总指标人数",show:!0},{name:"tbr",label:"填报人",show:!0},{name:"tbsj",label:"填报时间",show:!0},{name:"csr",label:"初审人",show:!0},{name:"cssj",label:"初审时间",show:!0},{name:"tbsj",label:"填报时间",show:!0},{name:"gzhsr",label:"国资会审人",show:!0},{name:"gzhssj",label:"国资会审时间",show:!0},{name:"bbhs",label:"编办会审人",show:!0}],tableData:[{qymc:"象山县粮食收储有限公司",spdh:"2016110004",yhdy:"108",xzzr:"93",bchz:"93",tbr:"王濛主",tbsj:"2021-12-24",csr:"王濛主",cssj:"2021-12-24",gzhsr:"王濛主",gzhssj:"2021-12-24",bbhs:"王濛主"},{qymc:"象山县粮食收储有限公司",spdh:"2016110004",yhdy:"108",xzzr:"93",bchz:"93",tbr:"王濛主",tbsj:"2021-12-24",csr:"王濛主",cssj:"2021-12-24",gzhsr:"王濛主",gzhssj:"2021-12-24",bbhs:"王濛主"},{qymc:"象山县粮食收储有限公司",spdh:"2016110004",yhdy:"108",xzzr:"93",bchz:"93",tbr:"王濛主",tbsj:"2021-12-24",csr:"王濛主",cssj:"2021-12-24",gzhsr:"王濛主",gzhssj:"2021-12-24",bbhs:"王濛主"},{qymc:"象山县粮食收储有限公司",spdh:"2016110004",yhdy:"108",xzzr:"93",bchz:"93",tbr:"王濛主",tbsj:"2021-12-24",csr:"王濛主",cssj:"2021-12-24",gzhsr:"王濛主",gzhssj:"2021-12-24",bbhs:"王濛主"}],pagination:{pageSize:10,current:1,total:100}}),t=s({value:!1,changeValue:e=>{t.value=e}}),b=s([{type:"input",title:"企业名称",model:"firmName",placeholder:"请输入",row:24,control:!0,options:[{lable:"大于",value:"大于"},{lable:"小于",value:"小于"}],optionsValue:"updataOption",SetectPla:"请选择"},{type:"input",title:"审批单号",model:"name",row:24,control:!0,placeholder:"请输入",options:[{lable:"大于",value:"大于"},{lable:"小于",value:"小于"}],optionsValue:"updataOption",SetectPla:"请选择"},{type:"select",title:"单据状态",model:"status",row:24,placeholder:"选择",options:[{lable:"大于",value:"大于"},{lable:"小于",value:"小于"}]},{type:"datetime",title:"填报开始时间",row:24,control:!0,model:"startTime",placeholder:"请选择",options:[{lable:"大于",value:"大于"},{lable:"小于",value:"小于"}],optionsValue:"updataOption"},{type:"datetime",title:"填报结束时间",row:24,control:!0,model:"endTime",placeholder:"请选择",options:[{lable:"大于",value:"大于"},{lable:"小于",value:"小于"}],optionsValue:"updataOption"}]),n=o({firmName:"",name:"",status:"",startTime:"",endTime:""}),c=o({type:"create",name:"新增",id:""}),d=({type:e,data:a})=>{switch(e){case"create":y();break;case"submission":console.log(e,a);break;case"edit":console.log(e,a),z();break;case"delete":console.log(e,a),p(a);break;case"advanced":console.log(e,a),v();break;case"accessory":console.log(e,a),h(a);break}},m=e=>{console.log(e)},h=e=>{console.log("val",e),l.push("/grain/detals")},p=e=>{e.map(a=>a.id)},g=(e,a,N)=>{},v=()=>{t.value=!0,c.value={type:"adsearch",name:"查询",id:""},r.value=!0,n.value={name:"",paramKey:"",paramValue:"",remarks:"",sortNo:0}},y=()=>{l.push("/grain/des-target-add")},z=e=>{l.push("/grain/des-target-add")};return _(()=>{}),(e,a)=>(T(),k("div",V,[u(w,x(i,{onHandleTableHeader:d,onHandleTablePagination:m}),null,16),u(j,{inputArray:b,onHandleFrom:g,dialogVisible:t,control:r.value,buttonName:c.value,ruleForm:n.value,diawidth:30},null,8,["inputArray","dialogVisible","control","buttonName","ruleForm"])]))}};export{D as default};

View File

@ -1 +0,0 @@
System.register(["./TableBody-legacy-1c30511f.js","./yd_diaInput-legacy-6f87928f.js","./index-legacy-5255d1a2.js","./_plugin-vue_export-helper-legacy-92dd76f5.js","./index-legacy-93823f3c.js","./focus-trap-legacy-8cbfa7f8.js","./index-legacy-5f7204fb.js","./_commonjsHelpers-legacy-16634a03.js"],(function(e,a){"use strict";var l,t,s,o,n,r,c,b,i,u;return{setters:[e=>{l=e._},e=>{t=e.y},e=>{s=e.K},e=>{o=e.b,n=e.T,r=e.d,c=e.o,b=e.k,i=e.B,u=e.H},null,null,null,null],execute:function(){const a={class:"example"};e("default",{__name:"desTarget",setup(e){const d=s(),p=o(!1),m=n({tableType:{selection:!0,tableLoading:!1,tableIndex:!1},tableHeader:[{buttons:[{type:"custom",name:"create",title:"新增登记",icon:"Plus"},"edit","delete"]},{buttons:[{name:"sort",options:[{label:"按企业名称",value:1},{label:"按姓名",value:2}]},{name:"mixInput",options:[{label:1,value:1},{label:1,value:1}]},"advanced"]}],tableList:[{name:"qymc",label:"企业名称",show:!0,width:200},{name:"spdh",label:"审批单号",show:!0},{name:"yhdy",label:"原核定用工指标人数",show:!0},{name:"xzzr",label:"现在职人数(指标内)",show:!0},{name:"bchz",label:"本次核准后总指标人数",show:!0},{name:"tbr",label:"填报人",show:!0},{name:"tbsj",label:"填报时间",show:!0},{name:"csr",label:"初审人",show:!0},{name:"cssj",label:"初审时间",show:!0},{name:"tbsj",label:"填报时间",show:!0},{name:"gzhsr",label:"国资会审人",show:!0},{name:"gzhssj",label:"国资会审时间",show:!0},{name:"bbhs",label:"编办会审人",show:!0}],tableData:[{qymc:"象山县粮食收储有限公司",spdh:"2016110004",yhdy:"108",xzzr:"93",bchz:"93",tbr:"王濛主",tbsj:"2021-12-24",csr:"王濛主",cssj:"2021-12-24",gzhsr:"王濛主",gzhssj:"2021-12-24",bbhs:"王濛主"},{qymc:"象山县粮食收储有限公司",spdh:"2016110004",yhdy:"108",xzzr:"93",bchz:"93",tbr:"王濛主",tbsj:"2021-12-24",csr:"王濛主",cssj:"2021-12-24",gzhsr:"王濛主",gzhssj:"2021-12-24",bbhs:"王濛主"},{qymc:"象山县粮食收储有限公司",spdh:"2016110004",yhdy:"108",xzzr:"93",bchz:"93",tbr:"王濛主",tbsj:"2021-12-24",csr:"王濛主",cssj:"2021-12-24",gzhsr:"王濛主",gzhssj:"2021-12-24",bbhs:"王濛主"},{qymc:"象山县粮食收储有限公司",spdh:"2016110004",yhdy:"108",xzzr:"93",bchz:"93",tbr:"王濛主",tbsj:"2021-12-24",csr:"王濛主",cssj:"2021-12-24",gzhsr:"王濛主",gzhssj:"2021-12-24",bbhs:"王濛主"}],pagination:{pageSize:10,current:1,total:100}}),h=n({value:!1,changeValue:e=>{h.value=e}}),y=n([{type:"input",title:"企业名称",model:"firmName",placeholder:"请输入",row:24,control:!0,options:[{lable:"大于",value:"大于"},{lable:"小于",value:"小于"}],optionsValue:"updataOption",SetectPla:"请选择"},{type:"input",title:"审批单号",model:"name",row:24,control:!0,placeholder:"请输入",options:[{lable:"大于",value:"大于"},{lable:"小于",value:"小于"}],optionsValue:"updataOption",SetectPla:"请选择"},{type:"select",title:"单据状态",model:"status",row:24,placeholder:"选择",options:[{lable:"大于",value:"大于"},{lable:"小于",value:"小于"}]},{type:"datetime",title:"填报开始时间",row:24,control:!0,model:"startTime",placeholder:"请选择",options:[{lable:"大于",value:"大于"},{lable:"小于",value:"小于"}],optionsValue:"updataOption"},{type:"datetime",title:"填报结束时间",row:24,control:!0,model:"endTime",placeholder:"请选择",options:[{lable:"大于",value:"大于"},{lable:"小于",value:"小于"}],optionsValue:"updataOption"}]),g=o({firmName:"",name:"",status:"",startTime:"",endTime:""}),v=o({type:"create",name:"新增",id:""}),z=({type:e,data:a})=>{switch(e){case"create":k();break;case"submission":console.log(e,a);break;case"edit":console.log(e,a),H();break;case"delete":console.log(e,a),x(a);break;case"advanced":console.log(e,a),V();break;case"accessory":console.log(e,a),w(a)}},j=e=>{console.log(e)},w=e=>{console.log("val",e),d.push("/grain/detals")},x=e=>{e.map((e=>e.id))},T=(e,a,l)=>{},V=()=>{h.value=!0,v.value={type:"adsearch",name:"查询",id:""},p.value=!0,g.value={name:"",paramKey:"",paramValue:"",remarks:"",sortNo:0}},k=()=>{d.push("/grain/des-target-add")},H=e=>{d.push("/grain/des-target-add")};return r((()=>{})),(e,s)=>(c(),b("div",a,[i(l,u(m,{onHandleTableHeader:z,onHandleTablePagination:j}),null,16),i(t,{inputArray:y,onHandleFrom:T,dialogVisible:h,control:p.value,buttonName:v.value,ruleForm:g.value,diawidth:30},null,8,["inputArray","dialogVisible","control","buttonName","ruleForm"])]))}})}}}));

View File

@ -1 +0,0 @@
import{U as B}from"./Upload-02c019f0.js";import{aB as C,b as T,T as b,r as s,o as U,k as g,B as l,t as n,l as o,F as I,G as S,z as x,A as N,aC as D,aD as R}from"./_plugin-vue_export-helper-eeee8477.js";import"./focus-trap-8e30bec7.js";import"./index-aa480384.js";import"./index-a16ff794.js";import"./_commonjsHelpers-725317a4.js";const c=p=>(D("data-v-4488e73c"),p=p(),R(),p),$={class:"tab-content"},q={class:"recruit-add-table-container"},z=c(()=>o("thead",null,[o("tr",null,[o("th",{class:"ratc-ind"}),o("th",{class:"ratc-content"},"所属部门"),o("th",{class:"ratc-content"},"职务岗位"),o("th",{class:"ratc-content"},"增加指标说明"),o("th",{class:"ratc-content"},"要求增加指标人数"),o("th",{class:"ratc-content"},"核准指标人数")])],-1)),G={class:"ratc-ind"},L=c(()=>o("tr",null,[o("th",{class:"ratc-ind"}),o("th",null,"合计"),o("th"),o("th"),o("th",null,"3"),o("th")],-1)),P={__name:"desTargetAdd",setup(p){const i=T(),t=b({name:""}),v=b({name:[{required:!0,message:"Please input Activity name",trigger:"blur"}]}),y=async r=>{r&&await r.validate((e,d)=>{e?console.log("submit!"):console.log("error submit!",d)})},w=r=>{r&&r.resetFields()};return(r,e)=>{const d=s("el-input"),u=s("el-form-item"),V=s("el-col"),_=s("el-option"),F=s("el-select"),k=s("el-row"),f=s("el-button"),A=s("el-form");return U(),g("div",$,[l(A,{ref_key:"ruleFormRef",ref:i,model:t,rules:v,"label-width":"208px"},{default:n(()=>[l(k,null,{default:n(()=>[l(V,{span:12},{default:n(()=>[l(u,{label:"统一社会信用代码:",prop:"name"},{default:n(()=>[l(d,{modelValue:t.name,"onUpdate:modelValue":e[0]||(e[0]=a=>t.name=a)},null,8,["modelValue"])]),_:1}),l(u,{label:"审批单号:",prop:"name"},{default:n(()=>[l(d,{modelValue:t.name,"onUpdate:modelValue":e[1]||(e[1]=a=>t.name=a)},null,8,["modelValue"])]),_:1}),l(u,{label:"现在职人数(指标内)",prop:"name"},{default:n(()=>[l(d,{modelValue:t.name,"onUpdate:modelValue":e[2]||(e[2]=a=>t.name=a)},null,8,["modelValue"])]),_:1})]),_:1}),l(V,{span:12},{default:n(()=>[l(u,{label:"企业名称:",prop:"name"},{default:n(()=>[l(d,{modelValue:t.name,"onUpdate:modelValue":e[3]||(e[3]=a=>t.name=a)},null,8,["modelValue"])]),_:1}),l(u,{label:"原核定用工指标人数:",prop:"name"},{default:n(()=>[l(d,{modelValue:t.name,"onUpdate:modelValue":e[4]||(e[4]=a=>t.name=a)},null,8,["modelValue"])]),_:1}),l(u,{label:"本次核准后总指标人数:",prop:"name"},{default:n(()=>[l(d,{modelValue:t.name,"onUpdate:modelValue":e[5]||(e[5]=a=>t.name=a)},null,8,["modelValue"])]),_:1})]),_:1}),l(V,{span:24},{default:n(()=>[l(u,{label:"备注:"},{default:n(()=>[l(d,{modelValue:t.name,"onUpdate:modelValue":e[6]||(e[6]=a=>t.name=a)},null,8,["modelValue"])]),_:1}),l(u,{label:"相关附件:"},{default:n(()=>[l(B,{modelValue:t.name,"onUpdate:modelValue":e[7]||(e[7]=a=>t.name=a)},null,8,["modelValue"])]),_:1}),o("div",q,[o("table",null,[z,o("tbody",null,[(U(),g(I,null,S(3,a=>o("tr",null,[o("td",G,N(a),1),o("td",null,[l(F,{modelValue:t.name,"onUpdate:modelValue":e[8]||(e[8]=m=>t.name=m),placeholder:"请选择"},{default:n(()=>[l(_,{label:"1",value:"1"}),l(_,{label:"2",value:"2"})]),_:1},8,["modelValue"])]),o("td",null,[l(d,{modelValue:t.name,"onUpdate:modelValue":e[9]||(e[9]=m=>t.name=m)},null,8,["modelValue"])]),o("td",null,[l(d,{modelValue:t.name,"onUpdate:modelValue":e[10]||(e[10]=m=>t.name=m)},null,8,["modelValue"])]),o("td",null,[l(d,{modelValue:t.name,"onUpdate:modelValue":e[11]||(e[11]=m=>t.name=m)},null,8,["modelValue"])]),o("td",null,[l(d,{modelValue:t.name,"onUpdate:modelValue":e[12]||(e[12]=m=>t.name=m)},null,8,["modelValue"])])])),64)),L])])]),l(u,{label:"初审意见:",style:{height:"80px","line-height":"80px"}},{default:n(()=>[l(d,{modelValue:t.name,"onUpdate:modelValue":e[13]||(e[13]=a=>t.name=a),rows:3,type:"textarea"},null,8,["modelValue"])]),_:1}),l(u,{label:"国资意见:",style:{height:"80px","line-height":"80px"}},{default:n(()=>[l(d,{modelValue:t.name,"onUpdate:modelValue":e[14]||(e[14]=a=>t.name=a),rows:3,type:"textarea"},null,8,["modelValue"])]),_:1}),l(u,{label:"编办意见:",style:{height:"80px","line-height":"80px"}},{default:n(()=>[l(d,{modelValue:t.name,"onUpdate:modelValue":e[15]||(e[15]=a=>t.name=a),rows:3,type:"textarea"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),l(u,{class:"fixed-form-item"},{default:n(()=>[l(f,{type:"primary",onClick:e[16]||(e[16]=a=>y(i.value))},{default:n(()=>[x(" 提交 ")]),_:1}),l(f,{onClick:e[17]||(e[17]=a=>w(i.value))},{default:n(()=>[x("重置")]),_:1})]),_:1})]),_:1},8,["model","rules"])])}}},O=C(P,[["__scopeId","data-v-4488e73c"]]);export{O 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

View File

@ -1 +0,0 @@
import{U as N}from"./Upload-02c019f0.js";import{aB as P,b as o,T as g,J as R,r as s,o as S,k as T,B as e,t as a,z as p,l as b}from"./_plugin-vue_export-helper-eeee8477.js";import"./focus-trap-8e30bec7.js";import"./index-aa480384.js";import"./index-a16ff794.js";import"./_commonjsHelpers-725317a4.js";const H={class:"ParMain"},j={class:"tab-content"},A={class:"dialog-footer"},D={__name:"details",setup(I){const _=o(4),c=o(100),v=o(!1),y=o(!1),k=o(!1),f=o(0);o("");const h=o(),u=g({name:""}),C=g({name:[{required:!0,message:"Please input Activity name",trigger:"blur"}]}),i=o(!1),x=[{name:"池武丹",lastname:"张三",address:"2021-12-24 00:00:00",status:"pdf",qiye:"附件一号"},{name:"池武丹",lastname:"李四",address:"2021-12-24 00:00:00",status:"pdf",qiye:"附件二号"},{name:"池武丹",lastname:"张三",address:"2021-12-24 00:00:00",status:"pdf",qiye:"附件三号"}],m=()=>{i.value=!0},z=n=>{console.log(`${n} items per page`)},V=n=>{console.log(`current page: ${n}`)};return R(()=>{f.value=window.innerHeight-320}),(n,l)=>{const r=s("el-table-column"),d=s("el-button"),q=s("el-table"),w=s("el-pagination"),U=s("el-form-item"),B=s("el-col"),F=s("el-row"),$=s("el-form"),E=s("el-dialog");return S(),T("div",H,[e(q,{data:x,"default-sort":{prop:"date",order:"descending"},height:f.value,style:{width:"100%"},"header-cell-style":{background:"#EEF1F4"}},{default:a(()=>[e(r,{prop:"qiye",label:"附件名称",sortable:""}),e(r,{prop:"status",label:"文件类型",sortable:""}),e(r,{prop:"name",label:"上传人",sortable:""}),e(r,{prop:"lastname",label:"最后修改人",sortable:""}),e(r,{prop:"address",label:"最后修改日期",sortable:""}),e(r,{fixed:"right",label:"操作"},{default:a(()=>[e(d,{link:"",type:"primary",size:"large",onClick:m,style:{"margin-right":"36px"}},{default:a(()=>[p("修改")]),_:1}),e(d,{link:"",type:"primary",size:"large",onClick:m,style:{"margin-right":"36px"}},{default:a(()=>[p("删除")]),_:1}),e(d,{link:"",type:"primary",size:"large",onClick:m},{default:a(()=>[p("附件")]),_:1})]),_:1})]),_:1},8,["height"]),e(w,{style:{"margin-top":"100px"},"current-page":_.value,"onUpdate:current-page":l[0]||(l[0]=t=>_.value=t),"page-size":c.value,"onUpdate:page-size":l[1]||(l[1]=t=>c.value=t),"page-sizes":[100,200,300,400],small:v.value,disabled:k.value,background:y.value,layout:"->,total, prev, pager, next, jumper",total:400,onSizeChange:z,onCurrentChange:V},null,8,["current-page","page-size","small","disabled","background"]),e(E,{modelValue:i.value,"onUpdate:modelValue":l[5]||(l[5]=t=>i.value=t),title:"人员选调",width:"60%"},{footer:a(()=>[b("span",A,[e(d,{type:"primary",onClick:l[3]||(l[3]=t=>i.value=!1)},{default:a(()=>[p("保存")]),_:1}),e(d,{onClick:l[4]||(l[4]=t=>i.value=!1)},{default:a(()=>[p("关闭")]),_:1})])]),default:a(()=>[b("div",j,[e($,{ref_key:"ruleFormRef",ref:h,model:u,rules:C,"label-width":"180px",disabled:n.disabledVal,"hide-required-asterisk":n.hideRequired},{default:a(()=>[e(F,null,{default:a(()=>[e(B,{span:12},{default:a(()=>[e(U,{label:"相关附件:"},{default:a(()=>[e(N,{modelValue:u.name,"onUpdate:modelValue":l[2]||(l[2]=t=>u.name=t)},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules","disabled","hide-required-asterisk"])])]),_:1},8,["modelValue"])])}}},Q=P(D,[["__scopeId","data-v-f247ff62"]]);export{Q as default};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
import{aB as k,b as t,J as C,r as s,o as z,k as j,B as e,t as o,z as _}from"./_plugin-vue_export-helper-eeee8477.js";const w={class:"ParMain"},I={__name:"detailsIndex",setup(P){const d=t(4),p=t(100),g=t(!1),m=t(!1),b=t(!1),i=t(0);t("");const x=[{name:"池武丹",lastname:"张三",address:"2021-12-24 00:00:00",date:"2022.3.3",status:".PDF",qiye:"附件一号",fujlx:"聘任文件"},{name:"池武丹",lastname:"李四",address:"2021-12-24 00:00:00",status:".PDF",qiye:"附件二号",date:"2022.3.3",fujlx:"聘任文件"},{name:"池武丹",lastname:"张三",address:"2021-12-24 00:00:00",status:".JPG",date:"2022.3.3",qiye:"附件三号",fujlx:"聘任文件"}],c=()=>{alert("点击")},y=l=>{console.log(`${l} items per page`)},f=l=>{console.log(`current page: ${l}`)};return C(()=>{i.value=window.innerHeight-320}),(l,n)=>{const a=s("el-table-column"),u=s("el-button"),h=s("el-table"),v=s("el-pagination");return z(),j("div",w,[e(h,{data:x,"default-sort":{prop:"date",order:"descending"},height:i.value,style:{width:"100%"},"header-cell-style":{background:"#EEF1F4"}},{default:o(()=>[e(a,{label:"序号",type:"index",width:"100",align:"center"}),e(a,{prop:"qiye",label:"附件名称"}),e(a,{prop:"fujlx",label:"附件类型"}),e(a,{prop:"status",label:"文件类型"}),e(a,{prop:"name",label:"上传人"}),e(a,{prop:"date",label:"上传时间"}),e(a,{prop:"lastname",label:"最后修改人"}),e(a,{prop:"address",label:"最后修改日期"}),e(a,{fixed:"right",label:"操作"},{default:o(()=>[e(u,{link:"",type:"primary",size:"large",onClick:c,style:{"margin-right":"36px"}},{default:o(()=>[_("预览")]),_:1}),e(u,{link:"",type:"primary",size:"large",onClick:c,style:{"margin-right":"36px"}},{default:o(()=>[_("下载")]),_:1})]),_:1})]),_:1},8,["height"]),e(v,{style:{"margin-top":"100px"},"current-page":d.value,"onUpdate:current-page":n[0]||(n[0]=r=>d.value=r),"page-size":p.value,"onUpdate:page-size":n[1]||(n[1]=r=>p.value=r),"page-sizes":[100,200,300,400],small:g.value,disabled:b.value,background:m.value,layout:"->,total, prev, pager, next, jumper",total:400,onSizeChange:y,onCurrentChange:f},null,8,["current-page","page-size","small","disabled","background"])])}}},B=k(I,[["__scopeId","data-v-9664b5a7"]]);export{B as default};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
import{K as z,L as d,G as c}from"./index-aa480384.js";import{_ as A}from"./TableBody-07819356.js";import{y as P}from"./yd_diaInput-965612c1.js";import{aB as E,b,T as u,d as $,r as f,o as y,k as g,B as i,t as h,H as I,z as v}from"./_plugin-vue_export-helper-eeee8477.js";import"./focus-trap-8e30bec7.js";import"./index-6b5d5250.js";import"./index-a16ff794.js";import"./_commonjsHelpers-725317a4.js";const M={class:"example"},q={key:0,class:"table_status_one"},G={key:1,class:"table_status_two"},K={__name:"dictionary",setup(O){const m=b(!1),k=z(),l=u({tableType:{selection:!1,tableLoading:!1},tableHeader:[{buttons:["create","edit","delete",{type:"custom",name:"dictionaryData",title:"查看字典数据",icon:"Document",isOpen:"single",disabled:!1}]},{buttons:[{name:"sort",options:[{label:"排序",value:"sortNo"},{label:"创建时间",value:"createdAt"}]},"search"]}],tableList:[{name:"code",label:"字典类型编码",show:!0},{name:"name",label:"字典名称",show:!0},{name:"remarks",label:"备注",show:!0},{name:"sortNo",label:"字典排序",show:!0},{name:"status",type:"slot",label:"启用状态",show:!0}],tableData:[],pagination:{pageSize:15,current:1,total:0}}),r=u({value:!1,changeValue:e=>{r.value=e}}),w=u([{type:"input",title:"字典类型编码",model:"code",placeholder:"请输入字典类型编码",control:!1,row:24},{type:"input",title:"字典类型名称",placeholder:"请输入字典类型名称",control:!1,model:"name",row:24},{type:"input",title:"备注",model:"remarks",placeholder:"请输入备注",control:!1,row:24},{type:"number",title:"字典排序",model:"sortNo",row:24},{type:"select",title:"状态",control:!1,placeholder:"请选择状态",options:[{label:"启用",value:!0},{label:"禁用",value:!1}],model:"status",row:24}]),p=b({code:"",name:"",remarks:"",sortNo:0,status:!0}),_=b({type:"create",name:"新增",id:""}),s=u({current:l.pagination.current,size:l.pagination.pageSize,column:void 0,orderBy:void 0,value:void 0}),n=()=>{l.tableType.tableLoading=!0,d.get("/api/dict_type/list",s).then(e=>{e.code==200&&(console.log(e.data),l.tableData=e.data.records,l.tableType.tableLoading=!1,l.pagination.total=e.data.total)}).catch(()=>{l.tableType.tableLoading=!1})},N=({type:e,data:t})=>{switch(console.log(e,t),e){case"create":C();break;case"edit":console.log(e,t),D(t);break;case"delete":F(t);break;case"sort":H(t);break;case"search":x(t);break;case"dictionaryData":L(t);break}},T=e=>{l.pagination.current=e,s.current=e,n()},F=e=>{const t=e.map(a=>a.id);d.post("/api/dict_type/removeBatch",{ids:t}).then(a=>{a.code==200?(c({message:"删除成功",type:"success"}),n()):c.error(a.message)})},B=(e,t,a)=>{e==="create"?d.post("/api/dict_type/save",t).then(o=>{o.code==200?(c({message:o.message,type:"success"}),r.value=!1,n()):c.error(o.message)}):e==="edit"&&(d.put(`/api/dict_type/edit?id=${a}`,t).then(o=>{o.code==200?(c({message:o.message,type:"success"}),r.value=!1,n()):c.error(o.message)}),console.log(a))},C=()=>{r.value=!0,_.value={type:"create",name:"新增",id:""},m.value=!1,p.value={code:"",name:"",remarks:"",sortNo:0,status:!0}},D=e=>{const t=e[0].id;console.log(t),m.value=!1,d.get("/api/dict_type/detail",{id:t}).then(a=>{a.code===200&&(r.value=!0,p.value={code:a.data.code,name:a.data.name,remarks:a.data.remarks,sortNo:a.data.sortNo,status:a.data.status},_.value={type:"edit",name:"编辑",id:t})})},x=e=>{console.log(e.value),s.value=e.value,n()},H=e=>{e.name===""?(s.orderBy=void 0,s.column=void 0):(s.orderBy=e.sortType,s.column=e.name),n()},L=e=>{k.push(`/setting/dictionary-data?code=${e[0].code}`)};return $(()=>{n()}),(e,t)=>{const a=f("SuccessFilled"),o=f("el-icon"),S=f("CircleCloseFilled");return y(),g("div",M,[i(A,I(l,{onHandleTableHeader:N,onHandleTablePagination:T}),{status:h(({currentCol:R,currentData:V})=>[V?(y(),g("div",q,[i(o,null,{default:h(()=>[i(a)]),_:1}),v("已启用")])):(y(),g("div",G,[i(o,null,{default:h(()=>[i(S)]),_:1}),v("已禁用")]))]),_:1},16),i(P,{inputArray:w,onHandleFrom:B,dialogVisible:r,control:m.value,buttonName:_.value,ruleForm:p.value,diawidth:25},null,8,["inputArray","dialogVisible","control","buttonName","ruleForm"])])}}},ee=E(K,[["__scopeId","data-v-d8b027e4"]]);export{ee as default};

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
import{N as P,L as i,G as u}from"./index-aa480384.js";import{_ as E}from"./TableBody-07819356.js";import{y as G}from"./yd_diaInput-965612c1.js";import{aB as I,b as f,T as v,d as M,r as p,o as m,k as y,B as c,t as b,H as R,F as $,G as O,z as w,c as U}from"./_plugin-vue_export-helper-eeee8477.js";import"./focus-trap-8e30bec7.js";import"./index-6b5d5250.js";import"./index-a16ff794.js";import"./_commonjsHelpers-725317a4.js";const j={class:"example"},J={key:0,class:"table_status_one"},K={key:1,class:"table_status_two"},Q={__name:"dictionaryData",setup(W){const h=f(!1),_=P(),l=v({tableType:{selection:!0,tableLoading:!1},tableHeader:[{buttons:["create","edit","delete"]},{buttons:[{name:"sort",options:[{label:"排序",value:"sortNo"},{label:"创建时间",value:"createdAt"}]},"search"]}],tableList:[{name:"label",label:"字典标签",show:!0},{name:"value",label:"字典键值",show:!0},{name:"sortNo",label:"字典排序",show:!0},{name:"remarks",label:"备注",show:!0},{name:"status",type:"slot",label:"状态",show:!0}],tableData:[],pagination:{pageSize:10,current:1,total:0}}),d=v({value:!1,changeValue:e=>{d.value=e}}),N=v([{type:"input",title:"字典编码",model:"dataType",placeholder:"请输入字典编码",control:!1,disabled:!0,row:24},{type:"input",title:"字典标签",placeholder:"请输入字典标签",control:!1,model:"label",row:24},{type:"input",title:"字典键值",model:"value",placeholder:"请输入字典键值",control:!1,row:24},{type:"number",title:"字典排序",model:"sortNo",row:24},{type:"select",title:"状态",control:!1,placeholder:"请选择状态",options:[{label:"启用",value:!0},{label:"禁用",value:!1}],model:"status",row:24}]),g=f({dataType:_.query.code,label:"",remarks:"",sortNo:0,status:!0,value:""}),k=f({type:"create",name:"新增",id:""}),o=v({current:l.pagination.current,size:l.pagination.pageSize,column:void 0,orderBy:void 0,value:void 0,dataType:_.query.code,status:void 0}),s=()=>{l.tableType.tableLoading=!0,i.get("/api/dict_data/list",o).then(e=>{e.code==200&&(console.log(e.data),l.tableData=e.data.records,l.tableType.tableLoading=!1,l.pagination.total=e.data.total)}).catch(()=>{l.tableType.tableLoading=!1})},F=({type:e,data:a})=>{switch(console.log(e,a),e){case"create":H();break;case"edit":x(a);break;case"delete":C(a);break;case"sort":L(a);break;case"search":D(a);break}},B=e=>{l.pagination.current=e,o.current=e,s()},C=e=>{const a=e.map(t=>t.id);i.post("/api/dict_data/removeBatch",{ids:a}).then(t=>{t.code==200?(u({message:"删除成功",type:"success"}),s()):u.error(t.message)})},V=(e,a,t)=>{e==="create"?i.post("/api/dict_data/save",a).then(n=>{n.code==200?(u({message:"新增成功",type:"success"}),d.value=!1,s()):u.error(n.message)}):e==="edit"&&i.put(`/api/dict_data/edit?id=${t}`,a).then(n=>{n.code==200?(u({message:"修改成功",type:"success"}),d.value=!1,s()):u.error(n.message)})},H=()=>{d.value=!0,k.value={type:"create",name:"新增",id:""},h.value=!1,g.value={dataType:_.query.code,label:"",remarks:"",sortNo:0,status:!0,value:""}},x=e=>{const a=e[0].id;console.log(a),h.value=!1,i.get("/api/dict_data/detail",{id:a}).then(t=>{t.code===200&&(d.value=!0,g.value={dataType:_.query.code,label:t.data.label,value:t.data.value,sortNo:t.data.sortNo,status:t.data.status,remarks:t.data.remarks},k.value={type:"edit",name:"编辑",id:a})})},D=e=>{console.log(e.value),o.value=e.value,s()},L=e=>{e.name===""?(o.orderBy=void 0,o.column=void 0):(o.orderBy=e.sortType,o.column=e.name),s()},S=f([{label:"已启用",value:!0},{label:"已禁用",value:!1}]);return M(()=>{s()}),(e,a)=>{const t=p("el-option"),n=p("el-select"),q=p("SuccessFilled"),T=p("el-icon"),z=p("CircleCloseFilled");return m(),y("div",j,[c(E,R(l,{onHandleTableHeader:F,onHandleTablePagination:B}),{TableHeaderRight:b(({selectData:A})=>[c(n,{modelValue:o.status,"onUpdate:modelValue":a[0]||(a[0]=r=>o.status=r),placeholder:"请选择状态筛选",onChange:s,clearable:"",class:"status-select"},{default:b(()=>[(m(!0),y($,null,O(S.value,r=>(m(),U(t,{key:r.value,label:r.label,value:r.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),status:b(({currentCol:A,currentData:r})=>[r?(m(),y("div",J,[c(T,null,{default:b(()=>[c(q)]),_:1}),w("已启用")])):(m(),y("div",K,[c(T,null,{default:b(()=>[c(z)]),_:1}),w("已禁用")]))]),_:1},16),c(G,{inputArray:N,onHandleFrom:V,dialogVisible:d,control:h.value,buttonName:k.value,ruleForm:g.value,diawidth:25},null,8,["inputArray","dialogVisible","control","buttonName","ruleForm"])])}}},se=I(Q,[["__scopeId","data-v-dfc6adbb"]]);export{se as default};

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
import{_ as w}from"./TableBody-07819356.js";import{T as k,b as c,r as i,o as y,k as S,B as t,t as o,H as V,z as r,l as _,A as H}from"./_plugin-vue_export-helper-eeee8477.js";import"./index-6b5d5250.js";import"./focus-trap-8e30bec7.js";const z={class:"example"},x={style:{color:"#729880"}},D={class:"dialog-footer"},U={__name:"example",setup(G){const v=k({tableHeader:[{buttons:["create","edit","delete",{type:"custom",name:"customButton",title:"自定义",icon:"Message",isOpen:"custom",disabled:!1}]},{buttons:["search","advanced","refresh","filter","bulkDelete",{name:"mixInput",options:[{label:1,value:1},{label:1,value:1}]},{name:"sort",options:[{label:"按企业名称",value:1},{label:"按姓名",value:2}]},{type:"custom",name:"customButton",title:"自定义",icon:"Message",isOpen:"custom",disabled:!1}]}],tableType:{selection:!1,tableLoading:!1,tableIndex:!0,tableTree:!0,tableTreeName:"children",isHiddenPagination:!1,changeHeight:!1},tableList:[{type:"slot",name:"slotName",label:"插槽",show:!0,sortable:!0,sortableMethod:(e,a)=>(console.log(e.date),new Date(e.date).getTime()-new Date(a.date).getTime()),width:100},{name:"date",label:"时间",show:!0,sortable:"custom"},{name:"name",label:"姓名",show:!0},{name:"state",label:"状态",show:!0},{name:"city",label:"城市",show:!0},{name:"address",label:"地址",show:!0},{name:"zip",label:"邮编",show:!0}],tableData:[{id:1,date:"2016-05-01",name:"Tom",state:"California",city:"Los Angeles",address:"No. 189, Grove St, Los Angeles",zip:"CA 90036",slotName:"插槽",children:[{id:2,date:"2016-05-01",name:"Tom",state:"California",city:"Los Angeles",address:"No. 189, Grove St, Los Angeles",zip:"CA 90036",slotName:"插槽"},{id:3,date:"2016-05-01",name:"Tom",state:"California",city:"Los Angeles",address:"No. 189, Grove St, Los Angeles",zip:"CA 90036",slotName:"插槽"}]},{id:4,date:"2016-05-02",name:"Tom",state:"California",city:"Los Angeles",address:"No. 189, Grove St, Los Angeles",zip:"CA 90036",slotName:"插槽"},{id:5,date:"2016-05-03",name:"Tom",state:"California",city:"Los Angeles",address:"No. 189, Grove St, Los Angeles",zip:"CA 90036",slotName:"插槽"},{id:6,date:"2016-05-04",name:"Tom",state:"California",city:"Los Angeles",address:"No. 189, Grove St, Los Angeles",zip:"CA 90036",slotName:"插槽"},{id:7,date:"2016-05-05",name:"Tom",state:"California",city:"Los Angeles",address:"No. 189, Grove St, Los Angeles",zip:"CA 90036",slotName:"插槽"}],pagination:{pageSize:10,current:1,total:100}}),h=({type:e,data:a})=>{switch(console.log(e,a),e){case"create":console.log(e,a);break;case"edit":console.log(e,a);break;case"advanced":T();break}},C=e=>{console.log(e)},A=(e,a,s)=>{console.log(e,a,s)},u=e=>{console.log(e)},b=c(120),n=c({name:""}),d=c(!1),p=()=>{d.value=!1},T=()=>{d.value=!0};return(e,a)=>{const s=i("el-button"),f=i("el-input"),g=i("el-form-item"),N=i("el-form"),L=i("el-dialog");return y(),S("div",z,[t(w,V(v,{onHandleTableHeader:h,onHandleTablePagination:C,onHandleTableSort:A}),{TableHeaderLeft:o(({selectData:l})=>[t(s,{onClick:m=>u(l)},{default:o(()=>[r("插槽")]),_:2},1032,["onClick"])]),TableHeaderRight:o(({selectData:l})=>[t(s,{onClick:m=>u(l)},{default:o(()=>[r("插槽")]),_:2},1032,["onClick"])]),slotName:o(({currentCol:l,currentData:m})=>[_("span",x,H(m),1)]),_:1},16),t(L,{modelValue:d.value,"onUpdate:modelValue":a[2]||(a[2]=l=>d.value=l),title:"搜索更多"},{footer:o(()=>[_("span",D,[t(s,{onClick:p},{default:o(()=>[r("取消")]),_:1}),t(s,{type:"primary",onClick:p},{default:o(()=>[r(" 搜索 ")]),_:1})])]),default:o(()=>[t(N,{model:n.value},{default:o(()=>[t(g,{label:"企业名称","label-width":b.value},{default:o(()=>[t(f,{modelValue:n.value.name,"onUpdate:modelValue":a[0]||(a[0]=l=>n.value.name=l),autocomplete:"off"},null,8,["modelValue"])]),_:1},8,["label-width"]),t(g,{label:"公司地址","label-width":b.value},{default:o(()=>[t(f,{modelValue:n.value.name,"onUpdate:modelValue":a[1]||(a[1]=l=>n.value.name=l),autocomplete:"off"},null,8,["modelValue"])]),_:1},8,["label-width"])]),_:1},8,["model"])]),_:1},8,["modelValue"])])}}};export{U as default};

View File

@ -1 +0,0 @@
System.register(["./TableBody-legacy-1c30511f.js","./_plugin-vue_export-helper-legacy-92dd76f5.js","./index-legacy-93823f3c.js","./focus-trap-legacy-8cbfa7f8.js"],(function(e,a){"use strict";var l,t,o,s,n,i,d,m,r,u,c,b;return{setters:[e=>{l=e._},e=>{t=e.T,o=e.b,s=e.r,n=e.o,i=e.k,d=e.B,m=e.t,r=e.H,u=e.z,c=e.l,b=e.A},null,null],execute:function(){const a={class:"example"},g={style:{color:"#729880"}},p={class:"dialog-footer"};e("default",{__name:"example",setup(e){const f=t({tableHeader:[{buttons:["create","edit","delete",{type:"custom",name:"customButton",title:"自定义",icon:"Message",isOpen:"custom",disabled:!1}]},{buttons:["search","advanced","refresh","filter","bulkDelete",{name:"mixInput",options:[{label:1,value:1},{label:1,value:1}]},{name:"sort",options:[{label:"按企业名称",value:1},{label:"按姓名",value:2}]},{type:"custom",name:"customButton",title:"自定义",icon:"Message",isOpen:"custom",disabled:!1}]}],tableType:{selection:!1,tableLoading:!1,tableIndex:!0,tableTree:!0,tableTreeName:"children",isHiddenPagination:!1,changeHeight:!1},tableList:[{type:"slot",name:"slotName",label:"插槽",show:!0,sortable:!0,sortableMethod:(e,a)=>(console.log(e.date),new Date(e.date).getTime()-new Date(a.date).getTime()),width:100},{name:"date",label:"时间",show:!0,sortable:"custom"},{name:"name",label:"姓名",show:!0},{name:"state",label:"状态",show:!0},{name:"city",label:"城市",show:!0},{name:"address",label:"地址",show:!0},{name:"zip",label:"邮编",show:!0}],tableData:[{id:1,date:"2016-05-01",name:"Tom",state:"California",city:"Los Angeles",address:"No. 189, Grove St, Los Angeles",zip:"CA 90036",slotName:"插槽",children:[{id:2,date:"2016-05-01",name:"Tom",state:"California",city:"Los Angeles",address:"No. 189, Grove St, Los Angeles",zip:"CA 90036",slotName:"插槽"},{id:3,date:"2016-05-01",name:"Tom",state:"California",city:"Los Angeles",address:"No. 189, Grove St, Los Angeles",zip:"CA 90036",slotName:"插槽"}]},{id:4,date:"2016-05-02",name:"Tom",state:"California",city:"Los Angeles",address:"No. 189, Grove St, Los Angeles",zip:"CA 90036",slotName:"插槽"},{id:5,date:"2016-05-03",name:"Tom",state:"California",city:"Los Angeles",address:"No. 189, Grove St, Los Angeles",zip:"CA 90036",slotName:"插槽"},{id:6,date:"2016-05-04",name:"Tom",state:"California",city:"Los Angeles",address:"No. 189, Grove St, Los Angeles",zip:"CA 90036",slotName:"插槽"},{id:7,date:"2016-05-05",name:"Tom",state:"California",city:"Los Angeles",address:"No. 189, Grove St, Los Angeles",zip:"CA 90036",slotName:"插槽"}],pagination:{pageSize:10,current:1,total:100}}),v=({type:e,data:a})=>{switch(console.log(e,a),e){case"create":case"edit":console.log(e,a);break;case"advanced":w()}},A=e=>{console.log(e)},h=(e,a,l)=>{console.log(e,a,l)},y=e=>{console.log(e)},C=o(120),T=o({name:""}),L=o(!1),N=()=>{L.value=!1},w=()=>{L.value=!0};return(e,t)=>{const o=s("el-button"),w=s("el-input"),_=s("el-form-item"),z=s("el-form"),H=s("el-dialog");return n(),i("div",a,[d(l,r(f,{onHandleTableHeader:v,onHandleTablePagination:A,onHandleTableSort:h}),{TableHeaderLeft:m((({selectData:e})=>[d(o,{onClick:a=>y(e)},{default:m((()=>[u("插槽")])),_:2},1032,["onClick"])])),TableHeaderRight:m((({selectData:e})=>[d(o,{onClick:a=>y(e)},{default:m((()=>[u("插槽")])),_:2},1032,["onClick"])])),slotName:m((({currentCol:e,currentData:a})=>[c("span",g,b(a),1)])),_:1},16),d(H,{modelValue:L.value,"onUpdate:modelValue":t[2]||(t[2]=e=>L.value=e),title:"搜索更多"},{footer:m((()=>[c("span",p,[d(o,{onClick:N},{default:m((()=>[u("取消")])),_:1}),d(o,{type:"primary",onClick:N},{default:m((()=>[u(" 搜索 ")])),_:1})])])),default:m((()=>[d(z,{model:T.value},{default:m((()=>[d(_,{label:"企业名称","label-width":C.value},{default:m((()=>[d(w,{modelValue:T.value.name,"onUpdate:modelValue":t[0]||(t[0]=e=>T.value.name=e),autocomplete:"off"},null,8,["modelValue"])])),_:1},8,["label-width"]),d(_,{label:"公司地址","label-width":C.value},{default:m((()=>[d(w,{modelValue:T.value.name,"onUpdate:modelValue":t[1]||(t[1]=e=>T.value.name=e),autocomplete:"off"},null,8,["modelValue"])])),_:1},8,["label-width"])])),_: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

View File

@ -1 +0,0 @@
import{aB as o,r as t,o as n,k as r,B as c}from"./_plugin-vue_export-helper-eeee8477.js";const s={},_={id:"design"};function a(i,d){const e=t("router-view");return n(),r("div",_,[c(e)])}const m=o(s,[["render",a]]);export{m 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

View File

@ -1 +0,0 @@
import{aB as e,o as t,k as n}from"./_plugin-vue_export-helper-eeee8477.js";const c={};function o(r,a){return t(),n("div",null," auditSetting ")}const _=e(c,[["render",o]]);export{_ 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

View File

@ -1 +0,0 @@
System.register(["./_plugin-vue_export-helper-legacy-92dd76f5.js"],(function(e,t){"use strict";var r,n,u;return{setters:[e=>{r=e.aB,n=e.o,u=e.k}],execute:function(){e("default",r({},[["render",function(e,t){return n(),u("div",null," auditSetting ")}]]))}}}));

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

View File

@ -1 +0,0 @@
System.register(["./_plugin-vue_export-helper-legacy-92dd76f5.js"],(function(e,t){"use strict";var r,n,u,i,s;return{setters:[e=>{r=e.aB,n=e.r,u=e.o,i=e.k,s=e.B}],execute:function(){const t={id:"design"};e("default",r({},[["render",function(e,r){const c=n("router-view");return u(),i("div",t,[s(c)])}]]))}}}));

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

View File

@ -1 +0,0 @@
import{_ as H}from"./TableBody-07819356.js";import{y as N}from"./yd_diaInput-965612c1.js";import{K as P}from"./index-aa480384.js";import{aB as q,b as u,T as m,d as A,r as p,o as l,k as n,B as a,t as o,H as D,z as r}from"./_plugin-vue_export-helper-eeee8477.js";import"./index-6b5d5250.js";import"./focus-trap-8e30bec7.js";import"./index-a16ff794.js";import"./_commonjsHelpers-725317a4.js";const O={class:"example"},B={key:0,class:"table_status_one"},K={key:1,class:"table_status_two"},S={key:0,class:"table_status_four"},z={key:1,class:"table_status_three"},E={__name:"innTionIndex",setup(L){const _=P(),b=u(!1),y=u({type:"create",name:"新增",id:""}),h=m({tableType:{selection:!0,tableLoading:!1,tableIndex:!1},tableHeader:[{buttons:[{type:"custom",name:"create",title:"新增申报",icon:"Plus",isOpen:"custom",disabled:!1},{type:"custom",name:"edit",title:"修改",icon:"Printer",isOpen:"single"},{type:"custom",name:"accessory",title:"附件",icon:"Printer",isOpen:"single"}]},{buttons:[{name:"sort",options:[{label:"按企业名称",value:1},{label:"按姓名",value:2}]},{name:"mixInput",options:[{label:1,value:1},{label:1,value:1}]},{type:"custom",name:"delete",title:"批量删除",icon:"Delete",isOpen:"Arbitrary"},{type:"custom",name:"derive",title:"导出",icon:"Notification",isOpen:"custom",disabled:!1}]}],tableList:[{name:"qiye",label:"企业名称",show:!0},{name:"name",label:"最后修改人",show:!0},{name:"date",label:"最后修改日期",show:!0}],tableData:[{date:"2016-05-03",name:"池武丹",address:"2021-12-24 00:00:00",status:!0,qiye:"象山县粮食收储有限公司",IdCard:"123456778999999",department:"业务科",type:!1},{date:"2016-05-02",name:"池武丹",address:"2021-12-24 00:00:00",status:!1,qiye:"象山县粮食收储有限公司",IdCard:"123456778999999",department:"业务科",type:!0},{date:"2016-05-04",name:"池武丹",address:"2021-12-24 00:00:00",status:!0,qiye:"象山县粮食收储有限公司",IdCard:"123456778999999",department:"业务科",type:!1},{date:"2016-05-01",name:"Tom",address:"2021-12-24 00:00:00",status:!0,qiye:"象山县粮食收储有限公司",IdCard:"123456778999999",department:"业务科",type:!1}],pagination:{pageSize:10,current:1,total:100}}),g=m([{type:"input",title:"企业名称",model:"name",placeholder:"请输入参数名称",row:8,control:!0},{type:"input",title:"最后修改人",placeholder:"请输入参数键名",model:"paramKey",control:!0,row:8},{type:"datetime",title:"最后修改日期",model:"paramValue",placeholder:"请输入参数键值",row:8,control:!0}]),v=u({name:"",paramKey:"",paramValue:""}),k=(e,t,c)=>{},C=({type:e,data:t})=>{switch(e){case"create":w();break;case"edit":console.log(e,t),F();break;case"delete":console.log(e,t),I(t);break;case"derive":console.log(e,t);break;case"accessory":console.log(e,t),T(t);break}},i=m({value:!1,changeValue:e=>{i.value=e}}),x=e=>{console.log(e)},T=e=>{console.log("val",e),_.push("/grain/innTionDetails")},I=e=>{e.map(t=>t.id)},w=()=>{i.value=!0,y.value={type:"create",name:"新增",id:""},b.value=!0,v.value={name:"",paramKey:"",paramValue:"",remarks:"",sortNo:0}},F=e=>{_.push("/grain/innDetails")};return A(()=>{}),(e,t)=>{const c=p("SuccessFilled"),s=p("el-icon"),f=p("CircleCloseFilled");return l(),n("div",O,[a(H,D(h,{onHandleTableHeader:C,onHandleTablePagination:x}),{status:o(({currentCol:V,currentData:d})=>[d?(l(),n("div",B,[a(s,null,{default:o(()=>[a(c)]),_:1}),r("变更完成")])):(l(),n("div",K,[a(s,null,{default:o(()=>[a(f)]),_:1}),r("未变更")]))]),type:o(({currentCol:V,currentData:d})=>[d?(l(),n("div",S,[a(s,null,{default:o(()=>[a(c)]),_:1}),r("指标内")])):(l(),n("div",z,[a(s,null,{default:o(()=>[a(f)]),_:1}),r("指标外")]))]),_:1},16),a(N,{inputArray:g,onHandleFrom:k,dialogVisible:i,control:b.value,buttonName:y.value,ruleForm:v.value},null,8,["inputArray","dialogVisible","control","buttonName","ruleForm"])])}}},W=q(E,[["__scopeId","data-v-5f97e09b"]]);export{W 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

View File

@ -1 +0,0 @@
import{_ as H}from"./TableBody-07819356.js";import{y as B}from"./yd_diaInput-965612c1.js";import{L as i,G as c}from"./index-aa480384.js";import{b as f,T as d,d as K,o as L,k as S,B as g,H as F}from"./_plugin-vue_export-helper-eeee8477.js";import"./index-6b5d5250.js";import"./focus-trap-8e30bec7.js";import"./index-a16ff794.js";import"./_commonjsHelpers-725317a4.js";const A={class:"example"},I={__name:"parameter",setup(P){const m=f(!1),l=d({tableType:{selection:!0,tableLoading:!1},tableHeader:[{buttons:["create","edit","delete"]},{buttons:[{name:"sort",options:[{label:"排序",value:"sortNo"},{label:"创建时间",value:"createdAt"}]},"search"]}],tableList:[{name:"name",label:"参数名称",show:!0},{name:"paramKey",label:"参数键名",show:!0},{name:"paramValue",label:"参数键值",show:!0},{name:"remarks",label:"备注",show:!0},{name:"sortNo",label:"排序",show:!0}],tableData:[],pagination:{pageSize:10,current:1,total:0}}),s=d({value:!1,changeValue:e=>{s.value=e}}),h=d([{type:"input",title:"参数名称",model:"name",placeholder:"请输入参数名称",control:!1,row:24},{type:"input",title:"参数键名",placeholder:"请输入参数键名",control:!1,model:"paramKey",row:24},{type:"input",title:"参数键值",model:"paramValue",placeholder:"请输入参数键值",control:!1,row:24},{type:"number",title:"排序",model:"sortNo",row:24},{type:"input",title:"备注",control:!1,placeholder:"请输入备注",model:"remarks",row:24}]),u=f({name:"",paramKey:"",paramValue:"",remarks:"",sortNo:0}),p=f({type:"create",name:"新增",id:""}),n=d({current:l.pagination.current,size:l.pagination.pageSize,column:void 0,orderBy:void 0,value:void 0}),r=()=>{l.tableType.tableLoading=!0,i.get("/api/config/list",n).then(e=>{e.code==200&&(l.tableData=e.data.records,l.tableType.tableLoading=!1,l.pagination.total=e.data.total)}).catch(()=>{l.tableType.tableLoading=!1})},y=({type:e,data:a})=>{switch(console.log(e,a),e){case"create":T();break;case"edit":console.log(e,a),w(a);break;case"delete":k(a);break;case"sort":b(a);break;case"search":N(a);break}},v=e=>{l.pagination.current=e,n.current=e,r()},k=e=>{const a=e.map(t=>t.id);i.post("/api/config/removeBatch",{ids:a}).then(t=>{t.code==200&&(c({message:"删除成功",type:"success"}),r())})},_=(e,a,t)=>{e==="create"?i.post("/api/config/save",a).then(o=>{o.code==200?(c({message:o.message,type:"success"}),s.value=!1,r()):c.error(o.message)}):e==="edit"&&(i.put(`/api/config/edit?id=${t}`,a).then(o=>{o.code==200?(c({message:o.message,type:"success"}),s.value=!1,r()):c.error(o.message)}),console.log(t))},T=()=>{s.value=!0,p.value={type:"create",name:"新增",id:""},m.value=!1,u.value={name:"",paramKey:"",paramValue:"",remarks:"",sortNo:0}},w=e=>{const a=e[0].id;m.value=!1,i.get("/api/config/detail",{id:a}).then(t=>{t.code===200&&(s.value=!0,u.value={name:t.data.name,paramKey:t.data.paramKey,paramValue:t.data.paramValue,remarks:t.data.remarks,sortNo:t.data.sortNo},p.value={type:"edit",name:"编辑",id:a})})},N=e=>{console.log(e.value),n.value=e.value,r()},b=e=>{e.name===""?(n.orderBy=void 0,n.column=void 0):(n.orderBy=e.sortType,n.column=e.name),r()},V=(e,a,t)=>{let o;t?o=t.match(/^asc|desc/)[0]:o=void 0,b({name:o&&a,sortType:o})};return K(()=>{r()}),(e,a)=>(L(),S("div",A,[g(H,F(l,{onHandleTableHeader:y,onHandleTablePagination:v,onHandleTableSort:V}),null,16),g(B,{inputArray:h,onHandleFrom:_,dialogVisible:s,control:m.value,buttonName:p.value,ruleForm:u.value,diawidth:25},null,8,["inputArray","dialogVisible","control","buttonName","ruleForm"])]))}};export{I as default};

View File

@ -1 +0,0 @@
System.register(["./TableBody-legacy-1c30511f.js","./yd_diaInput-legacy-6f87928f.js","./index-legacy-5255d1a2.js","./_plugin-vue_export-helper-legacy-92dd76f5.js","./index-legacy-93823f3c.js","./focus-trap-legacy-8cbfa7f8.js","./index-legacy-5f7204fb.js","./_commonjsHelpers-legacy-16634a03.js"],(function(e,a){"use strict";var t,l,o,r,n,s,i,c,d,u,m;return{setters:[e=>{t=e._},e=>{l=e.y},e=>{o=e.L,r=e.G},e=>{n=e.b,s=e.T,i=e.d,c=e.o,d=e.k,u=e.B,m=e.H},null,null,null,null],execute:function(){const a={class:"example"};e("default",{__name:"parameter",setup(e){const p=n(!1),g=s({tableType:{selection:!0,tableLoading:!1},tableHeader:[{buttons:["create","edit","delete"]},{buttons:[{name:"sort",options:[{label:"排序",value:"sortNo"},{label:"创建时间",value:"createdAt"}]},"search"]}],tableList:[{name:"name",label:"参数名称",show:!0},{name:"paramKey",label:"参数键名",show:!0},{name:"paramValue",label:"参数键值",show:!0},{name:"remarks",label:"备注",show:!0},{name:"sortNo",label:"排序",show:!0}],tableData:[],pagination:{pageSize:10,current:1,total:0}}),y=s({value:!1,changeValue:e=>{y.value=e}}),b=s([{type:"input",title:"参数名称",model:"name",placeholder:"请输入参数名称",control:!1,row:24},{type:"input",title:"参数键名",placeholder:"请输入参数键名",control:!1,model:"paramKey",row:24},{type:"input",title:"参数键值",model:"paramValue",placeholder:"请输入参数键值",control:!1,row:24},{type:"number",title:"排序",model:"sortNo",row:24},{type:"input",title:"备注",control:!1,placeholder:"请输入备注",model:"remarks",row:24}]),v=n({name:"",paramKey:"",paramValue:"",remarks:"",sortNo:0}),h=n({type:"create",name:"新增",id:""}),w=s({current:g.pagination.current,size:g.pagination.pageSize,column:void 0,orderBy:void 0,value:void 0}),k=()=>{g.tableType.tableLoading=!0,o.get("/api/config/list",w).then((e=>{200==e.code&&(g.tableData=e.data.records,g.tableType.tableLoading=!1,g.pagination.total=e.data.total)})).catch((()=>{g.tableType.tableLoading=!1}))},T=({type:e,data:a})=>{switch(console.log(e,a),e){case"create":V();break;case"edit":console.log(e,a),H(a);break;case"delete":j(a);break;case"sort":_(a);break;case"search":B(a)}},f=e=>{g.pagination.current=e,w.current=e,k()},j=e=>{const a=e.map((e=>e.id));o.post("/api/config/removeBatch",{ids:a}).then((e=>{200==e.code&&(r({message:"删除成功",type:"success"}),k())}))},N=(e,a,t)=>{"create"===e?o.post("/api/config/save",a).then((e=>{200==e.code?(r({message:e.message,type:"success"}),y.value=!1,k()):r.error(e.message)})):"edit"===e&&(o.put(`/api/config/edit?id=${t}`,a).then((e=>{200==e.code?(r({message:e.message,type:"success"}),y.value=!1,k()):r.error(e.message)})),console.log(t))},V=()=>{y.value=!0,h.value={type:"create",name:"新增",id:""},p.value=!1,v.value={name:"",paramKey:"",paramValue:"",remarks:"",sortNo:0}},H=e=>{const a=e[0].id;p.value=!1,o.get("/api/config/detail",{id:a}).then((e=>{200===e.code&&(y.value=!0,v.value={name:e.data.name,paramKey:e.data.paramKey,paramValue:e.data.paramValue,remarks:e.data.remarks,sortNo:e.data.sortNo},h.value={type:"edit",name:"编辑",id:a})}))},B=e=>{console.log(e.value),w.value=e.value,k()},_=e=>{""===e.name?(w.orderBy=void 0,w.column=void 0):(w.orderBy=e.sortType,w.column=e.name),k()},x=(e,a,t)=>{let l;l=t?t.match(/^asc|desc/)[0]:void 0,_({name:l&&a,sortType:l})};return i((()=>{k()})),(e,o)=>(c(),d("div",a,[u(t,m(g,{onHandleTableHeader:T,onHandleTablePagination:f,onHandleTableSort:x}),null,16),u(l,{inputArray:b,onHandleFrom:N,dialogVisible:y,control:p.value,buttonName:h.value,ruleForm:v.value,diawidth:25},null,8,["inputArray","dialogVisible","control","buttonName","ruleForm"])]))}})}}}));

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

View File

@ -1 +0,0 @@
import{_ as w}from"./TableBody-07819356.js";import{y as j}from"./yd_diaInput-965612c1.js";import{K as _}from"./index-aa480384.js";import{b as o,T as s,d as f,o as x,k,B as u,H as T}from"./_plugin-vue_export-helper-eeee8477.js";import"./index-6b5d5250.js";import"./focus-trap-8e30bec7.js";import"./index-a16ff794.js";import"./_commonjsHelpers-725317a4.js";const V={class:"example"},D={__name:"recruit",setup(H){const t=_(),r=o(!1),c=s({tableType:{selection:!0,tableLoading:!1,tableIndex:!0},tableHeader:[{buttons:[{type:"custom",name:"create",title:"新增登记",icon:"Plus"},"edit","delete"]},{buttons:[{name:"sort",options:[{label:"按企业名称",value:1},{label:"按姓名",value:2}]},{name:"mixInput",options:[{label:1,value:1},{label:1,value:1}]},"advanced"]}],tableList:[{name:"qiye",label:"企业名称",show:!0,width:200},{name:"spbh",label:"审批单号",show:!0,width:120},{name:"hdyg",label:"核定用工指标人数",show:!0},{name:"xzz",label:"现在职人数(指标内)",show:!0},{name:"syzb",label:"剩余指标人数",show:!0},{name:"tbr",label:"填报人",show:!0},{name:"tbsj",label:"填报时间",show:!0,width:120},{name:"csr",label:"初审人",show:!0},{name:"cssj",label:"初审时间",show:!0},{name:"zsr",label:"终审人",show:!0},{name:"zssj",label:"终审时间",show:!0,width:120},{name:"djzt",label:"单据状态",show:!0},{name:"zhxg",label:"最后修改",show:!0}],tableData:[{qiye:"象山县粮食收储有限公司",spbh:"2016110004",hdyg:"108",xzz:"93",syzb:"93",tbr:"王濛主",tbsj:"2021-12-24",csr:"王濛主",cssj:"初审时间",zsr:"王濛主",zssj:"2021-12-24",djzt:"国资审核",zhxg:"张婷"},{qiye:"象山县粮食收储有限公司",spbh:"2016110004",hdyg:"108",xzz:"93",syzb:"93",tbr:"王濛主",tbsj:"2021-12-24",csr:"王濛主",cssj:"初审时间",zsr:"王濛主",zssj:"2021-12-24",djzt:"国资审核",zhxg:"张婷"},{qiye:"象山县粮食收储有限公司",spbh:"2016110004",hdyg:"108",xzz:"93",syzb:"93",tbr:"王濛主",tbsj:"2021-12-24",csr:"王濛主",cssj:"初审时间",zsr:"王濛主",zssj:"2021-12-24",djzt:"国资审核",zhxg:"张婷"}],pagination:{pageSize:10,current:1,total:100}}),l=s({value:!1,changeValue:e=>{l.value=e}}),d=s([{type:"input",title:"企业名称",model:"firmName",placeholder:"请输入",control:!0,row:24,options:[{lable:"大于",value:"大于"},{lable:"小于",value:"小于"}],optionsValue:"updataOption",SetectPla:"请选择"},{type:"input",title:"审批单号",control:!0,model:"name",row:24,placeholder:"请输入",options:[{lable:"大于",value:"大于"},{lable:"小于",value:"小于"}],optionsValue:"updataOption",SetectPla:"请选择"},{type:"select",title:"单据状态",model:"status",row:24,placeholder:"选择",options:[{lable:"大于",value:"大于"},{lable:"小于",value:"小于"}]},{type:"datetime",title:"填报开始时间",row:24,model:"startTime",control:!0,placeholder:"请选择",options:[{lable:"大于",value:"大于"},{lable:"小于",value:"小于"}],optionsValue:"updataOption"},{type:"datetime",title:"填报结束时间",row:24,control:!0,model:"endTime",placeholder:"请选择",options:[{lable:"大于",value:"大于"},{lable:"小于",value:"小于"}],optionsValue:"updataOption"}]),n=o({firmName:"",name:"",status:"",startTime:"",endTime:""}),i=o({type:"create",name:"新增",id:""}),b=({type:e,data:a})=>{switch(e){case"create":g();break;case"submission":console.log(e,a);break;case"edit":console.log(e,a),y();break;case"delete":console.log(e,a),h(a);break;case"advanced":console.log(e,a),z();break;case"accessory":console.log(e,a),p(a);break}},m=e=>{console.log(e)},p=e=>{console.log("val",e),t.push("/grain/detals")},h=e=>{e.map(a=>a.id)},v=(e,a,N)=>{},z=()=>{l.value=!0,i.value={type:"adsearch",name:"查询",id:""},r.value=!0,n.value={name:"",paramKey:"",paramValue:"",remarks:"",sortNo:0}},g=()=>{t.push("/grain/recruit/add")},y=e=>{t.push("/grain/recruit/add")};return f(()=>{}),(e,a)=>(x(),k("div",V,[u(w,T(c,{onHandleTableHeader:b,onHandleTablePagination:m}),null,16),u(j,{inputArray:d,onHandleFrom:v,dialogVisible:l,control:r.value,buttonName:i.value,ruleForm:n.value,diawidth:30},null,8,["inputArray","dialogVisible","control","buttonName","ruleForm"])]))}};export{D as default};

View File

@ -1 +0,0 @@
System.register(["./TableBody-legacy-1c30511f.js","./yd_diaInput-legacy-6f87928f.js","./index-legacy-5255d1a2.js","./_plugin-vue_export-helper-legacy-92dd76f5.js","./index-legacy-93823f3c.js","./focus-trap-legacy-8cbfa7f8.js","./index-legacy-5f7204fb.js","./_commonjsHelpers-legacy-16634a03.js"],(function(e,a){"use strict";var l,t,s,o,n,i,r,u,c,d;return{setters:[e=>{l=e._},e=>{t=e.y},e=>{s=e.K},e=>{o=e.b,n=e.T,i=e.d,r=e.o,u=e.k,c=e.B,d=e.H},null,null,null,null],execute:function(){const a={class:"example"};e("default",{__name:"recruit",setup(e){const b=s(),p=o(!1),m=n({tableType:{selection:!0,tableLoading:!1,tableIndex:!0},tableHeader:[{buttons:[{type:"custom",name:"create",title:"新增登记",icon:"Plus"},"edit","delete"]},{buttons:[{name:"sort",options:[{label:"按企业名称",value:1},{label:"按姓名",value:2}]},{name:"mixInput",options:[{label:1,value:1},{label:1,value:1}]},"advanced"]}],tableList:[{name:"qiye",label:"企业名称",show:!0,width:200},{name:"spbh",label:"审批单号",show:!0,width:120},{name:"hdyg",label:"核定用工指标人数",show:!0},{name:"xzz",label:"现在职人数(指标内)",show:!0},{name:"syzb",label:"剩余指标人数",show:!0},{name:"tbr",label:"填报人",show:!0},{name:"tbsj",label:"填报时间",show:!0,width:120},{name:"csr",label:"初审人",show:!0},{name:"cssj",label:"初审时间",show:!0},{name:"zsr",label:"终审人",show:!0},{name:"zssj",label:"终审时间",show:!0,width:120},{name:"djzt",label:"单据状态",show:!0},{name:"zhxg",label:"最后修改",show:!0}],tableData:[{qiye:"象山县粮食收储有限公司",spbh:"2016110004",hdyg:"108",xzz:"93",syzb:"93",tbr:"王濛主",tbsj:"2021-12-24",csr:"王濛主",cssj:"初审时间",zsr:"王濛主",zssj:"2021-12-24",djzt:"国资审核",zhxg:"张婷"},{qiye:"象山县粮食收储有限公司",spbh:"2016110004",hdyg:"108",xzz:"93",syzb:"93",tbr:"王濛主",tbsj:"2021-12-24",csr:"王濛主",cssj:"初审时间",zsr:"王濛主",zssj:"2021-12-24",djzt:"国资审核",zhxg:"张婷"},{qiye:"象山县粮食收储有限公司",spbh:"2016110004",hdyg:"108",xzz:"93",syzb:"93",tbr:"王濛主",tbsj:"2021-12-24",csr:"王濛主",cssj:"初审时间",zsr:"王濛主",zssj:"2021-12-24",djzt:"国资审核",zhxg:"张婷"}],pagination:{pageSize:10,current:1,total:100}}),h=n({value:!1,changeValue:e=>{h.value=e}}),y=n([{type:"input",title:"企业名称",model:"firmName",placeholder:"请输入",control:!0,row:24,options:[{lable:"大于",value:"大于"},{lable:"小于",value:"小于"}],optionsValue:"updataOption",SetectPla:"请选择"},{type:"input",title:"审批单号",control:!0,model:"name",row:24,placeholder:"请输入",options:[{lable:"大于",value:"大于"},{lable:"小于",value:"小于"}],optionsValue:"updataOption",SetectPla:"请选择"},{type:"select",title:"单据状态",model:"status",row:24,placeholder:"选择",options:[{lable:"大于",value:"大于"},{lable:"小于",value:"小于"}]},{type:"datetime",title:"填报开始时间",row:24,model:"startTime",control:!0,placeholder:"请选择",options:[{lable:"大于",value:"大于"},{lable:"小于",value:"小于"}],optionsValue:"updataOption"},{type:"datetime",title:"填报结束时间",row:24,control:!0,model:"endTime",placeholder:"请选择",options:[{lable:"大于",value:"大于"},{lable:"小于",value:"小于"}],optionsValue:"updataOption"}]),g=o({firmName:"",name:"",status:"",startTime:"",endTime:""}),v=o({type:"create",name:"新增",id:""}),z=({type:e,data:a})=>{switch(e){case"create":k();break;case"submission":console.log(e,a);break;case"edit":console.log(e,a),H();break;case"delete":console.log(e,a),x(a);break;case"advanced":console.log(e,a),V();break;case"accessory":console.log(e,a),w(a)}},j=e=>{console.log(e)},w=e=>{console.log("val",e),b.push("/grain/detals")},x=e=>{e.map((e=>e.id))},T=(e,a,l)=>{},V=()=>{h.value=!0,v.value={type:"adsearch",name:"查询",id:""},p.value=!0,g.value={name:"",paramKey:"",paramValue:"",remarks:"",sortNo:0}},k=()=>{b.push("/grain/recruit/add")},H=e=>{b.push("/grain/recruit/add")};return i((()=>{})),(e,s)=>(r(),u("div",a,[c(l,d(m,{onHandleTableHeader:z,onHandleTablePagination:j}),null,16),c(t,{inputArray:y,onHandleFrom:T,dialogVisible:h,control:p.value,buttonName:v.value,ruleForm:g.value,diawidth:30},null,8,["inputArray","dialogVisible","control","buttonName","ruleForm"])]))}})}}}));

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
import{U as w}from"./Upload-02c019f0.js";import{aB as F,b as k,T as f,r,o as V,k as b,B as e,t as n,l as t,F as A,G as B,z as v,A as C,aC as I,aD as S}from"./_plugin-vue_export-helper-eeee8477.js";import"./focus-trap-8e30bec7.js";import"./index-aa480384.js";import"./index-a16ff794.js";import"./_commonjsHelpers-725317a4.js";const m=p=>(I("data-v-210162a2"),p=p(),S(),p),N={class:"tab-content"},D={class:"recruit-add-table-container"},R=m(()=>t("thead",null,[t("tr",null,[t("th",{class:"ratc-ind"}),t("th",{class:"ratc-content"},"所属部门"),t("th",{class:"ratc-content"},"职务岗位"),t("th",{class:"ratc-content"},"名额"),t("th",{class:"ratc-content"},"条件及要求")])],-1)),T={class:"ratc-ind"},$=m(()=>t("td",null," 办公室 ",-1)),q=m(()=>t("td",null,"普通员工",-1)),z=m(()=>t("td",null,"1",-1)),G=m(()=>t("td",null,"下山部队随军家属",-1)),L=m(()=>t("tr",null,[t("th",{class:"ratc-ind"}),t("th",null,"合计"),t("th"),t("th",null,"3"),t("th")],-1)),P={__name:"recruitAdd",setup(p){const i=k(),a=f({name:""}),x=f({name:[{required:!0,message:"Please input Activity name",trigger:"blur"}]}),y=async u=>{u&&await u.validate((l,s)=>{l?console.log("submit!"):console.log("error submit!",s)})},g=u=>{u&&u.resetFields()};return(u,l)=>{const s=r("el-input"),d=r("el-form-item"),_=r("el-col"),h=r("el-row"),c=r("el-button"),U=r("el-form");return V(),b("div",N,[e(U,{ref_key:"ruleFormRef",ref:i,model:a,rules:x,"label-width":"208px"},{default:n(()=>[e(h,null,{default:n(()=>[e(_,{span:12},{default:n(()=>[e(d,{label:"统一社会信用代码:",prop:"name"},{default:n(()=>[e(s,{modelValue:a.name,"onUpdate:modelValue":l[0]||(l[0]=o=>a.name=o)},null,8,["modelValue"])]),_:1}),e(d,{label:"审批单号:",prop:"name"},{default:n(()=>[e(s,{modelValue:a.name,"onUpdate:modelValue":l[1]||(l[1]=o=>a.name=o)},null,8,["modelValue"])]),_:1}),e(d,{label:"现在职人数(指标内)",prop:"name"},{default:n(()=>[e(s,{modelValue:a.name,"onUpdate:modelValue":l[2]||(l[2]=o=>a.name=o)},null,8,["modelValue"])]),_:1})]),_:1}),e(_,{span:12},{default:n(()=>[e(d,{label:"企业名称:",prop:"name"},{default:n(()=>[e(s,{modelValue:a.name,"onUpdate:modelValue":l[3]||(l[3]=o=>a.name=o)},null,8,["modelValue"])]),_:1}),e(d,{label:"核定用工指标人数:",prop:"name"},{default:n(()=>[e(s,{modelValue:a.name,"onUpdate:modelValue":l[4]||(l[4]=o=>a.name=o)},null,8,["modelValue"])]),_:1}),e(d,{label:"剩余指标人数:",prop:"name"},{default:n(()=>[e(s,{modelValue:a.name,"onUpdate:modelValue":l[5]||(l[5]=o=>a.name=o)},null,8,["modelValue"])]),_:1})]),_:1}),e(_,{span:24},{default:n(()=>[e(d,{label:"备注:"},{default:n(()=>[e(w,{modelValue:a.name,"onUpdate:modelValue":l[6]||(l[6]=o=>a.name=o)},null,8,["modelValue"])]),_:1}),t("div",D,[t("table",null,[R,t("tbody",null,[(V(),b(A,null,B(3,o=>t("tr",null,[t("td",T,C(o),1),$,q,z,G])),64)),L])])]),e(d,{label:"初审意见:",style:{height:"80px","line-height":"80px"}},{default:n(()=>[e(s,{modelValue:a.name,"onUpdate:modelValue":l[7]||(l[7]=o=>a.name=o),rows:3,type:"textarea"},null,8,["modelValue"])]),_:1}),e(d,{label:"终审意见:",style:{height:"80px","line-height":"80px"}},{default:n(()=>[e(s,{modelValue:a.name,"onUpdate:modelValue":l[8]||(l[8]=o=>a.name=o),rows:3,type:"textarea"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,{class:"fixed-form-item"},{default:n(()=>[e(c,{type:"primary",onClick:l[9]||(l[9]=o=>y(i.value))},{default:n(()=>[v(" 提交 ")]),_:1}),e(c,{onClick:l[10]||(l[10]=o=>g(i.value))},{default:n(()=>[v("重置")]),_:1})]),_:1})]),_:1},8,["model","rules"])])}}},Q=F(P,[["__scopeId","data-v-210162a2"]]);export{Q as default};

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