|
@@ -16,6 +16,10 @@
|
|
|
<i :class="{'el-icon-d-arrow-left':isLeftWrapShow,'el-icon-d-arrow-right':!isLeftWrapShow}"></i>
|
|
|
</span>
|
|
|
<div class="left-top">
|
|
|
+ <div class="opt-btn" @click="isShowInstruction = true">
|
|
|
+ <img src="~@/assets/img/data_m/note-icon.png">
|
|
|
+ <span style="font-size: 14px;margin-left: 8px;">{{$t('CodeCountPage.opt_tip_btn')}}</span>
|
|
|
+ </div>
|
|
|
<div>
|
|
|
<el-button v-permission="permissionBtn.dataSourcePermission.mysteelData_add"
|
|
|
type="primary" size="medium" @click="addTargetBatch" style="margin-bottom: 10px;"
|
|
@@ -68,11 +72,11 @@
|
|
|
children: 'Children',
|
|
|
isLeaf:'isLeaf'
|
|
|
}"
|
|
|
- :allow-drag="canDragHandle"
|
|
|
+ :allow-drag="permissionBtn.isShowBtn('dataSourcePermission','mysteelData_classifyOpt_edit')"
|
|
|
:allow-drop="canDropHandle"
|
|
|
:current-node-key="select_node"
|
|
|
:default-expanded-keys="defaultShowNodes"
|
|
|
- draggable
|
|
|
+ :draggable="permissionBtn.isShowBtn('dataSourcePermission','mysteelData_classifyOpt_edit')"
|
|
|
:expand-on-click-node="false"
|
|
|
check-strictly
|
|
|
empty-text="暂无分类"
|
|
@@ -97,7 +101,7 @@
|
|
|
<div v-if="select_node === data.UniqueCode">
|
|
|
<img
|
|
|
src="~@/assets/img/data_m/move_ico.png"
|
|
|
- v-if="data.Button.MoveButton"
|
|
|
+ v-if="data.Button.MoveButton&&permissionBtn.isShowBtn('dataSourcePermission','mysteelData_classifyOpt_edit')"
|
|
|
alt=""
|
|
|
style="width: 14px; height: 14px; margin-right: 5px"
|
|
|
@click.stop="clickClassifyHandle('move', data, node)"
|
|
@@ -269,6 +273,11 @@
|
|
|
@close="isAddIndicsDiaShow=false;"
|
|
|
@addCallback="isAddIndicsDiaShow=false;getFrequency();"
|
|
|
/>
|
|
|
+ <!-- 操作说明 -->
|
|
|
+ <operatingInstruction
|
|
|
+ :show="isShowInstruction"
|
|
|
+ @close="isShowInstruction = false"
|
|
|
+ ></operatingInstruction>
|
|
|
</div>
|
|
|
|
|
|
</template>
|
|
@@ -282,10 +291,11 @@ import batchAddEdbDia from "./components/batchAddEdbDia.vue";
|
|
|
import batchAddIndicsDia from "./components/batchAddIndicsDia"
|
|
|
import addIndicsDia from "./components/addIndicsDia"
|
|
|
import leftMixin from "./mixins/leftMixin.js";
|
|
|
+import operatingInstruction from "./operatingInstruction.vue";
|
|
|
export default {
|
|
|
name: "",
|
|
|
mixins: [leftMixin],
|
|
|
- components: { lzTable, mDialog, targetDialog,batchAddEdbDia,batchAddIndicsDia,addIndicsDia },
|
|
|
+ components: { lzTable, mDialog, targetDialog,batchAddEdbDia,batchAddIndicsDia,addIndicsDia,operatingInstruction },
|
|
|
data() {
|
|
|
return {
|
|
|
isLeftWrapShow:true,
|
|
@@ -334,6 +344,7 @@ export default {
|
|
|
isBatchAddIndicsDiaShow:false, //批量添加至指标库弹窗
|
|
|
isAddIndicsDiaShow:false,//单个添加至指标库弹窗
|
|
|
currentIndicData:{},//当前选中指标
|
|
|
+ isShowInstruction:false,//是否展示操作说明
|
|
|
};
|
|
|
},
|
|
|
methods: {
|
|
@@ -799,9 +810,23 @@ export default {
|
|
|
width: 390px;
|
|
|
flex-shrink: 0;
|
|
|
margin-right: 20px;
|
|
|
- padding: 30px 0;
|
|
|
+ padding: 16px 0 30px;
|
|
|
overflow: hidden;
|
|
|
position: relative;
|
|
|
+ .opt-btn{
|
|
|
+ display:inline-flex;
|
|
|
+ align-items: center;
|
|
|
+ cursor: pointer;
|
|
|
+ margin-bottom: 10px;
|
|
|
+ img{
|
|
|
+ width: 21px;
|
|
|
+ height: 21px;
|
|
|
+ }
|
|
|
+ span{
|
|
|
+ color: rgba(27, 123, 222, 1);
|
|
|
+
|
|
|
+ }
|
|
|
+ }
|
|
|
.left-top {
|
|
|
padding: 0 20px;
|
|
|
}
|