diff --git a/src/assets/icon/iconfont.woff2 b/src/assets/icon/iconfont.woff2 new file mode 100644 index 0000000..342ffee Binary files /dev/null and b/src/assets/icon/iconfont.woff2 differ diff --git a/src/assets/img/+86.png b/src/assets/img/+86.png new file mode 100644 index 0000000..2f0280a Binary files /dev/null and b/src/assets/img/+86.png differ diff --git a/src/assets/img/Basics-icon.png b/src/assets/img/Basics-icon.png new file mode 100644 index 0000000..618eb77 Binary files /dev/null and b/src/assets/img/Basics-icon.png differ diff --git a/src/assets/img/Business-icon.png b/src/assets/img/Business-icon.png new file mode 100644 index 0000000..2d8f8f8 Binary files /dev/null and b/src/assets/img/Business-icon.png differ diff --git a/src/assets/img/GE-1.png b/src/assets/img/GE-1.png new file mode 100644 index 0000000..f65db69 Binary files /dev/null and b/src/assets/img/GE-1.png differ diff --git a/src/assets/img/GE-10.png b/src/assets/img/GE-10.png new file mode 100644 index 0000000..d891cd3 Binary files /dev/null and b/src/assets/img/GE-10.png differ diff --git a/src/assets/img/GE-10g.png b/src/assets/img/GE-10g.png new file mode 100644 index 0000000..559edb7 Binary files /dev/null and b/src/assets/img/GE-10g.png differ diff --git a/src/assets/img/GE-1g.png b/src/assets/img/GE-1g.png new file mode 100644 index 0000000..cc2b52c Binary files /dev/null and b/src/assets/img/GE-1g.png differ diff --git a/src/assets/img/GE-2.png b/src/assets/img/GE-2.png new file mode 100644 index 0000000..cad7ac7 Binary files /dev/null and b/src/assets/img/GE-2.png differ diff --git a/src/assets/img/GE-2G.png b/src/assets/img/GE-2G.png new file mode 100644 index 0000000..a535e8e Binary files /dev/null and b/src/assets/img/GE-2G.png differ diff --git a/src/assets/img/GE-3.png b/src/assets/img/GE-3.png new file mode 100644 index 0000000..7dc029c Binary files /dev/null and b/src/assets/img/GE-3.png differ diff --git a/src/assets/img/GE-3G.png b/src/assets/img/GE-3G.png new file mode 100644 index 0000000..202bc1b Binary files /dev/null and b/src/assets/img/GE-3G.png differ diff --git a/src/assets/img/GE-4.png b/src/assets/img/GE-4.png new file mode 100644 index 0000000..45d62a0 Binary files /dev/null and b/src/assets/img/GE-4.png differ diff --git a/src/assets/img/GE-4G.png b/src/assets/img/GE-4G.png new file mode 100644 index 0000000..b5d9026 Binary files /dev/null and b/src/assets/img/GE-4G.png differ diff --git a/src/assets/img/GE-5.png b/src/assets/img/GE-5.png new file mode 100644 index 0000000..5777cf3 Binary files /dev/null and b/src/assets/img/GE-5.png differ diff --git a/src/assets/img/GE-5G.png b/src/assets/img/GE-5G.png new file mode 100644 index 0000000..00da48c Binary files /dev/null and b/src/assets/img/GE-5G.png differ diff --git a/src/assets/img/GE-6.png b/src/assets/img/GE-6.png new file mode 100644 index 0000000..98734c7 Binary files /dev/null and b/src/assets/img/GE-6.png differ diff --git a/src/assets/img/GE-6g.png b/src/assets/img/GE-6g.png new file mode 100644 index 0000000..177592e Binary files /dev/null and b/src/assets/img/GE-6g.png differ diff --git a/src/assets/img/GE-7.png b/src/assets/img/GE-7.png new file mode 100644 index 0000000..72f66f3 Binary files /dev/null and b/src/assets/img/GE-7.png differ diff --git a/src/assets/img/GE-7g.png b/src/assets/img/GE-7g.png new file mode 100644 index 0000000..68955a0 Binary files /dev/null and b/src/assets/img/GE-7g.png differ diff --git a/src/assets/img/GE-8.png b/src/assets/img/GE-8.png new file mode 100644 index 0000000..807b3cb Binary files /dev/null and b/src/assets/img/GE-8.png differ diff --git a/src/assets/img/GE-8g.png b/src/assets/img/GE-8g.png new file mode 100644 index 0000000..0a37a38 Binary files /dev/null and b/src/assets/img/GE-8g.png differ diff --git a/src/assets/img/GE-9.png b/src/assets/img/GE-9.png new file mode 100644 index 0000000..2c86461 Binary files /dev/null and b/src/assets/img/GE-9.png differ diff --git a/src/assets/img/GE-9g.png b/src/assets/img/GE-9g.png new file mode 100644 index 0000000..f2a5498 Binary files /dev/null and b/src/assets/img/GE-9g.png differ diff --git a/src/assets/img/GE-noRound.png b/src/assets/img/GE-noRound.png new file mode 100644 index 0000000..dd1bd6d Binary files /dev/null and b/src/assets/img/GE-noRound.png differ diff --git a/src/assets/img/GE-noTick.png b/src/assets/img/GE-noTick.png new file mode 100644 index 0000000..b1524cb Binary files /dev/null and b/src/assets/img/GE-noTick.png differ diff --git a/src/assets/img/GE-round.png b/src/assets/img/GE-round.png new file mode 100644 index 0000000..5ca4907 Binary files /dev/null and b/src/assets/img/GE-round.png differ diff --git a/src/assets/img/GE-tick.png b/src/assets/img/GE-tick.png new file mode 100644 index 0000000..d43fd66 Binary files /dev/null and b/src/assets/img/GE-tick.png differ diff --git a/src/assets/img/QRcode.png b/src/assets/img/QRcode.png new file mode 100644 index 0000000..7cde13d Binary files /dev/null and b/src/assets/img/QRcode.png differ diff --git a/src/assets/img/back-client.png b/src/assets/img/back-client.png new file mode 100644 index 0000000..4d000da Binary files /dev/null and b/src/assets/img/back-client.png differ diff --git a/src/assets/img/back-guarantee.png b/src/assets/img/back-guarantee.png new file mode 100644 index 0000000..18d818f Binary files /dev/null and b/src/assets/img/back-guarantee.png differ diff --git a/src/assets/img/back-man.png b/src/assets/img/back-man.png new file mode 100644 index 0000000..31ea155 Binary files /dev/null and b/src/assets/img/back-man.png differ diff --git a/src/assets/img/back.png b/src/assets/img/back.png new file mode 100644 index 0000000..dc21e2d Binary files /dev/null and b/src/assets/img/back.png differ diff --git a/src/assets/img/btn_1.png b/src/assets/img/btn_1.png new file mode 100644 index 0000000..fd590f2 Binary files /dev/null and b/src/assets/img/btn_1.png differ diff --git a/src/assets/img/btn_2.png b/src/assets/img/btn_2.png new file mode 100644 index 0000000..a574090 Binary files /dev/null and b/src/assets/img/btn_2.png differ diff --git a/src/assets/img/btn_3.png b/src/assets/img/btn_3.png new file mode 100644 index 0000000..4296167 Binary files /dev/null and b/src/assets/img/btn_3.png differ diff --git a/src/assets/img/btn_4.png b/src/assets/img/btn_4.png new file mode 100644 index 0000000..495ed8a Binary files /dev/null and b/src/assets/img/btn_4.png differ diff --git a/src/assets/img/btn_add_s.png b/src/assets/img/btn_add_s.png new file mode 100644 index 0000000..211c5d9 Binary files /dev/null and b/src/assets/img/btn_add_s.png differ diff --git a/src/assets/img/btn_add_ss.png b/src/assets/img/btn_add_ss.png new file mode 100644 index 0000000..af17b99 Binary files /dev/null and b/src/assets/img/btn_add_ss.png differ diff --git a/src/assets/img/btn_compile.png b/src/assets/img/btn_compile.png new file mode 100644 index 0000000..cf05a45 Binary files /dev/null and b/src/assets/img/btn_compile.png differ diff --git a/src/assets/img/btn_d_s.png b/src/assets/img/btn_d_s.png new file mode 100644 index 0000000..4d0191e Binary files /dev/null and b/src/assets/img/btn_d_s.png differ diff --git a/src/assets/img/btn_login.png b/src/assets/img/btn_login.png new file mode 100644 index 0000000..9df8d97 Binary files /dev/null and b/src/assets/img/btn_login.png differ diff --git a/src/assets/img/btn_per_un.png b/src/assets/img/btn_per_un.png new file mode 100644 index 0000000..57d0e83 Binary files /dev/null and b/src/assets/img/btn_per_un.png differ diff --git a/src/assets/img/btn_pre.png b/src/assets/img/btn_pre.png new file mode 100644 index 0000000..1f25e13 Binary files /dev/null and b/src/assets/img/btn_pre.png differ diff --git a/src/assets/img/call-off.png b/src/assets/img/call-off.png new file mode 100644 index 0000000..7fed9cb Binary files /dev/null and b/src/assets/img/call-off.png differ diff --git a/src/assets/img/client-icon.png b/src/assets/img/client-icon.png new file mode 100644 index 0000000..4c673f3 Binary files /dev/null and b/src/assets/img/client-icon.png differ diff --git a/src/assets/img/close.png b/src/assets/img/close.png new file mode 100644 index 0000000..6edfdca Binary files /dev/null and b/src/assets/img/close.png differ diff --git a/src/assets/img/delete-xxl-icon.png b/src/assets/img/delete-xxl-icon.png new file mode 100644 index 0000000..fcefa8c Binary files /dev/null and b/src/assets/img/delete-xxl-icon.png differ diff --git a/src/assets/img/edit-icon.png b/src/assets/img/edit-icon.png new file mode 100644 index 0000000..873b3c5 Binary files /dev/null and b/src/assets/img/edit-icon.png differ diff --git a/src/assets/img/ff-icon.png b/src/assets/img/ff-icon.png new file mode 100644 index 0000000..215b6ae Binary files /dev/null and b/src/assets/img/ff-icon.png differ diff --git a/src/assets/img/flowChecked.png b/src/assets/img/flowChecked.png new file mode 100644 index 0000000..8291572 Binary files /dev/null and b/src/assets/img/flowChecked.png differ diff --git a/src/assets/img/flowNoChecked.png b/src/assets/img/flowNoChecked.png new file mode 100644 index 0000000..a93d741 Binary files /dev/null and b/src/assets/img/flowNoChecked.png differ diff --git a/src/assets/img/flowNoPass.png b/src/assets/img/flowNoPass.png new file mode 100644 index 0000000..c58754e Binary files /dev/null and b/src/assets/img/flowNoPass.png differ diff --git a/src/assets/img/icon-Export.png b/src/assets/img/icon-Export.png new file mode 100644 index 0000000..54e5482 Binary files /dev/null and b/src/assets/img/icon-Export.png differ diff --git a/src/assets/img/icon-Tolead.png b/src/assets/img/icon-Tolead.png new file mode 100644 index 0000000..4ae18fd Binary files /dev/null and b/src/assets/img/icon-Tolead.png differ diff --git a/src/assets/img/icon-approve.png b/src/assets/img/icon-approve.png new file mode 100644 index 0000000..663d43c Binary files /dev/null and b/src/assets/img/icon-approve.png differ diff --git a/src/assets/img/icon-guarantee.png b/src/assets/img/icon-guarantee.png new file mode 100644 index 0000000..7dbf061 Binary files /dev/null and b/src/assets/img/icon-guarantee.png differ diff --git a/src/assets/img/icon-refuse.png b/src/assets/img/icon-refuse.png new file mode 100644 index 0000000..4a24861 Binary files /dev/null and b/src/assets/img/icon-refuse.png differ diff --git a/src/assets/img/icon-repeal.png b/src/assets/img/icon-repeal.png new file mode 100644 index 0000000..b3c6437 Binary files /dev/null and b/src/assets/img/icon-repeal.png differ diff --git a/src/assets/img/icon-white-close.png b/src/assets/img/icon-white-close.png new file mode 100644 index 0000000..968c624 Binary files /dev/null and b/src/assets/img/icon-white-close.png differ diff --git a/src/assets/img/icon-withdrawn.png b/src/assets/img/icon-withdrawn.png new file mode 100644 index 0000000..79ac18a Binary files /dev/null and b/src/assets/img/icon-withdrawn.png differ diff --git a/src/assets/img/icon_c.png b/src/assets/img/icon_c.png new file mode 100644 index 0000000..5a87523 Binary files /dev/null and b/src/assets/img/icon_c.png differ diff --git a/src/assets/img/icon_fail_s.png b/src/assets/img/icon_fail_s.png new file mode 100644 index 0000000..13cce94 Binary files /dev/null and b/src/assets/img/icon_fail_s.png differ diff --git a/src/assets/img/icon_ing.png b/src/assets/img/icon_ing.png new file mode 100644 index 0000000..e768d7b Binary files /dev/null and b/src/assets/img/icon_ing.png differ diff --git a/src/assets/img/icon_pass_s.png b/src/assets/img/icon_pass_s.png new file mode 100644 index 0000000..5a046c9 Binary files /dev/null and b/src/assets/img/icon_pass_s.png differ diff --git a/src/assets/img/logo.png b/src/assets/img/logo.png new file mode 100644 index 0000000..1d9965a Binary files /dev/null and b/src/assets/img/logo.png differ diff --git a/src/assets/img/manpower-icon.png b/src/assets/img/manpower-icon.png new file mode 100644 index 0000000..1344727 Binary files /dev/null and b/src/assets/img/manpower-icon.png differ diff --git a/src/assets/img/money-icon.png b/src/assets/img/money-icon.png new file mode 100644 index 0000000..249fb1b Binary files /dev/null and b/src/assets/img/money-icon.png differ diff --git a/src/assets/img/plus.png b/src/assets/img/plus.png new file mode 100644 index 0000000..c057863 Binary files /dev/null and b/src/assets/img/plus.png differ diff --git a/src/assets/img/rightArrows.png b/src/assets/img/rightArrows.png new file mode 100644 index 0000000..5e93810 Binary files /dev/null and b/src/assets/img/rightArrows.png differ diff --git a/src/assets/img/work-afterLoans.png b/src/assets/img/work-afterLoans.png new file mode 100644 index 0000000..8fa8013 Binary files /dev/null and b/src/assets/img/work-afterLoans.png differ diff --git a/src/assets/img/work-client.png b/src/assets/img/work-client.png new file mode 100644 index 0000000..c277303 Binary files /dev/null and b/src/assets/img/work-client.png differ diff --git a/src/assets/img/work-guarantee.png b/src/assets/img/work-guarantee.png new file mode 100644 index 0000000..191001a Binary files /dev/null and b/src/assets/img/work-guarantee.png differ diff --git a/src/assets/img/work-man.png b/src/assets/img/work-man.png new file mode 100644 index 0000000..219c36e Binary files /dev/null and b/src/assets/img/work-man.png differ diff --git a/src/components/DrawFlow/index.js b/src/components/DrawFlow/index.js new file mode 100644 index 0000000..cdc6460 --- /dev/null +++ b/src/components/DrawFlow/index.js @@ -0,0 +1,7 @@ +/* 仿钉钉流程图插件 */ +import DrawFlow from "./src/DrawFlow"; +/* istanbul ignore next */ +DrawFlow.install = function(Vue) { + Vue.component(DrawFlow.name, DrawFlow); +}; +export default DrawFlow; diff --git a/src/components/DrawFlow/src/DrawFlow.vue b/src/components/DrawFlow/src/DrawFlow.vue new file mode 100644 index 0000000..a9c9515 --- /dev/null +++ b/src/components/DrawFlow/src/DrawFlow.vue @@ -0,0 +1,349 @@ + + + + diff --git a/src/components/DrawFlow/src/components/AddNodeBtn.vue b/src/components/DrawFlow/src/components/AddNodeBtn.vue new file mode 100644 index 0000000..e23ea22 --- /dev/null +++ b/src/components/DrawFlow/src/components/AddNodeBtn.vue @@ -0,0 +1,127 @@ + + + + diff --git a/src/components/DrawFlow/src/components/DrawAddSelectBox/DrawAddBox.vue b/src/components/DrawFlow/src/components/DrawAddSelectBox/DrawAddBox.vue new file mode 100644 index 0000000..1adc983 --- /dev/null +++ b/src/components/DrawFlow/src/components/DrawAddSelectBox/DrawAddBox.vue @@ -0,0 +1,96 @@ + + diff --git a/src/components/DrawFlow/src/components/DrawAddSelectBox/NextNode.js b/src/components/DrawFlow/src/components/DrawAddSelectBox/NextNode.js new file mode 100644 index 0000000..6767f4d --- /dev/null +++ b/src/components/DrawFlow/src/components/DrawAddSelectBox/NextNode.js @@ -0,0 +1,15 @@ +/** + * @author 肖阳 + * @time 2020-9-10 + * @dec 下一节点属性 + */ + +// 构造函数,创建一个对象 +export class NextNode { + constructor({ id, prevId, type, isRow }) { + this.id = id; + this.prevId = prevId; + this.type = type; + this.isRow = isRow; + } +} diff --git a/src/components/DrawFlow/src/components/DrawAddSelectBox/addBox.scss b/src/components/DrawFlow/src/components/DrawAddSelectBox/addBox.scss new file mode 100644 index 0000000..bdd154d --- /dev/null +++ b/src/components/DrawFlow/src/components/DrawAddSelectBox/addBox.scss @@ -0,0 +1,53 @@ +.add-node-popover-body { + max-width: 336px; + .add-node-popover-item { + display: inline-flex; + align-items: center; + cursor: pointer; + color: #191F25 !important; + margin-right: 8px; + margin-bottom: 8px; + width: 160px; + background: rgba(17, 31, 44, 0.02); + padding: 8px; + border: 1px solid #FFFFFF; + border-radius: 4px; + .iconfont { + font-size: 20px; + line-height: 40px; + } + .item-wrapper { + user-select: none; + display: flex; + align-items: center; + justify-content: center; + width: 40px; + height: 40px; + background: #FFFFFF; + border: 1px solid #eeeeee; + border-radius: 16px; + transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1); + margin-right: 12px; + } + &:hover{ + background: #FFFFFF; + border: 1px solid #ecedef; + box-shadow: 0 2px 8px 0 rgba(17, 31, 44, 0.08); + } + } + .add-node-popover-item.approver { + .item-wrapper { + color: #FF943E; + } + } + .add-node-popover-item.notifier { + .item-wrapper { + color: #3296FA; + } + } + .add-node-popover-item.route { + .item-wrapper { + color: #15BC83; + } + } +} \ No newline at end of file diff --git a/src/components/DrawFlow/src/components/DrawCol/FactoryCol.js b/src/components/DrawFlow/src/components/DrawCol/FactoryCol.js new file mode 100644 index 0000000..5a453b0 --- /dev/null +++ b/src/components/DrawFlow/src/components/DrawCol/FactoryCol.js @@ -0,0 +1,126 @@ +/** + * @author 肖阳 + * @time 2020-9-10 + * @dec col节点工厂 + */ +import drawFlow from "../factory"; + +import "./layout.scss"; +function branchBoxRender(h, nodeArr) { + // let title = []; + // if (nodeArr.isFlowTo) { + // title = "添加流转"; + // } else { + // title = "添加条件"; + // } + const colNodeArr = nodeArr.conditionNodes; + return ( +
+
+
+ {/* */} + {colBoxRender.bind(this, h, colNodeArr)()} +
+ +
+
+ ); +} +/** + * col-box + */ +function colBoxRender(h, colNodeArr) { + return colNodeArr.map((item, idx) => { + switch (idx) { + case 0: + return ( +
+
+
+ {conditionNodeRender.bind(this, h, item)()} +
+ ); + case colNodeArr.length - 1: + return ( +
+ {conditionNodeRender.bind(this, h, item)()} +
+
+
+ ); + default: + return ( +
{conditionNodeRender.bind(this, h, item)()}
+ ); + } + }); +} +function closeNode(event, node) { + event.stopPropagation(); + this.closeNode(node); +} +function conditionNodeRender(h, node) { + const judegeNode = { ...node }; + let tep = []; + tep.push( +
+
+
{ + this.clickNode(node); + }} + > +
+
+ {judegeNode.title} + {/* + { + closeNode.bind(this, event, node)(); + }} + /> + */} + {/* + {judegeNode.data.priority || "123"} + */} +
+ {/*
{judegeNode.content}
*/} +
+
{judegeNode.content}
+ +
+
+ +
+
+ ); + + if (node.childNode) { + let el = drawFlow.getFactory.bind(this, h, node.childNode)(); + tep.push(el); + } + // let el = drawFlow.getFactory.bind(this, h, node)(); + // tep.push(el); + return tep; +} +export default { + branchBoxRender +}; diff --git a/src/components/DrawFlow/src/components/DrawCol/layout.scss b/src/components/DrawFlow/src/components/DrawCol/layout.scss new file mode 100644 index 0000000..59d1ef6 --- /dev/null +++ b/src/components/DrawFlow/src/components/DrawCol/layout.scss @@ -0,0 +1,264 @@ + +.branch-wrap { + display: inline-flex; + width: 100%; + .branch-box-wrap { + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + min-height: 270px; + width: 100%; + -ms-flex-negative: 0; + flex-shrink: 0; + .branch-box { + display: flex; + overflow: visible; + min-height: 180px; + height: auto; + border-bottom: 2px solid #cccccc; + border-top: 2px solid #cccccc; + position: relative; + // margin-top: 15px; + .add-branch { + border: none; + outline: none; + user-select: none; + justify-content: center; + font-size: 12px; + padding: 0 10px; + height: 30px; + line-height: 30px; + border-radius: 15px; + color: #0089ff; + background: #fff; + box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1); + position: absolute; + top: -16px; + left: 50%; + transform: translateX(-50%); + transform-origin: center center; + cursor: pointer; + z-index: 1; + display: inline-flex; + align-items: center; + -webkit-transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1); + transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1); + } + .col-box { + // background: #f0f2f5; + display: inline-flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + flex-direction: column; + -webkit-box-align: center; + align-items: center; + position: relative; + &::before { + content: ""; + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + z-index: 0; + margin: auto; + width: 2px; + height: 100%; + background-color: #cacaca; + } + + .top-left-cover-line { + position: absolute; + height: 3px; + width: 50%; + background-color: #f5f5f7; + top: -2px; + left: -1px; + } + .bottom-left-cover-line { + position: absolute; + height: 3px; + width: 50%; + background-color: #f5f5f7; + bottom: -2px; + left: -1px; + } + .top-right-cover-line { + position: absolute; + height: 3px; + width: 50%; + background-color: #f5f5f7; + top: -2px; + right: -1px; + } + .bottom-right-cover-line { + position: absolute; + height: 3px; + width: 50%; + background-color: #f5f5f7; + bottom: -2px; + right: -1px; + } + } + } + } + } + +.dingflow-design .auto-judge .sort-left, +.dingflow-design .auto-judge .sort-right { + position: absolute; + top: 0; + bottom: 0; + display: none; + z-index: 1; +} +.condition-node { + min-height: 220px; + display: inline-flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + flex-direction: column; + -webkit-box-flex: 1; + .condition-node-box { + padding-top: 30px; + padding-right: 50px; + padding-left: 50px; + -webkit-box-pack: center; + justify-content: center; + display: inline-flex; + -webkit-box-align: center; + align-items: center; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + flex-direction: column; + -webkit-box-flex: 1; + flex-grow: 1; + position: relative; + &::before { + content: ""; + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + margin: auto; + width: 2px; + height: 100%; + background-color: #cacaca; + } + .auto-judge { + position: relative; + width: 220px; + min-height: 72px; + background: #ffffff; + // padding: 14px 19px; + cursor: pointer; + .close { + width: 14px; + height: 14px; + display: none; + position: absolute; + right: -2px; + top: -2px; + font-size: 14px; + text-align: center; + line-height: 20px; + z-index: 2; + color: rgba(25, 31, 37, 0.56); + } + .priority-title { + display: block; + margin-right: 10px; + float: right; + color: rgba(25, 31, 37, 0.56); + } + &:hover { + .close{ + display: block; + } + .priority-title{ + display: none; + } + &::after { + border: 1px solid #3296fa; + box-shadow: 0 0 6px 0 rgba(50, 150, 250, 0.3); + } + } + &::after{ + pointer-events: none; + content: ''; + position: absolute; + top: 0; + bottom: 0; + left: 0; + right: 0; + z-index: 2; + border-radius: 4px; + border: 1px solid transparent; + transition: all 0.1s cubic-bezier(0.645, 0.045, 0.355, 1); + box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1); + } + .title-wrapper { + position: relative; + background: #ff943e; + padding-left: 16px; + padding-right: 30px; + width: 100%; + height: 30px; + line-height: 30px; + font-size: 14px; + color: #ffffff; + text-align: left; + border-radius: 4px 4px 0px 0px; + text-align: left; + .editable-title { + line-height: 15px; + overflow: hidden; + border-bottom: dashed 1px transparent; + display: inline-block; + max-width: 120px; + white-space: nowrap; + text-overflow: ellipsis; + // &:hover { + // border-bottom: dashed 1px #ffffff; + // } + &::before { + content: ""; + position: absolute; + top: 0; + left: 0; + bottom: 0; + right: 40px; + } + } + + } + .content { + // padding: 16px; + height: 50px; + line-height: 50px; + padding: 0 30px 0 16px; + font-size: 14px; + color: #191f25; + text-align: left; + // margin-top: 6px; + // overflow: hidden; + // text-overflow: ellipsis; + // // display: -webkit-box; + // -webkit-line-clamp: 3; + // -webkit-box-orient: vertical; + } + .sort-right { + right: 0; + border-left: 1px solid #f6f6f6; + } + } + } +} \ No newline at end of file diff --git a/src/components/DrawFlow/src/components/DrawRow/FactoryRow.js b/src/components/DrawFlow/src/components/DrawRow/FactoryRow.js new file mode 100644 index 0000000..87c4ca9 --- /dev/null +++ b/src/components/DrawFlow/src/components/DrawRow/FactoryRow.js @@ -0,0 +1,46 @@ +/** + * @author 肖阳 + * @time 2020-9-10 + * @dec row节点包裹框 + */ +import "./row.scss"; +import drawFlow from "../factory"; +export default { + /** + * + * @param {creatElement} h + * @param {Object} nodeConfig + */ + nodeWrapRender(h, nodeConfig) { + let tep = []; + tep.push( +
+ + +
+ ); + if (nodeConfig.isRoot) { + return tep; + } + if (nodeConfig.childNode) { + let el = drawFlow.getFactory.bind(this, h, nodeConfig.childNode)(); + tep.push(el); + } + return tep; + } +}; diff --git a/src/components/DrawFlow/src/components/DrawRow/FlowNode.vue b/src/components/DrawFlow/src/components/DrawRow/FlowNode.vue new file mode 100644 index 0000000..f95e7b2 --- /dev/null +++ b/src/components/DrawFlow/src/components/DrawRow/FlowNode.vue @@ -0,0 +1,198 @@ + + + + diff --git a/src/components/DrawFlow/src/components/DrawRow/row.scss b/src/components/DrawFlow/src/components/DrawRow/row.scss new file mode 100644 index 0000000..08600e0 --- /dev/null +++ b/src/components/DrawFlow/src/components/DrawRow/row.scss @@ -0,0 +1,19 @@ +.node-wrap,.flow-wrap { + display: inline-flex; + flex-direction: column; + -webkit-box-pack: start; + -ms-flex-pack: start; + justify-content: flex-start; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-flex: 1; + -ms-flex-positive: 1; + width: 100%; + padding: 0 50px; + position: relative; + } + + \ No newline at end of file diff --git a/src/components/DrawFlow/src/components/NodeConfigFactory/NodeFactory.js b/src/components/DrawFlow/src/components/NodeConfigFactory/NodeFactory.js new file mode 100644 index 0000000..991de2f --- /dev/null +++ b/src/components/DrawFlow/src/components/NodeConfigFactory/NodeFactory.js @@ -0,0 +1,49 @@ +/* eslint-disable no-unused-vars */ +/** + * @author 肖阳 + * @time 2020-9-10 + * @dec 各种节点类 + */ +import { HashCode } from "../../utils"; +export class Node { + nodeId; + type; + childNode; + title = "title"; + content = "content"; + conditionNodes; + constructor({ id, type, isRow }) { + this.groupId = id; + this.id = HashCode(); + this.type = type; + this.content += this.id; + this.isRow = isRow; + } +} +export class ConditionNode { + title = "title"; + data = {}; + constructor({ groupId, type, id, isRow }) { + this.id = HashCode(); + this.groupId = groupId; + this.type = type; + this.content += this.id; + this.groupPid = id; + this.isRow = isRow; + } +} +export class RowNode extends Node { + data = {}; + constructor({ id, type, isRow }) { + super({ id, type, isRow }); + } +} +export class CopyNode { + title = "标题"; + id = HashCode(); + content = "内容"; + data = {}; + constructor({ id, childNode, ...node }) { + return Object.assign(node, this); + } +} diff --git a/src/components/DrawFlow/src/components/factory.js b/src/components/DrawFlow/src/components/factory.js new file mode 100644 index 0000000..ac11750 --- /dev/null +++ b/src/components/DrawFlow/src/components/factory.js @@ -0,0 +1,19 @@ +import RowFactory from "@/components/DrawFlow/src/components/DrawRow/FactoryRow"; +import ColFactory from "./DrawCol/FactoryCol"; +function getFactory(h, item) { + let tep = []; + if (item.type === "route") { + //多节点 + tep.push(ColFactory.branchBoxRender.bind(this, h, item)()); + if (item.childNode) { + tep.push(getFactory.bind(this, h, item.childNode)()); + } + } + if (item.type !== "route") { + tep.push(RowFactory.nodeWrapRender.bind(this, h, item)()); + } + return tep; +} +export default { + getFactory +}; diff --git a/src/components/DrawFlow/src/mixin/factory.vue b/src/components/DrawFlow/src/mixin/factory.vue new file mode 100644 index 0000000..5884681 --- /dev/null +++ b/src/components/DrawFlow/src/mixin/factory.vue @@ -0,0 +1,30 @@ + + + + diff --git a/src/components/DrawFlow/src/utils/index.js b/src/components/DrawFlow/src/utils/index.js new file mode 100644 index 0000000..d045dfd --- /dev/null +++ b/src/components/DrawFlow/src/utils/index.js @@ -0,0 +1,230 @@ +/** + * @author 肖阳 + * @time 2020-9-10 + * @dec 公共方法 + */ +// https://github.com/reduxjs/redux/blob/master/src/compose.js +import moment from "moment"; + +export function compose(...funcs) { + if (funcs.length === 0) { + return arg => arg; + } + if (funcs.length === 1) { + return funcs[0]; + } + return funcs.reduce((a, b) => (...args) => a(b(...args))); +} + +/** + * 转化为el-tree树形结构数据 + */ +export function transToTreeDat(arr) { + let list = JSON.parse(JSON.stringify(arr)); + let colNodes = list.filter(i => !i.isRow); + let colNodesGroup = getColNode(colNodes); + let allNodes = list.concat(colNodesGroup); + let tree = transTree(allNodes); + return tree; +} +export function getColNode(colNodeArrs) { + let colNodes = colNodeArrs; + let map = {}; + colNodes.forEach(i => { + if (!map[i.groupId]) { + map[i.groupId] = []; + } + map[i.groupId].push(i); + }); + let colNodesArr = []; + for (const groupId in map) { + let obj = { + id: groupId, + groupId: map[groupId][0].groupPid, + type: "route", + isRow: true, + isFlowTo: map[groupId][0].type === "6", + conditionNodes: map[groupId] + }; + colNodesArr.push(obj); + } + + return colNodesArr; +} +/** + * + * @param {allNodes} arr 所有的整行元素 + * @param {*} list 所有的节点元素 + */ +export function getPidArr(list) { + let colNodes = list.filter(i => !i.isRow); + let rowNodes = list.filter(i => i.isRow); + let colNodesGroup = getColNode(colNodes, list); + let arr = colNodesGroup.concat(rowNodes); + let map = {}; //所有整行元素的字典对象 + for (let item of arr) { + map[item.id] = item; + } + //获取节点所在行 + for (let lis of list) { + lis.pids = []; + if (!lis.isRow) { + let p = map[lis.groupPid]; + if (lis.groupPid === "root") { + lis.pids.push(p.id); + continue; + } + //当上一层为rowNode + getColPid(p, lis); + } else { + let p = map[lis.groupId]; + getRowPid(p, lis); + } + } +} +//获取row的父节点id +function getRowPid(p, lis) { + if (!p) { + lis.pids.push(lis.groupId); + } else { + if (p.conditionNodes) { + p.conditionNodes.forEach(i => { + loopGetPid(i, lis); + }); + } else { + lis.pids.push(p.id); + } + } +} +/** + * 获取col节点的父节点 + */ +function getColPid(p, lis) { + if (!p) { + //当上一层为条件框元素 + lis.pids.push(lis.groupPid); + } else { + //当上一层为整行元素 + loopGetPidCol(p, lis); + } +} +/** + * + * @param {*} parentRow + * @param {*} lis + * 单独处理一下col节点 + */ +export function loopGetPidCol(parentRow, lis) { + if (parentRow.conditionNodes) { + parentRow.conditionNodes.forEach(i => { + loopGetPid(i, lis); + }); + } else { + lis.pids.push(parentRow.id); + } +} +/** + * 轮询节点获取pid + * @param {*} node + * @param {*} lis + */ +export function loopGetPid(node, lis) { + if (node.childNode) { + loopGetPid(node.childNode, lis); + } else if (node.conditionNodes) { + node.conditionNodes.forEach(i => { + loopGetPid(i, lis); + }); + } else { + lis.pids.push(node.id); + } +} +/** + * 转化为el-tree树形结构数据 + */ +export function transTree(arr) { + let list = arr; + if (!list || !list.length) return []; + let map = {}; + for (let item of list) { + map[item.id] = item; + } + let nodes = []; + for (let lis of list) { + if (!lis.isRow) { + continue; + } + let p = map[lis.groupId]; + if (!p) { + nodes.push(lis); + continue; + } + p.isParent = true; + p.childNode || (p.childNode = {}); + p.childNode = lis; + if ( + p.childNode.conditionNodes && + p.childNode.conditionNodes[0].type === "6" + ) { + p.isFlowTo = true; + } + } + return nodes; +} +/** + * Hash 哈希值 + */ +export function HashCode(hashLength) { + // 默认长度 24 + return ( + "a" + + Array.from(Array(Number(hashLength) || 15), () => + Math.floor(Math.random() * 36).toString(36) + ).join("") + ); +} +/** + * 树结构转化为扁平化结构 + */ +export function deepTraversal(tree) { + let list = []; + tree.forEach(item => { + const loop = data => { + list.push(data); + let children = data.children; + children && + children.length && + children.forEach(child => { + loop(child); + }); + }; + loop(item); + }); + return list; +} + /** + * 数据深拷 + * @param {Array|Object} 要拷贝的对象 + * @return {Array|Object} 返回拷贝的新对象 + */ +export function deepClone(source) { + if (!source && typeof source !== "object") { + throw new Error("error arguments", "shallowClone"); + } + const targetObj = source.constructor === Array ? [] : {}; + for (const keys in source) { + if (Object.prototype.hasOwnProperty.call(source, keys)) { + if ( + source[keys] && + typeof source[keys] === "object" && + !moment.isMoment(source[keys]) + ) { + targetObj[keys] = source[keys].constructor === Array ? [] : {}; + targetObj[keys] = deepClone(source[keys]); + } else { + targetObj[keys] = source[keys]; + } + } + } + return targetObj; +} \ No newline at end of file diff --git a/src/components/common/BindPhone.vue b/src/components/common/BindPhone.vue new file mode 100644 index 0000000..b53d910 --- /dev/null +++ b/src/components/common/BindPhone.vue @@ -0,0 +1,102 @@ + + + + + + + diff --git a/src/components/common/Foot.vue b/src/components/common/Foot.vue new file mode 100644 index 0000000..fc03315 --- /dev/null +++ b/src/components/common/Foot.vue @@ -0,0 +1,54 @@ + + + + diff --git a/src/components/common/Header.vue b/src/components/common/Header.vue new file mode 100644 index 0000000..74f3454 --- /dev/null +++ b/src/components/common/Header.vue @@ -0,0 +1,124 @@ +// 这个应该是废弃掉的 + + + diff --git a/src/components/common/Home.vue b/src/components/common/Home.vue new file mode 100644 index 0000000..e25e1de --- /dev/null +++ b/src/components/common/Home.vue @@ -0,0 +1,47 @@ + + + diff --git a/src/components/common/Jurisdiction.vue b/src/components/common/Jurisdiction.vue new file mode 100644 index 0000000..4f1ffad --- /dev/null +++ b/src/components/common/Jurisdiction.vue @@ -0,0 +1,409 @@ + + + + + + + diff --git a/src/components/common/Letter.vue b/src/components/common/Letter.vue new file mode 100644 index 0000000..de62578 --- /dev/null +++ b/src/components/common/Letter.vue @@ -0,0 +1,739 @@ + + + + + diff --git a/src/components/common/List.vue b/src/components/common/List.vue new file mode 100644 index 0000000..7850073 --- /dev/null +++ b/src/components/common/List.vue @@ -0,0 +1,149 @@ + + + + diff --git a/src/components/common/Notice.vue b/src/components/common/Notice.vue new file mode 100644 index 0000000..dde2410 --- /dev/null +++ b/src/components/common/Notice.vue @@ -0,0 +1,696 @@ + + + + + diff --git a/src/components/common/Payment.vue b/src/components/common/Payment.vue new file mode 100644 index 0000000..0866c20 --- /dev/null +++ b/src/components/common/Payment.vue @@ -0,0 +1,894 @@ + + + + + diff --git a/src/components/common/PlatformLog.vue b/src/components/common/PlatformLog.vue new file mode 100644 index 0000000..2782040 --- /dev/null +++ b/src/components/common/PlatformLog.vue @@ -0,0 +1,146 @@ + + + + + + + diff --git a/src/components/common/RetrievePsd.vue b/src/components/common/RetrievePsd.vue new file mode 100644 index 0000000..14fb53d --- /dev/null +++ b/src/components/common/RetrievePsd.vue @@ -0,0 +1,230 @@ + + + + + + + diff --git a/src/components/common/ScanCode.vue b/src/components/common/ScanCode.vue new file mode 100644 index 0000000..d4e9d3e --- /dev/null +++ b/src/components/common/ScanCode.vue @@ -0,0 +1,138 @@ + + + + + + + diff --git a/src/components/common/SetPsd.vue b/src/components/common/SetPsd.vue new file mode 100644 index 0000000..fa184ce --- /dev/null +++ b/src/components/common/SetPsd.vue @@ -0,0 +1,230 @@ + + + + + + + diff --git a/src/components/common/Sidebar.vue b/src/components/common/Sidebar.vue new file mode 100644 index 0000000..7209b8d --- /dev/null +++ b/src/components/common/Sidebar.vue @@ -0,0 +1,339 @@ + + + + + diff --git a/src/components/common/SupertubePwd.vue b/src/components/common/SupertubePwd.vue new file mode 100644 index 0000000..328cd83 --- /dev/null +++ b/src/components/common/SupertubePwd.vue @@ -0,0 +1,125 @@ + + + + + + + diff --git a/src/components/common/Tags.vue b/src/components/common/Tags.vue new file mode 100644 index 0000000..148ca61 --- /dev/null +++ b/src/components/common/Tags.vue @@ -0,0 +1,186 @@ + + + + + + diff --git a/src/components/common/afterInsurance.vue b/src/components/common/afterInsurance.vue new file mode 100644 index 0000000..e19608c --- /dev/null +++ b/src/components/common/afterInsurance.vue @@ -0,0 +1,736 @@ + + + + diff --git a/src/components/common/applyDesign.vue b/src/components/common/applyDesign.vue new file mode 100644 index 0000000..43715b4 --- /dev/null +++ b/src/components/common/applyDesign.vue @@ -0,0 +1,735 @@ +// 业务申请的设计表单 + + + \ No newline at end of file diff --git a/src/components/common/assetDesign.vue b/src/components/common/assetDesign.vue new file mode 100644 index 0000000..8cf0ea6 --- /dev/null +++ b/src/components/common/assetDesign.vue @@ -0,0 +1,587 @@ + + + \ No newline at end of file diff --git a/src/components/common/auditProgress.vue b/src/components/common/auditProgress.vue new file mode 100644 index 0000000..f749127 --- /dev/null +++ b/src/components/common/auditProgress.vue @@ -0,0 +1,602 @@ +// 审核进度--弹框 + + + \ No newline at end of file diff --git a/src/components/common/back.vue b/src/components/common/back.vue new file mode 100644 index 0000000..7934541 --- /dev/null +++ b/src/components/common/back.vue @@ -0,0 +1,31 @@ +//这是一个后退图标加文字 + + + + \ No newline at end of file diff --git a/src/components/common/background-list.vue b/src/components/common/background-list.vue new file mode 100644 index 0000000..9655b42 --- /dev/null +++ b/src/components/common/background-list.vue @@ -0,0 +1,225 @@ +// 通用列表样式 + + + \ No newline at end of file diff --git a/src/components/common/bus.js b/src/components/common/bus.js new file mode 100644 index 0000000..b433c90 --- /dev/null +++ b/src/components/common/bus.js @@ -0,0 +1,6 @@ +import Vue from 'vue'; + +// 使用 Event Bus +const bus = new Vue(); + +export default bus; \ No newline at end of file diff --git a/src/components/common/businessApplyDepartment.vue b/src/components/common/businessApplyDepartment.vue new file mode 100644 index 0000000..88a07f0 --- /dev/null +++ b/src/components/common/businessApplyDepartment.vue @@ -0,0 +1,2424 @@ + + + \ No newline at end of file diff --git a/src/components/common/cancel_btn.vue b/src/components/common/cancel_btn.vue new file mode 100644 index 0000000..b68320d --- /dev/null +++ b/src/components/common/cancel_btn.vue @@ -0,0 +1,18 @@ +// 弹框多,统一取消按钮 +// + + + \ No newline at end of file diff --git a/src/components/common/close.vue b/src/components/common/close.vue new file mode 100644 index 0000000..4331279 --- /dev/null +++ b/src/components/common/close.vue @@ -0,0 +1,17 @@ +// 这是一个X号图标按钮,关闭的 + + + \ No newline at end of file diff --git a/src/components/common/collection.vue b/src/components/common/collection.vue new file mode 100644 index 0000000..425bf6e --- /dev/null +++ b/src/components/common/collection.vue @@ -0,0 +1,982 @@ + + + + diff --git a/src/components/common/complianceDepartment.vue b/src/components/common/complianceDepartment.vue new file mode 100644 index 0000000..474d5c0 --- /dev/null +++ b/src/components/common/complianceDepartment.vue @@ -0,0 +1,1803 @@ + + + \ No newline at end of file diff --git a/src/components/common/complianceDesign.vue b/src/components/common/complianceDesign.vue new file mode 100644 index 0000000..005ad56 --- /dev/null +++ b/src/components/common/complianceDesign.vue @@ -0,0 +1,814 @@ +// 合规调查的设计表单 + + + \ No newline at end of file diff --git a/src/components/common/delete-btn.vue b/src/components/common/delete-btn.vue new file mode 100644 index 0000000..a280484 --- /dev/null +++ b/src/components/common/delete-btn.vue @@ -0,0 +1,23 @@ +// 这是一个垃圾桶图标按钮 + + + \ No newline at end of file diff --git a/src/components/common/directives.js b/src/components/common/directives.js new file mode 100644 index 0000000..b9d1834 --- /dev/null +++ b/src/components/common/directives.js @@ -0,0 +1,80 @@ +import Vue from 'vue'; + +// v-dialogDrag: 弹窗拖拽属性 +Vue.directive('dialogDrag', { + bind(el, binding, vnode, oldVnode) { + const dialogHeaderEl = el.querySelector('.el-dialog__header'); + const dragDom = el.querySelector('.el-dialog'); + + dialogHeaderEl.style.cssText += ';cursor:move;' + dragDom.style.cssText += ';top:0px;' + + // 获取原有属性 ie dom元素.currentStyle 火狐谷歌 window.getComputedStyle(dom元素, null); + const sty = (() => { + if (window.document.currentStyle) { + return (dom, attr) => dom.currentStyle[attr]; + } else { + return (dom, attr) => getComputedStyle(dom, false)[attr]; + } + })() + + dialogHeaderEl.onmousedown = (e) => { + // 鼠标按下,计算当前元素距离可视区的距离 + const disX = e.clientX - dialogHeaderEl.offsetLeft; + const disY = e.clientY - dialogHeaderEl.offsetTop; + + const screenWidth = document.body.clientWidth; // body当前宽度 + const screenHeight = document.documentElement.clientHeight; // 可见区域高度(应为body高度,可某些环境下无法获取) + + const dragDomWidth = dragDom.offsetWidth; // 对话框宽度 + const dragDomheight = dragDom.offsetHeight; // 对话框高度 + + const minDragDomLeft = dragDom.offsetLeft; + const maxDragDomLeft = screenWidth - dragDom.offsetLeft - dragDomWidth; + + const minDragDomTop = dragDom.offsetTop; + const maxDragDomTop = screenHeight - dragDom.offsetTop - dragDomheight; + + + // 获取到的值带px 正则匹配替换 + let styL = sty(dragDom, 'left'); + let styT = sty(dragDom, 'top'); + + // 注意在ie中 第一次获取到的值为组件自带50% 移动之后赋值为px + if (styL.includes('%')) { + styL = +document.body.clientWidth * (+styL.replace(/\%/g, '') / 100); + styT = +document.body.clientHeight * (+styT.replace(/\%/g, '') / 100); + } else { + styL = +styL.replace(/\px/g, ''); + styT = +styT.replace(/\px/g, ''); + }; + + document.onmousemove = function (e) { + // 通过事件委托,计算移动的距离 + let left = e.clientX - disX; + let top = e.clientY - disY; + + // 边界处理 + if (-(left) > minDragDomLeft) { + left = -(minDragDomLeft); + } else if (left > maxDragDomLeft) { + left = maxDragDomLeft; + } + + if (-(top) > minDragDomTop) { + top = -(minDragDomTop); + } else if (top > maxDragDomTop) { + top = maxDragDomTop; + } + + // 移动当前元素 + dragDom.style.cssText += `;left:${left + styL}px;top:${top + styT}px;`; + }; + + document.onmouseup = function (e) { + document.onmousemove = null; + document.onmouseup = null; + }; + } + } +}) diff --git a/src/components/common/flowPathMoudle.vue b/src/components/common/flowPathMoudle.vue new file mode 100644 index 0000000..9a1b527 --- /dev/null +++ b/src/components/common/flowPathMoudle.vue @@ -0,0 +1,1206 @@ + + + \ No newline at end of file diff --git a/src/components/common/global.js b/src/components/common/global.js new file mode 100644 index 0000000..e9f986b --- /dev/null +++ b/src/components/common/global.js @@ -0,0 +1,22 @@ +import Vue from 'vue' + +function capitalizeFirstLetter(string) { + return string.charAt(0).toUpperCase() + string.slice(1) +} + +const requireComponent = require.context( + '.', false, /\.vue$/ + //找到components文件夹下以.vue命名的文件 +) + +requireComponent.keys().forEach(fileName => { + const componentConfig = requireComponent(fileName) + + const componentName = capitalizeFirstLetter( + fileName.replace(/^\.\//, '').replace(/\.\w+$/, '') + //因为得到的filename格式是: './dataList.vue', 所以这里我们去掉头和尾,只保留真正的文件名 + ) + + Vue.component(componentName, componentConfig.default || componentConfig) + +}) diff --git a/src/components/common/guaranteeChart.vue b/src/components/common/guaranteeChart.vue new file mode 100644 index 0000000..baf1b87 --- /dev/null +++ b/src/components/common/guaranteeChart.vue @@ -0,0 +1,102 @@ + + + \ No newline at end of file diff --git a/src/components/common/guaranteeDepartment.vue b/src/components/common/guaranteeDepartment.vue new file mode 100644 index 0000000..490659a --- /dev/null +++ b/src/components/common/guaranteeDepartment.vue @@ -0,0 +1,2261 @@ + + + \ No newline at end of file diff --git a/src/components/common/guaranteeDesign.vue b/src/components/common/guaranteeDesign.vue new file mode 100644 index 0000000..c7160bf --- /dev/null +++ b/src/components/common/guaranteeDesign.vue @@ -0,0 +1,745 @@ +// 担保部调查的设计表单 + + + \ No newline at end of file diff --git a/src/components/common/homepageChart.vue b/src/components/common/homepageChart.vue new file mode 100644 index 0000000..fa272fe --- /dev/null +++ b/src/components/common/homepageChart.vue @@ -0,0 +1,88 @@ + + + \ No newline at end of file diff --git a/src/components/common/i18n.js b/src/components/common/i18n.js new file mode 100644 index 0000000..299d2da --- /dev/null +++ b/src/components/common/i18n.js @@ -0,0 +1,30 @@ +export const messages = { + 'zh': { + i18n: { + breadcrumb: '国际化产品', + tips: '通过切换语言按钮,来改变当前内容的语言。', + btn: '切换英文', + title1: '常用用法', + p1: '要是你把你的秘密告诉了风,那就别怪风把它带给树。', + p2: '没有什么比信念更能支撑我们度过艰难的时光了。', + p3: '只要能把自己的事做好,并让自己快乐,你就领先于大多数人了。', + title2: '组件插值', + info: 'Element组件需要国际化,请参考 {action}。', + value: '文档' + } + }, + 'en': { + i18n: { + breadcrumb: 'International Products', + tips: 'Click on the button to change the current language. ', + btn: 'Switch Chinese', + title1: 'Common usage', + p1: "If you reveal your secrets to the wind you should not blame the wind for revealing them to the trees.", + p2: "Nothing can help us endure dark times better than our faith. ", + p3: "If you can do what you do best and be happy, you're further along in life than most people.", + title2: 'Component interpolation', + info: 'The default language of Element is Chinese. If you wish to use another language, please refer to the {action}.', + value: 'documentation' + } + } +} \ No newline at end of file diff --git a/src/components/common/left-sidebar.vue b/src/components/common/left-sidebar.vue new file mode 100644 index 0000000..72712bd --- /dev/null +++ b/src/components/common/left-sidebar.vue @@ -0,0 +1,64 @@ + + + \ No newline at end of file diff --git a/src/components/common/letterDesign.vue b/src/components/common/letterDesign.vue new file mode 100644 index 0000000..d19c2fd --- /dev/null +++ b/src/components/common/letterDesign.vue @@ -0,0 +1,457 @@ +// 工作会的设计表单 + + + \ No newline at end of file diff --git a/src/components/common/loansDepartDesign.vue b/src/components/common/loansDepartDesign.vue new file mode 100644 index 0000000..d6f897d --- /dev/null +++ b/src/components/common/loansDepartDesign.vue @@ -0,0 +1,595 @@ +// 工作会的设计表单 + + + \ No newline at end of file diff --git a/src/components/common/loansDepartment.vue b/src/components/common/loansDepartment.vue new file mode 100644 index 0000000..5be1f89 --- /dev/null +++ b/src/components/common/loansDepartment.vue @@ -0,0 +1,1097 @@ + + + + \ No newline at end of file diff --git a/src/components/common/messageDepartment.vue b/src/components/common/messageDepartment.vue new file mode 100644 index 0000000..891750e --- /dev/null +++ b/src/components/common/messageDepartment.vue @@ -0,0 +1,1805 @@ + + + \ No newline at end of file diff --git a/src/components/common/messageDesign.vue b/src/components/common/messageDesign.vue new file mode 100644 index 0000000..e65746f --- /dev/null +++ b/src/components/common/messageDesign.vue @@ -0,0 +1,738 @@ +// 信息部调查的设计表单 + + + \ No newline at end of file diff --git a/src/components/common/newly_btn.vue b/src/components/common/newly_btn.vue new file mode 100644 index 0000000..9546dc9 --- /dev/null +++ b/src/components/common/newly_btn.vue @@ -0,0 +1,24 @@ +// 新增按钮,内部图片为蓝底白字加号 + + + \ No newline at end of file diff --git a/src/components/common/noticeDesign.vue b/src/components/common/noticeDesign.vue new file mode 100644 index 0000000..8671a33 --- /dev/null +++ b/src/components/common/noticeDesign.vue @@ -0,0 +1,418 @@ +// 财务确认的设计表单 + + + \ No newline at end of file diff --git a/src/components/common/paymentDesign.vue b/src/components/common/paymentDesign.vue new file mode 100644 index 0000000..1aaee4d --- /dev/null +++ b/src/components/common/paymentDesign.vue @@ -0,0 +1,431 @@ +// 财务确认的设计表单 + + + \ No newline at end of file diff --git a/src/components/common/pdf.vue b/src/components/common/pdf.vue new file mode 100644 index 0000000..fa78b74 --- /dev/null +++ b/src/components/common/pdf.vue @@ -0,0 +1,104 @@ + + + \ No newline at end of file diff --git a/src/components/common/processTemp.vue b/src/components/common/processTemp.vue new file mode 100644 index 0000000..20e1385 --- /dev/null +++ b/src/components/common/processTemp.vue @@ -0,0 +1,213 @@ + + + + + diff --git a/src/components/common/propertyDepartment.vue b/src/components/common/propertyDepartment.vue new file mode 100644 index 0000000..903705b --- /dev/null +++ b/src/components/common/propertyDepartment.vue @@ -0,0 +1,1435 @@ + + + \ No newline at end of file diff --git a/src/components/common/statisticsMoudle.vue b/src/components/common/statisticsMoudle.vue new file mode 100644 index 0000000..7343853 --- /dev/null +++ b/src/components/common/statisticsMoudle.vue @@ -0,0 +1,524 @@ + + + \ No newline at end of file diff --git a/src/components/common/sure_btn.vue b/src/components/common/sure_btn.vue new file mode 100644 index 0000000..fa5ca85 --- /dev/null +++ b/src/components/common/sure_btn.vue @@ -0,0 +1,19 @@ +// 弹框很多,统一了一下确定按钮 +// + + + \ No newline at end of file diff --git a/src/components/common/system-management.vue b/src/components/common/system-management.vue new file mode 100644 index 0000000..60eff8e --- /dev/null +++ b/src/components/common/system-management.vue @@ -0,0 +1,86 @@ + + + + diff --git a/src/components/common/systemLog.vue b/src/components/common/systemLog.vue new file mode 100644 index 0000000..f4be55f --- /dev/null +++ b/src/components/common/systemLog.vue @@ -0,0 +1,118 @@ + + + diff --git a/src/components/common/systemTree.vue b/src/components/common/systemTree.vue new file mode 100644 index 0000000..825ff5d --- /dev/null +++ b/src/components/common/systemTree.vue @@ -0,0 +1,197 @@ + + + \ No newline at end of file diff --git a/src/components/common/top_sidebar.vue b/src/components/common/top_sidebar.vue new file mode 100644 index 0000000..910bed9 --- /dev/null +++ b/src/components/common/top_sidebar.vue @@ -0,0 +1,63 @@ +// 工作台担保的顶部选项栏 + + + \ No newline at end of file diff --git a/src/components/common/tree.vue b/src/components/common/tree.vue new file mode 100644 index 0000000..b4321b0 --- /dev/null +++ b/src/components/common/tree.vue @@ -0,0 +1,213 @@ + + + + + \ No newline at end of file diff --git a/src/components/common/treeSelect.vue b/src/components/common/treeSelect.vue new file mode 100644 index 0000000..4e61582 --- /dev/null +++ b/src/components/common/treeSelect.vue @@ -0,0 +1,341 @@ +// element树结构选择+搜索功能 +// data树数据,column竖向排序否,传值父级事件getNodeArr + + + \ No newline at end of file diff --git a/src/components/common/workDepartment.vue b/src/components/common/workDepartment.vue new file mode 100644 index 0000000..8b96ec9 --- /dev/null +++ b/src/components/common/workDepartment.vue @@ -0,0 +1,1230 @@ + + + \ No newline at end of file diff --git a/src/components/common/workDesign.vue b/src/components/common/workDesign.vue new file mode 100644 index 0000000..4d0336b --- /dev/null +++ b/src/components/common/workDesign.vue @@ -0,0 +1,601 @@ +// 工作会的设计表单 + + + \ No newline at end of file diff --git a/src/components/page/404.vue b/src/components/page/404.vue new file mode 100644 index 0000000..21a2d57 --- /dev/null +++ b/src/components/page/404.vue @@ -0,0 +1,110 @@ + + + \ No newline at end of file diff --git a/src/components/page/AddCustomer.vue b/src/components/page/AddCustomer.vue new file mode 100644 index 0000000..8e79091 --- /dev/null +++ b/src/components/page/AddCustomer.vue @@ -0,0 +1,1092 @@ +// 新增客户信息 + + + \ No newline at end of file diff --git a/src/components/page/afterLoan.vue b/src/components/page/afterLoan.vue new file mode 100644 index 0000000..1209df5 --- /dev/null +++ b/src/components/page/afterLoan.vue @@ -0,0 +1,176 @@ + + + \ No newline at end of file