|
@@ -35,8 +35,8 @@
|
|
<a-popconfirm title="删除内容无法恢复,是否删除" ok-text="确定" cancel-text="取消" @confirm="handleDelCardInfo(record)">
|
|
<a-popconfirm title="删除内容无法恢复,是否删除" ok-text="确定" cancel-text="取消" @confirm="handleDelCardInfo(record)">
|
|
<a class="table-action-link">删除</a>
|
|
<a class="table-action-link">删除</a>
|
|
</a-popconfirm>
|
|
</a-popconfirm>
|
|
- <a class="table-action-link" @click="moveUp(record)">上移</a>
|
|
|
|
- <a class="table-action-link" @click="moveDown(record)">下移</a>
|
|
|
|
|
|
+ <!-- <a class="table-action-link" @click="moveUp(record)">上移</a> -->
|
|
|
|
+ <!-- <a class="table-action-link" @click="moveDown(record)">下移</a> -->
|
|
</template>
|
|
</template>
|
|
<template #bodyCell="{ column, text }">
|
|
<template #bodyCell="{ column, text }">
|
|
<template v-if="column.dataIndex == 'isSensor'">
|
|
<template v-if="column.dataIndex == 'isSensor'">
|
|
@@ -91,7 +91,7 @@
|
|
list,
|
|
list,
|
|
importByExcel,
|
|
importByExcel,
|
|
exportGasByExcel,
|
|
exportGasByExcel,
|
|
- moveOrderNum,
|
|
|
|
|
|
+ // moveOrderNum,
|
|
editNew,
|
|
editNew,
|
|
taskSubmit,
|
|
taskSubmit,
|
|
clearCardInfoNew,
|
|
clearCardInfoNew,
|
|
@@ -242,34 +242,34 @@
|
|
// navigator.msSaveBlob(blob, fileName);
|
|
// navigator.msSaveBlob(blob, fileName);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- //列表上移
|
|
|
|
- async function moveUp(param) {
|
|
|
|
- let res = await moveOrderNum({ id: param.id, moveType: 'upp' });
|
|
|
|
- if (res) {
|
|
|
|
- queryByIdList();
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- //列表下移
|
|
|
|
- async function moveDown(param) {
|
|
|
|
- let res = await moveOrderNum({ id: param.id, moveType: 'bel' });
|
|
|
|
- if (res) {
|
|
|
|
- queryByIdList();
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- //巡检次数筛选
|
|
|
|
- let handlerFilter = (param) => {
|
|
|
|
- let data = param.key;
|
|
|
|
- switch (data) {
|
|
|
|
- case '1':
|
|
|
|
- pagination.current = 1;
|
|
|
|
- tableData.value = tableData.value.filter((v) => v.insType == '1');
|
|
|
|
- break;
|
|
|
|
- case '2':
|
|
|
|
- pagination.current = 2;
|
|
|
|
- tableData.value = tableData.value.filter((v) => v.insType == '2');
|
|
|
|
- break;
|
|
|
|
- }
|
|
|
|
- };
|
|
|
|
|
|
+ // //列表上移
|
|
|
|
+ // async function moveUp(param) {
|
|
|
|
+ // let res = await moveOrderNum({ id: param.id, moveType: 'upp' });
|
|
|
|
+ // if (res) {
|
|
|
|
+ // queryByIdList();
|
|
|
|
+ // }
|
|
|
|
+ // }
|
|
|
|
+ // //列表下移
|
|
|
|
+ // async function moveDown(param) {
|
|
|
|
+ // let res = await moveOrderNum({ id: param.id, moveType: 'bel' });
|
|
|
|
+ // if (res) {
|
|
|
|
+ // queryByIdList();
|
|
|
|
+ // }
|
|
|
|
+ // }
|
|
|
|
+ // //巡检次数筛选
|
|
|
|
+ // let handlerFilter = (param) => {
|
|
|
|
+ // let data = param.key;
|
|
|
|
+ // switch (data) {
|
|
|
|
+ // case '1':
|
|
|
|
+ // pagination.current = 1;
|
|
|
|
+ // tableData.value = tableData.value.filter((v) => v.insType == '1');
|
|
|
|
+ // break;
|
|
|
|
+ // case '2':
|
|
|
|
+ // pagination.current = 2;
|
|
|
|
+ // tableData.value = tableData.value.filter((v) => v.insType == '2');
|
|
|
|
+ // break;
|
|
|
|
+ // }
|
|
|
|
+ // };
|
|
//新增瓦斯巡检地点
|
|
//新增瓦斯巡检地点
|
|
let getTjAddress = () => {
|
|
let getTjAddress = () => {
|
|
visibleAddress.value = true;
|
|
visibleAddress.value = true;
|