|
@@ -173,7 +173,7 @@
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script setup>
|
|
<script setup>
|
|
-import { onActivated, ref } from 'vue'
|
|
|
|
|
|
+import { onActivated, onMounted, ref } from 'vue'
|
|
import { useAppStore } from '~src/store'
|
|
import { useAppStore } from '~src/store'
|
|
import { useRouter } from 'vue-router'
|
|
import { useRouter } from 'vue-router'
|
|
import { getStoreValue, setStoreValue } from '~src/utils/storage'
|
|
import { getStoreValue, setStoreValue } from '~src/utils/storage'
|
|
@@ -547,17 +547,13 @@ const reportClick = () => {
|
|
return
|
|
return
|
|
}
|
|
}
|
|
//判断状态
|
|
//判断状态
|
|
- const { id, status, entrustName, contractId: contractIds } = { ...rows[0] }
|
|
|
|
|
|
+ const { status, entrustName } = { ...rows[0] }
|
|
if (status !== 1) {
|
|
if (status !== 1) {
|
|
window.$message.warning('只能选择未上报的数据进行上报')
|
|
window.$message.warning('只能选择未上报的数据进行上报')
|
|
return
|
|
return
|
|
}
|
|
}
|
|
- console.log(contractIds)
|
|
|
|
- //reportContractId.value = contractIds
|
|
|
|
- //处理类型
|
|
|
|
- //const { contractType } = contractInfo.value
|
|
|
|
// 委托单上报设置为1
|
|
// 委托单上报设置为1
|
|
- classifyType.value = '1' //contractType > 0 ? contractType + '' : '1'
|
|
|
|
|
|
+ classifyType.value = '1'
|
|
//其它数据
|
|
//其它数据
|
|
reportIds.value = rows[0].id //数据ID
|
|
reportIds.value = rows[0].id //数据ID
|
|
reportTaskName.value = entrustName //任务名称
|
|
reportTaskName.value = entrustName //任务名称
|