修改
This commit is contained in:
parent
296a1e9585
commit
da39efb924
@ -300,7 +300,7 @@ onMounted(async () => {
|
||||
className="login-logo-icon"
|
||||
name="DataEase"
|
||||
>
|
||||
<DataEase class="login-logo-icon" />
|
||||
<!-- <DataEase class="login-logo-icon" /> -->
|
||||
</Icon>
|
||||
<img v-if="loginLogoUrl && axiosFinished" :src="loginLogoUrl" alt="" />
|
||||
</div>
|
||||
|
@ -216,6 +216,7 @@ function addClass() {
|
||||
dialogVisible.value = true
|
||||
}
|
||||
function importTemplate() {
|
||||
optType.value = 'insert'
|
||||
dialogVisibles.value = true
|
||||
}
|
||||
function preview(item, index) {
|
||||
|
@ -37,7 +37,6 @@ const treedata = ref([])
|
||||
const activeIndex = ref(null)
|
||||
const templateList = ref([])
|
||||
const handleNodeClick = (data: any) => {
|
||||
console.log(data)
|
||||
templateList.value = data.contents
|
||||
}
|
||||
const mask = ref(-1) // 遮罩层
|
||||
@ -205,6 +204,8 @@ function init() {
|
||||
contents: e.contents
|
||||
})
|
||||
});
|
||||
treeRef.value.setCurrentKey(treedata.value[0].value)
|
||||
templateList.value = treedata.value[0].contents
|
||||
})
|
||||
}
|
||||
function preview(item) {
|
||||
@ -232,12 +233,13 @@ function saveData() {
|
||||
}
|
||||
isSwitch.value = true
|
||||
moduleAdd(dataInfo.value).then((res) => {
|
||||
console.log(res)
|
||||
projectId.value = res.data.data
|
||||
if(res.data.code == '0'){
|
||||
projectId.value = res.data.data
|
||||
ElMessage.success('添加成功')
|
||||
isDialog.value = false
|
||||
state.pid = props.templateinfo.pid
|
||||
templateApply(createTemplateInfo.value)
|
||||
}
|
||||
}).catch(() => {
|
||||
isSwitch.value = false
|
||||
})
|
||||
@ -369,8 +371,6 @@ function mouseleave() { // 鼠标移出遮罩层
|
||||
<el-option v-for="item in typeList" :key="item.code" :label="item.name" :value="item.code" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
|
||||
|
||||
</el-form>
|
||||
<template #footer>
|
||||
<el-button class="root-class" @click="paramsCloseForm">{{ t('dataset.cancel') }} </el-button>
|
||||
|
@ -208,7 +208,7 @@ function userdetails(){
|
||||
.Navbar-box {
|
||||
width: 100%;
|
||||
height: 85px;
|
||||
padding-top:20px;
|
||||
padding-top:10px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: #fff;
|
||||
@ -250,7 +250,7 @@ padding-top:20px;
|
||||
|
||||
.Navbar-menu-time {
|
||||
width: 150px;
|
||||
margin-top: -10px;
|
||||
margin-top: -10px;
|
||||
|
||||
.Navbar-menu-time-text {
|
||||
font-size: 16px;
|
||||
|
Loading…
Reference in New Issue
Block a user