Merge branch 'feature-particulate-renpy' of http://git.hivekion.com:3000/xiaoguangbin/AnalysisSystemForRadionuclide_vue into feature-particulate-renpy
This commit is contained in:
		
						commit
						8ffbdf3cf7
					
				|  | @ -91,33 +91,33 @@ | ||||||
|             </a-row> |             </a-row> | ||||||
|           </template> |           </template> | ||||||
|         </a-tab-pane> |         </a-tab-pane> | ||||||
|         <a-tab-pane key="energy" tab="ENERGY" v-if="allData.gEnergyBlock===null?false:true"> |         <a-tab-pane key="energy" tab="ENERGY" v-if="allData.genergyBlock===null?false:true" forceRender> | ||||||
|           <div class="pane-title" style="margin-bottom: 15px;">G ENERGY</div> |           <div class="pane-title" style="margin-bottom: 15px;">G ENERGY</div> | ||||||
|           <custom-table |           <custom-table | ||||||
|             size="middle" |             size="middle" | ||||||
|             rowKey="sampleId" |             :rowKey="getUid()" | ||||||
|             :columns="columnsEnergy" |             :columns="columnsEnergy" | ||||||
|             :list="dataSourceEnergy" |             :list="dataSourceEnergy" | ||||||
|             :pagination="false" |             :pagination="false" | ||||||
|           > |           > | ||||||
|           </custom-table> |           </custom-table> | ||||||
|         </a-tab-pane> |         </a-tab-pane> | ||||||
|         <a-tab-pane key="resulution" tab="RESOLUTION" v-if="allData.gResolutionBlock===null?false:true"> |         <a-tab-pane key="resulution" tab="RESOLUTION" v-if="allData.gresolutionBlock===null?false:true" forceRender> | ||||||
|           <div class="pane-title" style="margin-bottom: 15px;">G RESOLUTION</div> |           <div class="pane-title" style="margin-bottom: 15px;">G RESOLUTION</div> | ||||||
|           <custom-table |           <custom-table | ||||||
|             size="middle" |             size="middle" | ||||||
|             rowKey="sampleId" |             :rowKey="getUid()" | ||||||
|             :columns="columnsResulution" |             :columns="columnsResulution" | ||||||
|             :list="dataSourceResulution" |             :list="dataSourceResulution" | ||||||
|             :pagination="false" |             :pagination="false" | ||||||
|           > |           > | ||||||
|           </custom-table> |           </custom-table> | ||||||
|         </a-tab-pane> |         </a-tab-pane> | ||||||
|         <a-tab-pane key="efficiency" tab="EFFICIENCY" v-if="allData.gEfficiencyBlock===null?false:true"> |         <a-tab-pane key="efficiency" tab="EFFICIENCY" v-if="allData.gefficiencyBlock===null?false:true" forceRender> | ||||||
|           <div class="pane-title" style="margin-bottom: 15px;">GAMMA EFFICIENCY</div> |           <div class="pane-title" style="margin-bottom: 15px;">GAMMA EFFICIENCY</div> | ||||||
|           <custom-table |           <custom-table | ||||||
|             size="middle" |             size="middle" | ||||||
|             rowKey="sampleId" |             :rowKey="getUid()" | ||||||
|             :columns="columnsEfficiency" |             :columns="columnsEfficiency" | ||||||
|             :list="dataSourceEfficiency" |             :list="dataSourceEfficiency" | ||||||
|             :pagination="false" |             :pagination="false" | ||||||
|  | @ -138,7 +138,7 @@ | ||||||
|           </div> |           </div> | ||||||
|           <div class="gamma-spectrum-chart" id="spectrumChartRef"></div> |           <div class="gamma-spectrum-chart" id="spectrumChartRef"></div> | ||||||
|         </a-tab-pane> |         </a-tab-pane> | ||||||
|         <a-tab-pane key="certificate" tab="CERTIFICATE" v-if="allData.certificateBlock===null?false:true"> |         <a-tab-pane key="certificate" tab="CERTIFICATE" v-if="allData.certificateBlock===null?false:true" forceRender> | ||||||
|           <div class="pane-title" style="margin-bottom: 15px;">CERTIFICATE</div> |           <div class="pane-title" style="margin-bottom: 15px;">CERTIFICATE</div> | ||||||
|           <div class="certificate-row"> |           <div class="certificate-row"> | ||||||
|             <span class="span-key">Total Source Activity [ Bq ]:</span><span class="row-val">{{ allData.certificateBlock.totalSourceActivity }}</span> |             <span class="span-key">Total Source Activity [ Bq ]:</span><span class="row-val">{{ allData.certificateBlock.totalSourceActivity }}</span> | ||||||
|  | @ -147,7 +147,7 @@ | ||||||
|           </div> |           </div> | ||||||
|           <custom-table |           <custom-table | ||||||
|             size="middle" |             size="middle" | ||||||
|             rowKey="sampleId" |             :rowKey="getUid()" | ||||||
|             :columns="columnsCertificate" |             :columns="columnsCertificate" | ||||||
|             :list="dataSourceCertificate" |             :list="dataSourceCertificate" | ||||||
|             :pagination="false" |             :pagination="false" | ||||||
|  | @ -160,7 +160,6 @@ | ||||||
| 
 | 
 | ||||||
