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