From 50ef1752b263a76691234d4df612269cbef2f060 Mon Sep 17 00:00:00 2001
From: wangting <675591594@qq.com>
Date: 星期一, 17 七月 2023 09:40:28 +0800
Subject: [PATCH] 丢失文件
---
Source/UBCS-WEB/src/components/code-dialog-page/formulaEditor.vue | 28 +++++++++++++++++-----------
1 files changed, 17 insertions(+), 11 deletions(-)
diff --git a/Source/UBCS-WEB/src/components/code-dialog-page/formulaEditor.vue b/Source/UBCS-WEB/src/components/code-dialog-page/formulaEditor.vue
index dc5648d..e6e2451 100644
--- a/Source/UBCS-WEB/src/components/code-dialog-page/formulaEditor.vue
+++ b/Source/UBCS-WEB/src/components/code-dialog-page/formulaEditor.vue
@@ -312,9 +312,9 @@
:show-header="false"
style="width: 100%"
>
- <el-table-column prop="formula" width="40">
+ <el-table-column prop="formula" width="120">
</el-table-column>
- <el-table-column prop="desc" width="100"> </el-table-column>
+ <el-table-column prop="desc" width="200"> </el-table-column>
</el-table>
</el-tab-pane>
<el-tab-pane label="绯荤粺鍙橀噺" name="second">
@@ -324,9 +324,9 @@
:show-header="false"
style="width: 100%"
>
- <el-table-column prop="formula" width="150">
+ <el-table-column prop="formula" width="200">
</el-table-column>
- <el-table-column prop="desc" width="150"> </el-table-column>
+ <el-table-column prop="desc" width="200"> </el-table-column>
</el-table>
</el-tab-pane>
</el-tabs>
@@ -338,7 +338,7 @@
</el-dialog>
</template>
-
+
<script>
export default {
name: "formulaEditor",
@@ -347,6 +347,10 @@
visible: {
type: "Boolean",
default: false,
+ },
+ componentRuleText:{
+ type:String,
+ default: ""
},
//鏈満鏅彉閲�
thisSceneTableData: {
@@ -650,6 +654,9 @@
this.isShowformulaEdit = this.visible;
}
},
+ mounted() {
+ this.formulaContent=this.componentRuleText
+ },
methods: {
//鍙屽嚮娣诲姞鍏紡鍐呭
@@ -675,14 +682,14 @@
}
//鍏紡鍐呭鍥炴樉
// 瑙﹀彂update:data灏嗗瓙缁勪欢鍊间紶閫掔粰鐖剁粍浠�
- this.$emit('updateFormulaContent', this.formulaContent)
- this.isShowformulaEdit = false;
+ this.$emit('updateFormulaContent', this.formulaContent)
+ this.isShowformulaEdit = false;
},
},
};
</script>
-
+
<style scoped>
.formula-box-card >>> .el-card__body {
@@ -690,7 +697,7 @@
height: 85%;
width: 100%;
}
-
+
.formula-editor-total {
/* margin-top: 3px; */
height: 100%;
@@ -718,7 +725,7 @@
height: auto;
justify-content: space-between;
align-items: center;
- }
+ }
.formula-editor-btn-sm {
width: 4.5vw;
@@ -732,4 +739,3 @@
}
</style>
-
\ No newline at end of file
--
Gitblit v1.9.3