|
@@ -13,6 +13,10 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
<template #extra>
|
|
|
+ <el-button hc-btn type="primary" @click="importClick">
|
|
|
+ <hc-icon name="add" />
|
|
|
+ <span>导入</span>
|
|
|
+ </el-button>
|
|
|
<el-button hc-btn type="primary" :disabled="approveStatus !== 0" @click="addModalClick">
|
|
|
<hc-icon name="add" />
|
|
|
<span>新增</span>
|
|
@@ -106,6 +110,7 @@
|
|
|
</hc-card-item>
|
|
|
</div>
|
|
|
</div>
|
|
|
+
|
|
|
<!-- 新增/修改 -->
|
|
|
<HcDataModal v-model="isDataModal" :info-data="infoData" :meter-period-id="searchForm.meterPeriodId" :ids="editId" @close="finishData" />
|
|
|
|
|
@@ -121,13 +126,14 @@
|
|
|
import { nextTick, onActivated, ref } from 'vue'
|
|
|
import { backMeterTask } from '~api/other'
|
|
|
import { useAppStore } from '~src/store'
|
|
|
+import { toPdfPage } from '~uti/btn-auth'
|
|
|
+import { HcDelMsg } from 'hc-vue3-ui'
|
|
|
+import { getArrValue, getObjValue, isNullES } from 'js-fast-way'
|
|
|
import HcDataModal from './components/order/dataModal.vue'
|
|
|
import HcTaskModal from '~src/components/task-modal/task-modal.vue'
|
|
|
import mainApi from '~api/debit-pay/material/order.js'
|
|
|
import periodApi from '~api/debit-pay/material/periods.js'
|
|
|
-import { getArrValue, getObjValue, isNullES } from 'js-fast-way'
|
|
|
-import { toPdfPage } from '~uti/btn-auth'
|
|
|
-import { HcDelMsg } from 'hc-vue3-ui'
|
|
|
+
|
|
|
const useAppState = useAppStore()
|
|
|
const contractId = ref(useAppState.getContractId)
|
|
|
|
|
@@ -330,6 +336,12 @@ const undoReportClick = async () => {
|
|
|
window.$message.success('撤回成功')
|
|
|
reportFinish()
|
|
|
}
|
|
|
+
|
|
|
+//导入
|
|
|
+const isImportShow = ref(false)
|
|
|
+const importClick = () => {
|
|
|
+
|
|
|
+}
|
|
|
</script>
|
|
|
|
|
|
<style scoped lang="scss">
|