diff --git a/src/api/longoPeration/inspectiontasks.js b/src/api/longoPeration/inspectiontasks.js index 40140a2..13d02f3 100644 --- a/src/api/longoPeration/inspectiontasks.js +++ b/src/api/longoPeration/inspectiontasks.js @@ -38,3 +38,11 @@ params: query, }); } + +export function patrolProblemlist(query) { + return request({ + url: '/business/patrolProblem/list', + method: 'get', + params: query, + }); +} diff --git a/src/api/longoPeration/inspectiontasks.js b/src/api/longoPeration/inspectiontasks.js index 40140a2..13d02f3 100644 --- a/src/api/longoPeration/inspectiontasks.js +++ b/src/api/longoPeration/inspectiontasks.js @@ -38,3 +38,11 @@ params: query, }); } + +export function patrolProblemlist(query) { + return request({ + url: '/business/patrolProblem/list', + method: 'get', + params: query, + }); +} diff --git a/src/views/longoPeration/CaseIssues.vue b/src/views/longoPeration/CaseIssues.vue index 0cb7544..60b7c66 100644 --- a/src/views/longoPeration/CaseIssues.vue +++ b/src/views/longoPeration/CaseIssues.vue @@ -34,7 +34,7 @@ - + @@ -63,10 +63,10 @@ @@ -231,6 +231,7 @@ const openOne = ref(false); const opendetails = ref(false); const showSearch = ref(true); +const multipleA = ref(true); const case_level = ref([ { value: '1', @@ -344,6 +345,9 @@ // function handleUpdate(Val) { openOne.value = true; + console.log(Val, 'Val'); + // console.log('multipleA.value', multipleA.value); + proxy.resetForm('roleRefOne'); AllData.NumIdOne = Val.id; } @@ -353,6 +357,13 @@ loading.value = true; let res = await rectifypage(queryParams.value); dataList.value = res.data; + res.data.forEach(item => { + if (item.fileListToNotice.length != 0) { + multipleA.value = false; + console.log(multipleA.value, 'multipleA.value'); + } + }); + total.value = res.total; loading.value = false; }; diff --git a/src/api/longoPeration/inspectiontasks.js b/src/api/longoPeration/inspectiontasks.js index 40140a2..13d02f3 100644 --- a/src/api/longoPeration/inspectiontasks.js +++ b/src/api/longoPeration/inspectiontasks.js @@ -38,3 +38,11 @@ params: query, }); } + +export function patrolProblemlist(query) { + return request({ + url: '/business/patrolProblem/list', + method: 'get', + params: query, + }); +} diff --git a/src/views/longoPeration/CaseIssues.vue b/src/views/longoPeration/CaseIssues.vue index 0cb7544..60b7c66 100644 --- a/src/views/longoPeration/CaseIssues.vue +++ b/src/views/longoPeration/CaseIssues.vue @@ -34,7 +34,7 @@ - + @@ -63,10 +63,10 @@ @@ -231,6 +231,7 @@ const openOne = ref(false); const opendetails = ref(false); const showSearch = ref(true); +const multipleA = ref(true); const case_level = ref([ { value: '1', @@ -344,6 +345,9 @@ // function handleUpdate(Val) { openOne.value = true; + console.log(Val, 'Val'); + // console.log('multipleA.value', multipleA.value); + proxy.resetForm('roleRefOne'); AllData.NumIdOne = Val.id; } @@ -353,6 +357,13 @@ loading.value = true; let res = await rectifypage(queryParams.value); dataList.value = res.data; + res.data.forEach(item => { + if (item.fileListToNotice.length != 0) { + multipleA.value = false; + console.log(multipleA.value, 'multipleA.value'); + } + }); + total.value = res.total; loading.value = false; }; diff --git a/src/views/longoPeration/Patrolmanagement/Inspectionplan.vue b/src/views/longoPeration/Patrolmanagement/Inspectionplan.vue index 41b65ac..b39b4b4 100644 --- a/src/views/longoPeration/Patrolmanagement/Inspectionplan.vue +++ b/src/views/longoPeration/Patrolmanagement/Inspectionplan.vue @@ -46,7 +46,7 @@ - + @@ -72,8 +72,8 @@ - - + + - - + + - - + + - - + + diff --git a/src/api/longoPeration/inspectiontasks.js b/src/api/longoPeration/inspectiontasks.js index 40140a2..13d02f3 100644 --- a/src/api/longoPeration/inspectiontasks.js +++ b/src/api/longoPeration/inspectiontasks.js @@ -38,3 +38,11 @@ params: query, }); } + +export function patrolProblemlist(query) { + return request({ + url: '/business/patrolProblem/list', + method: 'get', + params: query, + }); +} diff --git a/src/views/longoPeration/CaseIssues.vue b/src/views/longoPeration/CaseIssues.vue index 0cb7544..60b7c66 100644 --- a/src/views/longoPeration/CaseIssues.vue +++ b/src/views/longoPeration/CaseIssues.vue @@ -34,7 +34,7 @@ - + @@ -63,10 +63,10 @@ @@ -231,6 +231,7 @@ const openOne = ref(false); const opendetails = ref(false); const showSearch = ref(true); +const multipleA = ref(true); const case_level = ref([ { value: '1', @@ -344,6 +345,9 @@ // function handleUpdate(Val) { openOne.value = true; + console.log(Val, 'Val'); + // console.log('multipleA.value', multipleA.value); + proxy.resetForm('roleRefOne'); AllData.NumIdOne = Val.id; } @@ -353,6 +357,13 @@ loading.value = true; let res = await rectifypage(queryParams.value); dataList.value = res.data; + res.data.forEach(item => { + if (item.fileListToNotice.length != 0) { + multipleA.value = false; + console.log(multipleA.value, 'multipleA.value'); + } + }); + total.value = res.total; loading.value = false; }; diff --git a/src/views/longoPeration/Patrolmanagement/Inspectionplan.vue b/src/views/longoPeration/Patrolmanagement/Inspectionplan.vue index 41b65ac..b39b4b4 100644 --- a/src/views/longoPeration/Patrolmanagement/Inspectionplan.vue +++ b/src/views/longoPeration/Patrolmanagement/Inspectionplan.vue @@ -46,7 +46,7 @@ - + @@ -72,8 +72,8 @@ - - + + - - + + diff --git a/src/views/longoPeration/Patrolmanagement/inspectiontasks.vue b/src/views/longoPeration/Patrolmanagement/inspectiontasks.vue index c1e596c..e44eae9 100644 --- a/src/views/longoPeration/Patrolmanagement/inspectiontasks.vue +++ b/src/views/longoPeration/Patrolmanagement/inspectiontasks.vue @@ -309,6 +309,7 @@ //搜索 function handleQuery() { getList(); + getList1(); } //重置 function resetQuery() { diff --git a/src/api/longoPeration/inspectiontasks.js b/src/api/longoPeration/inspectiontasks.js index 40140a2..13d02f3 100644 --- a/src/api/longoPeration/inspectiontasks.js +++ b/src/api/longoPeration/inspectiontasks.js @@ -38,3 +38,11 @@ params: query, }); } + +export function patrolProblemlist(query) { + return request({ + url: '/business/patrolProblem/list', + method: 'get', + params: query, + }); +} diff --git a/src/views/longoPeration/CaseIssues.vue b/src/views/longoPeration/CaseIssues.vue index 0cb7544..60b7c66 100644 --- a/src/views/longoPeration/CaseIssues.vue +++ b/src/views/longoPeration/CaseIssues.vue @@ -34,7 +34,7 @@ - + @@ -63,10 +63,10 @@ @@ -231,6 +231,7 @@ const openOne = ref(false); const opendetails = ref(false); const showSearch = ref(true); +const multipleA = ref(true); const case_level = ref([ { value: '1', @@ -344,6 +345,9 @@ // function handleUpdate(Val) { openOne.value = true; + console.log(Val, 'Val'); + // console.log('multipleA.value', multipleA.value); + proxy.resetForm('roleRefOne'); AllData.NumIdOne = Val.id; } @@ -353,6 +357,13 @@ loading.value = true; let res = await rectifypage(queryParams.value); dataList.value = res.data; + res.data.forEach(item => { + if (item.fileListToNotice.length != 0) { + multipleA.value = false; + console.log(multipleA.value, 'multipleA.value'); + } + }); + total.value = res.total; loading.value = false; }; diff --git a/src/views/longoPeration/Patrolmanagement/Inspectionplan.vue b/src/views/longoPeration/Patrolmanagement/Inspectionplan.vue index 41b65ac..b39b4b4 100644 --- a/src/views/longoPeration/Patrolmanagement/Inspectionplan.vue +++ b/src/views/longoPeration/Patrolmanagement/Inspectionplan.vue @@ -46,7 +46,7 @@ - + @@ -72,8 +72,8 @@ - - + + - - + + diff --git a/src/views/longoPeration/Patrolmanagement/inspectiontasks.vue b/src/views/longoPeration/Patrolmanagement/inspectiontasks.vue index c1e596c..e44eae9 100644 --- a/src/views/longoPeration/Patrolmanagement/inspectiontasks.vue +++ b/src/views/longoPeration/Patrolmanagement/inspectiontasks.vue @@ -309,6 +309,7 @@ //搜索 function handleQuery() { getList(); + getList1(); } //重置 function resetQuery() { diff --git a/src/views/longoPeration/Patrolmanagement/pop-upbox.vue b/src/views/longoPeration/Patrolmanagement/pop-upbox.vue index daa5bb5..be14038 100644 --- a/src/views/longoPeration/Patrolmanagement/pop-upbox.vue +++ b/src/views/longoPeration/Patrolmanagement/pop-upbox.vue @@ -6,7 +6,7 @@
-
巡查任务名称
+
巡查任务名称11
{{ props.DataList.taskName }}
@@ -108,7 +108,7 @@