This commit is contained in:
sjl
2025-01-16 14:24:55 +08:00
parent 891c6d8e93
commit 55ae64b3e1
8 changed files with 113 additions and 32 deletions

View File

@@ -142,21 +142,21 @@
</el-dropdown>
</div> -->
<el-button
<!-- <el-button
type='primary'
link
:icon='Download'
@click="openDrawer('报告下载', scope.row)"
v-if='form.activeTabs === 3 && form.activeChildTabs === 0 && scope.row.reportState === 1'
>报告下载
</el-button>
</el-button> -->
<el-button
type='primary'
link
:icon='Postcard'
@click="openDrawer('报告生成', scope.row)"
v-if='form.activeTabs === 3 && scope.row.reportState !== 1'
v-if='form.activeTabs === 3 '
>报告生成
</el-button>
<!-- <el-button
@@ -477,6 +477,7 @@ const getTableList = async (params: any) => {
} else {
checkStateList.value = checkStateTable.value
}
console.log('tablegetBoundPqDevList')
return getBoundPqDevList({
'planId': props.id,
'checkStateList': checkStateList.value,
@@ -659,10 +660,12 @@ const handleSelectionChange = (selection: any[]) => {
//查询
const handleSearch = () => {
console.log('handleSearchgetBoundPqDevList')
proTable.value?.getTableList()
}
//重置
const handleRefresh = () => {
console.log('handleRefreshgetBoundPqDevList')
form.value.search = null
form.value.checkStatus = null
form.value.checkResult = null
@@ -772,7 +775,11 @@ function tableHeaderInit(val: number) {
break
}
//console.log("test",columns);
handleRefresh()
form.value.search = null
form.value.checkStatus = null
form.value.checkResult = null
form.value.checkReportStatus = null
//handleRefresh()
}
function refreshStatusList() {
@@ -980,7 +987,7 @@ const handleTest = async (val: string) => {
const data = reactive({
socketServe: socketClient.Instance,
});
const url = 'ws://localhost:7777/hello?name=cdf';
const url = 'ws://192.168.1.127:7777/hello?name=cdf';
socketClient.Instance.connect(url);
data.socketServe = socketClient.Instance;
data.socketServe.registerCallBack('aaa', (res: { code: number; }) => {
@@ -1034,6 +1041,8 @@ const handleTest = async (val: string) => {
ElMessage.success('归档成功!')
}
})
emit('batchGenerateClicked') // 触发事件
}