Commit ca4dc500 authored by liwei's avatar liwei

修改了Ai工作站的管道温度bug

parent 2bd65778
......@@ -66,7 +66,7 @@ function getDataNew(item){
Page.rows = res.pageSize
})
}
getData()
// getData()
function getData(){
const item = reactive({
page: Page.page,
......@@ -94,6 +94,7 @@ function getData(){
Page.rows = res.pageSize
})
}
function getDataByParams(){
const item = {
page: Page.page,
......@@ -137,6 +138,10 @@ defineExpose({
const sortNewData = ref(new Map())
let sortMapData = reactive(new Map())
let sortList = reactive([])
//初始化
getDataByParams()
// 处理排序事件
const handleSortChange = (data) => {
sortList = []
......
......@@ -71,10 +71,9 @@ function getDataNew(item) {
})
}
getData()
// getData()
function getData() {
console.log(222222222)
const item = reactive({
page: historyPage.page,
size: historyPage.rows,
......@@ -194,6 +193,8 @@ const handleSortChange = (data) => {
})
};
getDataByParams()
/**序号自增*/
function Nindex(index) {
// 当前页数 - 1 * 每页数据条数 + 1
......
......@@ -118,7 +118,7 @@ const queryParams = reactive({
beginTime: '',
endTime: '',
});
const Page = reactive({total: 0, rows: 20, page: 1});
const Page = reactive({total: 0, rows: 30, page: 1});
const searchData = ref([]);
const thermalAlarmTypeList = [
{
......@@ -148,6 +148,8 @@ const thermalAlarmTypeList = [
]
const childParams = ref({})
const search = () => {
console.log('--------')
console.log('queryParams:',queryParams)
let stationId = ''
if (queryParams.stationId === undefined){
stationId = queryParams.stationId = ''
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment