卸载moment插件

This commit is contained in:
zhujiyan
2024-05-15 09:03:32 +08:00
parent 7a28b4d3ef
commit bb67695943
3 changed files with 3325 additions and 2648 deletions

View File

@@ -44,7 +44,6 @@
"luckysheet": "^2.1.13",
"min-dash": "^4.2.1",
"mitt": "^3.0.1",
"moment": "^2.30.1",
"nprogress": "^0.2.0",
"pinia": "^2.1.7",
"pinia-plugin-persistedstate": "^3.2.1",

5611
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -707,7 +707,6 @@ import type { ComponentSize, FormInstance, FormRules } from 'element-plus'
import { useAdminInfo } from '@/stores/adminInfo'
import { queryByAllCode } from '@/api/system-boot/dictTree'
import { uploadFile } from '@/api/system-boot/file'
// import moment from 'moment'
import { submitFormData } from '@/api/supervise/interfere/index'
defineProps({
openType: {
@@ -1258,7 +1257,7 @@ watch(
}
//处理填报日期时间格式
subForm.value.reportDate = window.XEUtils.toDateString(form.value.reportDate, 'yyyy-MM-dd') //moment(form.value.reportDate).format('YYYY-MM-DD')
subForm.value.reportDate = window.XEUtils.toDateString(form.value.reportDate, 'yyyy-MM-dd')
//userType==0,1
if (val.userType == '0' || val.userType == '1') {
subForm.value.userReportProjectPO = {