Browse Source

收入分析

2545307760@qq.com 4 months ago
parent
commit
4c86ada02e

+ 1 - 1
server/api/v1/admin/project.go

@@ -28,7 +28,6 @@ func (pa *ProjectApi) QueryProjectList(c *gin.Context) {
 		global.GVA_LOG.Error("QueryProjectList ====== " + err.Error())
 		return
 	}
-
 	list, total, err := projectService.QueryProjectList(search)
 	if err != nil {
 		response.FailWithMessage("失败", c)
@@ -259,6 +258,7 @@ func (pa *ProjectApi) QueryProjectById(c *gin.Context) {
 	response.OkWithData(project, c)
 }
 
+// CreateProject 创建项目
 func (pa *ProjectApi) CreateProject(c *gin.Context) {
 	form, err := c.MultipartForm()
 	files := form.File["file"]

+ 1 - 1
web/src/view/approve/approveDetail/approveDetail.vue

@@ -250,6 +250,7 @@ const returnContent = ref('')
 
 const queryProjectProcessById = () => {
   const id = route.query.id
+  console.log('id', id)
   getProjectProcessId(id).then(res => {
     if (res.code === 0) {
       const data = res.data
@@ -271,7 +272,6 @@ const queryProjectProcessById = () => {
       fileCondition.code = data.code
       queryFileList(fileCondition).then(res => {
         if (res.code === 0) {
-          // console.log(res.data.list)
           fileList.length = 0
           fileList.push(...res.data.list)
         }

+ 1 - 0
web/src/view/approve/approveList/components/inspectList.vue

@@ -44,6 +44,7 @@
 
 <script setup>
 // 审核列表
+
 defineOptions({
   name: 'InspectList'
 })

+ 0 - 1
web/src/view/dashboard/index.vue

@@ -27,7 +27,6 @@
         />
       </div>
     </div>
-
     <div class="gva-card-box">
       <div class="gva-card">
         <div class="gva-card-title">

+ 0 - 2
web/src/view/finance/firmPay/components/peopleList.vue

@@ -257,7 +257,6 @@ import { peopleCost } from '@/api/cost'
 import { reactive, ref, onMounted } from 'vue'
 import { getAllUsers } from '@/api/user'
 import { queryExpensesGenre } from '@/api/finance'
-import { getAllProject } from '@/api/project'
 import { Search, Refresh, Notebook } from '@element-plus/icons-vue'
 
 defineOptions({
@@ -373,7 +372,6 @@ const changeTimeType = (value) => {
   }
 }
 
-
 const clearGenre = () => {
   genreSelect.value = ''
   condition.genre = 0

+ 1 - 1
web/src/view/projectManage/projectApproval/projectApproval.vue

@@ -485,7 +485,7 @@ const approval = () => {
 }
 
 const createCode = () => {
-  return moment().format('YYYYMMDDHHmm')
+  return moment().format('YYYYMMDDHHmmss')
 }
 </script>