|
|
@ -1,6 +1,6 @@ |
|
|
|
// package/report/report.js
|
|
|
|
|
|
|
|
import { getPointList,getPatrolTemplates,getPatrolTemplate,getTemplates,reportQuest,getPatrolPlan,getStructuresList,getDetail } from "../../utils/getApiUrl"; |
|
|
|
import { getPointList,getPointInfoAll,getPatrolTemplates,getPatrolTemplate,getTemplates,reportQuest,getPatrolPlan,getStructuresList,getDetail } from "../../utils/getApiUrl"; |
|
|
|
import {Request} from "../../common"; |
|
|
|
const moment = require("../../utils/moment"); |
|
|
|
|
|
|
@ -171,7 +171,7 @@ input4Change(e){ |
|
|
|
const that = this |
|
|
|
const projectId=that.data.sList.find(item=>item.id==that.data?.sList[Number(event.detail.value)].id)?.id |
|
|
|
const query={projectId} |
|
|
|
Request.get(getPointList(query)).then(res => { |
|
|
|
Request.get(getPointInfoAll(query)).then(res => { |
|
|
|
if(res){ |
|
|
|
that.setData({data:res}) |
|
|
|
} |
|
|
|