|
@@ -20,7 +20,11 @@
|
|
|
</el-col>
|
|
|
<el-col :xs="24" :sm="24" :md="12" :lg="12" :xl="12" class="mb10">
|
|
|
<el-card shadow="never" style="height: 400px">
|
|
|
- <vxe-grid v-bind="gridOptions" v-on="gridEvents" ref="gridRef"> </vxe-grid>
|
|
|
+ <vxe-grid v-bind="gridOptions" v-on="gridEvents" ref="gridRef">
|
|
|
+ <template #toolbar_buttons>
|
|
|
+ <h3>质检工单概览</h3>
|
|
|
+ </template>
|
|
|
+ </vxe-grid>
|
|
|
</el-card>
|
|
|
</el-col>
|
|
|
<el-col :xs="24" :sm="24" :md="12" :lg="12" :xl="12" class="mb10">
|
|
@@ -117,6 +121,9 @@ const gridOptions = reactive<any>({
|
|
|
},
|
|
|
},
|
|
|
tools: [{ toolRender: { name: 'exportAll' } }],
|
|
|
+ slots: {
|
|
|
+ buttons: 'toolbar_buttons',
|
|
|
+ },
|
|
|
},
|
|
|
customConfig: {
|
|
|
storage: true,
|
|
@@ -240,7 +247,7 @@ const setOption = (legendData: string[], data: any) => {
|
|
|
{
|
|
|
type: 'pie',
|
|
|
radius: ['0%', '80%'],
|
|
|
- roseType: 'area',
|
|
|
+ // roseType: 'area',
|
|
|
label: {
|
|
|
show: true,
|
|
|
overflow: 'none',
|
|
@@ -296,6 +303,7 @@ const setOption1 = (data: any, xData: any) => {
|
|
|
},
|
|
|
toolbox: {
|
|
|
show: true,
|
|
|
+ // top: '20%',
|
|
|
orient: 'horizontal',
|
|
|
showTitle: true,
|
|
|
feature: {
|
|
@@ -421,8 +429,10 @@ const statisticalTimeRef = ref<RefType>();
|
|
|
const resetQuery = (formEl: FormInstance | undefined) => {
|
|
|
if (!formEl) return;
|
|
|
formEl.resetFields();
|
|
|
+ AcceptorId.value = null;
|
|
|
statisticalTimeRef.value.reset();
|
|
|
queryList();
|
|
|
+ getSeatsData();
|
|
|
};
|
|
|
// 获取基础信息
|
|
|
const seatUser = ref<EmptyArrayType>([]);
|