From 4470052c3b6bdeb18e45987f8aa293d1e93d0552 Mon Sep 17 00:00:00 2001
From: Ludc <2870569285@qq.com>
Date: 星期二, 18 十一月 2025 11:59:12 +0800
Subject: [PATCH] 所有文件上传接口增加文件安全校验逻辑。
---
Source/UBCS-WEB/src/components/Theme/ThemeAttrCrud.vue | 27 +++++++++++++++++++++------
1 files changed, 21 insertions(+), 6 deletions(-)
diff --git a/Source/UBCS-WEB/src/components/Theme/ThemeAttrCrud.vue b/Source/UBCS-WEB/src/components/Theme/ThemeAttrCrud.vue
index 2a101b6..bfa9643 100644
--- a/Source/UBCS-WEB/src/components/Theme/ThemeAttrCrud.vue
+++ b/Source/UBCS-WEB/src/components/Theme/ThemeAttrCrud.vue
@@ -328,6 +328,7 @@
</template>
</avue-crud>
<div slot="footer" class="dialog-footer">
+ <el-button type="info" @click="sysClear">娓呯┖</el-button>
<el-button type="primary" @click="sysnonymSubmit">纭畾</el-button>
<el-button @click="sysnonymCancel">鍙栨秷</el-button>
</div>
@@ -875,7 +876,7 @@
},
{
label: "鍙",
- prop: "readonlyFlag",
+ prop: "readOnlyFlag",
},
{
label: "鍒楄〃鎺掑簭",
@@ -1385,7 +1386,7 @@
},
{
label: "鍙",
- prop: "readonlyFlag",
+ prop: "readOnlyFlag",
cell: false,
edit: "switch"
},
@@ -1397,7 +1398,7 @@
},
{
label: "澶氳鏂囨湰",
- prop: "textareaFlag",
+ prop: "textAreaFlag",
cell: false,
edit: "switch"
},
@@ -1612,13 +1613,13 @@
value: 'tableDisplayFlag',
label: '鍒楄〃鏄剧ず'
}, {
- value: 'readonlyFlag',
+ value: 'readOnlyFlag',
label: '鍙'
}, {
value: 'sortAttrFlag',
label: '鍒楄〃鎺掑簭'
}, {
- value: 'textareaFlag',
+ value: 'textAreaFlag',
label: '澶氳鏂囨湰'
}, {
value: 'imageFlag',
@@ -1697,12 +1698,17 @@
this.$set(this.CurrentCell, 'sysonymRuleOids', newString)
//text
this.$set(this.CurrentCell, 'sysonymRuleOidsText', newStringName)
+ this.$set(this.CurrentCell, 'sysonymRuleOidsData', this.sysSelectData)
this.AddCellFlag = true;
this.synonymVisible = false;
}
},
+ sysClear(){
+ this.CurrentCell.sysonymRuleOidsText = "";
+ this.CurrentCell.sysonymRuleOidsData = "";
+ this.AddCellFlag = true;
+ },
sysChange(row) {
- console.log(row)
this.sysSelectData = row;
},
//鏂板鎼滅储
@@ -1969,6 +1975,7 @@
//琛ㄦ牸琛岀紪杈�
handleCellClicks(row, column) {
if (this.editOpenFlag) {
+ this.AddCellFlag = false;
this.editingRows = row;
this.editShows = column.property;
this.rowOid = row.oid;
@@ -2043,6 +2050,7 @@
}).catch(() => {
this.$message.error('璇锋鏌ユ帶鍒跺彴閿欒淇℃伅锛�')
})
+
this.synonymVisible = true;
}
};
@@ -2347,6 +2355,13 @@
</script>
<style lang="scss" scoped>
+
+/deep/ .el-table__fixed-body-wrapper {
+ .el-table__body {
+ padding-bottom: 15px;
+ }
+}
+
//鍥哄畾鍒楅珮搴�
/deep/ .el-table__fixed {
height: calc(100vh - 618px) !important;
--
Gitblit v1.10.0