Compare commits
No commits in common. "60f0a4b2b18e1d20d510f40fbc83ac0a7d3938a4" and "1335d40a906eb378e268a9416570926db24efcc0" have entirely different histories.
60f0a4b2b1
...
1335d40a90
|
@ -356,7 +356,7 @@
|
|||
>
|
||||
{{ item.label }}
|
||||
</div>
|
||||
<div class="my-info-content" v-if="rightList?.length != 0 && item.show == true">
|
||||
<div class="my-info-content" v-if="rightList?.length != 0">
|
||||
<p>{{ pd(item.label, rightList[item.property]) }}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -647,7 +647,6 @@ const columnsList = reactive({
|
|||
{
|
||||
label: "工作单位",
|
||||
property: "gzdw",
|
||||
show: true,
|
||||
},
|
||||
{
|
||||
label: "工作时间",
|
||||
|
@ -868,6 +867,7 @@ const onClickTag2 = (name, label) => {
|
|||
* 判断右侧显示的为表格还是列表,0为列表,1为表格
|
||||
*/
|
||||
const rightType = ref(0);
|
||||
const rightTypeShow = ref(false);
|
||||
//存放右侧单条数据
|
||||
const rightList = ref([]);
|
||||
//获取右侧表格数据
|
||||
|
@ -906,17 +906,22 @@ const getTable = (url, csh) => {
|
|||
if(tableType.data[0][key] == null){
|
||||
tableType.columns.forEach((item) => {
|
||||
if(item.property == key){
|
||||
item.show = false;
|
||||
item.show=false
|
||||
}
|
||||
});
|
||||
})
|
||||
}else{
|
||||
tableType.columns.forEach((item) => {
|
||||
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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue