st-comp 0.0.161 → 0.0.162
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/VarietySearch.cjs +3 -3
- package/es/VarietySearch.js +1268 -1265
- package/es/style.css +1 -1
- package/lib/bundle.js +1 -1
- package/lib/bundle.umd.cjs +48 -48
- package/lib/{index-c0cfb828.js → index-da59de56.js} +1406 -1403
- package/lib/{python-4a34bda1.js → python-fd2895f4.js} +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/packages/VarietySearch/components/FactorScreen/ScriptSelect.vue +7 -4
- package/packages/VarietySearch/components/FactorScreen/index.vue +4 -1
package/package.json
CHANGED
|
@@ -12,6 +12,7 @@ const dialogRight = ref((window.innerWidth - 1000) / 2 > 0 ? (window.innerWidth
|
|
|
12
12
|
|
|
13
13
|
const editorRef = ref(null); // 编辑器Ref
|
|
14
14
|
const visible = ref(false);
|
|
15
|
+
const zIndex = ref(0)
|
|
15
16
|
|
|
16
17
|
const varName = ref(null);
|
|
17
18
|
const varList = ref([]);
|
|
@@ -89,12 +90,13 @@ const handleInsetVarContent = (configList) => {
|
|
|
89
90
|
};
|
|
90
91
|
|
|
91
92
|
onMounted(async () => {
|
|
92
|
-
const { body } = await stConfig.request.post('/common/conf/queryAllBackVariables', { useCase: "
|
|
93
|
+
const { body } = await stConfig.request.post('/common/conf/queryAllBackVariables', { useCase: "1" });
|
|
93
94
|
varList.value = body;
|
|
94
95
|
});
|
|
95
96
|
defineExpose({
|
|
96
|
-
open: (editor) => {
|
|
97
|
+
open: (editor, newZIndex) => {
|
|
97
98
|
editorRef.value = editor;
|
|
99
|
+
zIndex.value = newZIndex
|
|
98
100
|
visible.value = true;
|
|
99
101
|
// 支持拖拽
|
|
100
102
|
const dragArea = document.querySelector("body");
|
|
@@ -126,7 +128,7 @@ defineExpose({
|
|
|
126
128
|
v-show="visible"
|
|
127
129
|
class="var-select-dialog"
|
|
128
130
|
ref="dialogRef"
|
|
129
|
-
:style="{ right: `${dialogRight}px`, top: `${dialogTop}px
|
|
131
|
+
:style="{ right: `${dialogRight}px`, top: `${dialogTop}px`, zIndex }"
|
|
130
132
|
>
|
|
131
133
|
<div class="custom-header">
|
|
132
134
|
<div class="left">
|
|
@@ -240,9 +242,10 @@ defineExpose({
|
|
|
240
242
|
box-sizing: border-box;
|
|
241
243
|
box-shadow: var(--el-box-shadow-light);
|
|
242
244
|
background-color: var(--el-bg-color);
|
|
243
|
-
z-index:
|
|
245
|
+
z-index: 3000;
|
|
244
246
|
position: fixed;
|
|
245
247
|
.custom-header {
|
|
248
|
+
z-index: 4000;
|
|
246
249
|
display: flex;
|
|
247
250
|
align-items: center;
|
|
248
251
|
justify-content: space-between;
|
|
@@ -234,7 +234,9 @@ const handleDeleteTag = (aciton, index) => {
|
|
|
234
234
|
|
|
235
235
|
// 打开变量选择器
|
|
236
236
|
const open = () => {
|
|
237
|
-
|
|
237
|
+
const zIndex = document.getElementsByClassName('factor-dialog')?.[0]?.style?.zIndex;
|
|
238
|
+
console.log(zIndex)
|
|
239
|
+
scriptSelectRef.value.open(monacoEditorRef.value, zIndex);
|
|
238
240
|
}
|
|
239
241
|
</script>
|
|
240
242
|
|
|
@@ -303,6 +305,7 @@ const open = () => {
|
|
|
303
305
|
</div>
|
|
304
306
|
<!-- 因子筛选弹窗 -->
|
|
305
307
|
<el-dialog
|
|
308
|
+
modal-class="factor-dialog"
|
|
306
309
|
v-model="visible"
|
|
307
310
|
width="1000"
|
|
308
311
|
align-center
|