|
@@ -31,7 +31,12 @@
|
|
|
</div>
|
|
|
<div>
|
|
|
<el-descriptions :column="5" size="mini">
|
|
|
- <el-descriptions-item label-class-name="my-label-layout" content-class-name="my-content" v-for="item in mainAreaData" :key="item.index" :label="item.label"><span :style="item.style?item.style():''">{{item.value !== ''?item.value:'--'}}</span></el-descriptions-item>
|
|
|
+ <el-descriptions-item label-class-name="my-label-layout" content-class-name="my-content" v-for="item in mainAData" :key="item.index" :label="item.label"><span :style="item.style?item.style():''">{{item.value !== ''?item.value:'--'}}</span></el-descriptions-item>
|
|
|
+ </el-descriptions>
|
|
|
+ <el-descriptions :column="1" size="mini">
|
|
|
+ <el-descriptions-item label-class-name="my-label-layout" content-class-name="my-content" v-for="item in mainAData2" :key="item.index" :label="item.label">
|
|
|
+ <span :style="item.style?item.style():''">{{item.value !== ''?item.value:'--'}}</span>
|
|
|
+ </el-descriptions-item>
|
|
|
</el-descriptions>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -102,6 +107,32 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
computed:{
|
|
|
+ mainAData () {
|
|
|
+ try {
|
|
|
+ let data = this.mainAreaData.filter(e=>{
|
|
|
+ if(e.label !== '备注') {
|
|
|
+ return e
|
|
|
+ }
|
|
|
+ })
|
|
|
+ return data
|
|
|
+ } catch (error) {
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ },
|
|
|
+ mainAData2 () {
|
|
|
+ try {
|
|
|
+ let data = this.mainAreaData.filter(e=>{
|
|
|
+ if(e.label == '备注') {
|
|
|
+ return e
|
|
|
+ }
|
|
|
+ })
|
|
|
+ return data
|
|
|
+ } catch (error) {
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ },
|
|
|
...mapGetters({
|
|
|
activeApp:"activeApp"
|
|
|
})
|
|
@@ -237,6 +268,7 @@ export default {
|
|
|
},
|
|
|
watch:{
|
|
|
mainAreaData () {
|
|
|
+ // console.log(this.mainAData,'mainAData')
|
|
|
}
|
|
|
}
|
|
|
}
|