更新
This commit is contained in:
@ -36,7 +36,8 @@ const closeHndle = () => {
|
||||
const okSubmit = async () => {
|
||||
await formRef.value.validate((valid) => {
|
||||
if (!valid) return;
|
||||
qcckPost(form.value,'/mosty-gsxt/yjxx/czjy/insert').then((res) => {
|
||||
let params = {...form.value , lylx:'03'}
|
||||
qcckPost(params,'/mosty-gsxt/yjxx/czjy/insert').then((res) => {
|
||||
emit('okSubmit', {...form.value})
|
||||
closeHndle()
|
||||
})
|
||||
|
||||
@ -37,7 +37,8 @@ const closeHndle = () => {
|
||||
const okSubmit = async () => {
|
||||
await formRef.value.validate((valid) => {
|
||||
if (!valid) return;
|
||||
qcckPost(form.value,'/mosty-gsxt/yjxx/czjy/insert').then((res) => {
|
||||
let params = {...form.value , lylx:'04'}
|
||||
qcckPost(params,'/mosty-gsxt/yjxx/czjy/insert').then((res) => {
|
||||
emit('okSubmit', {...form.value})
|
||||
closeHndle()
|
||||
})
|
||||
|
||||
@ -37,7 +37,8 @@ const closeHndle = () => {
|
||||
const okSubmit = async () => {
|
||||
await formRef.value.validate((valid) => {
|
||||
if (!valid) return;
|
||||
qcckPost(form.value,'/mosty-gsxt/yjxx/czjy/insert').then((res) => {
|
||||
let params = {...form.value , lylx:'01'}
|
||||
qcckPost(params,'/mosty-gsxt/yjxx/czjy/insert').then((res) => {
|
||||
emit('okSubmit', {...form.value})
|
||||
closeHndle()
|
||||
})
|
||||
|
||||
@ -37,7 +37,8 @@ const closeHndle = () => {
|
||||
const okSubmit = async () => {
|
||||
await formRef.value.validate((valid) => {
|
||||
if (!valid) return;
|
||||
qcckPost(form.value,'/mosty-gsxt/yjxx/czjy/insert').then((res) => {
|
||||
let params = {...form.value , lylx:'02'}
|
||||
qcckPost(params,'/mosty-gsxt/yjxx/czjy/insert').then((res) => {
|
||||
emit('okSubmit', {...form.value})
|
||||
closeHndle()
|
||||
})
|
||||
|
||||
@ -37,7 +37,8 @@ const closeHndle = () => {
|
||||
const okSubmit = async () => {
|
||||
await formRef.value.validate((valid) => {
|
||||
if (!valid) return;
|
||||
qcckPost(form.value,'/mosty-gsxt/yjxx/czjy/insert').then((res) => {
|
||||
let params = {...form.value , lylx:'01'}
|
||||
qcckPost(params,'/mosty-gsxt/yjxx/czjy/insert').then((res) => {
|
||||
emit('okSubmit', {...form.value})
|
||||
closeHndle()
|
||||
})
|
||||
|
||||
@ -37,7 +37,8 @@ const closeHndle = () => {
|
||||
const okSubmit = async () => {
|
||||
await formRef.value.validate((valid) => {
|
||||
if (!valid) return;
|
||||
qcckPost(form.value,'/mosty-gsxt/yjxx/czjy/insert').then((res) => {
|
||||
let params = {...form.value , lylx:'01'}
|
||||
qcckPost(params,'/mosty-gsxt/yjxx/czjy/insert').then((res) => {
|
||||
emit('okSubmit', {...form.value})
|
||||
closeHndle()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user