界面功能优化

This commit is contained in:
jiangzhe 2024-05-23 09:58:30 +08:00
parent 415ed586cc
commit b756033336
6 changed files with 9 additions and 29 deletions

View File

@ -88,7 +88,7 @@ export interface SysScaleQuestionQuery extends PageQuery {
/**
* id
*/
scaleId?: string | number;
scaleId?: string | any;
/**
*

View File

@ -72,7 +72,7 @@
<el-table-column prop="deptName" label="班级" />
<el-table-column prop="status" label="状态">
<template #default="scope">
<el-tag :type="scope.row.status == 1 ? 'success' : 'danger'">{{ scope.row.status == 0 ? '未测' :
<el-tag :type="scope.row.status == 0 ? 'danger' : 'success'">{{ scope.row.status == 0 ? '未测' :
'已测' }}</el-tag>
</template>
</el-table-column>

View File

@ -65,7 +65,7 @@
</div>
<div class="item-center-2 boxall">
<div class="alltitle">近12月测评数统计</div>
<div class="alltitle">测评数统计</div>
<div class="boxnav">
<v-chart :option="centerLine2Option" autoresize />
</div>
@ -600,12 +600,10 @@ const centerLine2Option = ref({
// itemHeight: 10,
// // itemGap: 35
// },
xAxis: [{
type: 'category',
boundaryGap: false,
axisLabel: {
rotate: -90,
textStyle: {
color: 'rgba(255,255,255,.7)',
fontSize: '0.2rem',

View File

@ -180,12 +180,11 @@ const leftPieOption = ref({
x: 'center',
y: '40%',
textStyle: {
color: '#95989D',
fontSize: 20,
fontWeight: 'normal',
lineHeight: 10,
},
subtextStyle: {
color: '#95989D',
fontSize: 16,
lineHeight: 10,
},
@ -216,13 +215,10 @@ const leftPieOption = ref({
formatter: ['{c|{c}}', '{b|{b}}'].join('\n'),
rich: {
c: {
color: '#95989D',
fontSize: 20,
fontWeight: 'bold',
lineHeight: 5
},
b: {
color: '#95989D',
fontSize: 14,
height: 44
},
@ -263,8 +259,8 @@ const centerBarOption = ref({
x: 'right',
y: '1%',
textStyle: {
color: '#95989D',
fontSize: 20,
fontWeight: 'normal',
lineHeight: 10,
}
},
@ -278,9 +274,6 @@ const centerBarOption = ref({
data: ['发布数', '测评数'],
right: 'center',
top: 0,
textStyle: {
color: "#95989D"
},
itemWidth: 12,
itemHeight: 10,
// itemGap: 35
@ -295,20 +288,10 @@ const centerBarOption = ref({
xAxis: {
type: 'category',
data: [],
axisLine: {
lineStyle: {
color: '#95989D'
}
},
axisLabel: {
//rotate:-90,
formatter: function (value: any) { return value.split("").join("\n"); },
textStyle: {
color: '#95989D',
fontSize: 14,
},
lineStyle: {
color: '#95989D',
}
}
},
@ -359,8 +342,8 @@ const rightBarOption = ref({
x: 'right',
y: '1%',
textStyle: {
color: '#95989D',
fontSize: 20,
fontWeight: 'normal',
lineHeight: 10,
}
},
@ -386,9 +369,6 @@ const rightBarOption = ref({
data: [],
splitLine: {
show: false,
lineStyle: {
color: '#95989D'
}
},
},
series: [

View File

@ -338,6 +338,7 @@ const handleSelectionChange = (selection: SysScaleFactorVO[]) => {
/** 新增按钮操作 */
const handleAdd = () => {
reset();
form.value.factorRangeList = []
dialog.visible = true;
dialog.title = "添加测评因子";
}

View File

@ -279,6 +279,7 @@ const handleSelectionChange = (selection: SysScaleQuestionVO[]) => {
/** 新增按钮操作 */
const handleAdd = () => {
reset();
form.value.scaleAnswerList = []
dialog.visible = true;
dialog.title = "添加量问题内容";
}