微调
This commit is contained in:
@@ -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('table,getBoundPqDevList')
|
||||
return getBoundPqDevList({
|
||||
'planId': props.id,
|
||||
'checkStateList': checkStateList.value,
|
||||
@@ -659,10 +660,12 @@ const handleSelectionChange = (selection: any[]) => {
|
||||
|
||||
//查询
|
||||
const handleSearch = () => {
|
||||
console.log('handleSearch,getBoundPqDevList')
|
||||
proTable.value?.getTableList()
|
||||
}
|
||||
//重置
|
||||
const handleRefresh = () => {
|
||||
console.log('handleRefresh,getBoundPqDevList')
|
||||
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') // 触发事件
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user