微调
This commit is contained in:
@@ -99,7 +99,7 @@ const ziDeptOption = [
|
||||
]
|
||||
const areaOption = ref<any>([])
|
||||
const open = (text: string, data: anyObj) => {
|
||||
console.log(data)
|
||||
|
||||
title.value = text
|
||||
dialogVisible.value = true
|
||||
if (data.id) {
|
||||
|
||||
@@ -194,7 +194,7 @@ const unbind = () => {
|
||||
}
|
||||
|
||||
const open = (row: any) => {
|
||||
console.log(row)
|
||||
|
||||
dialogVisible.value = true
|
||||
binData.deptId = row.id
|
||||
binData.deptType = row.type
|
||||
|
||||
@@ -113,7 +113,7 @@ watch(
|
||||
provide('tableStore', tableStore)
|
||||
|
||||
const addMenu = () => {
|
||||
console.log(popupRef)
|
||||
|
||||
popupRef.value.open('新增菜单', {})
|
||||
}
|
||||
const currentChange = (newValue: any) => {
|
||||
|
||||
@@ -80,7 +80,7 @@ const formRef = ref()
|
||||
const dialogVisible = ref(false)
|
||||
const title = ref('新增菜单')
|
||||
const open = (text: string, data: anyObj) => {
|
||||
console.log(data)
|
||||
|
||||
title.value = text
|
||||
// 重置表单
|
||||
for (let key in form) {
|
||||
|
||||
@@ -335,7 +335,7 @@ const getProcessInstance = async () => {
|
||||
return
|
||||
}
|
||||
processInstance.value = data
|
||||
console.log(data)
|
||||
|
||||
// 设置表单信息
|
||||
const processDefinition = data.processDefinition
|
||||
if (processDefinition.formType === 10) {
|
||||
|
||||
@@ -97,7 +97,7 @@ const isValidFile = (file: UploadRawFile) => {
|
||||
// 上传报告
|
||||
|
||||
const handleExceed: UploadProps['onExceed'] = files => {
|
||||
console.log('🚀 ~ files:', files)
|
||||
|
||||
|
||||
uploadRef.value!.clearFiles()
|
||||
const file = files[0] as UploadRawFile
|
||||
@@ -111,7 +111,7 @@ const removeFile = (file: any, uploadFiles: any) => {
|
||||
}
|
||||
|
||||
const submit = async () => {
|
||||
console.log(123, reportPath.value[0]?.raw)
|
||||
|
||||
if (reportPath.value.length == 0) {
|
||||
return ElMessage.warning('请上传icd文件')
|
||||
}
|
||||
|
||||
@@ -31,7 +31,7 @@ const exportExcel = function(luckysheet, value) {
|
||||
const blob = new Blob([data], {
|
||||
type: 'application/vnd.ms-excel;charset=utf-8'
|
||||
})
|
||||
console.log("导出成功!")
|
||||
|
||||
FileSaver.saveAs(blob, `${value}.xlsx`)
|
||||
})
|
||||
return buffer
|
||||
|
||||
@@ -107,7 +107,7 @@ const preservation = () => {
|
||||
const submitForm = (formdata: any, text: string) => {
|
||||
// let userStr = JSON.stringify(luckysheet.getAllSheets())
|
||||
let userStr = luckysheet.getAllSheets()
|
||||
console.log('🚀 ~ submitForm ~ userStr:', userStr)
|
||||
|
||||
userStr.forEach((item: any) => {
|
||||
item.data1 = JSON.stringify(item.data)
|
||||
})
|
||||
|
||||
@@ -392,7 +392,7 @@ const Cancel = () => {
|
||||
* @param e
|
||||
*/
|
||||
const chooseImage = (e: any) => {
|
||||
console.log('🚀 ~ chooseImage ~ e:', URL.createObjectURL(e.raw!))
|
||||
|
||||
logoFile.url = URL.createObjectURL(e.raw!)
|
||||
configStore.value.logoFile = e.raw
|
||||
// uploadFile(e.raw, 'sgGovern/').then(res => {
|
||||
|
||||
Reference in New Issue
Block a user