江河联动
This commit is contained in:
@@ -61,7 +61,7 @@
|
||||
<template #desc="{ text, record ,index }">
|
||||
<div class="editable-cell">
|
||||
<div v-if="editableData[index] && editableData[index].edable=='reason'" class="editable-cell-input-wrapper">
|
||||
<a-input class="edit-input" v-model:value="editableData[index]['reason']" @pressEnter="save(index)" />
|
||||
<a-textarea class="edit-input" v-model:value="editableData[index]['reason']" @pressEnter="save(index)" />
|
||||
<check-outlined class="editable-cell-icon-check" @click="save(index)" />
|
||||
</div>
|
||||
<div v-else class="editable-cell-text-wrapper">
|
||||
|
||||
@@ -19,6 +19,19 @@
|
||||
{{text="市区"}}
|
||||
</template>
|
||||
|
||||
<template #checknumber="{ text, record ,index }">
|
||||
<div class="editable-cell">
|
||||
<div v-if="editableData[index] && editableData[index].edable=='index1'" class="editable-cell-input-wrapper">
|
||||
<a-input class="edit-input" v-model:value="editableData[index]['index1']" @pressEnter="save(index)" />
|
||||
<check-outlined class="editable-cell-icon-check" @click="save(index)" />
|
||||
</div>
|
||||
<div v-else class="editable-cell-text-wrapper">
|
||||
{{ (Array.isArray(text)? text[0]: text) || ' ' }}
|
||||
<edit-outlined class="editable-cell-icon" @click="edit(record,index,'index1')" />
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<template #enumber="{ text, record ,index }">
|
||||
<div class="editable-cell">
|
||||
<div v-if="editableData[index] && editableData[index].edable=='index3'" class="editable-cell-input-wrapper">
|
||||
@@ -48,7 +61,7 @@
|
||||
<template #desc="{ text, record ,index }">
|
||||
<div class="editable-cell">
|
||||
<div v-if="editableData[index] && editableData[index].edable=='index6'" class="editable-cell-input-wrapper">
|
||||
<a-input class="edit-input" v-model:value="editableData[index]['index6']" @pressEnter="save(index)" />
|
||||
<a-textarea class="edit-input" v-model:value="editableData[index]['index6']" @pressEnter="save(index)" />
|
||||
<check-outlined class="editable-cell-icon-check" @click="save(index)" />
|
||||
</div>
|
||||
<div v-else class="editable-cell-text-wrapper">
|
||||
@@ -134,7 +147,9 @@ export default {
|
||||
{title:"类型",dataIndex:"waterSourceProperty",},
|
||||
{title:"监测时间",dataIndex:"monitorTime"},
|
||||
// {title:"监测时间",dataIndex:"reportTime",customRender: ({text}) => moment(text, "YYYY/MM/DD HH:mm:ss").format("YYYY/MM/DD")},
|
||||
{title:"应当监测项目个数",dataIndex:'index1', },
|
||||
{title:"应当监测项目个数",dataIndex:'index1',slots: {
|
||||
customRender: 'checknumber',
|
||||
} },
|
||||
{title:"未测个数",dataIndex:"noCheckNum",},
|
||||
{title:"独立分析项目个数",dataIndex:"index3",
|
||||
slots: {
|
||||
@@ -227,6 +242,7 @@ export default {
|
||||
this.getPageData()
|
||||
|
||||
this.columns[6].filters = []
|
||||
this.columns[6].filterMultiple = false
|
||||
if(this.where.waterSourceType ==1 ){
|
||||
// 地表水
|
||||
this.columns[6].filters = [
|
||||
|
||||
Reference in New Issue
Block a user