提交 04a9e6be authored 作者: lidongxu's avatar lidongxu

feat(detail): 促销移动端_修改创建稽查任务的参数

同上
上级 ed9a8d91
...@@ -87,6 +87,7 @@ ...@@ -87,6 +87,7 @@
<script setup> <script setup>
import { getPlanDetailAPI, createExamine } from '@/api' import { getPlanDetailAPI, createExamine } from '@/api'
import { parseTime } from '@/utils' import { parseTime } from '@/utils'
import userStore from '@/store/modules/user'
const { proxy } = getCurrentInstance() const { proxy } = getCurrentInstance()
// 获取路由路径上的 id 参数 // 获取路由路径上的 id 参数
const route = useRoute(); const route = useRoute();
...@@ -203,7 +204,12 @@ const clickExamine = async () => { ...@@ -203,7 +204,12 @@ const clickExamine = async () => {
const result = await createExamine({ const result = await createExamine({
...planDetail.value, ...planDetail.value,
id: '', id: '',
planId: planDetail.value.id planId: planDetail.value.id,
// operName: userStore().userI
// nfo.nickName, // 稽查人名字
employeeId: userStore().userInfo.id, // 稽查人id
employeeName: userStore().userInfo.nickName, // 稽查人名字
employeeNo: userStore().getEmployeeNo?.value, // 稽查人工号
}) })
newExamined.value = result.data.id newExamined.value = result.data.id
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论