st-comp 0.0.256 → 0.0.257
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/es/VarietyAiHelper.cjs +4 -4
- package/es/VarietyAiHelper.js +57 -45
- package/es/VarietySearch.cjs +1 -1
- package/es/VarietySearch.js +5 -5
- package/es/style.css +1 -1
- package/lib/bundle.js +1 -1
- package/lib/bundle.umd.cjs +107 -107
- package/lib/{index-00866046.js → index-845576f9.js} +24 -12
- package/lib/{python-a25c0b5b.js → python-9f6f8113.js} +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/packages/VarietyAiHelper/index.vue +10 -0
- package/packages/VarietySearch/components/CompositeOrder/index.vue +3 -3
package/package.json
CHANGED
|
@@ -101,6 +101,9 @@ const handleFeedbackAction = async (action, messageIndex) => {
|
|
|
101
101
|
createTime: message.createTime,
|
|
102
102
|
resTime: message.resTime,
|
|
103
103
|
firstPackageTime: message.firstPackageTime,
|
|
104
|
+
|
|
105
|
+
isSolved: 1, // 是否解决
|
|
106
|
+
logOrigin: 1, // 日志来源
|
|
104
107
|
};
|
|
105
108
|
await stConfig.request.post("/alarm/deliversign/addVarietyAiHelperLog", params);
|
|
106
109
|
ElMessage.success("感谢您的评价!");
|
|
@@ -125,6 +128,9 @@ const handleFeedbackAction = async (action, messageIndex) => {
|
|
|
125
128
|
resTime: message.resTime,
|
|
126
129
|
createTime: message.createTime,
|
|
127
130
|
firstPackageTime: message.firstPackageTime,
|
|
131
|
+
|
|
132
|
+
isSolved: 0, // 是否解决
|
|
133
|
+
logOrigin: 1, // 日志来源
|
|
128
134
|
};
|
|
129
135
|
await stConfig.request.post("/alarm/deliversign/addVarietyAiHelperLog", params);
|
|
130
136
|
ElMessage.success("感谢您的反馈!我们将持续跟踪并进行优化");
|
|
@@ -144,6 +150,9 @@ const handleFeedbackAction = async (action, messageIndex) => {
|
|
|
144
150
|
resTime: message.resTime,
|
|
145
151
|
createTime: message.createTime,
|
|
146
152
|
firstPackageTime: message.firstPackageTime,
|
|
153
|
+
|
|
154
|
+
isSolved: 1, // 是否解决
|
|
155
|
+
logOrigin: 1, // 日志来源
|
|
147
156
|
};
|
|
148
157
|
await stConfig.request.post("/alarm/deliversign/addVarietyAiHelperLog", params);
|
|
149
158
|
}
|
|
@@ -245,6 +254,7 @@ const sendMessage = async () => {
|
|
|
245
254
|
const jsonResponse = JSON.parse(fullResponse);
|
|
246
255
|
// 切割掉parsedConditions, 这个字段仅做AI提炼展示使用
|
|
247
256
|
delete jsonResponse.parsedConditions;
|
|
257
|
+
console.log(jsonResponse)
|
|
248
258
|
emit("callBack", jsonResponse);
|
|
249
259
|
} catch (error) {
|
|
250
260
|
emit("callBack", fullResponse);
|
|
@@ -63,7 +63,7 @@ const handleAction = (action, index) => {
|
|
|
63
63
|
const { id, name, value } = compositeOrderForm.value;
|
|
64
64
|
if (!name) return ElMessage.warning("请选择需要排序的条件");
|
|
65
65
|
const { label } = compositeOrderOptions.value.find((item) => item.key === name);
|
|
66
|
-
const tagText = `${label}-${value === "asc" ? "
|
|
66
|
+
const tagText = `${label}-${value === "asc" ? "升序↑" : "降序↓"}`;
|
|
67
67
|
|
|
68
68
|
// 新增确认逻辑
|
|
69
69
|
if (id === null) {
|
|
@@ -187,11 +187,11 @@ watch(
|
|
|
187
187
|
<el-form-item label="排序方式: ">
|
|
188
188
|
<el-radio-group v-model="compositeOrderForm.value">
|
|
189
189
|
<el-radio
|
|
190
|
-
label="
|
|
190
|
+
label="升序"
|
|
191
191
|
value="asc"
|
|
192
192
|
/>
|
|
193
193
|
<el-radio
|
|
194
|
-
label="
|
|
194
|
+
label="降序"
|
|
195
195
|
value="desc"
|
|
196
196
|
/>
|
|
197
197
|
</el-radio-group>
|