|
@@ -222,17 +222,10 @@ const contractInfo = ref(useAppState.getContractInfo)
|
|
|
onActivated(() => {
|
|
|
getContractData()
|
|
|
getEntrustStatusData()
|
|
|
- setContractType(contractInfo.value?.contractType)
|
|
|
+
|
|
|
})
|
|
|
-const authBtnTabKey = ref('1')
|
|
|
-const setContractType = (contractType) => {
|
|
|
- let typeValue = '1'
|
|
|
- if (contractType > 0) {
|
|
|
- typeValue = contractType + ''
|
|
|
- }
|
|
|
- authBtnTabKey.value = typeValue
|
|
|
-
|
|
|
-}
|
|
|
+
|
|
|
+
|
|
|
//搜索表单
|
|
|
const searchForm = ref({ entrustName: null, current: 1, size: 20, total: 0 })
|
|
|
|
|
@@ -633,7 +626,8 @@ const reportClick = async () => {
|
|
|
const { data } = await wbsApi.queryDocumentTitle({
|
|
|
// primaryKeyId: info['primaryKeyId'],
|
|
|
primaryKeyId: rows[0].id,
|
|
|
- classify: authBtnTabKey.value,
|
|
|
+ classify: '1',
|
|
|
+
|
|
|
})
|
|
|
reportTaskName.value = isString(data) ? data : ''
|
|
|
//显示任务上报
|