Compare commits
4 Commits
1335d40a90
...
60f0a4b2b1
Author | SHA1 | Date |
---|---|---|
duanxiaohai | 60f0a4b2b1 | |
duanxiaohai | 00517d3a55 | |
duanxiaohai | 80db7b7746 | |
duanxiaohai | 87a75d0ce2 |
|
@ -356,7 +356,7 @@
|
||||||
>
|
>
|
||||||
{{ item.label }}
|
{{ item.label }}
|
||||||
</div>
|
</div>
|
||||||
<div class="my-info-content" v-if="rightList?.length != 0">
|
<div class="my-info-content" v-if="rightList?.length != 0 && item.show == true">
|
||||||
<p>{{ pd(item.label, rightList[item.property]) }}</p>
|
<p>{{ pd(item.label, rightList[item.property]) }}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -647,6 +647,7 @@ const columnsList = reactive({
|
||||||
{
|
{
|
||||||
label: "工作单位",
|
label: "工作单位",
|
||||||
property: "gzdw",
|
property: "gzdw",
|
||||||
|
show: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "工作时间",
|
label: "工作时间",
|
||||||
|
@ -867,7 +868,6 @@ const onClickTag2 = (name, label) => {
|
||||||
* 判断右侧显示的为表格还是列表,0为列表,1为表格
|
* 判断右侧显示的为表格还是列表,0为列表,1为表格
|
||||||
*/
|
*/
|
||||||
const rightType = ref(0);
|
const rightType = ref(0);
|
||||||
const rightTypeShow = ref(false);
|
|
||||||
//存放右侧单条数据
|
//存放右侧单条数据
|
||||||
const rightList = ref([]);
|
const rightList = ref([]);
|
||||||
//获取右侧表格数据
|
//获取右侧表格数据
|
||||||
|
@ -906,22 +906,17 @@ const getTable = (url, csh) => {
|
||||||
if (tableType.data[0][key] == null) {
|
if (tableType.data[0][key] == null) {
|
||||||
tableType.columns.forEach((item) => {
|
tableType.columns.forEach((item) => {
|
||||||
if (item.property == key) {
|
if (item.property == key) {
|
||||||
item.show=false
|
item.show = false;
|
||||||
}
|
}
|
||||||
})
|
});
|
||||||
} else {
|
} else {
|
||||||
tableType.columns.forEach((item) => {
|
tableType.columns.forEach((item) => {
|
||||||
if (item.property == key) {
|
if (item.property == key) {
|
||||||
item.show=true
|
item.show = true;
|
||||||
}
|
}
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
rightTypeShow.value = false;
|
|
||||||
// if (res.data[0].gzsj === null) {
|
|
||||||
// rightTypeShow.value = true;
|
|
||||||
// console.log(111, res.data[0].gzsj, rightTypeShow.value);
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
rightType.value = 0;
|
rightType.value = 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue