lcw
This commit is contained in:
@ -28,6 +28,7 @@
|
||||
<!-- 操作 -->
|
||||
<template #controls="{ row }">
|
||||
<!-- <el-link size="small" type="primary" @click="getDataById('edit', row)">修改</el-link> -->
|
||||
<el-link size="small" type="danger" @click="getypbgSjzlTjspId(row.id)" >提交申请</el-link>
|
||||
<el-link size="small" type="primary" @click="getDataById('detail', row)">详情</el-link>
|
||||
<el-link size="small" type="primary" @click="createReport(row)">{{ row.ypbg?.id ? '编辑' : '创建' }}报告</el-link>
|
||||
<el-link size="small" type="success" @click="createMeeting(row)">创建会议</el-link>
|
||||
@ -56,6 +57,7 @@ import Search from "@/components/aboutTable/Search.vue";
|
||||
import { useRoute, useRouter } from 'vue-router'
|
||||
import { tacticalGet, strategicDelete } from "@/api/huiShangyp/tacticalApi.js";
|
||||
import { reactive, ref, onMounted, getCurrentInstance, watch, computed, nextTick } from "vue";
|
||||
import {ypbgSjzlTjspId} from "@/api/huiShangyp/strategicApi.js"
|
||||
import addReport from "./addReport.vue";
|
||||
import AddForm from "./addForm.vue";
|
||||
import addMeeting from "./addMeeting.vue";
|
||||
@ -202,7 +204,22 @@ const createMeeting = (row) => {
|
||||
// currRow.value = { ...row }
|
||||
// isShowReport.value = true
|
||||
}
|
||||
// 提交研判
|
||||
const getypbgSjzlTjspId = (id) => {
|
||||
proxy.$confirm('确定提交研判申请吗?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: 'warning'
|
||||
}).then(() => {
|
||||
ypbgSjzlTjspId(id).then((res) => {
|
||||
proxy.$message.success('提交成功');
|
||||
getList();
|
||||
})
|
||||
}).catch(() => {
|
||||
proxy.$message.info('已取消提交');
|
||||
});
|
||||
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
||||
Reference in New Issue
Block a user