From 8c168889e5ef37b4d334827108615e762511c622 Mon Sep 17 00:00:00 2001
From: zhuzhuanzhuan
Date: 星期二, 26 十二月 2023 11:39:25 +0800
Subject: [PATCH] 1、根页面网站标题由统计分析调整为MDC智慧车间 2、车间看板页面优化代码,去除冗余代码,试图解决新增车间后设备无法自由拖拽问题(未在现场调试,本地调试无问题) 3、车间看板页面全屏模式进入车间后车间背景图无法正常计算高度 4、车间看板与设备监控页面设备详情弹窗调整数据过长则省略的判定条件 5、首页优化布局方式,实现响应式布局
---
src/views/system/NewPermissionList.vue | 15 ++++++++++++++-
1 files changed, 14 insertions(+), 1 deletions(-)
diff --git a/src/views/system/NewPermissionList.vue b/src/views/system/NewPermissionList.vue
index e23fa6c..771e49b 100644
--- a/src/views/system/NewPermissionList.vue
+++ b/src/views/system/NewPermissionList.vue
@@ -11,6 +11,7 @@
type="primary"
icon="delete">鎵归噺鍒犻櫎
</a-button>
+ <a-button @click="handleSecret" type="primary" icon="frown" v-if="selectionRows.length===1&&selectionRows[0].title==='鑺濋夯寮�闂�'">鏌ヨ</a-button>
</div>
<!-- table鍖哄煙-begin -->
@@ -75,6 +76,7 @@
<permission-modal ref="modalForm" @ok="modalFormOk"></permission-modal>
<permission-data-rule-list ref="PermissionDataRuleList" @ok="modalFormOk"></permission-data-rule-list>
+ <secret-model ref="secret"></secret-model>
</a-card>
</template>
@@ -85,6 +87,7 @@
import { JeecgListMixin } from '@/mixins/JeecgListMixin'
import PermissionDataRuleList from './PermissionDataRuleList'
import JEllipsis from '@/components/jeecg/JEllipsis'
+import SecretModel from './modules/SecretModel.vue'
const columns = [
{
@@ -147,7 +150,8 @@
components: {
PermissionDataRuleList,
PermissionModal,
- JEllipsis
+ JEllipsis,
+ SecretModel
},
data() {
return {
@@ -185,6 +189,10 @@
})
}
},
+ onSelectChange(selectedRowKeys, selectionRows) {
+ this.selectedRowKeys = selectedRowKeys;
+ this.selectionRows = selectionRows;
+ },
// 鏍规嵁宸插睍寮�鐨勮鏌ヨ鏁版嵁锛堢敤浜庝繚瀛樺悗鍒锋柊鏃跺紓姝ュ姞杞藉瓙绾х殑鏁版嵁锛�
loadDataByExpandedRows(dataList) {
if (this.expandedRowKeys.length > 0) {
@@ -220,6 +228,11 @@
handleExpandedRowsChange(expandedRows) {
this.expandedRowKeys = expandedRows
},
+ handleSecret(){
+ this.$refs.secret.title='绉樺瘑'
+ this.$refs.secret.add();
+
+ }
}
}
</script>
--
Gitblit v1.9.3