更新基础分析按钮样式、数据明细样式
This commit is contained in:
@@ -32,7 +32,7 @@
|
|||||||
@click="openPublishModal">
|
@click="openPublishModal">
|
||||||
<template #icon>
|
<template #icon>
|
||||||
<i class="iconfont icon-Path"
|
<i class="iconfont icon-Path"
|
||||||
style="font-size: 18px; margin-right: 6px"></i>
|
style="font-size: 15px; margin-right: 6px"></i>
|
||||||
</template>
|
</template>
|
||||||
发布
|
发布
|
||||||
</a-button>
|
</a-button>
|
||||||
@@ -53,7 +53,7 @@
|
|||||||
分享
|
分享
|
||||||
</a-button>
|
</a-button>
|
||||||
<a-button type="primary"
|
<a-button type="primary"
|
||||||
class="download-btn share-button custom-button"
|
class="download-btn share-button"
|
||||||
@click.stop="toDownload"
|
@click.stop="toDownload"
|
||||||
v-if="showDownload">
|
v-if="showDownload">
|
||||||
<template #icon>
|
<template #icon>
|
||||||
@@ -71,12 +71,12 @@
|
|||||||
@click.stop="clickEntrance">
|
@click.stop="clickEntrance">
|
||||||
<template #icon>
|
<template #icon>
|
||||||
<i class="iconfont icon-fenxiang"
|
<i class="iconfont icon-fenxiang"
|
||||||
style="font-size: 18px; margin-right: 6px"></i>
|
style="font-size: 15px; margin-right: 6px"></i>
|
||||||
</template>
|
</template>
|
||||||
分享
|
分享
|
||||||
</a-button>
|
</a-button>
|
||||||
<a-button type="primary"
|
<a-button type="primary"
|
||||||
class="download-btn share-button custom-button"
|
class="download-btn share-button"
|
||||||
@click.stop="toDownload"
|
@click.stop="toDownload"
|
||||||
v-if="showDownload">
|
v-if="showDownload">
|
||||||
<template #icon>
|
<template #icon>
|
||||||
@@ -413,8 +413,7 @@ onMounted(() => {
|
|||||||
color: #70b936;
|
color: #70b936;
|
||||||
}
|
}
|
||||||
.publish-btn {
|
.publish-btn {
|
||||||
margin-left: 32px;
|
margin-left: 20px;
|
||||||
width: 88px;
|
|
||||||
height: 36px;
|
height: 36px;
|
||||||
line-height: 18px;
|
line-height: 18px;
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
@@ -427,7 +426,7 @@ onMounted(() => {
|
|||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
}
|
}
|
||||||
.share-button {
|
.share-button {
|
||||||
margin-left: 12px;
|
margin-left: 20px;
|
||||||
}
|
}
|
||||||
.head-portrait {
|
.head-portrait {
|
||||||
width: 32px;
|
width: 32px;
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ export default defineComponent({
|
|||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.sub-title {
|
.sub-title {
|
||||||
position: relative;
|
position: relative;
|
||||||
padding-left: 8px;
|
padding-left: 12px;
|
||||||
height: 24px;
|
height: 24px;
|
||||||
line-height: 24px;
|
line-height: 24px;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
@@ -38,7 +38,7 @@ export default defineComponent({
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0;
|
left: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
top: 50%;
|
top: 42%;
|
||||||
display: block;
|
display: block;
|
||||||
content: '';
|
content: '';
|
||||||
width: 4px;
|
width: 4px;
|
||||||
|
|||||||
@@ -167,8 +167,8 @@
|
|||||||
placeholder="请选择发布方式">
|
placeholder="请选择发布方式">
|
||||||
<template #dropdownRender="{ menuNode: VNodes }">
|
<template #dropdownRender="{ menuNode: VNodes }">
|
||||||
<div style="padding: 4px 12px; cursor: pointer">
|
<div style="padding: 4px 12px; cursor: pointer">
|
||||||
<a-button class="custom-button" size="small" type="primary" @click="selectAll('publish')">全选</a-button>
|
<a-button size="small" type="primary" @click="selectAll('publish')">全选</a-button>
|
||||||
<a-button class="custom-button" style="margin-left: 6px;" size="small" @click="cancelSelectAll('publish')">清空</a-button>
|
<a-button style="margin-left: 6px;" size="small" @click="cancelSelectAll('publish')">清空</a-button>
|
||||||
</div>
|
</div>
|
||||||
<a-divider style="margin: 4px 0" />
|
<a-divider style="margin: 4px 0" />
|
||||||
<v-nodes :vnodes="VNodes" />
|
<v-nodes :vnodes="VNodes" />
|
||||||
@@ -190,8 +190,8 @@
|
|||||||
>
|
>
|
||||||
<template #dropdownRender="{ menuNode: VNodes }">
|
<template #dropdownRender="{ menuNode: VNodes }">
|
||||||
<div style="padding: 4px 12px; cursor: pointer">
|
<div style="padding: 4px 12px; cursor: pointer">
|
||||||
<a-button class="custom-button" size="small" type="primary" @click="selectAll('answerStatus')">全选</a-button>
|
<a-button size="small" type="primary" @click="selectAll('answerStatus')">全选</a-button>
|
||||||
<a-button class="custom-button" style="margin-left: 6px;" size="small" @click="cancelSelectAll('answerStatus')">清空</a-button>
|
<a-button style="margin-left: 6px;" size="small" @click="cancelSelectAll('answerStatus')">清空</a-button>
|
||||||
</div>
|
</div>
|
||||||
<a-divider style="margin: 4px 0" />
|
<a-divider style="margin: 4px 0" />
|
||||||
<v-nodes :vnodes="VNodes" />
|
<v-nodes :vnodes="VNodes" />
|
||||||
@@ -213,8 +213,8 @@
|
|||||||
>
|
>
|
||||||
<template #dropdownRender="{ menuNode: VNodes }">
|
<template #dropdownRender="{ menuNode: VNodes }">
|
||||||
<div style="padding: 4px 12px; cursor: pointer">
|
<div style="padding: 4px 12px; cursor: pointer">
|
||||||
<a-button class="custom-button" size="small" type="primary" @click="selectAll('version')">全选</a-button>
|
<a-button size="small" type="primary" @click="selectAll('version')">全选</a-button>
|
||||||
<a-button class="custom-button" style="margin-left: 6px;" size="small" @click="cancelSelectAll('version')">清空</a-button>
|
<a-button style="margin-left: 6px;" size="small" @click="cancelSelectAll('version')">清空</a-button>
|
||||||
</div>
|
</div>
|
||||||
<a-divider style="margin: 4px 0" />
|
<a-divider style="margin: 4px 0" />
|
||||||
<v-nodes :vnodes="VNodes" />
|
<v-nodes :vnodes="VNodes" />
|
||||||
@@ -247,8 +247,8 @@
|
|||||||
>
|
>
|
||||||
<template #dropdownRender="{ menuNode: VNodes }">
|
<template #dropdownRender="{ menuNode: VNodes }">
|
||||||
<div style="padding: 4px 12px; cursor: pointer">
|
<div style="padding: 4px 12px; cursor: pointer">
|
||||||
<a-button class="custom-button" size="small" type="primary" @click="selectAll('logics')">全选</a-button>
|
<a-button size="small" type="primary" @click="selectAll('logics')">全选</a-button>
|
||||||
<a-button class="custom-button" style="margin-left: 6px;" size="small" @click="cancelSelectAll('logics')">清空</a-button>
|
<a-button style="margin-left: 6px;" size="small" @click="cancelSelectAll('logics')">清空</a-button>
|
||||||
</div>
|
</div>
|
||||||
<a-divider style="margin: 4px 0" />
|
<a-divider style="margin: 4px 0" />
|
||||||
<v-nodes :vnodes="VNodes" />
|
<v-nodes :vnodes="VNodes" />
|
||||||
@@ -274,9 +274,9 @@
|
|||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="searchBtmR">
|
<div class="searchBtmR">
|
||||||
<a-button class="searchClean custom-button" @click="clearModal">清空</a-button>
|
<a-button class="searchClean" @click="clearModal">清空</a-button>
|
||||||
<a-button class="searchClean custom-button" @click="savePlan">保存方案</a-button>
|
<a-button class="searchClean" @click="savePlan">保存方案</a-button>
|
||||||
<a-button class="custom-button" type="primary" @click="getSurveysAnswers">筛选</a-button>
|
<a-button type="primary" @click="getSurveysAnswers">筛选</a-button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -284,8 +284,8 @@
|
|||||||
<div class="listSetting" v-if="false">
|
<div class="listSetting" v-if="false">
|
||||||
<div class="listSettingBtn">
|
<div class="listSettingBtn">
|
||||||
<div class="listSettingBtnL">
|
<div class="listSettingBtnL">
|
||||||
<a-button type="primary" class="btnLeft custom-button">无效样本处理</a-button>
|
<a-button type="primary" class="btnLeft">无效样本处理</a-button>
|
||||||
<a-button class="custom-button" type="primary">缺失值处理</a-button>
|
<a-button type="primary">缺失值处理</a-button>
|
||||||
</div>
|
</div>
|
||||||
<div class="listSettingBtnR">
|
<div class="listSettingBtnR">
|
||||||
<a-select :getPopupContainer="triggerNode=>triggerNode.parentNode" class="lineSelect custom-select" v-model:value="value2" :options="options2">
|
<a-select :getPopupContainer="triggerNode=>triggerNode.parentNode" class="lineSelect custom-select" v-model:value="value2" :options="options2">
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ export default function useGeneratorTableColumns(columns, options = {}) {
|
|||||||
...value,
|
...value,
|
||||||
key,
|
key,
|
||||||
dataIndex: key,
|
dataIndex: key,
|
||||||
width: includeSpecialType(value.question_type) ? 300 : 200,
|
width: key === options.left_fixed_key? 100: includeSpecialType(value.question_type) ? 300 : 200,
|
||||||
fixed: key === options.left_fixed_key ? 'left': null,
|
fixed: key === options.left_fixed_key ? 'left': null,
|
||||||
align: 'center',
|
align: 'center',
|
||||||
slots: {customRender: key },
|
slots: {customRender: key },
|
||||||
@@ -39,7 +39,7 @@ export default function useGeneratorTableColumns(columns, options = {}) {
|
|||||||
title: '操作',
|
title: '操作',
|
||||||
key: 'operation',
|
key: 'operation',
|
||||||
dataIndex: 'operation',
|
dataIndex: 'operation',
|
||||||
width: 200,
|
width: 130,
|
||||||
slots: {customRender: "operation" },
|
slots: {customRender: "operation" },
|
||||||
fixed: 'right',
|
fixed: 'right',
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -346,6 +346,9 @@ const searchPlan = (e,isType)=>{
|
|||||||
}
|
}
|
||||||
onMounted(async () => {
|
onMounted(async () => {
|
||||||
try {
|
try {
|
||||||
|
nextTick(() => {
|
||||||
|
newSearchRef.value.isOpen=false
|
||||||
|
})
|
||||||
await getDiagramData()
|
await getDiagramData()
|
||||||
await getSurveysHead();
|
await getSurveysHead();
|
||||||
getPermissionInfo();
|
getPermissionInfo();
|
||||||
|
|||||||
@@ -58,7 +58,7 @@
|
|||||||
@click="openPublishModal"
|
@click="openPublishModal"
|
||||||
>
|
>
|
||||||
<template #icon>
|
<template #icon>
|
||||||
<i class="iconfont icon-Path" style="font-size: 18px; margin-right: 6px"></i>
|
<i class="iconfont icon-Path" style="font-size: 15px; margin-right: 6px"></i>
|
||||||
</template>
|
</template>
|
||||||
发布
|
发布
|
||||||
</a-button>
|
</a-button>
|
||||||
@@ -376,6 +376,8 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.publish-btn {
|
.publish-btn {
|
||||||
height: auto !important;
|
// height: auto !important;
|
||||||
|
height: 36px;
|
||||||
|
border-radius: 6px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
@click="openPublishModal"
|
@click="openPublishModal"
|
||||||
>
|
>
|
||||||
<template #icon>
|
<template #icon>
|
||||||
<i class="iconfont icon-Path" style="font-size: 18px; margin-right: 6px"></i>
|
<i class="iconfont icon-Path" style="font-size: 15px; margin-right: 6px"></i>
|
||||||
</template>
|
</template>
|
||||||
发布
|
发布
|
||||||
</a-button>
|
</a-button>
|
||||||
@@ -645,8 +645,7 @@ onMounted(() => {
|
|||||||
</script>
|
</script>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.publish-btn {
|
.publish-btn {
|
||||||
width: 98px;
|
height: 36px;
|
||||||
height: 42px;
|
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
}
|
}
|
||||||
.pulish-container {
|
.pulish-container {
|
||||||
|
|||||||
Reference in New Issue
Block a user