|
@@ -190,7 +190,7 @@ const calendarChange = ({fulldate, year}) => {
|
|
const timeFormData = ref([])
|
|
const timeFormData = ref([])
|
|
const queryLogTimeTreeList = async () => {
|
|
const queryLogTimeTreeList = async () => {
|
|
const { data } = await mainApi.queryLogTimeTreeList({
|
|
const { data } = await mainApi.queryLogTimeTreeList({
|
|
- contractId: contractId.value || '',
|
|
|
|
|
|
+ contractId: contractId.value,
|
|
nodePrimaryKeyId: tabKey.value,
|
|
nodePrimaryKeyId: tabKey.value,
|
|
time: fullDate.value,
|
|
time: fullDate.value,
|
|
})
|
|
})
|
|
@@ -206,13 +206,13 @@ const handleTableQuery = async (item) => {
|
|
uni.showLoading({title: '获取pdf文件中...', mask: true});
|
|
uni.showLoading({title: '获取pdf文件中...', mask: true});
|
|
const {excelId, primaryKeyId} = tabItem.value
|
|
const {excelId, primaryKeyId} = tabItem.value
|
|
const { error, code, data } = await mainApi.getBussPdfInfo({
|
|
const { error, code, data } = await mainApi.getBussPdfInfo({
|
|
- contractId: contractId.value || '',
|
|
|
|
|
|
+ contractId: contractId.value,
|
|
pkeyId: excelId,
|
|
pkeyId: excelId,
|
|
nodePrimaryKeyId: primaryKeyId,
|
|
nodePrimaryKeyId: primaryKeyId,
|
|
recordTime: fullDate.value,
|
|
recordTime: fullDate.value,
|
|
theLogId: ""
|
|
theLogId: ""
|
|
})
|
|
})
|
|
- const resData = isString(data) ? data || '' : ''
|
|
|
|
|
|
+ const resData = isString(data) ? data ?? '' : ''
|
|
uni.hideLoading();
|
|
uni.hideLoading();
|
|
if (!error && code === 200 && resData) {
|
|
if (!error && code === 200 && resData) {
|
|
toPdfPreview(resData).then()
|
|
toPdfPreview(resData).then()
|