| <script> | <script> | ||||||
| import * as echarts from 'echarts' | import * as echarts from 'echarts' | ||||||
| // import allData from "./data.json" |  | ||||||
| export default { | export default { | ||||||
|     props: { |     props: { | ||||||
|       allData: { |       allData: { | ||||||
|  | @ -302,6 +301,9 @@ export default { | ||||||
|       this.dataSourceCertificate = this.allData.certificateBlock?this.allData.certificateBlock.certificateSubBlock:[] |       this.dataSourceCertificate = this.allData.certificateBlock?this.allData.certificateBlock.certificateSubBlock:[] | ||||||
|     }, |     }, | ||||||
|   methods: { |   methods: { | ||||||
|  |     getUid() { | ||||||
|  |       return (Math.random()+new Date().getTime()).toString(32).slice(0,8) | ||||||
|  |     }, | ||||||
|     yLogChange(e) { |     yLogChange(e) { | ||||||
|       this.yAxisType = e.target.checked?"log":"value" |       this.yAxisType = e.target.checked?"log":"value" | ||||||
|       this.spectrumChart.setOption({ |       this.spectrumChart.setOption({ | ||||||
|  | @ -341,10 +343,13 @@ export default { | ||||||
|       this.spectrumChart.setOption({ |       this.spectrumChart.setOption({ | ||||||
|         tooltip: { |         tooltip: { | ||||||
|           trigger: 'axis', |           trigger: 'axis', | ||||||
|           formatter: '{a} <br/>{b} : {c}' |           formatter: function (params) { | ||||||
|  |             return `<div>${params[0].axisValueLabel}</div> | ||||||
|  |               <div style="color:#0656ff">value:${params[0].value}</div> | ||||||
|  |             ` | ||||||
|  |           } | ||||||
|         }, |         }, | ||||||
|         xAxis: { |         xAxis: { | ||||||
|           // type: 'time', |  | ||||||
|           splitLine: { |           splitLine: { | ||||||
|             show: true, |             show: true, | ||||||
|             lineStyle: { |             lineStyle: { | ||||||
|  | @ -367,7 +372,6 @@ export default { | ||||||
|         }, |         }, | ||||||
|         yAxis: { |         yAxis: { | ||||||
|           type: this.yAxisType, |           type: this.yAxisType, | ||||||
|           // type: 'log', |  | ||||||
|           splitLine: { |           splitLine: { | ||||||
|             show: true, |             show: true, | ||||||
|             lineStyle: { |             lineStyle: { | ||||||
|  |  | ||||||
|  | @ -0,0 +1,98 @@ | ||||||
|  | <template> | ||||||
|  |   <div style="height: 100%;"> | ||||||
|  |     <List :stationList="stationList" :columns="columns" :dataType="dataType"></List> | ||||||
|  |   </div> | ||||||
|  | </template> | ||||||
|  | 
 | ||||||
|  | <script> | ||||||
|  | import List from "../../../../list.vue" | ||||||
|  | import { getAction } from '../../../../../../api/manage' | ||||||
|  | 
 | ||||||
|  | const columns = [ | ||||||
|  |   { | ||||||
|  |     title: 'NO', | ||||||
|  |     align: 'left', | ||||||
|  |     scopedSlots: { | ||||||
|  |       customRender: 'index', | ||||||
|  |     }, | ||||||
|  |     customHeaderCell: () => { | ||||||
|  |       return { | ||||||
|  |         style: { | ||||||
|  |           'padding-left': '26px !important', | ||||||
|  |         }, | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|  |     customCell: () => { | ||||||
|  |       return { | ||||||
|  |         style: { | ||||||
|  |           'padding-left': '26px !important', | ||||||
|  |         }, | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|  |   }, | ||||||
|  |   { | ||||||
|  |     title: 'STATION', | ||||||
|  |     align: 'left', | ||||||
|  |     dataIndex: 'stationName', | ||||||
|  |   }, | ||||||
|  |   { | ||||||
|  |     title: 'DETECTOR CODE', | ||||||
|  |     align: 'left', | ||||||
|  |     dataIndex: 'siteDetCode', | ||||||
|  |   }, | ||||||
|  |   { | ||||||
|  |     title: 'SPECTRAL QUALIFIER', | ||||||
|  |     align: 'left', | ||||||
|  |     dataIndex: 'spectralQualifie', | ||||||
|  |   }, | ||||||
|  |   { | ||||||
|  |     title: 'ACQUISITION START TIME', | ||||||
|  |     align: 'left', | ||||||
|  |     dataIndex: 'acquisitionStart', | ||||||
|  |   }, | ||||||
|  |   { | ||||||
|  |     title: 'ACQUISITION STOP TIME', | ||||||
|  |     align: 'left', | ||||||
|  |     dataIndex: 'acquisitionStop', | ||||||
|  |   }, | ||||||
|  |   { | ||||||
|  |     title: 'CALIB REPORTS', | ||||||
|  |     align: 'left', | ||||||
|  |     dataIndex: 'calibReports', | ||||||
|  |   }, | ||||||
|  | ] | ||||||
|  | export default { | ||||||
|  |   components: { | ||||||
|  |     List, | ||||||
|  |   }, | ||||||
|  |   data() { | ||||||
|  |     return { | ||||||
|  |       url: { | ||||||
|  |         findStationList: '/webStatistics/findStationList', | ||||||
|  |       }, | ||||||
|  |       stationList: [], | ||||||
|  |       columns, | ||||||
|  |       dataType:"C" | ||||||
|  |     } | ||||||
|  |   }, | ||||||
|  |   mounted() { | ||||||
|  |     console.log(this.dataType); | ||||||
|  |     this.findStationList(); | ||||||
|  |   }, | ||||||
|  |   methods: { | ||||||
|  |     findStationList() { | ||||||
|  |       getAction(this.url.findStationList, { menuName: 'Node Gas HPGe' }).then((res) => { | ||||||
|  |         if (res.result.length>0) { | ||||||
|  |           this.stationList = res.result.map((res) => ({ label: res.stationCode, value: res.stationId })) | ||||||
|  |         } else { | ||||||
|  |           this.stationList=[] | ||||||
|  |         } | ||||||
|  |       }) | ||||||
|  |     }, | ||||||
|  |   }, | ||||||
|  | } | ||||||
|  | </script> | ||||||
|  | 
 | ||||||
|  | <style lang="less" scoped> | ||||||
|  | 
 | ||||||
|  | </style> | ||||||
|  | @ -0,0 +1,93 @@ | ||||||
|  | <template> | ||||||
|  |   <div style="height: 100%;"> | ||||||
|  |     <List :stationList="stationList" :columns="columns" :dataType="dataType"></List> | ||||||
|  |   </div> | ||||||
|  | </template> | ||||||
|  | 
 | ||||||
|  | <script> | ||||||
|  | import List from "../../../../list.vue" | ||||||
|  | import { getAction } from '../../../../../../api/manage' | ||||||
|  | 
 | ||||||
|  | const columns = [ | ||||||
|  |   { | ||||||
|  |     title: 'NO', | ||||||
|  |     align: 'left', | ||||||
|  |     scopedSlots: { | ||||||
|  |       customRender: 'index', | ||||||
|  |     }, | ||||||
|  |     customHeaderCell: () => { | ||||||
|  |       return { | ||||||
|  |         style: { | ||||||
|  |           'padding-left': '26px !important', | ||||||
|  |         }, | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|  |     customCell: () => { | ||||||
|  |       return { | ||||||
|  |         style: { | ||||||
|  |           'padding-left': '26px !important', | ||||||
|  |         }, | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|  |   }, | ||||||
|  |   { | ||||||
|  |     title: 'STATION', | ||||||
|  |     align: 'left', | ||||||
|  |     dataIndex: 'stationName', | ||||||
|  |   }, | ||||||
|  |   { | ||||||
|  |     title: 'DETECTOR CODE', | ||||||
|  |     align: 'left', | ||||||
|  |     dataIndex: 'siteDetCode', | ||||||
|  |   }, | ||||||
|  |   { | ||||||
|  |     title: 'SPECTRAL QUALIFIER', | ||||||
|  |     align: 'left', | ||||||
|  |     dataIndex: 'spectralQualifie', | ||||||
|  |   }, | ||||||
|  |   { | ||||||
|  |     title: 'ACQUISITION START TIME', | ||||||
|  |     align: 'left', | ||||||
|  |     dataIndex: 'acquisitionStart', | ||||||
|  |   }, | ||||||
|  |   { | ||||||
|  |     title: 'ACQUISITION STOP TIME', | ||||||
|  |     align: 'left', | ||||||
|  |     dataIndex: 'acquisitionStop', | ||||||
|  |   } | ||||||
|  | ] | ||||||
|  | export default { | ||||||
|  |   components: { | ||||||
|  |     List, | ||||||
|  |   }, | ||||||
|  |   data() { | ||||||
|  |     return { | ||||||
|  |       url: { | ||||||
|  |         findStationList: '/webStatistics/findStationList', | ||||||
|  |       }, | ||||||
|  |       stationList: [], | ||||||
|  |       columns, | ||||||
|  |       dataType:"D" | ||||||
|  |     } | ||||||
|  |   }, | ||||||
|  |   mounted() { | ||||||
|  |     console.log(this.dataType); | ||||||
|  |     this.findStationList(); | ||||||
|  |   }, | ||||||
|  |   methods: { | ||||||
|  |     findStationList() { | ||||||
|  |       getAction(this.url.findStationList, { menuName: 'Node Gas HPGe' }).then((res) => { | ||||||
|  |         if (res.result.length>0) { | ||||||
|  |           this.stationList = res.result.map((res) => ({ label: res.stationCode, value: res.stationId })) | ||||||
|  |         } else { | ||||||
|  |           this.stationList=[] | ||||||
|  |         } | ||||||
|  |       }) | ||||||
|  |     }, | ||||||
|  |   }, | ||||||
|  | } | ||||||
|  | </script> | ||||||
|  | 
 | ||||||
|  | <style lang="less" scoped> | ||||||
|  | 
 | ||||||
|  | </style> | ||||||
|  | @ -0,0 +1,93 @@ | ||||||
|  | <template> | ||||||
|  |   <div style="height: 100%;"> | ||||||
|  |     <List :stationList="stationList" :columns="columns" :dataType="dataType"></List> | ||||||
|  |   </div> | ||||||
|  | </template> | ||||||
|  | 
 | ||||||
|  | <script> | ||||||
|  | import List from "../../../../list.vue" | ||||||
|  | import { getAction } from '../../../../../../api/manage' | ||||||
|  | 
 | ||||||
|  | const columns = [ | ||||||
|  |   { | ||||||
|  |     title: 'NO', | ||||||
|  |     align: 'left', | ||||||
|  |     scopedSlots: { | ||||||
|  |       customRender: 'index', | ||||||
|  |     }, | ||||||
|  |     customHeaderCell: () => { | ||||||
|  |       return { | ||||||
|  |         style: { | ||||||
|  |           'padding-left': '26px !important', | ||||||
|  |         }, | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|  |     customCell: () => { | ||||||
|  |       return { | ||||||
|  |         style: { | ||||||
|  |           'padding-left': '26px !important', | ||||||
|  |         }, | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|  |   }, | ||||||
|  |   { | ||||||
|  |     title: 'STATION', | ||||||
|  |     align: 'left', | ||||||
|  |     dataIndex: 'stationName', | ||||||
|  |   }, | ||||||
|  |   { | ||||||
|  |     title: 'DETECTOR CODE', | ||||||
|  |     align: 'left', | ||||||
|  |     dataIndex: 'siteDetCode', | ||||||
|  |   }, | ||||||
|  |   { | ||||||
|  |     title: 'SPECTRAL QUALIFIER', | ||||||
|  |     align: 'left', | ||||||
|  |     dataIndex: 'spectralQualifie', | ||||||
|  |   }, | ||||||
|  |   { | ||||||
|  |     title: 'ACQUISITION START TIME', | ||||||
|  |     align: 'left', | ||||||
|  |     dataIndex: 'acquisitionStart', | ||||||
|  |   }, | ||||||
|  |   { | ||||||
|  |     title: 'ACQUISITION STOP TIME', | ||||||
|  |     align: 'left', | ||||||
|  |     dataIndex: 'acquisitionStop', | ||||||
|  |   } | ||||||
|  | ] | ||||||
|  | export default { | ||||||
|  |   components: { | ||||||
|  |     List, | ||||||
|  |   }, | ||||||
|  |   data() { | ||||||
|  |     return { | ||||||
|  |       url: { | ||||||
|  |         findStationList: '/webStatistics/findStationList', | ||||||
|  |       }, | ||||||
|  |       stationList: [], | ||||||
|  |       columns, | ||||||
|  |       dataType:"Q" | ||||||
|  |     } | ||||||
|  |   }, | ||||||
|  |   mounted() { | ||||||
|  |     console.log(this.dataType); | ||||||
|  |     this.findStationList(); | ||||||
|  |   }, | ||||||
|  |   methods: { | ||||||
|  |     findStationList() { | ||||||
|  |       getAction(this.url.findStationList, { menuName: 'Node Gas HPGe' }).then((res) => { | ||||||
|  |         if (res.result.length>0) { | ||||||
|  |           this.stationList = res.result.map((res) => ({ label: res.stationCode, value: res.stationId })) | ||||||
|  |         } else { | ||||||
|  |           this.stationList=[] | ||||||
|  |         } | ||||||
|  |       }) | ||||||
|  |     }, | ||||||
|  |   }, | ||||||
|  | } | ||||||
|  | </script> | ||||||
|  | 
 | ||||||
|  | <style lang="less" scoped> | ||||||
|  | 
 | ||||||
|  | </style> | ||||||
|  | @ -0,0 +1,94 @@ | ||||||
|  | <template> | ||||||
|  |   <div style="height: 100%;"> | ||||||
|  |     <List :stationList="stationList" :spectralQualifie="spectralQualifie" :columns="columns" :dataType="dataType"></List> | ||||||
|  |   </div> | ||||||
|  | </template> | ||||||
|  | 
 | ||||||
|  | <script> | ||||||
|  | import List from "../../../../list.vue" | ||||||
|  | import { getAction } from '../../../../../../api/manage' | ||||||
|  | 
 | ||||||
|  | const columns = [ | ||||||
|  |   { | ||||||
|  |     title: 'NO', | ||||||
|  |     align: 'left', | ||||||
|  |     scopedSlots: { | ||||||
|  |       customRender: 'index', | ||||||
|  |     }, | ||||||
|  |     customHeaderCell: () => { | ||||||
|  |       return { | ||||||
|  |         style: { | ||||||
|  |           'padding-left': '26px !important', | ||||||
|  |         }, | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|  |     customCell: () => { | ||||||
|  |       return { | ||||||
|  |         style: { | ||||||
|  |           'padding-left': '26px !important', | ||||||
|  |         }, | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|  |   }, | ||||||
|  |   { | ||||||
|  |     title: 'STATION', | ||||||
|  |     align: 'left', | ||||||
|  |     dataIndex: 'stationName', | ||||||
|  |   }, | ||||||
|  |   { | ||||||
|  |     title: 'DETECTOR CODE', | ||||||
|  |     align: 'left', | ||||||
|  |     dataIndex: 'siteDetCode', | ||||||
|  |   }, | ||||||
|  |   { | ||||||
|  |     title: 'SPECTRAL QUALIFIER', | ||||||
|  |     align: 'left', | ||||||
|  |     dataIndex: 'spectralQualifie', | ||||||
|  |   }, | ||||||
|  |   { | ||||||
|  |     title: 'COLLECTION START TIME', | ||||||
|  |     align: 'left', | ||||||
|  |     dataIndex: 'collectStart', | ||||||
|  |   }, | ||||||
|  |   { | ||||||
|  |     title: 'COLLECTION STOP TIME', | ||||||
|  |     align: 'left', | ||||||
|  |     dataIndex: 'collectStop', | ||||||
|  |   } | ||||||
|  | ] | ||||||
|  | export default { | ||||||
|  |   components: { | ||||||
|  |     List, | ||||||
|  |   }, | ||||||
|  |   data() { | ||||||
|  |     return { | ||||||
|  |       url: { | ||||||
|  |         findStationList: '/webStatistics/findStationList', | ||||||
|  |       }, | ||||||
|  |       stationList: [], | ||||||
|  |       columns, | ||||||
|  |       dataType: "S", | ||||||
|  |       spectralQualifie:"FULL" | ||||||
|  |     } | ||||||
|  |   }, | ||||||
|  |   mounted() { | ||||||
|  |     console.log(this.dataType); | ||||||
|  |     this.findStationList(); | ||||||
|  |   }, | ||||||
|  |   methods: { | ||||||
|  |     findStationList() { | ||||||
|  |       getAction(this.url.findStationList, { menuName: 'Node Gas HPGe' }).then((res) => { | ||||||
|  |         if (res.result.length>0) { | ||||||
|  |           this.stationList = res.result.map((res) => ({ label: res.stationCode, value: res.stationId })) | ||||||
|  |         } else { | ||||||
|  |           this.stationList=[] | ||||||
|  |         } | ||||||
|  |       }) | ||||||
|  |     }, | ||||||
|  |   }, | ||||||
|  | } | ||||||
|  | </script> | ||||||
|  | 
 | ||||||
|  | <style lang="less" scoped> | ||||||
|  | 
 | ||||||
|  | </style> | ||||||
|  | @ -0,0 +1,94 @@ | ||||||
|  | <template> | ||||||
|  |   <div style="height: 100%;"> | ||||||
|  |     <List :stationList="stationList" :spectralQualifie="spectralQualifie" :columns="columns" :dataType="dataType"></List> | ||||||
|  |   </div> | ||||||
|  | </template> | ||||||
|  | 
 | ||||||
|  | <script> | ||||||
|  | import List from "../../../../list.vue" | ||||||
|  | import { getAction } from '../../../../../../api/manage' | ||||||
|  | 
 | ||||||
|  | const columns = [ | ||||||
|  |   { | ||||||
|  |     title: 'NO', | ||||||
|  |     align: 'left', | ||||||
|  |     scopedSlots: { | ||||||
|  |       customRender: 'index', | ||||||
|  |     }, | ||||||
|  |     customHeaderCell: () => { | ||||||
|  |       return { | ||||||
|  |         style: { | ||||||
|  |           'padding-left': '26px !important', | ||||||
|  |         }, | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|  |     customCell: () => { | ||||||
|  |       return { | ||||||
|  |         style: { | ||||||
|  |           'padding-left': '26px !important', | ||||||
|  |         }, | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|  |   }, | ||||||
|  |   { | ||||||
|  |     title: 'STATION', | ||||||
|  |     align: 'left', | ||||||
|  |     dataIndex: 'stationName', | ||||||
|  |   }, | ||||||
|  |   { | ||||||
|  |     title: 'DETECTOR CODE', | ||||||
|  |     align: 'left', | ||||||
|  |     dataIndex: 'siteDetCode', | ||||||
|  |   }, | ||||||
|  |   { | ||||||
|  |     title: 'SPECTRAL QUALIFIER', | ||||||
|  |     align: 'left', | ||||||
|  |     dataIndex: 'spectralQualifie', | ||||||
|  |   }, | ||||||
|  |   { | ||||||
|  |     title: 'COLLECTION START TIME', | ||||||
|  |     align: 'left', | ||||||
|  |     dataIndex: 'collectStart', | ||||||
|  |   }, | ||||||
|  |   { | ||||||
|  |     title: 'COLLECTION STOP TIME', | ||||||
|  |     align: 'left', | ||||||
|  |     dataIndex: 'collectStop', | ||||||
|  |   } | ||||||
|  | ] | ||||||
|  | export default { | ||||||
|  |   components: { | ||||||
|  |     List, | ||||||
|  |   }, | ||||||
|  |   data() { | ||||||
|  |     return { | ||||||
|  |       url: { | ||||||
|  |         findStationList: '/webStatistics/findStationList', | ||||||
|  |       }, | ||||||
|  |       stationList: [], | ||||||
|  |       columns, | ||||||
|  |       dataType: "S", | ||||||
|  |       spectralQualifie:"PREL" | ||||||
|  |     } | ||||||
|  |   }, | ||||||
|  |   mounted() { | ||||||
|  |     console.log(this.dataType); | ||||||
|  |     this.findStationList(); | ||||||
|  |   }, | ||||||
|  |   methods: { | ||||||
|  |     findStationList() { | ||||||
|  |       getAction(this.url.findStationList, { menuName: 'Node Gas HPGe' }).then((res) => { | ||||||
|  |         if (res.result.length>0) { | ||||||
|  |           this.stationList = res.result.map((res) => ({ label: res.stationCode, value: res.stationId })) | ||||||
|  |         } else { | ||||||
|  |           this.stationList=[] | ||||||
|  |         } | ||||||
|  |       }) | ||||||
|  |     }, | ||||||
|  |   }, | ||||||
|  | } | ||||||
|  | </script> | ||||||
|  | 
 | ||||||
|  | <style lang="less" scoped> | ||||||
|  | 
 | ||||||
|  | </style> | ||||||
|  | @ -156,7 +156,7 @@ export default { | ||||||
|       }) |       }) | ||||||
|     }, |     }, | ||||||
|     handleDetail(record) { |     handleDetail(record) { | ||||||
|       getAction("webStatistics/findGeneratedReport", { sampleId: "1523651" }).then(res => { |       getAction("webStatistics/findGeneratedReport", { sampleId: record.sampleId }).then(res => { | ||||||
|         if (res.success) { |         if (res.success) { | ||||||
|           this.detailJson = res.result |           this.detailJson = res.result | ||||||
|           this.detailJson = JSON.parse(JSON.stringify(this.detailJson)) |           this.detailJson = JSON.parse(JSON.stringify(this.detailJson)) | ||||||
|  |  | ||||||
|  | @ -85,6 +85,12 @@ export default { | ||||||
|       console.log("查询数据", this.queryParam); |       console.log("查询数据", this.queryParam); | ||||||
|       console.log(this.dataType); |       console.log(this.dataType); | ||||||
|       this.isImmediate = false |       this.isImmediate = false | ||||||
|  |       // this.queryParam = { | ||||||
|  |       //   dataType: "S", | ||||||
|  |       //   startTime: "2023-05-01", | ||||||
|  |       //   endTime: "2023-05-07", | ||||||
|  |       //   stationIds: [209, 211, 213] | ||||||
|  |       // } | ||||||
|       let params = { |       let params = { | ||||||
|         ...this.queryParam, |         ...this.queryParam, | ||||||
|         pageNo: 1, |         pageNo: 1, | ||||||
|  | @ -101,7 +107,8 @@ export default { | ||||||
|     }, |     }, | ||||||
|     handleDetail(record) { |     handleDetail(record) { | ||||||
|       // 测试接口数据 record.sampleId |       // 测试接口数据 record.sampleId | ||||||
|       getAction("webStatistics/findGeneratedReport", { sampleId: "1523651" }).then(res => { |       getAction("webStatistics/findGeneratedReport", { sampleId: record.sampleId }).then(res => { | ||||||
|  |       // getAction("webStatistics/findGeneratedReport", { sampleId: "1523651" }).then(res => { | ||||||
|         if (res.success){ |         if (res.success){ | ||||||
|           this.detailJson = res.result |           this.detailJson = res.result | ||||||
|           this.detailJson = JSON.parse(JSON.stringify(this.detailJson)) |           this.detailJson = JSON.parse(JSON.stringify(this.detailJson)) | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 orgin
						orgin