提交 9c8f063e authored 作者: jinrb's avatar jinrb

地块是否超标的状态修改

上级 d353e935
......@@ -8,7 +8,7 @@ import { Modal } from 'ant-design-vue';
const { createMessage } = useMessage();
// 是否锁定的提示
export const tip = (params) => {
if (params?.dksdzt&&params?.dksdzt == 1 && params?.sfthxg&&params?.sfthxg != 1 ) {
if (params?.dksdzt&&params?.dksdzt == 1 ) {
createMessage.info('地块已经被锁定不能此执行操作');
return true
}else return false
......
......@@ -44,7 +44,7 @@
dataIndex: 'shjg',
resizable: true,
customRender: ({ record }: any) => {
return record.shjg ==='1'?'是':record.shjg ==='0'?'否':'未调查';
return !record.shjg?'未调查':record.shjg;
},
});
res.splice(5, 0, {
......
......@@ -73,7 +73,7 @@
dataIndex: 'shjg',
resizable: true,
customRender: ({ record }: any) => {
return record.shjg ==='1'?'是':record.shjg ==='0'?'否':'未调查';
return !record.shjg?'未调查':record.shjg;
},
});
res.splice(8, 0, {
......
......@@ -82,7 +82,7 @@
dataIndex: 'shjg',
resizable: true,
customRender: ({ record }: any) => {
return record.shjg ==='1'?'是':record.shjg ==='0'?'否':'未调查';
return !record.shjg?'未调查':record.shjg;
},
});
res.splice(8, 0, {
......
......@@ -72,7 +72,7 @@
dataIndex: 'shjg',
resizable: true,
customRender: ({ record }: any) => {
return record.shjg ==='1'?'是':record.shjg ==='0'?'否':'未调查';
return !record.shjg?'未调查':record.shjg;
},
});
res.splice(8, 0, {
......
......@@ -72,7 +72,7 @@
dataIndex: 'shjg',
resizable: true,
customRender: ({ record }: any) => {
return record.shjg ==='1'?'是':record.shjg ==='0'?'否':'未调查';
return !record.shjg?'未调查':record.shjg;
},
});
res.splice(8, 0, {
......
......@@ -81,7 +81,7 @@
dataIndex: 'shjg',
resizable: true,
customRender: ({ record }: any) => {
return record.shjg ==='1'?'是':record.shjg ==='0'?'否':'未调查';
return !record.shjg?'未调查':record.shjg;
},
});
res.splice(8, 0, {
......
......@@ -67,7 +67,7 @@
dataIndex: 'shjg',
resizable: true,
customRender: ({ record }: any) => {
return record.shjg ==='1'?'是':record.shjg ==='0'?'否':'未调查';
return !record.shjg?'未调查':record.shjg;
},
});
setColumns(res);
......
......@@ -67,7 +67,7 @@
dataIndex: 'shjg',
resizable: true,
customRender: ({ record }: any) => {
return record.shjg ==='1'?'是':record.shjg ==='0'?'否':'未调查';
return !record.shjg?'未调查':record.shjg;
},
});
setColumns(res);
......
......@@ -152,7 +152,7 @@
dataIndex: 'shjg',
resizable: true,
customRender: ({ record }: any) => {
return record.shjg ==='1'?'是':record.shjg ==='0'?'否':'未调查';
return !record.shjg?'未调查':record.shjg;
},
});
res.splice(5, 0, {
......@@ -168,7 +168,7 @@
dataIndex: 'shjg',
resizable: true,
customRender: ({ record }: any) => {
return record.shjg ==='1'?'是':record.shjg ==='0'?'否':'未调查';
return !record.shjg?'未调查':record.shjg;
},
});
res.splice(5, 0, {
......
......@@ -72,7 +72,7 @@
dataIndex: 'shjg',
resizable: true,
customRender: ({ record }: any) => {
return record.shjg ==='1'?'是':record.shjg ==='0'?'否':'未调查';
return !record.shjg?'未调查':record.shjg;
},
});
res.splice(8, 0, {
......
......@@ -80,7 +80,7 @@
dataIndex: 'shjg',
resizable: true,
customRender: ({ record }: any) => {
return record.shjg ==='1'?'是':record.shjg ==='0'?'否':'未调查';
return !record.shjg?'未调查':record.shjg;
},
});
res.splice(8, 0, {
......
......@@ -68,7 +68,7 @@
dataIndex: 'shjg',
resizable: true,
customRender: ({ record }: any) => {
return record.shjg ==='1'?'是':record.shjg ==='0'?'否':'未调查';
return !record.shjg?'未调查':record.shjg;
},
});
// res.splice(8, 0, {
......
......@@ -68,7 +68,7 @@
dataIndex: 'shjg',
resizable: true,
customRender: ({ record }: any) => {
return record.shjg ==='1'?'是':record.shjg ==='0'?'否':'未调查';
return !record.shjg?'未调查':record.shjg;
},
});
// res.splice(8, 0, {
......
......@@ -157,7 +157,7 @@
dataIndex: 'shjg',
resizable: true,
customRender: ({ record }: any) => {
return record.shjg ==='1'?'是':record.shjg ==='0'?'否':'未调查';
return !record.shjg?'未调查':record.shjg;
},
});
res.splice(5, 0, {
......@@ -173,7 +173,7 @@
dataIndex: 'shjg',
resizable: true,
customRender: ({ record }: any) => {
return record.shjg ==='1'?'是':record.shjg ==='0'?'否':'未调查';
return !record.shjg?'未调查':record.shjg;
},
});
res.splice(5, 0, {
......
......@@ -83,7 +83,7 @@
dataIndex: 'shjg',
resizable: true,
customRender: ({ record }: any) => {
return record.shjg ==='1'?'是':record.shjg ==='0'?'否':'未调查';
return !record.shjg?'未调查':record.shjg;
},
});
res.splice(8, 0, {
......
......@@ -72,7 +72,7 @@
dataIndex: 'shjg',
resizable: true,
customRender: ({ record }: any) => {
return record.shjg ==='1'?'是':record.shjg ==='0'?'否':'未调查';
return !record.shjg?'未调查':record.shjg;
},
});
res.splice(8, 0, {
......
......@@ -72,7 +72,7 @@
dataIndex: 'shjg',
resizable: true,
customRender: ({ record }: any) => {
return record.shjg ==='1'?'是':record.shjg ==='0'?'否':'未调查';
return !record.shjg?'未调查':record.shjg;
},
});
// res.splice(8, 0, {
......
......@@ -72,7 +72,7 @@
dataIndex: 'shjg',
resizable: true,
customRender: ({ record }: any) => {
return record.shjg ==='1'?'是':record.shjg ==='0'?'否':'未调查';
return !record.shjg?'未调查':record.shjg;
},
});
res.splice(8, 0, {
......
......@@ -78,7 +78,7 @@
dataIndex: 'shjg',
resizable: true,
customRender: ({ record }: any) => {
return record.shjg ==='1'?'是':record.shjg ==='0'?'否':'未调查';
return !record.shjg?'未调查':record.shjg;
},
});
res.splice(8, 0, {
......
......@@ -67,7 +67,7 @@
dataIndex: 'shjg',
resizable: true,
customRender: ({ record }: any) => {
return record.shjg ==='1'?'是':record.shjg ==='0'?'否':'未调查';
return !record.shjg?'未调查':record.shjg;
},
});
// res.splice(8, 0, {
......
......@@ -67,7 +67,7 @@
dataIndex: 'shjg',
resizable: true,
customRender: ({ record }: any) => {
return record.shjg ==='1'?'是':record.shjg ==='0'?'否':'未调查';
return !record.shjg?'未调查':record.shjg;
},
});
// res.splice(8, 0, {
......
......@@ -156,7 +156,7 @@
dataIndex: 'shjg',
resizable: true,
customRender: ({ record }: any) => {
return record.shjg ==='1'?'是':record.shjg ==='0'?'否':'未调查';
return !record.shjg?'未调查':record.shjg;
},
});
res.splice(5, 0, {
......@@ -172,7 +172,7 @@
dataIndex: 'shjg',
resizable: true,
customRender: ({ record }: any) => {
return record.shjg ==='1'?'是':record.shjg ==='0'?'否':'未调查';
return !record.shjg?'未调查':record.shjg;
},
});
res.splice(5, 0, {
......
......@@ -44,7 +44,7 @@
dataIndex: 'shjg',
resizable: true,
customRender: ({ record }: any) => {
return record.shjg ==='1'?'是':record.shjg ==='0'?'否':'未调查';
return !record.shjg?'未调查':record.shjg;
},
});
res.splice(5, 0, {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论