feat:增加自建研判

This commit is contained in:
2025-12-19 10:07:17 +08:00
parent c1fc037cdf
commit 05524353f4

View File

@ -2,12 +2,12 @@
<div>
<div class="titleBox">
<PageTitle title="战术研判">
<!-- <el-button type="primary" @click="getDataById('add', '')">
<el-button type="primary" @click="selfCreateResearch('add')">
<el-icon style="vertical-align: middle">
<CirclePlus />
</el-icon>
<span style="vertical-align: middle">新增</span>
</el-button> -->
<span style="vertical-align: middle">自建研判</span>
</el-button>
</PageTitle>
</div>
@ -38,7 +38,7 @@
}"></Pages>
</div>
</div>
<AddForm ref="addForm" @getList="getList" :dict="{ D_BZ_YPFS, D_BZ_YPLX }" />
<AddForm ref="addForm" :bglx="bglx" @getList="getList" :dict="{ D_BZ_YPFS, D_BZ_YPLX }" />
</template>
<script setup>
@ -104,7 +104,8 @@ const pageData = reactive({
]
});
const queryFrom = ref({});
/** 报告类型 01 战术研判 02 战略研判*/
const bglx = ref('01')
// 搜索
const onSearch = (val) => {
const promes = {
@ -168,6 +169,12 @@ const deleteFile = (row) => {
proxy.$message.info('已取消删除');
});
}
const selfCreateResearch = (type='add') => {
addForm.value.init(type, null, '01');
}
</script>
<style lang="scss" scoped>