This commit is contained in:
duanxiaohai 2024-10-06 09:15:32 +08:00
parent a4c13982d4
commit 31ea03965a
4 changed files with 14 additions and 8 deletions

BIN
dist.zip Normal file

Binary file not shown.

View File

@ -230,8 +230,10 @@ const data = reactive({
title: "",
typeId: "",
columns: [],
tableData: [],
xq: {},
tableData: { deng: 1 },
xq: {
deng: 0,
},
typeId: "",
sfzhm: "",
xh: "",
@ -258,7 +260,7 @@ watch(
(newVal, oldVal) => {
dialogShow.value = newVal;
if (props.dialogShow == true) {
// console.log(props.tableData);
console.log(6666, props.tableData);
data.xq = props.tableData.data.xq;
data.typeId = props.tableData.typeId;
data.sfzhm = props.tableData.data.xq.sfzhm;
@ -268,14 +270,16 @@ watch(
data.columns = props.tableData.columns;
data.tableData.length = 0;
if (props.tableData.data.wxs.length > 0) {
console.log(444);
props.tableData.data.wxs.forEach((item, index) => {
let obj = {
deng: 2,
bzlx: item.bzlx,
};
data.tableData.push(obj);
// data.tableData.push(obj);
});
}
// data.tableData.length = [];
if (props.tableData.data.ysx.length > 0) {
props.tableData.data.ysx.forEach((item, index) => {
@ -283,9 +287,10 @@ watch(
deng: 1,
bzlx: item.bzlx,
};
data.tableData.push(obj);
// data.tableData.push(obj);
});
}
console.log(777, props.tableData);
data.tableData = data.tableData.map((item, index1) => {
return {
...item,

View File

@ -160,8 +160,8 @@ const login = () => {
})
.catch((err) => {
console.log(err);
var token = getCookie("lytoken");
// var token = "6b0e380b4a8f46baae4923f83faf670d";
// var token = getCookie("lytoken");
var token = "6b0e380b4a8f46baae4923f83faf670d";
// console.log('token', token)
if (!token) {
window.location.href =

View File

@ -130,7 +130,7 @@
</div>
<div class="tableBoxCenter1" @click="goto(item)">详情</div>
</div>
<div class="tableBoxTopa">服务对象{{ item.text }}</div>
<div class="tableBoxTopa">服务对象{{ item.fwdx }}</div>
<div class="tableBoxTopa">牵头负责单位{{ item.sjqtfzdw }}</div>
<div class="progress-container">
<div
@ -654,6 +654,7 @@ const getData = async (name, fullName) => {
text: item.bmfxqk,
xh: item.xh,
sjqtfzdw: item.sjqtfzdw,
fwdx: item.fwdx,
progress: "95", //
});
// console.log( data.tabPublicService);