st-comp 0.0.251 → 0.0.253
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 -3
- package/es/VarietyAiHelper.js +371 -206
- package/es/aiTools.js +57 -17
- package/es/style.css +1 -1
- package/lib/aiTools.js +57 -17
- package/lib/bundle.js +1 -1
- package/lib/bundle.umd.cjs +163 -162
- package/lib/{index-013031db.js → index-0dab5f01.js} +19172 -19008
- package/lib/{python-693b64f2.js → python-1a46034d.js} +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/packages/VarietyAiHelper/index.vue +319 -81
- package/public/aiTools.js +57 -17
- package/src/pages/VarietySearch/index.vue +11 -7
|
@@ -112,10 +112,14 @@ const actionState = (...args) => {
|
|
|
112
112
|
};
|
|
113
113
|
// 品种池参数解析助手的回调
|
|
114
114
|
const varietyAiHelperCallBack = (data) => {
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
115
|
+
if (typeof data === "string") {
|
|
116
|
+
return;
|
|
117
|
+
} else {
|
|
118
|
+
// 重置
|
|
119
|
+
varietySearchRef.value.reset();
|
|
120
|
+
// 参数合并
|
|
121
|
+
varietySearchData.value = { ...varietySearchData.value, ...data };
|
|
122
|
+
}
|
|
119
123
|
};
|
|
120
124
|
|
|
121
125
|
onMounted(async () => {
|
|
@@ -226,9 +230,9 @@ watch(
|
|
|
226
230
|
@actionState="actionState"
|
|
227
231
|
/>
|
|
228
232
|
<div>
|
|
229
|
-
<div style="font-size: 14px; display: flex
|
|
230
|
-
<pre style="flex: 1
|
|
231
|
-
<pre style="flex: 0.5
|
|
233
|
+
<div style="font-size: 14px; display: flex">
|
|
234
|
+
<pre style="flex: 1">前端组件参数: {{ varietySearchData }}</pre>
|
|
235
|
+
<pre style="flex: 0.5">后端接口参数: {{ apiParams }}</pre>
|
|
232
236
|
</div>
|
|
233
237
|
<el-table
|
|
234
238
|
ref="multipleTableRef"
|