更新基础分析按钮样式、数据明细样式

This commit is contained in:
王博冉
2022-10-14 19:41:04 +08:00
parent efc7c144b0
commit eace808c2d
7 changed files with 32 additions and 29 deletions

View File

@@ -32,7 +32,7 @@
@click="openPublishModal">
<template #icon>
<i class="iconfont icon-Path"
style="font-size: 18px; margin-right: 6px"></i>
style="font-size: 15px; margin-right: 6px"></i>
</template>
发布
</a-button>
@@ -53,7 +53,7 @@
分享
</a-button>
<a-button type="primary"
class="download-btn share-button custom-button"
class="download-btn share-button"
@click.stop="toDownload"
v-if="showDownload">
<template #icon>
@@ -71,12 +71,12 @@
@click.stop="clickEntrance">
<template #icon>
<i class="iconfont icon-fenxiang"
style="font-size: 18px; margin-right: 6px"></i>
style="font-size: 15px; margin-right: 6px"></i>
</template>
分享
</a-button>
<a-button type="primary"
class="download-btn share-button custom-button"
class="download-btn share-button"
@click.stop="toDownload"
v-if="showDownload">
<template #icon>
@@ -413,8 +413,7 @@ onMounted(() => {
color: #70b936;
}
.publish-btn {
margin-left: 32px;
width: 88px;
margin-left: 20px;
height: 36px;
line-height: 18px;
border-radius: 6px;
@@ -427,7 +426,7 @@ onMounted(() => {
border-radius: 6px;
}
.share-button {
margin-left: 12px;
margin-left: 20px;
}
.head-portrait {
width: 32px;

View File

@@ -27,7 +27,7 @@ export default defineComponent({
<style lang="scss" scoped>
.sub-title {
position: relative;
padding-left: 8px;
padding-left: 12px;
height: 24px;
line-height: 24px;
font-size: 16px;
@@ -38,7 +38,7 @@ export default defineComponent({
position: absolute;
left: 0;
bottom: 0;
top: 50%;
top: 42%;
display: block;
content: '';
width: 4px;

View File

@@ -167,8 +167,8 @@
placeholder="请选择发布方式">
<template #dropdownRender="{ menuNode: VNodes }">
<div style="padding: 4px 12px; cursor: pointer">
<a-button class="custom-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 size="small" type="primary" @click="selectAll('publish')">全选</a-button>
<a-button style="margin-left: 6px;" size="small" @click="cancelSelectAll('publish')">清空</a-button>
</div>
<a-divider style="margin: 4px 0" />
<v-nodes :vnodes="VNodes" />
@@ -190,8 +190,8 @@
>
<template #dropdownRender="{ menuNode: VNodes }">
<div style="padding: 4px 12px; cursor: pointer">
<a-button class="custom-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 size="small" type="primary" @click="selectAll('answerStatus')">全选</a-button>
<a-button style="margin-left: 6px;" size="small" @click="cancelSelectAll('answerStatus')">清空</a-button>
</div>
<a-divider style="margin: 4px 0" />
<v-nodes :vnodes="VNodes" />
@@ -213,8 +213,8 @@
>
<template #dropdownRender="{ menuNode: VNodes }">
<div style="padding: 4px 12px; cursor: pointer">
<a-button class="custom-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 size="small" type="primary" @click="selectAll('version')">全选</a-button>
<a-button style="margin-left: 6px;" size="small" @click="cancelSelectAll('version')">清空</a-button>
</div>
<a-divider style="margin: 4px 0" />
<v-nodes :vnodes="VNodes" />
@@ -247,8 +247,8 @@
>
<template #dropdownRender="{ menuNode: VNodes }">
<div style="padding: 4px 12px; cursor: pointer">
<a-button class="custom-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 size="small" type="primary" @click="selectAll('logics')">全选</a-button>
<a-button style="margin-left: 6px;" size="small" @click="cancelSelectAll('logics')">清空</a-button>
</div>
<a-divider style="margin: 4px 0" />
<v-nodes :vnodes="VNodes" />
@@ -274,9 +274,9 @@
</span>
</div>
<div class="searchBtmR">
<a-button class="searchClean custom-button" @click="clearModal">清空</a-button>
<a-button class="searchClean custom-button" @click="savePlan">保存方案</a-button>
<a-button class="custom-button" type="primary" @click="getSurveysAnswers">筛选</a-button>
<a-button class="searchClean" @click="clearModal">清空</a-button>
<a-button class="searchClean" @click="savePlan">保存方案</a-button>
<a-button type="primary" @click="getSurveysAnswers">筛选</a-button>
</div>
</div>
</div>
@@ -284,8 +284,8 @@
<div class="listSetting" v-if="false">
<div class="listSettingBtn">
<div class="listSettingBtnL">
<a-button type="primary" class="btnLeft custom-button">无效样本处理</a-button>
<a-button class="custom-button" type="primary">缺失值处理</a-button>
<a-button type="primary" class="btnLeft">无效样本处理</a-button>
<a-button type="primary">缺失值处理</a-button>
</div>
<div class="listSettingBtnR">
<a-select :getPopupContainer="triggerNode=>triggerNode.parentNode" class="lineSelect custom-select" v-model:value="value2" :options="options2">

View File

@@ -23,7 +23,7 @@ export default function useGeneratorTableColumns(columns, options = {}) {
...value,
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,
align: 'center',
slots: {customRender: key },
@@ -39,7 +39,7 @@ export default function useGeneratorTableColumns(columns, options = {}) {
title: '操作',
key: 'operation',
dataIndex: 'operation',
width: 200,
width: 130,
slots: {customRender: "operation" },
fixed: 'right',
})

View File

@@ -346,6 +346,9 @@ const searchPlan = (e,isType)=>{
}
onMounted(async () => {
try {
nextTick(() => {
newSearchRef.value.isOpen=false
})
await getDiagramData()
await getSurveysHead();
getPermissionInfo();

View File

@@ -58,7 +58,7 @@
@click="openPublishModal"
>
<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>
发布
</a-button>
@@ -376,6 +376,8 @@ export default {
}
}
.publish-btn {
height: auto !important;
// height: auto !important;
height: 36px;
border-radius: 6px;
}
</style>

View File

@@ -10,7 +10,7 @@
@click="openPublishModal"
>
<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>
发布
</a-button>
@@ -645,8 +645,7 @@ onMounted(() => {
</script>
<style lang="scss" scoped>
.publish-btn {
width: 98px;
height: 42px;
height: 36px;
border-radius: 6px;
}
.pulish-container {