pcm-agents 0.6.56 → 0.6.57
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/dist/cjs/components-position-selector_28.cjs.entry.js +12 -3
- package/dist/cjs/components-position-selector_28.cjs.entry.js.map +1 -1
- package/dist/cjs/{index-CcCXvo_y.js → index-BvjNanwU.js} +3 -3
- package/dist/cjs/{index-CcCXvo_y.js.map → index-BvjNanwU.js.map} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/oem-htws-modal.cjs.entry.js +1 -1
- package/dist/cjs/oem-jd-modal.cjs.entry.js +2 -2
- package/dist/cjs/oem-jlpp-modal.cjs.entry.js +1 -1
- package/dist/cjs/oem-jlsx-modal.cjs.entry.js +4 -2
- package/dist/cjs/oem-jlsx-modal.cjs.entry.js.map +1 -1
- package/dist/cjs/oem-jlsx-modal.entry.cjs.js.map +1 -1
- package/dist/cjs/oem-mnct-modal.cjs.entry.js +1 -1
- package/dist/cjs/oem-qgqjl-modal.cjs.entry.js +1 -1
- package/dist/cjs/oem-zygh-modal.cjs.entry.js +1 -1
- package/dist/cjs/pcm-hr-chat-modal.cjs.entry.js +2 -2
- package/dist/cjs/pcm-jlzz-modal.cjs.entry.js +2 -2
- package/dist/cjs/pcm-mnms-modal.cjs.entry.js +1 -1
- package/dist/cjs/{sentry-reporter-DMWT7jVY.js → sentry-reporter-CJbWEWzX.js} +3 -3
- package/dist/cjs/{sentry-reporter-DMWT7jVY.js.map → sentry-reporter-CJbWEWzX.js.map} +1 -1
- package/dist/collection/components/oem-jlsx-modal/oem-jlsx-modal.js +2 -0
- package/dist/collection/components/oem-jlsx-modal/oem-jlsx-modal.js.map +1 -1
- package/dist/collection/components/pcm-jlsx-modal/pcm-jlsx-modal.js +10 -1
- package/dist/collection/components/pcm-jlsx-modal/pcm-jlsx-modal.js.map +1 -1
- package/dist/components/components-position-selector.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/oem-htws-modal.js +6 -6
- package/dist/components/oem-jd-modal.js +4 -4
- package/dist/components/oem-jlpp-modal.js +8 -8
- package/dist/components/oem-jlsx-modal.js +8 -6
- package/dist/components/oem-jlsx-modal.js.map +1 -1
- package/dist/components/oem-jlzz-modal.js +6 -6
- package/dist/components/oem-mnct-modal.js +8 -8
- package/dist/components/oem-mnms-modal.js +9 -9
- package/dist/components/oem-qgqjl-modal.js +8 -8
- package/dist/components/oem-zygh-modal.js +6 -6
- package/dist/components/{p-C-a2THrI.js → p-2yhL6ViN.js} +3 -3
- package/dist/components/{p-C-a2THrI.js.map → p-2yhL6ViN.js.map} +1 -1
- package/dist/components/{p-CVDMbThn.js → p-BMVsENNy.js} +3 -3
- package/dist/components/{p-CVDMbThn.js.map → p-BMVsENNy.js.map} +1 -1
- package/dist/components/{p-DziULO-a.js → p-Bf58dSxR.js} +4 -4
- package/dist/components/{p-DziULO-a.js.map → p-Bf58dSxR.js.map} +1 -1
- package/dist/components/{p-BdmXpasb.js → p-BmkwVnH6.js} +3 -3
- package/dist/components/{p-BdmXpasb.js.map → p-BmkwVnH6.js.map} +1 -1
- package/dist/components/{p-wslHNcL4.js → p-BmtmdULA.js} +3 -3
- package/dist/components/{p-wslHNcL4.js.map → p-BmtmdULA.js.map} +1 -1
- package/dist/components/{p-DD-6ew-4.js → p-BzAcCZXY.js} +5 -5
- package/dist/components/{p-DD-6ew-4.js.map → p-BzAcCZXY.js.map} +1 -1
- package/dist/components/{p-Q88r_8Gg.js → p-CVv3qB1O.js} +3 -3
- package/dist/components/{p-Q88r_8Gg.js.map → p-CVv3qB1O.js.map} +1 -1
- package/dist/components/{p-Bw_dWQwS.js → p-D4XQdFZN.js} +3 -3
- package/dist/components/{p-Bw_dWQwS.js.map → p-D4XQdFZN.js.map} +1 -1
- package/dist/components/{p-BaQbvYol.js → p-DGzS1ZEI.js} +3 -3
- package/dist/components/{p-BaQbvYol.js.map → p-DGzS1ZEI.js.map} +1 -1
- package/dist/components/{p-yajHmqCp.js → p-DUH2pz9A.js} +3 -3
- package/dist/components/{p-yajHmqCp.js.map → p-DUH2pz9A.js.map} +1 -1
- package/dist/components/pcm-1zhanshi-mnms-modal.js +5 -5
- package/dist/components/pcm-app-chat-modal.js +1 -1
- package/dist/components/pcm-card.js +1 -1
- package/dist/components/pcm-chat-message.js +1 -1
- package/dist/components/pcm-digital-human.js +1 -1
- package/dist/components/pcm-export-records-modal.js +1 -1
- package/dist/components/pcm-hr-chat-modal.js +2 -2
- package/dist/components/pcm-htws-modal.js +7 -7
- package/dist/components/pcm-hyzj-modal.js +4 -4
- package/dist/components/pcm-jd-modal.js +4 -4
- package/dist/components/pcm-jlpp-modal.js +7 -7
- package/dist/components/pcm-jlsx-modal.js +15 -6
- package/dist/components/pcm-jlsx-modal.js.map +1 -1
- package/dist/components/pcm-jlzz-modal.js +6 -6
- package/dist/components/pcm-mnct-modal.js +4 -4
- package/dist/components/pcm-mnms-modal.js +8 -8
- package/dist/components/pcm-mnms-zp-modal.js +8 -8
- package/dist/components/pcm-mobile-input-btn.js +1 -1
- package/dist/components/pcm-mobile-upload-btn.js +1 -1
- package/dist/components/pcm-msbg-modal.js +4 -4
- package/dist/components/pcm-qgqjl-modal.js +7 -7
- package/dist/components/pcm-upload.js +1 -1
- package/dist/components/pcm-virtual-chat-modal.js +1 -1
- package/dist/components/pcm-zsk-chat-modal.js +2 -2
- package/dist/components/pcm-zygh-modal.js +6 -6
- package/dist/esm/components-position-selector_28.entry.js +12 -3
- package/dist/esm/components-position-selector_28.entry.js.map +1 -1
- package/dist/esm/{index-CQfm-qzk.js → index-DIpM8KqL.js} +3 -3
- package/dist/esm/{index-CQfm-qzk.js.map → index-DIpM8KqL.js.map} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/oem-htws-modal.entry.js +1 -1
- package/dist/esm/oem-jd-modal.entry.js +2 -2
- package/dist/esm/oem-jlpp-modal.entry.js +1 -1
- package/dist/esm/oem-jlsx-modal.entry.js +4 -2
- package/dist/esm/oem-jlsx-modal.entry.js.map +1 -1
- package/dist/esm/oem-mnct-modal.entry.js +1 -1
- package/dist/esm/oem-qgqjl-modal.entry.js +1 -1
- package/dist/esm/oem-zygh-modal.entry.js +1 -1
- package/dist/esm/pcm-hr-chat-modal.entry.js +2 -2
- package/dist/esm/pcm-jlzz-modal.entry.js +2 -2
- package/dist/esm/pcm-mnms-modal.entry.js +1 -1
- package/dist/esm/{sentry-reporter-Be6C7NZA.js → sentry-reporter-CCZen8iB.js} +3 -3
- package/dist/esm/{sentry-reporter-Be6C7NZA.js.map → sentry-reporter-CCZen8iB.js.map} +1 -1
- package/dist/pcm-agents/index.esm.js +1 -1
- package/dist/pcm-agents/oem-jlsx-modal.entry.esm.js.map +1 -1
- package/dist/pcm-agents/{p-93f470fc.entry.js → p-3316eaf0.entry.js} +2 -2
- package/dist/pcm-agents/{p-dad381f7.entry.js → p-37312af4.entry.js} +2 -2
- package/dist/pcm-agents/{p-b484efd9.entry.js → p-3c8b8595.entry.js} +2 -2
- package/dist/pcm-agents/{p-ee8da10a.entry.js → p-49707196.entry.js} +2 -2
- package/dist/pcm-agents/{p-BRs78Cht.js → p-4VtQBesW.js} +2 -2
- package/dist/pcm-agents/{p-BRs78Cht.js.map → p-4VtQBesW.js.map} +1 -1
- package/dist/pcm-agents/{p-3b546a40.entry.js → p-4b88f47d.entry.js} +2 -2
- package/dist/pcm-agents/{p-3b546a40.entry.js.map → p-4b88f47d.entry.js.map} +1 -1
- package/dist/pcm-agents/{p-d085b9ae.entry.js → p-959f3b2c.entry.js} +2 -2
- package/dist/pcm-agents/{p-DtYhJGfG.js → p-Ba_QP23f.js} +2 -2
- package/dist/pcm-agents/{p-DtYhJGfG.js.map → p-Ba_QP23f.js.map} +1 -1
- package/dist/pcm-agents/{p-a8e2e8a3.entry.js → p-dac95c37.entry.js} +2 -2
- package/dist/pcm-agents/{p-26627ef0.entry.js → p-db17468f.entry.js} +2 -2
- package/dist/pcm-agents/{p-7396cfa7.entry.js → p-de6feb8d.entry.js} +2 -2
- package/dist/pcm-agents/{p-c685c99f.entry.js → p-df76965b.entry.js} +2 -2
- package/dist/pcm-agents/{p-523f2fe0.entry.js → p-eebacc72.entry.js} +2 -2
- package/dist/pcm-agents/pcm-agents.esm.js +1 -1
- package/dist/types/components/pcm-jlsx-modal/pcm-jlsx-modal.d.ts +4 -0
- package/package.json +1 -1
- /package/dist/pcm-agents/{p-93f470fc.entry.js.map → p-3316eaf0.entry.js.map} +0 -0
- /package/dist/pcm-agents/{p-dad381f7.entry.js.map → p-37312af4.entry.js.map} +0 -0
- /package/dist/pcm-agents/{p-b484efd9.entry.js.map → p-3c8b8595.entry.js.map} +0 -0
- /package/dist/pcm-agents/{p-ee8da10a.entry.js.map → p-49707196.entry.js.map} +0 -0
- /package/dist/pcm-agents/{p-d085b9ae.entry.js.map → p-959f3b2c.entry.js.map} +0 -0
- /package/dist/pcm-agents/{p-a8e2e8a3.entry.js.map → p-dac95c37.entry.js.map} +0 -0
- /package/dist/pcm-agents/{p-26627ef0.entry.js.map → p-db17468f.entry.js.map} +0 -0
- /package/dist/pcm-agents/{p-7396cfa7.entry.js.map → p-de6feb8d.entry.js.map} +0 -0
- /package/dist/pcm-agents/{p-c685c99f.entry.js.map → p-df76965b.entry.js.map} +0 -0
- /package/dist/pcm-agents/{p-523f2fe0.entry.js.map → p-eebacc72.entry.js.map} +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-C_qhED9Z.js');
|
|
4
|
-
var index$1 = require('./index-
|
|
4
|
+
var index$1 = require('./index-BvjNanwU.js');
|
|
5
5
|
var message_service = require('./message.service-DGUsA-FY.js');
|
|
6
6
|
var errorEvent = require('./error-event-J_ZWIqWF.js');
|
|
7
7
|
var messageUtils = require('./message-utils-pPGi8R71.js');
|
|
8
|
-
var sentryReporter = require('./sentry-reporter-
|
|
8
|
+
var sentryReporter = require('./sentry-reporter-CJbWEWzX.js');
|
|
9
9
|
require('./exports-Dc-pQh4A.js');
|
|
10
10
|
|
|
11
11
|
const componentsPositionSelectorCss = ":host{display:block;width:100%;height:100%}.position-selector-container{display:flex;flex-direction:column;width:100%;height:100%;background:#fff}.search-bar{display:flex;align-items:center;gap:12px;padding:16px;border-bottom:1px solid #f0f0f0;flex-shrink:0}.search-input-wrapper{position:relative;display:flex;align-items:center;flex:1;min-width:200px;max-width:500px}.search-icon{position:absolute;left:12px;color:#bfbfbf;pointer-events:none}.search-input{width:100%;height:36px;padding:4px 36px 4px 36px;font-size:14px;line-height:1.5;color:rgba(0, 0, 0, 0.85);background-color:#fff;background-image:none;border:1px solid #d9d9d9;border-radius:6px;transition:all 0.3s;outline:none}.search-input:hover{border-color:#40a9ff}.search-input:focus{border-color:#40a9ff;box-shadow:0 0 0 2px rgba(24, 144, 255, 0.2)}.search-input::placeholder{color:#bfbfbf}.clear-button{position:absolute;right:12px;background:none;border:none;padding:4px;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#bfbfbf;transition:color 0.3s}.clear-button:hover{color:#8c8c8c}.search-button{padding:4px 15px;height:36px;font-size:14px;line-height:1.5;border-radius:6px;color:#fff;background-color:#1890ff;border:1px solid #1890ff;cursor:pointer;transition:all 0.3s;outline:none;white-space:nowrap;flex-shrink:0}.search-button:hover{background-color:#40a9ff;border-color:#40a9ff}.search-button:active{background-color:#096dd9;border-color:#096dd9}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px;gap:16px;color:#8c8c8c}.loading-spinner{width:32px;height:32px;border:3px solid #f0f0f0;border-top-color:#1890ff;border-radius:50%;animation:spin 0.8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.empty-container{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px;gap:16px}.empty-icon{opacity:0.5}.empty-text{margin:0;color:#8c8c8c;font-size:14px}.position-list{flex:1;overflow-y:auto;min-height:0}.table-container{width:100%;overflow-x:auto}.position-table{width:100%;border-collapse:collapse;font-size:14px}.position-table thead{background-color:#fafafa;position:sticky;top:0;z-index:1}.position-table th{padding:12px 16px;text-align:left;font-weight:500;color:rgba(0, 0, 0, 0.85);border-bottom:1px solid #f0f0f0;white-space:nowrap}.position-table td{padding:12px 16px;border-bottom:1px solid #f0f0f0;color:rgba(0, 0, 0, 0.65)}.position-table tbody tr{transition:background-color 0.3s}.position-table tbody tr:hover{background-color:#fafafa}.position-table tbody tr.selected-row{background-color:#e6f7ff}.checkbox-column{width:50px;text-align:center}.title-column{min-width:150px;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.company-column{min-width:120px;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.location-column{min-width:100px;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.requirements-column{min-width:200px;max-width:300px}.requirements-text{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;white-space:normal;word-break:break-word;line-height:1.5}.salary-column{min-width:100px;white-space:nowrap}.action-column{width:100px;text-align:center}.position-checkbox{width:16px;height:16px;cursor:pointer;accent-color:#1890ff}.select-button{padding:4px 15px;height:28px;font-size:14px;line-height:1.5;border-radius:6px;color:#fff;background-color:#1890ff;border:1px solid #1890ff;cursor:pointer;transition:all 0.3s;outline:none}.select-button:hover{background-color:#40a9ff;border-color:#40a9ff}.select-button:active{background-color:#096dd9;border-color:#096dd9}@media screen and (max-width: 768px){.search-bar{padding:12px;gap:8px}.search-input-wrapper{min-width:auto;max-width:none}.search-input{height:40px;font-size:16px}.search-button{height:40px;padding:4px 12px}.table-container{overflow-x:auto;-webkit-overflow-scrolling:touch}.position-table{font-size:12px}.position-table th,.position-table td{padding:8px 12px}.title-column,.company-column,.location-column{min-width:100px}.select-button{padding:4px 12px;height:32px;font-size:14px}}.pagination-container{display:flex;align-items:center;justify-content:center;gap:16px;padding:16px;border-top:1px solid #f0f0f0;flex-shrink:0}.pagination-button{padding:4px 15px;height:32px;font-size:14px;line-height:1.5;border-radius:6px;color:rgba(0, 0, 0, 0.85);background-color:#fff;border:1px solid #d9d9d9;cursor:pointer;transition:all 0.3s;outline:none}.pagination-button:hover:not(:disabled){color:#40a9ff;border-color:#40a9ff}.pagination-button:active:not(:disabled){color:#096dd9;border-color:#096dd9}.pagination-button:disabled{color:rgba(0, 0, 0, 0.25);background-color:#f5f5f5;border-color:#d9d9d9;cursor:not-allowed}.pagination-info{font-size:14px;color:rgba(0, 0, 0, 0.65)}.position-list::-webkit-scrollbar{width:8px;height:8px}.position-list::-webkit-scrollbar-track{background:#f1f1f1}.position-list::-webkit-scrollbar-thumb{background:#888;border-radius:4px}.position-list::-webkit-scrollbar-thumb:hover{background:#555}";
|
|
@@ -6239,7 +6239,7 @@ const JlsxModal = class {
|
|
|
6239
6239
|
} })), index.h("textarea", { id: "job-description", class: "job-description-textarea", placeholder: "\u8BF7\u8F93\u5165\u804C\u4F4D\u63CF\u8FF0\uFF0C\u5305\u62EC\u804C\u8D23\u3001\u8981\u6C42\u7B49\u4FE1\u606F...", rows: 6, value: this.jobDescription, onInput: this.handleJobDescriptionChange })), index.h("div", { class: "criteria-input-section" }, index.h("div", { class: "criteria-header" }, index.h("label", { htmlFor: "evaluation-criteria" }, "\u8BC4\u5206\u6807\u51C6"), index.h("div", { class: "criteria-actions" }, index.h("span", { class: `total-weight ${this.getTotalWeight() !== 100 ? 'invalid' : ''}` }, "\u603B\u6743\u91CD: ", this.getTotalWeight(), "%"), index.h("button", { type: "button", class: "add-criteria-btn", onClick: this.addEvaluationCriteria }, "+ \u6DFB\u52A0\u6807\u51C6"))), index.h("div", { class: "criteria-table-container" }, index.h("table", { class: "criteria-table" }, index.h("thead", null, index.h("tr", null, index.h("th", { style: { width: '25%' } }, "\u6807\u51C6\u540D\u79F0"), index.h("th", { style: { width: '15%' } }, "\u6743\u91CD(%)"), index.h("th", { style: { width: '50%' } }, "\u63CF\u8FF0"), index.h("th", { style: { width: '10%' } }, "\u64CD\u4F5C"))), index.h("tbody", null, this.evaluationCriteria.map((criteria, index$1) => (index.h("tr", { key: index$1 }, index.h("td", null, index.h("input", { type: "text", class: "criteria-name-input", placeholder: "\u8BF7\u8F93\u5165\u6807\u51C6\u540D\u79F0", value: criteria.name, onInput: (e) => this.handleEvaluationCriteriaNameChange(index$1, e.target.value) })), index.h("td", null, index.h("input", { type: "number", class: "criteria-value-input", placeholder: "0", min: "0", max: "100", value: criteria.value, onInput: (e) => this.handleEvaluationCriteriaValueChange(index$1, e.target.value) })), index.h("td", null, index.h("textarea", { class: "criteria-description-input", placeholder: "\u8BF7\u8F93\u5165\u8BC4\u5206\u6807\u51C6\u63CF\u8FF0", rows: 2, value: criteria.description, onInput: (e) => this.handleEvaluationCriteriaDescriptionChange(index$1, e.target.value) })), index.h("td", null, index.h("button", { type: "button", class: "remove-criteria-btn", disabled: this.evaluationCriteria.length <= 1, onClick: () => this.removeEvaluationCriteria(index$1), title: this.evaluationCriteria.length <= 1 ? '至少需要保留一个评分标准' : '删除此标准' }, "\u00D7")))))))), this.getTotalWeight() !== 100 && (index.h("p", { class: "criteria-warning" }, "\u26A0\uFE0F \u6743\u91CD\u603B\u548C\u5E94\u4E3A100%\uFF0C\u5F53\u524D\u4E3A", this.getTotalWeight(), "%"))), index.h("button", { class: "submit-button", disabled: !this.jobDescription.trim() || this.evaluationCriteria.length === 0 || this.getTotalWeight() !== 100 || this.isSubmitting, onClick: this.handleCreateTask }, this.isSubmitting ? '创建中...' : '创建任务'), index.h("div", { class: "ai-disclaimer" }, index.h("p", null, "\u6240\u6709\u5185\u5BB9\u5747\u7531AI\u751F\u6210\u4EC5\u4F9B\u53C2\u8003"), index.h("p", { class: "beian-info" }, index.h("span", null, "\u4E2D\u592E\u7F51\u4FE1\u529E\u751F\u6210\u5F0F\u4EBA\u5DE5\u667A\u80FD\u670D\u52A1\u5907\u6848\u53F7"), "\uFF1A", index.h("a", { href: "https://www.pincaimao.com", target: "_blank", rel: "noopener noreferrer" }, "Hunan-PinCaiMao-202412310003")))));
|
|
6240
6240
|
}
|
|
6241
6241
|
renderTaskStep() {
|
|
6242
|
-
return (index.h("div", { class: "task-container" }, index.h("div", { class: "task-info-section" }, index.h("div", { class: "info-cards" }, index.h("div", { class: "info-card" }, index.h("div", { class: "card-header", onClick: this.toggleJdDetail }, index.h("span", { class: "card-title" }, "\u804C\u4F4D\u63CF\u8FF0"), index.h("button", { class: "toggle-btn" }, "\u67E5\u770B")), index.h("div", { class: "card-preview" }, index.h("p", { class: "preview-text" }, this.jobDescription))), index.h("div", { class: "info-card" }, index.h("div", { class: "card-header", onClick: this.toggleCriteriaDetail }, index.h("span", { class: "card-title" }, "\u8BC4\u5206\u6807\u51C6"), index.h("button", { class: "toggle-btn" }, "\u67E5\u770B")), index.h("div", { class: "card-preview" }, index.h("p", { class: "preview-text" }, this.getEvaluationCriteriaText()))))), index.h("div", { class: "upload-section" }, index.h("div", { class: "section-header" }, index.h("h4", null, "\u4E0A\u4F20\u7B80\u5386")), index.h("pcm-upload", { ref: (el) => this.pcmUploadRef = el, multiple: true, maxFileSize: 15 * 1024 * 1024, acceptFileSuffixList: ['.pdf', '.doc', '.docx', '.txt', '.md', '.ppt', '.pptx', '.jpg', '.jpeg', '.png'], mobileUploadAble: this.mobileUploadAble, uploadParams: { tags: ['resume'] }, onUploadChange: this.handleUploadChange }), index.h("div", { class: "upload-actions" }, this.uploadedResumeRecords.some(record => record.evaluate_status !== 1 && record.evaluate_status !== 0) && (index.h("button", { class: "analyze-btn", onClick: this.handleStartAnalysis }, `开始分析 (${this.uploadedResumeRecords.filter(record => record.evaluate_status !== 1 && record.evaluate_status !== 0).length} 个待分析)`)))), index.h("div", { class: "resume-table-section" }, index.h("div", { class: "section-header" }, index.h("h4", null, "\u7B80\u5386\u5217\u8868"), index.h("div", { class: "section-header-side" }, this.showBatchExport && !!this.resumeRecords?.find(item => item.evaluate_status == 1) && index.h("div", { class: "export-actions" }, index.h("div", { class: "export-btn", onClick: this.exportAllPDF }, index.h("span", null, "\u6279\u91CF\u5BFC\u51FA\u62A5\u544A")), index.h("div", { class: "export-divide" }), index.h("div", { class: "export-btn", onClick: this.handleExportRecordsClick }, "\u5BFC\u51FA\u8BB0\u5F55")), index.h("span", { class: "record-count" }, "\u5DF2\u7B5B\u9009 ", this.totalRecords, " \u6761\u8BB0\u5F55"))), index.h("div", { class: "table-container" }, index.h("table", { class: "resume-table" }, index.h("thead", null, index.h("tr", null, index.h("th", null, "\u7B80\u5386\u6587\u4EF6\u540D"), index.h("th", null, "\u4EBA\u624D\u4FE1\u606F"), index.h("th", { class: `sortable-header ${this.sortOrder !== 'none' ? 'active' : ''}`, onClick: this.handleSortByScore }, index.h("span", { class: "header-content" }, "\u8BC4\u4F30\u5206\u6570", index.h("span", { class: "sort-icons" }, index.h("svg", { class: `sort-icon ${this.sortOrder === 'asc' ? 'active' : ''}`, width: "12", height: "12", viewBox: "0 0 12 12" }, index.h("path", { d: "M6 3l4 4H2z", fill: "currentColor" })), index.h("svg", { class: `sort-icon ${this.sortOrder === 'desc' ? 'active' : ''}`, width: "12", height: "12", viewBox: "0 0 12 12" }, index.h("path", { d: "M6 9L2 5h8z", fill: "currentColor" }))))), index.h("th", null, "\u8BC4\u4F30\u8BE6\u60C5"), index.h("th", null, "\u72B6\u6001"), index.h("th", null, "\u64CD\u4F5C"))), index.h("tbody", null, this.isLoadingResumeList ? (index.h("tr", null, index.h("td", { colSpan: 6, class: "empty-row" }, index.h("div", { class: "empty-state" }, index.h("div", { class: "loading-spinner-small" }), index.h("p", null, "\u6B63\u5728\u52A0\u8F7D\u7B80\u5386\u6570\u636E..."))))) : this.resumeRecords.length === 0 ? (index.h("tr", null, index.h("td", { colSpan: 6, class: "empty-row" }, index.h("div", { class: "empty-state" }, index.h("p", null, "\u6682\u65E0\u7B80\u5386\u6570\u636E"), index.h("p", { class: "empty-hint" }, "\u8BF7\u4E0A\u4F20\u7B80\u5386\u5F00\u59CB\u7B5B\u9009"))))) : (this.resumeRecords.map(record => (index.h("tr", { key: record.id }, index.h("td", { class: "filename-cell" }, index.h("span", { class: "file-icon" }, "\uD83D\uDCDD"), index.h("span", { title: record.fileName }, record.fileName)), index.h("td", { class: "talent-info-cell", title: record.talentInfo }, record.talentInfo), index.h("td", { class: "score-cell" }, index.h("span", { class: `score-badge ${this.getScoreClass(record.score)}` }, typeof record.score === 'number' ? record.score : '--')), index.h("td", { class: "detail-cell", title: record.scoreDetail }, index.h("span", { class: "detail-content", onClick: () => this.handleViewEvaluate(record) }, record.scoreDetail)), index.h("td", { class: "status-cell" }, index.h("span", { class: `status-badge status-${this.getEvaluateStatusClass(record.evaluate_status)}` }, this.getEvaluateStatusText(record.evaluate_status))), index.h("td", { class: "action-cell" }, index.h("div", { class: "action-dropdown" }, index.h("button", { class: "action-btn dropdown-trigger", onClick: (e) => {
|
|
6242
|
+
return (index.h("div", { class: "task-container" }, index.h("div", { class: "task-info-section" }, index.h("div", { class: "info-cards" }, index.h("div", { class: "info-card" }, index.h("div", { class: "card-header", onClick: this.toggleJdDetail }, index.h("span", { class: "card-title" }, "\u804C\u4F4D\u63CF\u8FF0"), index.h("button", { class: "toggle-btn" }, "\u67E5\u770B")), index.h("div", { class: "card-preview" }, index.h("p", { class: "preview-text" }, this.jobDescription))), index.h("div", { class: "info-card" }, index.h("div", { class: "card-header", onClick: this.toggleCriteriaDetail }, index.h("span", { class: "card-title" }, "\u8BC4\u5206\u6807\u51C6"), index.h("button", { class: "toggle-btn" }, "\u67E5\u770B")), index.h("div", { class: "card-preview" }, index.h("p", { class: "preview-text" }, this.getEvaluationCriteriaText()))))), index.h("div", { class: "upload-section" }, index.h("div", { class: "section-header" }, index.h("h4", null, "\u4E0A\u4F20\u7B80\u5386")), index.h("pcm-upload", { ref: (el) => this.pcmUploadRef = el, multiple: true, maxFileSize: 15 * 1024 * 1024, acceptFileSuffixList: ['.pdf', '.doc', '.docx', '.txt', '.md', '.ppt', '.pptx', '.jpg', '.jpeg', '.png'], mobileUploadAble: this.mobileUploadAble, uploadParams: { tags: ['resume'] }, onUploadChange: this.handleUploadChange }), index.h("div", { class: "upload-actions" }, this.uploadedResumeRecords.some(record => record.evaluate_status !== 1 && record.evaluate_status !== 0) && (index.h("button", { class: "analyze-btn", onClick: this.handleStartAnalysis }, `开始分析 (${this.uploadedResumeRecords.filter(record => record.evaluate_status !== 1 && record.evaluate_status !== 0).length} 个待分析)`)))), index.h("div", { class: "resume-table-section" }, index.h("div", { class: "section-header" }, index.h("h4", null, "\u7B80\u5386\u5217\u8868"), index.h("div", { class: "section-header-side" }, this.showBatchExport && !!this.resumeRecords?.find(item => item.evaluate_status == 1) && index.h("div", { class: "export-actions" }, index.h("div", { class: "export-btn", onClick: this.exportAllPDF }, index.h("span", null, "\u6279\u91CF\u5BFC\u51FA\u62A5\u544A")), index.h("div", { class: "export-divide" }), index.h("div", { class: "export-btn", onClick: this.handleExportRecordsClick }, "\u5BFC\u51FA\u8BB0\u5F55")), index.h("button", { class: "refresh-btn", onClick: this.handleRefreshTable, disabled: this.isLoadingResumeList, title: "\u5237\u65B0\u8868\u683C" }, index.h("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "currentColor", class: this.isLoadingResumeList ? 'rotating' : '' }, index.h("path", { d: "M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z" }))), index.h("span", { class: "record-count" }, "\u5DF2\u7B5B\u9009 ", this.totalRecords, " \u6761\u8BB0\u5F55"))), index.h("div", { class: "table-container" }, index.h("table", { class: "resume-table" }, index.h("thead", null, index.h("tr", null, index.h("th", null, "\u7B80\u5386\u6587\u4EF6\u540D"), index.h("th", null, "\u4EBA\u624D\u4FE1\u606F"), index.h("th", { class: `sortable-header ${this.sortOrder !== 'none' ? 'active' : ''}`, onClick: this.handleSortByScore }, index.h("span", { class: "header-content" }, "\u8BC4\u4F30\u5206\u6570", index.h("span", { class: "sort-icons" }, index.h("svg", { class: `sort-icon ${this.sortOrder === 'asc' ? 'active' : ''}`, width: "12", height: "12", viewBox: "0 0 12 12" }, index.h("path", { d: "M6 3l4 4H2z", fill: "currentColor" })), index.h("svg", { class: `sort-icon ${this.sortOrder === 'desc' ? 'active' : ''}`, width: "12", height: "12", viewBox: "0 0 12 12" }, index.h("path", { d: "M6 9L2 5h8z", fill: "currentColor" }))))), index.h("th", null, "\u8BC4\u4F30\u8BE6\u60C5"), index.h("th", null, "\u72B6\u6001"), index.h("th", null, "\u64CD\u4F5C"))), index.h("tbody", null, this.isLoadingResumeList ? (index.h("tr", null, index.h("td", { colSpan: 6, class: "empty-row" }, index.h("div", { class: "empty-state" }, index.h("div", { class: "loading-spinner-small" }), index.h("p", null, "\u6B63\u5728\u52A0\u8F7D\u7B80\u5386\u6570\u636E..."))))) : this.resumeRecords.length === 0 ? (index.h("tr", null, index.h("td", { colSpan: 6, class: "empty-row" }, index.h("div", { class: "empty-state" }, index.h("p", null, "\u6682\u65E0\u7B80\u5386\u6570\u636E"), index.h("p", { class: "empty-hint" }, "\u8BF7\u4E0A\u4F20\u7B80\u5386\u5F00\u59CB\u7B5B\u9009"))))) : (this.resumeRecords.map(record => (index.h("tr", { key: record.id }, index.h("td", { class: "filename-cell" }, index.h("span", { class: "file-icon" }, "\uD83D\uDCDD"), index.h("span", { title: record.fileName }, record.fileName)), index.h("td", { class: "talent-info-cell", title: record.talentInfo }, record.talentInfo), index.h("td", { class: "score-cell" }, index.h("span", { class: `score-badge ${this.getScoreClass(record.score)}` }, typeof record.score === 'number' ? record.score : '--')), index.h("td", { class: "detail-cell", title: record.scoreDetail }, index.h("span", { class: "detail-content", onClick: () => this.handleViewEvaluate(record) }, record.scoreDetail)), index.h("td", { class: "status-cell" }, index.h("span", { class: `status-badge status-${this.getEvaluateStatusClass(record.evaluate_status)}` }, this.getEvaluateStatusText(record.evaluate_status))), index.h("td", { class: "action-cell" }, index.h("div", { class: "action-dropdown" }, index.h("button", { class: "action-btn dropdown-trigger", onClick: (e) => {
|
|
6243
6243
|
e.stopPropagation();
|
|
6244
6244
|
this.toggleDropdown(record.id);
|
|
6245
6245
|
} }, "\u64CD\u4F5C", index.h("svg", { width: "12", height: "12", viewBox: "0 0 24 24", fill: "currentColor" }, index.h("path", { d: "M7 10l5 5 5-5z" }))), this.activeDropdownId === record.id && (index.h("div", { class: "dropdown-menu" }, index.h("div", { class: "dropdown-item", onClick: (e) => {
|
|
@@ -6309,6 +6309,13 @@ const JlsxModal = class {
|
|
|
6309
6309
|
this.currentPage = 1;
|
|
6310
6310
|
this.loadResumeList();
|
|
6311
6311
|
};
|
|
6312
|
+
/**
|
|
6313
|
+
* 刷新表格数据
|
|
6314
|
+
*/
|
|
6315
|
+
handleRefreshTable = async () => {
|
|
6316
|
+
await this.loadResumeList();
|
|
6317
|
+
messageUtils.showMessage('刷新成功', 'success');
|
|
6318
|
+
};
|
|
6312
6319
|
/**
|
|
6313
6320
|
* 加载简历列表
|
|
6314
6321
|
*/
|
|
@@ -6316,6 +6323,8 @@ const JlsxModal = class {
|
|
|
6316
6323
|
if (!this.currentTask)
|
|
6317
6324
|
return;
|
|
6318
6325
|
this.isLoadingResumeList = true;
|
|
6326
|
+
// 清空当前列表,防止累加
|
|
6327
|
+
this.filteredResumeRecords = [];
|
|
6319
6328
|
try {
|
|
6320
6329
|
const params = {
|
|
6321
6330
|
task_id: this.currentTask.id,
|