微调
This commit is contained in:
@@ -4,6 +4,7 @@
|
|||||||
</template>
|
</template>
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import * as echarts from "echarts";
|
import * as echarts from "echarts";
|
||||||
|
import { ref } from "vue";
|
||||||
const chartsRef = ref();
|
const chartsRef = ref();
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
//饼图数据
|
//饼图数据
|
||||||
@@ -75,7 +76,7 @@ const init = () => {
|
|||||||
type: "pie",
|
type: "pie",
|
||||||
radius: customData.value.isRing ? ["55", "75"] : "80%",
|
radius: customData.value.isRing ? ["55", "75"] : "80%",
|
||||||
data: props.chartsData,
|
data: props.chartsData,
|
||||||
formatter: function (name) {
|
formatter: function (name: any) {
|
||||||
const item = props.chartsData.filter(item=>item.name==name)
|
const item = props.chartsData.filter(item=>item.name==name)
|
||||||
console.log(item)
|
console.log(item)
|
||||||
if(item)
|
if(item)
|
||||||
|
|||||||
@@ -161,7 +161,7 @@
|
|||||||
:icon="Notebook"
|
:icon="Notebook"
|
||||||
@click="openDrawer('归档', scope.row)"
|
@click="openDrawer('归档', scope.row)"
|
||||||
v-if="form.activeTabs === 4"
|
v-if="form.activeTabs === 4"
|
||||||
:disabled = "scope.row.check_State != '检测完成'"
|
:disabled = "scope.row.checkState != 2"
|
||||||
>归档</el-button
|
>归档</el-button
|
||||||
>
|
>
|
||||||
<el-button
|
<el-button
|
||||||
@@ -177,11 +177,11 @@
|
|||||||
link
|
link
|
||||||
:icon="Switch"
|
:icon="Switch"
|
||||||
@click="openDrawer('误差体系更换', scope.row)"
|
@click="openDrawer('误差体系更换', scope.row)"
|
||||||
v-if="form.activeTabs === 5 && scope.row.document_State === '已归档'"
|
v-if="form.activeTabs === 5 && scope.row.documentState === 1"
|
||||||
>误差体系更换</el-button
|
>误差体系更换</el-button
|
||||||
>
|
>
|
||||||
|
|
||||||
<div class='cn-render-buttons' v-if="form.activeTabs === 5 && scope.row.document_State === '已归档'">
|
<div class='cn-render-buttons' v-if="form.activeTabs === 5 && scope.row.documentState === 1">
|
||||||
<el-dropdown trigger='click'>
|
<el-dropdown trigger='click'>
|
||||||
<el-button link type='primary' :icon="Download" class='table-operate'>
|
<el-button link type='primary' :icon="Download" class='table-operate'>
|
||||||
<div class='table-operate-text'>报告下载</div>
|
<div class='table-operate-text'>报告下载</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user