OA板块整合与实现
This commit is contained in:
parent
6d43ef7938
commit
a675032257
|
@ -25,6 +25,8 @@ public class FlowStep extends BaseEntity {
|
|||
@JsonIgnore
|
||||
private String userIds;
|
||||
|
||||
@JsonIgnore
|
||||
private String auditIds;
|
||||
@JsonIgnore
|
||||
private String mode;
|
||||
|
||||
|
@ -38,6 +40,7 @@ public class FlowStep extends BaseEntity {
|
|||
|
||||
private String type;
|
||||
|
||||
|
||||
@JsonIgnore
|
||||
private String assignedType;
|
||||
|
||||
|
@ -47,4 +50,8 @@ public class FlowStep extends BaseEntity {
|
|||
@JsonIgnore
|
||||
private String formPerms;
|
||||
|
||||
public FlowStep() {
|
||||
this.auditIds = "";
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -64,18 +64,22 @@ public class ProcessApproval implements IProcessType {
|
|||
} else {
|
||||
flowStep.setUserIds(StrUtil.join(",", CollUtil.getFieldValues(props.getAssignedUser(), "id", String.class)));
|
||||
}
|
||||
break;
|
||||
}
|
||||
case FlowConstant.ASSIGNED_TYPE_ASSIGN_DEPT: { // 指定部门负责人
|
||||
List<UserDept> userDeptList = userDeptService.getUserListByDeptId(CollUtil.getFieldValues(props.getAssignedDept(), "id", String.class));
|
||||
flowStep.setUserIds(StrUtil.join(",", CollUtil.getFieldValues(userDeptList, "id", String.class)));
|
||||
break;
|
||||
}
|
||||
case FlowConstant.ASSIGNED_TYPE_LEADER: { // 用户所在部门领导
|
||||
UserDept leader = userDeptService.getUserDeptLeader(flow.getUserId());
|
||||
if(leader == null) this.doNoBody(flowStep, props.getNobody());
|
||||
else flowStep.setUserIds(leader.getId().toString());
|
||||
break;
|
||||
}
|
||||
case FlowConstant.ASSIGNED_TYPE_SELF: { // 发起人自己
|
||||
flowStep.setUserIds(flow.getUserId().toString());
|
||||
break;
|
||||
}
|
||||
case FlowConstant.ASSIGNED_TYPE_FORM_USER: { // 表单内联系人
|
||||
|
||||
|
@ -106,16 +110,27 @@ public class ProcessApproval implements IProcessType {
|
|||
log.setUserId(current.getId());
|
||||
flowStepLogService.save(log);
|
||||
|
||||
if(StrUtil.isBlank(flowStep.getAuditIds())) {
|
||||
flowStep.setAuditIds(current.getId());
|
||||
}else {
|
||||
flowStep.setAuditIds(flowStep.getAuditIds() + "," + current.getId());
|
||||
}
|
||||
|
||||
|
||||
if(FlowConstant.STEP_STATUS_PASS.equals(dto.getAction())) {
|
||||
// 判断是否全部完成
|
||||
switch (flowStep.getMode()) {
|
||||
case FlowConstant.MODE_OR: { // 会签 只要一个同意 就提交到下一节点
|
||||
this.doCreateNextFlowStep(flow, flowStep);
|
||||
break;
|
||||
}
|
||||
case FlowConstant.MODE_AND: { // 与签 需要全部签完 才能提交到下一节点
|
||||
if(flowStepLogService.isAllApproval(flowStep, StrUtil.split(flowStep.getUserIds(), ","))){
|
||||
this.doCreateNextFlowStep(flow, flowStep);
|
||||
}else {
|
||||
flowStepService.updateById(flowStep);
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
} else { // 拒绝
|
||||
|
@ -157,7 +172,7 @@ public class ProcessApproval implements IProcessType {
|
|||
flowStepService.updateById(flowStep);
|
||||
FlowProcess nextFlow = JSONUtil.toBean(flowStep.getNextStep(), FlowProcess.class);
|
||||
if(StrUtil.isEmpty(nextFlow.getId())) {
|
||||
flow.setStatus(FlowConstant.FLOW_STATUS_PASS);
|
||||
flow.setStatus(FlowConstant.FLOW_STATUS_DONE);
|
||||
}else {
|
||||
flow.setStep(flow.getStep()+1);
|
||||
flow.setStepName(nextFlow.getName());
|
||||
|
|
|
@ -86,7 +86,7 @@ public class FlowService extends BaseService<FlowMapper, Flow> {
|
|||
flow.setName(formily.getName());
|
||||
flow.setStep(1);
|
||||
flow.setStepName(firstProcess.getName());
|
||||
flow.setName(firstProcess.getName());
|
||||
flow.setName(formily.getName());
|
||||
flow.setItems(formily.getItems());
|
||||
flow.setData(dto.getData().toString());
|
||||
flow.setFormPerms(root.getProps().getFormPerms().toString());
|
||||
|
|
|
@ -32,6 +32,7 @@ public class FlowStepService extends BaseService<FlowStepMapper, FlowStep> {
|
|||
@Resource
|
||||
private FlowService flowService;
|
||||
|
||||
|
||||
/**
|
||||
* 我待处理
|
||||
* @param isDone true: 返回 PASS 和 REFUSE false: 返回 ACTIVE
|
||||
|
@ -40,9 +41,12 @@ public class FlowStepService extends BaseService<FlowStepMapper, FlowStep> {
|
|||
public PageResult<FlowStep> getFlowTodoList(Boolean isDone) {
|
||||
UserDept currentUser = userDeptService.getCurrentUser();
|
||||
LambdaQueryWrapper<FlowStep> qw = new LambdaQueryWrapper<>(FlowStep.class).orderByDesc(FlowStep::getCreatedAt);
|
||||
if(isDone) qw.ne(FlowStep::getStatus, FlowConstant.FLOW_STATUS_DONE);
|
||||
else qw.eq(FlowStep::getStatus, FlowConstant.STEP_STATUS_ACTIVE);
|
||||
qw.apply("FIND_IN_SET ('" + currentUser.getId() + "', user_ids)");
|
||||
if(isDone) qw.apply("FIND_IN_SET ('" + currentUser.getId() + "', audit_ids)");
|
||||
else {
|
||||
qw.apply("FIND_IN_SET ('" + currentUser.getId() + "', user_ids)");
|
||||
qw.apply("!FIND_IN_SET ('" + currentUser.getId() + "', audit_ids)");
|
||||
}
|
||||
|
||||
PageResult<FlowStep> pageResult = PageResultFactory.createPageResult(page(PageFactory.defaultPage(),qw));
|
||||
return pageResult;
|
||||
}
|
||||
|
@ -60,7 +64,6 @@ public class FlowStepService extends BaseService<FlowStepMapper, FlowStep> {
|
|||
processTypeFactory.getProcessType(flowStep.getType()).complete(flow, flowStep, dto);
|
||||
flowService.updateById(flow);
|
||||
|
||||
|
||||
}
|
||||
return Result.success();
|
||||
}
|
||||
|
|
|
@ -27,7 +27,7 @@ public interface IUserDeptService {
|
|||
List<UserDept> getUserListByDeptId(List<String> deptIds) ;
|
||||
|
||||
/**
|
||||
* 根据部门ID,返回该部门负责人
|
||||
* 根据用户ID,返回该用户列表
|
||||
* @param userIds
|
||||
* @return
|
||||
*/
|
||||
|
|
|
@ -64,7 +64,7 @@ public class UserDeptServiceImpl implements IUserDeptService {
|
|||
);
|
||||
if (CollUtil.isNotEmpty(users)) {
|
||||
users.forEach(user -> {
|
||||
result.add(new UserDept(user.getId(), user.getUserName(), "user", "", isLeader(user.getJob())));
|
||||
result.add(new UserDept(user.getId(), user.getUserName(), "user", user.getImage(), isLeader(user.getJob())));
|
||||
});
|
||||
}
|
||||
}
|
||||
|
@ -87,7 +87,7 @@ public class UserDeptServiceImpl implements IUserDeptService {
|
|||
Boolean isLeader = isLeader(user.getJob());
|
||||
|
||||
if (isLeader) {
|
||||
return new UserDept(user.getId(), user.getUserName(), "user", "", isLeader(user.getJob()));
|
||||
return new UserDept(user.getId(), user.getUserName(), "user", user.getImage(), isLeader(user.getJob()));
|
||||
}
|
||||
|
||||
String leaderJobId = getLeaderJobId();
|
||||
|
@ -101,7 +101,7 @@ public class UserDeptServiceImpl implements IUserDeptService {
|
|||
|
||||
if (ObjectUtil.isNull(leaderUser)) return null;
|
||||
|
||||
return new UserDept(leaderUser.getId(), leaderUser.getUserName(), "user", "", isLeader(user.getJob()));
|
||||
return new UserDept(leaderUser.getId(), leaderUser.getUserName(), "user", user.getImage(), isLeader(user.getJob()));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -118,7 +118,7 @@ public class UserDeptServiceImpl implements IUserDeptService {
|
|||
List<UserDept> userDeptList = new ArrayList<UserDept>();
|
||||
if (CollUtil.isNotEmpty(userList)) {
|
||||
userList.forEach(user -> {
|
||||
userDeptList.add(new UserDept(user.getId(), user.getUserName(), "user", "", isLeader(user.getJob())));
|
||||
userDeptList.add(new UserDept(user.getId(), user.getUserName(), "user", user.getImage(), isLeader(user.getJob())));
|
||||
});
|
||||
|
||||
}
|
||||
|
@ -134,10 +134,15 @@ public class UserDeptServiceImpl implements IUserDeptService {
|
|||
.eq(User::getStatus, true)
|
||||
);
|
||||
if (CollUtil.isEmpty(userList)) return null;
|
||||
List<String> deptIds = userList.stream().map(User::getDept).collect(Collectors.toList());
|
||||
|
||||
return getUserListByDeptId(deptIds);
|
||||
List<UserDept> userDeptList = new ArrayList<UserDept>();
|
||||
if (CollUtil.isNotEmpty(userList)) {
|
||||
userList.forEach(user -> {
|
||||
userDeptList.add(new UserDept(user.getId(), user.getUserName(), "user", user.getImage(), isLeader(user.getJob())));
|
||||
});
|
||||
|
||||
}
|
||||
return userDeptList;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -148,7 +153,7 @@ public class UserDeptServiceImpl implements IUserDeptService {
|
|||
.last("limit 1")
|
||||
);
|
||||
if (ObjectUtil.isNull(user)) return null;
|
||||
return new UserDept(user.getId(), user.getUserName(), "user", "", isLeader(user.getJob()));
|
||||
return new UserDept(user.getId(), user.getUserName(), "user", user.getImage(), isLeader(user.getJob()));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -159,7 +164,7 @@ public class UserDeptServiceImpl implements IUserDeptService {
|
|||
.last("limit 1")
|
||||
);
|
||||
if (ObjectUtil.isNull(user)) return null;
|
||||
return new UserDept(user.getId(), user.getUserName(), "user", "", isLeader(user.getJob()));
|
||||
return new UserDept(user.getId(), user.getUserName(), "user", user.getImage(), isLeader(user.getJob()));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -170,7 +175,7 @@ public class UserDeptServiceImpl implements IUserDeptService {
|
|||
.last("limit 1")
|
||||
);
|
||||
if (ObjectUtil.isNull(user)) return null;
|
||||
return new UserDept(user.getId(), user.getUserName(), "user", "", isLeader(user.getJob()));
|
||||
return new UserDept(user.getId(), user.getUserName(), "user", user.getImage(), isLeader(user.getJob()));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -183,11 +188,13 @@ public class UserDeptServiceImpl implements IUserDeptService {
|
|||
SaTokenInfo tokenInfo = StpUtil.getTokenInfo();
|
||||
Dict result = Dict.create();
|
||||
result.set("tokenName", tokenInfo.getTokenName());
|
||||
result.set("userId", StpUtil.getLoginIdAsString());
|
||||
result.set("tokenPrefix", tokenPrefix);
|
||||
result.set("tokenValue", tokenInfo.getTokenValue());
|
||||
result.set("name", loginUser.getUserName());
|
||||
List<Menu> menus = userService.menuTreesByUserId(StpUtil.getLoginIdAsString());
|
||||
result.set("menus", menus);
|
||||
result.set("image", loginUser.getImage());
|
||||
|
||||
List<String> perms = new ArrayList<String>();
|
||||
List<Menu> menuList = userService.menusByUser(StpUtil.getLoginIdAsString());
|
||||
|
|
|
@ -19,15 +19,18 @@ public class SaTokenConfig implements WebMvcConfigurer {
|
|||
|
||||
@Override
|
||||
public void addResourceHandlers(ResourceHandlerRegistry registry) {
|
||||
registry.addResourceHandler("/index1/assets/**").addResourceLocations("classpath:/html/dist/assets/");
|
||||
registry.addResourceHandler("/lc/**").addResourceLocations("classpath:/html/lc/");
|
||||
registry.addResourceHandler("/formily/**").addResourceLocations("classpath:/html/formily/");
|
||||
registry.addResourceHandler("/upload/**").addResourceLocations("file:" + System.getProperty("user.dir") + "/upload/");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addViewControllers(ViewControllerRegistry registry) {
|
||||
registry.addRedirectViewController("/","/index1/");
|
||||
registry.addViewController("/index1/").setViewName("dist/index.html");
|
||||
|
||||
registry.addRedirectViewController("/","/lc");
|
||||
registry.addRedirectViewController("/lc","/lc/");
|
||||
registry.addViewController("/lc/").setViewName("lc/index.html");
|
||||
registry.addRedirectViewController("/formily","/formily/");
|
||||
registry.addViewController("/formily/").setViewName("formily/index.html");
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -9,6 +9,7 @@ import com.ydool.common.constant.UrlConstant;
|
|||
import com.ydool.common.data.dto.AjaxResult;
|
||||
import com.ydool.system.dto.UserDto;
|
||||
import com.ydool.system.request.IdsRequest;
|
||||
import com.ydool.system.request.ImageRequest;
|
||||
import com.ydool.system.request.UserRequest;
|
||||
import com.ydool.system.request.UserRolesRequest;
|
||||
import com.ydool.system.service.IUserService;
|
||||
|
@ -189,4 +190,17 @@ public class UserController extends BaseController {
|
|||
public AjaxResult editUserRoles(@RequestBody @Validated UserRolesRequest userRolesRequest) {
|
||||
return userService.editUserRoles(userRolesRequest);
|
||||
}
|
||||
|
||||
/**
|
||||
* 更换头像
|
||||
*
|
||||
* @param imageRequest
|
||||
* @return
|
||||
*/
|
||||
@PutMapping(value = "editImage")
|
||||
@ApiOperation(value = "更换头像")
|
||||
@ApiOperationSupport(order = 10)
|
||||
public AjaxResult editImage(@RequestBody @Validated ImageRequest imageRequest) {
|
||||
return userService.editImage(imageRequest);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -73,4 +73,7 @@ public class User extends BaseEntity{
|
|||
@ApiModelProperty(value = "岗位")
|
||||
private String job;
|
||||
|
||||
@ApiModelProperty(value = "头像")
|
||||
private String image;
|
||||
|
||||
}
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
package com.ydool.system.request;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
|
||||
@Data
|
||||
public class ImageRequest {
|
||||
@ApiModelProperty(value = "头像")
|
||||
@NotBlank(message = "头像不能为空")
|
||||
private String image;
|
||||
}
|
|
@ -40,4 +40,8 @@ public class UserRequest {
|
|||
@ApiModelProperty(value = "岗位")
|
||||
@NotBlank(message = "岗位不能为空")
|
||||
private String job;
|
||||
|
||||
@ApiModelProperty(value = "头像")
|
||||
@NotBlank(message = "头像不能为空")
|
||||
private String image;
|
||||
}
|
||||
|
|
|
@ -5,6 +5,7 @@ import com.ydool.common.data.dto.AjaxResult;
|
|||
import com.ydool.system.entity.Menu;
|
||||
import com.ydool.system.entity.Role;
|
||||
import com.ydool.system.request.IdsRequest;
|
||||
import com.ydool.system.request.ImageRequest;
|
||||
import com.ydool.system.request.UserRequest;
|
||||
import com.ydool.system.request.UserRolesRequest;
|
||||
|
||||
|
@ -126,5 +127,12 @@ public interface IUserService {
|
|||
*/
|
||||
List<Menu> menusByUser(String id);
|
||||
|
||||
/**
|
||||
* 更换头像
|
||||
*
|
||||
* @param imageRequest
|
||||
* @return
|
||||
*/
|
||||
AjaxResult editImage(ImageRequest imageRequest);
|
||||
}
|
||||
|
||||
|
|
|
@ -93,6 +93,7 @@ public class AuthServiceImpl extends BaseService<UserMapper, User> implements IA
|
|||
result.set("tokenPrefix", tokenPrefix);
|
||||
result.set("tokenValue", tokenInfo.getTokenValue());
|
||||
result.set("name", loginUser.getUserName());
|
||||
result.set("image", loginUser.getImage());
|
||||
|
||||
//获取菜单和权限标识
|
||||
List<Menu> menus = userService.menuTreesByUser(loginUser.getId());
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package com.ydool.system.service.impl;
|
||||
|
||||
import cn.dev33.satoken.stp.StpUtil;
|
||||
import cn.hutool.core.bean.BeanUtil;
|
||||
import cn.hutool.core.collection.CollUtil;
|
||||
import cn.hutool.core.lang.Validator;
|
||||
|
@ -21,6 +22,7 @@ import com.ydool.system.entity.Role;
|
|||
import com.ydool.system.entity.User;
|
||||
import com.ydool.system.mapper.UserMapper;
|
||||
import com.ydool.system.request.IdsRequest;
|
||||
import com.ydool.system.request.ImageRequest;
|
||||
import com.ydool.system.request.UserRequest;
|
||||
import com.ydool.system.request.UserRolesRequest;
|
||||
import com.ydool.system.service.IUserService;
|
||||
|
@ -405,6 +407,21 @@ public class UserServiceImpl extends BaseService<UserMapper, User> implements IU
|
|||
|
||||
}
|
||||
|
||||
/**
|
||||
* 更换头像
|
||||
*
|
||||
* @param imageRequest
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
public AjaxResult editImage(ImageRequest imageRequest) {
|
||||
User user = getById(StpUtil.getLoginIdAsString());
|
||||
if (ObjectUtil.isNull(user)) return AjaxResult.fail("该用户不存在");
|
||||
BeanUtil.copyProperties(user, imageRequest);
|
||||
boolean flag = updateById(user);
|
||||
return flag ? AjaxResult.ok().msg("更换头像成功") : AjaxResult.fail("更换头像失败");
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 校验用户
|
||||
|
|
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 +0,0 @@
|
|||
import{a0 as k,f,ag as r,o as V,c as x,a as l,d as t,S as n,a7 as N}from"./@vue-99409b8e.js";import{u as b}from"./vue-router-3caf458d.js";import{h as R,t as C,s as p}from"./index-20a04bd1.js";import"./jsencrypt-92720e80.js";import{u as U}from"./perms-3f203373.js";import{E as w}from"./element-plus-15eb8ab3.js";import"./pinia-8e4f3b7e.js";import"./vue-demi-71ba0ef2.js";import"./axios-46f5fd04.js";import"./form-data-d2a9677b.js";import"./js-cookie-40e39767.js";import"./_plugin-vue_export-helper-c27b6911.js";import"./lodash-es-b9271f86.js";import"./@vueuse-c162c6d2.js";import"./@element-plus-12a4a04c.js";import"./@popperjs-c75af06c.js";import"./@ctrl-1c80e935.js";import"./dayjs-9729b6d9.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 B=""+new URL("login_02-7ace4b93.png",import.meta.url).href;const E={id:"login"},K=l("div",{class:"login_left"},[l("img",{src:B,alt:""})],-1),P={id:"login_form"},L=l("h2",{class:"title"},"账号登录",-1),S=l("span",{class:"info1"},"登 录",-1),ne={__name:"index",setup(z){const g=b(),h=U(),a=k({user:"",password:""}),i=f(!1),d=f(),u=async()=>{d.value.validate(async _=>{if(_){i.value=!0;var o={userName:a.user,password:a.password};R.post("/api/auth/login",o).then(e=>{if(e.code==200){var s={token:e.data.tokenValue,name:e.data.name,menus:e.data.menus,perms:e.data.perms,need_init_password:e.data.need_init_password,deptName:e.data.deptName};C.data.set("user",s),p("token",s.token),p("username",s.name),p("deptName",s.deptName),h.changePerms(e.data.perms),w.success("登录成功"),i.value=!1,g.push("/")}else w.error(e.message),i.value=!1})}})};return(_,o)=>{const e=r("el-input"),s=r("el-form-item"),c=r("el-row"),v=r("el-button"),y=r("el-form");return V(),x("div",E,[K,l("div",P,[L,t(y,{model:a,size:"large",ref_key:"formRef",ref:d,onKeyup:N(u,["enter","native"])},{default:n(()=>[t(c,{span:22},{default:n(()=>[t(s,{prop:"user"},{default:n(()=>[t(e,{modelValue:a.user,"onUpdate:modelValue":o[0]||(o[0]=m=>a.user=m),style:{width:"100%"},placeholder:"请输入登录账号","prefix-icon":"User"},null,8,["modelValue"])]),_:1})]),_:1}),t(c,{span:22},{default:n(()=>[t(s,{prop:"password"},{default:n(()=>[t(e,{modelValue:a.password,"onUpdate:modelValue":o[1]||(o[1]=m=>a.password=m),style:{width:"100%"},type:"password",placeholder:"请输入登录密码","prefix-icon":"Lock","show-password":""},null,8,["modelValue"])]),_:1})]),_:1}),t(v,{class:"login-btn-submit",type:"primary",round:"",onClick:o[2]||(o[2]=m=>u()),loading:i.value,color:"#729880",style:{width:"100%"}},{default:n(()=>[S]),_:1},8,["loading"])]),_:1},8,["model","onKeyup"])])])}}};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
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
Binary file not shown.
After Width: | Height: | Size: 4.2 KiB |
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 @@
|
|||
.process-form[data-v-2d68a454] .el-form-item__label,.process-form[data-v-e1afed36] .el-form-item__label{padding:0 0}.workspace[data-v-6b96d1a0]{padding:50px 20px;position:relative}.workspace .back[data-v-6b96d1a0]{position:absolute;left:20px;top:13px}.workspace .no-data[data-v-6b96d1a0]{text-align:center;padding:50px 0;color:#656565;margin:0 auto}.workspace[data-v-6b96d1a0] .el-collapse{padding:0 15px;background:#fff}.workspace[data-v-6b96d1a0] .el-collapse .el-collapse-item__header{font-size:medium}.workspace[data-v-6b96d1a0] .el-collapse .el-collapse-item__wrap{padding:20px 10px}.workspace[data-v-6b96d1a0] .el-collapse .el-tabs--border-card .el-tabs__content{padding:40px 15px}.workspace .form-item[data-v-6b96d1a0]{padding:15px 10px;width:200px;cursor:pointer;border:1px solid #d9dada;border-radius:5px;float:left;margin:5px 10px;height:37px}.workspace .form-item[data-v-6b96d1a0]:hover{border:1px solid #448ed7}.workspace .form-item:hover span[data-v-6b96d1a0]{display:inline-block!important}.workspace .form-item i[data-v-6b96d1a0]{padding:8px;border-radius:8px;float:left;font-size:20px;color:#fff;background:#38adff;height:20px;line-height:20px}.workspace .form-item div[data-v-6b96d1a0]{height:35px;line-height:35px}.workspace .form-item div div[data-v-6b96d1a0]{display:inline-block;margin-left:10px;width:100px}.workspace .form-item div span[data-v-6b96d1a0]{display:none;float:right;color:#38adff;font-size:12px}@media screen and (max-width:800px){.form-item[data-v-6b96d1a0]{padding:12px 10px!important;width:150px!important;margin:5px!important}.form-item:hover span[data-v-6b96d1a0]:last-child{display:none!important}}.plus-icon-enter-active[data-v-6b96d1a0]{transition:opacity .5s}.plus-icon-enter[data-v-6b96d1a0]{opacity:0}.plus-icon-leave-active[data-v-6b96d1a0]{transition:opacity .5s}.plus-icon-leave-to[data-v-6b96d1a0]{opacity:0}
|
|
@ -0,0 +1 @@
|
|||
.length[data-v-cb41411c]{margin-top:5px}.length[data-v-cb41411c]:nth-child(2){color:#8c8c8c}.dateTimeRange[data-v-cb41411c] .el-date-editor--datetimerange.el-input__inner{width:100%;max-width:400px}
|
|
@ -0,0 +1 @@
|
|||
.design i[data-v-3fb380a7]{padding:10px;font-size:xx-large;background:#fff;border:1px dashed #8c8c8c}[data-v-3fb380a7] .el-upload--picture-card{width:80px;height:80px;line-height:87px}[data-v-3fb380a7] .el-upload-list__item{width:80px;height:80px}[data-v-3fb380a7] .el-upload-list__item .el-upload-list__item-actions>span+span{margin:1px}.fileList[data-v-3fb380a7]{display:flex}.fileList .fileList_item[data-v-3fb380a7]{width:80px;height:80px;margin-right:10px;margin-bottom:10px;cursor:pointer;border:1px solid #e5e7ec;border-radius:4px;padding:2px}.fileList .fileList_item img[data-v-3fb380a7]{width:100%}
|
|
@ -0,0 +1 @@
|
|||
.choose[data-v-5df17023]{border:1px dashed #1890ff!important}.l-drag-from[data-v-5df17023]{min-height:50px;background-color:#f5f6f6}.l-drag-from .l-form-item[data-v-5df17023],.l-drag-from li[data-v-5df17023]{cursor:grab;background:#fff;padding:10px;border:1px solid #ebecee;margin:5px 0}.l-form-header[data-v-5df17023]{font-size:small;color:#818181;text-align:left;position:relative;background-color:#fff}.l-form-header p[data-v-5df17023]{position:relative;margin:0 0 10px 0}.l-form-header p span[data-v-5df17023]{position:absolute;left:-8px;top:3px;color:#d90013}.l-form-header .l-option[data-v-5df17023]{position:absolute;top:-10px;right:-10px}.l-form-header .l-option i[data-v-5df17023]{font-size:large;cursor:pointer;color:#8c8c8c;padding:5px}.l-form-header .l-option i[data-v-5df17023]:hover{color:#1890ff}
|
|
@ -0,0 +1 @@
|
|||
.length[data-v-4e935342]{margin-top:5px}.length[data-v-4e935342]:nth-child(2){color:#8c8c8c}[data-v-4e935342] .el-date-editor--datetimerange.el-input__inner{width:100%;max-width:400px}
|
|
@ -0,0 +1 @@
|
|||
.placeholder[data-v-5198b846]{margin-left:10px;color:#adabab;font-size:smaller}
|
|
@ -0,0 +1 @@
|
|||
[data-v-0f04320c] .valid-error .el-input__inner{border-color:#f56c6c}.choose[data-v-0f04320c]{border:1px dashed #1890ff!important}.table-column[data-v-0f04320c]{padding:5px;margin-bottom:10px;border-left:3px solid #409eff;border-radius:5px;background:#fafafa}.table-column[data-v-0f04320c] .el-form-item{margin-bottom:0}.table-column[data-v-0f04320c] .el-form-item .el-form-item__label{height:25px}.table-column .table-column-action[data-v-0f04320c]{float:right}.table-column .table-column-action span[data-v-0f04320c]{color:#afafaf;margin-right:10px;font-size:13px}.table-column .table-column-action i[data-v-0f04320c]{color:#afafaf;padding:5px;font-size:large;cursor:pointer}.table-column .table-column-action i[data-v-0f04320c]:hover{color:#666}.l-drag-from[data-v-0f04320c]{min-height:50px;background-color:#f5f6f6}.l-drag-from .l-form-item[data-v-0f04320c],.l-drag-from li[data-v-0f04320c]{cursor:grab;background:#fff;padding:10px;border:1px solid #ebecee;margin:5px 0}.l-form-header[data-v-0f04320c]{font-size:small;color:#818181;text-align:left;position:relative;background-color:#fff}.l-form-header p[data-v-0f04320c]{position:relative;margin:0 0 10px 0}.l-form-header p span[data-v-0f04320c]{position:absolute;left:-8px;top:3px;color:#d90013}.l-form-header .l-option[data-v-0f04320c]{position:absolute;top:-10px;right:-10px}.l-form-header .l-option i[data-v-0f04320c]{font-size:large;cursor:pointer;color:#8c8c8c;padding:5px}.l-form-header .l-option i[data-v-0f04320c]:hover{color:#1890ff}
|
|
@ -0,0 +1 @@
|
|||
.candidate[data-v-52bb4b3c],.selected[data-v-52bb4b3c]{position:absolute;display:inline-block;width:278px;height:400px;border:1px solid #e8e8e8}.picker[data-v-52bb4b3c]{height:402px;position:relative;text-align:left}.picker .candidate[data-v-52bb4b3c]{left:0;top:0}.picker .candidate .role-header[data-v-52bb4b3c]{padding:10px!important;margin-bottom:5px;border-bottom:1px solid #e8e8e8}.picker .candidate .top-dept[data-v-52bb4b3c]{margin-left:20px;cursor:pointer;color:#38adff}.picker .candidate .next-dept[data-v-52bb4b3c]{float:right;color:#1890ff;cursor:pointer}.picker .candidate .next-dept-disable[data-v-52bb4b3c]{float:right;color:#8c8c8c;cursor:not-allowed}.picker .candidate>div[data-v-52bb4b3c]:first-child{padding:5px 10px}.picker .selected[data-v-52bb4b3c]{right:0;top:0}.picker .org-items[data-v-52bb4b3c]{overflow-y:auto;height:310px}.picker .org-items .el-icon-close[data-v-52bb4b3c]{position:absolute;right:5px;cursor:pointer;font-size:larger}.picker .org-items .org-dept-item[data-v-52bb4b3c]{padding:10px 5px}.picker .org-items .org-dept-item>div[data-v-52bb4b3c]{display:inline-block}.picker .org-items .org-dept-item>div>span[data-v-52bb4b3c]:last-child{position:absolute;right:5px}.picker .org-items .org-role-item[data-v-52bb4b3c]{display:flex;align-items:center;padding:10px 5px}.picker .org-items[data-v-52bb4b3c] .org-user-item{display:flex;align-items:center;padding:5px}.picker .org-items[data-v-52bb4b3c] .org-user-item>div{display:inline-block}.picker .org-items[data-v-52bb4b3c] .org-user-item .avatar{width:35px;text-align:center;line-height:35px;background:#1890ff;color:#fff;border-radius:50%}.picker .org-items[data-v-52bb4b3c] .org-item{margin:0 5px;border-radius:5px;position:relative}.picker .org-items[data-v-52bb4b3c] .org-item .el-checkbox{margin-right:10px}.picker .org-items[data-v-52bb4b3c] .org-item .name{margin-left:5px}.picker .org-items[data-v-52bb4b3c] .org-item:hover{background:#f1f1f1}.selected[data-v-52bb4b3c]{border-left:none}.selected .count[data-v-52bb4b3c]{width:258px;padding:10px;display:inline-block;border-bottom:1px solid #e8e8e8;margin-bottom:5px}.selected .count>span[data-v-52bb4b3c]:nth-child(2){float:right;color:#c75450;cursor:pointer}[data-v-52bb4b3c] .el-dialog__body{padding:10px 20px}.disabled[data-v-52bb4b3c]{cursor:not-allowed!important;color:#8c8c8c!important}[data-v-52bb4b3c]::-webkit-scrollbar{float:right;width:4px;height:4px;background-color:#fff}[data-v-52bb4b3c]::-webkit-scrollbar-thumb{border-radius:16px;background-color:#efefef}.org-item[data-v-52bb4b3c]{position:relative}.org-item[data-v-52bb4b3c]:after{content:"";position:absolute;left:0;right:0;top:0;bottom:0;z-index:999;cursor:pointer}.org-item .lowerLevel[data-v-52bb4b3c]{position:relative;z-index:9999}.placeholder[data-v-3fe4ec53]{margin-left:10px;color:#adabab;font-size:smaller}
|
|
@ -0,0 +1 @@
|
|||
.design i[data-v-5f14cdc0]{padding:10px;font-size:xx-large;background:#fff;border:1px dashed #8c8c8c}[data-v-5f14cdc0] .el-upload--picture-card{width:80px;height:80px;line-height:87px}[data-v-5f14cdc0] .el-upload-list__item{width:80px;height:80px}[data-v-5f14cdc0] .el-upload-list__item .el-upload-list__item-actions>span+span{margin:1px}
|
|
@ -0,0 +1 @@
|
|||
.chinese[data-v-9b968d32]{color:#afadad;font-size:smaller}[data-v-9b968d32] .el-input__inner{text-align:left}
|
|
@ -0,0 +1 @@
|
|||
.candidate[data-v-52bb4b3c],.selected[data-v-52bb4b3c]{position:absolute;display:inline-block;width:278px;height:400px;border:1px solid #e8e8e8}.picker[data-v-52bb4b3c]{height:402px;position:relative;text-align:left}.picker .candidate[data-v-52bb4b3c]{left:0;top:0}.picker .candidate .role-header[data-v-52bb4b3c]{padding:10px!important;margin-bottom:5px;border-bottom:1px solid #e8e8e8}.picker .candidate .top-dept[data-v-52bb4b3c]{margin-left:20px;cursor:pointer;color:#38adff}.picker .candidate .next-dept[data-v-52bb4b3c]{float:right;color:#1890ff;cursor:pointer}.picker .candidate .next-dept-disable[data-v-52bb4b3c]{float:right;color:#8c8c8c;cursor:not-allowed}.picker .candidate>div[data-v-52bb4b3c]:first-child{padding:5px 10px}.picker .selected[data-v-52bb4b3c]{right:0;top:0}.picker .org-items[data-v-52bb4b3c]{overflow-y:auto;height:310px}.picker .org-items .el-icon-close[data-v-52bb4b3c]{position:absolute;right:5px;cursor:pointer;font-size:larger}.picker .org-items .org-dept-item[data-v-52bb4b3c]{padding:10px 5px}.picker .org-items .org-dept-item>div[data-v-52bb4b3c]{display:inline-block}.picker .org-items .org-dept-item>div>span[data-v-52bb4b3c]:last-child{position:absolute;right:5px}.picker .org-items .org-role-item[data-v-52bb4b3c]{display:flex;align-items:center;padding:10px 5px}.picker .org-items[data-v-52bb4b3c] .org-user-item{display:flex;align-items:center;padding:5px}.picker .org-items[data-v-52bb4b3c] .org-user-item>div{display:inline-block}.picker .org-items[data-v-52bb4b3c] .org-user-item .avatar{width:35px;text-align:center;line-height:35px;background:#1890ff;color:#fff;border-radius:50%}.picker .org-items[data-v-52bb4b3c] .org-item{margin:0 5px;border-radius:5px;position:relative}.picker .org-items[data-v-52bb4b3c] .org-item .el-checkbox{margin-right:10px}.picker .org-items[data-v-52bb4b3c] .org-item .name{margin-left:5px}.picker .org-items[data-v-52bb4b3c] .org-item:hover{background:#f1f1f1}.selected[data-v-52bb4b3c]{border-left:none}.selected .count[data-v-52bb4b3c]{width:258px;padding:10px;display:inline-block;border-bottom:1px solid #e8e8e8;margin-bottom:5px}.selected .count>span[data-v-52bb4b3c]:nth-child(2){float:right;color:#c75450;cursor:pointer}[data-v-52bb4b3c] .el-dialog__body{padding:10px 20px}.disabled[data-v-52bb4b3c]{cursor:not-allowed!important;color:#8c8c8c!important}[data-v-52bb4b3c]::-webkit-scrollbar{float:right;width:4px;height:4px;background-color:#fff}[data-v-52bb4b3c]::-webkit-scrollbar-thumb{border-radius:16px;background-color:#efefef}.org-item[data-v-52bb4b3c]{position:relative}.org-item[data-v-52bb4b3c]:after{content:"";position:absolute;left:0;right:0;top:0;bottom:0;z-index:999;cursor:pointer}.org-item .lowerLevel[data-v-52bb4b3c]{position:relative;z-index:9999}.placeholder[data-v-11825000]{margin-left:10px;color:#adabab;font-size:smaller}
|
|
@ -0,0 +1 @@
|
|||
.process-form[data-v-e1afed36] .el-form-item__label{padding:0 0}.WorkspaceDetails[data-v-5be01ab4]{padding:13px 20px 50px;position:relative}.WorkspaceDetails .content[data-v-5be01ab4]{display:flex;margin-top:20px;overflow:hidden}.WorkspaceDetails .content .formData[data-v-5be01ab4]{flex:auto;margin-right:20px}.WorkspaceDetails .content .steps[data-v-5be01ab4]{flex:0 0 350px;padding:20px;background-color:#fff;border-radius:8px;box-sizing:border-box}.WorkspaceDetails .content .steps .title[data-v-5be01ab4]{font-size:16px;padding:0 0 15px;margin:0}.WorkspaceDetails .content .steps .steps_content[data-v-5be01ab4]{position:relative}.WorkspaceDetails .content .steps .steps_content[data-v-5be01ab4]:before{content:"";position:absolute;width:4px;top:0;left:8px;color:#e4e4e4;background:#e4e4e4;height:100%}.WorkspaceDetails .content .steps .steps_content .steps_item[data-v-5be01ab4]{position:relative;padding-left:40px}.WorkspaceDetails .content .steps .steps_content .steps_item h5[data-v-5be01ab4]{font-size:14px;margin:0;margin-bottom:15px}.WorkspaceDetails .content .steps .steps_content .steps_item[data-v-5be01ab4]:after{content:"";position:absolute;width:20px;height:20px;background-color:#35b881;border-radius:50%;left:0;top:0}.WorkspaceDetails .content .steps .steps_content .steps_item .users[data-v-5be01ab4]{display:flex}.WorkspaceDetails .content .steps .steps_content .steps_item .users .label[data-v-5be01ab4]{font-size:14px;margin-right:10px;margin-top:5px}.WorkspaceDetails .content .steps .steps_content .steps_item .users .user_list li[data-v-5be01ab4]{display:flex;align-items:center;margin-bottom:5px}.WorkspaceDetails .content .steps .steps_content .steps_item .users .user_list li .name[data-v-5be01ab4]{font-size:14px;margin-left:5px}.WorkspaceDetails .content .steps .steps_content .steps_item .logs[data-v-5be01ab4]{background-color:#efefef;padding:6px 10px;border-radius:8px;margin:10px 0}.WorkspaceDetails .content .steps .steps_content .steps_item .logs li[data-v-5be01ab4]{margin-bottom:5px}.WorkspaceDetails .content .steps .steps_content .steps_item .logs li span[data-v-5be01ab4]{font-size:14px}.WorkspaceDetails .content .steps .steps_content .steps_item .logs li span.name[data-v-5be01ab4]{margin-right:10px}.WorkspaceDetails #audit[data-v-5be01ab4]{position:fixed;left:0;right:0;bottom:0;background-color:#fff;padding:10px 15px;display:flex;align-items:center;justify-content:center;box-shadow:0 0 4px 4px #efefef}
|
|
@ -0,0 +1 @@
|
|||
[data-v-6b06b4da] .valid-error .el-input__inner{border-color:#f56c6c}.choose[data-v-6b06b4da]{border:1px dashed #1890ff!important}.table-column[data-v-6b06b4da]{padding:5px;margin-bottom:10px;border-left:3px solid #409eff;border-radius:5px;background:#fafafa}.table-column[data-v-6b06b4da] .el-form-item{margin-bottom:0}.table-column[data-v-6b06b4da] .el-form-item .el-form-item__label{height:25px}.table-column .table-column-action[data-v-6b06b4da]{float:right}.table-column .table-column-action span[data-v-6b06b4da]{color:#afafaf;margin-right:10px;font-size:13px}.table-column .table-column-action i[data-v-6b06b4da]{color:#afafaf;padding:5px;font-size:large;cursor:pointer}.table-column .table-column-action i[data-v-6b06b4da]:hover{color:#666}.l-drag-from[data-v-6b06b4da]{min-height:50px;background-color:#f5f6f6}.l-drag-from .l-form-item[data-v-6b06b4da],.l-drag-from li[data-v-6b06b4da]{cursor:grab;background:#fff;padding:10px;border:1px solid #ebecee;margin:5px 0}.l-form-header[data-v-6b06b4da]{font-size:small;color:#818181;text-align:left;position:relative;background-color:#fff}.l-form-header p[data-v-6b06b4da]{position:relative;margin:0 0 10px 0}.l-form-header p span[data-v-6b06b4da]{position:absolute;left:-8px;top:3px;color:#d90013}.l-form-header .l-option[data-v-6b06b4da]{position:absolute;top:-10px;right:-10px}.l-form-header .l-option i[data-v-6b06b4da]{font-size:large;cursor:pointer;color:#8c8c8c;padding:5px}.l-form-header .l-option i[data-v-6b06b4da]:hover{color:#1890ff}.addButton[data-v-6b06b4da]{position:absolute;right:0;top:0;transform:translateY(-110%)}
|
|
@ -0,0 +1 @@
|
|||
.choose[data-v-f88bc4c8]{border:1px dashed #1890ff!important}.l-drag-from[data-v-f88bc4c8]{min-height:50px;background-color:#f5f6f6}.l-drag-from .l-form-item[data-v-f88bc4c8],.l-drag-from li[data-v-f88bc4c8]{cursor:grab;background:#fff;padding:10px;border:1px solid #ebecee;margin:5px 0}.l-form-header[data-v-f88bc4c8]{font-size:small;color:#818181;text-align:left;position:relative;background-color:#fff}.l-form-header p[data-v-f88bc4c8]{position:relative;margin:0 0 10px 0}.l-form-header p span[data-v-f88bc4c8]{position:absolute;left:-8px;top:3px;color:#d90013}.l-form-header .l-option[data-v-f88bc4c8]{position:absolute;top:-10px;right:-10px}.l-form-header .l-option i[data-v-f88bc4c8]{font-size:large;cursor:pointer;color:#8c8c8c;padding:5px}.l-form-header .l-option i[data-v-f88bc4c8]:hover{color:#1890ff}
|
|
@ -0,0 +1 @@
|
|||
.process-form[data-v-e1afed36] .el-form-item__label{padding:0 0}.WorkspaceDetails[data-v-22cb74e0]{padding:13px 20px 50px;position:relative;min-height:100vh;box-sizing:border-box}.WorkspaceDetails .content[data-v-22cb74e0]{display:flex;margin-top:20px;overflow:hidden}.WorkspaceDetails .content .formData[data-v-22cb74e0]{flex:auto;margin-right:20px}.WorkspaceDetails .content .steps[data-v-22cb74e0]{flex:0 0 350px;padding:20px;background-color:#fff;border-radius:8px;box-sizing:border-box}.WorkspaceDetails .content .steps .title[data-v-22cb74e0]{font-size:16px;padding:0 0 15px;margin:0}.WorkspaceDetails .content .steps .steps_content[data-v-22cb74e0]{position:relative}.WorkspaceDetails .content .steps .steps_content[data-v-22cb74e0]:before{content:"";position:absolute;width:4px;height:calc(100% - 10px);top:5px;left:6px;background:#e5e7ec}.WorkspaceDetails .content .steps .steps_content .steps_item[data-v-22cb74e0]{position:relative;padding-left:40px}.WorkspaceDetails .content .steps .steps_content .steps_item[data-v-22cb74e0]:last-of-type{background-color:#fff}.WorkspaceDetails .content .steps .steps_content .steps_item[data-v-22cb74e0]:last-of-type:after{background-color:#e5e7ec}.WorkspaceDetails .content .steps .steps_content .steps_item h5[data-v-22cb74e0]{font-size:14px;margin:0;margin-bottom:15px;display:flex;align-items:center}.WorkspaceDetails .content .steps .steps_content .steps_item h5 span[data-v-22cb74e0]{margin-right:5px}.WorkspaceDetails .content .steps .steps_content .steps_item[data-v-22cb74e0]:after{content:"";position:absolute;width:15px;height:15px;background-color:#3fcd3f;border-radius:50%;left:0;top:5px}.WorkspaceDetails .content .steps .steps_content .steps_item .users[data-v-22cb74e0]{display:flex}.WorkspaceDetails .content .steps .steps_content .steps_item .users .label[data-v-22cb74e0]{font-size:14px;margin-right:10px;margin-top:5px}.WorkspaceDetails .content .steps .steps_content .steps_item .users .user_list li[data-v-22cb74e0]{display:flex;align-items:center;margin-bottom:5px}.WorkspaceDetails .content .steps .steps_content .steps_item .users .user_list li .name[data-v-22cb74e0]{font-size:14px;margin-left:5px}.WorkspaceDetails .content .steps .steps_content .steps_item .logs[data-v-22cb74e0]{padding:6px 10px;border-radius:8px;margin:10px 0}.WorkspaceDetails .content .steps .steps_content .steps_item .logs li[data-v-22cb74e0]{margin-bottom:5px;display:flex;align-items:stretch}.WorkspaceDetails .content .steps .steps_content .steps_item .logs li .userNews[data-v-22cb74e0]{margin-left:10px}.WorkspaceDetails .content .steps .steps_content .steps_item .logs li .userNews h4[data-v-22cb74e0]{margin:0;font-size:14px;line-height:20px;color:#9a9ea7;margin-bottom:2px}.WorkspaceDetails .content .steps .steps_content .steps_item .logs li .userNews .state[data-v-22cb74e0]{font-size:14px}.WorkspaceDetails .content .steps .steps_content .steps_item .logs li .userNews .state span.PASS[data-v-22cb74e0]{color:#3fcd3f}.WorkspaceDetails .content .steps .steps_content .steps_item .logs li .userNews .state span.REFUSE[data-v-22cb74e0]{color:red}.WorkspaceDetails #audit[data-v-22cb74e0]{position:fixed;left:0;right:0;bottom:0;background-color:#fff;padding:10px 15px;display:flex;align-items:center;justify-content:center;box-shadow:0 0 4px 4px #efefef}[data-v-22cb74e0] .el-form-item{margin-bottom:5px}
|
|
@ -0,0 +1 @@
|
|||
.placeholder[data-v-70810528]{margin-left:10px;color:#adabab;font-size:smaller}
|
|
@ -0,0 +1 @@
|
|||
.candidate[data-v-52bb4b3c],.selected[data-v-52bb4b3c]{position:absolute;display:inline-block;width:278px;height:400px;border:1px solid #e8e8e8}.picker[data-v-52bb4b3c]{height:402px;position:relative;text-align:left}.picker .candidate[data-v-52bb4b3c]{left:0;top:0}.picker .candidate .role-header[data-v-52bb4b3c]{padding:10px!important;margin-bottom:5px;border-bottom:1px solid #e8e8e8}.picker .candidate .top-dept[data-v-52bb4b3c]{margin-left:20px;cursor:pointer;color:#38adff}.picker .candidate .next-dept[data-v-52bb4b3c]{float:right;color:#1890ff;cursor:pointer}.picker .candidate .next-dept-disable[data-v-52bb4b3c]{float:right;color:#8c8c8c;cursor:not-allowed}.picker .candidate>div[data-v-52bb4b3c]:first-child{padding:5px 10px}.picker .selected[data-v-52bb4b3c]{right:0;top:0}.picker .org-items[data-v-52bb4b3c]{overflow-y:auto;height:310px}.picker .org-items .el-icon-close[data-v-52bb4b3c]{position:absolute;right:5px;cursor:pointer;font-size:larger}.picker .org-items .org-dept-item[data-v-52bb4b3c]{padding:10px 5px}.picker .org-items .org-dept-item>div[data-v-52bb4b3c]{display:inline-block}.picker .org-items .org-dept-item>div>span[data-v-52bb4b3c]:last-child{position:absolute;right:5px}.picker .org-items .org-role-item[data-v-52bb4b3c]{display:flex;align-items:center;padding:10px 5px}.picker .org-items[data-v-52bb4b3c] .org-user-item{display:flex;align-items:center;padding:5px}.picker .org-items[data-v-52bb4b3c] .org-user-item>div{display:inline-block}.picker .org-items[data-v-52bb4b3c] .org-user-item .avatar{width:35px;text-align:center;line-height:35px;background:#1890ff;color:#fff;border-radius:50%}.picker .org-items[data-v-52bb4b3c] .org-item{margin:0 5px;border-radius:5px;position:relative}.picker .org-items[data-v-52bb4b3c] .org-item .el-checkbox{margin-right:10px}.picker .org-items[data-v-52bb4b3c] .org-item .name{margin-left:5px}.picker .org-items[data-v-52bb4b3c] .org-item:hover{background:#f1f1f1}.selected[data-v-52bb4b3c]{border-left:none}.selected .count[data-v-52bb4b3c]{width:258px;padding:10px;display:inline-block;border-bottom:1px solid #e8e8e8;margin-bottom:5px}.selected .count>span[data-v-52bb4b3c]:nth-child(2){float:right;color:#c75450;cursor:pointer}[data-v-52bb4b3c] .el-dialog__body{padding:10px 20px}.disabled[data-v-52bb4b3c]{cursor:not-allowed!important;color:#8c8c8c!important}[data-v-52bb4b3c]::-webkit-scrollbar{float:right;width:4px;height:4px;background-color:#fff}[data-v-52bb4b3c]::-webkit-scrollbar-thumb{border-radius:16px;background-color:#efefef}.org-item[data-v-52bb4b3c]{position:relative}.org-item[data-v-52bb4b3c]:after{content:"";position:absolute;left:0;right:0;top:0;bottom:0;z-index:999;cursor:pointer}.org-item .lowerLevel[data-v-52bb4b3c]{position:relative;z-index:9999}h4[data-v-71052690]{margin:0 auto;color:#38adff;margin-top:150px}.user[data-v-71052690]{position:absolute;left:20%;margin-top:20px}.user div[data-v-71052690]{margin-left:20px;display:inline-block}.work-panel[data-v-71052690]{text-align:left;display:flex;justify-content:center;position:relative}.work-panel .panel[data-v-71052690]{margin-top:80px;max-width:700px;display:flex;justify-content:center}.work-panel .panel .panel-item[data-v-71052690]{cursor:pointer;margin:0 40px;width:250px;padding:10px;display:inline-block;background:#fff;border-radius:10px;border:1px solid #fff;box-shadow:1px 1px 8px 0 #b0b0b1}.work-panel .panel .panel-item[data-v-71052690]:hover{border:1px solid #2594ff;box-shadow:1px 1px 13px 0 #a4a4a5}.work-panel .panel .panel-item div[data-v-71052690]:first-child{color:#7a7a7a;font-weight:700;height:60px;line-height:60px;font-size:large;border-bottom:1px solid #cccdcd}.work-panel .panel .panel-item div:first-child span[data-v-71052690]{margin-left:30px}.work-panel .panel .panel-item i[data-v-71052690]{padding:8px;color:#fff;background:#2594ff;font-size:25px;border-radius:5px}.work-panel .panel .panel-item .el-icon-s-platform[data-v-71052690]{background:#ff943e}.work-panel .panel .panel-item p[data-v-71052690]{padding:10px 0;color:#7a7a7a;font-size:medium}
|
|
@ -0,0 +1 @@
|
|||
body[data-v-708fc968]{background:#fff!important}.undrag[data-v-708fc968]{background:#ebecee!important}.from-panel[data-v-708fc968]{padding:50px 100px;min-width:500px;background:#fff}.from-panel[data-v-708fc968] .from-title div{float:right}.from-panel[data-v-708fc968] .from-title div .el-button{border-radius:15px}.choose[data-v-708fc968]{background:#e9ebee}.form-group[data-v-708fc968]{margin:20px 0;padding:5px 0;border-radius:10px;box-shadow:1px 1px 10px 0 #d2d2d2}.form-group[data-v-708fc968]:hover{box-shadow:1px 1px 12px 0 #b3b3b3}.form-group .form-group-title[data-v-708fc968]{padding:5px 20px;height:40px;line-height:40px;border-bottom:1px solid #d3d3d3}.form-group .form-group-title .el-icon-rank[data-v-708fc968]{display:none;cursor:move}.form-group .form-group-title:hover .el-icon-rank[data-v-708fc968]{display:inline-block}.form-group .form-group-title div[data-v-708fc968]{display:inline-block;float:right}.form-group .form-group-title span[data-v-708fc968]:first-child{margin-right:5px;font-size:15px;font-weight:700}.form-group .form-group-title span[data-v-708fc968]:nth-child(2){color:#656565;font-size:small;margin-right:10px}.form-group .form-group-title[data-v-708fc968] .el-button{color:#404040;margin-left:20px}.form-group .form-group-title[data-v-708fc968] .el-button:hover{color:#2b2b2b}.form-group .form-group-item[data-v-708fc968]:first-child{border-top:none!important}.form-group .form-group-item[data-v-708fc968]{color:#3e3e3e;font-size:small;padding:10px 0;margin:0 20px;height:40px;position:relative;line-height:40px;border-top:1px solid #d3d3d3}.form-group .form-group-item div[data-v-708fc968]{display:inline-block}.form-group .form-group-item i[data-v-708fc968]{border-radius:10px;padding:7px;font-size:20px;color:#fff;margin-right:10px}.form-group .form-group-item div[data-v-708fc968]:first-child{float:left}.form-group .form-group-item div[data-v-708fc968]:nth-child(2){position:absolute;color:#7a7a7a;font-size:12px;left:200px;max-width:300px;overflow:hidden}.form-group .form-group-item div[data-v-708fc968]:nth-child(3){position:absolute;right:30%}.form-group .form-group-item div[data-v-708fc968]:nth-child(4){float:right}@media screen and (max-width:1000px){.desp[data-v-708fc968]{display:none!important}}@media screen and (max-width:800px){.from-panel[data-v-708fc968]{padding:50px 10px}}
|
|
@ -0,0 +1 @@
|
|||
.chinese[data-v-cc05941c]{color:#afadad;font-size:smaller}[data-v-cc05941c] .el-input__inner{text-align:left}
|
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
After Width: | Height: | Size: 7.1 KiB |
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 @@
|
|||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-227f8800"],{"023d":function(e,t,i){"use strict";i.r(t);var a=function(){var e=this,t=e._self._c;return t("div",["DESIGN"===e.mode?t("div",[t("el-button",{attrs:{size:"small",icon:"el-icon-paperclip",round:""}},[e._v("选择文件")]),t("ellipsis",{staticClass:"el-upload__tip",attrs:{slot:"tip",row:1,content:e.placeholder+e.sizeTip,hoverTip:""},slot:"tip"})],1):t("div",[t("el-upload",{attrs:{"file-list":e._value,action:"#",limit:e.maxSize,"with-credentials":"",multiple:e.maxSize>0,data:e.uploadParams,"auto-upload":!1,"before-upload":e.beforeUpload}},[t("el-button",{attrs:{size:"small",icon:"el-icon-paperclip",round:""}},[e._v("选择文件")]),t("ellipsis",{staticClass:"el-upload__tip",attrs:{slot:"tip",row:1,content:e.placeholder+e.sizeTip,hoverTip:""},slot:"tip"})],1)],1)])},l=[],s=(i("5b81"),i("8f73")),o={mixins:[s["a"]],name:"ImageUpload",components:{},props:{placeholder:{type:String,default:"请选择附件"},value:{type:Array,default:()=>[]},maxSize:{type:Number,default:5},maxNumber:{type:Number,default:10},fileTypes:{type:Array,default:()=>[]}},computed:{sizeTip(){return this.fileTypes.length>0?` | 只允许上传[${String(this.fileTypes).replaceAll(",","、")}]格式的文件,且单个附件不超过${this.maxSize}MB`:this.maxSize>0?` | 单个附件不超过${this.maxSize}MB`:""}},data(){return{disabled:!1,uploadParams:{}}},methods:{beforeUpload(e){const t=["image/jpeg","image/png","image/gif","image/jpg"];if(-1===t.indexOf(e.type))this.$message.warning("存在不支持的图片格式");else{if(!(this.maxSize>0&&e.size/1024/1024>this.maxSize))return!0;this.$message.warning(`单张图片最大不超过 ${this.maxSize}MB`)}return!1},handleRemove(e,t){console.log(e,t)},handlePictureCardPreview(e){console.log(e)},handleDownload(e){console.log(e)}}},p=o,r=i("2877"),n=Object(r["a"])(p,a,l,!1,null,"25ac7975",null);t["default"]=n.exports},"8f73":function(e,t,i){"use strict";t["a"]={props:{mode:{type:String,default:"DESIGN"},required:{type:Boolean,default:!1}},data(){return{}},computed:{_value:{get(){return this.value},set(e){this.$emit("input",e)}}}}}}]);
|
|
@ -0,0 +1 @@
|
|||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-26c5db12"],{"8f73":function(e,t,l){"use strict";t["a"]={props:{mode:{type:String,default:"DESIGN"},required:{type:Boolean,default:!1}},data(){return{}},computed:{_value:{get(){return this.value},set(e){this.$emit("input",e)}}}}},b28d:function(e,t,l){"use strict";l.r(t);var a=function(){var e=this,t=e._self._c;return t("div",["DESIGN"===e.mode?t("div",[t("el-input",{attrs:{size:"medium",disabled:"",placeholder:e.placeholder}})],1):t("div",[t("el-input",{attrs:{size:"medium",clearable:"",placeholder:e.placeholder},model:{value:e._value,callback:function(t){e._value=t},expression:"_value"}})],1)])},u=[],n=l("8f73"),d={mixins:[n["a"]],name:"TextInput",components:{},props:{value:{type:String,default:null},placeholder:{type:String,default:"请输入内容"}},data(){return{}},methods:{}},i=d,r=l("2877"),o=Object(r["a"])(i,a,u,!1,null,"258d87e7",null);t["default"]=o.exports}}]);
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1 @@
|
|||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2c69b521"],{a85f:function(e,t,a){"use strict";a.r(t);var l=function(){var e=this,t=e._self._c;return"R"==e.perm?t("div",[t("span",[e._v(e._s(e._value))])]):t("div",[t("el-input",{attrs:{size:"medium",clearable:"",maxlength:255,placeholder:e.placeholder,"show-word-limit":"",rows:3,type:"textarea",disabled:"R"==e.perm},model:{value:e._value,callback:function(t){e._value=t},expression:"_value"}})],1)},u=[],n=a("ba89"),r={mixins:[n["a"]],name:"TextareaInput",components:{},props:{value:{type:String,default:null},placeholder:{type:String,default:"请输入内容"},perm:{type:String,default:null}},computed:{_value:{get(){return this.value},set(e){this.$emit("input",e)}}},data(){return{}},methods:{}},i=r,p=a("2877"),s=Object(p["a"])(i,l,u,!1,null,"af248e58",null);t["default"]=s.exports},ba89:function(e,t,a){"use strict";t["a"]={props:{mode:{type:String,default:"DESIGN"},required:{type:Boolean,default:!1}},data(){return{}},computed:{_value:{get(){return this.value},set(e){this.$emit("input",e)}}}}}}]);
|
|
@ -0,0 +1 @@
|
|||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0dedfb"],{8805:function(n,e,t){"use strict";t.r(e);var a=function(){var n=this,e=n._self._c;return e("div")},o=[],s={name:"SignPannel",components:{},data(){return{}},methods:{}},u=s,c=t("2877"),d=Object(c["a"])(u,a,o,!1,null,"28fae179",null);e["default"]=d.exports}}]);
|
|
@ -0,0 +1 @@
|
|||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0e4c53"],{9248:function(n,e,t){"use strict";t.r(e);var c=function(){var n=this,e=n._self._c;return e("div")},o=[],u={name:"MoneyInput",components:{},data(){return{}},methods:{}},a=u,s=t("2877"),r=Object(s["a"])(a,c,o,!1,null,"5a2effbc",null);e["default"]=r.exports}}]);
|
|
@ -0,0 +1 @@
|
|||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0e9937"],{"8db7":function(n,e,t){"use strict";t.r(e);var a=function(){var n=this,e=n._self._c;return e("div")},c=[],o={name:"SignPannel",components:{},data(){return{}},methods:{}},s=o,u=t("2877"),r=Object(u["a"])(s,a,c,!1,null,"75be689c",null);e["default"]=r.exports}}]);
|
|
@ -0,0 +1 @@
|
|||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0f04df"],{"9c98":function(n,t,e){"use strict";e.r(t);var c=function(){var n=this,t=n._self._c;return t("div")},o=[],a={name:"Location",components:{},data(){return{}},methods:{}},s=a,u=e("2877"),r=Object(u["a"])(s,c,o,!1,null,"4bbace9b",null);t["default"]=r.exports}}]);
|
|
@ -0,0 +1 @@
|
|||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d2109fd"],{b94d:function(n,t,e){"use strict";e.r(t);var c=function(){var n=this,t=n._self._c;return t("div")},o=[],u={name:"MoneyInput",components:{},data(){return{}},methods:{}},s=u,a=e("2877"),d=Object(a["a"])(s,c,o,!1,null,"70cc5162",null);t["default"]=d.exports}}]);
|
|
@ -0,0 +1 @@
|
|||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d215cb2"],{c05d:function(n,t,c){"use strict";c.r(t);var e=function(){var n=this,t=n._self._c;return t("div")},o=[],a={name:"Location",components:{},data(){return{}},methods:{}},s=a,u=c("2877"),d=Object(u["a"])(s,e,o,!1,null,"2f069d39",null);t["default"]=d.exports}}]);
|
|
@ -0,0 +1 @@
|
|||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2f6e1890"],{"00ee":function(e,t,r){var n=r("b622"),a=n("toStringTag"),i={};i[a]="z",e.exports="[object z]"===String(i)},"0cb2":function(e,t,r){var n=r("e330"),a=r("7b0b"),i=Math.floor,o=n("".charAt),u=n("".replace),l=n("".slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,d=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,r,n,s,f){var p=r+e.length,h=n.length,v=d;return void 0!==s&&(s=a(s),v=c),u(f,v,(function(a,u){var c;switch(o(u,0)){case"$":return"$";case"&":return e;case"`":return l(t,0,r);case"'":return l(t,p);case"<":c=s[l(u,1,-1)];break;default:var d=+u;if(0===d)return a;if(d>h){var f=i(d/10);return 0===f?a:f<=h?void 0===n[f-1]?o(u,1):n[f-1]+o(u,1):a}c=n[d-1]}return void 0===c?"":c}))}},"44e7":function(e,t,r){var n=r("861d"),a=r("c6b6"),i=r("b622"),o=i("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==a(e))}},"577e":function(e,t,r){var n=r("f5df"),a=String;e.exports=function(e){if("Symbol"===n(e))throw TypeError("Cannot convert a Symbol value to a string");return a(e)}},"5b81":function(e,t,r){"use strict";var n=r("23e7"),a=r("c65b"),i=r("e330"),o=r("1d80"),u=r("1626"),l=r("7234"),c=r("44e7"),d=r("577e"),s=r("dc4a"),f=r("90d8"),p=r("0cb2"),h=r("b622"),v=r("c430"),m=h("replace"),g=TypeError,y=i("".indexOf),b=i("".replace),x=i("".slice),w=Math.max,_=function(e,t,r){return r>e.length?-1:""===t?r:y(e,t,r)};n({target:"String",proto:!0},{replaceAll:function(e,t){var r,n,i,h,A,S,$,M,k,D=o(this),R=0,T=0,E="";if(!l(e)){if(r=c(e),r&&(n=d(o(f(e))),!~y(n,"g")))throw g("`.replaceAll` does not allow non-global regexes");if(i=s(e,m),i)return a(i,e,D,t);if(v&&r)return b(d(D),e,t)}h=d(D),A=d(e),S=u(t),S||(t=d(t)),$=A.length,M=w(1,$),R=_(h,A,0);while(-1!==R)k=S?d(t(A,R,h)):p(A,h,R,[],void 0,t),E+=x(h,T,R)+k,T=R+$,R=_(h,A,R+M);return T<h.length&&(E+=x(h,T)),E}})},"66f0":function(e,t,r){},"90d8":function(e,t,r){var n=r("c65b"),a=r("1a2d"),i=r("3a9b"),o=r("ad6d"),u=RegExp.prototype;e.exports=function(e){var t=e.flags;return void 0!==t||"flags"in u||a(e,"flags")||!i(u,e)?t:n(o,e)}},ad6d:function(e,t,r){"use strict";var n=r("825a");e.exports=function(){var e=n(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},ba89:function(e,t,r){"use strict";t["a"]={props:{mode:{type:String,default:"DESIGN"},required:{type:Boolean,default:!1}},data(){return{}},computed:{_value:{get(){return this.value},set(e){this.$emit("input",e)}}}}},c25a:function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e._self._c;return"R"==e.perm?t("div",[t("span",[e._v(e._s(e._value))])]):t("div",{staticClass:"dateTimeRange"},[t("el-date-picker",{attrs:{size:"medium",clearable:"","value-format":e.format,type:e.type,"start-placeholder":e.placeholder[0],"end-placeholder":e.placeholder[1],disabled:"R"==e.perm},model:{value:e._value,callback:function(t){e._value=t},expression:"_value"}}),e.showLength?t("div",{staticClass:"length"},[t("span",[e._v("时长:")]),t("span",[e._v(e._s(e.timeLength))])]):e._e()],1)},a=[],i=(r("5b81"),r("ba89")),o=r("c1df"),u=r.n(o),l={mixins:[i["a"]],name:"DateTimeRange",components:{},props:{value:{type:Array,default:()=>[]},format:{type:String,default:"yyyy-MM-dd HH:mm"},placeholder:{type:Array,default:()=>["开始时间","结束时间"]},showLength:{type:Boolean,default:!1},perm:{type:String,default:null}},computed:{type(){switch(this.format){case"yyyy-MM-dd":return"daterange";case"yyyy-MM-dd HH:mm":return"datetimerange";default:return"daterange"}},timeLength(){if(Array.isArray(this.value)){let e=u()(this.value[0]).format(this.format.replaceAll("dd","DD")),t=u()(this.value[1]).format(this.format.replaceAll("dd","DD"));if(e===t)return"0 (时长为0,请确认)";let r=u()(e),n=u()(t),a=n.diff(e,"years"),i=n.diff(e,"months"),o=n.diff(e,"days"),l=n.diff(e,"hours"),c=n.diff(e,"minutes");return c%=60,l%=24,i%=12,r.date()<n.date()&&(o=n.date()-r.date(),(c>0||l>0)&&o--),o>31&&n.month()-r.month()>=2&&(o=n.diff(r.add(n.month()-r.month()-1,"month"),"days")),`${a>0?a+"年 ":" "}${i>0?i+"个月 ":" "}\n ${o>0?o+"天 ":" "}${l>0?l+"小时 ":" "}\n ${c>0?c+"分钟 ":" "}`}return"先选择时间哦"}},data(){return{}},methods:{}},c=l,d=(r("c734"),r("2877")),s=Object(d["a"])(c,n,a,!1,null,"cb41411c",null);t["default"]=s.exports},c734:function(e,t,r){"use strict";r("66f0")},f5df:function(e,t,r){var n=r("00ee"),a=r("1626"),i=r("c6b6"),o=r("b622"),u=o("toStringTag"),l=Object,c="Arguments"==i(function(){return arguments}()),d=function(e,t){try{return e[t]}catch(r){}};e.exports=n?i:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=d(t=l(e),u))?r:c?i(t):"Object"==(n=i(t))&&a(t.callee)?"Arguments":n}}}]);
|
|
@ -0,0 +1 @@
|
|||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-308b5d9e"],{6265:function(e,t,i){"use strict";i("87cf")},"87cf":function(e,t,i){},b435:function(e,t,i){"use strict";i.r(t);var a=function(){var e=this,t=e._self._c;return"R"==e.perm?t("div",{staticClass:"fileList"},e._l(e.fileList,(function(e,i){return t("div",{key:i,staticClass:"fileList_item"},[t("el-image",{staticStyle:{width:"100%",height:"100%"},attrs:{src:e.url,"preview-src-list":[e.url]}})],1)})),0):t("div",[t("el-upload",{attrs:{"file-list":e.fileList,action:"/api/formily/upload",limit:e.maxSize,"with-credentials":"",multiple:e.maxSize>0,data:e.uploadParams,"list-type":"picture-card","before-upload":e.beforeUpload,"on-success":e.onSuccess},scopedSlots:e._u([{key:"file",fn:function({file:i}){return t("div",{},[t("img",{staticClass:"el-upload-list__item-thumbnail",attrs:{src:i.url,alt:""}}),t("span",{staticClass:"el-upload-list__item-actions"},[t("span",{staticClass:"el-upload-list__item-preview",on:{click:function(t){return e.handlePictureCardPreview(i)}}},[t("i",{staticClass:"el-icon-zoom-in"})]),e.disabled?e._e():t("span",{staticClass:"el-upload-list__item-delete",on:{click:function(t){return e.handleDownload(i)}}},[t("i",{staticClass:"el-icon-download"})]),"R"!==e.perm?t("span",{staticClass:"el-upload-list__item-delete",on:{click:function(t){return e.handleRemove(i)}}},[t("i",{staticClass:"el-icon-delete"})]):e._e()])])}}])},[t("i",{staticClass:"el-icon-plus",attrs:{slot:"default"},slot:"default"}),"R"!==e.perm?t("div",{staticClass:"el-upload__tip",attrs:{slot:"tip"},slot:"tip"},[e._v(" "+e._s(e.placeholder)+" "+e._s(e.sizeTip)+" ")]):e._e()])],1)},s=[],l=(i("14d9"),i("ba89")),n={mixins:[l["a"]],name:"ImageUpload",components:{},props:{value:{type:Array,default:()=>[]},placeholder:{type:String,default:"请选择图片"},maxSize:{type:Number,default:5},maxNumber:{type:Number,default:10},enableZip:{type:Boolean,default:!0},perm:{type:String,default:null}},watch:{isShow(){this.fileList=JSON.parse(JSON.stringify(this.value))}},computed:{sizeTip(){return this.maxSize>0?`| 每张图不超过${this.maxSize}MB`:""},isShow(){return this._value.length}},data(){return{disabled:!1,uploadParams:{},fileList:[]}},created(){this.fileList=JSON.parse(JSON.stringify(this.value))},methods:{beforeUpload(e){console.log(e);const t=["image/jpeg","image/png","image/gif","image/jpg"];if(-1===t.indexOf(e.type))this.$message.warning("存在不支持的图片格式");else{if(!(this.maxSize>0&&e.size/1024/1024>this.maxSize))return!0;this.$message.warning(`单张图片最大不超过 ${this.maxSize}MB`)}return!1},handleRemove(e){let t=e.path;this.value.forEach((e,i)=>{e.path===t&&this.value.splice(i,1)})},handlePictureCardPreview(e){console.log(e)},handleDownload(e){console.log(e)},onSuccess(e){this._value.push({...e.data,url:e.data.preview}),this.$set(this,"_value",this.value)}}},r=n,o=(i("6265"),i("2877")),u=Object(o["a"])(r,a,s,!1,null,"3fb380a7",null);t["default"]=u.exports},ba89:function(e,t,i){"use strict";t["a"]={props:{mode:{type:String,default:"DESIGN"},required:{type:Boolean,default:!1}},data(){return{}},computed:{_value:{get(){return this.value},set(e){this.$emit("input",e)}}}}}}]);
|
|
@ -0,0 +1 @@
|
|||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3630bbcf"],{"1e3b":function(e,t,s){"use strict";s.r(t);var o=function(){var e=this,t=e._self._c;return t("div",e._l(e.__items,(function(s,o){return t("el-row",{key:o+"_rows",attrs:{gutter:20}},e._l(s,(function(s,o){return t("el-col",{key:o+"_row",attrs:{span:24/e.colRows}},["H"!==s.perm?t("div",["SpanLayout"!==s.name&&"Description"!==s.name?t("el-form-item",{key:s.name+o,attrs:{prop:s.id,label:s.title}},[t("form-design-render",{attrs:{mode:e.mode,config:s},model:{value:e._value[s.id],callback:function(t){e.$set(e._value,s.id,t)},expression:"_value[item.id]"}})],1):t("form-design-render",{attrs:{mode:e.mode,config:s},model:{value:e._value,callback:function(t){e._value=t},expression:"_value"}})],1):e._e()])})),1)})),1)},r=[],i=(s("14d9"),s("fcc5")),n=s("ba89"),m={mixins:[n["a"]],name:"SpanLayout",components:{FormDesignRender:i["a"]},props:{value:{default:null},items:{type:Array,default:()=>[]}},computed:{_items:{get(){return this.items},set(e){this.items=e}},__items(){let e=[];for(let t=0;t<this.items.length;t++)t>0&&t%2>0&&e.push([this.items[t-1],this.items[t]]);return 2*e.length<this.items.length&&e.push([this.items[this.items.length-1]]),this.colRows=0,e[0].map(e=>{"H"!==e.perm&&this.colRows++}),e},selectFormItem:{get(){return this.$store.state.selectFormItem},set(e){this.$store.state.selectFormItem=e}},nodeMap(){return this.$store.state.nodeMap}},data(){return{select:null,drag:!1,formConfig:{data:{},rules:{}},form:{formId:"",formName:"",logo:{},formItems:[],process:{},remark:""},colRows:0}},methods:{selectItem(e){this.selectFormItem=e},getSelectedClass(e){return this.selectFormItem&&this.selectFormItem.id===e.id?"border-left: 4px solid #f56c6c":""},delItem(e){this.$confirm("删除组件将会连带删除包含该组件的条件以及相关设置,是否继续?","提示",{confirmButtonText:"确 定",cancelButtonText:"取 消",type:"warning"}).then(()=>{"SpanLayout"===this._items[e].name?(this._items[e].props.items.forEach(e=>{this.removeFormItemAbout(e)}),this._items[e].props.items.length=0):this.removeFormItemAbout(this._items[e]),this._items.splice(e,1)})},async removeFormItemAbout(e){this.nodeMap.forEach(t=>{"CONDITION"===t.type&&t.props.groups.forEach(t=>{let s=t.cids.remove(e.id);s>-1&&t.conditions.splice(s,1)}),"ROOT"!==t.type&&"APPROVAL"!==t.type&&"CC"!==t.type||t.props.formPerms.removeByKey("id",e.id)})}}},a=m,l=(s("a9ad"),s("2877")),u=Object(l["a"])(a,o,r,!1,null,"5df17023",null);t["default"]=u.exports},"553d":function(e,t,s){},a9ad:function(e,t,s){"use strict";s("553d")},ba89:function(e,t,s){"use strict";t["a"]={props:{mode:{type:String,default:"DESIGN"},required:{type:Boolean,default:!1}},data(){return{}},computed:{_value:{get(){return this.value},set(e){this.$emit("input",e)}}}}}}]);
|
|
@ -0,0 +1 @@
|
|||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-36e96dff"],{"3b50":function(e,t,a){"use strict";a.r(t);var u=function(){var e=this,t=e._self._c;return"R"==e.perm?t("div",[t("span",[e._v(e._s(e._value))])]):t("div",["R"==e.perm?t("span",[e._v(e._s(e._value))]):t("el-input",{attrs:{size:"medium",clearable:"",placeholder:e.placeholder,type:"number"},model:{value:e._value,callback:function(t){e._value=t},expression:"_value"}})],1)},l=[],n=a("ba89"),r={mixins:[n["a"]],name:"NumberInput",components:{},props:{value:{type:Number,default:null},placeholder:{type:String,default:"请输入数值"},perm:{type:String,default:null}},data(){return{}},methods:{}},p=r,s=a("2877"),i=Object(s["a"])(p,u,l,!1,null,"173bfe62",null);t["default"]=i.exports},ba89:function(e,t,a){"use strict";t["a"]={props:{mode:{type:String,default:"DESIGN"},required:{type:Boolean,default:!1}},data(){return{}},computed:{_value:{get(){return this.value},set(e){this.$emit("input",e)}}}}}}]);
|
|
@ -0,0 +1 @@
|
|||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-428d7834"],{"0850":function(e,t,a){"use strict";a("9278")},"4f98":function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("div",["DESIGN"===e.mode?t("div",[t("el-date-picker",{attrs:{size:"medium",disabled:"",type:e.type,"start-placeholder":e.placeholder[0],"end-placeholder":e.placeholder[1]},model:{value:e._value,callback:function(t){e._value=t},expression:"_value"}}),e.showLength?t("div",{staticClass:"length"},[t("span",[e._v("时长:")]),t("span",[e._v(e._s(e.timeLength))])]):e._e()],1):t("div",[t("el-date-picker",{attrs:{size:"medium",clearable:"","value-format":e.format,type:e.type,"start-placeholder":e.placeholder[0],"end-placeholder":e.placeholder[1]},model:{value:e._value,callback:function(t){e._value=t},expression:"_value"}}),e.showLength?t("div",{staticClass:"length"},[t("span",[e._v("时长:")]),t("span",[e._v(e._s(e.timeLength))])]):e._e()],1)])},d=[],l=(a("5b81"),a("8f73")),n=a("c1df"),s=a.n(n),i={mixins:[l["a"]],name:"DateTimeRange",components:{},props:{value:{type:Array,default:()=>[]},format:{type:String,default:"yyyy-MM-dd HH:mm"},placeholder:{type:Array,default:()=>["开始时间","结束时间"]},showLength:{type:Boolean,default:!1}},computed:{type(){switch(this.format){case"yyyy-MM-dd":return"daterange";case"yyyy-MM-dd HH:mm":return"datetimerange";default:return"daterange"}},timeLength(){if(Array.isArray(this.value)){let e=s()(this.value[0]).format(this.format.replaceAll("dd","DD")),t=s()(this.value[1]).format(this.format.replaceAll("dd","DD"));if(e===t)return"0 (时长为0,请确认)";let a=s()(e),r=s()(t),d=r.diff(e,"years"),l=r.diff(e,"months"),n=r.diff(e,"days"),i=r.diff(e,"hours"),o=r.diff(e,"minutes");return o%=60,i%=24,l%=12,a.date()<r.date()&&(n=r.date()-a.date(),(o>0||i>0)&&n--),n>31&&r.month()-a.month()>=2&&(n=r.diff(a.add(r.month()-a.month()-1,"month"),"days")),`${d>0?d+"年 ":" "}${l>0?l+"个月 ":" "}\n ${n>0?n+"天 ":" "}${i>0?i+"小时 ":" "}\n ${o>0?o+"分钟 ":" "}`}return"先选择时间哦"}},data(){return{}},methods:{}},o=i,u=(a("0850"),a("2877")),p=Object(u["a"])(o,r,d,!1,null,"4e935342",null);t["default"]=p.exports},"8f73":function(e,t,a){"use strict";t["a"]={props:{mode:{type:String,default:"DESIGN"},required:{type:Boolean,default:!1}},data(){return{}},computed:{_value:{get(){return this.value},set(e){this.$emit("input",e)}}}}},9278:function(e,t,a){}}]);
|
|
@ -0,0 +1 @@
|
|||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4684e5ce"],{"8f73":function(e,t,a){"use strict";t["a"]={props:{mode:{type:String,default:"DESIGN"},required:{type:Boolean,default:!1}},data(){return{}},computed:{_value:{get(){return this.value},set(e){this.$emit("input",e)}}}}},f89a:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("div",["DESIGN"===e.mode?t("div",[t("el-date-picker",{attrs:{size:"medium",disabled:"",type:e.type,placeholder:e.placeholder}})],1):t("div",[t("el-date-picker",{attrs:{"value-format":e.format,size:"medium",clearable:"",type:e.type,placeholder:e.placeholder},model:{value:e._value,callback:function(t){e._value=t},expression:"_value"}})],1)])},d=[],l=a("8f73"),u={mixins:[l["a"]],name:"DateTime",components:{},props:{value:{default:null},format:{type:String,default:"yyyy-MM-dd HH:mm"},placeholder:{type:String,default:"请选择日期时间"}},computed:{type(){switch(this.format){case"yyyy":return"year";case"yyyy-MM":return"month";case"yyyy-MM-dd":return"date";case"yyyy-MM-dd HH:mm":return"datetime";default:return"datetime"}}},data(){return{}},methods:{}},n=u,i=a("2877"),c=Object(i["a"])(n,r,d,!1,null,"0a7cf5ec",null);t["default"]=c.exports}}]);
|
|
@ -0,0 +1 @@
|
|||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4a345f28"],{"23ed":function(e,t,i){"use strict";i("448f")},"448f":function(e,t,i){},"86c3":function(e,t,i){"use strict";i.r(t);var r=function(){var e=this,t=e._self._c;return t("div",{staticStyle:{"max-width":"350px"}},["DESIGN"===e.mode?t("div",[t("el-button",{attrs:{disabled:"",icon:"el-icon-user",type:"primary",size:"mini",round:""}},[e._v("选择人员")]),t("span",{staticClass:"placeholder"},[e._v(" "+e._s(e.placeholder))])],1):t("div",[t("el-button",{attrs:{icon:"el-icon-user",type:"primary",size:"mini",round:""},on:{click:function(t){return e.$refs.orgPicker.show()}}},[e._v("选择人员")]),t("org-picker",{ref:"orgPicker",attrs:{type:"user",multiple:e.multiple,selected:e._value},on:{ok:e.selected}}),t("span",{staticClass:"placeholder"},[e._v(" "+e._s(e.placeholder))]),t("div",{staticStyle:{"margin-top":"5px"}},e._l(e._value,(function(i,r){return t("el-tag",{staticStyle:{margin:"5px"},attrs:{size:"mini",closable:""},on:{close:function(t){return e.delDept(r)}}},[e._v(e._s(i.name))])})),1)],1)])},l=[],n=i("8f73"),s=i("709c"),a={mixins:[n["a"]],name:"DeptPicker",components:{OrgPicker:s["a"]},props:{value:{type:Array,default:()=>[]},placeholder:{type:String,default:"请选择人员"},multiple:{type:Boolean,default:!1}},data(){return{showOrgSelect:!1}},methods:{selected(e){this.showOrgSelect=!1,this._value=e},delDept(e){this._value.splice(e,1)}}},o=a,c=(i("23ed"),i("2877")),u=Object(c["a"])(o,r,l,!1,null,"5198b846",null);t["default"]=u.exports},"8f73":function(e,t,i){"use strict";t["a"]={props:{mode:{type:String,default:"DESIGN"},required:{type:Boolean,default:!1}},data(){return{}},computed:{_value:{get(){return this.value},set(e){this.$emit("input",e)}}}}}}]);
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1 @@
|
|||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-57056a0b"],{8996:function(e,t,l){"use strict";l.r(t);var a=function(){var e=this,t=e._self._c;return"R"==e.perm?t("div",[t("span",[e._v(e._s(e._value))])]):t("div",[e.expanding?t("el-checkbox-group",{model:{value:e._value,callback:function(t){e._value=t},expression:"_value"}},e._l(e.options,(function(l,a){return t("el-checkbox",{key:a,attrs:{label:l}},[e._v(e._s(l))])})),1):t("el-select",{staticClass:"max-fill",attrs:{multiple:"",size:"medium",clearable:"",placeholder:e.placeholder,disabled:"R"==e.perm},model:{value:e._value,callback:function(t){e._value=t},expression:"_value"}},e._l(e.options,(function(e,l){return t("el-option",{key:l,attrs:{value:e,label:e}})})),1)],1)},n=[],u=l("ba89"),o={mixins:[u["a"]],name:"MultipleSelect",components:{},props:{placeholder:{type:String,default:"请选择选项"},value:{type:Array,default:()=>[]},expanding:{type:Boolean,default:!1},options:{type:Array,default:()=>[]},perm:{type:String,default:null}},computed:{},data(){return{checks:[]}},methods:{}},r=o,i=l("2877"),p=Object(i["a"])(r,a,n,!1,null,"6fc55b41",null);t["default"]=p.exports},ba89:function(e,t,l){"use strict";t["a"]={props:{mode:{type:String,default:"DESIGN"},required:{type:Boolean,default:!1}},data(){return{}},computed:{_value:{get(){return this.value},set(e){this.$emit("input",e)}}}}}}]);
|
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 @@
|
|||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-62a1bb61"],{"6b73":function(e,t,a){"use strict";a.r(t);var l=function(){var e=this,t=e._self._c;return"R"==e.perm?t("div",[t("span",[e._v(e._s(e._value))])]):t("div",[e.expanding?t("el-radio-group",{model:{value:e._value,callback:function(t){e._value=t},expression:"_value"}},e._l(e.options,(function(a,l){return t("el-radio",{key:l,attrs:{label:a}},[e._v(e._s(a))])})),1):t("el-select",{staticClass:"max-fill",attrs:{size:"medium",clearable:"",placeholder:e.placeholder,disabled:"R"==e.perm},model:{value:e._value,callback:function(t){e._value=t},expression:"_value"}},e._l(e.options,(function(e,a){return t("el-option",{key:a,attrs:{value:e,label:e}})})),1)],1)},n=[],u=a("ba89"),r={mixins:[u["a"]],name:"SelectInput",components:{},props:{value:{type:String,default:null},placeholder:{type:String,default:"请选择选项"},expanding:{type:Boolean,default:!1},options:{type:Array,default:()=>[]},perm:{type:String,default:null}},data(){return{}},methods:{}},o=r,i=a("2877"),p=Object(i["a"])(o,l,n,!1,null,"3eacf0b6",null);t["default"]=p.exports},ba89:function(e,t,a){"use strict";t["a"]={props:{mode:{type:String,default:"DESIGN"},required:{type:Boolean,default:!1}},data(){return{}},computed:{_value:{get(){return this.value},set(e){this.$emit("input",e)}}}}}}]);
|
|
@ -0,0 +1 @@
|
|||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6e42bfb0"],{"8b0a":function(e,t,i){"use strict";i("9031")},"8f73":function(e,t,i){"use strict";t["a"]={props:{mode:{type:String,default:"DESIGN"},required:{type:Boolean,default:!1}},data(){return{}},computed:{_value:{get(){return this.value},set(e){this.$emit("input",e)}}}}},9031:function(e,t,i){},db9e:function(e,t,i){"use strict";i.r(t);var a=function(){var e=this,t=e._self._c;return t("div",["DESIGN"===e.mode?t("div",[e._m(0),t("p",[e._v(e._s(e.placeholder)+" "+e._s(e.sizeTip))])]):t("div",[t("el-upload",{attrs:{"file-list":e._value,action:"#",limit:e.maxSize,"with-credentials":"",multiple:e.maxSize>0,data:e.uploadParams,"list-type":"picture-card","auto-upload":!1,"before-upload":e.beforeUpload},scopedSlots:e._u([{key:"file",fn:function({file:i}){return t("div",{},[t("img",{staticClass:"el-upload-list__item-thumbnail",attrs:{src:i.url,alt:""}}),t("span",{staticClass:"el-upload-list__item-actions"},[t("span",{staticClass:"el-upload-list__item-preview",on:{click:function(t){return e.handlePictureCardPreview(i)}}},[t("i",{staticClass:"el-icon-zoom-in"})]),e.disabled?e._e():t("span",{staticClass:"el-upload-list__item-delete",on:{click:function(t){return e.handleDownload(i)}}},[t("i",{staticClass:"el-icon-download"})]),e.disabled?e._e():t("span",{staticClass:"el-upload-list__item-delete",on:{click:function(t){return e.handleRemove(i)}}},[t("i",{staticClass:"el-icon-delete"})])])])}}])},[t("i",{staticClass:"el-icon-plus",attrs:{slot:"default"},slot:"default"}),t("div",{staticClass:"el-upload__tip",attrs:{slot:"tip"},slot:"tip"},[e._v(e._s(e.placeholder)+" "+e._s(e.sizeTip))])])],1)])},l=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"design"},[t("i",{staticClass:"el-icon-plus"})])}],s=i("8f73"),n={mixins:[s["a"]],name:"ImageUpload",components:{},props:{value:{type:Array,default:()=>[]},placeholder:{type:String,default:"请选择图片"},maxSize:{type:Number,default:5},maxNumber:{type:Number,default:10},enableZip:{type:Boolean,default:!0}},computed:{sizeTip(){return this.maxSize>0?`| 每张图不超过${this.maxSize}MB`:""}},data(){return{disabled:!1,uploadParams:{}}},methods:{beforeUpload(e){const t=["image/jpeg","image/png","image/gif","image/jpg"];if(-1===t.indexOf(e.type))this.$message.warning("存在不支持的图片格式");else{if(!(this.maxSize>0&&e.size/1024/1024>this.maxSize))return!0;this.$message.warning(`单张图片最大不超过 ${this.maxSize}MB`)}return!1},handleRemove(e,t){console.log(e,t)},handlePictureCardPreview(e){console.log(e)},handleDownload(e){console.log(e)}}},o=n,d=(i("8b0a"),i("2877")),u=Object(d["a"])(o,a,l,!1,null,"5f14cdc0",null);t["default"]=u.exports}}]);
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1 @@
|
|||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7125d152"],{"4c71":function(e,t,s){},"5cb6":function(e,t,s){"use strict";s.r(t);var n=function(){var e=this,t=e._self._c;return t("div",["DESIGN"===e.mode?t("div",[t("el-input",{attrs:{size:"medium",disabled:"",placeholder:e.placeholder}}),t("div",{directives:[{name:"show",rawName:"v-show",value:e.showChinese,expression:"showChinese"}],staticStyle:{"margin-top":"15px"}},[t("span",[e._v("大写:")]),t("span",{staticClass:"chinese"},[e._v(e._s(e.chinese))])])],1):t("div",[t("el-input-number",{staticStyle:{width:"100%"},attrs:{min:0,"controls-position":"right",precision:e.precision,size:"medium",clearable:"",placeholder:e.placeholder},model:{value:e._value,callback:function(t){e._value=t},expression:"_value"}}),t("div",{directives:[{name:"show",rawName:"v-show",value:e.showChinese,expression:"showChinese"}]},[t("span",[e._v("大写:")]),t("span",{staticClass:"chinese"},[e._v(e._s(e.chinese))])])],1)])},i=[],r=s("8f73"),a={mixins:[r["a"]],name:"AmountInput",components:{},props:{value:{default:null},placeholder:{type:String,default:"请输入金额"},showChinese:{type:Boolean,default:!0},precision:{type:Number,default:0}},computed:{chinese(){return this.convertCurrency(this.value)}},data(){return{}},methods:{convertCurrency(e){const t=["零","壹","贰","叁","肆","伍","陆","柒","捌","玖"],s=["","拾","佰","仟"],n=["","万","亿","兆"],i=["角","分","毫","厘"],r="整",a="元";let l,o,u,c=1e15,p="";if(""===e)return"";if(e=parseFloat(e),e>=c)return"";if(0===e)return p=t[0]+a+r,p;if(e=e.toString(),-1===e.indexOf(".")?(l=e,o=""):(u=e.split("."),l=u[0],o=u[1].substr(0,4)),parseInt(l,10)>0){var d=0,h=l.length;for(let e=0;e<h;e++){let i=l.substr(e,1),r=h-e-1,a=r/4,o=r%4;"0"==i?d++:(d>0&&(p+=t[0]),d=0,p+=t[parseInt(i)]+s[o]),0==o&&d<4&&(p+=n[a])}p+=a}if(""!==o){let e=o.length;for(let s=0;s<e;s++){let e=o.substr(s,1);"0"!==e&&(p+=t[Number(e)]+i[s])}}return""===p?p+=t[0]+a+r:""===o&&(p+=r),p}}},l=a,o=(s("be41"),s("2877")),u=Object(o["a"])(l,n,i,!1,null,"9b968d32",null);t["default"]=u.exports},"8f73":function(e,t,s){"use strict";t["a"]={props:{mode:{type:String,default:"DESIGN"},required:{type:Boolean,default:!1}},data(){return{}},computed:{_value:{get(){return this.value},set(e){this.$emit("input",e)}}}}},be41:function(e,t,s){"use strict";s("4c71")}}]);
|
|
@ -0,0 +1 @@
|
|||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-76d1ec8f"],{"8f73":function(e,t,u){"use strict";t["a"]={props:{mode:{type:String,default:"DESIGN"},required:{type:Boolean,default:!1}},data(){return{}},computed:{_value:{get(){return this.value},set(e){this.$emit("input",e)}}}}},cf45:function(e,t,u){"use strict";u.r(t);var l=function(){var e=this,t=e._self._c;return t("div",["DESIGN"===e.mode?t("div",[t("el-input",{attrs:{size:"medium",disabled:"",placeholder:e.placeholder,type:"number"}})],1):t("div",[t("el-input",{attrs:{size:"medium",clearable:"",placeholder:e.placeholder,type:"number"},model:{value:e._value,callback:function(t){e._value=t},expression:"_value"}})],1)])},a=[],n=u("8f73"),r={mixins:[n["a"]],name:"NumberInput",components:{},props:{value:{type:Number,default:null},placeholder:{type:String,default:"请输入数值"}},data(){return{}},methods:{}},d=r,i=u("2877"),p=Object(i["a"])(d,l,a,!1,null,"4e9d2317",null);t["default"]=p.exports}}]);
|
|
@ -0,0 +1 @@
|
|||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-790652fa"],{"8f73":function(e,t,a){"use strict";t["a"]={props:{mode:{type:String,default:"DESIGN"},required:{type:Boolean,default:!1}},data(){return{}},computed:{_value:{get(){return this.value},set(e){this.$emit("input",e)}}}}},d158:function(e,t,a){"use strict";a.r(t);var l=function(){var e=this,t=e._self._c;return t("div",["DESIGN"===e.mode?t("div",[t("el-input",{attrs:{size:"medium",disabled:"",placeholder:e.placeholder,"show-word-limit":"",rows:2,type:"textarea"}})],1):t("div",[t("el-input",{attrs:{size:"medium",clearable:"",maxlength:255,placeholder:e.placeholder,"show-word-limit":"",rows:3,type:"textarea"},model:{value:e._value,callback:function(t){e._value=t},expression:"_value"}})],1)])},u=[],r=a("8f73"),i={mixins:[r["a"]],name:"TextareaInput",components:{},props:{value:{type:String,default:null},placeholder:{type:String,default:"请输入内容"}},computed:{_value:{get(){return this.value},set(e){this.$emit("input",e)}}},data(){return{}},methods:{}},n=i,o=a("2877"),d=Object(o["a"])(n,l,u,!1,null,"224a543d",null);t["default"]=d.exports}}]);
|
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 @@
|
|||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-8b173cd0"],{"0d29":function(e,l,a){"use strict";a.r(l);var t=function(){var e=this,l=e._self._c;return l("div",["DESIGN"===e.mode?l("div",[e.expanding?l("el-radio-group",{model:{value:e._value,callback:function(l){e._value=l},expression:"_value"}},e._l(e.options,(function(a,t){return l("el-radio",{key:t,attrs:{disabled:"",label:a}},[e._v(e._s(a))])})),1):l("el-select",{staticClass:"max-fill",attrs:{size:"medium",disabled:"",placeholder:e.placeholder},model:{value:e._value,callback:function(l){e._value=l},expression:"_value"}})],1):l("div",[e.expanding?l("el-radio-group",{model:{value:e._value,callback:function(l){e._value=l},expression:"_value"}},e._l(e.options,(function(a,t){return l("el-radio",{key:t,attrs:{label:a}},[e._v(e._s(a))])})),1):l("el-select",{staticClass:"max-fill",attrs:{size:"medium",clearable:"",placeholder:e.placeholder},model:{value:e._value,callback:function(l){e._value=l},expression:"_value"}},e._l(e.options,(function(e,a){return l("el-option",{key:a,attrs:{value:e,label:e}})})),1)],1)])},n=[],u=a("8f73"),o={mixins:[u["a"]],name:"SelectInput",components:{},props:{value:{type:String,default:null},placeholder:{type:String,default:"请选择选项"},expanding:{type:Boolean,default:!1},options:{type:Array,default:()=>[]}},data(){return{}},methods:{}},i=o,r=a("2877"),s=Object(r["a"])(i,t,n,!1,null,"3abb0924",null);l["default"]=s.exports},"8f73":function(e,l,a){"use strict";l["a"]={props:{mode:{type:String,default:"DESIGN"},required:{type:Boolean,default:!1}},data(){return{}},computed:{_value:{get(){return this.value},set(e){this.$emit("input",e)}}}}}}]);
|
|
@ -0,0 +1 @@
|
|||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-8d1dfe30"],{"4e2b":function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return"R"==e.perm?t("div",[t("span",[e._v(e._s(e._value))])]):t("div",[t("el-date-picker",{attrs:{"value-format":e.format,size:"medium",clearable:"",type:e.type,placeholder:e.placeholder},model:{value:e._value,callback:function(t){e._value=t},expression:"_value"}})],1)},u=[],l=a("ba89"),n={mixins:[l["a"]],name:"DateTime",components:{},props:{value:{default:null},format:{type:String,default:"yyyy-MM-dd HH:mm"},placeholder:{type:String,default:"请选择日期时间"},perm:{type:String,default:null}},computed:{type(){switch(this.format){case"yyyy":return"year";case"yyyy-MM":return"month";case"yyyy-MM-dd":return"date";case"yyyy-MM-dd HH:mm":return"datetime";default:return"datetime"}}},data(){return{}},methods:{}},d=n,i=a("2877"),p=Object(i["a"])(d,r,u,!1,null,"6d73e45e",null);t["default"]=p.exports},ba89:function(e,t,a){"use strict";t["a"]={props:{mode:{type:String,default:"DESIGN"},required:{type:Boolean,default:!1}},data(){return{}},computed:{_value:{get(){return this.value},set(e){this.$emit("input",e)}}}}}}]);
|
|
@ -0,0 +1 @@
|
|||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-a7083864"],{"5a2a":function(e,t,a){"use strict";a.r(t);var l=function(){var e=this,t=e._self._c;return"R"==e.perm?t("div",[t("span",[e._v(e._s(e._value))])]):t("div",[t("el-input",{attrs:{size:"medium",clearable:"",placeholder:e.placeholder},model:{value:e._value,callback:function(t){e._value=t},expression:"_value"}})],1)},u=[],n=a("ba89"),r={mixins:[n["a"]],name:"TextInput",components:{},props:{value:{type:String,default:null},placeholder:{type:String,default:"请输入内容"},perm:{type:String,default:null}},data(){return{}},methods:{}},p=r,i=a("2877"),s=Object(i["a"])(p,l,u,!1,null,"53c1d028",null);t["default"]=s.exports},ba89:function(e,t,a){"use strict";t["a"]={props:{mode:{type:String,default:"DESIGN"},required:{type:Boolean,default:!1}},data(){return{}},computed:{_value:{get(){return this.value},set(e){this.$emit("input",e)}}}}}}]);
|
|
@ -0,0 +1 @@
|
|||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-a8d8dfc2"],{"0fe5":function(e,t,r){"use strict";r("e97a")},ba89:function(e,t,r){"use strict";t["a"]={props:{mode:{type:String,default:"DESIGN"},required:{type:Boolean,default:!1}},data(){return{}},computed:{_value:{get(){return this.value},set(e){this.$emit("input",e)}}}}},d643:function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e._self._c;return t("div",{staticStyle:{position:"relative"}},["R"==e.perm?t("div",[t("el-table",{staticStyle:{width:"100%"},attrs:{size:"medium","header-cell-style":{background:"#f5f7fa",padding:"3px 0"},border:e.showBorder,data:e._value}},e._l(e._columns,(function(r,a){return t("el-table-column",{key:a,attrs:{"min-width":e.getMinWidth(r),prop:r.id,label:r.title},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(e._value[t.$index][r.id])+" ")]}}],null,!0)})})),1)],1):t("div",[t("el-table",{staticStyle:{width:"100%"},attrs:{size:"medium","header-cell-style":{background:"#f5f7fa",padding:"3px 0"},border:e.showBorder,data:e._value}},[t("el-table-column",{attrs:{fixed:"",type:"index",label:"序号",width:"50"}}),e._l(e._columns,(function(r,a){return t("el-table-column",{key:a,attrs:{"min-width":e.getMinWidth(r),prop:r.id,label:r.title},scopedSlots:e._u([{key:"default",fn:function(a){return[t("form-design-render",{class:{"valid-error":e.showError(r,e._value[a.$index][r.id])},attrs:{mode:e.mode,config:r},model:{value:e._value[a.$index][r.id],callback:function(t){e.$set(e._value[a.$index],r.id,t)},expression:"_value[scope.$index][column.id]"}})]}}],null,!0)})})),t("el-table-column",{attrs:{fixed:"right","min-width":"90",label:"操作"},scopedSlots:e._u([{key:"default",fn:function(r){return[t("el-button",{attrs:{size:"mini",type:"text"},on:{click:function(t){return e.copyData(r.$index,r.row)}}},[e._v("复制")]),t("el-button",{attrs:{size:"mini",type:"text"},on:{click:function(t){return e.delRow(r.$index,r.row)}}},[e._v("删除")])]}}])})],2),t("el-button",{staticClass:"addButton",attrs:{size:"small",icon:"el-icon-plus"},on:{click:e.addRow}},[e._v(e._s(e.placeholder))])],1)])},i=[];r("14d9");const s={string:"String",object:"Object",array:"Array",number:"Number",date:"Date",user:"User",dept:"Dept",dateRange:"DateRange"};s.array,s.string,s.string,s.number,s.number,s.string,s.array,s.date,s.dateRange,s.array,s.array,s.user,s.dept,s.string,s.array;var l=r("fcc5"),n=r("ba89"),u={mixins:[n["a"]],name:"TableList",components:{FormDesignRender:l["a"]},props:{value:{type:Array,default:()=>[]},placeholder:{type:String,default:"添加数据"},columns:{type:Array,default:()=>[]},showBorder:{type:Boolean,default:!0},maxSize:{type:Number,default:0},rowLayout:{type:Boolean,default:!0},perm:{type:String,default:null}},created(){Array.isArray(this.value)||(this._value=[])},computed:{rules(){const e={};return this.columns.forEach(t=>{t.props.required&&(e[t.id]=[{type:"Array"===t.valueType?"array":void 0,required:!0,message:"请填写"+t.title,trigger:"blur"}])}),e},_columns:{get(){return this.columns},set(e){this.columns=e}},selectFormItem:{get(){return this.$store.state.selectFormItem},set(e){this.$store.state.selectFormItem=e}}},data(){return{select:null,drag:!1,ValueType:s}},methods:{getMinWidth(e){switch(e.name){case"DateTime":return"250px";case"DateTimeRange":return"280px";case"MultipleSelect":return"200px";default:return"auto"}},showError(e,t){if(e.props.required)switch(e.valueType){case s.dept:case s.user:case s.dateRange:case s.array:return!(Array.isArray(t)&&t.length>0);default:return!this.$isNotEmpty(t)}return!1},copyData(e,t){this._value.push(this.$deepCopy(t))},delRow(e){this._value.splice(e,1)},addRow(){if(this.maxSize>0&&this._value.length>=this.maxSize)this.$message.warning(`最多只能添加${this.maxSize}行`);else{let e={};this.columns.forEach(t=>this.$set(e,t.id,void 0)),this._value.push(e),this.$set(this,"_value",this._value)}},delItem(e){this._columns.splice(e,1)},selectItem(e){this.selectFormItem=e},getSelectedClass(e){return this.selectFormItem&&this.selectFormItem.id===e.id?"border-left: 4px solid #f56c6c":""},validate(e){if(this.rowLayout){let t=!0;for(let r=0;r<this.columns.length;r++)if(this.columns[r].props.required)for(let a=0;a<this._value.length;a++)if(t=!this.showError(this.columns[r],this._value[a][this.columns[r].id]),!t)return void e(!1);e(t)}else{let t=0;this._value.forEach((e,r)=>{let a=this.$refs["table-form-"+r];a&&Array.isArray(a)&&a.length>0&&a[0].validate(e=>{e&&t++})}),t===this._value.length?e(!0):e(!1)}}}},o=u,d=(r("0fe5"),r("2877")),c=Object(d["a"])(o,a,i,!1,null,"6b06b4da",null);t["default"]=c.exports},e97a:function(e,t,r){}}]);
|
|
@ -0,0 +1 @@
|
|||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-b00c0c42"],{"2a72":function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e._self._c;return"R"==e.perm?t("div",[t("span",[e._v(e._s(e._value))])]):t("div",{style:{color:e.color}},[t("el-icon",{staticClass:"el-icon-warning-outline"}),t("span",[e._v(" "+e._s(e.placeholder))])],1)},r=[],l=n("ba89"),o={mixins:[l["a"]],name:"Description",components:{},props:{color:{type:String,default:"#868686"},placeholder:{type:String,default:"只是一段说明文字"},perm:{type:String,default:null}},data(){return{}},methods:{}},i=o,s=n("2877"),u=Object(s["a"])(i,a,r,!1,null,"21eaa499",null);t["default"]=u.exports},ba89:function(e,t,n){"use strict";t["a"]={props:{mode:{type:String,default:"DESIGN"},required:{type:Boolean,default:!1}},data(){return{}},computed:{_value:{get(){return this.value},set(e){this.$emit("input",e)}}}}}}]);
|
|
@ -0,0 +1 @@
|
|||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-c0be42b4"],{"412b":function(e,l,a){"use strict";a.r(l);var t=function(){var e=this,l=e._self._c;return l("div",["DESIGN"===e.mode?l("div",[e.expanding?l("el-checkbox-group",{model:{value:e._value,callback:function(l){e._value=l},expression:"_value"}},e._l(e.options,(function(a,t){return l("el-checkbox",{key:t,attrs:{disabled:"",label:a}},[e._v(e._s(a))])})),1):l("el-select",{staticClass:"max-fill",attrs:{size:"medium",multiple:"",disabled:"",placeholder:e.placeholder},model:{value:e._value,callback:function(l){e._value=l},expression:"_value"}})],1):l("div",[e.expanding?l("el-checkbox-group",{model:{value:e._value,callback:function(l){e._value=l},expression:"_value"}},e._l(e.options,(function(a,t){return l("el-checkbox",{key:t,attrs:{label:a}},[e._v(e._s(a))])})),1):l("el-select",{staticClass:"max-fill",attrs:{multiple:"",size:"medium",clearable:"",placeholder:e.placeholder},model:{value:e._value,callback:function(l){e._value=l},expression:"_value"}},e._l(e.options,(function(e,a){return l("el-option",{key:a,attrs:{value:e,label:e}})})),1)],1)])},u=[],n=a("8f73"),o={mixins:[n["a"]],name:"MultipleSelect",components:{},props:{placeholder:{type:String,default:"请选择选项"},value:{type:Array,default:()=>[]},expanding:{type:Boolean,default:!1},options:{type:Array,default:()=>[]}},computed:{},data(){return{checks:[]}},methods:{}},i=o,c=a("2877"),s=Object(c["a"])(i,t,u,!1,null,"53598505",null);l["default"]=s.exports},"8f73":function(e,l,a){"use strict";l["a"]={props:{mode:{type:String,default:"DESIGN"},required:{type:Boolean,default:!1}},data(){return{}},computed:{_value:{get(){return this.value},set(e){this.$emit("input",e)}}}}}}]);
|
|
@ -0,0 +1 @@
|
|||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-c0dd9582"],{"049c":function(e,t,s){},"26a9":function(e,t,s){"use strict";s("049c")},"8f73":function(e,t,s){"use strict";t["a"]={props:{mode:{type:String,default:"DESIGN"},required:{type:Boolean,default:!1}},data(){return{}},computed:{_value:{get(){return this.value},set(e){this.$emit("input",e)}}}}},"918a":function(e,t,s){"use strict";s.r(t);var i=function(){var e=this,t=e._self._c;return t("div",["DESIGN"===e.mode?t("div",[t("draggable",{staticClass:"l-drag-from",attrs:{list:e._items,group:"form",options:{animation:300,chosenClass:"choose",sort:!0}},on:{start:function(t){e.drag=!0,e.selectFormItem=null},end:function(t){e.drag=!1}}},e._l(e._items,(function(s,i){return t("div",{key:i,staticClass:"l-form-item",style:e.getSelectedClass(s),on:{click:function(t){return t.stopPropagation(),e.selectItem(s)}}},[t("div",{staticClass:"l-form-header"},[t("p",[s.props.required?t("span",[e._v("*")]):e._e(),e._v(e._s(s.title))]),t("div",{staticClass:"l-option"},[t("i",{staticClass:"el-icon-close",on:{click:function(t){return e.delItem(i)}}})]),t("form-design-render",{attrs:{config:s}})],1)])})),0),t("div",{staticStyle:{color:"#c0bebe","text-align":"center",width:"90%",padding:"5px"}},[e._v("☝ 拖拽控件到布局容器内部")])],1):t("div",e._l(e.__items,(function(s,i){return t("el-row",{key:i+"_rows",attrs:{gutter:20}},e._l(s,(function(i,r){return t("el-col",{key:r+"_row",attrs:{span:24/s.length}},["SpanLayout"!==i.name&&"Description"!==i.name?t("el-form-item",{key:i.name+r,attrs:{prop:i.id,label:i.title}},[t("form-design-render",{attrs:{mode:e.mode,config:i},model:{value:e._value[i.id],callback:function(t){e.$set(e._value,i.id,t)},expression:"_value[item.id]"}})],1):t("form-design-render",{attrs:{mode:e.mode,config:i},model:{value:e._value,callback:function(t){e._value=t},expression:"_value"}})],1)})),1)})),1)])},r=[],o=(s("14d9"),s("b76a")),n=s.n(o),a=s("d16b"),l=s("8f73"),m={mixins:[l["a"]],name:"SpanLayout",components:{draggable:n.a,FormDesignRender:a["a"]},props:{value:{default:null},items:{type:Array,default:()=>[]}},computed:{_items:{get(){return this.items},set(e){this.items=e}},__items(){let e=[];for(let t=0;t<this.items.length;t++)t>0&&t%2>0&&e.push([this.items[t-1],this.items[t]]);return 2*e.length<this.items.length&&e.push([this.items[this.items.length-1]]),e},selectFormItem:{get(){return this.$store.state.selectFormItem},set(e){this.$store.state.selectFormItem=e}},nodeMap(){return this.$store.state.nodeMap}},data(){return{select:null,drag:!1,formConfig:{data:{},rules:{}},form:{formId:"",formName:"",logo:{},formItems:[],process:{},remark:""}}},methods:{selectItem(e){this.selectFormItem=e},getSelectedClass(e){return this.selectFormItem&&this.selectFormItem.id===e.id?"border-left: 4px solid #f56c6c":""},delItem(e){this.$confirm("删除组件将会连带删除包含该组件的条件以及相关设置,是否继续?","提示",{confirmButtonText:"确 定",cancelButtonText:"取 消",type:"warning"}).then(()=>{"SpanLayout"===this._items[e].name?(this._items[e].props.items.forEach(e=>{this.removeFormItemAbout(e)}),this._items[e].props.items.length=0):this.removeFormItemAbout(this._items[e]),this._items.splice(e,1)})},async removeFormItemAbout(e){this.nodeMap.forEach(t=>{"CONDITION"===t.type&&t.props.groups.forEach(t=>{let s=t.cids.remove(e.id);s>-1&&t.conditions.splice(s,1)}),"ROOT"!==t.type&&"APPROVAL"!==t.type&&"CC"!==t.type||t.props.formPerms.removeByKey("id",e.id)})}}},c=m,d=(s("26a9"),s("2877")),u=Object(d["a"])(c,i,r,!1,null,"f88bc4c8",null);t["default"]=u.exports}}]);
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1 @@
|
|||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-d75f3024"],{"175d":function(e,t,i){"use strict";i("4bb1")},"4bb1":function(e,t,i){},"8f73":function(e,t,i){"use strict";t["a"]={props:{mode:{type:String,default:"DESIGN"},required:{type:Boolean,default:!1}},data(){return{}},computed:{_value:{get(){return this.value},set(e){this.$emit("input",e)}}}}},f13b:function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e._self._c;return t("div",{staticStyle:{"max-width":"350px"}},["DESIGN"===e.mode?t("div",[t("el-button",{attrs:{disabled:"",icon:"iconfont icon-map-site",type:"primary",size:"mini",round:""}},[e._v(" 选择部门")]),t("span",{staticClass:"placeholder"},[e._v(" "+e._s(e.placeholder))])],1):t("div",[t("el-button",{attrs:{icon:"iconfont icon-map-site",type:"primary",size:"mini",round:""},on:{click:function(t){return e.$refs.orgPicker.show()}}},[e._v(" 选择部门")]),t("org-picker",{ref:"orgPicker",attrs:{type:"dept",multiple:e.multiple,selected:e._value},on:{ok:e.selected}}),t("span",{staticClass:"placeholder"},[e._v(" "+e._s(e.placeholder))]),t("div",{staticStyle:{"margin-top":"5px"}},e._l(e._value,(function(i,n){return t("el-tag",{key:n,staticStyle:{margin:"5px"},attrs:{size:"mini",closable:""},on:{close:function(t){return e.delDept(n)}}},[e._v(e._s(i.name))])})),1)],1)])},r=[],a=i("8f73"),l=i("709c"),s={mixins:[a["a"]],name:"DeptPicker",components:{OrgPicker:l["a"]},props:{value:{type:Array,default:()=>[]},placeholder:{type:String,default:"请选择部门"},multiple:{type:Boolean,default:!1}},data(){return{showOrgSelect:!1}},methods:{selected(e){this.showOrgSelect=!1,this._value=e},delDept(e){this._value.splice(e,1)}}},o=s,c=(i("175d"),i("2877")),p=Object(c["a"])(o,n,r,!1,null,"70810528",null);t["default"]=p.exports}}]);
|
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