|
@@ -1295,10 +1295,10 @@ const NodeStatus = ref('1')
|
|
|
const queryNodeStatus = async () => {
|
|
|
const info = nodeDataInfo.value;
|
|
|
console.log(info,'info')
|
|
|
- if (authBtnTabKey.value==1) {
|
|
|
+ if (contractInfo.value?.contractType==1) {
|
|
|
const {error, code, data} = await wbsApi.queryNodeStatus({
|
|
|
primaryKeyId:info['id'],
|
|
|
- classify: authBtnTabKey.value
|
|
|
+ classify:contractInfo.value?.contractType
|
|
|
})
|
|
|
//1 未填报,2待上报,3已上报
|
|
|
if (!error && code === 200) {
|
|
@@ -1310,7 +1310,7 @@ const queryNodeStatus = async () => {
|
|
|
const {error, code, data} = await wbsApi.queryNodeStatusJl({
|
|
|
// primaryKeyId: info['contractIdRelation'] ? info['id'] : info['primaryKeyId'],
|
|
|
primaryKeyId: info['primaryKeyId'],
|
|
|
- classify: authBtnTabKey.value
|
|
|
+ classify: contractInfo.value?.contractType
|
|
|
})
|
|
|
//1 未填报,2待上报,3已上报
|
|
|
if (!error && code === 200) {
|