@ebuilding/abc 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +0 -0
- package/README.md +0 -0
- package/button/index.d.ts +1 -0
- package/button/src/default/index.d.ts +15 -0
- package/button/src/index.module.d.ts +9 -0
- package/button/src/inner/index.d.ts +10 -0
- package/button/src/main/index.d.ts +16 -0
- package/button/src/public_api.d.ts +4 -0
- package/card/index.d.ts +1 -0
- package/card/src/card.service.d.ts +19 -0
- package/card/src/column-default/index.d.ts +22 -0
- package/card/src/column-img/index.d.ts +22 -0
- package/card/src/column-img1/index.d.ts +13 -0
- package/card/src/column-img2/index.d.ts +13 -0
- package/card/src/column-img3/index.d.ts +13 -0
- package/card/src/default/index.d.ts +45 -0
- package/card/src/design/index.d.ts +10 -0
- package/card/src/design-text/index.d.ts +10 -0
- package/card/src/index.module.d.ts +11 -0
- package/card/src/item-group/index.d.ts +16 -0
- package/card/src/item-text/index.d.ts +15 -0
- package/card/src/item.service.d.ts +20 -0
- package/card/src/public_api.d.ts +6 -0
- package/card-assess/index.d.ts +1 -0
- package/card-assess/src/default/index.d.ts +19 -0
- package/card-assess/src/index.module.d.ts +7 -0
- package/card-assess/src/public_api.d.ts +2 -0
- package/card-emp/index.d.ts +1 -0
- package/card-emp/src/default/index.d.ts +10 -0
- package/card-emp/src/emp-okr/index.d.ts +12 -0
- package/card-emp/src/index.module.d.ts +8 -0
- package/card-emp/src/public_api.d.ts +3 -0
- package/card-list/index.d.ts +1 -0
- package/card-list/src/default/index.d.ts +14 -0
- package/card-list/src/index.module.d.ts +7 -0
- package/card-list/src/public_api.d.ts +2 -0
- package/card-okr/index.d.ts +1 -0
- package/card-okr/src/default/index.d.ts +22 -0
- package/card-okr/src/index.module.d.ts +17 -0
- package/card-okr/src/kpi-stats1/index.d.ts +15 -0
- package/card-okr/src/kpi-stats2/index.d.ts +14 -0
- package/card-okr/src/kpi-stats3/index.d.ts +16 -0
- package/card-okr/src/objective/index.d.ts +14 -0
- package/card-okr/src/objective-dl/index.d.ts +16 -0
- package/card-okr/src/objective-dx/index.d.ts +16 -0
- package/card-okr/src/public_api.d.ts +11 -0
- package/card-okr/src/stats-default/index.d.ts +14 -0
- package/card-okr/src/stats-objective/index.d.ts +14 -0
- package/card-okr/src/stats-progress/index.d.ts +12 -0
- package/card-plan-kpi/index.d.ts +1 -0
- package/card-plan-kpi/src/default/index.d.ts +22 -0
- package/card-plan-kpi/src/index.module.d.ts +7 -0
- package/card-plan-kpi/src/public_api.d.ts +2 -0
- package/card-result/index.d.ts +1 -0
- package/card-result/src/default/index.d.ts +45 -0
- package/card-result/src/index.module.d.ts +8 -0
- package/card-result/src/public_api.d.ts +2 -0
- package/card-score/index.d.ts +1 -0
- package/card-score/src/default/index.d.ts +9 -0
- package/card-score/src/index.module.d.ts +8 -0
- package/card-score/src/public_api.d.ts +2 -0
- package/card-user/index.d.ts +1 -0
- package/card-user/src/default/index.d.ts +11 -0
- package/card-user/src/index.module.d.ts +7 -0
- package/card-user/src/public_api.d.ts +2 -0
- package/card2/index.d.ts +1 -0
- package/card2/src/default/index.d.ts +90 -0
- package/card2/src/index.module.d.ts +7 -0
- package/card2/src/public_api.d.ts +2 -0
- package/codemirror/index.d.ts +1 -0
- package/codemirror/src/default/index.d.ts +10 -0
- package/codemirror/src/index.module.d.ts +7 -0
- package/codemirror/src/public_api.d.ts +5 -0
- package/collect/index.d.ts +1 -0
- package/collect/src/default/index.d.ts +11 -0
- package/collect/src/index.module.d.ts +7 -0
- package/collect/src/public_api.d.ts +2 -0
- package/developing/index.d.ts +1 -0
- package/developing/src/default/index.d.ts +8 -0
- package/developing/src/index.module.d.ts +10 -0
- package/developing/src/public_api.d.ts +2 -0
- package/empty/index.d.ts +1 -0
- package/empty/src/default/index.d.ts +13 -0
- package/empty/src/index.module.d.ts +7 -0
- package/empty/src/public_api.d.ts +2 -0
- package/fesm2022/codemirror.mjs +806 -0
- package/fesm2022/codemirror.mjs.map +1 -0
- package/fesm2022/components.button.mjs +121 -0
- package/fesm2022/components.button.mjs.map +1 -0
- package/fesm2022/components.card-assess.mjs +68 -0
- package/fesm2022/components.card-assess.mjs.map +1 -0
- package/fesm2022/components.card-emp.mjs +65 -0
- package/fesm2022/components.card-emp.mjs.map +1 -0
- package/fesm2022/components.card-list.mjs +53 -0
- package/fesm2022/components.card-list.mjs.map +1 -0
- package/fesm2022/components.card-okr.mjs +370 -0
- package/fesm2022/components.card-okr.mjs.map +1 -0
- package/fesm2022/components.card-plan-kpi.mjs +68 -0
- package/fesm2022/components.card-plan-kpi.mjs.map +1 -0
- package/fesm2022/components.card-result.mjs +137 -0
- package/fesm2022/components.card-result.mjs.map +1 -0
- package/fesm2022/components.card-score.mjs +47 -0
- package/fesm2022/components.card-score.mjs.map +1 -0
- package/fesm2022/components.card-user.mjs +56 -0
- package/fesm2022/components.card-user.mjs.map +1 -0
- package/fesm2022/components.card.mjs +670 -0
- package/fesm2022/components.card.mjs.map +1 -0
- package/fesm2022/components.card2.mjs +463 -0
- package/fesm2022/components.card2.mjs.map +1 -0
- package/fesm2022/components.collect.mjs +57 -0
- package/fesm2022/components.collect.mjs.map +1 -0
- package/fesm2022/components.developing.mjs +38 -0
- package/fesm2022/components.developing.mjs.map +1 -0
- package/fesm2022/components.empty.mjs +54 -0
- package/fesm2022/components.empty.mjs.map +1 -0
- package/fesm2022/components.flow-button.mjs +89 -0
- package/fesm2022/components.flow-button.mjs.map +1 -0
- package/fesm2022/components.header-user.mjs +261 -0
- package/fesm2022/components.header-user.mjs.map +1 -0
- package/fesm2022/components.header.mjs +81 -0
- package/fesm2022/components.header.mjs.map +1 -0
- package/fesm2022/components.line.mjs +44 -0
- package/fesm2022/components.line.mjs.map +1 -0
- package/fesm2022/components.no-role.mjs +37 -0
- package/fesm2022/components.no-role.mjs.map +1 -0
- package/fesm2022/components.nz-table-tree.mjs +407 -0
- package/fesm2022/components.nz-table-tree.mjs.map +1 -0
- package/fesm2022/components.nz-table.mjs +463 -0
- package/fesm2022/components.nz-table.mjs.map +1 -0
- package/fesm2022/components.plan-item.mjs +249 -0
- package/fesm2022/components.plan-item.mjs.map +1 -0
- package/fesm2022/components.principal.mjs +59 -0
- package/fesm2022/components.principal.mjs.map +1 -0
- package/fesm2022/components.python.mjs +140 -0
- package/fesm2022/components.python.mjs.map +1 -0
- package/fesm2022/components.quick.mjs +158 -0
- package/fesm2022/components.quick.mjs.map +1 -0
- package/fesm2022/components.record.mjs +106 -0
- package/fesm2022/components.record.mjs.map +1 -0
- package/fesm2022/components.step-entry.mjs +50 -0
- package/fesm2022/components.step-entry.mjs.map +1 -0
- package/fesm2022/components.target-value.mjs +83 -0
- package/fesm2022/components.target-value.mjs.map +1 -0
- package/fesm2022/components.text.mjs +444 -0
- package/fesm2022/components.text.mjs.map +1 -0
- package/fesm2022/components.tree.mjs +203 -0
- package/fesm2022/components.tree.mjs.map +1 -0
- package/fesm2022/ebuilding-abc.mjs +121 -0
- package/fesm2022/ebuilding-abc.mjs.map +1 -0
- package/flow-button/index.d.ts +1 -0
- package/flow-button/src/default/index.d.ts +14 -0
- package/flow-button/src/index.module.d.ts +7 -0
- package/flow-button/src/public_api.d.ts +2 -0
- package/header/index.d.ts +1 -0
- package/header/src/default/index.d.ts +16 -0
- package/header/src/index.module.d.ts +10 -0
- package/header/src/public_api.d.ts +2 -0
- package/header-user/index.d.ts +1 -0
- package/header-user/src/default/index.d.ts +57 -0
- package/header-user/src/index.module.d.ts +7 -0
- package/header-user/src/public_api.d.ts +2 -0
- package/index.d.ts +1 -0
- package/line/index.d.ts +1 -0
- package/line/src/default/index.d.ts +9 -0
- package/line/src/index.module.d.ts +10 -0
- package/line/src/public_api.d.ts +2 -0
- package/no-role/index.d.ts +1 -0
- package/no-role/src/default/index.d.ts +9 -0
- package/no-role/src/index.module.d.ts +8 -0
- package/no-role/src/public_api.d.ts +2 -0
- package/nz-table/index.d.ts +1 -0
- package/nz-table/src/default/index.d.ts +90 -0
- package/nz-table/src/index.module.d.ts +7 -0
- package/nz-table/src/public_api.d.ts +2 -0
- package/nz-table-tree/index.d.ts +1 -0
- package/nz-table-tree/src/default/index.d.ts +98 -0
- package/nz-table-tree/src/index.module.d.ts +8 -0
- package/nz-table-tree/src/operation/index.d.ts +12 -0
- package/nz-table-tree/src/public_api.d.ts +2 -0
- package/package.json +144 -0
- package/plan-item/index.d.ts +1 -0
- package/plan-item/src/default/index.d.ts +45 -0
- package/plan-item/src/index.module.d.ts +7 -0
- package/plan-item/src/public_api.d.ts +2 -0
- package/principal/index.d.ts +1 -0
- package/principal/src/default/index.d.ts +15 -0
- package/principal/src/index.module.d.ts +7 -0
- package/principal/src/public_api.d.ts +2 -0
- package/python/index.d.ts +1 -0
- package/python/src/default/index.d.ts +8 -0
- package/python/src/index.module.d.ts +8 -0
- package/python/src/public_api.d.ts +2 -0
- package/quick/index.d.ts +1 -0
- package/quick/src/datetime/index.d.ts +12 -0
- package/quick/src/default/index.d.ts +14 -0
- package/quick/src/index.module.d.ts +10 -0
- package/quick/src/public_api.d.ts +2 -0
- package/record/index.d.ts +1 -0
- package/record/src/default/index.d.ts +12 -0
- package/record/src/index.module.d.ts +8 -0
- package/record/src/main/index.d.ts +12 -0
- package/record/src/public_api.d.ts +3 -0
- package/step-entry/index.d.ts +1 -0
- package/step-entry/src/default/index.d.ts +12 -0
- package/step-entry/src/index.module.d.ts +9 -0
- package/step-entry/src/public_api.d.ts +2 -0
- package/target-value/index.d.ts +1 -0
- package/target-value/src/default/index.d.ts +17 -0
- package/target-value/src/index.module.d.ts +8 -0
- package/target-value/src/public_api.d.ts +2 -0
- package/text/index.d.ts +1 -0
- package/text/src/default/index.d.ts +25 -0
- package/text/src/index.module.d.ts +9 -0
- package/text/src/public_api.d.ts +2 -0
- package/text/src/text.service.d.ts +57 -0
- package/tree/index.d.ts +1 -0
- package/tree/src/default/index.d.ts +39 -0
- package/tree/src/index.module.d.ts +9 -0
- package/tree/src/public_api.d.ts +2 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components.card-okr.mjs","sources":["../../../../packages/abc/card-okr/src/default/index.ts","../../../../packages/abc/card-okr/src/default/index.html","../../../../packages/abc/card-okr/src/objective-dl/index.ts","../../../../packages/abc/card-okr/src/objective-dl/index.html","../../../../packages/abc/card-okr/src/objective-dx/index.ts","../../../../packages/abc/card-okr/src/objective-dx/index.html","../../../../packages/abc/card-okr/src/objective/index.ts","../../../../packages/abc/card-okr/src/objective/index.html","../../../../packages/abc/card-okr/src/stats-default/index.ts","../../../../packages/abc/card-okr/src/stats-default/index.html","../../../../packages/abc/card-okr/src/stats-objective/index.ts","../../../../packages/abc/card-okr/src/stats-objective/index.html","../../../../packages/abc/card-okr/src/stats-progress/index.ts","../../../../packages/abc/card-okr/src/stats-progress/index.html","../../../../packages/abc/card-okr/src/kpi-stats1/index.ts","../../../../packages/abc/card-okr/src/kpi-stats1/index.html","../../../../packages/abc/card-okr/src/kpi-stats2/index.ts","../../../../packages/abc/card-okr/src/kpi-stats2/index.html","../../../../packages/abc/card-okr/src/kpi-stats3/index.ts","../../../../packages/abc/card-okr/src/kpi-stats3/index.html","../../../../packages/abc/card-okr/src/index.module.ts","../../../../packages/abc/card-okr/components.card-okr.ts"],"sourcesContent":["import { Component, Input, Output, EventEmitter, OnInit, AfterViewInit, OnChanges } from '@angular/core';\n\nimport { CommonModule } from '@angular/common';\nimport { GramPipeModule } from \"@ebuilding/base/shared.pipe\";\n\n@Component({\n selector: 'card-okr',\n templateUrl: './index.html',\n styleUrls: ['./index.less'],\n imports: [\n CommonModule,\n GramPipeModule\n ]\n})\nexport class GramDeonCardOKRComponent implements OnInit, AfterViewInit, OnChanges {\n /**\n * 主键Key\n */\n @Input() primary_key: string = '';\n\n /**\n * 数据\n */\n @Input() data: any = {};\n\n /**\n * 点击事件\n */\n @Output() componentEvent: EventEmitter<any> = new EventEmitter();\n\n ngOnInit(): void { }\n\n ngAfterViewInit() { }\n\n ngOnChanges(change: any) { }\n\n titleClick() {\n let emitData: any = {\n rowCode: this.data[this.primary_key],\n rowData: this.data,\n columnKey: 'id',\n };\n this.componentEvent.emit(emitData);\n }\n}\n","<div class=\"info-box\">\n <div class=\"left-box\">\n <div class=\"first\">\n <ul (click)=\"titleClick()\">\n <li class=\"title\"><a>{{data?.name}}</a></li>\n <li class=\"type\">季度</li>\n <li class=\"state\" [ngClass]=\"'state_' + data?.state\"><label>{{data?.state | state}}</label></li>\n </ul>\n </div>\n </div>\n <div class=\"right-box\"></div>\n</div>\n<div class=\"operation-box\">\n <div class=\"left-box\">\n <ul>\n <li><label>年度:</label>{{data?.yearInfo?.name}}</li>\n <li><label>周期:</label>{{data?.startDate | date:\"yyyy-MM-dd\" }} ~ {{data?.endDate | date:\"yyyy-MM-dd\" }}</li>\n <li><label>创建日期:</label>{{data?.createDate | date:\"yyyy-MM-dd\" }}</li>\n <li><label>创建人:</label>{{data?.createEmpInfo?.name}}</li>\n </ul>\n </div>\n <div class=\"right-box\">\n <ul>\n <li><ng-content></ng-content></li>\n </ul>\n </div>\n</div>\n","import { Component, Input, Output, EventEmitter, OnInit, ChangeDetectionStrategy } from '@angular/core';\n\nimport { CommonModule } from '@angular/common';\nimport { NzTagModule } from 'ng-zorro-antd/tag';\nimport { NzProgressModule } from 'ng-zorro-antd/progress';\nimport { GramPipeModule } from \"@ebuilding/base/shared.pipe\";\n\n@Component({\n selector: 'okr-objective-dl',\n templateUrl: './index.html',\n styleUrls: ['./index.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n CommonModule,\n NzTagModule,\n NzProgressModule,\n GramPipeModule\n ]\n})\nexport class GramOkrObjectiveDLComponent implements OnInit {\n @Input() data: any = null;\n @Input() dataType: any = null;\n\n @Output() itemClick: EventEmitter<any> = new EventEmitter();\n\n constructor() { }\n\n ngOnInit() { }\n\n ngAfterViewInit() { }\n\n ngOnChanges(change: any) { }\n\n btnNameClick() {\n this.itemClick.emit({\n type: 'name',\n });\n }\n\n followClick() { }\n\n adjustClick() { }\n}\n","<div class=\"first\">\n <div class=\"left-box\">\n <ng-container [ngSwitch]=\"data.category\">\n <ng-container *ngSwitchCase=\"'STR'\">\n <nz-tag [nzColor]=\"'#3554d1'\">战略</nz-tag>\n </ng-container>\n <ng-container *ngSwitchCase=\"'TEAM'\">\n <nz-tag [nzColor]=\"'#8C94FC'\">团队</nz-tag>\n </ng-container>\n <ng-container *ngSwitchCase=\"'SELF'\">\n <nz-tag [nzColor]=\"'#B7A0FC'\">个人</nz-tag>\n </ng-container>\n <ng-container *ngSwitchDefault> </ng-container>\n </ng-container>\n <nz-tag [nzColor]=\"'#FB8E8C'\">定量</nz-tag>\n\n <a class=\"name\" (click)=\"btnNameClick()\">{{data?.name}}</a>\n <!-- <a class=\"planName\">{{data?.planInfo?.name}}</a> -->\n </div>\n <div class=\"right-box\">\n <ul>\n <ng-container *ngIf=\"dataType=='STR' || dataType=='TEAM'\">\n <li class=\"a-teamNum\">团队目标 [ {{data.teamCnt}} ]</li>\n <li class=\"a-selNum\">个人目标 [ {{data?.selfCnt}} ]</li>\n </ng-container>\n <ng-container *ngIf=\"dataType=='SELF'\">\n <li class=\"a-taskNum\">工作任务 [ {{data?.taskCnt}} ]</li>\n <li class=\"a-keyNum\">关键结果 [ {{data?.keyResultCnt}} ]</li>\n </ng-container>\n <li class=\"operation\">\n <ng-content></ng-content>\n </li>\n </ul>\n </div>\n</div>\n<div class=\"second\" *ngIf=\"dataType=='STR' || dataType=='TEAM'\">\n <ul>\n <li class=\"team-value\">\n <div>\n <label>设置目标值</label>\n <label>{{data?.targetValue}}</label>\n <ng-container *ngIf=\"data?.unit\">\n <span class=\"okr-unit\">({{data?.unit | okr_unit}})</span>\n </ng-container>\n </div>\n <div>\n <label>分解目标值</label>\n <label>{{data?.breakValue}}</label>\n <ng-container *ngIf=\"data?.unit\">\n <span class=\"okr-unit\">({{data?.unit | okr_unit}})</span>\n </ng-container>\n </div>\n </li>\n <li>\n <label>分解率</label>\n <nz-progress nzStrokeLinecap=\"round\" nzType=\"circle\" [nzPercent]=\"data.breakRate\" [nzWidth]=\"40\"></nz-progress>\n </li>\n <li>\n <label>完成率</label>\n <nz-progress nzStrokeLinecap=\"round\" nzType=\"circle\" [nzPercent]=\"data.finishRate\" [nzWidth]=\"40\"></nz-progress>\n </li>\n <li>\n <label>当前完成值</label>\n <label>{{data?.finishValue}}</label>\n <ng-container *ngIf=\"data?.unit\">\n <span class=\"okr-unit\">({{data?.unit | okr_unit}})</span>\n </ng-container>\n </li>\n <li>\n <label>挑战值</label>\n <label>{{data?.challengeValue}}</label>\n <ng-container *ngIf=\"data?.unit\">\n <span class=\"okr-unit\">({{data?.unit | okr_unit}})</span>\n </ng-container>\n </li>\n <li>\n <label>及格值</label>\n <label>{{data?.passValue}}</label>\n <ng-container *ngIf=\"data?.unit\">\n <span class=\"okr-unit\">({{data?.unit | okr_unit}})</span>\n </ng-container>\n </li>\n <li>\n <label>预警值</label>\n <label>{{data?.warnValue}}</label>\n <ng-container *ngIf=\"data?.unit\">\n <span class=\"okr-unit\">({{data?.unit | okr_unit}})</span>\n </ng-container>\n </li>\n <li class=\"li-empty\"></li>\n <li class=\"create-info\" *ngIf=\"dataType=='TEAM'\">\n <div>\n <label>目标负责人</label>\n <label>{{data?.empInfo?.name}}</label>\n </div>\n <div>\n <label>创建日期</label>\n <label>{{data?.createDate | moment: ['YYYY/MM/DD']}}</label>\n </div>\n </li>\n </ul>\n</div>\n<div class=\"second\" *ngIf=\"dataType=='SELF'\">\n <ul>\n <li>\n <label>设置目标值</label>\n <label>{{data?.targetValue}}</label>\n <ng-container *ngIf=\"data?.unit\">\n <span class=\"okr-unit\">({{data?.unit | okr_unit}})</span>\n </ng-container>\n </li>\n <li>\n <label>完成率</label>\n <nz-progress nzStrokeLinecap=\"round\" nzType=\"circle\" [nzPercent]=\"data.finishRate\" [nzWidth]=\"40\"></nz-progress>\n </li>\n <li>\n <label>当前完成值</label>\n <label>{{data?.finishValue}}</label>\n <ng-container *ngIf=\"data?.unit\">\n <span class=\"okr-unit\">({{data?.unit | okr_unit}})</span>\n </ng-container>\n </li>\n <li>\n <label>挑战值</label>\n <label>{{data?.challengeValue}}</label>\n <ng-container *ngIf=\"data?.unit\">\n <span class=\"okr-unit\">({{data?.unit | okr_unit}})</span>\n </ng-container>\n </li>\n <li>\n <label>及格值</label>\n <label>{{data?.passValue}}</label>\n <ng-container *ngIf=\"data?.unit\">\n <span class=\"okr-unit\">({{data?.unit | okr_unit}})</span>\n </ng-container>\n </li>\n <li>\n <label>预警值</label>\n <label>{{data?.warnValue}}</label>\n <ng-container *ngIf=\"data?.unit\">\n <span class=\"okr-unit\">({{data?.unit | okr_unit}})</span>\n </ng-container>\n </li>\n <li class=\"li-empty\"></li>\n <li class=\"create-info\">\n <div>\n <label>目标负责人</label>\n <label>{{data?.empInfo?.name}}</label>\n </div>\n <div>\n <label>创建日期</label>\n <label>{{data?.createDate | moment: ['YYYY/MM/DD']}}</label>\n </div>\n </li>\n </ul>\n</div>\n<div class=\"three\">\n <div class=\"left-box\">\n <ul>\n <li *ngFor=\"let item of data?.listFinishPeriod\">\n <label>{{item?.name}}</label>\n <label>{{item?.periodValue | empty:['--']}}</label>\n <ng-container *ngIf=\"data?.unit && item?.periodValue!=null\">\n <span class=\"okr-unit\">({{data?.unit | okr_unit}})</span>\n </ng-container>\n </li>\n </ul>\n </div>\n <div class=\"right-box\">\n <ul>\n <ng-container *ngIf=\"data?.writeType=='WORKFLOW'\">\n <li>\n <label>流程状态</label>\n <div class=\"flow\" [ngClass]=\"'flow_text_'+data?.workflowStatus\"\n [innerHtml]=\"data?.workflowStatus | flowState | safeHtml\">\n </div>\n </li>\n <li *ngIf=\"data?.nodeName\">\n <label>节点名称</label>\n <div class=\"nodeName\">\n {{data?.nodeName}}\n </div>\n </li>\n <li *ngIf=\"data?.nodeEmpName\">\n <label>审核人</label>\n <div class=\"nodeEmpName\">\n {{data?.nodeEmpName}}\n </div>\n </li>\n </ng-container>\n <ng-container *ngIf=\"dataType=='SELF'\">\n <li>\n <label>调整记录</label>\n <label>{{data?.adjustCnt}}</label>\n </li>\n <li *ngIf=\"data?.izFollow==true\">\n <label>跟进记录</label>\n <label>{{data?.followCnt}}</label>\n </li>\n </ng-container>\n </ul>\n </div>\n</div>","import { Component, Input, Output, EventEmitter, OnInit, AfterViewInit, OnChanges, ChangeDetectionStrategy } from '@angular/core';\n\nimport { CommonModule } from '@angular/common';\nimport { NzTagModule } from 'ng-zorro-antd/tag';\nimport { NzProgressModule } from 'ng-zorro-antd/progress';\nimport { GramPipeModule } from \"@ebuilding/base/shared.pipe\";\n\n@Component({\n selector: 'okr-objective-dx',\n templateUrl: './index.html',\n styleUrls: ['./index.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n CommonModule,\n NzTagModule,\n NzProgressModule,\n GramPipeModule\n ]\n})\nexport class GramOkrObjectiveDXComponent implements OnInit, AfterViewInit, OnChanges {\n @Input() data: any = null;\n @Input() dataType: any = null;\n\n @Output() itemClick: EventEmitter<any> = new EventEmitter();\n\n constructor() { }\n\n ngOnInit() { }\n\n ngAfterViewInit() { }\n\n ngOnChanges(change: any) { }\n\n btnNameClick() {\n this.itemClick.emit({\n type: 'name',\n });\n }\n\n followClick() { }\n\n adjustClick() { }\n}\n","<div class=\"first\">\n <div class=\"left-box\">\n <ng-container [ngSwitch]=\"data.category\">\n <ng-container *ngSwitchCase=\"'STR'\">\n <nz-tag [nzColor]=\"'#3554d1'\">战略</nz-tag>\n </ng-container>\n <ng-container *ngSwitchCase=\"'TEAM'\">\n <nz-tag [nzColor]=\"'#8C94FC'\">团队</nz-tag>\n </ng-container>\n <ng-container *ngSwitchCase=\"'SELF'\">\n <nz-tag [nzColor]=\"'#B7A0FC'\">个人</nz-tag>\n </ng-container>\n <ng-container *ngSwitchDefault> </ng-container>\n </ng-container>\n <nz-tag [nzColor]=\"'#F59C65'\">定性</nz-tag>\n\n <a class=\"name\" (click)=\"btnNameClick()\">{{data?.name}}</a>\n <!-- <a class=\"planName\">{{data?.planInfo?.name}}</a> -->\n </div>\n <div class=\"right-box\">\n <ul>\n <ng-container *ngIf=\"dataType=='STR' || dataType=='TEAM'\">\n <li class=\"a-teamNum\">团队目标 [ {{data?.teamCnt}} ]</li>\n <li class=\"a-selNum\">个人目标 [ {{data?.selfCnt}} ]</li>\n </ng-container>\n <ng-container *ngIf=\"dataType=='SELF'\">\n <li class=\"a-taskNum\">工作任务 [ {{data?.taskCnt}} ]</li>\n <li class=\"a-keyNum\">关键结果 [ {{data?.keyResultCnt}} ]</li>\n </ng-container>\n <li class=\"operation\">\n <ng-content></ng-content>\n </li>\n </ul>\n </div>\n</div>\n<div class=\"second\" *ngIf=\"dataType=='STR' || dataType=='TEAM'\">\n <ul>\n <li>\n <label>当前完成度</label>\n <nz-progress nzStrokeLinecap=\"round\" nzType=\"circle\" [nzPercent]=\"data.finishRate\" [nzWidth]=\"40\"></nz-progress>\n </li>\n <li class=\"li-empty\"></li>\n <li class=\"create-info\" *ngIf=\"dataType=='TEAM'\">\n <div>\n <label>目标负责人</label>\n <label>{{data?.empInfo?.name}}</label>\n </div>\n <div>\n <label>创建日期</label>\n <label>{{data?.createDate | moment: ['YYYY/MM/DD']}}</label>\n </div>\n </li>\n </ul>\n</div>\n<div class=\"second\" *ngIf=\"dataType=='SELF'\">\n <ul>\n <li>\n <label>当前完成度</label>\n <nz-progress nzStrokeLinecap=\"round\" nzType=\"circle\" [nzPercent]=\"data.finishValue\" [nzWidth]=\"40\"></nz-progress>\n </li>\n <li class=\"li-empty\"></li>\n <li class=\"create-info\">\n <div>\n <label>目标负责人</label>\n <label>{{data?.empInfo?.name}}</label>\n </div>\n <div>\n <label>创建日期</label>\n <label>{{data?.createDate | moment: ['YYYY/MM/DD']}}</label>\n </div>\n </li>\n </ul>\n</div>\n<div class=\"three\">\n <div class=\"left-box\">\n <ul>\n <li *ngFor=\"let item of data?.listFinishPeriod\">\n <label>{{item?.name}}</label>\n <ng-container\n *ngIf=\"item.periodValue!=undefined && item.periodValue!=null && item.periodValue!='';else tmpPeriod\">\n <label>{{item?.periodValue}}%</label>\n </ng-container>\n <ng-template #tmpPeriod>\n <label>--</label>\n </ng-template>\n </li>\n </ul>\n </div>\n <div class=\"right-box\">\n <ul>\n <ng-container *ngIf=\"data?.writeType=='WORKFLOW'\">\n <li>\n <label>流程状态</label>\n <div class=\"flow\" [ngClass]=\"'flow_text_'+data?.workflowStatus\"\n [innerHtml]=\"data?.workflowStatus | flowState | safeHtml\">\n </div>\n </li>\n <li *ngIf=\"data?.nodeName\">\n <label>节点名称</label>\n <div class=\"nodeName\">\n {{data?.nodeName}}\n </div>\n </li>\n <li *ngIf=\"data?.nodeEmpName\">\n <label>审核人</label>\n <div class=\"nodeEmpName\">\n {{data?.nodeEmpName}}\n </div>\n </li>\n </ng-container>\n <ng-container *ngIf=\"dataType=='SELF'\">\n <li>\n <label>调整记录</label>\n <label>{{data?.adjustCnt}}</label>\n </li>\n <li *ngIf=\"data?.izFollow==true\">\n <label>跟进记录</label>\n <label>{{data?.followCnt}}</label>\n </li>\n </ng-container>\n </ul>\n </div>\n</div>","import { Component, Input, Output, EventEmitter, OnInit, AfterViewInit, OnChanges } from '@angular/core';\nimport { CommonModule } from \"@angular/common\";\nimport { _HttpClient } from '@delon/theme';\nimport { GramOkrObjectiveDLComponent } from \"../objective-dl\";\nimport { GramOkrObjectiveDXComponent } from \"../objective-dx\";\n\n@Component({\n selector: 'okr-objective',\n templateUrl: './index.html',\n styleUrls: ['./index.less'],\n imports: [\n CommonModule,\n GramOkrObjectiveDLComponent,\n GramOkrObjectiveDXComponent\n ]\n})\nexport class GramOkrObjectiveComponent implements OnInit, AfterViewInit, OnChanges {\n @Input() data: any = null;\n @Input() dataType: any = null;\n\n @Output() itemClick: EventEmitter<any> = new EventEmitter();\n\n constructor() { }\n\n ngOnInit(): void { }\n\n ngAfterViewInit() { }\n\n ngOnChanges(change: any) { }\n\n btnItemClick(e: any) {\n this.itemClick.emit(e);\n }\n}\n","<ng-container *ngIf=\"data!!\">\n <ng-container *ngIf=\"data.type=='DL';else tmpDX\">\n <okr-objective-dl [data]=\"data\" [dataType]=\"dataType\" (itemClick)=\"btnItemClick($event)\">\n <ng-content select=\"[name=dl-box]\"></ng-content>\n </okr-objective-dl>\n </ng-container>\n <ng-template #tmpDX>\n <okr-objective-dx [data]=\"data\" [dataType]=\"dataType\" (itemClick)=\"btnItemClick($event)\">\n <ng-content select=\"[name=dx-box]\"></ng-content>\n </okr-objective-dx>\n </ng-template>\n</ng-container>\n","import { Component, Input, OnInit, AfterViewInit, OnChanges } from '@angular/core';\nimport { CommonModule } from \"@angular/common\";\nimport { _HttpClient } from '@delon/theme';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\n\n@Component({\n selector: 'okr-stats-default',\n templateUrl: './index.html',\n styleUrls: ['./index.less'],\n imports: [\n CommonModule,\n NzIconModule\n ]\n})\nexport class GramOkrStatsDefaultComponent implements OnInit, AfterViewInit, OnChanges {\n @Input() name: any = null;\n @Input() data: any = null;\n @Input() unit: any = null;\n @Input() icon: any = 'line-chart';\n\n constructor() { }\n\n ngOnInit(): void { }\n\n ngAfterViewInit() { }\n\n ngOnChanges(change: any) { }\n}\n","<div class=\"title\"><span nz-icon [nzType]=\"icon\"></span>{{name}}</div>\n<div class=\"value\">\n <label class=\"data\">{{data!=undefined && data!=null && data!=''?data:0}}</label>\n <label class=\"unit\" *ngIf=\"unit!!\">({{unit}})</label>\n</div>\n","import { Component, Input, OnInit, AfterViewInit, OnChanges } from '@angular/core';\nimport { CommonModule } from \"@angular/common\";\nimport { _HttpClient } from '@delon/theme';\n@Component({\n selector: 'okr-stats-obj',\n templateUrl: './index.html',\n styleUrls: ['./index.less'],\n imports: [\n CommonModule\n ]\n})\nexport class GramOkrStatsObjComponent implements OnInit, AfterViewInit, OnChanges {\n @Input() name: any = null;\n @Input() dx: any = null;\n @Input() dl: any = null;\n @Input() unit: any = null;\n\n constructor() { }\n\n ngOnInit(): void { }\n\n ngAfterViewInit() { }\n\n ngOnChanges(change: any) { }\n}\n","<div class=\"title\"><span nz-icon nzType=\"line-chart\"></span>{{name}}</div>\n<div class=\"value\">\n <div>\n <label class=\"type\">定量</label>\n <label class=\"cnt\">{{dl}}</label>\n <label class=\"unit\" *ngIf=\"unit!!\">({{unit}})</label>\n </div>\n <div>\n <label class=\"type\">定性</label>\n <label class=\"cnt\">{{dx}}</label>\n <label class=\"unit\" *ngIf=\"unit!!\">({{unit}})</label>\n </div>\n</div>","import { Component, Input, OnInit, AfterViewInit, OnChanges } from '@angular/core';\nimport { _HttpClient } from '@delon/theme';\nimport { NzProgressModule } from 'ng-zorro-antd/progress';\n\n@Component({\n selector: 'okr-stats-progress',\n templateUrl: './index.html',\n styleUrls: ['./index.less'],\n imports: [\n NzProgressModule\n ]\n})\nexport class GramOkrStatsProgressComponent implements OnInit, AfterViewInit, OnChanges {\n @Input() name: any = null;\n @Input() data: any = null;\n\n constructor() { }\n\n ngOnInit(): void { }\n\n ngAfterViewInit() { }\n\n ngOnChanges(change: any) { }\n}\n","<div class=\"title\"><span nz-icon nzType=\"line-chart\"></span>{{name}}</div>\n<div class=\"value\">\n <nz-progress [nzPercent]=\"data\"></nz-progress>\n</div>\n","import { Component, Input, OnInit, AfterViewInit, OnChanges } from '@angular/core';\n\nimport { CommonModule } from '@angular/common';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\nimport { _HttpClient } from '@delon/theme';\n@Component({\n selector: 'kpi-stats1',\n templateUrl: './index.html',\n styleUrls: ['./index.less'],\n imports: [\n CommonModule,\n NzIconModule\n ]\n})\nexport class GramKpiStats1Component implements OnInit, AfterViewInit, OnChanges {\n @Input() name: any = null;\n @Input() data1: any = null;\n @Input() data2: any = null;\n @Input() data3: any = null;\n @Input() icon: any = 'line-chart';\n\n constructor() { }\n\n ngOnInit(): void { }\n\n ngAfterViewInit() { }\n\n ngOnChanges(change: any) { }\n}\n","<div class=\"title\"><span nz-icon [nzType]=\"icon\"></span>{{name}}</div>\n<div class=\"value\">\n <ul>\n <li>\n <div class=\"data\">{{data1!=undefined && data1!=null && data1!=''?data1:0}}</div>\n <div>未完成</div>\n </li>\n <li>\n <div class=\"data\">{{data2!=undefined && data2!=null && data2!=''?data2:0}}</div>\n <div>审核中</div>\n </li>\n <li class=\"finish\">\n <div class=\"data\">{{data3!=undefined && data3!=null && data3!=''?data3:0}}</div>\n <div>已完成</div>\n </li>\n </ul>\n</div>\n","import { Component, Input, OnInit, AfterViewInit, OnChanges } from '@angular/core';\n\nimport { CommonModule } from '@angular/common';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\nimport { _HttpClient } from '@delon/theme';\n@Component({\n selector: 'kpi-stats2',\n templateUrl: './index.html',\n styleUrls: ['./index.less'],\n imports: [\n CommonModule,\n NzIconModule\n ]\n})\nexport class GramKpiStats2Component implements OnInit, AfterViewInit, OnChanges {\n @Input() name: any = null;\n @Input() data1: any = null;\n @Input() data2: any = null;\n @Input() icon: any = 'line-chart';\n\n constructor() { }\n\n ngOnInit(): void { }\n\n ngAfterViewInit() { }\n\n ngOnChanges(change: any) { }\n}\n","<div class=\"title\"><span nz-icon [nzType]=\"icon\"></span>{{name}}</div>\n<div class=\"value\">\n <ul>\n <li>\n <div class=\"data\">{{data1!=undefined && data1!=null && data1!=''?data1:0}}</div>\n <div>审核中</div>\n </li>\n <li class=\"finish\">\n <div class=\"data\">{{data2!=undefined && data2!=null && data2!=''?data2:0}}</div>\n <div>已完成</div>\n </li>\n </ul>\n</div>\n","import { Component, Input, OnInit, AfterViewInit, OnChanges } from '@angular/core';\n\nimport { CommonModule } from '@angular/common';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\nimport { _HttpClient } from '@delon/theme';\n\n@Component({\n selector: 'kpi-stats3',\n templateUrl: './index.html',\n styleUrls: ['./index.less'],\n imports: [\n CommonModule,\n NzIconModule\n ]\n})\nexport class GramKpiStats3Component implements OnInit, AfterViewInit, OnChanges {\n @Input() name: any = null;\n @Input() data1: any = null;\n @Input() data2: any = null;\n @Input() data3: any = null;\n @Input() data4: any = null;\n @Input() icon: any = 'line-chart';\n\n constructor() { }\n\n ngOnInit(): void { }\n\n ngAfterViewInit() { }\n\n ngOnChanges(change: any) { }\n}\n","<div class=\"title\"><span nz-icon [nzType]=\"icon\"></span>{{name}}</div>\n<div class=\"value\">\n <ul>\n <li>\n <div class=\"data\">{{data1!=undefined && data1!=null && data1!=''?data1:0}}</div>\n <div>未完成</div>\n </li>\n <li>\n <div class=\"data\">{{data2!=undefined && data2!=null && data2!=''?data2:0}}</div>\n <div>审核中</div>\n </li>\n <li class=\"finish\">\n <div class=\"data\">{{data3!=undefined && data3!=null && data3!=''?data3:0}}</div>\n <div>已完成</div>\n </li>\n <!-- <li class=\"shensu\">\n <div>{{data4!=undefined && data4!=null && data4!=''?data4:0}}</div>\n <div>申诉中</div>\n </li> -->\n </ul>\n</div>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { GramDeonCardOKRComponent } from './default/index';\nimport { GramOkrObjectiveComponent } from './objective';\nimport { GramOkrObjectiveDLComponent } from './objective-dl';\nimport { GramOkrObjectiveDXComponent } from './objective-dx';\n\nimport { GramOkrStatsDefaultComponent } from './stats-default';\nimport { GramOkrStatsObjComponent } from './stats-objective';\nimport { GramOkrStatsProgressComponent } from './stats-progress';\n\nimport { GramKpiStats1Component } from './kpi-stats1';\nimport { GramKpiStats2Component } from './kpi-stats2';\nimport { GramKpiStats3Component } from './kpi-stats3';\n\nconst components: any[] = [\n GramDeonCardOKRComponent,\n GramOkrObjectiveComponent,\n GramOkrObjectiveDLComponent,\n GramOkrObjectiveDXComponent,\n GramOkrStatsDefaultComponent,\n GramOkrStatsObjComponent,\n GramOkrStatsProgressComponent,\n GramKpiStats1Component,\n GramKpiStats2Component,\n GramKpiStats3Component,\n];\nconst entryComponents: any[] = [];\n\n@NgModule({\n imports: [CommonModule, ...components],\n exports: [...components, ...entryComponents],\n})\nexport class GramDeonCardOKRModule { }\n","/**\n * Gener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AAEG;;;;"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { EventEmitter, Output, Input, Component, NgModule } from '@angular/core';
|
|
3
|
+
import * as i1 from '@angular/common';
|
|
4
|
+
import { CommonModule } from '@angular/common';
|
|
5
|
+
import * as i2 from '@ebuilding/base/shared.pipe';
|
|
6
|
+
import { GramPipeModule } from '@ebuilding/base/shared.pipe';
|
|
7
|
+
|
|
8
|
+
class GramDeonCardPlanKPIComponent {
|
|
9
|
+
/**
|
|
10
|
+
* 主键Key
|
|
11
|
+
*/
|
|
12
|
+
primary_key = '';
|
|
13
|
+
/**
|
|
14
|
+
* 数据
|
|
15
|
+
*/
|
|
16
|
+
data = {};
|
|
17
|
+
/**
|
|
18
|
+
* 点击事件
|
|
19
|
+
*/
|
|
20
|
+
componentEvent = new EventEmitter();
|
|
21
|
+
ngOnInit() { }
|
|
22
|
+
ngAfterViewInit() { }
|
|
23
|
+
ngOnChanges(change) { }
|
|
24
|
+
titleClick() {
|
|
25
|
+
let emitData = {
|
|
26
|
+
rowCode: this.data[this.primary_key],
|
|
27
|
+
rowData: this.data,
|
|
28
|
+
columnKey: 'id',
|
|
29
|
+
};
|
|
30
|
+
this.componentEvent.emit(emitData);
|
|
31
|
+
}
|
|
32
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramDeonCardPlanKPIComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
33
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: GramDeonCardPlanKPIComponent, isStandalone: true, selector: "card-plan-kpi", inputs: { primary_key: "primary_key", data: "data" }, outputs: { componentEvent: "componentEvent" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"info-box\">\n <div class=\"left-box\">\n <div class=\"first\">\n <ul (click)=\"titleClick()\">\n <li class=\"title\"><a>{{data?.name}}</a></li>\n <li class=\"state\" [ngClass]=\"'state_' + data?.state\"><label>{{data?.state | state}}</label></li>\n </ul>\n </div>\n </div>\n <div class=\"right-box\"></div>\n</div>\n<div class=\"operation-box\">\n <div class=\"left-box\">\n <ul>\n <li><label>\u5E74\u5EA6\uFF1A</label>{{data?.yearInfo?.name}}</li>\n <li><label>\u5468\u671F\uFF1A</label>{{data?.startDate | date:\"yyyy-MM-dd\" }} ~ {{data?.endDate | date:\"yyyy-MM-dd\" }}</li>\n <li><label>\u521B\u5EFA\u65E5\u671F\uFF1A</label>{{data?.createDate | date:\"yyyy-MM-dd\" }}</li>\n <li><label>\u521B\u5EFA\u4EBA\uFF1A</label>{{data?.createEmpInfo?.name}}</li>\n </ul>\n </div>\n <div class=\"right-box\">\n <ul>\n <li><ng-content></ng-content></li>\n </ul>\n </div>\n</div>\n", styles: [":host ::ng-deep{position:relative;display:-webkit-box;display:flex;flex-direction:column;margin-bottom:18px;padding:0;border:1px solid #eaeaea;-webkit-box-orient:vertical;-webkit-box-direction:normal}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "pipe", type: i1.DatePipe, name: "date" }, { kind: "ngmodule", type: GramPipeModule }, { kind: "pipe", type: i2.StatePipe, name: "state" }] });
|
|
34
|
+
}
|
|
35
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramDeonCardPlanKPIComponent, decorators: [{
|
|
36
|
+
type: Component,
|
|
37
|
+
args: [{ selector: 'card-plan-kpi', imports: [
|
|
38
|
+
CommonModule,
|
|
39
|
+
GramPipeModule
|
|
40
|
+
], template: "<div class=\"info-box\">\n <div class=\"left-box\">\n <div class=\"first\">\n <ul (click)=\"titleClick()\">\n <li class=\"title\"><a>{{data?.name}}</a></li>\n <li class=\"state\" [ngClass]=\"'state_' + data?.state\"><label>{{data?.state | state}}</label></li>\n </ul>\n </div>\n </div>\n <div class=\"right-box\"></div>\n</div>\n<div class=\"operation-box\">\n <div class=\"left-box\">\n <ul>\n <li><label>\u5E74\u5EA6\uFF1A</label>{{data?.yearInfo?.name}}</li>\n <li><label>\u5468\u671F\uFF1A</label>{{data?.startDate | date:\"yyyy-MM-dd\" }} ~ {{data?.endDate | date:\"yyyy-MM-dd\" }}</li>\n <li><label>\u521B\u5EFA\u65E5\u671F\uFF1A</label>{{data?.createDate | date:\"yyyy-MM-dd\" }}</li>\n <li><label>\u521B\u5EFA\u4EBA\uFF1A</label>{{data?.createEmpInfo?.name}}</li>\n </ul>\n </div>\n <div class=\"right-box\">\n <ul>\n <li><ng-content></ng-content></li>\n </ul>\n </div>\n</div>\n", styles: [":host ::ng-deep{position:relative;display:-webkit-box;display:flex;flex-direction:column;margin-bottom:18px;padding:0;border:1px solid #eaeaea;-webkit-box-orient:vertical;-webkit-box-direction:normal}\n"] }]
|
|
41
|
+
}], propDecorators: { primary_key: [{
|
|
42
|
+
type: Input
|
|
43
|
+
}], data: [{
|
|
44
|
+
type: Input
|
|
45
|
+
}], componentEvent: [{
|
|
46
|
+
type: Output
|
|
47
|
+
}] } });
|
|
48
|
+
|
|
49
|
+
const components = [GramDeonCardPlanKPIComponent];
|
|
50
|
+
class GramDeonCardPlanKPIModule {
|
|
51
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramDeonCardPlanKPIModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
52
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: GramDeonCardPlanKPIModule, imports: [GramDeonCardPlanKPIComponent], exports: [GramDeonCardPlanKPIComponent] });
|
|
53
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramDeonCardPlanKPIModule, imports: [components] });
|
|
54
|
+
}
|
|
55
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramDeonCardPlanKPIModule, decorators: [{
|
|
56
|
+
type: NgModule,
|
|
57
|
+
args: [{
|
|
58
|
+
imports: [...components],
|
|
59
|
+
exports: [...components],
|
|
60
|
+
}]
|
|
61
|
+
}] });
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Generated bundle index. Do not edit.
|
|
65
|
+
*/
|
|
66
|
+
|
|
67
|
+
export { GramDeonCardPlanKPIComponent, GramDeonCardPlanKPIModule };
|
|
68
|
+
//# sourceMappingURL=components.card-plan-kpi.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components.card-plan-kpi.mjs","sources":["../../../../packages/abc/card-plan-kpi/src/default/index.ts","../../../../packages/abc/card-plan-kpi/src/default/index.html","../../../../packages/abc/card-plan-kpi/src/index.module.ts","../../../../packages/abc/card-plan-kpi/components.card-plan-kpi.ts"],"sourcesContent":["import { Component, Input, Output, EventEmitter, OnInit, AfterViewInit, OnChanges } from '@angular/core';\n\nimport { CommonModule } from '@angular/common';\nimport { GramPipeModule } from '@ebuilding/base/shared.pipe';\n@Component({\n selector: 'card-plan-kpi',\n templateUrl: './index.html',\n styleUrls: ['./index.less'],\n imports: [\n CommonModule,\n GramPipeModule\n ]\n})\nexport class GramDeonCardPlanKPIComponent implements OnInit, AfterViewInit, OnChanges {\n /**\n * 主键Key\n */\n @Input() primary_key: string = '';\n\n /**\n * 数据\n */\n @Input() data: any = {};\n\n /**\n * 点击事件\n */\n @Output() componentEvent: EventEmitter<any> = new EventEmitter();\n\n ngOnInit(): void { }\n\n ngAfterViewInit() { }\n\n ngOnChanges(change: any) { }\n\n titleClick() {\n let emitData: any = {\n rowCode: this.data[this.primary_key],\n rowData: this.data,\n columnKey: 'id',\n };\n this.componentEvent.emit(emitData);\n }\n}\n","<div class=\"info-box\">\n <div class=\"left-box\">\n <div class=\"first\">\n <ul (click)=\"titleClick()\">\n <li class=\"title\"><a>{{data?.name}}</a></li>\n <li class=\"state\" [ngClass]=\"'state_' + data?.state\"><label>{{data?.state | state}}</label></li>\n </ul>\n </div>\n </div>\n <div class=\"right-box\"></div>\n</div>\n<div class=\"operation-box\">\n <div class=\"left-box\">\n <ul>\n <li><label>年度:</label>{{data?.yearInfo?.name}}</li>\n <li><label>周期:</label>{{data?.startDate | date:\"yyyy-MM-dd\" }} ~ {{data?.endDate | date:\"yyyy-MM-dd\" }}</li>\n <li><label>创建日期:</label>{{data?.createDate | date:\"yyyy-MM-dd\" }}</li>\n <li><label>创建人:</label>{{data?.createEmpInfo?.name}}</li>\n </ul>\n </div>\n <div class=\"right-box\">\n <ul>\n <li><ng-content></ng-content></li>\n </ul>\n </div>\n</div>\n","import { NgModule } from '@angular/core';\nimport { GramDeonCardPlanKPIComponent } from './default/index';\n\nconst components: any[] = [GramDeonCardPlanKPIComponent];\n\n@NgModule({\n\n imports: [...components],\n exports: [...components],\n})\nexport class GramDeonCardPlanKPIModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAaa,4BAA4B,CAAA;AACvC;;AAEG;IACM,WAAW,GAAW,EAAE;AAEjC;;AAEG;IACM,IAAI,GAAQ,EAAE;AAEvB;;AAEG;AACO,IAAA,cAAc,GAAsB,IAAI,YAAY,EAAE;AAEhE,IAAA,QAAQ;AAER,IAAA,eAAe;IAEf,WAAW,CAAC,MAAW,EAAA;IAEvB,UAAU,GAAA;AACR,QAAA,IAAI,QAAQ,GAAQ;YAClB,OAAO,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC;YACpC,OAAO,EAAE,IAAI,CAAC,IAAI;AAClB,YAAA,SAAS,EAAE,IAAI;SAChB;AACD,QAAA,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,QAAQ,CAAC;;wGA5BzB,4BAA4B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA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A,EAAA,CAAA;AAO1C,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,yBAAyB,YAHvB,UAAU,CAAA,EAAA,CAAA;;4FAGZ,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBALrC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AAER,oBAAA,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC;AACxB,oBAAA,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC;AACzB,iBAAA;;;ACTD;;AAEG;;;;"}
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { EventEmitter, Output, Input, Component, NgModule } from '@angular/core';
|
|
3
|
+
import { CommonModule } from '@angular/common';
|
|
4
|
+
import * as i1 from '@angular/forms';
|
|
5
|
+
import { FormsModule } from '@angular/forms';
|
|
6
|
+
import * as i2 from '@delon/chart/pie';
|
|
7
|
+
import { G2PieModule } from '@delon/chart/pie';
|
|
8
|
+
import * as i3 from 'ng-zorro-antd/rate';
|
|
9
|
+
import { NzRateModule } from 'ng-zorro-antd/rate';
|
|
10
|
+
import * as i4 from '@ebuilding/abc/card-user';
|
|
11
|
+
import { GramDeonCardUserModule } from '@ebuilding/abc/card-user';
|
|
12
|
+
|
|
13
|
+
class GramDeonCardResultComponent {
|
|
14
|
+
/**
|
|
15
|
+
* 主键Key
|
|
16
|
+
*/
|
|
17
|
+
primary_key = '';
|
|
18
|
+
/**
|
|
19
|
+
* 数据
|
|
20
|
+
*/
|
|
21
|
+
data = {};
|
|
22
|
+
/**
|
|
23
|
+
* 点击事件
|
|
24
|
+
*/
|
|
25
|
+
componentEvent = new EventEmitter();
|
|
26
|
+
ngOnInit() { }
|
|
27
|
+
ngAfterViewInit() { }
|
|
28
|
+
ngOnChanges(change) { }
|
|
29
|
+
/**
|
|
30
|
+
* 关键名称点击事件
|
|
31
|
+
*/
|
|
32
|
+
resultClick() {
|
|
33
|
+
let emitData = {
|
|
34
|
+
rowCode: this.data[this.primary_key],
|
|
35
|
+
rowData: this.data,
|
|
36
|
+
columnKey: 'name',
|
|
37
|
+
};
|
|
38
|
+
this.componentEvent.emit(emitData);
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* 目标分解方案名称点击事件
|
|
42
|
+
*/
|
|
43
|
+
planClick() {
|
|
44
|
+
let emitData = {
|
|
45
|
+
rowCode: this.data[this.primary_key],
|
|
46
|
+
rowData: this.data,
|
|
47
|
+
columnKey: 'plan',
|
|
48
|
+
};
|
|
49
|
+
this.componentEvent.emit(emitData);
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* 目标维度名称点击事件
|
|
53
|
+
*/
|
|
54
|
+
sectionClick() {
|
|
55
|
+
let emitData = {
|
|
56
|
+
rowCode: this.data[this.primary_key],
|
|
57
|
+
rowData: this.data,
|
|
58
|
+
columnKey: 'id',
|
|
59
|
+
};
|
|
60
|
+
this.componentEvent.emit(emitData);
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* 目标名称点击事件
|
|
64
|
+
*/
|
|
65
|
+
objectiveClick() {
|
|
66
|
+
let emitData = {
|
|
67
|
+
rowCode: this.data[this.primary_key],
|
|
68
|
+
rowData: this.data,
|
|
69
|
+
columnKey: 'objective',
|
|
70
|
+
};
|
|
71
|
+
this.componentEvent.emit(emitData);
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* 点赞点击事件
|
|
75
|
+
*/
|
|
76
|
+
giveClick() {
|
|
77
|
+
let emitData = {
|
|
78
|
+
rowCode: this.data[this.primary_key],
|
|
79
|
+
rowData: this.data,
|
|
80
|
+
columnKey: 'giveCnt',
|
|
81
|
+
};
|
|
82
|
+
this.componentEvent.emit(emitData);
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* 评论名称点击事件
|
|
86
|
+
*/
|
|
87
|
+
commentClick() {
|
|
88
|
+
let emitData = {
|
|
89
|
+
rowCode: this.data[this.primary_key],
|
|
90
|
+
rowData: this.data,
|
|
91
|
+
columnKey: 'commentCnt',
|
|
92
|
+
};
|
|
93
|
+
this.componentEvent.emit(emitData);
|
|
94
|
+
}
|
|
95
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramDeonCardResultComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
96
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: GramDeonCardResultComponent, isStandalone: true, selector: "card-result", inputs: { primary_key: "primary_key", data: "data" }, outputs: { componentEvent: "componentEvent" }, usesOnChanges: true, ngImport: i0, template: "<ul class=\"first\">\n <li class=\"rate\">\n <nz-rate [ngModel]=\"data?.important\" nzDisabled></nz-rate>\n </li>\n <li class=\"title\">\n <a (click)=\"resultClick()\"> {{data?.name}} </a>\n </li>\n <!-- <li class=\"state\">\n <label>{{data.state|state}}</label>\n </li> -->\n</ul>\n<div class=\"second\">\n <div class=\"left\">\n <ul class=\"PERSONAL_QUANTITATIVE\">\n <li>\u5F53\u524D\u5B8C\u6210\u5EA6</li>\n <li>\n <div style=\"display: inline-block; width: 80px\">\n <g2-pie\n [percent]=\"data.finishValue==null?0:data.finishValue\"\n [total]=\"data.finishValue==null?0:data.finishValue+'%'\"\n height=\"80\"\n lineWidth=\"2\"\n ></g2-pie>\n </div>\n </li>\n </ul>\n </div>\n <div class=\"right\">\n <gram-user-card [data]=\"data?.createEmpInfo\"></gram-user-card>\n </div>\n</div>\n<div class=\"third\">\n <div class=\"left\">\n <ul>\n <li>{{data?.sectionInfo?.name}}</li>\n <li>{{data?.planInfo?.name}}</li>\n <li>\n <a (click)=\"objectiveClick()\">{{data?.objectiveInfo?.name}}</a>\n </li>\n <!-- <li>\n <a (click)=\"sectionClick(data?.section)\">{{data?.section?.section_name}}</a>\n </li> -->\n </ul>\n </div>\n <div class=\"right\">\n <ul>\n <!-- <li>\n <a (click)=\"giveClick()\" nz-tooltip nzTooltipTitle=\"\u70B9\u8D5E\"><i nz-icon nzType=\"heart\"></i>{{data?.give_cnt}}</a>\n </li>\n <li>\n <a (click)=\"commentClick()\" nz-tooltip nzTooltipTitle=\"\u8BC4\u8BBA\"><i nz-icon nzType=\"message\"></i>{{data?.comment_cnt}}</a>\n </li> -->\n <li>\n <ng-content></ng-content>\n </li>\n </ul>\n </div>\n</div>\n", styles: [":host ::ng-deep{display:-webkit-box;display:flex;flex-direction:column;margin-bottom:18px;padding:0;border:1px solid #eaeaea;-webkit-box-orient:vertical;-webkit-box-direction:normal;background:#fff;border-radius:8px;box-shadow:0 10px 18px #b6c1d733}:host ::ng-deep .g2-pie__chart>div:nth-child(1){height:80px!important}:host ::ng-deep .g2-pie__total{position:absolute;top:50%;left:50%;height:42px!important;font-size:15px;text-align:center;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}:host ::ng-deep .g2-pie__total-stat{line-height:42px!important}:host ::ng-deep ul{margin:0;padding:0;list-style:none}:host ::ng-deep ul li{float:left;margin:0;padding:0}:host ::ng-deep .first{position:relative;display:flex;align-items:center;margin:auto 0;padding:2px 8px 0}:host ::ng-deep .first .title{padding:10px 0 0 20px}:host ::ng-deep .first .state{width:auto;height:100%;padding:10px 0 0 15px}:host ::ng-deep .first .anticon-star{font-size:20px}:host ::ng-deep .first ul{display:flex;flex-direction:row;align-items:center;padding:8px 0 0 8px}:host ::ng-deep .first ul li{font-size:14px}:host ::ng-deep .first ul li span{display:inline-block;padding:0 5px;color:#e1e7fb}:host ::ng-deep .first ul .title{padding:0 0 0 15px}:host ::ng-deep .second{display:flex;flex-direction:row;padding:0 8px 0 25px}:host ::ng-deep .second .left{display:flex;flex:1;align-items:center}:host ::ng-deep .second .left ul{display:flex;align-items:center}:host ::ng-deep .second .right{display:flex;align-items:center}:host ::ng-deep .third{display:flex;flex-direction:row;align-items:center;padding:6px 8px;border-top:1px solid #eaeaea}:host ::ng-deep .third .left{flex:1;padding:0 0 0 15px}:host ::ng-deep .third .left ul li{padding:0}:host ::ng-deep .third .left ul li i{font-size:12px}:host ::ng-deep .third .left ul li:nth-child(1):after,:host ::ng-deep .third .left ul li:nth-child(2):after{padding:0 8px;content:\"/\"}:host ::ng-deep .third .right ul li{padding:0 0 0 12px}:host ::ng-deep .third .right ul li i{margin-right:2px}:host ::ng-deep .third .right ul li .operation{padding:0 10px 0 0}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: G2PieModule }, { kind: "component", type: i2.G2PieComponent, selector: "g2-pie", inputs: ["animate", "color", "subTitle", "total", "height", "hasLegend", "inner", "padding", "percent", "tooltip", "lineWidth", "blockMaxWidth", "select", "valueFormat", "data", "colors", "interaction", "ratio"], outputs: ["clickItem"], exportAs: ["g2Pie"] }, { kind: "ngmodule", type: NzRateModule }, { kind: "component", type: i3.NzRateComponent, selector: "nz-rate", inputs: ["nzAllowClear", "nzAllowHalf", "nzDisabled", "nzAutoFocus", "nzCharacter", "nzCount", "nzTooltips"], outputs: ["nzOnBlur", "nzOnFocus", "nzOnHoverChange", "nzOnKeyDown"], exportAs: ["nzRate"] }, { kind: "ngmodule", type: GramDeonCardUserModule }, { kind: "component", type: i4.GramDeonCardUserComponent, selector: "gram-user-card", inputs: ["data", "type"] }] });
|
|
97
|
+
}
|
|
98
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramDeonCardResultComponent, decorators: [{
|
|
99
|
+
type: Component,
|
|
100
|
+
args: [{ selector: 'card-result', imports: [
|
|
101
|
+
CommonModule,
|
|
102
|
+
FormsModule,
|
|
103
|
+
G2PieModule,
|
|
104
|
+
NzRateModule,
|
|
105
|
+
GramDeonCardUserModule
|
|
106
|
+
], template: "<ul class=\"first\">\n <li class=\"rate\">\n <nz-rate [ngModel]=\"data?.important\" nzDisabled></nz-rate>\n </li>\n <li class=\"title\">\n <a (click)=\"resultClick()\"> {{data?.name}} </a>\n </li>\n <!-- <li class=\"state\">\n <label>{{data.state|state}}</label>\n </li> -->\n</ul>\n<div class=\"second\">\n <div class=\"left\">\n <ul class=\"PERSONAL_QUANTITATIVE\">\n <li>\u5F53\u524D\u5B8C\u6210\u5EA6</li>\n <li>\n <div style=\"display: inline-block; width: 80px\">\n <g2-pie\n [percent]=\"data.finishValue==null?0:data.finishValue\"\n [total]=\"data.finishValue==null?0:data.finishValue+'%'\"\n height=\"80\"\n lineWidth=\"2\"\n ></g2-pie>\n </div>\n </li>\n </ul>\n </div>\n <div class=\"right\">\n <gram-user-card [data]=\"data?.createEmpInfo\"></gram-user-card>\n </div>\n</div>\n<div class=\"third\">\n <div class=\"left\">\n <ul>\n <li>{{data?.sectionInfo?.name}}</li>\n <li>{{data?.planInfo?.name}}</li>\n <li>\n <a (click)=\"objectiveClick()\">{{data?.objectiveInfo?.name}}</a>\n </li>\n <!-- <li>\n <a (click)=\"sectionClick(data?.section)\">{{data?.section?.section_name}}</a>\n </li> -->\n </ul>\n </div>\n <div class=\"right\">\n <ul>\n <!-- <li>\n <a (click)=\"giveClick()\" nz-tooltip nzTooltipTitle=\"\u70B9\u8D5E\"><i nz-icon nzType=\"heart\"></i>{{data?.give_cnt}}</a>\n </li>\n <li>\n <a (click)=\"commentClick()\" nz-tooltip nzTooltipTitle=\"\u8BC4\u8BBA\"><i nz-icon nzType=\"message\"></i>{{data?.comment_cnt}}</a>\n </li> -->\n <li>\n <ng-content></ng-content>\n </li>\n </ul>\n </div>\n</div>\n", styles: [":host ::ng-deep{display:-webkit-box;display:flex;flex-direction:column;margin-bottom:18px;padding:0;border:1px solid #eaeaea;-webkit-box-orient:vertical;-webkit-box-direction:normal;background:#fff;border-radius:8px;box-shadow:0 10px 18px #b6c1d733}:host ::ng-deep .g2-pie__chart>div:nth-child(1){height:80px!important}:host ::ng-deep .g2-pie__total{position:absolute;top:50%;left:50%;height:42px!important;font-size:15px;text-align:center;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}:host ::ng-deep .g2-pie__total-stat{line-height:42px!important}:host ::ng-deep ul{margin:0;padding:0;list-style:none}:host ::ng-deep ul li{float:left;margin:0;padding:0}:host ::ng-deep .first{position:relative;display:flex;align-items:center;margin:auto 0;padding:2px 8px 0}:host ::ng-deep .first .title{padding:10px 0 0 20px}:host ::ng-deep .first .state{width:auto;height:100%;padding:10px 0 0 15px}:host ::ng-deep .first .anticon-star{font-size:20px}:host ::ng-deep .first ul{display:flex;flex-direction:row;align-items:center;padding:8px 0 0 8px}:host ::ng-deep .first ul li{font-size:14px}:host ::ng-deep .first ul li span{display:inline-block;padding:0 5px;color:#e1e7fb}:host ::ng-deep .first ul .title{padding:0 0 0 15px}:host ::ng-deep .second{display:flex;flex-direction:row;padding:0 8px 0 25px}:host ::ng-deep .second .left{display:flex;flex:1;align-items:center}:host ::ng-deep .second .left ul{display:flex;align-items:center}:host ::ng-deep .second .right{display:flex;align-items:center}:host ::ng-deep .third{display:flex;flex-direction:row;align-items:center;padding:6px 8px;border-top:1px solid #eaeaea}:host ::ng-deep .third .left{flex:1;padding:0 0 0 15px}:host ::ng-deep .third .left ul li{padding:0}:host ::ng-deep .third .left ul li i{font-size:12px}:host ::ng-deep .third .left ul li:nth-child(1):after,:host ::ng-deep .third .left ul li:nth-child(2):after{padding:0 8px;content:\"/\"}:host ::ng-deep .third .right ul li{padding:0 0 0 12px}:host ::ng-deep .third .right ul li i{margin-right:2px}:host ::ng-deep .third .right ul li .operation{padding:0 10px 0 0}\n"] }]
|
|
107
|
+
}], propDecorators: { primary_key: [{
|
|
108
|
+
type: Input
|
|
109
|
+
}], data: [{
|
|
110
|
+
type: Input
|
|
111
|
+
}], componentEvent: [{
|
|
112
|
+
type: Output
|
|
113
|
+
}] } });
|
|
114
|
+
|
|
115
|
+
const components = [GramDeonCardResultComponent];
|
|
116
|
+
class GramDeonCardResultModule {
|
|
117
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramDeonCardResultModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
118
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: GramDeonCardResultModule, imports: [CommonModule, GramDeonCardResultComponent], exports: [GramDeonCardResultComponent] });
|
|
119
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramDeonCardResultModule, imports: [CommonModule, components] });
|
|
120
|
+
}
|
|
121
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramDeonCardResultModule, decorators: [{
|
|
122
|
+
type: NgModule,
|
|
123
|
+
args: [{
|
|
124
|
+
imports: [
|
|
125
|
+
CommonModule,
|
|
126
|
+
...components
|
|
127
|
+
],
|
|
128
|
+
exports: [...components],
|
|
129
|
+
}]
|
|
130
|
+
}] });
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* Generated bundle index. Do not edit.
|
|
134
|
+
*/
|
|
135
|
+
|
|
136
|
+
export { GramDeonCardResultComponent, GramDeonCardResultModule };
|
|
137
|
+
//# sourceMappingURL=components.card-result.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components.card-result.mjs","sources":["../../../../packages/abc/card-result/src/default/index.ts","../../../../packages/abc/card-result/src/default/index.html","../../../../packages/abc/card-result/src/index.module.ts","../../../../packages/abc/card-result/components.card-result.ts"],"sourcesContent":["import { Component, Input, Output, EventEmitter, OnInit, AfterViewInit, OnChanges } from '@angular/core';\n\nimport { CommonModule } from '@angular/common';\nimport { FormsModule } from '@angular/forms'\nimport { G2PieModule } from '@delon/chart/pie';\nimport { NzRateModule } from 'ng-zorro-antd/rate';\nimport { GramDeonCardUserModule } from '@ebuilding/abc/card-user';\n\n@Component({\n selector: 'card-result',\n templateUrl: './index.html',\n styleUrls: ['./index.less'],\n imports: [\n CommonModule,\n FormsModule,\n G2PieModule,\n NzRateModule,\n GramDeonCardUserModule\n ]\n})\nexport class GramDeonCardResultComponent implements OnInit, AfterViewInit, OnChanges {\n /**\n * 主键Key\n */\n @Input() primary_key: string = '';\n\n /**\n * 数据\n */\n @Input() data: any = {};\n\n /**\n * 点击事件\n */\n @Output() componentEvent: EventEmitter<any> = new EventEmitter();\n\n ngOnInit(): void { }\n\n ngAfterViewInit() { }\n\n ngOnChanges(change: any) { }\n\n /**\n * 关键名称点击事件\n */\n resultClick() {\n let emitData: any = {\n rowCode: this.data[this.primary_key],\n rowData: this.data,\n columnKey: 'name',\n };\n this.componentEvent.emit(emitData);\n }\n\n /**\n * 目标分解方案名称点击事件\n */\n planClick() {\n let emitData: any = {\n rowCode: this.data[this.primary_key],\n rowData: this.data,\n columnKey: 'plan',\n };\n this.componentEvent.emit(emitData);\n }\n\n /**\n * 目标维度名称点击事件\n */\n sectionClick() {\n let emitData: any = {\n rowCode: this.data[this.primary_key],\n rowData: this.data,\n columnKey: 'id',\n };\n this.componentEvent.emit(emitData);\n }\n\n /**\n * 目标名称点击事件\n */\n objectiveClick() {\n let emitData: any = {\n rowCode: this.data[this.primary_key],\n rowData: this.data,\n columnKey: 'objective',\n };\n this.componentEvent.emit(emitData);\n }\n\n /**\n * 点赞点击事件\n */\n giveClick() {\n let emitData: any = {\n rowCode: this.data[this.primary_key],\n rowData: this.data,\n columnKey: 'giveCnt',\n };\n this.componentEvent.emit(emitData);\n }\n\n /**\n * 评论名称点击事件\n */\n commentClick() {\n let emitData: any = {\n rowCode: this.data[this.primary_key],\n rowData: this.data,\n columnKey: 'commentCnt',\n };\n this.componentEvent.emit(emitData);\n }\n}\n","<ul class=\"first\">\n <li class=\"rate\">\n <nz-rate [ngModel]=\"data?.important\" nzDisabled></nz-rate>\n </li>\n <li class=\"title\">\n <a (click)=\"resultClick()\"> {{data?.name}} </a>\n </li>\n <!-- <li class=\"state\">\n <label>{{data.state|state}}</label>\n </li> -->\n</ul>\n<div class=\"second\">\n <div class=\"left\">\n <ul class=\"PERSONAL_QUANTITATIVE\">\n <li>当前完成度</li>\n <li>\n <div style=\"display: inline-block; width: 80px\">\n <g2-pie\n [percent]=\"data.finishValue==null?0:data.finishValue\"\n [total]=\"data.finishValue==null?0:data.finishValue+'%'\"\n height=\"80\"\n lineWidth=\"2\"\n ></g2-pie>\n </div>\n </li>\n </ul>\n </div>\n <div class=\"right\">\n <gram-user-card [data]=\"data?.createEmpInfo\"></gram-user-card>\n </div>\n</div>\n<div class=\"third\">\n <div class=\"left\">\n <ul>\n <li>{{data?.sectionInfo?.name}}</li>\n <li>{{data?.planInfo?.name}}</li>\n <li>\n <a (click)=\"objectiveClick()\">{{data?.objectiveInfo?.name}}</a>\n </li>\n <!-- <li>\n <a (click)=\"sectionClick(data?.section)\">{{data?.section?.section_name}}</a>\n </li> -->\n </ul>\n </div>\n <div class=\"right\">\n <ul>\n <!-- <li>\n <a (click)=\"giveClick()\" nz-tooltip nzTooltipTitle=\"点赞\"><i nz-icon nzType=\"heart\"></i>{{data?.give_cnt}}</a>\n </li>\n <li>\n <a (click)=\"commentClick()\" nz-tooltip nzTooltipTitle=\"评论\"><i nz-icon nzType=\"message\"></i>{{data?.comment_cnt}}</a>\n </li> -->\n <li>\n <ng-content></ng-content>\n </li>\n </ul>\n </div>\n</div>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { GramDeonCardResultComponent } from './default/index';\nconst components: any[] = [GramDeonCardResultComponent];\n\n@NgModule({\n\n imports: [\n CommonModule,\n ...components\n ],\n exports: [...components],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;;;;"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Input, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
|
|
3
|
+
import * as i1 from '@angular/common';
|
|
4
|
+
import { CommonModule } from '@angular/common';
|
|
5
|
+
import * as i2 from '@ebuilding/base/shared.pipe';
|
|
6
|
+
import { GramPipeModule } from '@ebuilding/base/shared.pipe';
|
|
7
|
+
|
|
8
|
+
class GramDeonCardScoreComponent {
|
|
9
|
+
data = {};
|
|
10
|
+
constructor() { }
|
|
11
|
+
ngOnInit() { }
|
|
12
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramDeonCardScoreComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
13
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: GramDeonCardScoreComponent, isStandalone: true, selector: "gram-card-score", inputs: { data: "data" }, ngImport: i0, template: "<div class=\"box\">\n <div class=\"f-header\">\n <label>{{data?.nodeName}}</label>\n <ng-container *ngIf=\"data?.sourceType!='TOTAL'\">\n <label>{{data?.nodeWeight}}%</label>\n </ng-container>\n </div>\n <div class=\"f-value\" [ngClass]=\"{'f-total':data?.sourceType=='TOTAL'}\">\n <ng-container *ngIf=\"data?.hidden==true;else tmpScore\">***</ng-container>\n <ng-template #tmpScore>\n <ng-container *ngIf=\"data?.score!=undefined && data?.score!=null;else tmpValue\">\n <label>{{data?.score}}</label>\n <label>{{data?.gradeInfo?.name | empty:['--'] }}</label>\n </ng-container>\n </ng-template>\n <ng-template #tmpValue> -- </ng-template>\n </div>\n</div>\n", styles: [":host ::ng-deep .box{display:inline-block;flex-direction:column;min-width:125px;border:1px solid #eaeaea;border-radius:4px}:host ::ng-deep .box .f-header{padding:8px 15px;color:#000;font-size:13px;text-align:center;background-color:#dbdbff}:host ::ng-deep .box .f-value{padding:8px 12px;font-weight:700;font-size:13px!important;text-align:center}:host ::ng-deep .box .f-value label:nth-child(1):after{padding:0 5px;content:\"/\"}:host ::ng-deep .box .f-total{font-weight:700}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: GramPipeModule }, { kind: "pipe", type: i2.EmptyPipe, name: "empty" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
14
|
+
}
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramDeonCardScoreComponent, decorators: [{
|
|
16
|
+
type: Component,
|
|
17
|
+
args: [{ selector: 'gram-card-score', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
|
18
|
+
CommonModule,
|
|
19
|
+
GramPipeModule
|
|
20
|
+
], template: "<div class=\"box\">\n <div class=\"f-header\">\n <label>{{data?.nodeName}}</label>\n <ng-container *ngIf=\"data?.sourceType!='TOTAL'\">\n <label>{{data?.nodeWeight}}%</label>\n </ng-container>\n </div>\n <div class=\"f-value\" [ngClass]=\"{'f-total':data?.sourceType=='TOTAL'}\">\n <ng-container *ngIf=\"data?.hidden==true;else tmpScore\">***</ng-container>\n <ng-template #tmpScore>\n <ng-container *ngIf=\"data?.score!=undefined && data?.score!=null;else tmpValue\">\n <label>{{data?.score}}</label>\n <label>{{data?.gradeInfo?.name | empty:['--'] }}</label>\n </ng-container>\n </ng-template>\n <ng-template #tmpValue> -- </ng-template>\n </div>\n</div>\n", styles: [":host ::ng-deep .box{display:inline-block;flex-direction:column;min-width:125px;border:1px solid #eaeaea;border-radius:4px}:host ::ng-deep .box .f-header{padding:8px 15px;color:#000;font-size:13px;text-align:center;background-color:#dbdbff}:host ::ng-deep .box .f-value{padding:8px 12px;font-weight:700;font-size:13px!important;text-align:center}:host ::ng-deep .box .f-value label:nth-child(1):after{padding:0 5px;content:\"/\"}:host ::ng-deep .box .f-total{font-weight:700}\n"] }]
|
|
21
|
+
}], ctorParameters: () => [], propDecorators: { data: [{
|
|
22
|
+
type: Input
|
|
23
|
+
}] } });
|
|
24
|
+
|
|
25
|
+
const components = [GramDeonCardScoreComponent];
|
|
26
|
+
class GramDeonCardScoreModule {
|
|
27
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramDeonCardScoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
28
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: GramDeonCardScoreModule, imports: [CommonModule, GramDeonCardScoreComponent], exports: [GramDeonCardScoreComponent] });
|
|
29
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramDeonCardScoreModule, imports: [CommonModule, components] });
|
|
30
|
+
}
|
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramDeonCardScoreModule, decorators: [{
|
|
32
|
+
type: NgModule,
|
|
33
|
+
args: [{
|
|
34
|
+
imports: [
|
|
35
|
+
CommonModule,
|
|
36
|
+
...components
|
|
37
|
+
],
|
|
38
|
+
exports: [...components],
|
|
39
|
+
}]
|
|
40
|
+
}] });
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Generated bundle index. Do not edit.
|
|
44
|
+
*/
|
|
45
|
+
|
|
46
|
+
export { GramDeonCardScoreComponent, GramDeonCardScoreModule };
|
|
47
|
+
//# sourceMappingURL=components.card-score.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components.card-score.mjs","sources":["../../../../packages/abc/card-score/src/default/index.ts","../../../../packages/abc/card-score/src/default/index.html","../../../../packages/abc/card-score/src/index.module.ts","../../../../packages/abc/card-score/components.card-score.ts"],"sourcesContent":["import { Component, OnInit, Input, ChangeDetectionStrategy } from '@angular/core';\nimport { CommonModule } from \"@angular/common\";\nimport { GramPipeModule } from '@ebuilding/base/shared.pipe';\n\n@Component({\n selector: 'gram-card-score',\n templateUrl: './index.html',\n styleUrls: ['./index.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n CommonModule,\n GramPipeModule\n ]\n})\nexport class GramDeonCardScoreComponent implements OnInit {\n @Input() data: any = {};\n constructor() { }\n\n ngOnInit() { }\n}\n","<div class=\"box\">\n <div class=\"f-header\">\n <label>{{data?.nodeName}}</label>\n <ng-container *ngIf=\"data?.sourceType!='TOTAL'\">\n <label>{{data?.nodeWeight}}%</label>\n </ng-container>\n </div>\n <div class=\"f-value\" [ngClass]=\"{'f-total':data?.sourceType=='TOTAL'}\">\n <ng-container *ngIf=\"data?.hidden==true;else tmpScore\">***</ng-container>\n <ng-template #tmpScore>\n <ng-container *ngIf=\"data?.score!=undefined && data?.score!=null;else tmpValue\">\n <label>{{data?.score}}</label>\n <label>{{data?.gradeInfo?.name | empty:['--'] }}</label>\n </ng-container>\n </ng-template>\n <ng-template #tmpValue> -- </ng-template>\n </div>\n</div>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { GramDeonCardScoreComponent } from './default/index';\n\nconst components: any[] = [GramDeonCardScoreComponent];\n\n@NgModule({\n imports: [\n CommonModule,\n ...components],\n exports: [...components],\n})\nexport class GramDeonCardScoreModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAca,0BAA0B,CAAA;IAC5B,IAAI,GAAQ,EAAE;AACvB,IAAA,WAAA,GAAA;AAEA,IAAA,QAAQ;wGAJG,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAA1B,IAAA,OAAA,IAAA,GAAA,EAAA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,EAAA,CAAA;yGAQxC,uBAAuB,EAAA,OAAA,EAAA,CAJhC,YAAY,EACT,UAAU,CAAA,EAAA,CAAA;;4FAGJ,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBANnC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,YAAY;AACZ,wBAAA,GAAG;AAAW,qBAAA;AAChB,oBAAA,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC;AACzB,iBAAA;;;ACXD;;AAEG;;;;"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Input, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
|
|
3
|
+
import * as i1 from '@angular/common';
|
|
4
|
+
import { CommonModule } from '@angular/common';
|
|
5
|
+
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
6
|
+
import * as i2 from 'ng-zorro-antd/avatar';
|
|
7
|
+
import { NzAvatarModule } from 'ng-zorro-antd/avatar';
|
|
8
|
+
|
|
9
|
+
class GramDeonCardUserComponent {
|
|
10
|
+
data = {};
|
|
11
|
+
type = '';
|
|
12
|
+
constructor() { }
|
|
13
|
+
ngOnInit() { }
|
|
14
|
+
get potrait() {
|
|
15
|
+
if (this.data && this.data.potrait) {
|
|
16
|
+
return this.data.potrait;
|
|
17
|
+
}
|
|
18
|
+
return '/assets/images/avatar.png';
|
|
19
|
+
}
|
|
20
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramDeonCardUserComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
21
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: GramDeonCardUserComponent, isStandalone: true, selector: "gram-user-card", inputs: { data: "data", type: "type" }, ngImport: i0, template: "<ng-container [ngSwitch]=\"type\">\n <ng-container *ngSwitchCase=\"'small'\">\n <div class=\"user-card small\">\n <ul>\n <li><nz-avatar [nzSize]=\"48\" nzIcon=\"user\" [nzSrc]=\"data?.avatar\"></nz-avatar></li>\n <li>{{data.code}}</li>\n <li>{{data?.name}}</li>\n <li>{{data?.departmentInfo?.name}}</li>\n <li>{{data?.positionInfo?.name}}</li>\n <li>\n \u6C47\u62A5\u4EBA\uFF1A\n <label>\n <ng-container *ngIf=\"data?.reportTo?.name!!;else tmpLabel\"> {{data?.reportTo?.name}} </ng-container>\n </label>\n </li>\n </ul>\n </div>\n </ng-container>\n <ng-container *ngSwitchCase=\"'large'\">\n <div class=\"user-card large\">\n <div class=\"photo\">\n <nz-avatar [nzSize]=\"80\" nzIcon=\"user\" [nzSrc]=\"data?.avatar\"></nz-avatar>\n </div>\n <div class=\"other\">\n <div class=\"name\">{{data?.name}}</div>\n <div class=\"info\">\n <ul>\n <li>{{data.code}}</li>\n <li>{{data?.departmentInfo?.name}}</li>\n <li>{{data?.positionInfo?.name}}</li>\n </ul>\n </div>\n <div class=\"report\">\u6C47\u62A5\u4EBA\uFF1A<label>{{data?.reportTo?.name}}</label></div>\n </div>\n </div>\n </ng-container>\n <ng-container *ngSwitchCase=\"'mini'\">\n <div class=\"user-card mini\">\n <div class=\"photo\">\n <nz-avatar [nzSize]=\"36\" nzIcon=\"user\" [nzSrc]=\"data?.avatar\"></nz-avatar>\n </div>\n <div class=\"other\">\n <div class=\"name\">{{data?.name}}</div>\n <div class=\"name\">{{data?.positionInfo?.name}}</div>\n </div>\n </div>\n </ng-container>\n <ng-container *ngSwitchDefault>\n <div class=\"user-card\">\n <div class=\"photo\">\n <nz-avatar [nzSize]=\"52\" nzIcon=\"user\" [nzSrc]=\"data?.avatar\"></nz-avatar>\n </div>\n <div class=\"other\">\n <div class=\"name\">{{data?.code}}</div>\n <div class=\"name\">{{data?.name}}</div>\n <!-- <div class=\"report\">\u6C47\u62A5\u4EBA\uFF1A<label>{{data?.reportTo?.name}}</label></div> -->\n </div>\n </div>\n </ng-container>\n</ng-container>\n\n<ng-template #tmpLabel>--</ng-template>\n\n<ng-content></ng-content>\n", styles: [":host ::ng-deep{display:inherit}:host ::ng-deep .user-card{display:flex;flex-direction:row;margin-top:-5px;margin-bottom:5px;padding:0 12px;background-color:#fff;border-radius:4px}:host ::ng-deep .user-card .photo{margin:auto;padding:3px 12px 0}:host ::ng-deep .user-card .other{flex:1;padding:0;font-size:14px}:host ::ng-deep .user-card .other .name{padding:4px 0 0}:host ::ng-deep .user-card .other .department{padding:4px 0 0}:host ::ng-deep .user-card .other .position{padding:4px 0 0}:host ::ng-deep .user-card .other .report{padding:4px 0 0}:host ::ng-deep .user-card .other .info ul{display:flex;flex-direction:row;justify-items:center;margin:0;padding:0;list-style:none}:host ::ng-deep .user-card .other .info ul li{padding:0}:host ::ng-deep .user-card .other .info ul li:after{margin:0 20px;content:\"|\"}:host ::ng-deep .user-card .other .info ul li:nth-last-child(1):after{content:\"\"}:host ::ng-deep .large .other{margin-left:30px}:host ::ng-deep .small{margin:0!important;padding:10px 0 0}:host ::ng-deep .small ul{display:flex;flex-direction:row;align-items:center;margin:0;padding:0;font-weight:600;list-style:none}:host ::ng-deep .small ul li:after{padding:0 20px;content:\"|\"}:host ::ng-deep .small ul li:nth-child(1):after,:host ::ng-deep .small ul li:nth-last-child(1):after{padding:0 10px;content:\"\"}:host ::ng-deep .mini{font-size:12px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: NzAvatarModule }, { kind: "component", type: i2.NzAvatarComponent, selector: "nz-avatar", inputs: ["nzShape", "nzSize", "nzGap", "nzText", "nzSrc", "nzSrcSet", "nzAlt", "nzIcon"], outputs: ["nzError"], exportAs: ["nzAvatar"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
22
|
+
}
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramDeonCardUserComponent, decorators: [{
|
|
24
|
+
type: Component,
|
|
25
|
+
args: [{ selector: 'gram-user-card', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
|
26
|
+
CommonModule,
|
|
27
|
+
FormsModule,
|
|
28
|
+
ReactiveFormsModule,
|
|
29
|
+
NzAvatarModule,
|
|
30
|
+
], template: "<ng-container [ngSwitch]=\"type\">\n <ng-container *ngSwitchCase=\"'small'\">\n <div class=\"user-card small\">\n <ul>\n <li><nz-avatar [nzSize]=\"48\" nzIcon=\"user\" [nzSrc]=\"data?.avatar\"></nz-avatar></li>\n <li>{{data.code}}</li>\n <li>{{data?.name}}</li>\n <li>{{data?.departmentInfo?.name}}</li>\n <li>{{data?.positionInfo?.name}}</li>\n <li>\n \u6C47\u62A5\u4EBA\uFF1A\n <label>\n <ng-container *ngIf=\"data?.reportTo?.name!!;else tmpLabel\"> {{data?.reportTo?.name}} </ng-container>\n </label>\n </li>\n </ul>\n </div>\n </ng-container>\n <ng-container *ngSwitchCase=\"'large'\">\n <div class=\"user-card large\">\n <div class=\"photo\">\n <nz-avatar [nzSize]=\"80\" nzIcon=\"user\" [nzSrc]=\"data?.avatar\"></nz-avatar>\n </div>\n <div class=\"other\">\n <div class=\"name\">{{data?.name}}</div>\n <div class=\"info\">\n <ul>\n <li>{{data.code}}</li>\n <li>{{data?.departmentInfo?.name}}</li>\n <li>{{data?.positionInfo?.name}}</li>\n </ul>\n </div>\n <div class=\"report\">\u6C47\u62A5\u4EBA\uFF1A<label>{{data?.reportTo?.name}}</label></div>\n </div>\n </div>\n </ng-container>\n <ng-container *ngSwitchCase=\"'mini'\">\n <div class=\"user-card mini\">\n <div class=\"photo\">\n <nz-avatar [nzSize]=\"36\" nzIcon=\"user\" [nzSrc]=\"data?.avatar\"></nz-avatar>\n </div>\n <div class=\"other\">\n <div class=\"name\">{{data?.name}}</div>\n <div class=\"name\">{{data?.positionInfo?.name}}</div>\n </div>\n </div>\n </ng-container>\n <ng-container *ngSwitchDefault>\n <div class=\"user-card\">\n <div class=\"photo\">\n <nz-avatar [nzSize]=\"52\" nzIcon=\"user\" [nzSrc]=\"data?.avatar\"></nz-avatar>\n </div>\n <div class=\"other\">\n <div class=\"name\">{{data?.code}}</div>\n <div class=\"name\">{{data?.name}}</div>\n <!-- <div class=\"report\">\u6C47\u62A5\u4EBA\uFF1A<label>{{data?.reportTo?.name}}</label></div> -->\n </div>\n </div>\n </ng-container>\n</ng-container>\n\n<ng-template #tmpLabel>--</ng-template>\n\n<ng-content></ng-content>\n", styles: [":host ::ng-deep{display:inherit}:host ::ng-deep .user-card{display:flex;flex-direction:row;margin-top:-5px;margin-bottom:5px;padding:0 12px;background-color:#fff;border-radius:4px}:host ::ng-deep .user-card .photo{margin:auto;padding:3px 12px 0}:host ::ng-deep .user-card .other{flex:1;padding:0;font-size:14px}:host ::ng-deep .user-card .other .name{padding:4px 0 0}:host ::ng-deep .user-card .other .department{padding:4px 0 0}:host ::ng-deep .user-card .other .position{padding:4px 0 0}:host ::ng-deep .user-card .other .report{padding:4px 0 0}:host ::ng-deep .user-card .other .info ul{display:flex;flex-direction:row;justify-items:center;margin:0;padding:0;list-style:none}:host ::ng-deep .user-card .other .info ul li{padding:0}:host ::ng-deep .user-card .other .info ul li:after{margin:0 20px;content:\"|\"}:host ::ng-deep .user-card .other .info ul li:nth-last-child(1):after{content:\"\"}:host ::ng-deep .large .other{margin-left:30px}:host ::ng-deep .small{margin:0!important;padding:10px 0 0}:host ::ng-deep .small ul{display:flex;flex-direction:row;align-items:center;margin:0;padding:0;font-weight:600;list-style:none}:host ::ng-deep .small ul li:after{padding:0 20px;content:\"|\"}:host ::ng-deep .small ul li:nth-child(1):after,:host ::ng-deep .small ul li:nth-last-child(1):after{padding:0 10px;content:\"\"}:host ::ng-deep .mini{font-size:12px}\n"] }]
|
|
31
|
+
}], ctorParameters: () => [], propDecorators: { data: [{
|
|
32
|
+
type: Input
|
|
33
|
+
}], type: [{
|
|
34
|
+
type: Input
|
|
35
|
+
}] } });
|
|
36
|
+
|
|
37
|
+
const components = [GramDeonCardUserComponent];
|
|
38
|
+
class GramDeonCardUserModule {
|
|
39
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramDeonCardUserModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
40
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: GramDeonCardUserModule, imports: [GramDeonCardUserComponent], exports: [GramDeonCardUserComponent] });
|
|
41
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramDeonCardUserModule, imports: [components] });
|
|
42
|
+
}
|
|
43
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramDeonCardUserModule, decorators: [{
|
|
44
|
+
type: NgModule,
|
|
45
|
+
args: [{
|
|
46
|
+
imports: [...components],
|
|
47
|
+
exports: [...components],
|
|
48
|
+
}]
|
|
49
|
+
}] });
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Generated bundle index. Do not edit.
|
|
53
|
+
*/
|
|
54
|
+
|
|
55
|
+
export { GramDeonCardUserComponent, GramDeonCardUserModule };
|
|
56
|
+
//# sourceMappingURL=components.card-user.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components.card-user.mjs","sources":["../../../../packages/abc/card-user/src/default/index.ts","../../../../packages/abc/card-user/src/default/index.html","../../../../packages/abc/card-user/src/index.module.ts","../../../../packages/abc/card-user/components.card-user.ts"],"sourcesContent":["import { Component, OnInit, Input, ChangeDetectionStrategy } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ReactiveFormsModule, FormsModule } from '@angular/forms';\nimport { NzAvatarModule } from 'ng-zorro-antd/avatar';\n@Component({\n selector: 'gram-user-card',\n templateUrl: './index.html',\n styleUrls: ['./index.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n NzAvatarModule,\n ]\n})\nexport class GramDeonCardUserComponent implements OnInit {\n @Input() data: any = {};\n @Input() type: string = '';\n constructor() { }\n\n ngOnInit() { }\n\n get potrait() {\n if (this.data && this.data.potrait) {\n return this.data.potrait;\n }\n return '/assets/images/avatar.png';\n }\n}\n","<ng-container [ngSwitch]=\"type\">\n <ng-container *ngSwitchCase=\"'small'\">\n <div class=\"user-card small\">\n <ul>\n <li><nz-avatar [nzSize]=\"48\" nzIcon=\"user\" [nzSrc]=\"data?.avatar\"></nz-avatar></li>\n <li>{{data.code}}</li>\n <li>{{data?.name}}</li>\n <li>{{data?.departmentInfo?.name}}</li>\n <li>{{data?.positionInfo?.name}}</li>\n <li>\n 汇报人:\n <label>\n <ng-container *ngIf=\"data?.reportTo?.name!!;else tmpLabel\"> {{data?.reportTo?.name}} </ng-container>\n </label>\n </li>\n </ul>\n </div>\n </ng-container>\n <ng-container *ngSwitchCase=\"'large'\">\n <div class=\"user-card large\">\n <div class=\"photo\">\n <nz-avatar [nzSize]=\"80\" nzIcon=\"user\" [nzSrc]=\"data?.avatar\"></nz-avatar>\n </div>\n <div class=\"other\">\n <div class=\"name\">{{data?.name}}</div>\n <div class=\"info\">\n <ul>\n <li>{{data.code}}</li>\n <li>{{data?.departmentInfo?.name}}</li>\n <li>{{data?.positionInfo?.name}}</li>\n </ul>\n </div>\n <div class=\"report\">汇报人:<label>{{data?.reportTo?.name}}</label></div>\n </div>\n </div>\n </ng-container>\n <ng-container *ngSwitchCase=\"'mini'\">\n <div class=\"user-card mini\">\n <div class=\"photo\">\n <nz-avatar [nzSize]=\"36\" nzIcon=\"user\" [nzSrc]=\"data?.avatar\"></nz-avatar>\n </div>\n <div class=\"other\">\n <div class=\"name\">{{data?.name}}</div>\n <div class=\"name\">{{data?.positionInfo?.name}}</div>\n </div>\n </div>\n </ng-container>\n <ng-container *ngSwitchDefault>\n <div class=\"user-card\">\n <div class=\"photo\">\n <nz-avatar [nzSize]=\"52\" nzIcon=\"user\" [nzSrc]=\"data?.avatar\"></nz-avatar>\n </div>\n <div class=\"other\">\n <div class=\"name\">{{data?.code}}</div>\n <div class=\"name\">{{data?.name}}</div>\n <!-- <div class=\"report\">汇报人:<label>{{data?.reportTo?.name}}</label></div> -->\n </div>\n </div>\n </ng-container>\n</ng-container>\n\n<ng-template #tmpLabel>--</ng-template>\n\n<ng-content></ng-content>\n","import { NgModule } from '@angular/core';\n\nimport { GramDeonCardUserComponent } from './default/index';\n\nconst components: any[] = [GramDeonCardUserComponent];\n\n@NgModule({\n imports: [...components],\n exports: [...components],\n})\nexport class GramDeonCardUserModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;MAgBa,yBAAyB,CAAA;IAC3B,IAAI,GAAQ,EAAE;IACd,IAAI,GAAW,EAAE;AAC1B,IAAA,WAAA,GAAA;AAEA,IAAA,QAAQ;AAER,IAAA,IAAI,OAAO,GAAA;QACT,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;AAClC,YAAA,OAAO,IAAI,CAAC,IAAI,CAAC,OAAO;;AAE1B,QAAA,OAAO,2BAA2B;;wGAXzB,yBAAyB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;4FAAzB,yBAAyB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,gBAAA,EAAA,MA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