|
@@ -922,10 +922,10 @@ const tableLoading = ref(false)
|
|
const getTableData = async () => {
|
|
const getTableData = async () => {
|
|
guiItemData.value = []
|
|
guiItemData.value = []
|
|
tableLoading.value = true
|
|
tableLoading.value = true
|
|
- searchForm.value.queryValue=searchInput.value
|
|
|
|
|
|
+ searchForm.value.queryValue = searchInput.value
|
|
for (let key in searchForm.value) {
|
|
for (let key in searchForm.value) {
|
|
- if(searchForm.value[key]==='all'||searchForm.value[key]==='所有'){
|
|
|
|
- searchForm.value[key]=''
|
|
|
|
|
|
+ if(searchForm.value[key] === 'all' || searchForm.value[key] === '所有'){
|
|
|
|
+ searchForm.value[key] = ''
|
|
}
|
|
}
|
|
}
|
|
}
|
|
const { error, code, data } = await archiveQueryApi.getarchiveQueryPage({
|
|
const { error, code, data } = await archiveQueryApi.getarchiveQueryPage({
|
|
@@ -953,14 +953,14 @@ const getTableData = async () => {
|
|
if (tabKey.value === 'tab1') {
|
|
if (tabKey.value === 'tab1') {
|
|
tableFileCloseClick()
|
|
tableFileCloseClick()
|
|
if(searchForm.value.searchType === '2'){
|
|
if(searchForm.value.searchType === '2'){
|
|
- if(tableData.value.length>0&&tableData.value[0]?.approvalFileList.length>0){
|
|
|
|
|
|
+ if(tableData.value.length > 0 && tableData.value[0]?.approvalFileList.length > 0){
|
|
// tableFileData.value =getArrValue( tableData.value[0]['approvalFileList'])
|
|
// tableFileData.value =getArrValue( tableData.value[0]['approvalFileList'])
|
|
let searchinput=searchForm.value.queryValue
|
|
let searchinput=searchForm.value.queryValue
|
|
// let allarr=getArrValue( tableData.value[0]['approvalFileList'])
|
|
// let allarr=getArrValue( tableData.value[0]['approvalFileList'])
|
|
fileInfo.value.id= tableData.value[0]['id']
|
|
fileInfo.value.id= tableData.value[0]['id']
|
|
- getArchiveFileListData()
|
|
|
|
|
|
+ getArchiveFileListData().then()
|
|
let filterarr=allarr.filter((item)=>{
|
|
let filterarr=allarr.filter((item)=>{
|
|
- if(item.fileName.indexOf(searchinput)!=-1){
|
|
|
|
|
|
+ if(item.fileName.indexOf(searchinput) !== -1){
|
|
return item
|
|
return item
|
|
}
|
|
}
|
|
})
|
|
})
|
|
@@ -1548,12 +1548,18 @@ const transcribeApi = async (file) => {
|
|
let formData = new FormData();
|
|
let formData = new FormData();
|
|
formData.append("file", file);
|
|
formData.append("file", file);
|
|
const { error, code, data } = await archiveQueryApi.micSearchInfo(formData)
|
|
const { error, code, data } = await archiveQueryApi.micSearchInfo(formData)
|
|
- const str = isString(data) ? data : ''
|
|
|
|
|
|
+ /*const str = isString(data) ? data : ''
|
|
if (!error && code === 200 && str) {
|
|
if (!error && code === 200 && str) {
|
|
searchForm.value.searchType = 1
|
|
searchForm.value.searchType = 1
|
|
searchInput.value = str
|
|
searchInput.value = str
|
|
getTableData().then()
|
|
getTableData().then()
|
|
- }
|
|
|
|
|
|
+ }*/
|
|
|
|
+ searchForm.value.current = 1
|
|
|
|
+ searchForm.value.listType = 1
|
|
|
|
+ searchForm.value.searchType = 1
|
|
|
|
+ searchForm.value.nodeIds = '1660910247268581389,1660910247268581377,1660910247268581432,1660910247268581446,1660910247268581406,1660910247268581450,1660910247268581449,1669264546638295042,1660910247268581452,1660910247268581451'
|
|
|
|
+ searchInput.value = '补充协议'
|
|
|
|
+ getTableData().then()
|
|
}
|
|
}
|
|
|
|
|
|
//获取录音权限
|
|
//获取录音权限
|