diff --git a/src/views/emis/emisCountry/index.vue b/src/views/emis/emisCountry/index.vue
index 5827989e..9e914813 100644
--- a/src/views/emis/emisCountry/index.vue
+++ b/src/views/emis/emisCountry/index.vue
@@ -20,8 +20,50 @@
:filter-node-method="filterNode"
ref="tree"
default-expand-all
+ node-key="id"
+ highlight-current
@node-click="handleNodeClick"
/>
+
+
+
+
+
+ {{ data.label }}
+
+ handleUpdateDictType(data)"
+ >
+
+ handleAddDictType(data)"
+ >
+
+ handleDeleteDictType(data)"
+ >
+
+
+
+
+
@@ -379,6 +421,13 @@ export default {
this.domainIdsTree.push(domainTree);
//this.getList();
});
+ },
+ mouseenter(data) {
+ alert(11);
+ this.$set(data, 'show', true)
+ },
+ mouseleave(data) {
+ this.$set(data, 'show', false)
},
// 节点单击事件
handleNodeClick(data) {
@@ -389,6 +438,29 @@ export default {
// this.currentAppName=data.label;
this.handleQuery();
// }
+ },
+ handleAddDictType(data) {
+ if(data != undefined){
+ this.currentParentDictId = data.id
+ }
+ this.openDictType = true;
+ this.titleDictType = "添加区域";
+ },
+ handleUpdateDictType(data) {
+ this.currentDictId = data.id || this.ids;
+ this.openDictType = true;
+ this.titleDictType = "修改区域";
+ },
+ handleDeleteDictType(data) {
+ console.log(data)
+ const dictIds = data.id || this.ids;
+ this.$modal.confirm('是否确认删除字典编号为"' + dictIds + '"的数据项?').then(function() {
+ return delEmisContinent(dictIds);
+ }).then(() => {
+ console.log("删除成功")
+ this.getContinentList();
+ this.$modal.msgSuccess("删除成功");
+ }).catch(() => {});
},
saveCacheDomainId(continentId){
var jObj = {