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