lcw
This commit is contained in:
@ -57,7 +57,7 @@ const rules = ref({
|
||||
]
|
||||
})
|
||||
const formData = ref([
|
||||
{ label: "关注部门", prop: "ssbmdm", depMc: 'ssbm', type: "department", width: '45%', multiple: true },
|
||||
{ label: "关注部门", prop: "ssbmdm", depMc: 'ssbm', type: "department", width: '45%', multiple: true,isAll: true },
|
||||
])
|
||||
const elform = ref(null)
|
||||
watch(() => props.modelValue, (newVal) => {
|
||||
|
||||
@ -53,7 +53,7 @@ const props = defineProps({
|
||||
},
|
||||
path: {
|
||||
type: String,
|
||||
default: "/qbcjZhc/sendFqzl"
|
||||
default: "/mosty-gsxt/qbcjZhc/sendFqzl"
|
||||
}
|
||||
|
||||
|
||||
@ -101,16 +101,17 @@ const getsendFqzl = () => {
|
||||
}
|
||||
try {
|
||||
const res = await qcckPost(promes,props.path )
|
||||
// qbcjZhcSendFqzl(promes)
|
||||
const str = JSON.parse(res)
|
||||
if (str.code == 200) {
|
||||
// const str = JSON.parse(res)
|
||||
// if (str.code == 200) {
|
||||
ElMessage.success('发送成功')
|
||||
listQuery.value = {}
|
||||
listQuery.value.attachmentPath = ''
|
||||
emit('handleClose')
|
||||
} else {
|
||||
ElMessage.error(str.msg)
|
||||
}
|
||||
// listQuery.value = {}
|
||||
// listQuery.value.attachmentPath = ''
|
||||
emit('handleClose')
|
||||
close()
|
||||
|
||||
// } else {
|
||||
// ElMessage.error(str.msg)
|
||||
// }
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user