lamphua 1 ano atrás
pai
commit
50bc28e3a0
45 arquivos alterados com 2407 adições e 528 exclusões
  1. 29
    0
      oa-back/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/CmcBrandProjectController.java
  2. 97
    0
      oa-back/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/CmcBrandProjectProgressController.java
  3. 3
    0
      oa-back/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/CmcPartnerController.java
  4. 97
    0
      oa-back/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/CmcPartyAController.java
  5. 12
    3
      oa-back/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/CmcProjectController.java
  6. 1
    0
      oa-back/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/CmcSubContractController.java
  7. 14
    0
      oa-back/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/CmcTenderController.java
  8. 41
    5
      oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/domain/CmcBrandProject.java
  9. 96
    0
      oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/domain/CmcBrandProjectProgress.java
  10. 107
    8
      oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/domain/CmcPartner.java
  11. 51
    0
      oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/domain/CmcPartyA.java
  12. 15
    4
      oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/domain/CmcProject.java
  13. 14
    0
      oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/domain/CmcSubContract.java
  14. 15
    4
      oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/domain/CmcTender.java
  15. 61
    0
      oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/mapper/CmcBrandProjectProgressMapper.java
  16. 61
    0
      oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/mapper/CmcPartyAMapper.java
  17. 61
    0
      oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/service/ICmcBrandProjectProgressService.java
  18. 61
    0
      oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/service/ICmcPartyAService.java
  19. 93
    0
      oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/service/impl/CmcBrandProjectProgressServiceImpl.java
  20. 93
    0
      oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/service/impl/CmcPartyAServiceImpl.java
  21. 34
    16
      oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcBrandProjectMapper.xml
  22. 72
    0
      oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcBrandProjectProgressMapper.xml
  23. 2
    2
      oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcContractMapper.xml
  24. 51
    10
      oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcPartnerMapper.xml
  25. 59
    0
      oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcPartyAMapper.xml
  26. 13
    6
      oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcProjectMapper.xml
  27. 6
    1
      oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcSubContractMapper.xml
  28. 14
    6
      oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcTenderMapper.xml
  29. 340
    194
      oa-back/sql/sql.sql
  30. 44
    0
      oa-ui/src/api/oa/brand/brandProgress.js
  31. 44
    0
      oa-ui/src/api/oa/partyA/partyA.js
  32. 2
    2
      oa-ui/src/views/file/filesProject/achievement.vue
  33. 13
    11
      oa-ui/src/views/flowable/form/business/subContract.vue
  34. 1
    16
      oa-ui/src/views/flowable/form/changeForm.vue
  35. 1
    1
      oa-ui/src/views/flowable/form/components/chooseProject.vue
  36. 0
    8
      oa-ui/src/views/flowable/form/finance/borrowForm.vue
  37. 0
    8
      oa-ui/src/views/flowable/form/oa/carForm.vue
  38. 2
    10
      oa-ui/src/views/flowable/form/oa/deviceForm.vue
  39. 22
    10
      oa-ui/src/views/flowable/form/projectProcess/addproject.vue
  40. 1
    9
      oa-ui/src/views/flowable/form/settleForm.vue
  41. 243
    173
      oa-ui/src/views/oa/brand/brandProject.vue
  42. 119
    3
      oa-ui/src/views/oa/partner/index.vue
  43. 278
    0
      oa-ui/src/views/oa/partyA/index.vue
  44. 1
    7
      oa-ui/src/views/oa/project/info.vue
  45. 23
    11
      oa-ui/src/views/oa/tender/index.vue

+ 29
- 0
oa-back/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/CmcBrandProjectController.java Ver arquivo

2
 
2
 
3
 import java.util.List;
3
 import java.util.List;
4
 import javax.servlet.http.HttpServletResponse;
4
 import javax.servlet.http.HttpServletResponse;
5
+
6
+import com.ruoyi.common.utils.SnowFlake;
7
+import com.ruoyi.oa.domain.CmcPartner;
8
+import com.ruoyi.oa.domain.CmcPartyA;
9
+import com.ruoyi.oa.service.ICmcPartnerService;
10
+import com.ruoyi.oa.service.ICmcPartyAService;
5
 import org.springframework.beans.factory.annotation.Autowired;
11
 import org.springframework.beans.factory.annotation.Autowired;
6
 import org.springframework.web.bind.annotation.GetMapping;
12
 import org.springframework.web.bind.annotation.GetMapping;
7
 import org.springframework.web.bind.annotation.PostMapping;
13
 import org.springframework.web.bind.annotation.PostMapping;
33
     @Autowired
39
     @Autowired
34
     private ICmcBrandProjectService cmcBrandProjectService;
40
     private ICmcBrandProjectService cmcBrandProjectService;
35
 
41
 
42
+    @Autowired
43
+    private ICmcPartnerService cmcPartnerService;
44
+
45
+    @Autowired
46
+    private ICmcPartyAService cmcPartyAService;
47
+
36
     /**
48
     /**
37
      * 查询cmc品牌项目列表
49
      * 查询cmc品牌项目列表
38
      */
50
      */
72
     @PostMapping
84
     @PostMapping
73
     public AjaxResult add(@RequestBody CmcBrandProject cmcBrandProject)
85
     public AjaxResult add(@RequestBody CmcBrandProject cmcBrandProject)
74
     {
86
     {
87
+        if (!cmcBrandProject.getPartnerId().matches("-?\\d+(\\.\\d+)?")) {
88
+            CmcPartner cmcPartner = new CmcPartner();
89
+            cmcPartner.setPartnerId(new SnowFlake().generateId());
90
+            cmcPartner.setPartnerName(cmcBrandProject.getPartnerId());
91
+            cmcPartner.setTelephone(cmcBrandProject.getTelephone());
92
+            cmcPartner.setContactPerson(cmcBrandProject.getContactPerson());
93
+            cmcPartnerService.insertCmcPartner(cmcPartner);
94
+            cmcBrandProject.setPartnerId(cmcPartner.getPartnerId());
95
+        }
96
+        if (!cmcBrandProject.getPartyAId().matches("-?\\d+(\\.\\d+)?")) {
97
+            CmcPartyA cmcPartyA = new CmcPartyA();
98
+            cmcPartyA.setPartyAId(new SnowFlake().generateId());
99
+            cmcPartyA.setPartyAName(cmcBrandProject.getPartnerId());
100
+            cmcPartyAService.insertCmcPartyA(cmcPartyA);
101
+            cmcBrandProject.setPartyAId(cmcPartyA.getPartyAId());
102
+        }
103
+        cmcBrandProject.setProjectId(new SnowFlake().generateId());
75
         return toAjax(cmcBrandProjectService.insertCmcBrandProject(cmcBrandProject));
104
         return toAjax(cmcBrandProjectService.insertCmcBrandProject(cmcBrandProject));
76
     }
105
     }
77
 
106
 

+ 97
- 0
oa-back/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/CmcBrandProjectProgressController.java Ver arquivo

1
+package com.ruoyi.web.controller.oa;
2
+
3
+import java.util.List;
4
+import javax.servlet.http.HttpServletResponse;
5
+import org.springframework.beans.factory.annotation.Autowired;
6
+import org.springframework.web.bind.annotation.GetMapping;
7
+import org.springframework.web.bind.annotation.PostMapping;
8
+import org.springframework.web.bind.annotation.PutMapping;
9
+import org.springframework.web.bind.annotation.DeleteMapping;
10
+import org.springframework.web.bind.annotation.PathVariable;
11
+import org.springframework.web.bind.annotation.RequestBody;
12
+import org.springframework.web.bind.annotation.RequestMapping;
13
+import org.springframework.web.bind.annotation.RestController;
14
+import com.ruoyi.common.annotation.Log;
15
+import com.ruoyi.common.core.controller.BaseController;
16
+import com.ruoyi.common.core.domain.AjaxResult;
17
+import com.ruoyi.common.enums.BusinessType;
18
+import com.ruoyi.oa.domain.CmcBrandProjectProgress;
19
+import com.ruoyi.oa.service.ICmcBrandProjectProgressService;
20
+import com.ruoyi.common.utils.poi.ExcelUtil;
21
+import com.ruoyi.common.core.page.TableDataInfo;
22
+
23
+/**
24
+ * cmc品牌项目进度Controller
25
+ * 
26
+ * @author cmc
27
+ * @date 2024-06-12
28
+ */
29
+@RestController
30
+@RequestMapping("/oa/brandProgress")
31
+public class CmcBrandProjectProgressController extends BaseController
32
+{
33
+    @Autowired
34
+    private ICmcBrandProjectProgressService cmcBrandProjectProgressService;
35
+
36
+    /**
37
+     * 查询cmc品牌项目进度列表
38
+     */
39
+    @GetMapping("/list")
40
+    public TableDataInfo list(CmcBrandProjectProgress cmcBrandProjectProgress)
41
+    {
42
+        startPage();
43
+        List<CmcBrandProjectProgress> list = cmcBrandProjectProgressService.selectCmcBrandProjectProgressList(cmcBrandProjectProgress);
44
+        return getDataTable(list);
45
+    }
46
+
47
+    /**
48
+     * 导出cmc品牌项目进度列表
49
+     */
50
+    @Log(title = "cmc品牌项目进度", businessType = BusinessType.EXPORT)
51
+    @PostMapping("/export")
52
+    public void export(HttpServletResponse response, CmcBrandProjectProgress cmcBrandProjectProgress)
53
+    {
54
+        List<CmcBrandProjectProgress> list = cmcBrandProjectProgressService.selectCmcBrandProjectProgressList(cmcBrandProjectProgress);
55
+        ExcelUtil<CmcBrandProjectProgress> util = new ExcelUtil<CmcBrandProjectProgress>(CmcBrandProjectProgress.class);
56
+        util.exportExcel(response, list, "cmc品牌项目进度数据");
57
+    }
58
+
59
+    /**
60
+     * 获取cmc品牌项目进度详细信息
61
+     */
62
+    @GetMapping(value = "/{progressId}")
63
+    public AjaxResult getInfo(@PathVariable("progressId") Long progressId)
64
+    {
65
+        return success(cmcBrandProjectProgressService.selectCmcBrandProjectProgressByProgressId(progressId));
66
+    }
67
+
68
+    /**
69
+     * 新增cmc品牌项目进度
70
+     */
71
+    @Log(title = "cmc品牌项目进度", businessType = BusinessType.INSERT)
72
+    @PostMapping
73
+    public AjaxResult add(@RequestBody CmcBrandProjectProgress cmcBrandProjectProgress)
74
+    {
75
+        return toAjax(cmcBrandProjectProgressService.insertCmcBrandProjectProgress(cmcBrandProjectProgress));
76
+    }
77
+
78
+    /**
79
+     * 修改cmc品牌项目进度
80
+     */
81
+    @Log(title = "cmc品牌项目进度", businessType = BusinessType.UPDATE)
82
+    @PutMapping
83
+    public AjaxResult edit(@RequestBody CmcBrandProjectProgress cmcBrandProjectProgress)
84
+    {
85
+        return toAjax(cmcBrandProjectProgressService.updateCmcBrandProjectProgress(cmcBrandProjectProgress));
86
+    }
87
+
88
+    /**
89
+     * 删除cmc品牌项目进度
90
+     */
91
+    @Log(title = "cmc品牌项目进度", businessType = BusinessType.DELETE)
92
+	@DeleteMapping("/{progressIds}")
93
+    public AjaxResult remove(@PathVariable Long[] progressIds)
94
+    {
95
+        return toAjax(cmcBrandProjectProgressService.deleteCmcBrandProjectProgressByProgressIds(progressIds));
96
+    }
97
+}

+ 3
- 0
oa-back/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/CmcPartnerController.java Ver arquivo

2
 
2
 
3
 import java.util.List;
3
 import java.util.List;
4
 import javax.servlet.http.HttpServletResponse;
4
 import javax.servlet.http.HttpServletResponse;
5
+
6
+import com.ruoyi.common.utils.SnowFlake;
5
 import org.springframework.beans.factory.annotation.Autowired;
7
 import org.springframework.beans.factory.annotation.Autowired;
6
 import org.springframework.web.bind.annotation.GetMapping;
8
 import org.springframework.web.bind.annotation.GetMapping;
7
 import org.springframework.web.bind.annotation.PostMapping;
9
 import org.springframework.web.bind.annotation.PostMapping;
72
     @PostMapping
74
     @PostMapping
73
     public AjaxResult add(@RequestBody CmcPartner cmcPartner)
75
     public AjaxResult add(@RequestBody CmcPartner cmcPartner)
74
     {
76
     {
77
+        cmcPartner.setPartnerId(new SnowFlake().generateId());
75
         return toAjax(cmcPartnerService.insertCmcPartner(cmcPartner));
78
         return toAjax(cmcPartnerService.insertCmcPartner(cmcPartner));
76
     }
79
     }
77
 
80
 

+ 97
- 0
oa-back/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/CmcPartyAController.java Ver arquivo

1
+package com.ruoyi.web.controller.oa;
2
+
3
+import java.util.List;
4
+import javax.servlet.http.HttpServletResponse;
5
+import org.springframework.beans.factory.annotation.Autowired;
6
+import org.springframework.web.bind.annotation.GetMapping;
7
+import org.springframework.web.bind.annotation.PostMapping;
8
+import org.springframework.web.bind.annotation.PutMapping;
9
+import org.springframework.web.bind.annotation.DeleteMapping;
10
+import org.springframework.web.bind.annotation.PathVariable;
11
+import org.springframework.web.bind.annotation.RequestBody;
12
+import org.springframework.web.bind.annotation.RequestMapping;
13
+import org.springframework.web.bind.annotation.RestController;
14
+import com.ruoyi.common.annotation.Log;
15
+import com.ruoyi.common.core.controller.BaseController;
16
+import com.ruoyi.common.core.domain.AjaxResult;
17
+import com.ruoyi.common.enums.BusinessType;
18
+import com.ruoyi.oa.domain.CmcPartyA;
19
+import com.ruoyi.oa.service.ICmcPartyAService;
20
+import com.ruoyi.common.utils.poi.ExcelUtil;
21
+import com.ruoyi.common.core.page.TableDataInfo;
22
+
23
+/**
24
+ * cmc业主单位Controller
25
+ * 
26
+ * @author cmc
27
+ * @date 2024-06-12
28
+ */
29
+@RestController
30
+@RequestMapping("/oa/partyA")
31
+public class CmcPartyAController extends BaseController
32
+{
33
+    @Autowired
34
+    private ICmcPartyAService cmcPartyAService;
35
+
36
+    /**
37
+     * 查询cmc业主单位列表
38
+     */
39
+    @GetMapping("/list")
40
+    public TableDataInfo list(CmcPartyA cmcPartyA)
41
+    {
42
+        startPage();
43
+        List<CmcPartyA> list = cmcPartyAService.selectCmcPartyAList(cmcPartyA);
44
+        return getDataTable(list);
45
+    }
46
+
47
+    /**
48
+     * 导出cmc业主单位列表
49
+     */
50
+    @Log(title = "cmc业主单位", businessType = BusinessType.EXPORT)
51
+    @PostMapping("/export")
52
+    public void export(HttpServletResponse response, CmcPartyA cmcPartyA)
53
+    {
54
+        List<CmcPartyA> list = cmcPartyAService.selectCmcPartyAList(cmcPartyA);
55
+        ExcelUtil<CmcPartyA> util = new ExcelUtil<CmcPartyA>(CmcPartyA.class);
56
+        util.exportExcel(response, list, "cmc业主单位数据");
57
+    }
58
+
59
+    /**
60
+     * 获取cmc业主单位详细信息
61
+     */
62
+    @GetMapping(value = "/{partyAId}")
63
+    public AjaxResult getInfo(@PathVariable("partyAId") String partyAId)
64
+    {
65
+        return success(cmcPartyAService.selectCmcPartyAByPartyAId(partyAId));
66
+    }
67
+
68
+    /**
69
+     * 新增cmc业主单位
70
+     */
71
+    @Log(title = "cmc业主单位", businessType = BusinessType.INSERT)
72
+    @PostMapping
73
+    public AjaxResult add(@RequestBody CmcPartyA cmcPartyA)
74
+    {
75
+        return toAjax(cmcPartyAService.insertCmcPartyA(cmcPartyA));
76
+    }
77
+
78
+    /**
79
+     * 修改cmc业主单位
80
+     */
81
+    @Log(title = "cmc业主单位", businessType = BusinessType.UPDATE)
82
+    @PutMapping
83
+    public AjaxResult edit(@RequestBody CmcPartyA cmcPartyA)
84
+    {
85
+        return toAjax(cmcPartyAService.updateCmcPartyA(cmcPartyA));
86
+    }
87
+
88
+    /**
89
+     * 删除cmc业主单位
90
+     */
91
+    @Log(title = "cmc业主单位", businessType = BusinessType.DELETE)
92
+	@DeleteMapping("/{partyAIds}")
93
+    public AjaxResult remove(@PathVariable String[] partyAIds)
94
+    {
95
+        return toAjax(cmcPartyAService.deleteCmcPartyAByPartyAIds(partyAIds));
96
+    }
97
+}

+ 12
- 3
oa-back/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/CmcProjectController.java Ver arquivo

7
 import com.alibaba.fastjson2.JSONObject;
7
 import com.alibaba.fastjson2.JSONObject;
8
 import com.ruoyi.common.utils.DateUtils;
8
 import com.ruoyi.common.utils.DateUtils;
9
 import com.ruoyi.common.utils.SnowFlake;
9
 import com.ruoyi.common.utils.SnowFlake;
10
+import com.ruoyi.oa.domain.CmcPartyA;
10
 import com.ruoyi.oa.domain.CmcProjectWork;
11
 import com.ruoyi.oa.domain.CmcProjectWork;
11
 import com.ruoyi.oa.domain.CmcTechnical;
12
 import com.ruoyi.oa.domain.CmcTechnical;
13
+import com.ruoyi.oa.service.ICmcPartyAService;
12
 import com.ruoyi.oa.service.ICmcProjectWorkService;
14
 import com.ruoyi.oa.service.ICmcProjectWorkService;
13
 import com.ruoyi.oa.service.ICmcTechnicalService;
15
 import com.ruoyi.oa.service.ICmcTechnicalService;
14
 import com.ruoyi.system.service.ISysDeptService;
16
 import com.ruoyi.system.service.ISysDeptService;
38
     private ICmcProjectService cmcProjectService;
40
     private ICmcProjectService cmcProjectService;
39
 
41
 
40
     @Autowired
42
     @Autowired
41
-    private ICmcTechnicalService cmcTechnicalService;
43
+    private ICmcPartyAService cmcPartyAService;
42
 
44
 
43
     @Autowired
45
     @Autowired
44
     private ICmcProjectWorkService cmcProjectWorkService;
46
     private ICmcProjectWorkService cmcProjectWorkService;
58
         startPage();
60
         startPage();
59
         List<CmcProject> list = cmcProjectService.selectCmcProjectList(cmcProject);
61
         List<CmcProject> list = cmcProjectService.selectCmcProjectList(cmcProject);
60
         for (CmcProject project : list) {
62
         for (CmcProject project : list) {
61
-            String underTakingDept = cmcProject.getUndertakingDept();
63
+            String underTakingDept = project.getUndertakingDept();
62
             StringBuilder underTakingDeptName = new StringBuilder();
64
             StringBuilder underTakingDeptName = new StringBuilder();
63
             if (underTakingDept != null && !underTakingDept.equals("") && underTakingDept.split(",").length > 0) {
65
             if (underTakingDept != null && !underTakingDept.equals("") && underTakingDept.split(",").length > 0) {
64
                 for (String dept : underTakingDept.split(","))
66
                 for (String dept : underTakingDept.split(","))
65
                     underTakingDeptName.append(deptService.selectDeptById(Long.parseLong(dept)).getDeptName()).append("、");
67
                     underTakingDeptName.append(deptService.selectDeptById(Long.parseLong(dept)).getDeptName()).append("、");
66
-                cmcProject.setUndertakingDeptName(underTakingDeptName.substring(0, underTakingDeptName.length() - 1));
68
+                project.setUndertakingDeptName(underTakingDeptName.substring(0, underTakingDeptName.length() - 1));
67
             }
69
             }
68
         }
70
         }
69
         return getDataTable(list);
71
         return getDataTable(list);
123
     {
125
     {
124
         cmcProject.setRegisterTime(new Date());
126
         cmcProject.setRegisterTime(new Date());
125
         cmcProject.setIsFinished("0");
127
         cmcProject.setIsFinished("0");
128
+        if (!cmcProject.getPartyAId().matches("-?\\d+(\\.\\d+)?")) {
129
+            CmcPartyA cmcPartyA = new CmcPartyA();
130
+            cmcPartyA.setPartyAId(new SnowFlake().generateId());
131
+            cmcPartyA.setPartyAName(cmcProject.getPartyAId());
132
+            cmcPartyAService.insertCmcPartyA(cmcPartyA);
133
+            cmcProject.setPartyAId(cmcPartyA.getPartyAId());
134
+        }
126
         return toAjax(cmcProjectService.insertCmcProject(cmcProject));
135
         return toAjax(cmcProjectService.insertCmcProject(cmcProject));
127
     }
136
     }
128
 
137
 

+ 1
- 0
oa-back/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/CmcSubContractController.java Ver arquivo

84
             CmcPartner cmcPartner = new CmcPartner();
84
             CmcPartner cmcPartner = new CmcPartner();
85
             cmcPartner.setPartnerId(new SnowFlake().generateId());
85
             cmcPartner.setPartnerId(new SnowFlake().generateId());
86
             cmcPartner.setPartnerName(cmcSubContract.getPartnerId());
86
             cmcPartner.setPartnerName(cmcSubContract.getPartnerId());
87
+            cmcPartner.setTelephone(cmcSubContract.getTelephone());
87
             cmcPartner.setContactPerson(cmcSubContract.getContactPerson());
88
             cmcPartner.setContactPerson(cmcSubContract.getContactPerson());
88
             cmcPartnerService.insertCmcPartner(cmcPartner);
89
             cmcPartnerService.insertCmcPartner(cmcPartner);
89
             cmcSubContract.setPartnerId(cmcPartner.getPartnerId());
90
             cmcSubContract.setPartnerId(cmcPartner.getPartnerId());

+ 14
- 0
oa-back/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/CmcTenderController.java Ver arquivo

2
 
2
 
3
 import java.util.List;
3
 import java.util.List;
4
 import javax.servlet.http.HttpServletResponse;
4
 import javax.servlet.http.HttpServletResponse;
5
+
6
+import com.ruoyi.common.utils.SnowFlake;
7
+import com.ruoyi.oa.domain.CmcPartyA;
8
+import com.ruoyi.oa.service.ICmcPartyAService;
5
 import org.springframework.beans.factory.annotation.Autowired;
9
 import org.springframework.beans.factory.annotation.Autowired;
6
 import org.springframework.web.bind.annotation.GetMapping;
10
 import org.springframework.web.bind.annotation.GetMapping;
7
 import org.springframework.web.bind.annotation.PostMapping;
11
 import org.springframework.web.bind.annotation.PostMapping;
33
     @Autowired
37
     @Autowired
34
     private ICmcTenderService cmcTenderService;
38
     private ICmcTenderService cmcTenderService;
35
 
39
 
40
+    @Autowired
41
+    private ICmcPartyAService cmcPartyAService;
42
+
36
     /**
43
     /**
37
      * 查询投标管理列表
44
      * 查询投标管理列表
38
      */
45
      */
72
     @PostMapping
79
     @PostMapping
73
     public AjaxResult add(@RequestBody CmcTender cmcTender)
80
     public AjaxResult add(@RequestBody CmcTender cmcTender)
74
     {
81
     {
82
+        if (!cmcTender.getPartyAId().matches("-?\\d+(\\.\\d+)?")) {
83
+            CmcPartyA cmcPartyA = new CmcPartyA();
84
+            cmcPartyA.setPartyAId(new SnowFlake().generateId());
85
+            cmcPartyA.setPartyAName(cmcTender.getPartyAId());
86
+            cmcPartyAService.insertCmcPartyA(cmcPartyA);
87
+            cmcTender.setPartyAId(cmcPartyA.getPartyAId());
88
+        }
75
         return toAjax(cmcTenderService.insertCmcTender(cmcTender));
89
         return toAjax(cmcTenderService.insertCmcTender(cmcTender));
76
     }
90
     }
77
 
91
 

+ 41
- 5
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/domain/CmcBrandProject.java Ver arquivo

28
     private String projectName;
28
     private String projectName;
29
 
29
 
30
     /** 甲方单位 */
30
     /** 甲方单位 */
31
+    private String partyAId;
32
+
31
     @Excel(name = "甲方单位")
33
     @Excel(name = "甲方单位")
32
-    private String partyA;
34
+    private CmcPartyA partyA;
33
 
35
 
34
     /** 甲方单位联系人 */
36
     /** 甲方单位联系人 */
35
     @Excel(name = "甲方单位联系人")
37
     @Excel(name = "甲方单位联系人")
40
     private String aPhone;
42
     private String aPhone;
41
 
43
 
42
     /** 合作单位 */
44
     /** 合作单位 */
43
-    @Excel(name = "合作单位")
44
     private String partnerId;
45
     private String partnerId;
45
 
46
 
47
+    @Excel(name = "合作单位")
48
+    private CmcPartner partner;
49
+
46
     /** 合作单位联系人 */
50
     /** 合作单位联系人 */
47
     @Excel(name = "合作单位联系人")
51
     @Excel(name = "合作单位联系人")
48
     private String contactPerson;
52
     private String contactPerson;
59
     @Excel(name = "合同金额")
63
     @Excel(name = "合同金额")
60
     private BigDecimal amount;
64
     private BigDecimal amount;
61
 
65
 
66
+    /** 项目概况 */
67
+    @Excel(name = "项目概况")
68
+    private String content;
69
+
62
     public void setProjectId(String projectId) 
70
     public void setProjectId(String projectId) 
63
     {
71
     {
64
         this.projectId = projectId;
72
         this.projectId = projectId;
86
     {
94
     {
87
         return projectName;
95
         return projectName;
88
     }
96
     }
89
-    public void setPartyA(String partyA) 
97
+    public void setPartyAId(String partyAId)
98
+    {
99
+        this.partyAId = partyAId;
100
+    }
101
+
102
+    public String getPartyAId()
103
+    {
104
+        return partyAId;
105
+    }
106
+    public void setPartyA(CmcPartyA partyA)
90
     {
107
     {
91
         this.partyA = partyA;
108
         this.partyA = partyA;
92
     }
109
     }
93
 
110
 
94
-    public String getPartyA() 
111
+    public CmcPartyA getPartyA()
95
     {
112
     {
96
         return partyA;
113
         return partyA;
97
     }
114
     }
122
     {
139
     {
123
         return partnerId;
140
         return partnerId;
124
     }
141
     }
142
+    public void setPartner(CmcPartner partner)
143
+    {
144
+        this.partner = partner;
145
+    }
146
+
147
+    public CmcPartner getPartner()
148
+    {
149
+        return partner;
150
+    }
125
     public void setContactPerson(String contactPerson) 
151
     public void setContactPerson(String contactPerson) 
126
     {
152
     {
127
         this.contactPerson = contactPerson;
153
         this.contactPerson = contactPerson;
158
     {
184
     {
159
         return amount;
185
         return amount;
160
     }
186
     }
187
+    public void setContent(String content)
188
+    {
189
+        this.content = content;
190
+    }
191
+
192
+    public String getContent()
193
+    {
194
+        return content;
195
+    }
161
 
196
 
162
     @Override
197
     @Override
163
     public String toString() {
198
     public String toString() {
165
             .append("projectId", getProjectId())
200
             .append("projectId", getProjectId())
166
             .append("projectNumber", getProjectNumber())
201
             .append("projectNumber", getProjectNumber())
167
             .append("projectName", getProjectName())
202
             .append("projectName", getProjectName())
168
-            .append("partyA", getPartyA())
203
+            .append("partyAId", getPartyAId())
169
             .append("aPerson", getaPerson())
204
             .append("aPerson", getaPerson())
170
             .append("aPhone", getaPhone())
205
             .append("aPhone", getaPhone())
171
             .append("partnerId", getPartnerId())
206
             .append("partnerId", getPartnerId())
173
             .append("telephone", getTelephone())
208
             .append("telephone", getTelephone())
174
             .append("duration", getDuration())
209
             .append("duration", getDuration())
175
             .append("amount", getAmount())
210
             .append("amount", getAmount())
211
+            .append("content", getContent())
176
             .append("remark", getRemark())
212
             .append("remark", getRemark())
177
             .toString();
213
             .toString();
178
     }
214
     }

+ 96
- 0
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/domain/CmcBrandProjectProgress.java Ver arquivo

1
+package com.ruoyi.oa.domain;
2
+
3
+import java.util.Date;
4
+import com.fasterxml.jackson.annotation.JsonFormat;
5
+import org.apache.commons.lang3.builder.ToStringBuilder;
6
+import org.apache.commons.lang3.builder.ToStringStyle;
7
+import com.ruoyi.common.annotation.Excel;
8
+import com.ruoyi.common.core.domain.BaseEntity;
9
+
10
+/**
11
+ * cmc品牌项目进度对象 cmc_brand_project_progress
12
+ * 
13
+ * @author cmc
14
+ * @date 2024-06-12
15
+ */
16
+public class CmcBrandProjectProgress extends BaseEntity
17
+{
18
+    private static final long serialVersionUID = 1L;
19
+
20
+    /** 项目进度id */
21
+    private Long progressId;
22
+
23
+    /** 项目id */
24
+    @Excel(name = "项目id")
25
+    private String projectId;
26
+
27
+    /** 累计进度 */
28
+    @Excel(name = "累计进度")
29
+    private String percentage;
30
+
31
+    /** 截至日期 */
32
+    @JsonFormat(pattern = "yyyy-MM-dd")
33
+    @Excel(name = "截至日期", width = 30, dateFormat = "yyyy-MM-dd")
34
+    private Date date;
35
+
36
+    /** 完成进度说明 */
37
+    @Excel(name = "完成进度说明")
38
+    private String situation;
39
+
40
+    public void setProgressId(Long progressId) 
41
+    {
42
+        this.progressId = progressId;
43
+    }
44
+
45
+    public Long getProgressId() 
46
+    {
47
+        return progressId;
48
+    }
49
+    public void setProjectId(String projectId) 
50
+    {
51
+        this.projectId = projectId;
52
+    }
53
+
54
+    public String getProjectId() 
55
+    {
56
+        return projectId;
57
+    }
58
+    public void setPercentage(String percentage) 
59
+    {
60
+        this.percentage = percentage;
61
+    }
62
+
63
+    public String getPercentage() 
64
+    {
65
+        return percentage;
66
+    }
67
+    public void setDate(Date date) 
68
+    {
69
+        this.date = date;
70
+    }
71
+
72
+    public Date getDate() 
73
+    {
74
+        return date;
75
+    }
76
+    public void setSituation(String situation) 
77
+    {
78
+        this.situation = situation;
79
+    }
80
+
81
+    public String getSituation() 
82
+    {
83
+        return situation;
84
+    }
85
+
86
+    @Override
87
+    public String toString() {
88
+        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
89
+            .append("progressId", getProgressId())
90
+            .append("projectId", getProjectId())
91
+            .append("percentage", getPercentage())
92
+            .append("date", getDate())
93
+            .append("situation", getSituation())
94
+            .toString();
95
+    }
96
+}

+ 107
- 8
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/domain/CmcPartner.java Ver arquivo

7
 
7
 
8
 /**
8
 /**
9
  * cmc合作单位对象 cmc_partner
9
  * cmc合作单位对象 cmc_partner
10
- * 
10
+ *
11
  * @author cmc
11
  * @author cmc
12
- * @date 2024-04-18
12
+ * @date 2024-06-12
13
  */
13
  */
14
 public class CmcPartner extends BaseEntity
14
 public class CmcPartner extends BaseEntity
15
 {
15
 {
26
     @Excel(name = "联系人")
26
     @Excel(name = "联系人")
27
     private String contactPerson;
27
     private String contactPerson;
28
 
28
 
29
+    /** 联系电话 */
30
+    @Excel(name = "联系电话")
31
+    private String telephone;
32
+
33
+    /** 资质等级 */
34
+    @Excel(name = "资质等级")
35
+    private String qualification;
36
+
37
+    /** 内业规模 */
38
+    @Excel(name = "内业规模")
39
+    private Long inWorker;
40
+
41
+    /** 外业规模 */
42
+    @Excel(name = "外业规模")
43
+    private Long outWorker;
44
+
45
+    /** 主要技术装备 */
46
+    @Excel(name = "主要技术装备")
47
+    private String equipment;
48
+
49
+    /** 擅长业务方向 */
50
+    @Excel(name = "擅长业务方向")
51
+    private String strength;
52
+
53
+    /** 履约能力评价 */
54
+    @Excel(name = "履约能力评价")
55
+    private String fulfill;
56
+
29
     public void setPartnerId(String partnerId)
57
     public void setPartnerId(String partnerId)
30
     {
58
     {
31
         this.partnerId = partnerId;
59
         this.partnerId = partnerId;
35
     {
63
     {
36
         return partnerId;
64
         return partnerId;
37
     }
65
     }
38
-    public void setPartnerName(String partnerName) 
66
+    public void setPartnerName(String partnerName)
39
     {
67
     {
40
         this.partnerName = partnerName;
68
         this.partnerName = partnerName;
41
     }
69
     }
42
 
70
 
43
-    public String getPartnerName() 
71
+    public String getPartnerName()
44
     {
72
     {
45
         return partnerName;
73
         return partnerName;
46
     }
74
     }
53
     {
81
     {
54
         return contactPerson;
82
         return contactPerson;
55
     }
83
     }
84
+    public void setTelephone(String telephone)
85
+    {
86
+        this.telephone = telephone;
87
+    }
88
+
89
+    public String getTelephone()
90
+    {
91
+        return telephone;
92
+    }
93
+    public void setQualification(String qualification)
94
+    {
95
+        this.qualification = qualification;
96
+    }
97
+
98
+    public String getQualification()
99
+    {
100
+        return qualification;
101
+    }
102
+    public void setInWorker(Long inWorker)
103
+    {
104
+        this.inWorker = inWorker;
105
+    }
106
+
107
+    public Long getInWorker()
108
+    {
109
+        return inWorker;
110
+    }
111
+    public void setOutWorker(Long outWorker)
112
+    {
113
+        this.outWorker = outWorker;
114
+    }
115
+
116
+    public Long getOutWorker()
117
+    {
118
+        return outWorker;
119
+    }
120
+    public void setEquipment(String equipment)
121
+    {
122
+        this.equipment = equipment;
123
+    }
124
+
125
+    public String getEquipment()
126
+    {
127
+        return equipment;
128
+    }
129
+    public void setStrength(String strength)
130
+    {
131
+        this.strength = strength;
132
+    }
133
+
134
+    public String getStrength()
135
+    {
136
+        return strength;
137
+    }
138
+    public void setFulfill(String fulfill)
139
+    {
140
+        this.fulfill = fulfill;
141
+    }
142
+
143
+    public String getFulfill()
144
+    {
145
+        return fulfill;
146
+    }
56
 
147
 
57
     @Override
148
     @Override
58
     public String toString() {
149
     public String toString() {
59
         return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
150
         return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
60
-            .append("partnerId", getPartnerId())
61
-            .append("partnerName", getPartnerName())
62
-            .append("contactPerson", getContactPerson())
63
-            .toString();
151
+                .append("partnerId", getPartnerId())
152
+                .append("partnerName", getPartnerName())
153
+                .append("contactPerson", getContactPerson())
154
+                .append("telephone", getTelephone())
155
+                .append("qualification", getQualification())
156
+                .append("inWorker", getInWorker())
157
+                .append("outWorker", getOutWorker())
158
+                .append("equipment", getEquipment())
159
+                .append("strength", getStrength())
160
+                .append("fulfill", getFulfill())
161
+                .append("remark", getRemark())
162
+                .toString();
64
     }
163
     }
65
 }
164
 }

+ 51
- 0
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/domain/CmcPartyA.java Ver arquivo

1
+package com.ruoyi.oa.domain;
2
+
3
+import org.apache.commons.lang3.builder.ToStringBuilder;
4
+import org.apache.commons.lang3.builder.ToStringStyle;
5
+import com.ruoyi.common.annotation.Excel;
6
+import com.ruoyi.common.core.domain.BaseEntity;
7
+
8
+/**
9
+ * cmc业主单位对象 cmc_party_a
10
+ * 
11
+ * @author cmc
12
+ * @date 2024-06-12
13
+ */
14
+public class CmcPartyA extends BaseEntity
15
+{
16
+    private static final long serialVersionUID = 1L;
17
+
18
+    /** 合作单位id */
19
+    private String partyAId;
20
+
21
+    /** 单位名称 */
22
+    @Excel(name = "单位名称")
23
+    private String partyAName;
24
+
25
+    public void setPartyAId(String partyAId) 
26
+    {
27
+        this.partyAId = partyAId;
28
+    }
29
+
30
+    public String getPartyAId() 
31
+    {
32
+        return partyAId;
33
+    }
34
+    public void setPartyAName(String partyAName) 
35
+    {
36
+        this.partyAName = partyAName;
37
+    }
38
+
39
+    public String getPartyAName()
40
+    {
41
+        return partyAName;
42
+    }
43
+
44
+    @Override
45
+    public String toString() {
46
+        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
47
+            .append("partyAId", getPartyAId())
48
+            .append("partyAName", getPartyAName())
49
+            .toString();
50
+    }
51
+}

+ 15
- 4
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/domain/CmcProject.java Ver arquivo

50
     private String projectSource;
50
     private String projectSource;
51
 
51
 
52
     /** 甲方单位 */
52
     /** 甲方单位 */
53
+    private String partyAId;
54
+
53
     @Excel(name = "甲方单位")
55
     @Excel(name = "甲方单位")
54
-    private String partyA;
56
+    private CmcPartyA partyA;
55
 
57
 
56
     /** 联系人 */
58
     /** 联系人 */
57
     @Excel(name = "联系人")
59
     @Excel(name = "联系人")
209
     {
211
     {
210
         return projectSource;
212
         return projectSource;
211
     }
213
     }
212
-    public void setPartyA(String partyA)
214
+    public void setPartyAId(String partyAId)
215
+    {
216
+        this.partyAId = partyAId;
217
+    }
218
+
219
+    public String getPartyAId()
220
+    {
221
+        return partyAId;
222
+    }
223
+    public void setPartyA(CmcPartyA partyA)
213
     {
224
     {
214
         this.partyA = partyA;
225
         this.partyA = partyA;
215
     }
226
     }
216
 
227
 
217
-    public String getPartyA()
228
+    public CmcPartyA getPartyA()
218
     {
229
     {
219
         return partyA;
230
         return partyA;
220
     }
231
     }
489
                 .append("projectLeader", getProjectLeader())
500
                 .append("projectLeader", getProjectLeader())
490
                 .append("isFinished", getIsFinished())
501
                 .append("isFinished", getIsFinished())
491
                 .append("projectSource", getProjectSource())
502
                 .append("projectSource", getProjectSource())
492
-                .append("partyA", getPartyA())
503
+                .append("partyAId", getPartyAId())
493
                 .append("contactPerson", getContactPerson())
504
                 .append("contactPerson", getContactPerson())
494
                 .append("telephone", getTelephone())
505
                 .append("telephone", getTelephone())
495
                 .append("projectType", getProjectType())
506
                 .append("projectType", getProjectType())

+ 14
- 0
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/domain/CmcSubContract.java Ver arquivo

42
     @Excel(name = "承接单位联系人")
42
     @Excel(name = "承接单位联系人")
43
     private String contactPerson;
43
     private String contactPerson;
44
 
44
 
45
+    /** 承接单位联系电话 */
46
+    @Excel(name = "承接单位联系电话")
47
+    private String telephone;
48
+
45
     /** 合同文件 */
49
     /** 合同文件 */
46
     @Excel(name = "合同文件")
50
     @Excel(name = "合同文件")
47
     private String contractDocument;
51
     private String contractDocument;
143
     {
147
     {
144
         return contactPerson;
148
         return contactPerson;
145
     }
149
     }
150
+    public void setTelephone(String telephone)
151
+    {
152
+        this.telephone = telephone;
153
+    }
154
+
155
+    public String getTelephone()
156
+    {
157
+        return telephone;
158
+    }
146
     public void setContractDocument(String contractDocument)
159
     public void setContractDocument(String contractDocument)
147
     {
160
     {
148
         this.contractDocument = contractDocument;
161
         this.contractDocument = contractDocument;
262
             .append("subAmount", getSubAmount())
275
             .append("subAmount", getSubAmount())
263
             .append("partnerId", getPartnerId())
276
             .append("partnerId", getPartnerId())
264
             .append("contactPerson", getContactPerson())
277
             .append("contactPerson", getContactPerson())
278
+            .append("telephone", getTelephone())
265
             .append("drafter", getDrafter())
279
             .append("drafter", getDrafter())
266
             .append("draftTime", getDraftTime())
280
             .append("draftTime", getDraftTime())
267
             .append("remark", getRemark())
281
             .append("remark", getRemark())

+ 15
- 4
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/domain/CmcTender.java Ver arquivo

28
     private String projectName;
28
     private String projectName;
29
 
29
 
30
     /** 招标业主 */
30
     /** 招标业主 */
31
+    private String partyAId;
32
+
31
     @Excel(name = "招标业主")
33
     @Excel(name = "招标业主")
32
-    private String partyA;
34
+    private CmcPartyA partyA;
33
 
35
 
34
     /** 业主联系人 */
36
     /** 业主联系人 */
35
     @Excel(name = "业主联系人")
37
     @Excel(name = "业主联系人")
170
     {
172
     {
171
         return projectName;
173
         return projectName;
172
     }
174
     }
173
-    public void setPartyA(String partyA) 
175
+    public void setPartyAId(String partyAId) 
176
+    {
177
+        this.partyAId = partyAId;
178
+    }
179
+
180
+    public String getPartyAId() 
181
+    {
182
+        return partyAId;
183
+    }
184
+    public void setPartyA(CmcPartyA partyA)
174
     {
185
     {
175
         this.partyA = partyA;
186
         this.partyA = partyA;
176
     }
187
     }
177
 
188
 
178
-    public String getPartyA() 
189
+    public CmcPartyA getPartyA()
179
     {
190
     {
180
         return partyA;
191
         return partyA;
181
     }
192
     }
472
         return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
483
         return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
473
             .append("tenderId", getTenderId())
484
             .append("tenderId", getTenderId())
474
             .append("projectName", getProjectName())
485
             .append("projectName", getProjectName())
475
-            .append("partyA", getPartyA())
486
+            .append("partyAId", getPartyAId())
476
             .append("aPerson", getaPerson())
487
             .append("aPerson", getaPerson())
477
             .append("aPhone", getaPhone())
488
             .append("aPhone", getaPhone())
478
             .append("agent", getAgent())
489
             .append("agent", getAgent())

+ 61
- 0
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/mapper/CmcBrandProjectProgressMapper.java Ver arquivo

1
+package com.ruoyi.oa.mapper;
2
+
3
+import java.util.List;
4
+import com.ruoyi.oa.domain.CmcBrandProjectProgress;
5
+
6
+/**
7
+ * cmc品牌项目进度Mapper接口
8
+ * 
9
+ * @author cmc
10
+ * @date 2024-06-12
11
+ */
12
+public interface CmcBrandProjectProgressMapper 
13
+{
14
+    /**
15
+     * 查询cmc品牌项目进度
16
+     * 
17
+     * @param progressId cmc品牌项目进度主键
18
+     * @return cmc品牌项目进度
19
+     */
20
+    public CmcBrandProjectProgress selectCmcBrandProjectProgressByProgressId(Long progressId);
21
+
22
+    /**
23
+     * 查询cmc品牌项目进度列表
24
+     * 
25
+     * @param cmcBrandProjectProgress cmc品牌项目进度
26
+     * @return cmc品牌项目进度集合
27
+     */
28
+    public List<CmcBrandProjectProgress> selectCmcBrandProjectProgressList(CmcBrandProjectProgress cmcBrandProjectProgress);
29
+
30
+    /**
31
+     * 新增cmc品牌项目进度
32
+     * 
33
+     * @param cmcBrandProjectProgress cmc品牌项目进度
34
+     * @return 结果
35
+     */
36
+    public int insertCmcBrandProjectProgress(CmcBrandProjectProgress cmcBrandProjectProgress);
37
+
38
+    /**
39
+     * 修改cmc品牌项目进度
40
+     * 
41
+     * @param cmcBrandProjectProgress cmc品牌项目进度
42
+     * @return 结果
43
+     */
44
+    public int updateCmcBrandProjectProgress(CmcBrandProjectProgress cmcBrandProjectProgress);
45
+
46
+    /**
47
+     * 删除cmc品牌项目进度
48
+     * 
49
+     * @param progressId cmc品牌项目进度主键
50
+     * @return 结果
51
+     */
52
+    public int deleteCmcBrandProjectProgressByProgressId(Long progressId);
53
+
54
+    /**
55
+     * 批量删除cmc品牌项目进度
56
+     * 
57
+     * @param progressIds 需要删除的数据主键集合
58
+     * @return 结果
59
+     */
60
+    public int deleteCmcBrandProjectProgressByProgressIds(Long[] progressIds);
61
+}

+ 61
- 0
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/mapper/CmcPartyAMapper.java Ver arquivo

1
+package com.ruoyi.oa.mapper;
2
+
3
+import java.util.List;
4
+import com.ruoyi.oa.domain.CmcPartyA;
5
+
6
+/**
7
+ * cmc业主单位Mapper接口
8
+ * 
9
+ * @author cmc
10
+ * @date 2024-06-12
11
+ */
12
+public interface CmcPartyAMapper 
13
+{
14
+    /**
15
+     * 查询cmc业主单位
16
+     * 
17
+     * @param partyAId cmc业主单位主键
18
+     * @return cmc业主单位
19
+     */
20
+    public CmcPartyA selectCmcPartyAByPartyAId(String partyAId);
21
+
22
+    /**
23
+     * 查询cmc业主单位列表
24
+     * 
25
+     * @param cmcPartyA cmc业主单位
26
+     * @return cmc业主单位集合
27
+     */
28
+    public List<CmcPartyA> selectCmcPartyAList(CmcPartyA cmcPartyA);
29
+
30
+    /**
31
+     * 新增cmc业主单位
32
+     * 
33
+     * @param cmcPartyA cmc业主单位
34
+     * @return 结果
35
+     */
36
+    public int insertCmcPartyA(CmcPartyA cmcPartyA);
37
+
38
+    /**
39
+     * 修改cmc业主单位
40
+     * 
41
+     * @param cmcPartyA cmc业主单位
42
+     * @return 结果
43
+     */
44
+    public int updateCmcPartyA(CmcPartyA cmcPartyA);
45
+
46
+    /**
47
+     * 删除cmc业主单位
48
+     * 
49
+     * @param partyAId cmc业主单位主键
50
+     * @return 结果
51
+     */
52
+    public int deleteCmcPartyAByPartyAId(String partyAId);
53
+
54
+    /**
55
+     * 批量删除cmc业主单位
56
+     * 
57
+     * @param partyAIds 需要删除的数据主键集合
58
+     * @return 结果
59
+     */
60
+    public int deleteCmcPartyAByPartyAIds(String[] partyAIds);
61
+}

+ 61
- 0
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/service/ICmcBrandProjectProgressService.java Ver arquivo

1
+package com.ruoyi.oa.service;
2
+
3
+import java.util.List;
4
+import com.ruoyi.oa.domain.CmcBrandProjectProgress;
5
+
6
+/**
7
+ * cmc品牌项目进度Service接口
8
+ * 
9
+ * @author cmc
10
+ * @date 2024-06-12
11
+ */
12
+public interface ICmcBrandProjectProgressService 
13
+{
14
+    /**
15
+     * 查询cmc品牌项目进度
16
+     * 
17
+     * @param progressId cmc品牌项目进度主键
18
+     * @return cmc品牌项目进度
19
+     */
20
+    public CmcBrandProjectProgress selectCmcBrandProjectProgressByProgressId(Long progressId);
21
+
22
+    /**
23
+     * 查询cmc品牌项目进度列表
24
+     * 
25
+     * @param cmcBrandProjectProgress cmc品牌项目进度
26
+     * @return cmc品牌项目进度集合
27
+     */
28
+    public List<CmcBrandProjectProgress> selectCmcBrandProjectProgressList(CmcBrandProjectProgress cmcBrandProjectProgress);
29
+
30
+    /**
31
+     * 新增cmc品牌项目进度
32
+     * 
33
+     * @param cmcBrandProjectProgress cmc品牌项目进度
34
+     * @return 结果
35
+     */
36
+    public int insertCmcBrandProjectProgress(CmcBrandProjectProgress cmcBrandProjectProgress);
37
+
38
+    /**
39
+     * 修改cmc品牌项目进度
40
+     * 
41
+     * @param cmcBrandProjectProgress cmc品牌项目进度
42
+     * @return 结果
43
+     */
44
+    public int updateCmcBrandProjectProgress(CmcBrandProjectProgress cmcBrandProjectProgress);
45
+
46
+    /**
47
+     * 批量删除cmc品牌项目进度
48
+     * 
49
+     * @param progressIds 需要删除的cmc品牌项目进度主键集合
50
+     * @return 结果
51
+     */
52
+    public int deleteCmcBrandProjectProgressByProgressIds(Long[] progressIds);
53
+
54
+    /**
55
+     * 删除cmc品牌项目进度信息
56
+     * 
57
+     * @param progressId cmc品牌项目进度主键
58
+     * @return 结果
59
+     */
60
+    public int deleteCmcBrandProjectProgressByProgressId(Long progressId);
61
+}

+ 61
- 0
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/service/ICmcPartyAService.java Ver arquivo

1
+package com.ruoyi.oa.service;
2
+
3
+import java.util.List;
4
+import com.ruoyi.oa.domain.CmcPartyA;
5
+
6
+/**
7
+ * cmc业主单位Service接口
8
+ * 
9
+ * @author cmc
10
+ * @date 2024-06-12
11
+ */
12
+public interface ICmcPartyAService 
13
+{
14
+    /**
15
+     * 查询cmc业主单位
16
+     * 
17
+     * @param partyAId cmc业主单位主键
18
+     * @return cmc业主单位
19
+     */
20
+    public CmcPartyA selectCmcPartyAByPartyAId(String partyAId);
21
+
22
+    /**
23
+     * 查询cmc业主单位列表
24
+     * 
25
+     * @param cmcPartyA cmc业主单位
26
+     * @return cmc业主单位集合
27
+     */
28
+    public List<CmcPartyA> selectCmcPartyAList(CmcPartyA cmcPartyA);
29
+
30
+    /**
31
+     * 新增cmc业主单位
32
+     * 
33
+     * @param cmcPartyA cmc业主单位
34
+     * @return 结果
35
+     */
36
+    public int insertCmcPartyA(CmcPartyA cmcPartyA);
37
+
38
+    /**
39
+     * 修改cmc业主单位
40
+     * 
41
+     * @param cmcPartyA cmc业主单位
42
+     * @return 结果
43
+     */
44
+    public int updateCmcPartyA(CmcPartyA cmcPartyA);
45
+
46
+    /**
47
+     * 批量删除cmc业主单位
48
+     * 
49
+     * @param partyAIds 需要删除的cmc业主单位主键集合
50
+     * @return 结果
51
+     */
52
+    public int deleteCmcPartyAByPartyAIds(String[] partyAIds);
53
+
54
+    /**
55
+     * 删除cmc业主单位信息
56
+     * 
57
+     * @param partyAId cmc业主单位主键
58
+     * @return 结果
59
+     */
60
+    public int deleteCmcPartyAByPartyAId(String partyAId);
61
+}

+ 93
- 0
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/service/impl/CmcBrandProjectProgressServiceImpl.java Ver arquivo

1
+package com.ruoyi.oa.service.impl;
2
+
3
+import java.util.List;
4
+import org.springframework.beans.factory.annotation.Autowired;
5
+import org.springframework.stereotype.Service;
6
+import com.ruoyi.oa.mapper.CmcBrandProjectProgressMapper;
7
+import com.ruoyi.oa.domain.CmcBrandProjectProgress;
8
+import com.ruoyi.oa.service.ICmcBrandProjectProgressService;
9
+
10
+/**
11
+ * cmc品牌项目进度Service业务层处理
12
+ * 
13
+ * @author cmc
14
+ * @date 2024-06-12
15
+ */
16
+@Service
17
+public class CmcBrandProjectProgressServiceImpl implements ICmcBrandProjectProgressService 
18
+{
19
+    @Autowired
20
+    private CmcBrandProjectProgressMapper cmcBrandProjectProgressMapper;
21
+
22
+    /**
23
+     * 查询cmc品牌项目进度
24
+     * 
25
+     * @param progressId cmc品牌项目进度主键
26
+     * @return cmc品牌项目进度
27
+     */
28
+    @Override
29
+    public CmcBrandProjectProgress selectCmcBrandProjectProgressByProgressId(Long progressId)
30
+    {
31
+        return cmcBrandProjectProgressMapper.selectCmcBrandProjectProgressByProgressId(progressId);
32
+    }
33
+
34
+    /**
35
+     * 查询cmc品牌项目进度列表
36
+     * 
37
+     * @param cmcBrandProjectProgress cmc品牌项目进度
38
+     * @return cmc品牌项目进度
39
+     */
40
+    @Override
41
+    public List<CmcBrandProjectProgress> selectCmcBrandProjectProgressList(CmcBrandProjectProgress cmcBrandProjectProgress)
42
+    {
43
+        return cmcBrandProjectProgressMapper.selectCmcBrandProjectProgressList(cmcBrandProjectProgress);
44
+    }
45
+
46
+    /**
47
+     * 新增cmc品牌项目进度
48
+     * 
49
+     * @param cmcBrandProjectProgress cmc品牌项目进度
50
+     * @return 结果
51
+     */
52
+    @Override
53
+    public int insertCmcBrandProjectProgress(CmcBrandProjectProgress cmcBrandProjectProgress)
54
+    {
55
+        return cmcBrandProjectProgressMapper.insertCmcBrandProjectProgress(cmcBrandProjectProgress);
56
+    }
57
+
58
+    /**
59
+     * 修改cmc品牌项目进度
60
+     * 
61
+     * @param cmcBrandProjectProgress cmc品牌项目进度
62
+     * @return 结果
63
+     */
64
+    @Override
65
+    public int updateCmcBrandProjectProgress(CmcBrandProjectProgress cmcBrandProjectProgress)
66
+    {
67
+        return cmcBrandProjectProgressMapper.updateCmcBrandProjectProgress(cmcBrandProjectProgress);
68
+    }
69
+
70
+    /**
71
+     * 批量删除cmc品牌项目进度
72
+     * 
73
+     * @param progressIds 需要删除的cmc品牌项目进度主键
74
+     * @return 结果
75
+     */
76
+    @Override
77
+    public int deleteCmcBrandProjectProgressByProgressIds(Long[] progressIds)
78
+    {
79
+        return cmcBrandProjectProgressMapper.deleteCmcBrandProjectProgressByProgressIds(progressIds);
80
+    }
81
+
82
+    /**
83
+     * 删除cmc品牌项目进度信息
84
+     * 
85
+     * @param progressId cmc品牌项目进度主键
86
+     * @return 结果
87
+     */
88
+    @Override
89
+    public int deleteCmcBrandProjectProgressByProgressId(Long progressId)
90
+    {
91
+        return cmcBrandProjectProgressMapper.deleteCmcBrandProjectProgressByProgressId(progressId);
92
+    }
93
+}

+ 93
- 0
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/service/impl/CmcPartyAServiceImpl.java Ver arquivo

1
+package com.ruoyi.oa.service.impl;
2
+
3
+import java.util.List;
4
+import org.springframework.beans.factory.annotation.Autowired;
5
+import org.springframework.stereotype.Service;
6
+import com.ruoyi.oa.mapper.CmcPartyAMapper;
7
+import com.ruoyi.oa.domain.CmcPartyA;
8
+import com.ruoyi.oa.service.ICmcPartyAService;
9
+
10
+/**
11
+ * cmc业主单位Service业务层处理
12
+ * 
13
+ * @author cmc
14
+ * @date 2024-06-12
15
+ */
16
+@Service
17
+public class CmcPartyAServiceImpl implements ICmcPartyAService 
18
+{
19
+    @Autowired
20
+    private CmcPartyAMapper cmcPartyAMapper;
21
+
22
+    /**
23
+     * 查询cmc业主单位
24
+     * 
25
+     * @param partyAId cmc业主单位主键
26
+     * @return cmc业主单位
27
+     */
28
+    @Override
29
+    public CmcPartyA selectCmcPartyAByPartyAId(String partyAId)
30
+    {
31
+        return cmcPartyAMapper.selectCmcPartyAByPartyAId(partyAId);
32
+    }
33
+
34
+    /**
35
+     * 查询cmc业主单位列表
36
+     * 
37
+     * @param cmcPartyA cmc业主单位
38
+     * @return cmc业主单位
39
+     */
40
+    @Override
41
+    public List<CmcPartyA> selectCmcPartyAList(CmcPartyA cmcPartyA)
42
+    {
43
+        return cmcPartyAMapper.selectCmcPartyAList(cmcPartyA);
44
+    }
45
+
46
+    /**
47
+     * 新增cmc业主单位
48
+     * 
49
+     * @param cmcPartyA cmc业主单位
50
+     * @return 结果
51
+     */
52
+    @Override
53
+    public int insertCmcPartyA(CmcPartyA cmcPartyA)
54
+    {
55
+        return cmcPartyAMapper.insertCmcPartyA(cmcPartyA);
56
+    }
57
+
58
+    /**
59
+     * 修改cmc业主单位
60
+     * 
61
+     * @param cmcPartyA cmc业主单位
62
+     * @return 结果
63
+     */
64
+    @Override
65
+    public int updateCmcPartyA(CmcPartyA cmcPartyA)
66
+    {
67
+        return cmcPartyAMapper.updateCmcPartyA(cmcPartyA);
68
+    }
69
+
70
+    /**
71
+     * 批量删除cmc业主单位
72
+     * 
73
+     * @param partyAIds 需要删除的cmc业主单位主键
74
+     * @return 结果
75
+     */
76
+    @Override
77
+    public int deleteCmcPartyAByPartyAIds(String[] partyAIds)
78
+    {
79
+        return cmcPartyAMapper.deleteCmcPartyAByPartyAIds(partyAIds);
80
+    }
81
+
82
+    /**
83
+     * 删除cmc业主单位信息
84
+     * 
85
+     * @param partyAId cmc业主单位主键
86
+     * @return 结果
87
+     */
88
+    @Override
89
+    public int deleteCmcPartyAByPartyAId(String partyAId)
90
+    {
91
+        return cmcPartyAMapper.deleteCmcPartyAByPartyAId(partyAId);
92
+    }
93
+}

+ 34
- 16
oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcBrandProjectMapper.xml Ver arquivo

8
         <result property="projectId"    column="project_id"    />
8
         <result property="projectId"    column="project_id"    />
9
         <result property="projectNumber"    column="project_number"    />
9
         <result property="projectNumber"    column="project_number"    />
10
         <result property="projectName"    column="project_name"    />
10
         <result property="projectName"    column="project_name"    />
11
-        <result property="partyA"    column="party_a"    />
11
+        <result property="partyAId"    column="party_a_id"    />
12
         <result property="aPerson"    column="a_person"    />
12
         <result property="aPerson"    column="a_person"    />
13
         <result property="aPhone"    column="a_phone"    />
13
         <result property="aPhone"    column="a_phone"    />
14
         <result property="partnerId"    column="partner_id"    />
14
         <result property="partnerId"    column="partner_id"    />
16
         <result property="telephone"    column="telephone"    />
16
         <result property="telephone"    column="telephone"    />
17
         <result property="duration"    column="duration"    />
17
         <result property="duration"    column="duration"    />
18
         <result property="amount"    column="amount"    />
18
         <result property="amount"    column="amount"    />
19
+        <result property="content"    column="content"    />
19
         <result property="remark"    column="remark"    />
20
         <result property="remark"    column="remark"    />
21
+        <association property="partner"    javaType="CmcPartner"         resultMap="CmcPartnerResult" />
22
+        <association property="partyA"    javaType="CmcPartyA"         resultMap="CmcPartyAResult" />
23
+    </resultMap>
24
+
25
+    <resultMap type="CmcPartner" id="CmcPartnerResult">
26
+        <result property="partnerId"    column="partner_id"    />
27
+        <result property="partnerName"    column="partner_name"    />
28
+    </resultMap>
29
+
30
+    <resultMap type="CmcPartyA" id="CmcPartyAResult">
31
+        <result property="partyAId"    column="party_a_id"    />
32
+        <result property="partyAName"    column="party_a_name"    />
20
     </resultMap>
33
     </resultMap>
21
 
34
 
22
     <sql id="selectCmcBrandProjectVo">
35
     <sql id="selectCmcBrandProjectVo">
23
-        select project_id, project_number, project_name, party_a, a_person, a_phone, partner_id, contact_person, telephone, duration, amount, remark from cmc_brand_project
36
+        select bp.project_id, bp.project_number, bp.project_name, bp.party_a_id, pa.party_a_name, bp.a_person, bp.a_phone, bp.partner_id, p.partner_name, bp.contact_person, bp.telephone, bp.duration, bp.amount, bp.content, bp.remark from cmc_brand_project as bp
37
+        left join cmc_partner as p on p.partner_id = bp.partner_id
38
+        left join cmc_party_a as pa on pa.party_a_id = bp.party_a_id
24
     </sql>
39
     </sql>
25
 
40
 
26
     <select id="selectCmcBrandProjectList" parameterType="CmcBrandProject" resultMap="CmcBrandProjectResult">
41
     <select id="selectCmcBrandProjectList" parameterType="CmcBrandProject" resultMap="CmcBrandProjectResult">
27
         <include refid="selectCmcBrandProjectVo"/>
42
         <include refid="selectCmcBrandProjectVo"/>
28
         <where>  
43
         <where>  
29
-            <if test="projectNumber != null  and projectNumber != ''"> and project_number = #{projectNumber}</if>
30
-            <if test="projectName != null  and projectName != ''"> and project_name like concat('%', #{projectName}, '%')</if>
31
-            <if test="partyA != null  and partyA != ''"> and party_a = #{partyA}</if>
32
-            <if test="aPerson != null  and aPerson != ''"> and a_person = #{aPerson}</if>
33
-            <if test="aPhone != null  and aPhone != ''"> and a_phone = #{aPhone}</if>
34
-            <if test="partnerId != null  and partnerId != ''"> and partner_id = #{partnerId}</if>
35
-            <if test="contactPerson != null  and contactPerson != ''"> and contact_person = #{contactPerson}</if>
36
-            <if test="telephone != null  and telephone != ''"> and telephone = #{telephone}</if>
37
-            <if test="duration != null  and duration != ''"> and duration = #{duration}</if>
38
-            <if test="amount != null "> and amount = #{amount}</if>
44
+            <if test="projectNumber != null  and projectNumber != ''"> and bp.project_number = #{projectNumber}</if>
45
+            <if test="projectName != null  and projectName != ''"> and bp.project_name like concat('%', #{projectName}, '%')</if>
46
+            <if test="partyAId != null  and partyAId != ''"> and bp.party_a_id = #{partyAId}</if>
47
+            <if test="aPerson != null  and aPerson != ''"> and bp.a_person = #{aPerson}</if>
48
+            <if test="aPhone != null  and aPhone != ''"> and bp.a_phone = #{aPhone}</if>
49
+            <if test="partnerId != null  and partnerId != ''"> and bp.partner_id = #{partnerId}</if>
50
+            <if test="contactPerson != null  and contactPerson != ''"> and bp.contact_person = #{contactPerson}</if>
51
+            <if test="telephone != null  and telephone != ''"> and bp.telephone = #{telephone}</if>
52
+            <if test="duration != null  and duration != ''"> and bp.duration = #{duration}</if>
53
+            <if test="amount != null "> and bp.amount = #{amount}</if>
39
         </where>
54
         </where>
40
     </select>
55
     </select>
41
     
56
     
42
     <select id="selectCmcBrandProjectByProjectId" parameterType="String" resultMap="CmcBrandProjectResult">
57
     <select id="selectCmcBrandProjectByProjectId" parameterType="String" resultMap="CmcBrandProjectResult">
43
         <include refid="selectCmcBrandProjectVo"/>
58
         <include refid="selectCmcBrandProjectVo"/>
44
-        where project_id = #{projectId}
59
+        where bp.project_id = #{projectId}
45
     </select>
60
     </select>
46
         
61
         
47
     <insert id="insertCmcBrandProject" parameterType="CmcBrandProject">
62
     <insert id="insertCmcBrandProject" parameterType="CmcBrandProject">
50
             <if test="projectId != null">project_id,</if>
65
             <if test="projectId != null">project_id,</if>
51
             <if test="projectNumber != null">project_number,</if>
66
             <if test="projectNumber != null">project_number,</if>
52
             <if test="projectName != null">project_name,</if>
67
             <if test="projectName != null">project_name,</if>
53
-            <if test="partyA != null">party_a,</if>
68
+            <if test="partyAId != null">party_a_id,</if>
54
             <if test="aPerson != null">a_person,</if>
69
             <if test="aPerson != null">a_person,</if>
55
             <if test="aPhone != null">a_phone,</if>
70
             <if test="aPhone != null">a_phone,</if>
56
             <if test="partnerId != null">partner_id,</if>
71
             <if test="partnerId != null">partner_id,</if>
58
             <if test="telephone != null">telephone,</if>
73
             <if test="telephone != null">telephone,</if>
59
             <if test="duration != null">duration,</if>
74
             <if test="duration != null">duration,</if>
60
             <if test="amount != null">amount,</if>
75
             <if test="amount != null">amount,</if>
76
+            <if test="content != null">content,</if>
61
             <if test="remark != null">remark,</if>
77
             <if test="remark != null">remark,</if>
62
          </trim>
78
          </trim>
63
         <trim prefix="values (" suffix=")" suffixOverrides=",">
79
         <trim prefix="values (" suffix=")" suffixOverrides=",">
64
             <if test="projectId != null">#{projectId},</if>
80
             <if test="projectId != null">#{projectId},</if>
65
             <if test="projectNumber != null">#{projectNumber},</if>
81
             <if test="projectNumber != null">#{projectNumber},</if>
66
             <if test="projectName != null">#{projectName},</if>
82
             <if test="projectName != null">#{projectName},</if>
67
-            <if test="partyA != null">#{partyA},</if>
83
+            <if test="partyAId != null">#{partyAId},</if>
68
             <if test="aPerson != null">#{aPerson},</if>
84
             <if test="aPerson != null">#{aPerson},</if>
69
             <if test="aPhone != null">#{aPhone},</if>
85
             <if test="aPhone != null">#{aPhone},</if>
70
             <if test="partnerId != null">#{partnerId},</if>
86
             <if test="partnerId != null">#{partnerId},</if>
72
             <if test="telephone != null">#{telephone},</if>
88
             <if test="telephone != null">#{telephone},</if>
73
             <if test="duration != null">#{duration},</if>
89
             <if test="duration != null">#{duration},</if>
74
             <if test="amount != null">#{amount},</if>
90
             <if test="amount != null">#{amount},</if>
91
+            <if test="content != null">#{content},</if>
75
             <if test="remark != null">#{remark},</if>
92
             <if test="remark != null">#{remark},</if>
76
          </trim>
93
          </trim>
77
     </insert>
94
     </insert>
81
         <trim prefix="SET" suffixOverrides=",">
98
         <trim prefix="SET" suffixOverrides=",">
82
             <if test="projectNumber != null">project_number = #{projectNumber},</if>
99
             <if test="projectNumber != null">project_number = #{projectNumber},</if>
83
             <if test="projectName != null">project_name = #{projectName},</if>
100
             <if test="projectName != null">project_name = #{projectName},</if>
84
-            <if test="partyA != null">party_a = #{partyA},</if>
101
+            <if test="partyAId != null">party_a_id = #{partyAId},</if>
85
             <if test="aPerson != null">a_person = #{aPerson},</if>
102
             <if test="aPerson != null">a_person = #{aPerson},</if>
86
             <if test="aPhone != null">a_phone = #{aPhone},</if>
103
             <if test="aPhone != null">a_phone = #{aPhone},</if>
87
             <if test="partnerId != null">partner_id = #{partnerId},</if>
104
             <if test="partnerId != null">partner_id = #{partnerId},</if>
89
             <if test="telephone != null">telephone = #{telephone},</if>
106
             <if test="telephone != null">telephone = #{telephone},</if>
90
             <if test="duration != null">duration = #{duration},</if>
107
             <if test="duration != null">duration = #{duration},</if>
91
             <if test="amount != null">amount = #{amount},</if>
108
             <if test="amount != null">amount = #{amount},</if>
109
+            <if test="content != null">content = #{content},</if>
92
             <if test="remark != null">remark = #{remark},</if>
110
             <if test="remark != null">remark = #{remark},</if>
93
         </trim>
111
         </trim>
94
         where project_id = #{projectId}
112
         where project_id = #{projectId}

+ 72
- 0
oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcBrandProjectProgressMapper.xml Ver arquivo

1
+<?xml version="1.0" encoding="UTF-8" ?>
2
+<!DOCTYPE mapper
3
+PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
4
+"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
5
+<mapper namespace="com.ruoyi.oa.mapper.CmcBrandProjectProgressMapper">
6
+    
7
+    <resultMap type="CmcBrandProjectProgress" id="CmcBrandProjectProgressResult">
8
+        <result property="progressId"    column="progress_id"    />
9
+        <result property="projectId"    column="project_id"    />
10
+        <result property="percentage"    column="percentage"    />
11
+        <result property="date"    column="date"    />
12
+        <result property="situation"    column="situation"    />
13
+    </resultMap>
14
+
15
+    <sql id="selectCmcBrandProjectProgressVo">
16
+        select progress_id, project_id, percentage, date, situation from cmc_brand_project_progress
17
+    </sql>
18
+
19
+    <select id="selectCmcBrandProjectProgressList" parameterType="CmcBrandProjectProgress" resultMap="CmcBrandProjectProgressResult">
20
+        <include refid="selectCmcBrandProjectProgressVo"/>
21
+        <where>  
22
+            <if test="projectId != null  and projectId != ''"> and project_id = #{projectId}</if>
23
+            <if test="percentage != null  and percentage != ''"> and percentage = #{percentage}</if>
24
+            <if test="date != null "> and date = #{date}</if>
25
+            <if test="situation != null  and situation != ''"> and situation = #{situation}</if>
26
+        </where>
27
+        order by date asc
28
+    </select>
29
+    
30
+    <select id="selectCmcBrandProjectProgressByProgressId" parameterType="Long" resultMap="CmcBrandProjectProgressResult">
31
+        <include refid="selectCmcBrandProjectProgressVo"/>
32
+        where progress_id = #{progressId}
33
+    </select>
34
+        
35
+    <insert id="insertCmcBrandProjectProgress" parameterType="CmcBrandProjectProgress" useGeneratedKeys="true" keyProperty="progressId">
36
+        insert into cmc_brand_project_progress
37
+        <trim prefix="(" suffix=")" suffixOverrides=",">
38
+            <if test="projectId != null">project_id,</if>
39
+            <if test="percentage != null">percentage,</if>
40
+            <if test="date != null">date,</if>
41
+            <if test="situation != null">situation,</if>
42
+         </trim>
43
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
44
+            <if test="projectId != null">#{projectId},</if>
45
+            <if test="percentage != null">#{percentage},</if>
46
+            <if test="date != null">#{date},</if>
47
+            <if test="situation != null">#{situation},</if>
48
+         </trim>
49
+    </insert>
50
+
51
+    <update id="updateCmcBrandProjectProgress" parameterType="CmcBrandProjectProgress">
52
+        update cmc_brand_project_progress
53
+        <trim prefix="SET" suffixOverrides=",">
54
+            <if test="projectId != null">project_id = #{projectId},</if>
55
+            <if test="percentage != null">percentage = #{percentage},</if>
56
+            <if test="date != null">date = #{date},</if>
57
+            <if test="situation != null">situation = #{situation},</if>
58
+        </trim>
59
+        where progress_id = #{progressId}
60
+    </update>
61
+
62
+    <delete id="deleteCmcBrandProjectProgressByProgressId" parameterType="Long">
63
+        delete from cmc_brand_project_progress where progress_id = #{progressId}
64
+    </delete>
65
+
66
+    <delete id="deleteCmcBrandProjectProgressByProgressIds" parameterType="String">
67
+        delete from cmc_brand_project_progress where progress_id in 
68
+        <foreach item="progressId" collection="array" open="(" separator="," close=")">
69
+            #{progressId}
70
+        </foreach>
71
+    </delete>
72
+</mapper>

+ 2
- 2
oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcContractMapper.xml Ver arquivo

30
     <resultMap type="CmcTender" id="CmcTenderResult">
30
     <resultMap type="CmcTender" id="CmcTenderResult">
31
         <result property="tenderId"    column="tender_id"    />
31
         <result property="tenderId"    column="tender_id"    />
32
         <result property="projectName"    column="project_name"    />
32
         <result property="projectName"    column="project_name"    />
33
-        <result property="partyA"    column="party_a"    />
33
+        <result property="partyAId"    column="party_a_id"    />
34
         <result property="aPerson"    column="a_person"    />
34
         <result property="aPerson"    column="a_person"    />
35
         <result property="aPhone"    column="a_phone"    />
35
         <result property="aPhone"    column="a_phone"    />
36
         <result property="agent"    column="agent"    />
36
         <result property="agent"    column="agent"    />
49
     </resultMap>
49
     </resultMap>
50
 
50
 
51
     <sql id="selectCmcContractVo">
51
     <sql id="selectCmcContractVo">
52
-        select c.contract_id, c.contract_code, c.contract_number, c.tender_id, t.project_name as project_name, t.party_a as party_a, t.a_person as a_person,
52
+        select c.contract_id, c.contract_code, c.contract_number, c.tender_id, t.project_name as project_name, t.party_a_id as party_a_id, t.a_person as a_person,
53
                t.a_phone as a_phone, t.agent as agent, t.agent_person as agent_person, t.agent_phone as agent_phone, c.amount, c.deposit, c.contract_document,
53
                t.a_phone as a_phone, t.agent as agent, t.agent_person as agent_person, t.agent_phone as agent_phone, c.amount, c.deposit, c.contract_document,
54
                c.drafter, u.nick_name as draft_nick_name, c.draft_time, c.remark, c.sign_date, c.sign_remark, c.sign_scan, c.comment_type, c.manager_comment, c.manager_user_id, u1.nick_name as manager_nick_name,
54
                c.drafter, u.nick_name as draft_nick_name, c.draft_time, c.remark, c.sign_date, c.sign_remark, c.sign_scan, c.comment_type, c.manager_comment, c.manager_user_id, u1.nick_name as manager_nick_name,
55
                c.manager_time from cmc_contract as c
55
                c.manager_time from cmc_contract as c

+ 51
- 10
oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcPartnerMapper.xml Ver arquivo

1
 <?xml version="1.0" encoding="UTF-8" ?>
1
 <?xml version="1.0" encoding="UTF-8" ?>
2
 <!DOCTYPE mapper
2
 <!DOCTYPE mapper
3
-PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
4
-"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
3
+        PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
4
+        "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
5
 <mapper namespace="com.ruoyi.oa.mapper.CmcPartnerMapper">
5
 <mapper namespace="com.ruoyi.oa.mapper.CmcPartnerMapper">
6
-    
6
+
7
     <resultMap type="CmcPartner" id="CmcPartnerResult">
7
     <resultMap type="CmcPartner" id="CmcPartnerResult">
8
         <result property="partnerId"    column="partner_id"    />
8
         <result property="partnerId"    column="partner_id"    />
9
         <result property="partnerName"    column="partner_name"    />
9
         <result property="partnerName"    column="partner_name"    />
10
         <result property="contactPerson"    column="contact_person"    />
10
         <result property="contactPerson"    column="contact_person"    />
11
+        <result property="telephone"    column="telephone"    />
12
+        <result property="qualification"    column="qualification"    />
13
+        <result property="inWorker"    column="in_worker"    />
14
+        <result property="outWorker"    column="out_worker"    />
15
+        <result property="equipment"    column="equipment"    />
16
+        <result property="strength"    column="strength"    />
17
+        <result property="fulfill"    column="fulfill"    />
18
+        <result property="remark"    column="remark"    />
11
     </resultMap>
19
     </resultMap>
12
 
20
 
13
     <sql id="selectCmcPartnerVo">
21
     <sql id="selectCmcPartnerVo">
14
-        select partner_id, partner_name, contact_person from cmc_partner
22
+        select partner_id, partner_name, contact_person, telephone, qualification, in_worker, out_worker, equipment, strength, fulfill, remark from cmc_partner
15
     </sql>
23
     </sql>
16
 
24
 
17
     <select id="selectCmcPartnerList" parameterType="CmcPartner" resultMap="CmcPartnerResult">
25
     <select id="selectCmcPartnerList" parameterType="CmcPartner" resultMap="CmcPartnerResult">
18
         <include refid="selectCmcPartnerVo"/>
26
         <include refid="selectCmcPartnerVo"/>
19
-        <where>  
27
+        <where>
20
             <if test="partnerName != null  and partnerName != ''"> and partner_name like concat('%', #{partnerName}, '%')</if>
28
             <if test="partnerName != null  and partnerName != ''"> and partner_name like concat('%', #{partnerName}, '%')</if>
29
+            <if test="contactPerson != null  and contactPerson != ''"> and contact_person = #{contactPerson}</if>
30
+            <if test="telephone != null  and telephone != ''"> and telephone = #{telephone}</if>
31
+            <if test="qualification != null  and qualification != ''"> and qualification = #{qualification}</if>
32
+            <if test="inWorker != null "> and in_worker = #{inWorker}</if>
33
+            <if test="outWorker != null "> and out_worker = #{outWorker}</if>
34
+            <if test="equipment != null  and equipment != ''"> and equipment = #{equipment}</if>
35
+            <if test="strength != null  and strength != ''"> and strength = #{strength}</if>
36
+            <if test="fulfill != null  and fulfill != ''"> and fulfill = #{fulfill}</if>
21
         </where>
37
         </where>
38
+        order by partner_id + 0 asc
22
     </select>
39
     </select>
23
-    
40
+
24
     <select id="selectCmcPartnerByPartnerId" parameterType="String" resultMap="CmcPartnerResult">
41
     <select id="selectCmcPartnerByPartnerId" parameterType="String" resultMap="CmcPartnerResult">
25
         <include refid="selectCmcPartnerVo"/>
42
         <include refid="selectCmcPartnerVo"/>
26
         where partner_id = #{partnerId}
43
         where partner_id = #{partnerId}
27
     </select>
44
     </select>
28
-        
45
+
29
     <insert id="insertCmcPartner" parameterType="CmcPartner">
46
     <insert id="insertCmcPartner" parameterType="CmcPartner">
30
         insert into cmc_partner
47
         insert into cmc_partner
31
         <trim prefix="(" suffix=")" suffixOverrides=",">
48
         <trim prefix="(" suffix=")" suffixOverrides=",">
32
             <if test="partnerId != null">partner_id,</if>
49
             <if test="partnerId != null">partner_id,</if>
33
             <if test="partnerName != null">partner_name,</if>
50
             <if test="partnerName != null">partner_name,</if>
34
             <if test="contactPerson != null">contact_person,</if>
51
             <if test="contactPerson != null">contact_person,</if>
35
-         </trim>
52
+            <if test="telephone != null">telephone,</if>
53
+            <if test="qualification != null">qualification,</if>
54
+            <if test="inWorker != null">in_worker,</if>
55
+            <if test="outWorker != null">out_worker,</if>
56
+            <if test="equipment != null">equipment,</if>
57
+            <if test="strength != null">strength,</if>
58
+            <if test="fulfill != null">fulfill,</if>
59
+            <if test="remark != null">remark,</if>
60
+        </trim>
36
         <trim prefix="values (" suffix=")" suffixOverrides=",">
61
         <trim prefix="values (" suffix=")" suffixOverrides=",">
37
             <if test="partnerId != null">#{partnerId},</if>
62
             <if test="partnerId != null">#{partnerId},</if>
38
             <if test="partnerName != null">#{partnerName},</if>
63
             <if test="partnerName != null">#{partnerName},</if>
39
             <if test="contactPerson != null">#{contactPerson},</if>
64
             <if test="contactPerson != null">#{contactPerson},</if>
40
-         </trim>
65
+            <if test="telephone != null">#{telephone},</if>
66
+            <if test="qualification != null">#{qualification},</if>
67
+            <if test="inWorker != null">#{inWorker},</if>
68
+            <if test="outWorker != null">#{outWorker},</if>
69
+            <if test="equipment != null">#{equipment},</if>
70
+            <if test="strength != null">#{strength},</if>
71
+            <if test="fulfill != null">#{fulfill},</if>
72
+            <if test="remark != null">#{remark},</if>
73
+        </trim>
41
     </insert>
74
     </insert>
42
 
75
 
43
     <update id="updateCmcPartner" parameterType="CmcPartner">
76
     <update id="updateCmcPartner" parameterType="CmcPartner">
45
         <trim prefix="SET" suffixOverrides=",">
78
         <trim prefix="SET" suffixOverrides=",">
46
             <if test="partnerName != null">partner_name = #{partnerName},</if>
79
             <if test="partnerName != null">partner_name = #{partnerName},</if>
47
             <if test="contactPerson != null">contact_person = #{contactPerson},</if>
80
             <if test="contactPerson != null">contact_person = #{contactPerson},</if>
81
+            <if test="telephone != null">telephone = #{telephone},</if>
82
+            <if test="qualification != null">qualification = #{qualification},</if>
83
+            <if test="inWorker != null">in_worker = #{inWorker},</if>
84
+            <if test="outWorker != null">out_worker = #{outWorker},</if>
85
+            <if test="equipment != null">equipment = #{equipment},</if>
86
+            <if test="strength != null">strength = #{strength},</if>
87
+            <if test="fulfill != null">fulfill = #{fulfill},</if>
88
+            <if test="remark != null">remark = #{remark},</if>
48
         </trim>
89
         </trim>
49
         where partner_id = #{partnerId}
90
         where partner_id = #{partnerId}
50
     </update>
91
     </update>
54
     </delete>
95
     </delete>
55
 
96
 
56
     <delete id="deleteCmcPartnerByPartnerIds" parameterType="String">
97
     <delete id="deleteCmcPartnerByPartnerIds" parameterType="String">
57
-        delete from cmc_partner where partner_id in 
98
+        delete from cmc_partner where partner_id in
58
         <foreach item="partnerId" collection="array" open="(" separator="," close=")">
99
         <foreach item="partnerId" collection="array" open="(" separator="," close=")">
59
             #{partnerId}
100
             #{partnerId}
60
         </foreach>
101
         </foreach>

+ 59
- 0
oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcPartyAMapper.xml Ver arquivo

1
+<?xml version="1.0" encoding="UTF-8" ?>
2
+<!DOCTYPE mapper
3
+PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
4
+"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
5
+<mapper namespace="com.ruoyi.oa.mapper.CmcPartyAMapper">
6
+    
7
+    <resultMap type="CmcPartyA" id="CmcPartyAResult">
8
+        <result property="partyAId"    column="party_a_id"    />
9
+        <result property="partyAName"    column="party_a_name"    />
10
+    </resultMap>
11
+
12
+    <sql id="selectCmcPartyAVo">
13
+        select party_a_id, party_a_name from cmc_party_a
14
+    </sql>
15
+
16
+    <select id="selectCmcPartyAList" parameterType="CmcPartyA" resultMap="CmcPartyAResult">
17
+        <include refid="selectCmcPartyAVo"/>
18
+        <where>  
19
+            <if test="partyAName != null  and partyAName != ''"> and party_a_name like concat('%', #{partyAName}, '%')</if>
20
+        </where>
21
+        order by party_a_id + 0 asc
22
+    </select>
23
+    
24
+    <select id="selectCmcPartyAByPartyAId" parameterType="String" resultMap="CmcPartyAResult">
25
+        <include refid="selectCmcPartyAVo"/>
26
+        where party_a_id = #{partyAId}
27
+    </select>
28
+        
29
+    <insert id="insertCmcPartyA" parameterType="CmcPartyA">
30
+        insert into cmc_party_a
31
+        <trim prefix="(" suffix=")" suffixOverrides=",">
32
+            <if test="partyAId != null">party_a_id,</if>
33
+            <if test="partyAName != null">party_a_name,</if>
34
+         </trim>
35
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
36
+            <if test="partyAId != null">#{partyAId},</if>
37
+            <if test="partyAName != null">#{partyAName},</if>
38
+         </trim>
39
+    </insert>
40
+
41
+    <update id="updateCmcPartyA" parameterType="CmcPartyA">
42
+        update cmc_party_a
43
+        <trim prefix="SET" suffixOverrides=",">
44
+            <if test="partyAName != null">party_a_name = #{partyAName},</if>
45
+        </trim>
46
+        where party_a_id = #{partyAId}
47
+    </update>
48
+
49
+    <delete id="deleteCmcPartyAByPartyAId" parameterType="String">
50
+        delete from cmc_party_a where party_a_id = #{partyAId}
51
+    </delete>
52
+
53
+    <delete id="deleteCmcPartyAByPartyAIds" parameterType="String">
54
+        delete from cmc_party_a where party_a_id in 
55
+        <foreach item="partyAId" collection="array" open="(" separator="," close=")">
56
+            #{partyAId}
57
+        </foreach>
58
+    </delete>
59
+</mapper>

+ 13
- 6
oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcProjectMapper.xml Ver arquivo

11
         <result property="projectLeader"    column="project_leader"    />
11
         <result property="projectLeader"    column="project_leader"    />
12
         <result property="isFinished"    column="is_finished"    />
12
         <result property="isFinished"    column="is_finished"    />
13
         <result property="projectSource"    column="project_source"    />
13
         <result property="projectSource"    column="project_source"    />
14
-        <result property="partyA"    column="party_a"    />
14
+        <result property="partyAId"    column="party_a_id"    />
15
         <result property="contactPerson"    column="contact_person"    />
15
         <result property="contactPerson"    column="contact_person"    />
16
         <result property="telephone"    column="telephone"    />
16
         <result property="telephone"    column="telephone"    />
17
         <result property="projectType"    column="project_type"    />
17
         <result property="projectType"    column="project_type"    />
40
         <association property="projectLeaderUser"    javaType="SysUser"         resultMap="ProjectLeaderResult" />
40
         <association property="projectLeaderUser"    javaType="SysUser"         resultMap="ProjectLeaderResult" />
41
         <association property="projectRegistrantUser"    javaType="SysUser"         resultMap="ProjectRegistrantResult" />
41
         <association property="projectRegistrantUser"    javaType="SysUser"         resultMap="ProjectRegistrantResult" />
42
         <association property="technicalDirectorUser"    javaType="SysUser"         resultMap="TechnicalDirectorResult" />
42
         <association property="technicalDirectorUser"    javaType="SysUser"         resultMap="TechnicalDirectorResult" />
43
+        <association property="partyA"    javaType="CmcPartyA"         resultMap="CmcPartyAResult" />
43
     </resultMap>
44
     </resultMap>
44
 
45
 
45
     <resultMap type="SysUser" id="ProjectLeaderResult">
46
     <resultMap type="SysUser" id="ProjectLeaderResult">
57
         <result property="nickName"    column="director_nick_name"    />
58
         <result property="nickName"    column="director_nick_name"    />
58
     </resultMap>
59
     </resultMap>
59
 
60
 
61
+    <resultMap type="CmcPartyA" id="CmcPartyAResult">
62
+        <result property="partyAId"    column="party_a_id"    />
63
+        <result property="partyAName"    column="party_a_name"    />
64
+    </resultMap>
65
+
60
     <sql id="selectCmcProjectVo">
66
     <sql id="selectCmcProjectVo">
61
-        select p.project_id, p.project_number, p.project_name, p.project_leader, u.nick_name as leader_nick_name, p.is_finished, p.project_source, p.party_a, p.contact_person, p.telephone,
67
+        select p.project_id, p.project_number, p.project_name, p.project_leader, u.nick_name as leader_nick_name, p.is_finished, p.project_source, p.party_a_id, pa.party_a_name, p.contact_person, p.telephone,
62
                p.project_type, p.project_level, p.project_registrant, u1.nick_name as registrant_nick_name, p.undertaking_dept, p.project_planner, p.site_leader, p.organize_document, p.organize_time,
68
                p.project_type, p.project_level, p.project_registrant, u1.nick_name as registrant_nick_name, p.undertaking_dept, p.project_planner, p.site_leader, p.organize_document, p.organize_time,
63
                p.register_time, p.plan_time, p.entry_time, p.exit_time, p.remark, c.technical_director, u2.nick_name as director_nick_name, c.quality_inspector, p.project_kml, p.project_cp, p.kml_lng, p.kml_lat, p.cars, p.drivers, p.devices, p.participates, p.task_document from cmc_project as p
69
                p.register_time, p.plan_time, p.entry_time, p.exit_time, p.remark, c.technical_director, u2.nick_name as director_nick_name, c.quality_inspector, p.project_kml, p.project_cp, p.kml_lng, p.kml_lat, p.cars, p.drivers, p.devices, p.participates, p.task_document from cmc_project as p
64
         left join sys_user as u on u.user_id = p.project_leader
70
         left join sys_user as u on u.user_id = p.project_leader
65
         left join sys_user as u1 on u1.user_id = p.project_registrant
71
         left join sys_user as u1 on u1.user_id = p.project_registrant
66
         left join cmc_technical as c on c.project_id = p.project_id
72
         left join cmc_technical as c on c.project_id = p.project_id
67
         left join sys_user as u2 on u2.user_id = c.technical_director
73
         left join sys_user as u2 on u2.user_id = c.technical_director
74
+        left join cmc_party_a as pa on pa.party_a_id = p.party_a_id
68
     </sql>
75
     </sql>
69
 
76
 
70
     <select id="selectCmcProjectList" parameterType="CmcProject" resultMap="CmcProjectResult">
77
     <select id="selectCmcProjectList" parameterType="CmcProject" resultMap="CmcProjectResult">
75
             <if test="projectLeader != null "> and p.project_leader = #{projectLeader}</if>
82
             <if test="projectLeader != null "> and p.project_leader = #{projectLeader}</if>
76
             <if test="isFinished != null  and isFinished != ''"> and p.is_finished = #{isFinished}</if>
83
             <if test="isFinished != null  and isFinished != ''"> and p.is_finished = #{isFinished}</if>
77
             <if test="projectSource != null  and projectSource != ''"> and p.project_source = #{projectSource}</if>
84
             <if test="projectSource != null  and projectSource != ''"> and p.project_source = #{projectSource}</if>
78
-            <if test="partyA != null  and partyA != ''"> and p.party_a = #{partyA}</if>
85
+            <if test="partyAId != null  and partyAId != ''"> and p.party_a_id = #{partyAId}</if>
79
             <if test="contactPerson != null  and contactPerson != ''"> and p.contact_person = #{contactPerson}</if>
86
             <if test="contactPerson != null  and contactPerson != ''"> and p.contact_person = #{contactPerson}</if>
80
             <if test="telephone != null  and telephone != ''"> and p.telephone = #{telephone}</if>
87
             <if test="telephone != null  and telephone != ''"> and p.telephone = #{telephone}</if>
81
             <if test="projectType != null  and projectType != ''"> and p.project_type = #{projectType}</if>
88
             <if test="projectType != null  and projectType != ''"> and p.project_type = #{projectType}</if>
110
             <if test="projectLeader != null">project_leader,</if>
117
             <if test="projectLeader != null">project_leader,</if>
111
             <if test="isFinished != null">is_finished,</if>
118
             <if test="isFinished != null">is_finished,</if>
112
             <if test="projectSource != null">project_source,</if>
119
             <if test="projectSource != null">project_source,</if>
113
-            <if test="partyA != null">party_a,</if>
120
+            <if test="partyAId != null">party_a_id,</if>
114
             <if test="contactPerson != null">contact_person,</if>
121
             <if test="contactPerson != null">contact_person,</if>
115
             <if test="telephone != null">telephone,</if>
122
             <if test="telephone != null">telephone,</if>
116
             <if test="projectType != null">project_type,</if>
123
             <if test="projectType != null">project_type,</if>
143
             <if test="projectLeader != null">#{projectLeader},</if>
150
             <if test="projectLeader != null">#{projectLeader},</if>
144
             <if test="isFinished != null">#{isFinished},</if>
151
             <if test="isFinished != null">#{isFinished},</if>
145
             <if test="projectSource != null">#{projectSource},</if>
152
             <if test="projectSource != null">#{projectSource},</if>
146
-            <if test="partyA != null">#{partyA},</if>
153
+            <if test="partyAId != null">#{partyAId},</if>
147
             <if test="contactPerson != null">#{contactPerson},</if>
154
             <if test="contactPerson != null">#{contactPerson},</if>
148
             <if test="telephone != null">#{telephone},</if>
155
             <if test="telephone != null">#{telephone},</if>
149
             <if test="projectType != null">#{projectType},</if>
156
             <if test="projectType != null">#{projectType},</if>
179
             <if test="projectLeader != null">project_leader = #{projectLeader},</if>
186
             <if test="projectLeader != null">project_leader = #{projectLeader},</if>
180
             <if test="isFinished != null">is_finished = #{isFinished},</if>
187
             <if test="isFinished != null">is_finished = #{isFinished},</if>
181
             <if test="projectSource != null">project_source = #{projectSource},</if>
188
             <if test="projectSource != null">project_source = #{projectSource},</if>
182
-            <if test="partyA != null">party_a = #{partyA},</if>
189
+            <if test="partyAId != null">party_a_id = #{partyAId},</if>
183
             <if test="contactPerson != null">contact_person = #{contactPerson},</if>
190
             <if test="contactPerson != null">contact_person = #{contactPerson},</if>
184
             <if test="telephone != null">telephone = #{telephone},</if>
191
             <if test="telephone != null">telephone = #{telephone},</if>
185
             <if test="projectType != null">project_type = #{projectType},</if>
192
             <if test="projectType != null">project_type = #{projectType},</if>

+ 6
- 1
oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcSubContractMapper.xml Ver arquivo

11
         <result property="subAmount"    column="sub_amount"    />
11
         <result property="subAmount"    column="sub_amount"    />
12
         <result property="partnerId"    column="partner_id"    />
12
         <result property="partnerId"    column="partner_id"    />
13
         <result property="contactPerson"    column="contact_person"    />
13
         <result property="contactPerson"    column="contact_person"    />
14
+        <result property="telephone"    column="telephone"    />
14
         <result property="contractDocument"    column="contract_document"    />
15
         <result property="contractDocument"    column="contract_document"    />
15
         <result property="drafter"    column="drafter"    />
16
         <result property="drafter"    column="drafter"    />
16
         <result property="draftTime"    column="draft_time"    />
17
         <result property="draftTime"    column="draft_time"    />
37
     </resultMap>
38
     </resultMap>
38
 
39
 
39
     <sql id="selectCmcSubContractVo">
40
     <sql id="selectCmcSubContractVo">
40
-        select sc.sub_contract_id, sc.project_id, sc.sub_contract_name, sc.sub_amount, sc.partner_id, sc.contact_person, sc.contract_document, sc.drafter, u.nick_name as draft_nick_name, sc.draft_time,
41
+        select sc.sub_contract_id, sc.project_id, sc.sub_contract_name, sc.sub_amount, sc.partner_id, sc.contact_person, sc.telephone, sc.contract_document, sc.drafter, u.nick_name as draft_nick_name, sc.draft_time,
41
                sc.remark, sc.sign_date, sc.sign_remark, sc.sign_scan, sc.comment_type, sc.manager_comment, sc.manager_user_id, u1.nick_name as manager_nick_name, sc.manager_time from cmc_sub_contract as sc
42
                sc.remark, sc.sign_date, sc.sign_remark, sc.sign_scan, sc.comment_type, sc.manager_comment, sc.manager_user_id, u1.nick_name as manager_nick_name, sc.manager_time from cmc_sub_contract as sc
42
         left join sys_user as u on u.user_id = sc.drafter
43
         left join sys_user as u on u.user_id = sc.drafter
43
         left join sys_user as u1 on u1.user_id = sc.manager_user_id
44
         left join sys_user as u1 on u1.user_id = sc.manager_user_id
51
             <if test="subAmount != null "> and sc.sub_amount = #{subAmount}</if>
52
             <if test="subAmount != null "> and sc.sub_amount = #{subAmount}</if>
52
             <if test="partnerId != null  and partnerId != ''"> and sc.partner_id = #{partnerId}</if>
53
             <if test="partnerId != null  and partnerId != ''"> and sc.partner_id = #{partnerId}</if>
53
             <if test="contactPerson != null  and contactPerson != ''"> and sc.contact_person = #{contactPerson}</if>
54
             <if test="contactPerson != null  and contactPerson != ''"> and sc.contact_person = #{contactPerson}</if>
55
+            <if test="telephone != null  and telephone != ''"> and sc.telephone = #{telephone}</if>
54
             <if test="contractDocument != null  and contractDocument != ''"> and sc.contract_document = #{contractDocument}</if>
56
             <if test="contractDocument != null  and contractDocument != ''"> and sc.contract_document = #{contractDocument}</if>
55
             <if test="drafter != null "> and sc.drafter = #{drafter}</if>
57
             <if test="drafter != null "> and sc.drafter = #{drafter}</if>
56
             <if test="draftTime != null "> and sc.draft_time = #{draftTime}</if>
58
             <if test="draftTime != null "> and sc.draft_time = #{draftTime}</if>
75
             <if test="subAmount != null">sub_amount,</if>
77
             <if test="subAmount != null">sub_amount,</if>
76
             <if test="partnerId != null">partner_id,</if>
78
             <if test="partnerId != null">partner_id,</if>
77
             <if test="contactPerson != null">contact_person,</if>
79
             <if test="contactPerson != null">contact_person,</if>
80
+            <if test="telephone != null">telephone,</if>
78
             <if test="contractDocument != null">contract_document,</if>
81
             <if test="contractDocument != null">contract_document,</if>
79
             <if test="drafter != null">drafter,</if>
82
             <if test="drafter != null">drafter,</if>
80
             <if test="draftTime != null">draft_time,</if>
83
             <if test="draftTime != null">draft_time,</if>
94
             <if test="subAmount != null">#{subAmount},</if>
97
             <if test="subAmount != null">#{subAmount},</if>
95
             <if test="partnerId != null">#{partnerId},</if>
98
             <if test="partnerId != null">#{partnerId},</if>
96
             <if test="contactPerson != null">#{contactPerson},</if>
99
             <if test="contactPerson != null">#{contactPerson},</if>
100
+            <if test="telephone != null">#{telephone},</if>
97
             <if test="contractDocument != null">#{contractDocument},</if>
101
             <if test="contractDocument != null">#{contractDocument},</if>
98
             <if test="drafter != null">#{drafter},</if>
102
             <if test="drafter != null">#{drafter},</if>
99
             <if test="draftTime != null">#{draftTime},</if>
103
             <if test="draftTime != null">#{draftTime},</if>
116
             <if test="subAmount != null">sub_amount = #{subAmount},</if>
120
             <if test="subAmount != null">sub_amount = #{subAmount},</if>
117
             <if test="partnerId != null">partner_id = #{partnerId},</if>
121
             <if test="partnerId != null">partner_id = #{partnerId},</if>
118
             <if test="contactPerson != null">contact_person = #{contactPerson},</if>
122
             <if test="contactPerson != null">contact_person = #{contactPerson},</if>
123
+            <if test="telephone != null">telephone = #{telephone},</if>
119
             <if test="contractDocument != null">contract_document = #{contractDocument},</if>
124
             <if test="contractDocument != null">contract_document = #{contractDocument},</if>
120
             <if test="drafter != null">drafter = #{drafter},</if>
125
             <if test="drafter != null">drafter = #{drafter},</if>
121
             <if test="draftTime != null">draft_time = #{draftTime},</if>
126
             <if test="draftTime != null">draft_time = #{draftTime},</if>

+ 14
- 6
oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcTenderMapper.xml Ver arquivo

7
     <resultMap type="CmcTender" id="CmcTenderResult">
7
     <resultMap type="CmcTender" id="CmcTenderResult">
8
         <result property="tenderId"    column="tender_id"    />
8
         <result property="tenderId"    column="tender_id"    />
9
         <result property="projectName"    column="project_name"    />
9
         <result property="projectName"    column="project_name"    />
10
-        <result property="partyA"    column="party_a"    />
10
+        <result property="partyAId"    column="party_a_id"    />
11
         <result property="aPerson"    column="a_person"    />
11
         <result property="aPerson"    column="a_person"    />
12
         <result property="aPhone"    column="a_phone"    />
12
         <result property="aPhone"    column="a_phone"    />
13
         <result property="agent"    column="agent"    />
13
         <result property="agent"    column="agent"    />
39
         <association property="checkerUser"    javaType="SysUser"         resultMap="CheckerUserResult" />
39
         <association property="checkerUser"    javaType="SysUser"         resultMap="CheckerUserResult" />
40
         <association property="printerUser"    javaType="SysUser"         resultMap="PrinterUserResult" />
40
         <association property="printerUser"    javaType="SysUser"         resultMap="PrinterUserResult" />
41
         <association property="tenderDept"    javaType="SysDept"         resultMap="SysDeptResult" />
41
         <association property="tenderDept"    javaType="SysDept"         resultMap="SysDeptResult" />
42
+        <association property="tenderDept"    javaType="SysDept"         resultMap="SysDeptResult" />
43
+        <association property="partyA"    javaType="CmcPartyA"         resultMap="CmcPartyAResult" />
42
     </resultMap>
44
     </resultMap>
43
 
45
 
44
     <resultMap type="SysUser" id="TrusteeUserResult">
46
     <resultMap type="SysUser" id="TrusteeUserResult">
76
         <result property="deptName"    column="dept_name"    />
78
         <result property="deptName"    column="dept_name"    />
77
     </resultMap>
79
     </resultMap>
78
 
80
 
81
+    <resultMap type="CmcPartyA" id="CmcPartyAResult">
82
+        <result property="partyAId"    column="party_a_id"    />
83
+        <result property="partyAName"    column="party_a_name"    />
84
+    </resultMap>
85
+
79
     <sql id="selectCmcTenderVo">
86
     <sql id="selectCmcTenderVo">
80
-        select t.tender_id, t.project_name, t.party_a, t.a_person, t.a_phone, t.agent, t.agent_person, t.agent_phone, t.place, t.dept, t.trustee, t.budget, t.quote, t.deposit, t.tender_time,
87
+        select t.tender_id, t.project_name, t.party_a_id, pa.party_a_name, t.a_person, t.a_phone, t.agent, t.agent_person, t.agent_phone, t.place, t.dept, t.trustee, t.budget, t.quote, t.deposit, t.tender_time,
81
                t.bid_buy_deadline, t.bid_website, t.bid_document, t.project_briefly, t.business_writer, t.business_deadline, t.tech_writer, t.tech_deadline, t.tender_combiner, t.tender_checker,
88
                t.bid_buy_deadline, t.bid_website, t.bid_document, t.project_briefly, t.business_writer, t.business_deadline, t.tech_writer, t.tech_deadline, t.tender_combiner, t.tender_checker,
82
                t.tender_printer, t.tender_document, u.nick_name as trustee_nick_name, u1.nick_name as business_nick_name, u2.nick_name as tech_nick_name, u3.nick_name as combiner_nick_name,
89
                t.tender_printer, t.tender_document, u.nick_name as trustee_nick_name, u1.nick_name as business_nick_name, u2.nick_name as tech_nick_name, u3.nick_name as combiner_nick_name,
83
                u4.nick_name as checker_nick_name, u5.nick_name as printer_nick_name, d.dept_name from cmc_tender as t
90
                u4.nick_name as checker_nick_name, u5.nick_name as printer_nick_name, d.dept_name from cmc_tender as t
88
         left join sys_user as u4 on u4.user_id = t.tender_checker
95
         left join sys_user as u4 on u4.user_id = t.tender_checker
89
         left join sys_user as u5 on u5.user_id = t.tender_printer
96
         left join sys_user as u5 on u5.user_id = t.tender_printer
90
         left join sys_dept as d on d.dept_id = t.dept
97
         left join sys_dept as d on d.dept_id = t.dept
98
+        left join cmc_party_a as pa on pa.party_a_id = t.party_a_id
91
     </sql>
99
     </sql>
92
 
100
 
93
     <select id="selectCmcTenderList" parameterType="CmcTender" resultMap="CmcTenderResult">
101
     <select id="selectCmcTenderList" parameterType="CmcTender" resultMap="CmcTenderResult">
94
         <include refid="selectCmcTenderVo"/>
102
         <include refid="selectCmcTenderVo"/>
95
         <where>  
103
         <where>  
96
             <if test="projectName != null  and projectName != ''"> and t.project_name like concat('%', #{projectName}, '%')</if>
104
             <if test="projectName != null  and projectName != ''"> and t.project_name like concat('%', #{projectName}, '%')</if>
97
-            <if test="partyA != null  and partyA != ''"> and t.party_a like concat('%', #{partyA}, '%')</if>
105
+            <if test="partyAId != null  and partyAId != ''"> and t.party_a_id like concat('%', #{partyAId}, '%')</if>
98
             <if test="aPerson != null  and aPerson != ''"> and t.a_person like concat('%', #{aPerson}, '%')</if>
106
             <if test="aPerson != null  and aPerson != ''"> and t.a_person like concat('%', #{aPerson}, '%')</if>
99
             <if test="aPhone != null  and aPhone != ''"> and t.a_phone like concat('%', #{aPhone}, '%')</if>
107
             <if test="aPhone != null  and aPhone != ''"> and t.a_phone like concat('%', #{aPhone}, '%')</if>
100
             <if test="agent != null  and agent != ''"> and t.agent like concat('%', #{agent}, '%')</if>
108
             <if test="agent != null  and agent != ''"> and t.agent like concat('%', #{agent}, '%')</if>
132
         <trim prefix="(" suffix=")" suffixOverrides=",">
140
         <trim prefix="(" suffix=")" suffixOverrides=",">
133
             <if test="tenderId != null">tender_id,</if>
141
             <if test="tenderId != null">tender_id,</if>
134
             <if test="projectName != null">project_name,</if>
142
             <if test="projectName != null">project_name,</if>
135
-            <if test="partyA != null">party_a,</if>
143
+            <if test="partyAId != null">party_a_id,</if>
136
             <if test="aPerson != null">a_person,</if>
144
             <if test="aPerson != null">a_person,</if>
137
             <if test="aPhone != null">a_phone,</if>
145
             <if test="aPhone != null">a_phone,</if>
138
             <if test="agent != null">agent,</if>
146
             <if test="agent != null">agent,</if>
161
         <trim prefix="values (" suffix=")" suffixOverrides=",">
169
         <trim prefix="values (" suffix=")" suffixOverrides=",">
162
             <if test="tenderId != null">#{tenderId},</if>
170
             <if test="tenderId != null">#{tenderId},</if>
163
             <if test="projectName != null">#{projectName},</if>
171
             <if test="projectName != null">#{projectName},</if>
164
-            <if test="partyA != null">#{partyA},</if>
172
+            <if test="partyAId != null">#{partyAId},</if>
165
             <if test="aPerson != null">#{aPerson},</if>
173
             <if test="aPerson != null">#{aPerson},</if>
166
             <if test="aPhone != null">#{aPhone},</if>
174
             <if test="aPhone != null">#{aPhone},</if>
167
             <if test="agent != null">#{agent},</if>
175
             <if test="agent != null">#{agent},</if>
193
         update cmc_tender
201
         update cmc_tender
194
         <trim prefix="SET" suffixOverrides=",">
202
         <trim prefix="SET" suffixOverrides=",">
195
             <if test="projectName != null">project_name = #{projectName},</if>
203
             <if test="projectName != null">project_name = #{projectName},</if>
196
-            <if test="partyA != null">party_a = #{partyA},</if>
204
+            <if test="partyAId != null">party_a_id = #{partyAId},</if>
197
             <if test="aPerson != null">a_person = #{aPerson},</if>
205
             <if test="aPerson != null">a_person = #{aPerson},</if>
198
             <if test="aPhone != null">a_phone = #{aPhone},</if>
206
             <if test="aPhone != null">a_phone = #{aPhone},</if>
199
             <if test="agent != null">agent = #{agent},</if>
207
             <if test="agent != null">agent = #{agent},</if>

+ 340
- 194
oa-back/sql/sql.sql Ver arquivo

338
 insert into sys_role values('4', '设备管理员',	'device', 4, 4, 1, 1, '0', '0', 'admin', sysdate(), '', null, '设备管理员');
338
 insert into sys_role values('4', '设备管理员',	'device', 4, 4, 1, 1, '0', '0', 'admin', sysdate(), '', null, '设备管理员');
339
 insert into sys_role values('5', '车辆管理员',	'car', 5, 5, 1, 1, '0', '0', 'admin', sysdate(), '', null, '车辆管理员');
339
 insert into sys_role values('5', '车辆管理员',	'car', 5, 5, 1, 1, '0', '0', 'admin', sysdate(), '', null, '车辆管理员');
340
 insert into sys_role values('6', '资料归档员',	'archive', 6, 6, 1, 1, '0', '0', 'admin', sysdate(), '', null, '资料归档员');
340
 insert into sys_role values('6', '资料归档员',	'archive', 6, 6, 1, 1, '0', '0', 'admin', sysdate(), '', null, '资料归档员');
341
-insert into sys_role values('7', '管理人员',	'leader', 7, 7, 1, 1, '0', '0', 'admin', sysdate(), '', null, '管理人员');
342
-insert into sys_role values('8', '经营人员',	'business', 8, 8, 1, 1, '0', '0', 'admin', sysdate(), '', null, '经营人员');
343
-
341
+insert into sys_role values('7', '管理层',		'leader', 7, 7, 1, 1, '0', '0', 'admin', sysdate(), '', null, '管理层');	
342
+insert into sys_role values('8', '经营管理员',	'business', 8, 8, 1, 1, '0', '0', 'admin', sysdate(), '', null, '经营管理员');
343
+insert into sys_role values('9', '项目管理员',	'project', 9, 9, 1, 1, '0', '0', 'admin', sysdate(), '', null, '项目管理员');
344
 
344
 
345
 -- ----------------------------
345
 -- ----------------------------
346
 -- 5、菜单权限表
346
 -- 5、菜单权限表
380
 insert into sys_menu values('5', 	'设备管理', '0', '5', 'device',		null, '', 1, 0, 'M', '0', '0', '', 'equipment',	'admin', sysdate(), '', null, '设备管理菜单');
380
 insert into sys_menu values('5', 	'设备管理', '0', '5', 'device',		null, '', 1, 0, 'M', '0', '0', '', 'equipment',	'admin', sysdate(), '', null, '设备管理菜单');
381
 insert into sys_menu values('6', 	'车辆管理', '0', '6', 'car',		'oa/car/index', 			'', 1, 0, 'C', '0', '0', 'oa:car:list', 	'car',		'admin', sysdate(), '', null, '车辆管理菜单');
381
 insert into sys_menu values('6', 	'车辆管理', '0', '6', 'car',		'oa/car/index', 			'', 1, 0, 'C', '0', '0', 'oa:car:list', 	'car',		'admin', sysdate(), '', null, '车辆管理菜单');
382
 insert into sys_menu values('7', 	'投标管理', '0', '7', 'tender',		'oa/tender/index', 			'', 1, 0, 'C', '0', '0', 'oa:tender:list', 	'guide',	'admin', sysdate(), '', null, '投标管理菜单');
382
 insert into sys_menu values('7', 	'投标管理', '0', '7', 'tender',		'oa/tender/index', 			'', 1, 0, 'C', '0', '0', 'oa:tender:list', 	'guide',	'admin', sysdate(), '', null, '投标管理菜单');
383
-insert into sys_menu values('8', 	'品牌项目', '0', '8', 'brand',		'oa/brand/brandProject', 	'', 1, 0, 'C', '0', '0', 'oa:brand:list', 	'project',	'admin', sysdate(), '', null, '品牌项目管理菜单');
384
-insert into sys_menu values('9', 	'合同管理', '0', '9', 'contract',	'oa/contract/index', 		'', 1, 0, 'C', '0', '0', 'oa:contract:list','documentation',	'admin', sysdate(), '', null, '合同管理菜单');
385
-insert into sys_menu values('10', 	'项目台账', '0', '10', 'project',	'oa/project/index', 		'', 1, 0, 'C', '0', '0', 'oa:project:list', 'project',	'admin', sysdate(), '', null, '项目管理菜单');
386
-insert into sys_menu values('11', 	'单价管理', '0', '11', 'price',		'oa/price/index', 			'', 1, 0, 'C', '0', '0', 'oa:price:list', 	'money',	'admin', sysdate(), '', null, '单价管理菜单');
387
-insert into sys_menu values('12', 	'资料管理', '0', '12', 'file', 		'file/filesProject/index',  '', 1, 0, 'C', '0', '0', 'oa:archive:list',	'education','admin', sysdate(), '', NULL, '资料管理菜单');
388
-insert into sys_menu values('13', 	'一张图', 	'0', '13', 'gis', 		'file/index',  				'', 1, 0, 'C', '0', '0', '', 				'international','admin', sysdate(), '', NULL, '一张图菜单');
383
+insert into sys_menu values('8', 	'品牌项目', '0', '8', 'brand',		'oa/brand/brandProject', 	'', 1, 0, 'C', '0', '0', 'oa:brandProject:list', 'project',	'admin', sysdate(), '', null, '品牌项目管理菜单');
384
+insert into sys_menu values('9', 	'合作单位', '0', '9', 'partner', 	'oa/partner/index',  		'', 1, 0, 'C', '0', '0', 'oa:partner:list', 'titles',	'admin', sysdate(), '', NULL, '合作单位管理菜单');
385
+insert into sys_menu values('10', 	'承接合同', '0', '10', 'contract',	'oa/contract/index', 		'', 1, 0, 'C', '0', '0', 'oa:contract:list','documentation',	'admin', sysdate(), '', null, '承接合同菜单');
386
+insert into sys_menu values('11', 	'分包合同', '0', '11', 'subContract','oa/subContract/index', 	'', 1, 0, 'C', '0', '0', 'oa:subContract:list','documentation',	'admin', sysdate(), '', null, '分包合同菜单');
387
+insert into sys_menu values('12', 	'项目台账', '0', '12', 'project',	'oa/project/index', 		'', 1, 0, 'C', '0', '0', 'oa:project:list', 'project',	'admin', sysdate(), '', null, '项目管理菜单');
388
+insert into sys_menu values('13', 	'单价管理', '0', '13', 'price',		'oa/price/index', 			'', 1, 0, 'C', '0', '0', 'oa:price:list', 	'money',	'admin', sysdate(), '', null, '单价管理菜单');
389
+insert into sys_menu values('14', 	'资料管理', '0', '14', 'file', 		'file/filesProject/index',  '', 1, 0, 'C', '0', '0', 'oa:archive:list',	'education','admin', sysdate(), '', NULL, '资料管理菜单');
390
+insert into sys_menu values('15', 	'一张图', 	'0', '15', 'gis', 		'file/index',  				'', 1, 0, 'C', '0', '0', '', 				'international','admin', sysdate(), '', NULL, '一张图菜单');
389
 
391
 
390
 -- 二级菜单
392
 -- 二级菜单
391
 insert into sys_menu values('100',  '用户管理', '1',   '1', 'user',       'system/user/index',        '', 1, 0, 'C', '0', '0', 'system:user:list',        'user',          'admin', sysdate(), '', null, '用户管理菜单');
393
 insert into sys_menu values('100',  '用户管理', '1',   '1', 'user',       'system/user/index',        '', 1, 0, 'C', '0', '0', 'system:user:list',        'user',          'admin', sysdate(), '', null, '用户管理菜单');
434
 insert into sys_menu values('1015', '菜单修改', '102', '3',  '', '', '', 1, 0, 'F', '0', '0', 'system:menu:edit',           '#', 'admin', sysdate(), '', null, '');
436
 insert into sys_menu values('1015', '菜单修改', '102', '3',  '', '', '', 1, 0, 'F', '0', '0', 'system:menu:edit',           '#', 'admin', sysdate(), '', null, '');
435
 insert into sys_menu values('1016', '菜单删除', '102', '4',  '', '', '', 1, 0, 'F', '0', '0', 'system:menu:remove',         '#', 'admin', sysdate(), '', null, '');
437
 insert into sys_menu values('1016', '菜单删除', '102', '4',  '', '', '', 1, 0, 'F', '0', '0', 'system:menu:remove',         '#', 'admin', sysdate(), '', null, '');
436
 -- 部门管理按钮
438
 -- 部门管理按钮
437
-insert into sys_menu values('1017', '部门查询', '103', '1',  '', '', '', 1, 0, 'F', '0', '0', 'system:dept:list',          '#', 'admin', sysdate(), '', null, '');
439
+insert into sys_menu values('1017', '部门查询', '103', '1',  '', '', '', 1, 0, 'F', '0', '0', 'system:dept:list',          	'#', 'admin', sysdate(), '', null, '');
438
 insert into sys_menu values('1018', '部门查询', '103', '1',  '', '', '', 1, 0, 'F', '0', '0', 'system:dept:query',          '#', 'admin', sysdate(), '', null, '');
440
 insert into sys_menu values('1018', '部门查询', '103', '1',  '', '', '', 1, 0, 'F', '0', '0', 'system:dept:query',          '#', 'admin', sysdate(), '', null, '');
439
 insert into sys_menu values('1019', '部门新增', '103', '2',  '', '', '', 1, 0, 'F', '0', '0', 'system:dept:add',            '#', 'admin', sysdate(), '', null, '');
441
 insert into sys_menu values('1019', '部门新增', '103', '2',  '', '', '', 1, 0, 'F', '0', '0', 'system:dept:add',            '#', 'admin', sysdate(), '', null, '');
440
 insert into sys_menu values('1020', '部门修改', '103', '3',  '', '', '', 1, 0, 'F', '0', '0', 'system:dept:edit',           '#', 'admin', sysdate(), '', null, '');
442
 insert into sys_menu values('1020', '部门修改', '103', '3',  '', '', '', 1, 0, 'F', '0', '0', 'system:dept:edit',           '#', 'admin', sysdate(), '', null, '');
508
 insert into sys_menu values('1076', '投标删除', '7', '4', '#', '', '', 1, 0, 'F', '0', '0', 'oa:tender:remove',          	'#', 'admin', sysdate(), '', null, '');
510
 insert into sys_menu values('1076', '投标删除', '7', '4', '#', '', '', 1, 0, 'F', '0', '0', 'oa:tender:remove',          	'#', 'admin', sysdate(), '', null, '');
509
 insert into sys_menu values('1077', '投标导出', '7', '5', '#', '', '', 1, 0, 'F', '0', '0', 'oa:tender:export',          	'#', 'admin', sysdate(), '', null, '');
511
 insert into sys_menu values('1077', '投标导出', '7', '5', '#', '', '', 1, 0, 'F', '0', '0', 'oa:tender:export',          	'#', 'admin', sysdate(), '', null, '');
510
 -- 品牌项目管理按钮
512
 -- 品牌项目管理按钮
511
-insert into sys_menu values('1078', '品牌项目查询', '8', '1', '#', '', '', 1, 0, 'F', '0', '0', 'oa:brand:query',			'#', 'admin', sysdate(), '', null, '');
512
-insert into sys_menu values('1079', '品牌项目新增', '8', '2', '#', '', '', 1, 0, 'F', '0', '0', 'oa:brand:add',				'#', 'admin', sysdate(), '', null, '');
513
-insert into sys_menu values('1080', '品牌项目修改', '8', '3', '#', '', '', 1, 0, 'F', '0', '0', 'oa:brand:edit',            '#', 'admin', sysdate(), '', null, '');
514
-insert into sys_menu values('1081', '品牌项目删除', '8', '4', '#', '', '', 1, 0, 'F', '0', '0', 'oa:brand:remove',          '#', 'admin', sysdate(), '', null, '');
515
-insert into sys_menu values('1082', '品牌项目导出', '8', '5', '#', '', '', 1, 0, 'F', '0', '0', 'oa:brand:export',          '#', 'admin', sysdate(), '', null, '');
516
-insert into sys_menu values('1083', '合同查询', '9', '1', '#', '', '', 1, 0, 'F', '0', '0', 'oa:contract:query',			'#', 'admin', sysdate(), '', null, '');
517
-insert into sys_menu values('1084', '合同新增', '9', '2', '#', '', '', 1, 0, 'F', '0', '0', 'oa:contract:add',				'#', 'admin', sysdate(), '', null, '');
518
-insert into sys_menu values('1085', '合同修改', '9', '3', '#', '', '', 1, 0, 'F', '0', '0', 'oa:contract:edit',             '#', 'admin', sysdate(), '', null, '');
519
-insert into sys_menu values('1086', '合同删除', '9', '4', '#', '', '', 1, 0, 'F', '0', '0', 'oa:contract:remove',           '#', 'admin', sysdate(), '', null, '');
520
-insert into sys_menu values('1087', '合同导出', '9', '5', '#', '', '', 1, 0, 'F', '0', '0', 'oa:contract:export',           '#', 'admin', sysdate(), '', null, '');
513
+insert into sys_menu values('1078', '品牌项目查询', '8', '1', '#', '', '', 1, 0, 'F', '0', '0', 'oa:brandProject:query',	'#', 'admin', sysdate(), '', null, '');
514
+insert into sys_menu values('1079', '品牌项目新增', '8', '2', '#', '', '', 1, 0, 'F', '0', '0', 'oa:brandProject:add',		'#', 'admin', sysdate(), '', null, '');
515
+insert into sys_menu values('1080', '品牌项目修改', '8', '3', '#', '', '', 1, 0, 'F', '0', '0', 'oa:brandProject:edit',     '#', 'admin', sysdate(), '', null, '');
516
+insert into sys_menu values('1081', '品牌项目删除', '8', '4', '#', '', '', 1, 0, 'F', '0', '0', 'oa:brandProject:remove',   '#', 'admin', sysdate(), '', null, '');
517
+insert into sys_menu values('1082', '品牌项目导出', '8', '5', '#', '', '', 1, 0, 'F', '0', '0', 'oa:brandProject:export',   '#', 'admin', sysdate(), '', null, '');
518
+-- 合作单位按钮
519
+insert into sys_menu values('1083', '合作单位查询', '9', '1', '#', '', '', 1, 0, 'F', '0', '0', 'oa:partner:query',			'#', 'admin', sysdate(), '', null, '');
520
+insert into sys_menu values('1084', '合作单位新增', '9', '2', '#', '', '', 1, 0, 'F', '0', '0', 'oa:partner:add',			'#', 'admin', sysdate(), '', null, '');
521
+insert into sys_menu values('1085', '合作单位修改', '9', '3', '#', '', '', 1, 0, 'F', '0', '0', 'oa:partner:edit',			'#', 'admin', sysdate(), '', null, '');
522
+insert into sys_menu values('1086', '合作单位删除', '9', '4', '#', '', '', 1, 0, 'F', '0', '0', 'oa:partner:remove',		'#', 'admin', sysdate(), '', null, '');
523
+insert into sys_menu values('1087', '合作单位导出', '9', '5', '#', '', '', 1, 0, 'F', '0', '0', 'oa:partner:export',		'#', 'admin', sysdate(), '', null, '');
524
+-- 承接合同按钮
525
+insert into sys_menu values('1088', '承接合同查询', '10', '1', '#', '', '', 1, 0, 'F', '0', '0', 'oa:contract:query',		'#', 'admin', sysdate(), '', null, '');
526
+insert into sys_menu values('1089', '承接合同新增', '10', '2', '#', '', '', 1, 0, 'F', '0', '0', 'oa:contract:add',			'#', 'admin', sysdate(), '', null, '');
527
+insert into sys_menu values('1090', '承接合同修改', '10', '3', '#', '', '', 1, 0, 'F', '0', '0', 'oa:contract:edit',        '#', 'admin', sysdate(), '', null, '');
528
+insert into sys_menu values('1091', '承接合同删除', '10', '4', '#', '', '', 1, 0, 'F', '0', '0', 'oa:contract:remove',      '#', 'admin', sysdate(), '', null, '');
529
+insert into sys_menu values('1092', '承接合同导出', '10', '5', '#', '', '', 1, 0, 'F', '0', '0', 'oa:contract:export',      '#', 'admin', sysdate(), '', null, '');
530
+-- 分包合同按钮
531
+insert into sys_menu values('1093', '分包合同查询', '11', '1', '#', '', '', 1, 0, 'F', '0', '0', 'oa:subContract:query',	'#', 'admin', sysdate(), '', null, '');
532
+insert into sys_menu values('1094', '分包合同新增', '11', '2', '#', '', '', 1, 0, 'F', '0', '0', 'oa:subContract:add',		'#', 'admin', sysdate(), '', null, '');
533
+insert into sys_menu values('1095', '分包合同修改', '11', '3', '#', '', '', 1, 0, 'F', '0', '0', 'oa:subContract:edit',     '#', 'admin', sysdate(), '', null, '');
534
+insert into sys_menu values('1096', '分包合同删除', '11', '4', '#', '', '', 1, 0, 'F', '0', '0', 'oa:subContract:remove',   '#', 'admin', sysdate(), '', null, '');
535
+insert into sys_menu values('1097', '分包合同导出', '11', '5', '#', '', '', 1, 0, 'F', '0', '0', 'oa:subContract:export',   '#', 'admin', sysdate(), '', null, '');
521
 -- 项目管理按钮
536
 -- 项目管理按钮
522
-insert into sys_menu values('1088', '项目查询', '10', '1', '#', '', '', 1, 0, 'F', '0', '0', 'oa:project:query',			'#', 'admin', sysdate(), '', null, '');
523
-insert into sys_menu values('1089', '项目新增', '10', '2', '#', '', '', 1, 0, 'F', '0', '0', 'oa:project:add',				'#', 'admin', sysdate(), '', null, '');
524
-insert into sys_menu values('1090', '项目修改', '10', '3', '#', '', '', 1, 0, 'F', '0', '0', 'oa:project:edit',            	'#', 'admin', sysdate(), '', null, '');
525
-insert into sys_menu values('1091', '项目删除', '10', '4', '#', '', '', 1, 0, 'F', '0', '0', 'oa:project:remove',          	'#', 'admin', sysdate(), '', null, '');
526
-insert into sys_menu values('1092', '项目导出', '10', '5', '#', '', '', 1, 0, 'F', '0', '0', 'oa:project:export',          	'#', 'admin', sysdate(), '', null, '');
537
+insert into sys_menu values('1098', '项目查询', '12', '1', '#', '', '', 1, 0, 'F', '0', '0', 'oa:project:query',			'#', 'admin', sysdate(), '', null, '');
538
+insert into sys_menu values('1099', '项目新增', '12', '2', '#', '', '', 1, 0, 'F', '0', '0', 'oa:project:add',				'#', 'admin', sysdate(), '', null, '');
539
+insert into sys_menu values('1100', '项目修改', '12', '3', '#', '', '', 1, 0, 'F', '0', '0', 'oa:project:edit',            	'#', 'admin', sysdate(), '', null, '');
540
+insert into sys_menu values('1101', '项目删除', '12', '4', '#', '', '', 1, 0, 'F', '0', '0', 'oa:project:remove',          	'#', 'admin', sysdate(), '', null, '');
541
+insert into sys_menu values('1102', '项目导出', '12', '5', '#', '', '', 1, 0, 'F', '0', '0', 'oa:project:export',          	'#', 'admin', sysdate(), '', null, '');
527
 -- 项目管理按钮
542
 -- 项目管理按钮
528
-insert into sys_menu values('1093', '工资查询', '119', '1', '#', '', '', 1, 0, 'F', '0', '0', 'oa:salary:query',			'#', 'admin', sysdate(), '', null, '');
529
-insert into sys_menu values('1094', '工资新增', '119', '2', '#', '', '', 1, 0, 'F', '0', '0', 'oa:salary:add',				'#', 'admin', sysdate(), '', null, '');
530
-insert into sys_menu values('1095', '工资修改', '119', '3', '#', '', '', 1, 0, 'F', '0', '0', 'oa:salary:edit',            	'#', 'admin', sysdate(), '', null, '');
531
-insert into sys_menu values('1096', '工资删除', '119', '4', '#', '', '', 1, 0, 'F', '0', '0', 'oa:salary:remove',          	'#', 'admin', sysdate(), '', null, '');
532
-insert into sys_menu values('1097', '工资导出', '119', '5', '#', '', '', 1, 0, 'F', '0', '0', 'oa:salary:export',          	'#', 'admin', sysdate(), '', null, '');
543
+insert into sys_menu values('1103', '工资查询', '119', '1', '#', '', '', 1, 0, 'F', '0', '0', 'oa:salary:query',			'#', 'admin', sysdate(), '', null, '');
544
+insert into sys_menu values('1104', '工资新增', '119', '2', '#', '', '', 1, 0, 'F', '0', '0', 'oa:salary:add',				'#', 'admin', sysdate(), '', null, '');
545
+insert into sys_menu values('1105', '工资修改', '119', '3', '#', '', '', 1, 0, 'F', '0', '0', 'oa:salary:edit',            	'#', 'admin', sysdate(), '', null, '');
546
+insert into sys_menu values('1106', '工资删除', '119', '4', '#', '', '', 1, 0, 'F', '0', '0', 'oa:salary:remove',          	'#', 'admin', sysdate(), '', null, '');
547
+insert into sys_menu values('1107', '工资导出', '119', '5', '#', '', '', 1, 0, 'F', '0', '0', 'oa:salary:export',          	'#', 'admin', sysdate(), '', null, '');
533
 -- 资料管理按钮
548
 -- 资料管理按钮
534
-insert into sys_menu values('1098', '资料查询', '12', '1', '#', '', '', 1, 0, 'F', '0', '0', 'oa:archive:query',			'#', 'admin', sysdate(), '', null, '');
535
-insert into sys_menu values('1099', '资料新增', '12', '2', '#', '', '', 1, 0, 'F', '0', '0', 'oa:archive:add',				'#', 'admin', sysdate(), '', null, '');
536
-insert into sys_menu values('1100', '资料修改', '12', '3', '#', '', '', 1, 0, 'F', '0', '0', 'oa:archive:edit',				'#', 'admin', sysdate(), '', null, '');
537
-insert into sys_menu values('1101', '资料删除', '12', '4', '#', '', '', 1, 0, 'F', '0', '0', 'oa:archive:remove',			'#', 'admin', sysdate(), '', null, '');
538
-insert into sys_menu values('1102', '资料导出', '12', '5', '#', '', '', 1, 0, 'F', '0', '0', 'oa:archive:export',			'#', 'admin', sysdate(), '', null, '');
549
+insert into sys_menu values('1108', '资料查询', '14', '1', '#', '', '', 1, 0, 'F', '0', '0', 'oa:archive:query',			'#', 'admin', sysdate(), '', null, '');
550
+insert into sys_menu values('1109', '资料新增', '14', '2', '#', '', '', 1, 0, 'F', '0', '0', 'oa:archive:add',				'#', 'admin', sysdate(), '', null, '');
551
+insert into sys_menu values('1110', '资料修改', '14', '3', '#', '', '', 1, 0, 'F', '0', '0', 'oa:archive:edit',				'#', 'admin', sysdate(), '', null, '');
552
+insert into sys_menu values('1111', '资料删除', '14', '4', '#', '', '', 1, 0, 'F', '0', '0', 'oa:archive:remove',			'#', 'admin', sysdate(), '', null, '');
553
+insert into sys_menu values('1112', '资料导出', '14', '5', '#', '', '', 1, 0, 'F', '0', '0', 'oa:archive:export',			'#', 'admin', sysdate(), '', null, '');
539
 -- 设备记录按钮
554
 -- 设备记录按钮
540
-insert into sys_menu values('1103', '记录查询', '5', '3', '#', '', '', 1, 0, 'F', '0', '0', 'device:record:query',			'#', 'admin', sysdate(), '', null, '');
541
-insert into sys_menu values('1104', '记录新增', '5', '4', '#', '', '', 1, 0, 'F', '0', '0', 'device:record:add',			'#', 'admin', sysdate(), '', null, '');
542
-insert into sys_menu values('1105', '记录修改', '5', '5', '#', '', '', 1, 0, 'F', '0', '0', 'device:record:edit',			'#', 'admin', sysdate(), '', null, '');
543
-insert into sys_menu values('1106', '记录删除', '5', '6', '#', '', '', 1, 0, 'F', '0', '0', 'device:record:remove',			'#', 'admin', sysdate(), '', null, '');
544
-insert into sys_menu values('1107', '记录导出', '5', '7', '#', '', '', 1, 0, 'F', '0', '0', 'device:record:export',			'#', 'admin', sysdate(), '', null, '');
555
+insert into sys_menu values('1113', '记录查询', '5', '3', '#', '', '', 1, 0, 'F', '0', '0', 'device:record:query',			'#', 'admin', sysdate(), '', null, '');
556
+insert into sys_menu values('1114', '记录新增', '5', '4', '#', '', '', 1, 0, 'F', '0', '0', 'device:record:add',			'#', 'admin', sysdate(), '', null, '');
557
+insert into sys_menu values('1115', '记录修改', '5', '5', '#', '', '', 1, 0, 'F', '0', '0', 'device:record:edit',			'#', 'admin', sysdate(), '', null, '');
558
+insert into sys_menu values('1116', '记录删除', '5', '6', '#', '', '', 1, 0, 'F', '0', '0', 'device:record:remove',			'#', 'admin', sysdate(), '', null, '');
559
+insert into sys_menu values('1117', '记录导出', '5', '7', '#', '', '', 1, 0, 'F', '0', '0', 'device:record:export',			'#', 'admin', sysdate(), '', null, '');
545
 -- 车辆记录按钮
560
 -- 车辆记录按钮
546
-insert into sys_menu values('1108', '记录查询', '6', '6', '#', '', '', 1, 0, 'F', '0', '0', 'car:record:query',				'#', 'admin', sysdate(), '', null, '');
547
-insert into sys_menu values('1109', '记录新增', '6', '7', '#', '', '', 1, 0, 'F', '0', '0', 'car:record:add',				'#', 'admin', sysdate(), '', null, '');
548
-insert into sys_menu values('1110', '记录修改', '6', '8', '#', '', '', 1, 0, 'F', '0', '0', 'car:record:edit',				'#', 'admin', sysdate(), '', null, '');
549
-insert into sys_menu values('1111', '记录删除', '6', '9', '#', '', '', 1, 0, 'F', '0', '0', 'car:record:remove',			'#', 'admin', sysdate(), '', null, '');
550
-insert into sys_menu values('1112', '记录导出', '6', '10', '#', '', '', 1, 0, 'F', '0', '0', 'car:record:export',			'#', 'admin', sysdate(), '', null, '');
561
+insert into sys_menu values('1118', '记录查询', '6', '6', '#', '', '', 1, 0, 'F', '0', '0', 'car:record:query',				'#', 'admin', sysdate(), '', null, '');
562
+insert into sys_menu values('1119', '记录新增', '6', '7', '#', '', '', 1, 0, 'F', '0', '0', 'car:record:add',				'#', 'admin', sysdate(), '', null, '');
563
+insert into sys_menu values('1120', '记录修改', '6', '8', '#', '', '', 1, 0, 'F', '0', '0', 'car:record:edit',				'#', 'admin', sysdate(), '', null, '');
564
+insert into sys_menu values('1121', '记录删除', '6', '9', '#', '', '', 1, 0, 'F', '0', '0', 'car:record:remove',			'#', 'admin', sysdate(), '', null, '');
565
+insert into sys_menu values('1122', '记录导出', '6', '10', '#', '', '', 1, 0, 'F', '0', '0', 'car:record:export',			'#', 'admin', sysdate(), '', null, '');
551
 
566
 
552
 -- ----------------------------
567
 -- ----------------------------
553
 -- 6、用户和角色关联表  用户N-1角色
568
 -- 6、用户和角色关联表  用户N-1角色
608
 insert into `sys_user_role` values (22, 2);
622
 insert into `sys_user_role` values (22, 2);
609
 insert into `sys_user_role` values (22, 8);
623
 insert into `sys_user_role` values (22, 8);
610
 insert into `sys_user_role` values (23, 2);
624
 insert into `sys_user_role` values (23, 2);
611
-insert into `sys_user_role` values (23, 8);
612
 insert into `sys_user_role` values (24, 2);
625
 insert into `sys_user_role` values (24, 2);
613
-insert into `sys_user_role` values (24, 8);
614
 insert into `sys_user_role` values (25, 2);
626
 insert into `sys_user_role` values (25, 2);
615
-insert into `sys_user_role` values (25, 8);
616
 insert into `sys_user_role` values (26, 2);
627
 insert into `sys_user_role` values (26, 2);
617
-insert into `sys_user_role` values (26, 8);
618
 insert into `sys_user_role` values (27, 2);
628
 insert into `sys_user_role` values (27, 2);
619
-insert into `sys_user_role` values (27, 8);
620
 insert into `sys_user_role` values (28, 2);
629
 insert into `sys_user_role` values (28, 2);
621
-insert into `sys_user_role` values (28, 8);
622
 insert into `sys_user_role` values (29, 2);
630
 insert into `sys_user_role` values (29, 2);
623
 insert into `sys_user_role` values (30, 2);
631
 insert into `sys_user_role` values (30, 2);
624
 insert into `sys_user_role` values (31, 2);
632
 insert into `sys_user_role` values (31, 2);
625
 insert into `sys_user_role` values (32, 2);
633
 insert into `sys_user_role` values (32, 2);
626
 insert into `sys_user_role` values (33, 2);
634
 insert into `sys_user_role` values (33, 2);
627
 insert into `sys_user_role` values (34, 2);
635
 insert into `sys_user_role` values (34, 2);
636
+insert into `sys_user_role` values (34, 9);
628
 insert into `sys_user_role` values (35, 2);
637
 insert into `sys_user_role` values (35, 2);
629
 insert into `sys_user_role` values (36, 2);
638
 insert into `sys_user_role` values (36, 2);
630
 insert into `sys_user_role` values (37, 2);
639
 insert into `sys_user_role` values (37, 2);
840
 insert into `sys_role_menu` values (7, 2033);
849
 insert into `sys_role_menu` values (7, 2033);
841
 insert into `sys_role_menu` values (8, 7);
850
 insert into `sys_role_menu` values (8, 7);
842
 insert into `sys_role_menu` values (8, 8);
851
 insert into `sys_role_menu` values (8, 8);
852
+insert into `sys_role_menu` values (8, 9);
843
 insert into `sys_role_menu` values (8, 13);
853
 insert into `sys_role_menu` values (8, 13);
844
 insert into `sys_role_menu` values (8, 1073);
854
 insert into `sys_role_menu` values (8, 1073);
845
 insert into `sys_role_menu` values (8, 1074);
855
 insert into `sys_role_menu` values (8, 1074);
1606
   project_leader		bigint					default null		comment '项目负责人',
1616
   project_leader		bigint					default null		comment '项目负责人',
1607
   is_finished			char(1)					default null		comment '项目状态(0进行中、1已结束)',
1617
   is_finished			char(1)					default null		comment '项目状态(0进行中、1已结束)',
1608
   project_source		char(1)					default null		comment '项目来源(0院内、1院外)',
1618
   project_source		char(1)					default null		comment '项目来源(0院内、1院外)',
1609
-  party_a				varchar(50)				default null		comment '甲方单位',
1619
+  party_a_id			char(50)				default null		comment '甲方单位',
1610
   contact_person		varchar(50)				default null		comment '联系人',
1620
   contact_person		varchar(50)				default null		comment '联系人',
1611
   telephone				char(50)				default null		comment '联系电话',
1621
   telephone				char(50)				default null		comment '联系电话',
1612
   project_type			varchar(20)				default null		comment '项目类型',
1622
   project_type			varchar(20)				default null		comment '项目类型',
6499
 create table `cmc_tender`  (
6509
 create table `cmc_tender`  (
6500
   `tender_id` 			char(19)  		not null 		comment '投标id(2024-001)',
6510
   `tender_id` 			char(19)  		not null 		comment '投标id(2024-001)',
6501
   `project_name` 		varchar(50)  	default null 	comment '投标项目名称',
6511
   `project_name` 		varchar(50)  	default null 	comment '投标项目名称',
6502
-  `party_a` 			varchar(50)  	default null 	comment '招标业主',
6512
+  `party_a_id` 			char(19)  		default null 	comment '招标业主',
6503
   `a_person` 			varchar(50)  	default null 	comment '业主联系人',
6513
   `a_person` 			varchar(50)  	default null 	comment '业主联系人',
6504
   `a_phone` 			varchar(50)  	default null 	comment '业主联系电话',
6514
   `a_phone` 			varchar(50)  	default null 	comment '业主联系电话',
6505
   `agent` 				varchar(50)  	default null 	comment '招标代理',
6515
   `agent` 				varchar(50)  	default null 	comment '招标代理',
7290
   `sub_amount` 				decimal(10, 2) 	default null comment '分包合同金额',
7300
   `sub_amount` 				decimal(10, 2) 	default null comment '分包合同金额',
7291
   `partner_id` 				char(19) 		default null comment '承接单位id',
7301
   `partner_id` 				char(19) 		default null comment '承接单位id',
7292
   `contact_person` 			varchar(20)  	default null comment '承接单位联系人',
7302
   `contact_person` 			varchar(20)  	default null comment '承接单位联系人',
7303
+  `telephone` 				varchar(20)  	default null comment '承接单位联系电话',
7293
   `drafter` 				bigint			default null comment '拟稿人',
7304
   `drafter` 				bigint			default null comment '拟稿人',
7294
   `draft_time` 				date			default null comment '拟稿日期',
7305
   `draft_time` 				date			default null comment '拟稿日期',
7295
   `contract_document` 		varchar(255)  	default null comment '合同文件',
7306
   `contract_document` 		varchar(255)  	default null comment '合同文件',
7323
 -- ----------------------------
7334
 -- ----------------------------
7324
 
7335
 
7325
 -- ----------------------------
7336
 -- ----------------------------
7337
+-- 54、cmc业主单位表
7338
+-- ----------------------------
7339
+drop table if exists `cmc_party_a`;
7340
+create table `cmc_party_a`  (
7341
+  `party_a_id` 				char(19)   		not null	 comment '合作单位id',
7342
+  `party_a_name` 			varchar(50)  	default null comment '单位名称',
7343
+  primary key (`party_a_id`)
7344
+) engine = innodb comment = 'cmc业主单位表';
7345
+
7346
+-- ----------------------------
7347
+-- 初始化-业主单位表数据
7348
+-- ----------------------------
7349
+insert into `cmc_party_a` values ('1', '巴中市国资运营集团建设工程有限公司');
7350
+insert into `cmc_party_a` values ('2', '北京中咨路捷工程技术咨询有限公司');
7351
+insert into `cmc_party_a` values ('3', '苍溪县发展和改革局');
7352
+insert into `cmc_party_a` values ('4', '成都诚道交通科技研发有限公司');
7353
+insert into `cmc_party_a` values ('5', '成都山海雨图科技有限公司');
7354
+insert into `cmc_party_a` values ('6', '成都市交通规划勘察设计研究院有限公司');
7355
+insert into `cmc_party_a` values ('7', '成都市金牛区人民政府西华街道办事处');
7356
+insert into `cmc_party_a` values ('8', '成都市青白江区规划和自然资源局');
7357
+insert into `cmc_party_a` values ('9', '成都市兴城投资集团有限公司');
7358
+insert into `cmc_party_a` values ('10', '成都市兴光华城市建设有限公司');
7359
+insert into `cmc_party_a` values ('11', '重庆情旅侠乡村旅游有限公司');
7360
+insert into `cmc_party_a` values ('12', '重庆市勘测院');
7361
+insert into `cmc_party_a` values ('13', '大唐观音岩水电开发有限公司');
7362
+insert into `cmc_party_a` values ('14', '大邑县自然资源和规划局');
7363
+insert into `cmc_party_a` values ('15', '都江堰市规划和自然资源局');
7364
+insert into `cmc_party_a` values ('16', '二滩水电开发有限责任公司');
7365
+insert into `cmc_party_a` values ('17', '广东联合金地不动产评估勘测设计有限公司');
7366
+insert into `cmc_party_a` values ('18', '广元市自然资源局昭化区分局');
7367
+insert into `cmc_party_a` values ('19', '贵阳市测绘院');
7368
+insert into `cmc_party_a` values ('20', '贵州初子午线工程测绘有限公司');
7369
+insert into `cmc_party_a` values ('21', '国电大渡河双江口工程建设管理分公司');
7370
+insert into `cmc_party_a` values ('22', '国能大渡河猴子岩发电有限公司(原国电大渡河猴子岩水电建设有限公司)');
7371
+insert into `cmc_party_a` values ('23', '国能大渡河金川水电建设有限公司(原国电大渡河金川水电建设有限公司)');
7372
+insert into `cmc_party_a` values ('24', '国能四川阿水电力开发有限公司(原国电四川阿水电力开发有限公司)');
7373
+insert into `cmc_party_a` values ('25', '国网西藏电力有限公司拉萨发电公司');
7374
+insert into `cmc_party_a` values ('26', '国网西藏电力有限公司那曲供电公司');
7375
+insert into `cmc_party_a` values ('27', '国网羊湖发电公司');
7376
+insert into `cmc_party_a` values ('28', '黄河勘测规划设计研究院有限公司');
7377
+insert into `cmc_party_a` values ('29', '简阳市规划和自然资源局');
7378
+insert into `cmc_party_a` values ('30', '理塘县河源水电开发有限公司');
7379
+insert into `cmc_party_a` values ('31', '两河口建设管理局');
7380
+insert into `cmc_party_a` values ('32', '邻水县国土资源局');
7381
+insert into `cmc_party_a` values ('33', '邻水县农业农村局(原邻水县农业局)');
7382
+insert into `cmc_party_a` values ('34', '邻水县水务局');
7383
+insert into `cmc_party_a` values ('35', '邻水县自然资源和规划局');
7384
+insert into `cmc_party_a` values ('36', '泸定县昌源电力开发有限公司');
7385
+insert into `cmc_party_a` values ('37', '泸定县祥智电能有限公司');
7386
+insert into `cmc_party_a` values ('38', '泸县自然资源和规划局');
7387
+insert into `cmc_party_a` values ('39', '绵竹市金申文化旅游开发有限公司');
7388
+insert into `cmc_party_a` values ('40', '沐川县自然资源局');
7389
+insert into `cmc_party_a` values ('41', '南充市高坪区自然资源和规划局');
7390
+insert into `cmc_party_a` values ('42', '蓬安县自然资源和规划局');
7391
+insert into `cmc_party_a` values ('43', '青神金弘能源投资开发有限公司');
7392
+insert into `cmc_party_a` values ('44', '青神县砂石管理办公室');
7393
+insert into `cmc_party_a` values ('45', '乳源瑶族自治县安之源建设有限公司');
7394
+insert into `cmc_party_a` values ('46', '三峡金沙江川云水电开发有限公司永善溪洛渡电厂');
7395
+insert into `cmc_party_a` values ('47', '石棉县坤鑫文化旅游发展有限公司');
7396
+insert into `cmc_party_a` values ('48', '石棉县水利局');
7397
+insert into `cmc_party_a` values ('49', '石棉县星空旅游开发有限责任公司');
7398
+insert into `cmc_party_a` values ('50', '四川大渡河双江口水电开发有限公司');
7399
+insert into `cmc_party_a` values ('51', '四川华能太平驿水电有限责任公司');
7400
+insert into `cmc_party_a` values ('52', '四川嘉陵江桐子壕航电开发有限公司');
7401
+insert into `cmc_party_a` values ('53', '四川省水利水电勘测设计研究院测绘分院');
7402
+insert into `cmc_party_a` values ('54', '四川省雅安市名山区前进乡人民政府');
7403
+insert into `cmc_party_a` values ('55', '四川省冶金地质勘查局成都地质调查所');
7404
+insert into `cmc_party_a` values ('56', '四川天府新区眉山管理委员会自然资源局');
7405
+insert into `cmc_party_a` values ('57', '四川添禾农业投资有限公司');
7406
+insert into `cmc_party_a` values ('58', '四川铁能电力开发有限公司');
7407
+insert into `cmc_party_a` values ('59', '四川中水成勘院物探工程有限责任公司');
7408
+insert into `cmc_party_a` values ('60', '四川中水德方(成都)工程勘察设计有限公司');
7409
+insert into `cmc_party_a` values ('61', '四川足木足河流域水电开发有限公司');
7410
+insert into `cmc_party_a` values ('62', '西安路街道办事处');
7411
+insert into `cmc_party_a` values ('63', '西藏自治区地质矿产勘查开发局第五地质大队');
7412
+insert into `cmc_party_a` values ('64', '雅安市名山区水利局');
7413
+insert into `cmc_party_a` values ('65', '雅砻江流域水电开发有限公司');
7414
+insert into `cmc_party_a` values ('66', '雅砻江水电甘孜有限公司');
7415
+insert into `cmc_party_a` values ('67', '雅砻江水电攀枝花桐子林有限公司');
7416
+insert into `cmc_party_a` values ('68', '盐源县自然资源局');
7417
+insert into `cmc_party_a` values ('69', '冶勘设计集团');
7418
+insert into `cmc_party_a` values ('70', '仪陇县自然资源和规划局');
7419
+insert into `cmc_party_a` values ('71', '云南省交通投资建设集团有限公司');
7420
+insert into `cmc_party_a` values ('72', '浙江华东测绘地理信息有限公司');
7421
+insert into `cmc_party_a` values ('73', '浙江华东测绘与工程安全技术有限公司');
7422
+insert into `cmc_party_a` values ('74', '浙江宁海抽水蓄能有限公司');
7423
+insert into `cmc_party_a` values ('75', '中国电建集团北京勘测设计研究院有限公司');
7424
+insert into `cmc_party_a` values ('76', '中国电建集团北京勘测设计研究院有限公司(两河口移民工程总承包项目部)');
7425
+insert into `cmc_party_a` values ('77', '中国电建集团成都勘测设计研究院有限公司');
7426
+insert into `cmc_party_a` values ('78', '中国电建集团成都勘测设计研究院有限公司(城乡发展工程分公司)');
7427
+insert into `cmc_party_a` values ('79', '中国电建集团成都勘测设计研究院有限公司(基础设施分公司)');
7428
+insert into `cmc_party_a` values ('80', '中国电建集团成都勘测设计研究院有限公司(建设管理部)');
7429
+insert into `cmc_party_a` values ('81', '中国电建集团成都勘测设计研究院有限公司(勘测设计分公司)');
7430
+insert into `cmc_party_a` values ('82', '中国电建集团成都勘测设计研究院有限公司(两河口移民工程总承包项目部)');
7431
+insert into `cmc_party_a` values ('83', '中国电建集团成都勘测设计研究院有限公司(生态环保工程分公司)');
7432
+insert into `cmc_party_a` values ('84', '中国电建集团成都勘测设计研究院有限公司(数字工程分公司)');
7433
+insert into `cmc_party_a` values ('85', '中国电建集团成都勘测设计研究院有限公司(水环境与城建工程分公司)');
7434
+insert into `cmc_party_a` values ('86', '中国电建集团成都勘测设计研究院有限公司(西藏电建成勘院工程有限公司)');
7435
+insert into `cmc_party_a` values ('87', '中国电建集团成都勘测设计研究院有限公司(新能源工程分公司)');
7436
+insert into `cmc_party_a` values ('88', '中国电建集团华东勘测设计研究院有限公司');
7437
+insert into `cmc_party_a` values ('89', '中国电建集团昆明勘测设计研究院有限公司');
7438
+insert into `cmc_party_a` values ('90', '中国电建集团中南勘测设计研究院有限公司');
7439
+insert into `cmc_party_a` values ('91', '中国电力工程顾问集团新能源有限公司');
7440
+insert into `cmc_party_a` values ('92', '中国华电科工集团广安项目部');
7441
+insert into `cmc_party_a` values ('93', '中国华西工程设计建设有限公司');
7442
+insert into `cmc_party_a` values ('94', '中国建筑西南勘察设计研究院有限公司');
7443
+insert into `cmc_party_a` values ('95', '中水成勘院(云南)建设发展有限公司');
7444
+insert into `cmc_party_a` values ('96', '中铁八局');
7445
+insert into `cmc_party_a` values ('97', '自贡市沿滩新城区管理委员会');
7446
+insert into `cmc_party_a` values ('98', '自然资源部第七地形测量队');
7447
+
7448
+-- ----------------------------
7449
+-- 55、cmc合作单位表
7326
 -- ----------------------------
7450
 -- ----------------------------
7327
 drop table if exists `cmc_partner`;
7451
 drop table if exists `cmc_partner`;
7328
 create table `cmc_partner`  (
7452
 create table `cmc_partner`  (
7344
 -- ----------------------------
7467
 -- ----------------------------
7345
 -- 初始化-合作单位表数据
7468
 -- 初始化-合作单位表数据
7346
 -- ----------------------------
7469
 -- ----------------------------
7347
-
7348
-insert into `cmc_partner` values ('1', '成都北斗天地科技有限公司', null, null, null, null, null, null, null, null, null);
7349
-insert into `cmc_partner` values ('2', '四川省南方测绘公司', '王建', null, null, null, null, null, null, null, null);
7350
-insert into `cmc_partner` values ('3', '四川星辰测绘仪器有限公司', null, null, null, null, null, null, null, null, null);
7351
-insert into `cmc_partner` values ('4', '成都引泰丰元科技有限公司', null, null, null, null, null, null, null, null, null);
7352
-insert into `cmc_partner` values ('5', '四川蜀地勘测规划服务有限公司', '孙亚东', null, null, null, null, null, null, null, null);
7353
-insert into `cmc_partner` values ('6', '四川皓土测绘有限公司', '钟一兵', null, null, null, null, null, null, null, null);
7354
-insert into `cmc_partner` values ('7', '成都华兴拓图空间信息科技有限公司', null, null, null, null, null, null, null, null, null);
7355
-insert into `cmc_partner` values ('8', '成都六合四游遥感技术有限公司', '赵静', null, null, null, null, null, null, null, null);
7356
-insert into `cmc_partner` values ('9', '四川缘启科技有限公司', '杜凤', null, null, null, null, null, null, null, null);
7357
-insert into `cmc_partner` values ('10', '长江空间信息技术工程有限公司(武汉)', null, null, null, null, null, null, null, null, null);
7358
-insert into `cmc_partner` values ('11', '四川宇登工程勘测设计有限公司', '沈燕', null, null, null, null, null, null, null, null);
7359
-insert into `cmc_partner` values ('12', '北京东方志远科技股份有限公司', '王大伟', null, null, null, null, null, null, null, null);
7360
-insert into `cmc_partner` values ('13', '四川精灵轨测绘技术有限公司', '张念', null, null, null, null, null, null, null, null);
7361
-insert into `cmc_partner` values ('14', '德阳蜀科地质勘查有限公司', null, null, null, null, null, null, null, null, null);
7362
-insert into `cmc_partner` values ('15', '四川世纪运德管道工程服务有限公司', '贾春华', null, null, null, null, null, null, null, null);
7363
-insert into `cmc_partner` values ('16', '四川雅州检测有限公司', null, null, null, null, null, null, null, null, null);
7364
-insert into `cmc_partner` values ('17', '重庆光大网络技术有限公司', '陈洪', null, null, null, null, null, null, null, null);
7365
-insert into `cmc_partner` values ('18', '重庆市万达网际信息有限责任公司', '王羽', null, null, null, null, null, null, null, null);
7366
-insert into `cmc_partner` values ('19', '成都永鑫科技有限责任公司', '王薇', null, null, null, null, null, null, null, null);
7367
-insert into `cmc_partner` values ('20', '四川瑞图地信科技有限公司', '朱静', null, null, null, null, null, null, null, null);
7368
-insert into `cmc_partner` values ('21', '广州航遥信息科技有限公司', null, null, null, null, null, null, null, null, null);
7369
-insert into `cmc_partner` values ('22', '四川诚挚远劳务有限公司', null, null, null, null, null, null, null, null, null);
7370
-insert into `cmc_partner` values ('23', '四川御风行航空科技有限公司', '舒利 18583968336', null, null, null, null, null, null, null, null);
7371
-insert into `cmc_partner` values ('24', '成都北斗华测导航技术有限公司', null, null, null, null, null, null, null, null, null);
7372
-insert into `cmc_partner` values ('25', '二十一世纪空间技术应用股份有限公司', '杨卫', null, null, null, null, null, null, null, null);
7373
-insert into `cmc_partner` values ('26', '四川鹏誉地信科技有限公司', '吴伟', null, null, null, null, null, null, null, null);
7374
-insert into `cmc_partner` values ('27', '自然资源部第三地理信息制图院', '陈绍国 13980859212', null, null, null, null, null, null, null, null);
7375
-insert into `cmc_partner` values ('28', '山东欣亚通用航空有限公司', '胡家玲', null, null, null, null, null, null, null, null);
7376
-insert into `cmc_partner` values ('29', '四川浩航慧图勘测规划设计有限公司', null, null, null, null, null, null, null, null, null);
7377
-insert into `cmc_partner` values ('30', '成都中地时空科技有限公司', '胥执刚 15828697142', null, null, null, null, null, null, null, null);
7378
-insert into `cmc_partner` values ('31', '广州南方测绘科技股份有限公司成都分公司', '王茂羽 13980067269', null, null, null, null, null, null, null, null);
7379
-insert into `cmc_partner` values ('32', '四川中规华投建设工程有限公司', null, null, null, null, null, null, null, null, null);
7380
-insert into `cmc_partner` values ('33', '广州建通测绘地理信息技术股份有限公司', null, null, null, null, null, null, null, null, null);
7381
-insert into `cmc_partner` values ('34', '四川中水成勘院工程物探检测有限公司', '王羿磊', null, null, null, null, null, null, null, null);
7382
-insert into `cmc_partner` values ('35', '九江地质工程勘察院', null, null, null, null, null, null, null, null, null);
7383
-insert into `cmc_partner` values ('36', '四川新欣力测绘地理信息有限公司', null, null, null, null, null, null, null, null, null);
7384
-insert into `cmc_partner` values ('37', '四川涪圣工程设计咨询有限公司', '蒲春国', null, null, null, null, null, null, null, null);
7385
-insert into `cmc_partner` values ('38', '云南省遥感中心', '刘朝海 15812116818', null, null, null, null, null, null, null, null);
7386
-insert into `cmc_partner` values ('39', '成都经纬空间科技有限公司', '尚进', null, null, null, null, null, null, null, null);
7387
-insert into `cmc_partner` values ('40', '四川辰吉信息科技有限公司', null, null, null, null, null, null, null, null, null);
7388
-insert into `cmc_partner` values ('41', ' 成都林辉测绘服务有限公司  ', null, null, null, null, null, null, null, null, null);
7389
-insert into `cmc_partner` values ('42', '宜宾湛益工程勘察设计有限公司', null, null, null, null, null, null, null, null, null);
7390
-insert into `cmc_partner` values ('43', '四川智绘地理信息科技有限公司', null, null, null, null, null, null, null, null, null);
7391
-insert into `cmc_partner` values ('44', '宜宾文嘉林业科技服务有限公司    ', null, null, null, null, null, null, null, null, null);
7470
+insert into `cmc_partner` values ('1', '北京东方志远科技股份有限公司', '王大伟', null, null, null, null, null, null, null, null);
7471
+insert into `cmc_partner` values ('2', '北京航天世景信息技术有限公司', null, null, null, null, null, null, null, null, null);
7472
+insert into `cmc_partner` values ('3', '北京华遥星宇科技有限公司', null, null, null, null, null, null, null, null, null);
7473
+insert into `cmc_partner` values ('4', '北京天目创新科技有限公司', null, null, null, null, null, null, null, null, null);
7474
+insert into `cmc_partner` values ('5', '成都北斗华测导航技术有限公司', null, null, null, null, null, null, null, null, null);
7475
+insert into `cmc_partner` values ('6', '成都北斗天地科技有限公司', null, null, null, null, null, null, null, null, null);
7476
+insert into `cmc_partner` values ('7', '成都点云时空科技有限公司', null, null, null, null, null, null, null, null, null);
7477
+insert into `cmc_partner` values ('8', '成都发启岩土工程勘察设计有限公司', null, null, null, null, null, null, null, null, null);
7478
+insert into `cmc_partner` values ('9', '成都光大测绘咨询有限公司', null, null, null, null, null, null, null, null, null);
7479
+insert into `cmc_partner` values ('10', '成都华兴拓图空间信息科技有限公司', null, null, null, null, null, null, null, null, null);
7480
+insert into `cmc_partner` values ('11', '成都绘成测绘有限公司', null, null, null, null, null, null, null, null, null);
7481
+insert into `cmc_partner` values ('12', '成都经纬空间科技有限公司', '尚进', null, null, null, null, null, null, null, null);
7482
+insert into `cmc_partner` values ('13', '成都林辉测绘服务有限公司', null, null, null, null, null, null, null, null, null);
7483
+insert into `cmc_partner` values ('14', '成都六合四游遥感技术有限公司', '赵静', null, null, null, null, null, null, null, null);
7484
+insert into `cmc_partner` values ('15', '成都木乘科技有限公司', null, null, null, null, null, null, null, null, null);
7485
+insert into `cmc_partner` values ('16', '成都木尔科技有限公司', null, null, null, null, null, null, null, null, null);
7486
+insert into `cmc_partner` values ('17', '成都三维云景科技发展有限公司', null, null, null, null, null, null, null, null, null);
7487
+insert into `cmc_partner` values ('18', '成都市宏锦图文科技有限公司', null, null, null, null, null, null, null, null, null);
7488
+insert into `cmc_partner` values ('19', '成都田冶测绘有限公司', null, null, null, null, null, null, null, null, null);
7489
+insert into `cmc_partner` values ('20', '成都鑫禾新建筑工程有限公司', null, null, null, null, null, null, null, null, null);
7490
+insert into `cmc_partner` values ('21', '成都引泰丰元科技有限公司', null, null, null, null, null, null, null, null, null);
7491
+insert into `cmc_partner` values ('22', '成都英创思科技有限公司', null, null, null, null, null, null, null, null, null);
7492
+insert into `cmc_partner` values ('23', '成都永杰测绘技术服务有限公司', null, null, null, null, null, null, null, null, null);
7493
+insert into `cmc_partner` values ('24', '成都永鑫科技有限责任公司', '王薇', null, null, null, null, null, null, null, null);
7494
+insert into `cmc_partner` values ('25', '成都志诚致远科技有限公司', null, null, null, null, null, null, null, null, null);
7495
+insert into `cmc_partner` values ('26', '成都中程测绘有限公司', null, null, null, null, null, null, null, null, null);
7496
+insert into `cmc_partner` values ('27', '成都中地时空科技有限公司', '胥执刚', '15828697142', null, null, null, null, null, null, null);
7497
+insert into `cmc_partner` values ('28', '重庆曾爽文化传播有限公司', null, null, null, null, null, null, null, null, null);
7498
+insert into `cmc_partner` values ('29', '重庆光大网络技术有限公司', '陈洪', null, null, null, null, null, null, null, null);
7499
+insert into `cmc_partner` values ('30', '重庆厚耀信息技术服务中心', null, null, null, null, null, null, null, null, null);
7500
+insert into `cmc_partner` values ('31', '重庆市万达网际信息有限责任公司', '王羽', null, null, null, null, null, null, null, null);
7501
+insert into `cmc_partner` values ('32', '德阳蜀科地质勘查有限公司', null, null, null, null, null, null, null, null, null);
7502
+insert into `cmc_partner` values ('33', '二十一世纪空间技术应用股份有限公司', '杨卫', null, null, null, null, null, null, null, null);
7503
+insert into `cmc_partner` values ('34', '佛山市中诚建筑工程测绘检测有限公司', null, null, null, null, null, null, null, null, null);
7504
+insert into `cmc_partner` values ('35', '广州航遥信息科技有限公司', null, null, null, null, null, null, null, null, null);
7505
+insert into `cmc_partner` values ('36', '广州建通测绘地理信息技术股份有限公司', null, null, null, null, null, null, null, null, null);
7506
+insert into `cmc_partner` values ('37', '广州南方测绘科技股份有限公司成都分公司', '王茂羽', '13980067269', null, null, null, null, null, null, null);
7507
+insert into `cmc_partner` values ('38', '河北晨枫地理信息技术有限公司', null, null, null, null, null, null, null, null, null);
7508
+insert into `cmc_partner` values ('39', '核工业北京地质研究院', null, null, null, null, null, null, null, null, null);
7509
+insert into `cmc_partner` values ('40', '湖北朝俊测绘有限公司', null, null, null, null, null, null, null, null, null);
7510
+insert into `cmc_partner` values ('41', '湖北朝骏测绘有限公司', null, null, null, null, null, null, null, null, null);
7511
+insert into `cmc_partner` values ('42', '黄河水利委员会上游水文水资源局', null, null, null, null, null, null, null, null, null);
7512
+insert into `cmc_partner` values ('43', '江西环绕科技服务有限公司', null, null, null, null, null, null, null, null, null);
7513
+insert into `cmc_partner` values ('44', '九江地质工程勘察院', null, null, null, null, null, null, null, null, null);
7392
 insert into `cmc_partner` values ('45', '凉山州恒信测绘有限责任公司', null, null, null, null, null, null, null, null, null);
7514
 insert into `cmc_partner` values ('45', '凉山州恒信测绘有限责任公司', null, null, null, null, null, null, null, null, null);
7393
-insert into `cmc_partner` values ('46', '成都林辉测绘服务有限公司', null, null, null, null, null, null, null, null, null);
7394
-insert into `cmc_partner` values ('47', ' 成都中程测绘有限公司', null, null, null, null, null, null, null, null, null);
7395
-insert into `cmc_partner` values ('48', '成都绘成测绘有限公司', null, null, null, null, null, null, null, null, null);
7396
-insert into `cmc_partner` values ('49', '四川天跃智创科技有限公司', null, null, null, null, null, null, null, null, null);
7397
-insert into `cmc_partner` values ('50', '四川永鸿测绘有限公司', '夏时顺', null, null, null, null, null, null, null, null);
7398
-insert into `cmc_partner` values ('51', '中煤科工集团重庆研究院有限公司', '杨金虎13657678783', null, null, null, null, null, null, null, null);
7399
-insert into `cmc_partner` values ('52', '成都中程测绘有限公司', null, null, null, null, null, null, null, null, null);
7400
-insert into `cmc_partner` values ('53', '成都英创思科技有限公司', null, null, null, null, null, null, null, null, null);
7401
-insert into `cmc_partner` values ('54', ' 四川皓土测绘有限公司 ', null, null, null, null, null, null, null, null, null);
7402
-insert into `cmc_partner` values ('55', '四川蓝盾科技有限公司', null, null, null, null, null, null, null, null, null);
7403
-insert into `cmc_partner` values ('56', '四川众茂测绘有限公司 ', null, null, null, null, null, null, null, null, null);
7404
-insert into `cmc_partner` values ('57', '四川慧源鹏程工程设计有限公司', null, null, null, null, null, null, null, null, null);
7405
-insert into `cmc_partner` values ('58', '深圳市邦茨空间设计有限公司 ', null, null, null, null, null, null, null, null, null);
7406
-insert into `cmc_partner` values ('59', '四川汉盛源科技有限公司', null, null, null, null, null, null, null, null, null);
7407
-insert into `cmc_partner` values ('60', '中水德方(成都)工程勘察设计有限公司', '黄梅琳', null, null, null, null, null, null, null, null);
7408
-insert into `cmc_partner` values ('61', '四川天辰空间信息技术有限公司', null, null, null, null, null, null, null, null, null);
7409
-insert into `cmc_partner` values ('62', '四川大圣智云科技有限公司', null, null, null, null, null, null, null, null, null);
7410
-insert into `cmc_partner` values ('63', '中水成勘院(云南)建设发展有限公司', null, null, null, null, null, null, null, null, null);
7411
-insert into `cmc_partner` values ('64', '四川蜀都善匠科技有限公司', null, null, null, null, null, null, null, null, null);
7412
-insert into `cmc_partner` values ('65', ' 四川世纪运德管道工程服务有限公司 ', null, null, null, null, null, null, null, null, null);
7413
-insert into `cmc_partner` values ('66', '浙江华东测绘地理信息有限公司', null, null, null, null, null, null, null, null, null);
7414
-insert into `cmc_partner` values ('67', '佛山市中诚建筑工程测绘检测有限公司', null, null, null, null, null, null, null, null, null);
7415
-insert into `cmc_partner` values ('68', '中国电建集团西北勘测设计研究院有限公司', null, null, null, null, null, null, null, null, null);
7416
-insert into `cmc_partner` values ('69', '成都三维云景科技发展有限公司', null, null, null, null, null, null, null, null, null);
7417
-insert into `cmc_partner` values ('70', '四川铁拓科技有限公司', null, null, null, null, null, null, null, null, null);
7418
-insert into `cmc_partner` values ('71', '四川辰吉信息科技有限公司 ', null, null, null, null, null, null, null, null, null);
7419
-insert into `cmc_partner` values ('72', '四川泰恒中勘察设计有限公司', null, null, null, null, null, null, null, null, null);
7420
-insert into `cmc_partner` values ('73', '四川长品科技有限公司', null, null, null, null, null, null, null, null, null);
7421
-insert into `cmc_partner` values ('74', '四川瓴昕工程管理有限公司 ', null, null, null, null, null, null, null, null, null);
7422
-insert into `cmc_partner` values ('75', '佛山市中诚建筑工程测绘检测有限公司 ', null, null, null, null, null, null, null, null, null);
7423
-insert into `cmc_partner` values ('76', '四川云地信息技术有限公司  ', null, null, null, null, null, null, null, null, null);
7424
-insert into `cmc_partner` values ('77', '北京天目创新科技有限公司 ', null, null, null, null, null, null, null, null, null);
7425
-insert into `cmc_partner` values ('78', '四川中正宏图信息技术有限公司 ', null, null, null, null, null, null, null, null, null);
7426
-insert into `cmc_partner` values ('79', '四川仪坤测绘有限公司', null, null, null, null, null, null, null, null, null);
7427
-insert into `cmc_partner` values ('80', '湖北朝骏测绘有限公司', null, null, null, null, null, null, null, null, null);
7428
-insert into `cmc_partner` values ('81', '江西环绕科技服务有限公司', null, null, null, null, null, null, null, null, null);
7429
-insert into `cmc_partner` values ('82', '四川皓土测绘有限公司 ', null, null, null, null, null, null, null, null, null);
7430
-insert into `cmc_partner` values ('83', '成都市宏锦图文科技有限公司', null, null, null, null, null, null, null, null, null);
7431
-insert into `cmc_partner` values ('84', '四川世纪鸿图测绘有限公司 ', null, null, null, null, null, null, null, null, null);
7432
-insert into `cmc_partner` values ('85', '四川九凌工程勘察设计有限公司', null, null, null, null, null, null, null, null, null);
7433
-insert into `cmc_partner` values ('86', '湖北朝俊测绘有限公司', null, null, null, null, null, null, null, null, null);
7434
-insert into `cmc_partner` values ('87', '核工业北京地质研究院', null, null, null, null, null, null, null, null, null);
7435
-insert into `cmc_partner` values ('88', '四川泰恒中勘察测绘有限公司', null, null, null, null, null, null, null, null, null);
7436
-insert into `cmc_partner` values ('89', '中城航遥(北京)信息工程有限公司  ', null, null, null, null, null, null, null, null, null);
7437
-insert into `cmc_partner` values ('90', '成都田冶测绘有限公司', null, null, null, null, null, null, null, null, null);
7438
-insert into `cmc_partner` values ('91', '深圳市邦茨空间设计有限公司', null, null, null, null, null, null, null, null, null);
7439
-insert into `cmc_partner` values ('92', '成都发启岩土工程勘察设计有限公司', null, null, null, null, null, null, null, null, null);
7440
-insert into `cmc_partner` values ('93', '南充市宏扬钻探工程有限公司', null, null, null, null, null, null, null, null, null);
7441
-insert into `cmc_partner` values ('94', '四川国高工程项目管理有限公司', null, null, null, null, null, null, null, null, null);
7442
-insert into `cmc_partner` values ('95', '四川轩航九域信息技术有限公司', null, null, null, null, null, null, null, null, null);
7443
-insert into `cmc_partner` values ('96', '四川兴蜀工程勘察设计集团有限公司', null, null, null, null, null, null, null, null, null);
7444
-insert into `cmc_partner` values ('97', '四川磊茂工程技术服务有限公司', null, null, null, null, null, null, null, null, null);
7445
-insert into `cmc_partner` values ('98', '上海亚壕科技有限公司', null, null, null, null, null, null, null, null, null);
7446
-insert into `cmc_partner` values ('99', '四川省地科环建检测技术有限公司  ', null, null, null, null, null, null, null, null, null);
7447
-insert into `cmc_partner` values ('100', '四川浩航慧图勘测规划设计有限公司 ', null, null, null, null, null, null, null, null, null);
7448
-insert into `cmc_partner` values ('101', '成都永杰测绘技术服务有限公司', null, null, null, null, null, null, null, null, null);
7449
-insert into `cmc_partner` values ('102', '成都木尔科技有限公司', null, null, null, null, null, null, null, null, null);
7450
-insert into `cmc_partner` values ('103', '重庆厚耀信息技术服务中心', null, null, null, null, null, null, null, null, null);
7451
-insert into `cmc_partner` values ('104', '四川鼎硕测绘有限公司', null, null, null, null, null, null, null, null, null);
7452
-insert into `cmc_partner` values ('105', '黄河水利委员会上游水文水资源局', null, null, null, null, null, null, null, null, null);
7453
-insert into `cmc_partner` values ('106', '四川瓴昕工程管理有限公司', null, null, null, null, null, null, null, null, null);
7454
-insert into `cmc_partner` values ('107', '重庆厚耀信息技术服务中心    ', null, null, null, null, null, null, null, null, null);
7455
-insert into `cmc_partner` values ('108', '成都光大测绘咨询有限公司', null, null, null, null, null, null, null, null, null);
7456
-insert into `cmc_partner` values ('109', '四川省科源工程技术测试中心有限责任公司 ', null, null, null, null, null, null, null, null, null);
7457
-insert into `cmc_partner` values ('110', '松辽众鼎工程设计集团有限公司', null, null, null, null, null, null, null, null, null);
7458
-insert into `cmc_partner` values ('111', '自然资源部四川测绘产品质量监督检验站', null, null, null, null, null, null, null, null, null);
7459
-insert into `cmc_partner` values ('112', '韶关市荣兴工程测绘有限责任公司', null, null, null, null, null, null, null, null, null);
7460
-insert into `cmc_partner` values ('113', '四川启盛信息科技有限公司', null, null, null, null, null, null, null, null, null);
7461
-insert into `cmc_partner` values ('114', '四川中科晟图信息技术有限公司', null, null, null, null, null, null, null, null, null);
7462
-insert into `cmc_partner` values ('115', '四川成都西米宏成测绘有限公司 ', null, null, null, null, null, null, null, null, null);
7463
-insert into `cmc_partner` values ('116', '成都志诚致远科技有限公司 ', null, null, null, null, null, null, null, null, null);
7464
-insert into `cmc_partner` values ('117', '北京华遥星宇科技有限公司 ', null, null, null, null, null, null, null, null, null);
7465
-insert into `cmc_partner` values ('118', '成都木乘科技有限公司', null, null, null, null, null, null, null, null, null);
7466
-insert into `cmc_partner` values ('119', '四川省测绘产品质量监督检验站 、 四川地信测绘计量检测有限公司  ', null, null, null, null, null, null, null, null, null);
7467
-insert into `cmc_partner` values ('120', '乌鲁木齐嘉时代测绘服务有限公司', null, null, null, null, null, null, null, null, null);
7468
-insert into `cmc_partner` values ('121', '南方(北京)遥感科技有限公司 ', null, null, null, null, null, null, null, null, null);
7469
-insert into `cmc_partner` values ('122', '重庆曾爽文化传播有限公司', null, null, null, null, null, null, null, null, null);
7470
-insert into `cmc_partner` values ('123', '四川森旺规划设计有限公司', null, null, null, null, null, null, null, null, null);
7471
-insert into `cmc_partner` values ('124', '北京航天世景信息技术有限公司', null, null, null, null, null, null, null, null, null);
7472
-insert into `cmc_partner` values ('125', '河北晨枫地理信息技术有限公司', null, null, null, null, null, null, null, null, null);
7473
-insert into `cmc_partner` values ('126', '四川蜀鸿祥建筑工程有限公司', null, null, null, null, null, null, null, null, null);
7474
-insert into `cmc_partner` values ('127', '上海数喆数据科技有限公司', null, null, null, null, null, null, null, null, null);
7475
-insert into `cmc_partner` values ('128', '四川众茂测绘有限公司', null, null, null, null, null, null, null, null, null);
7476
-insert into `cmc_partner` values ('129', '武汉众诚数维信息技术有限公司', null, null, null, null, null, null, null, null, null);
7477
-insert into `cmc_partner` values ('130', ' 四川谦剑测绘有限公司', null, null, null, null, null, null, null, null, null);
7478
-insert into `cmc_partner` values ('131', '秀山县云鹏建筑劳务有限公司', null, null, null, null, null, null, null, null, null);
7479
-insert into `cmc_partner` values ('132', '成都点云时空科技有限公司', null, null, null, null, null, null, null, null, null);
7480
-insert into `cmc_partner` values ('133', '四川浙山建设工程有限公司', null, null, null, null, null, null, null, null, null);
7481
-insert into `cmc_partner` values ('134', '四川力兴达工程勘测设计有限公司', null, null, null, null, null, null, null, null, null);
7482
-insert into `cmc_partner` values ('135', '中国电建集团中南勘测设计研究院有限公司', null, null, null, null, null, null, null, null, null);
7483
-insert into `cmc_partner` values ('136', '成都鑫禾新建筑工程有限公司', null, null, null, null, null, null, null, null, null);
7484
-
7515
+insert into `cmc_partner` values ('46', '南充市宏扬钻探工程有限公司', null, null, null, null, null, null, null, null, null);
7516
+insert into `cmc_partner` values ('47', '南方(北京)遥感科技有限公司', null, null, null, null, null, null, null, null, null);
7517
+insert into `cmc_partner` values ('48', '山东欣亚通用航空有限公司', '胡家玲', null, null, null, null, null, null, null, null);
7518
+insert into `cmc_partner` values ('49', '上海数喆数据科技有限公司', null, null, null, null, null, null, null, null, null);
7519
+insert into `cmc_partner` values ('50', '上海亚壕科技有限公司', null, null, null, null, null, null, null, null, null);
7520
+insert into `cmc_partner` values ('51', '韶关市荣兴工程测绘有限责任公司', null, null, null, null, null, null, null, null, null);
7521
+insert into `cmc_partner` values ('52', '深圳市邦茨空间设计有限公司', null, null, null, null, null, null, null, null, null);
7522
+insert into `cmc_partner` values ('53', '四川辰吉信息科技有限公司', null, null, null, null, null, null, null, null, null);
7523
+insert into `cmc_partner` values ('54', '四川成都西米宏成测绘有限公司', null, null, null, null, null, null, null, null, null);
7524
+insert into `cmc_partner` values ('55', '四川诚挚远劳务有限公司', null, null, null, null, null, null, null, null, null);
7525
+insert into `cmc_partner` values ('56', '四川大圣智云科技有限公司', null, null, null, null, null, null, null, null, null);
7526
+insert into `cmc_partner` values ('57', '四川地信测绘计量检测有限公司', null, null, null, null, null, null, null, null, null);
7527
+insert into `cmc_partner` values ('58', '四川鼎硕测绘有限公司', null, null, null, null, null, null, null, null, null);
7528
+insert into `cmc_partner` values ('59', '四川涪圣工程设计咨询有限公司', '蒲春国', null, null, null, null, null, null, null, null);
7529
+insert into `cmc_partner` values ('60', '四川国高工程项目管理有限公司', null, null, null, null, null, null, null, null, null);
7530
+insert into `cmc_partner` values ('61', '四川汉盛源科技有限公司', null, null, null, null, null, null, null, null, null);
7531
+insert into `cmc_partner` values ('62', '四川浩航慧图勘测规划设计有限公司', null, null, null, null, null, null, null, null, null);
7532
+insert into `cmc_partner` values ('63', '四川皓土测绘有限公司', '钟一兵', null, null, null, null, null, null, null, null);
7533
+insert into `cmc_partner` values ('64', '四川慧源鹏程工程设计有限公司', null, null, null, null, null, null, null, null, null);
7534
+insert into `cmc_partner` values ('65', '四川精灵轨测绘技术有限公司', '张念', null, null, null, null, null, null, null, null);
7535
+insert into `cmc_partner` values ('66', '四川九凌工程勘察设计有限公司', null, null, null, null, null, null, null, null, null);
7536
+insert into `cmc_partner` values ('67', '四川蓝盾科技有限公司', null, null, null, null, null, null, null, null, null);
7537
+insert into `cmc_partner` values ('68', '四川磊茂工程技术服务有限公司', null, null, null, null, null, null, null, null, null);
7538
+insert into `cmc_partner` values ('69', '四川力兴达工程勘测设计有限公司', null, null, null, null, null, null, null, null, null);
7539
+insert into `cmc_partner` values ('70', '四川瓴昕工程管理有限公司', null, null, null, null, null, null, null, null, null);
7540
+insert into `cmc_partner` values ('71', '四川鹏誉地信科技有限公司', '吴伟', null, null, null, null, null, null, null, null);
7541
+insert into `cmc_partner` values ('72', '四川启盛信息科技有限公司', null, null, null, null, null, null, null, null, null);
7542
+insert into `cmc_partner` values ('73', '四川谦剑测绘有限公司', null, null, null, null, null, null, null, null, null);
7543
+insert into `cmc_partner` values ('74', '四川瑞图地信科技有限公司', '朱静', null, null, null, null, null, null, null, null);
7544
+insert into `cmc_partner` values ('75', '四川森旺规划设计有限公司', null, null, null, null, null, null, null, null, null);
7545
+insert into `cmc_partner` values ('76', '四川省测绘产品质量监督检验站', null, null, null, null, null, null, null, null, null);
7546
+insert into `cmc_partner` values ('77', '四川省地科环建检测技术有限公司', null, null, null, null, null, null, null, null, null);
7547
+insert into `cmc_partner` values ('78', '四川省科源工程技术测试中心有限责任公司', null, null, null, null, null, null, null, null, null);
7548
+insert into `cmc_partner` values ('79', '四川省南方测绘公司', '王建', null, null, null, null, null, null, null, null);
7549
+insert into `cmc_partner` values ('80', '四川世纪鸿图测绘有限公司', null, null, null, null, null, null, null, null, null);
7550
+insert into `cmc_partner` values ('81', '四川世纪运德管道工程服务有限公司', '贾春华', null, null, null, null, null, null, null, null);
7551
+insert into `cmc_partner` values ('82', '四川蜀地勘测规划服务有限公司', '孙亚东', null, null, null, null, null, null, null, null);
7552
+insert into `cmc_partner` values ('83', '四川蜀都善匠科技有限公司', null, null, null, null, null, null, null, null, null);
7553
+insert into `cmc_partner` values ('84', '四川蜀鸿祥建筑工程有限公司', null, null, null, null, null, null, null, null, null);
7554
+insert into `cmc_partner` values ('85', '四川泰恒中勘察测绘有限公司', null, null, null, null, null, null, null, null, null);
7555
+insert into `cmc_partner` values ('86', '四川泰恒中勘察设计有限公司', null, null, null, null, null, null, null, null, null);
7556
+insert into `cmc_partner` values ('87', '四川天辰空间信息技术有限公司', null, null, null, null, null, null, null, null, null);
7557
+insert into `cmc_partner` values ('88', '四川天跃智创科技有限公司', null, null, null, null, null, null, null, null, null);
7558
+insert into `cmc_partner` values ('89', '四川铁拓科技有限公司', null, null, null, null, null, null, null, null, null);
7559
+insert into `cmc_partner` values ('90', '四川新欣力测绘地理信息有限公司', null, null, null, null, null, null, null, null, null);
7560
+insert into `cmc_partner` values ('91', '四川星辰测绘仪器有限公司', null, null, null, null, null, null, null, null, null);
7561
+insert into `cmc_partner` values ('92', '四川兴蜀工程勘察设计集团有限公司', null, null, null, null, null, null, null, null, null);
7562
+insert into `cmc_partner` values ('93', '四川轩航九域信息技术有限公司', null, null, null, null, null, null, null, null, null);
7563
+insert into `cmc_partner` values ('94', '四川雅州检测有限公司', null, null, null, null, null, null, null, null, null);
7564
+insert into `cmc_partner` values ('95', '四川仪坤测绘有限公司', null, null, null, null, null, null, null, null, null);
7565
+insert into `cmc_partner` values ('96', '四川永鸿测绘有限公司', '夏时顺', null, null, null, null, null, null, null, null);
7566
+insert into `cmc_partner` values ('97', '四川宇登工程勘测设计有限公司', '沈燕', null, null, null, null, null, null, null, null);
7567
+insert into `cmc_partner` values ('98', '四川御风行航空科技有限公司', '舒利', '18583968336', null, null, null, null, null, null, null);
7568
+insert into `cmc_partner` values ('99', '四川缘启科技有限公司', '杜凤', null, null, null, null, null, null, null, null);
7569
+insert into `cmc_partner` values ('100', '四川云地信息技术有限公司', null, null, null, null, null, null, null, null, null);
7570
+insert into `cmc_partner` values ('101', '四川长品科技有限公司', null, null, null, null, null, null, null, null, null);
7571
+insert into `cmc_partner` values ('102', '四川浙山建设工程有限公司', null, null, null, null, null, null, null, null, null);
7572
+insert into `cmc_partner` values ('103', '四川智绘地理信息科技有限公司', null, null, null, null, null, null, null, null, null);
7573
+insert into `cmc_partner` values ('104', '四川中规华投建设工程有限公司', null, null, null, null, null, null, null, null, null);
7574
+insert into `cmc_partner` values ('105', '四川中科晟图信息技术有限公司', null, null, null, null, null, null, null, null, null);
7575
+insert into `cmc_partner` values ('106', '四川中水成勘院工程物探检测有限公司', '王羿磊', null, null, null, null, null, null, null, null);
7576
+insert into `cmc_partner` values ('107', '四川中正宏图信息技术有限公司', null, null, null, null, null, null, null, null, null);
7577
+insert into `cmc_partner` values ('108', '四川众茂测绘有限公司', null, null, null, null, null, null, null, null, null);
7578
+insert into `cmc_partner` values ('109', '松辽众鼎工程设计集团有限公司', null, null, null, null, null, null, null, null, null);
7579
+insert into `cmc_partner` values ('110', '乌鲁木齐嘉时代测绘服务有限公司', null, null, null, null, null, null, null, null, null);
7580
+insert into `cmc_partner` values ('111', '武汉众诚数维信息技术有限公司', null, null, null, null, null, null, null, null, null);
7581
+insert into `cmc_partner` values ('112', '秀山县云鹏建筑劳务有限公司', null, null, null, null, null, null, null, null, null);
7582
+insert into `cmc_partner` values ('113', '宜宾文嘉林业科技服务有限公司', null, null, null, null, null, null, null, null, null);
7583
+insert into `cmc_partner` values ('114', '宜宾湛益工程勘察设计有限公司', null, null, null, null, null, null, null, null, null);
7584
+insert into `cmc_partner` values ('115', '云南省遥感中心', '刘朝海', '15812116818', null, null, null, null, null, null, null);
7585
+insert into `cmc_partner` values ('116', '长江空间信息技术工程有限公司(武汉)', null, null, null, null, null, null, null, null, null);
7586
+insert into `cmc_partner` values ('117', '浙江华东测绘地理信息有限公司', null, null, null, null, null, null, null, null, null);
7587
+insert into `cmc_partner` values ('118', '中城航遥(北京)信息工程有限公司', null, null, null, null, null, null, null, null, null);
7588
+insert into `cmc_partner` values ('119', '中国电建集团西北勘测设计研究院有限公司', null, null, null, null, null, null, null, null, null);
7589
+insert into `cmc_partner` values ('120', '中国电建集团中南勘测设计研究院有限公司', null, null, null, null, null, null, null, null, null);
7590
+insert into `cmc_partner` values ('121', '中煤科工集团重庆研究院有限公司', '杨金虎', '13657678783', null, null, null, null, null, null, null);
7591
+insert into `cmc_partner` values ('122', '中水成勘院(云南)建设发展有限公司', null, null, null, null, null, null, null, null, null);
7592
+insert into `cmc_partner` values ('123', '中水德方(成都)工程勘察设计有限公司', '黄梅琳', null, null, null, null, null, null, null, null);
7593
+insert into `cmc_partner` values ('124', '自然资源部第三地理信息制图院', '陈绍国', '13980859212', null, null, null, null, null, null, null);
7594
+insert into `cmc_partner` values ('125', '自然资源部四川测绘产品质量监督检验站', null, null, null, null, null, null, null, null, null);
7595
+
7596
+-- ----------------------------
7597
+-- 56、cmc品牌项目表
7485
 -- ----------------------------
7598
 -- ----------------------------
7486
 drop table if exists `cmc_brand_project`;
7599
 drop table if exists `cmc_brand_project`;
7487
 create table `cmc_brand_project`  (
7600
 create table `cmc_brand_project`  (
7488
   `project_id` 			char(19)  		not null 	 comment '项目id',
7601
   `project_id` 			char(19)  		not null 	 comment '项目id',
7489
   `project_number` 		varchar(50)  	default null comment '项目编号',
7602
   `project_number` 		varchar(50)  	default null comment '项目编号',
7490
   `project_name` 		varchar(50)  	default null comment '项目名称',
7603
   `project_name` 		varchar(50)  	default null comment '项目名称',
7491
-  `party_a`				varchar(50)		default null comment '甲方单位',
7604
+  `party_a_id`			char(19)		default null comment '甲方单位',
7492
   `a_person`			varchar(20)		default null comment '甲方单位联系人',
7605
   `a_person`			varchar(20)		default null comment '甲方单位联系人',
7493
-  `a_phone`				char(50)		default null comment '甲方单位联系电话',
7494
-  `partner_id`			varchar(50)		default null comment '合作单位',
7606
+  `a_phone`				varchar(50)		default null comment '甲方单位联系电话',
7607
+  `partner_id`			char(19)		default null comment '合作单位',
7495
   `contact_person`		varchar(20)		default null comment '合作单位联系人',
7608
   `contact_person`		varchar(20)		default null comment '合作单位联系人',
7496
-  `telephone`			char(50)		default null comment '合作单位联系电话',
7609
+  `telephone`			varchar(50)		default null comment '合作单位联系电话',
7497
   `duration`			char(20)		default null comment '项目工期',
7610
   `duration`			char(20)		default null comment '项目工期',
7498
   `amount`				decimal(10,2)	default null comment '合同金额',
7611
   `amount`				decimal(10,2)	default null comment '合同金额',
7612
+  `content`				varchar(255)	default null comment '项目概况',
7499
   `remark`				varchar(255)	default null comment '备注',
7613
   `remark`				varchar(255)	default null comment '备注',
7500
   primary key (`project_id`)
7614
   primary key (`project_id`)
7501
 ) engine = innodb comment = 'cmc品牌项目表';
7615
 ) engine = innodb comment = 'cmc品牌项目表';
7507
 -- ----------------------------
7619
 -- ----------------------------
7508
 
7620
 
7509
 -- ----------------------------
7621
 -- ----------------------------
7622
+-- 57、cmc品牌项目进度表
7623
+-- ----------------------------
7624
+drop table if exists `cmc_brand_project_progress`;
7625
+create table `cmc_brand_project_progress`  (
7626
+  `progress_id` 	bigint not null  auto_increment comment '项目进度id',
7627
+  `project_id` 		char(19)		default null comment '项目id',
7628
+  `percentage` 		varchar(5)		default null comment '累计进度',
7629
+  `date` 			datetime		default null comment '截至日期',
7630
+  `situation` 		varchar(255)	default null comment '完成进度说明',
7631
+  primary key (`progress_id`)
7632
+) engine = innodb comment = 'cmc品牌项目进度表';
7633
+
7634
+-- ----------------------------
7635
+-- 初始化-品牌项目进度表数据
7636
+-- ----------------------------
7637
+
7638
+-- ----------------------------
7639
+-- 58、cmc品牌项目支付审批表
7510
 -- ----------------------------
7640
 -- ----------------------------
7511
 drop table if exists `cmc_brand`;
7641
 drop table if exists `cmc_brand`;
7512
 create table `cmc_brand`  (
7642
 create table `cmc_brand`  (
7527
 -- ----------------------------
7656
 -- ----------------------------
7528
 
7657
 
7529
 -- ----------------------------
7658
 -- ----------------------------
7659
+-- 59、cmc品牌项目支付记录表
7530
 -- ----------------------------
7660
 -- ----------------------------
7531
 drop table if exists `cmc_brand_payment`;
7661
 drop table if exists `cmc_brand_payment`;
7532
 create table `cmc_brand_payment`  (
7662
 create table `cmc_brand_payment`  (
7543
 -- ----------------------------
7672
 -- ----------------------------
7544
 
7673
 
7545
 -- ----------------------------
7674
 -- ----------------------------
7675
+-- 60、cmc成果归档表
7546
 -- ----------------------------
7676
 -- ----------------------------
7547
 drop table if exists `cmc_archive`;
7677
 drop table if exists `cmc_archive`;
7548
 create table `cmc_archive`  (
7678
 create table `cmc_archive`  (
7572
 -- ----------------------------
7701
 -- ----------------------------
7573
 
7702
 
7574
 -- ----------------------------
7703
 -- ----------------------------
7704
+-- 61、cmc保证金审批表
7575
 -- ----------------------------
7705
 -- ----------------------------
7576
 drop table if exists `cmc_deposit`;
7706
 drop table if exists `cmc_deposit`;
7577
 create table `cmc_deposit`  (
7707
 create table `cmc_deposit`  (
7606
 -- ----------------------------
7735
 -- ----------------------------
7607
 
7736
 
7608
 -- ----------------------------
7737
 -- ----------------------------
7738
+-- 62、cmc结算审批表
7609
 -- ----------------------------
7739
 -- ----------------------------
7610
 drop table if exists `cmc_settle`;
7740
 drop table if exists `cmc_settle`;
7611
 create table `cmc_settle`  (
7741
 create table `cmc_settle`  (
7648
 -- ----------------------------
7777
 -- ----------------------------
7649
 
7778
 
7650
 -- ----------------------------
7779
 -- ----------------------------
7780
+-- 63、cmc经费计算表
7651
 -- ----------------------------
7781
 -- ----------------------------
7652
 drop table if exists `cmc_settle_work`;
7782
 drop table if exists `cmc_settle_work`;
7653
 create table `cmc_settle_work`  (
7783
 create table `cmc_settle_work`  (
7669
 -- ----------------------------
7798
 -- ----------------------------
7670
 
7799
 
7671
 -- ----------------------------
7800
 -- ----------------------------
7801
+-- 64、cmc结算汇总表
7672
 -- ----------------------------
7802
 -- ----------------------------
7673
 drop table if exists `cmc_settle_summary`;
7803
 drop table if exists `cmc_settle_summary`;
7674
 create table `cmc_settle_summary`  (
7804
 create table `cmc_settle_summary`  (
7687
 -- ----------------------------
7816
 -- ----------------------------
7688
 
7817
 
7689
 -- ----------------------------
7818
 -- ----------------------------
7819
+-- 65、files成果管理表
7690
 -- ----------------------------
7820
 -- ----------------------------
7691
 DROP TABLE IF EXISTS `files_achievement`;
7821
 DROP TABLE IF EXISTS `files_achievement`;
7692
 CREATE TABLE `files_achievement`  (
7822
 CREATE TABLE `files_achievement`  (
9349
 INSERT INTO `files_achievement` VALUES ('1661266588737470466', '1648881415333085186', '波罗坝址区三维地形面制作管理记录资料', '2021年', '', '8', 'doc/pdf', NULL, NULL, NULL, NULL, '', '', '', '', '1661266588536143874', NULL, '20220321谭君归档全部资料', NULL, NULL);
9478
 INSERT INTO `files_achievement` VALUES ('1661266588737470466', '1648881415333085186', '波罗坝址区三维地形面制作管理记录资料', '2021年', '', '8', 'doc/pdf', NULL, NULL, NULL, NULL, '', '', '', '', '1661266588536143874', NULL, '20220321谭君归档全部资料', NULL, NULL);
9350
 
9479
 
9351
 -- ----------------------------
9480
 -- ----------------------------
9481
+-- 66、files存储地址表
9352
 -- ----------------------------
9482
 -- ----------------------------
9353
 DROP TABLE IF EXISTS `files_storage`;
9483
 DROP TABLE IF EXISTS `files_storage`;
9354
 CREATE TABLE `files_storage`  (
9484
 CREATE TABLE `files_storage`  (
9736
 INSERT INTO `files_storage` VALUES ('1661266588536143874', '存储器\\光盘资料\\七\\7-92', 58, '');
9865
 INSERT INTO `files_storage` VALUES ('1661266588536143874', '存储器\\光盘资料\\七\\7-92', 58, '');
9737
 
9866
 
9738
 -- ----------------------------
9867
 -- ----------------------------
9868
+-- 67、cmc单价备注表
9739
 -- ----------------------------
9869
 -- ----------------------------
9740
 drop table if exists `cmc_price_remark`;
9870
 drop table if exists `cmc_price_remark`;
9741
 create table `cmc_price_remark`  (
9871
 create table `cmc_price_remark`  (
9773
 INSERT INTO `cmc_price_remark` VALUES (22, '内业-坐标转换', '⑴坐标转换、电子沙盘制作,按工作前核准的内业工天结算。');
9902
 INSERT INTO `cmc_price_remark` VALUES (22, '内业-坐标转换', '⑴坐标转换、电子沙盘制作,按工作前核准的内业工天结算。');
9774
 
9903
 
9775
 -- ----------------------------
9904
 -- ----------------------------
9905
+-- 68、cmc设备费用表
9776
 -- ----------------------------
9906
 -- ----------------------------
9777
 drop table if exists `cmc_device_expense`;
9907
 drop table if exists `cmc_device_expense`;
9778
 create table `cmc_device_expense`  (
9908
 create table `cmc_device_expense`  (
9794
 -- ----------------------------
9923
 -- ----------------------------
9795
 
9924
 
9796
 -- ----------------------------
9925
 -- ----------------------------
9926
+-- 69、cmc设备报废表
9797
 -- ----------------------------
9927
 -- ----------------------------
9798
 drop table if exists `cmc_device_scrap`;
9928
 drop table if exists `cmc_device_scrap`;
9799
 create table `cmc_device_scrap`  (
9929
 create table `cmc_device_scrap`  (
9815
 -- ----------------------------
9944
 -- ----------------------------
9816
 
9945
 
9817
 -- ----------------------------
9946
 -- ----------------------------
9947
+-- 70、cmc项目变更表
9818
 -- ----------------------------
9948
 -- ----------------------------
9819
 drop table if exists `cmc_project_change`;
9949
 drop table if exists `cmc_project_change`;
9820
 create table `cmc_project_change`  (
9950
 create table `cmc_project_change`  (

+ 44
- 0
oa-ui/src/api/oa/brand/brandProgress.js Ver arquivo

1
+import request from '@/utils/request'
2
+
3
+// 查询cmc品牌项目进度列表
4
+export function listBrandProgress(query) {
5
+  return request({
6
+    url: '/oa/brandProgress/list',
7
+    method: 'get',
8
+    params: query
9
+  })
10
+}
11
+
12
+// 查询cmc品牌项目进度详细
13
+export function getBrandProgress(progressId) {
14
+  return request({
15
+    url: '/oa/brandProgress/' + progressId,
16
+    method: 'get'
17
+  })
18
+}
19
+
20
+// 新增cmc品牌项目进度
21
+export function addBrandProgress(data) {
22
+  return request({
23
+    url: '/oa/brandProgress',
24
+    method: 'post',
25
+    data: data
26
+  })
27
+}
28
+
29
+// 修改cmc品牌项目进度
30
+export function updateBrandProgress(data) {
31
+  return request({
32
+    url: '/oa/brandProgress',
33
+    method: 'put',
34
+    data: data
35
+  })
36
+}
37
+
38
+// 删除cmc品牌项目进度
39
+export function delBrandProgress(progressId) {
40
+  return request({
41
+    url: '/oa/brandProgress/' + progressId,
42
+    method: 'delete'
43
+  })
44
+}

+ 44
- 0
oa-ui/src/api/oa/partyA/partyA.js Ver arquivo

1
+import request from '@/utils/request'
2
+
3
+// 查询cmc业主单位列表
4
+export function listPartyA(query) {
5
+  return request({
6
+    url: '/oa/partyA/list',
7
+    method: 'get',
8
+    params: query
9
+  })
10
+}
11
+
12
+// 查询cmc业主单位详细
13
+export function getPartyA(partyAId) {
14
+  return request({
15
+    url: '/oa/partyA/' + partyAId,
16
+    method: 'get'
17
+  })
18
+}
19
+
20
+// 新增cmc业主单位
21
+export function addPartyA(data) {
22
+  return request({
23
+    url: '/oa/partyA',
24
+    method: 'post',
25
+    data: data
26
+  })
27
+}
28
+
29
+// 修改cmc业主单位
30
+export function updatePartyA(data) {
31
+  return request({
32
+    url: '/oa/partyA',
33
+    method: 'put',
34
+    data: data
35
+  })
36
+}
37
+
38
+// 删除cmc业主单位
39
+export function delPartyA(partyAId) {
40
+  return request({
41
+    url: '/oa/partyA/' + partyAId,
42
+    method: 'delete'
43
+  })
44
+}

+ 2
- 2
oa-ui/src/views/file/filesProject/achievement.vue Ver arquivo

4
  * @Author: ysh
4
  * @Author: ysh
5
  * @Date: 2022-09-08 17:16:12
5
  * @Date: 2022-09-08 17:16:12
6
  * @LastEditors: wrh
6
  * @LastEditors: wrh
7
- * @LastEditTime: 2024-05-30 17:18:22
7
+ * @LastEditTime: 2024-06-12 09:53:12
8
 -->
8
 -->
9
 <template>
9
 <template>
10
   <div>
10
   <div>
470
         remark: undefined,
470
         remark: undefined,
471
       },
471
       },
472
       rules: {
472
       rules: {
473
-        projectNumber: [{ required: true, message: "项目名称不能为空", trigger: "blur" }],
473
+        projectNumber: [{ required: true, message: "项目编号不能为空", trigger: "blur" }],
474
         achiName: [{ required: true, message: "成果名称不能为空", trigger: "blur" }],
474
         achiName: [{ required: true, message: "成果名称不能为空", trigger: "blur" }],
475
         dataYear: [{ required: true, message: "数据年份不能为空", trigger: "blur" }],
475
         dataYear: [{ required: true, message: "数据年份不能为空", trigger: "blur" }],
476
         resultType: [{ required: true, message: "数据类型不能为空", trigger: "blur" }],
476
         resultType: [{ required: true, message: "数据类型不能为空", trigger: "blur" }],

+ 13
- 11
oa-ui/src/views/flowable/form/business/subContract.vue Ver arquivo

1
 <!--
1
 <!--
2
  * @Author: ysh
2
  * @Author: ysh
3
  * @Date: 2024-05-10 15:31:57
3
  * @Date: 2024-05-10 15:31:57
4
- * @LastEditors: Please set LastEditors
5
- * @LastEditTime: 2024-06-07 10:40:11
4
+ * @LastEditors: wrh
5
+ * @LastEditTime: 2024-06-12 17:22:33
6
 -->
6
 -->
7
 <template>
7
 <template>
8
   <div class="app-container">
8
   <div class="app-container">
24
                 {{ chooseProject.projectNumber }}</el-descriptions-item>
24
                 {{ chooseProject.projectNumber }}</el-descriptions-item>
25
               <el-descriptions-item label="项目名称" label-class-name="my-label">{{ chooseProject.projectName
25
               <el-descriptions-item label="项目名称" label-class-name="my-label">{{ chooseProject.projectName
26
                 }}</el-descriptions-item>
26
                 }}</el-descriptions-item>
27
-              <el-descriptions-item label="甲方单位" label-class-name="my-label">{{ chooseProject.partyA
27
+              <el-descriptions-item label="甲方单位" label-class-name="my-label">{{ chooseProject.partyA.partyAName
28
                 }}</el-descriptions-item>
28
                 }}</el-descriptions-item>
29
               <el-descriptions-item label="承担部门" label-class-name="my-label">
29
               <el-descriptions-item label="承担部门" label-class-name="my-label">
30
                 <el-tag size="small">{{ chooseProject.undertakingDeptName }}</el-tag>
30
                 <el-tag size="small">{{ chooseProject.undertakingDeptName }}</el-tag>
81
             </el-col>
81
             </el-col>
82
           </el-row>
82
           </el-row>
83
 
83
 
84
+          <el-row :gutter="20">
85
+            <el-col :span="16" :xs="24">
84
           <el-form-item label="合同文件" prop="contractDocument">
86
           <el-form-item label="合同文件" prop="contractDocument">
85
             <FileUpload v-if="formTotal == 0"
87
             <FileUpload v-if="formTotal == 0"
86
               :disabled="taskName != '合同拟稿'" ref="contractFile" :limit="1" :filePathName="'分包合同/合同文件'"
88
               :disabled="taskName != '合同拟稿'" ref="contractFile" :limit="1" :filePathName="'分包合同/合同文件'"
96
               </el-link>
98
               </el-link>
97
             </div>
99
             </div>
98
           </el-form-item>
100
           </el-form-item>
101
+            </el-col>
102
+            <el-col :span="8" :xs="24">
103
+              <el-form-item label="联系电话" prop="telephone">
104
+                <el-input v-model="form.telephone" placeholder="请输入联系电话" :disabled="taskName != '合同拟稿'" />
105
+              </el-form-item>
106
+            </el-col>
107
+          </el-row>
99
           <el-form-item label="合同计划工作量:">
108
           <el-form-item label="合同计划工作量:">
100
             <table border="1">
109
             <table border="1">
101
               <tr>
110
               <tr>
754
     handleSelectPartner(val) {
763
     handleSelectPartner(val) {
755
       getPartner(val).then(response => {
764
       getPartner(val).then(response => {
756
         this.$set(this.form, 'contactPerson', response.data.contactPerson);
765
         this.$set(this.form, 'contactPerson', response.data.contactPerson);
766
+        this.$set(this.form, 'telephone', response.data.telephone);
757
       })
767
       })
758
     },
768
     },
759
     // 选择项目
769
     // 选择项目
1034
         this.chooseProject = val[0]
1044
         this.chooseProject = val[0]
1035
         this.isSelect = true
1045
         this.isSelect = true
1036
         this.form.projectId = val[0].projectId
1046
         this.form.projectId = val[0].projectId
1037
-        let undertakingDeptName = []
1038
-        if (val[0].undertakingDept) {
1039
-          let deptArr = val[0].undertakingDept.split(',');
1040
-          for (let dept of deptArr) {
1041
-            undertakingDeptName.push(this.getDeptName(dept))
1042
-          }
1043
-        }
1044
-        this.chooseProject.undertakingDeptName = undertakingDeptName.join(',');
1045
         listProjectContract({ projectId: this.form.projectId }).then(response => {
1047
         listProjectContract({ projectId: this.form.projectId }).then(response => {
1046
           if (response.rows) {
1048
           if (response.rows) {
1047
             for (let row of response.rows) {
1049
             for (let row of response.rows) {

+ 1
- 16
oa-ui/src/views/flowable/form/changeForm.vue Ver arquivo

10
               }}</el-descriptions-item>
10
               }}</el-descriptions-item>
11
               <el-descriptions-item label="项目编号" label-class-name="my-label">{{ chooseProject.projectNumber
11
               <el-descriptions-item label="项目编号" label-class-name="my-label">{{ chooseProject.projectNumber
12
               }}</el-descriptions-item>
12
               }}</el-descriptions-item>
13
-              <el-descriptions-item label="甲方单位" label-class-name="my-label">{{ chooseProject.partyA
13
+              <el-descriptions-item label="甲方单位" label-class-name="my-label">{{ chooseProject.partyA.partyName
14
               }}</el-descriptions-item>
14
               }}</el-descriptions-item>
15
               <el-descriptions-item label="项目类型" label-class-name="my-label">{{ chooseProject.projectType
15
               <el-descriptions-item label="项目类型" label-class-name="my-label">{{ chooseProject.projectType
16
               }}</el-descriptions-item>
16
               }}</el-descriptions-item>
168
             getProject(res.data.projectId).then(response => {
168
             getProject(res.data.projectId).then(response => {
169
               this.chooseProject = response.data;
169
               this.chooseProject = response.data;
170
               this.isSelect = true;
170
               this.isSelect = true;
171
-              if (this.form.undertakingDept) {
172
-                let arr = this.chooseProject.undertakingDept.split(',')
173
-                this.getDeptName(arr);
174
-              }
175
             })
171
             })
176
           }
172
           }
177
           this.loading = false
173
           this.loading = false
202
           this.chooseProject = response.data;
198
           this.chooseProject = response.data;
203
           this.isSelect = true;
199
           this.isSelect = true;
204
           if (this.chooseProject.undertakingDept) {
200
           if (this.chooseProject.undertakingDept) {
205
-            let arr = this.chooseProject.undertakingDept.split(',')
206
             this.getLeader(arr);
201
             this.getLeader(arr);
207
-            this.getDeptName(arr);
208
           }
202
           }
209
         })
203
         })
210
       } else {
204
       } else {
222
         if (this.chooseProject.undertakingDept) {
216
         if (this.chooseProject.undertakingDept) {
223
           let arr = this.chooseProject.undertakingDept.split(',')
217
           let arr = this.chooseProject.undertakingDept.split(',')
224
           this.getLeader(arr);
218
           this.getLeader(arr);
225
-          this.getDeptName(arr);
226
         }
219
         }
227
       }
220
       }
228
       this.openProject = false;
221
       this.openProject = false;
237
         })
230
         })
238
       }
231
       }
239
     },
232
     },
240
-    getDeptName(val) {
241
-      for (let v of val) {
242
-        getDept(Number(v)).then(res => {
243
-          this.undertakingDeptNameList.push(res.data.deptName);
244
-          this.chooseProject.undertakingDeptName = this.undertakingDeptNameList.join(',')
245
-        })
246
-      }
247
-    },
248
     // 取消按钮
233
     // 取消按钮
249
     cancel() {
234
     cancel() {
250
       this.open = false;
235
       this.open = false;

+ 1
- 1
oa-ui/src/views/flowable/form/components/chooseProject.vue Ver arquivo

29
       <el-table-column label="项目名称" align="center" key="projectName" prop="projectName" :show-overflow-tooltip="true" />
29
       <el-table-column label="项目名称" align="center" key="projectName" prop="projectName" :show-overflow-tooltip="true" />
30
       <el-table-column label="项目负责人" align="center" key="projectLeader" prop="projectLeaderUser.nickName"
30
       <el-table-column label="项目负责人" align="center" key="projectLeader" prop="projectLeaderUser.nickName"
31
         :show-overflow-tooltip="true" />
31
         :show-overflow-tooltip="true" />
32
-      <el-table-column label="甲方公司" align="center" key="partyA" prop="partyA" :show-overflow-tooltip="true" />
32
+      <el-table-column label="甲方公司" align="center" key="partyA" prop="partyA.partyName" :show-overflow-tooltip="true" />
33
       <el-table-column label="项目类型" align="center" key="projectType" prop="projectType" />
33
       <el-table-column label="项目类型" align="center" key="projectType" prop="projectType" />
34
     </el-table>
34
     </el-table>
35
     <div style="text-align: right;" class="mt20 mr20">
35
     <div style="text-align: right;" class="mt20 mr20">

+ 0
- 8
oa-ui/src/views/flowable/form/finance/borrowForm.vue Ver arquivo

683
         this.chooseProject = val[0]
683
         this.chooseProject = val[0]
684
         this.isSelect = true
684
         this.isSelect = true
685
         this.form.projectId = val[0].projectId
685
         this.form.projectId = val[0].projectId
686
-        let undertakingDeptName = []
687
-        if (val[0].undertakingDept) {
688
-          let deptArr = val[0].undertakingDept.split(',');
689
-          for (let dept of deptArr) {
690
-            undertakingDeptName.push(this.getDeptName(dept))
691
-          }
692
-        }
693
-        this.chooseProject.undertakingDeptName = undertakingDeptName.join(',');
694
       }
686
       }
695
       this.openProject = false
687
       this.openProject = false
696
     },
688
     },

+ 0
- 8
oa-ui/src/views/flowable/form/oa/carForm.vue Ver arquivo

628
         return
628
         return
629
       } else if (val.length == 1) {
629
       } else if (val.length == 1) {
630
         this.chooseProject = val[0]
630
         this.chooseProject = val[0]
631
-        let undertakingDeptName = []
632
-        if (val[0].undertakingDept) {
633
-          let deptArr = val[0].undertakingDept.split(',');
634
-          for (let dept of deptArr) {
635
-            undertakingDeptName.push(this.getDeptName(dept))
636
-          }
637
-        }
638
-        this.chooseProject.undertakingDeptName = undertakingDeptName.join(',');
639
         this.isSelect = true
631
         this.isSelect = true
640
         this.form.projectId = val[0].projectId
632
         this.form.projectId = val[0].projectId
641
       }
633
       }

+ 2
- 10
oa-ui/src/views/flowable/form/oa/deviceForm.vue Ver arquivo

1
 <!--
1
 <!--
2
  * @Author: ysh
2
  * @Author: ysh
3
  * @Date: 2024-03-07 13:44:39
3
  * @Date: 2024-03-07 13:44:39
4
- * @LastEditors: Please set LastEditors
5
- * @LastEditTime: 2024-06-11 14:15:49
4
+ * @LastEditors: wrh
5
+ * @LastEditTime: 2024-06-12 17:16:48
6
 -->
6
 -->
7
 
7
 
8
 <template>
8
 <template>
510
         this.chooseProject = val[0]
510
         this.chooseProject = val[0]
511
         this.isSelect = true
511
         this.isSelect = true
512
         this.form.projectId = val[0].projectId
512
         this.form.projectId = val[0].projectId
513
-        let undertakingDeptName = []
514
-        if (val[0].undertakingDept) {
515
-          let deptArr = val[0].undertakingDept.split(',');
516
-          for (let dept of deptArr) {
517
-            undertakingDeptName.push(this.getDeptName(dept))
518
-          }
519
-        }
520
-        this.chooseProject.undertakingDeptName = undertakingDeptName.join(',');
521
       }
513
       }
522
       this.openProject = false
514
       this.openProject = false
523
     },
515
     },

+ 22
- 10
oa-ui/src/views/flowable/form/projectProcess/addproject.vue Ver arquivo

1
 <!--
1
 <!--
2
  * @Author: ysh
2
  * @Author: ysh
3
  * @Date: 2024-03-18 11:00:04
3
  * @Date: 2024-03-18 11:00:04
4
- * @LastEditors: Please set LastEditors
5
- * @LastEditTime: 2024-06-07 10:53:47
4
+ * @LastEditors: wrh
5
+ * @LastEditTime: 2024-06-12 15:55:43
6
 -->
6
 -->
7
 <template>
7
 <template>
8
   <div class="project-wrapper">
8
   <div class="project-wrapper">
54
         <el-input v-model="chooseContractInfo.contractNumber" disabled></el-input>
54
         <el-input v-model="chooseContractInfo.contractNumber" disabled></el-input>
55
       </el-form-item>
55
       </el-form-item>
56
       <el-form-item label="甲方单位:" prop="partyA">
56
       <el-form-item label="甲方单位:" prop="partyA">
57
-        <el-autocomplete class="inline-input" v-model="addForm.partyA" :fetch-suggestions="querySearch"
58
-          placeholder="请输入内容" style="width: 100%"></el-autocomplete>
59
-        <!-- <el-input v-model="addForm.partyA"></el-input> -->
57
+        <el-select allow-create v-model="addForm.partyAId" filterable placeholder="请选择" style="width: 100%;" clearable>
58
+          <el-option v-for="item in partyAList" :key="item.value" :label="item.partyAName" :value="item.partyAId">
59
+          </el-option>
60
+        </el-select>
60
       </el-form-item>
61
       </el-form-item>
61
       <el-form-item label="联系人:" prop="contactPerson">
62
       <el-form-item label="联系人:" prop="contactPerson">
62
         <el-input v-model="addForm.contactPerson"></el-input>
63
         <el-input v-model="addForm.contactPerson"></el-input>
87
             </td>
88
             </td>
88
             <td>
89
             <td>
89
               <el-select v-model="work.unit" placeholder="请选择" clearable>
90
               <el-select v-model="work.unit" placeholder="请选择" clearable>
90
-                <el-option v-for="dict in dict.type.cmc_unit" :key="dict.value" :label="dict.label"
91
-                  :value="dict.label" />
91
+                <el-option v-for="dict in dict.type.cmc_unit" :key="dict.value" :label="dict.label" :value="dict.label" />
92
               </el-select>
92
               </el-select>
93
             </td>
93
             </td>
94
             <td>
94
             <td>
104
                 :autosize="{ minRows: 4, maxRows: 10 }"></el-input>
104
                 :autosize="{ minRows: 4, maxRows: 10 }"></el-input>
105
             </td>
105
             </td>
106
             <td>
106
             <td>
107
-              <el-button type="danger" icon="el-icon-minus" size="mini" circle
108
-                @click="deletWorkItem(index)"></el-button>
107
+              <el-button type="danger" icon="el-icon-minus" size="mini" circle @click="deletWorkItem(index)"></el-button>
109
             </td>
108
             </td>
110
           </tr>
109
           </tr>
111
         </table>
110
         </table>
133
         <el-col :span="6" :xs="24" :offset="12">
132
         <el-col :span="6" :xs="24" :offset="12">
134
           <el-form-item label="项目登记人:" prop="registrantUser">
133
           <el-form-item label="项目登记人:" prop="registrantUser">
135
             <span class="auditor"> {{ addForm.projectRegistrantUser ? addForm.projectRegistrantUser.nickName :
134
             <span class="auditor"> {{ addForm.projectRegistrantUser ? addForm.projectRegistrantUser.nickName :
136
-      registrantUser }} </span>
135
+              registrantUser }} </span>
137
           </el-form-item>
136
           </el-form-item>
138
         </el-col>
137
         </el-col>
139
         <el-col :span="6">
138
         <el-col :span="6">
163
 import { listProjectWork, addProjectWork } from "@/api/oa/project/projectWork";
162
 import { listProjectWork, addProjectWork } from "@/api/oa/project/projectWork";
164
 import { listProjectContract, addProjectContract } from "@/api/oa/contract/projectContract";
163
 import { listProjectContract, addProjectContract } from "@/api/oa/contract/projectContract";
165
 import { listContract, getContract, delContract, addContract, updateContract } from "@/api/oa/contract/contract";
164
 import { listContract, getContract, delContract, addContract, updateContract } from "@/api/oa/contract/contract";
165
+import { listPartyA } from "@/api/oa/partyA/partyA";
166
 import chooseContract from '../components/chooseContract.vue';
166
 import chooseContract from '../components/chooseContract.vue';
167
 export default {
167
 export default {
168
   components: { chooseContract },
168
   components: { chooseContract },
195
         projectName: "",
195
         projectName: "",
196
       },
196
       },
197
       projectList: [],
197
       projectList: [],
198
+      partyAList: [],
198
       total: 0,
199
       total: 0,
199
       loading: true,
200
       loading: true,
200
       modifyOpen: false,
201
       modifyOpen: false,
234
       this.registrantUser = this.name;
235
       this.registrantUser = this.name;
235
     }
236
     }
236
 
237
 
238
+    this.getPartyAList();
237
     this.getContractDataList();
239
     this.getContractDataList();
238
     // this.getList();
240
     // this.getList();
239
   },
241
   },
324
         });
326
         });
325
       });
327
       });
326
     },
328
     },
329
+    // 查询业主单位列表
330
+    getPartyAList() {
331
+      this.loading = true
332
+      listPartyA({
333
+        pageNum: 1,
334
+        pageSize: 99999999
335
+      }).then(response => {
336
+        this.partyAList = response.rows;
337
+      })
338
+    },
327
     cancel() {
339
     cancel() {
328
       this.addForm = {};
340
       this.addForm = {};
329
     },
341
     },

+ 1
- 9
oa-ui/src/views/flowable/form/settleForm.vue Ver arquivo

38
                 {{ chooseProject.projectLeaderUser ? chooseProject.projectLeaderUser.nickName : "" }}
38
                 {{ chooseProject.projectLeaderUser ? chooseProject.projectLeaderUser.nickName : "" }}
39
               </el-descriptions-item>
39
               </el-descriptions-item>
40
               <el-descriptions-item label="甲方单位" label-class-name="my-label">
40
               <el-descriptions-item label="甲方单位" label-class-name="my-label">
41
-                {{ chooseProject.partyA }}
41
+                {{ chooseProject.partyA.partyAName }}
42
               </el-descriptions-item>
42
               </el-descriptions-item>
43
               <el-descriptions-item label="联系人" label-class-name="my-label">
43
               <el-descriptions-item label="联系人" label-class-name="my-label">
44
                 {{ chooseProject.contactPerson }}
44
                 {{ chooseProject.contactPerson }}
1069
       if (val.length == 1) {
1069
       if (val.length == 1) {
1070
         this.prOpen = false;
1070
         this.prOpen = false;
1071
         this.chooseProject = val[0];
1071
         this.chooseProject = val[0];
1072
-        let undertakingDeptName = []
1073
-        if (val[0].undertakingDept) {
1074
-          let deptArr = val[0].undertakingDept.split(',');
1075
-          for (let dept of deptArr) {
1076
-            undertakingDeptName.push(this.getDeptName(dept))
1077
-          }
1078
-        }
1079
-        this.chooseProject.undertakingDeptName = undertakingDeptName.join(',');
1080
         this.$set(this.form, 'projectId', val[0].projectId)
1072
         this.$set(this.form, 'projectId', val[0].projectId)
1081
         this.isSelect = true;
1073
         this.isSelect = true;
1082
       } else {
1074
       } else {

+ 243
- 173
oa-ui/src/views/oa/brand/brandProject.vue Ver arquivo

2
   <div class="app-container">
2
   <div class="app-container">
3
     <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
3
     <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
4
       <el-form-item label="项目编号" prop="projectNumber">
4
       <el-form-item label="项目编号" prop="projectNumber">
5
-        <el-input
6
-          v-model="queryParams.projectNumber"
7
-          placeholder="请输入项目编号"
8
-          clearable
9
-          @keyup.enter.native="handleQuery"
10
-        />
5
+        <el-input v-model="queryParams.projectNumber" placeholder="请输入项目编号" clearable @keyup.enter.native="handleQuery" />
11
       </el-form-item>
6
       </el-form-item>
12
       <el-form-item label="项目名称" prop="projectName">
7
       <el-form-item label="项目名称" prop="projectName">
13
-        <el-input
14
-          v-model="queryParams.projectName"
15
-          placeholder="请输入项目名称"
16
-          clearable
17
-          @keyup.enter.native="handleQuery"
18
-        />
19
-      </el-form-item>
20
-      <el-form-item label="甲方单位" prop="partyA">
21
-        <el-input
22
-          v-model="queryParams.partyA"
23
-          placeholder="请输入甲方单位"
24
-          clearable
25
-          @keyup.enter.native="handleQuery"
26
-        />
27
-      </el-form-item>
28
-      <el-form-item label="甲方单位联系人" prop="aPerson">
29
-        <el-input
30
-          v-model="queryParams.aPerson"
31
-          placeholder="请输入甲方单位联系人"
32
-          clearable
33
-          @keyup.enter.native="handleQuery"
34
-        />
35
-      </el-form-item>
36
-      <el-form-item label="甲方单位联系电话" prop="aPhone">
37
-        <el-input
38
-          v-model="queryParams.aPhone"
39
-          placeholder="请输入甲方单位联系电话"
40
-          clearable
41
-          @keyup.enter.native="handleQuery"
42
-        />
43
-      </el-form-item>
44
-      <el-form-item label="合作单位" prop="partnerId">
45
-        <el-input
46
-          v-model="queryParams.partnerId"
47
-          placeholder="请输入合作单位"
48
-          clearable
49
-          @keyup.enter.native="handleQuery"
50
-        />
51
-      </el-form-item>
52
-      <el-form-item label="合作单位联系人" prop="contactPerson">
53
-        <el-input
54
-          v-model="queryParams.contactPerson"
55
-          placeholder="请输入合作单位联系人"
56
-          clearable
57
-          @keyup.enter.native="handleQuery"
58
-        />
59
-      </el-form-item>
60
-      <el-form-item label="合作单位联系电话" prop="telephone">
61
-        <el-input
62
-          v-model="queryParams.telephone"
63
-          placeholder="请输入合作单位联系电话"
64
-          clearable
65
-          @keyup.enter.native="handleQuery"
66
-        />
67
-      </el-form-item>
68
-      <el-form-item label="项目工期" prop="duration">
69
-        <el-input
70
-          v-model="queryParams.duration"
71
-          placeholder="请输入项目工期"
72
-          clearable
73
-          @keyup.enter.native="handleQuery"
74
-        />
75
-      </el-form-item>
76
-      <el-form-item label="合同金额" prop="amount">
77
-        <el-input
78
-          v-model="queryParams.amount"
79
-          placeholder="请输入合同金额"
80
-          clearable
81
-          @keyup.enter.native="handleQuery"
82
-        />
8
+        <el-input v-model="queryParams.projectName" placeholder="请输入项目名称" clearable @keyup.enter.native="handleQuery" />
83
       </el-form-item>
9
       </el-form-item>
84
       <el-form-item>
10
       <el-form-item>
85
         <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
11
         <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
89
 
15
 
90
     <el-row :gutter="10" class="mb8">
16
     <el-row :gutter="10" class="mb8">
91
       <el-col :span="1.5">
17
       <el-col :span="1.5">
92
-        <el-button
93
-          type="primary"
94
-          plain
95
-          icon="el-icon-plus"
96
-          size="mini"
97
-          @click="handleAdd"
98
-          v-hasPermi="['oa:brand:add']"
99
-        >新增</el-button>
18
+        <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="handleAdd"
19
+          v-hasPermi="['oa:brandProject:add']">新增</el-button>
100
       </el-col>
20
       </el-col>
101
       <el-col :span="1.5">
21
       <el-col :span="1.5">
102
-        <el-button
103
-          type="success"
104
-          plain
105
-          icon="el-icon-edit"
106
-          size="mini"
107
-          :disabled="single"
108
-          @click="handleUpdate"
109
-          v-hasPermi="['oa:brand:edit']"
110
-        >修改</el-button>
22
+        <el-button type="success" plain icon="el-icon-edit" size="mini" :disabled="single" @click="handleUpdate"
23
+          v-hasPermi="['oa:brandProject:edit']">修改</el-button>
111
       </el-col>
24
       </el-col>
112
       <el-col :span="1.5">
25
       <el-col :span="1.5">
113
-        <el-button
114
-          type="danger"
115
-          plain
116
-          icon="el-icon-delete"
117
-          size="mini"
118
-          :disabled="multiple"
119
-          @click="handleDelete"
120
-          v-hasPermi="['oa:brand:remove']"
121
-        >删除</el-button>
26
+        <el-button type="danger" plain icon="el-icon-delete" size="mini" :disabled="multiple" @click="handleDelete"
27
+          v-hasPermi="['oa:brandProject:remove']">删除</el-button>
122
       </el-col>
28
       </el-col>
123
       <el-col :span="1.5">
29
       <el-col :span="1.5">
124
-        <el-button
125
-          type="warning"
126
-          plain
127
-          icon="el-icon-download"
128
-          size="mini"
129
-          @click="handleExport"
130
-          v-hasPermi="['oa:brand:export']"
131
-        >导出</el-button>
30
+        <el-button type="warning" plain icon="el-icon-download" size="mini" @click="handleExport"
31
+          v-hasPermi="['oa:brandProject:export']">导出</el-button>
132
       </el-col>
32
       </el-col>
133
       <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
33
       <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
134
     </el-row>
34
     </el-row>
135
 
35
 
136
     <el-table v-loading="loading" :data="brandProjectList" @selection-change="handleSelectionChange">
36
     <el-table v-loading="loading" :data="brandProjectList" @selection-change="handleSelectionChange">
137
       <el-table-column type="selection" width="55" align="center" />
37
       <el-table-column type="selection" width="55" align="center" />
138
-      <el-table-column label="项目id" align="center" prop="projectId" />
139
       <el-table-column label="项目编号" align="center" prop="projectNumber" />
38
       <el-table-column label="项目编号" align="center" prop="projectNumber" />
140
       <el-table-column label="项目名称" align="center" prop="projectName" />
39
       <el-table-column label="项目名称" align="center" prop="projectName" />
141
       <el-table-column label="甲方单位" align="center" prop="partyA" />
40
       <el-table-column label="甲方单位" align="center" prop="partyA" />
142
       <el-table-column label="甲方单位联系人" align="center" prop="aPerson" />
41
       <el-table-column label="甲方单位联系人" align="center" prop="aPerson" />
143
       <el-table-column label="甲方单位联系电话" align="center" prop="aPhone" />
42
       <el-table-column label="甲方单位联系电话" align="center" prop="aPhone" />
144
-      <el-table-column label="合作单位" align="center" prop="partnerId" />
43
+      <el-table-column label="合作单位" align="center" prop="partner.partnerName" />
145
       <el-table-column label="合作单位联系人" align="center" prop="contactPerson" />
44
       <el-table-column label="合作单位联系人" align="center" prop="contactPerson" />
146
       <el-table-column label="合作单位联系电话" align="center" prop="telephone" />
45
       <el-table-column label="合作单位联系电话" align="center" prop="telephone" />
147
       <el-table-column label="项目工期" align="center" prop="duration" />
46
       <el-table-column label="项目工期" align="center" prop="duration" />
148
       <el-table-column label="合同金额" align="center" prop="amount" />
47
       <el-table-column label="合同金额" align="center" prop="amount" />
48
+      <el-table-column label="项目概况" align="center" prop="content" />
149
       <el-table-column label="备注" align="center" prop="remark" />
49
       <el-table-column label="备注" align="center" prop="remark" />
150
       <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
50
       <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
151
         <template slot-scope="scope">
51
         <template slot-scope="scope">
152
-          <el-button
153
-            size="mini"
154
-            type="text"
155
-            icon="el-icon-edit"
156
-            @click="handleUpdate(scope.row)"
157
-            v-hasPermi="['oa:brand:edit']"
158
-          >修改</el-button>
159
-          <el-button
160
-            size="mini"
161
-            type="text"
162
-            icon="el-icon-delete"
163
-            @click="handleDelete(scope.row)"
164
-            v-hasPermi="['oa:brand:remove']"
165
-          >删除</el-button>
52
+          <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)"
53
+            v-hasPermi="['oa:brandProject:edit']">修改</el-button>
54
+          <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)"
55
+            v-hasPermi="['oa:brandProject:remove']">删除</el-button>
166
         </template>
56
         </template>
167
       </el-table-column>
57
       </el-table-column>
168
     </el-table>
58
     </el-table>
169
-    
170
-    <pagination
171
-      v-show="total>0"
172
-      :total="total"
173
-      :page.sync="queryParams.pageNum"
174
-      :limit.sync="queryParams.pageSize"
175
-      @pagination="getList"
176
-    />
59
+
60
+    <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize"
61
+      @pagination="getList" />
177
 
62
 
178
     <!-- 添加或修改cmc品牌项目对话框 -->
63
     <!-- 添加或修改cmc品牌项目对话框 -->
179
-    <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
180
-      <el-form ref="form" :model="form" :rules="rules" label-width="80px">
181
-        <el-form-item label="项目编号" prop="projectNumber">
182
-          <el-input v-model="form.projectNumber" placeholder="请输入项目编号" />
183
-        </el-form-item>
184
-        <el-form-item label="项目名称" prop="projectName">
185
-          <el-input v-model="form.projectName" placeholder="请输入项目名称" />
186
-        </el-form-item>
187
-        <el-form-item label="甲方单位" prop="partyA">
188
-          <el-input v-model="form.partyA" placeholder="请输入甲方单位" />
189
-        </el-form-item>
190
-        <el-form-item label="甲方单位联系人" prop="aPerson">
191
-          <el-input v-model="form.aPerson" placeholder="请输入甲方单位联系人" />
192
-        </el-form-item>
193
-        <el-form-item label="甲方单位联系电话" prop="aPhone">
194
-          <el-input v-model="form.aPhone" placeholder="请输入甲方单位联系电话" />
195
-        </el-form-item>
196
-        <el-form-item label="合作单位" prop="partnerId">
197
-          <el-input v-model="form.partnerId" placeholder="请输入合作单位" />
198
-        </el-form-item>
199
-        <el-form-item label="合作单位联系人" prop="contactPerson">
200
-          <el-input v-model="form.contactPerson" placeholder="请输入合作单位联系人" />
201
-        </el-form-item>
202
-        <el-form-item label="合作单位联系电话" prop="telephone">
203
-          <el-input v-model="form.telephone" placeholder="请输入合作单位联系电话" />
204
-        </el-form-item>
205
-        <el-form-item label="项目工期" prop="duration">
206
-          <el-input v-model="form.duration" placeholder="请输入项目工期" />
207
-        </el-form-item>
208
-        <el-form-item label="合同金额" prop="amount">
209
-          <el-input v-model="form.amount" placeholder="请输入合同金额" />
210
-        </el-form-item>
211
-        <el-form-item label="备注" prop="remark">
212
-          <el-input v-model="form.remark" placeholder="请输入备注" />
64
+    <el-dialog :title="title" :visible.sync="open" width="60%" append-to-body>
65
+      <el-form ref="form" :model="form" :rules="rules">
66
+        <el-descriptions class="margin-top" :column="2" border>
67
+          <el-descriptions-item>
68
+            <template slot="label">
69
+              <span class="require_input">* </span>项目编号
70
+            </template>
71
+            <el-form-item prop="projectNumber">
72
+              <el-input v-model="form.projectNumber" placeholder="请输入项目编号" />
73
+            </el-form-item>
74
+          </el-descriptions-item>
75
+          <el-descriptions-item>
76
+            <template slot="label">
77
+              <span class="require_input">* </span>项目名称
78
+            </template>
79
+            <el-form-item prop="projectName">
80
+              <el-input v-model="form.projectName" placeholder="请输入项目名称" />
81
+            </el-form-item>
82
+          </el-descriptions-item>
83
+          <el-descriptions-item :span="2">
84
+            <template slot="label">
85
+              甲方单位
86
+            </template>
87
+            <el-form-item prop="partyAId">
88
+              <el-select allow-create v-model="form.partyAId" filterable placeholder="请选择" style="width: 100%;" clearable>
89
+                <el-option v-for="item in partyAList" :key="item.value" :label="item.partyAName" :value="item.partyAId">
90
+                </el-option>
91
+              </el-select>
92
+            </el-form-item>
93
+          </el-descriptions-item>
94
+          <el-descriptions-item>
95
+            <template slot="label">
96
+              甲方单位联系人
97
+            </template>
98
+            <el-form-item prop="aPerson">
99
+              <el-input v-model="form.aPerson" placeholder="请输入甲方单位联系人" />
100
+            </el-form-item>
101
+          </el-descriptions-item>
102
+          <el-descriptions-item>
103
+            <template slot="label">
104
+              甲方单位联系电话
105
+            </template>
106
+            <el-form-item prop="aPhone">
107
+              <el-input v-model="form.aPhone" placeholder="请输入甲方单位联系电话" />
108
+            </el-form-item>
109
+          </el-descriptions-item>
110
+          <el-descriptions-item :span="2">
111
+            <template slot="label">
112
+              合作单位
113
+            </template>
114
+            <el-form-item prop="partnerId">
115
+              <el-select allow-create v-model="form.partnerId" filterable placeholder="请选择" style="width: 100%;" clearable
116
+                @change="handleSelectPartner">
117
+                <el-option v-for="item in partnerList" :key="item.value" :label="item.partnerName"
118
+                  :value="item.partnerId">
119
+                </el-option>
120
+              </el-select>
121
+            </el-form-item>
122
+          </el-descriptions-item>
123
+          <el-descriptions-item>
124
+            <template slot="label">
125
+              合作单位联系人
126
+            </template>
127
+            <el-form-item prop="contactPerson">
128
+              <el-input v-model="form.contactPerson" placeholder="请输入合作单位联系人" />
129
+            </el-form-item>
130
+          </el-descriptions-item>
131
+          <el-descriptions-item>
132
+            <template slot="label">
133
+              合作单位联系电话
134
+            </template>
135
+            <el-form-item prop="telephone">
136
+              <el-input v-model="form.telephone" placeholder="请输入合作单位联系电话" />
137
+            </el-form-item>
138
+          </el-descriptions-item>
139
+          <el-descriptions-item :span="2">
140
+            <template slot="label">
141
+              项目概况
142
+            </template>
143
+            <el-form-item prop="content">
144
+              <el-input type="textarea" v-model="form.content" placeholder="请输入项目概况" />
145
+            </el-form-item>
146
+          </el-descriptions-item>
147
+          <el-descriptions-item>
148
+            <template slot="label">
149
+              项目工期
150
+            </template>
151
+            <el-form-item prop="duration">
152
+              <el-input v-model="form.duration" placeholder="请输入项目工期" />
153
+            </el-form-item>
154
+          </el-descriptions-item>
155
+          <el-descriptions-item>
156
+            <template slot="label">
157
+              合同金额
158
+            </template>
159
+            <el-form-item prop="amount">
160
+              <el-input v-model="form.amount" placeholder="请输入合同金额" />
161
+            </el-form-item>
162
+          </el-descriptions-item>
163
+          <el-descriptions-item :span="2">
164
+            <template slot="label">
165
+              备注
166
+            </template>
167
+            <el-form-item prop="remark">
168
+              <el-input type="textarea" v-model="form.remark" placeholder="请输入备注" />
169
+            </el-form-item>
170
+          </el-descriptions-item>
171
+        </el-descriptions>
172
+        <el-divider></el-divider>
173
+        <el-form-item label="项目进度:">
174
+          <table border="1">
175
+            <tr>
176
+              <td style="width: 80px">序号</td>
177
+              <td>截至日期</td>
178
+              <td>累计总进度(%)</td>
179
+              <td style="width: 300px">情况说明</td>
180
+              <td style="width: 80px">操作</td>
181
+            </tr>
182
+            <tr v-for="(progress, index) in progressList" :key="index">
183
+              <td>
184
+                {{ index + 1 }}
185
+              </td>
186
+              <td>
187
+                <el-date-picker type="date" placeholder="选择日期" v-model="progress.date"
188
+                  value-format="yyyy-MM-dd"></el-date-picker>
189
+              </td>
190
+              <td>
191
+                <el-input-number v-model="progress.percentage" :controls="false" style="width: 120px"></el-input-number>%
192
+              </td>
193
+              <td>
194
+                <el-input v-model="progress.situation" type="textarea"></el-input>
195
+              </td>
196
+              <td>
197
+                <el-button type="text" icon="el-icon-delete" style="color:#F56C6C" size="mini"
198
+                  @click="deleProgressItem(index)">删除行</el-button>
199
+              </td>
200
+            </tr>
201
+          </table>
202
+          <el-button icon="el-icon-plus" size="mini" @click="addProgressList()" type="primary" plain></el-button>
213
         </el-form-item>
203
         </el-form-item>
214
       </el-form>
204
       </el-form>
215
       <div slot="footer" class="dialog-footer">
205
       <div slot="footer" class="dialog-footer">
222
 
212
 
223
 <script>
213
 <script>
224
 import { listBrandProject, getBrandProject, delBrandProject, addBrandProject, updateBrandProject } from "@/api/oa/brand/brandProject";
214
 import { listBrandProject, getBrandProject, delBrandProject, addBrandProject, updateBrandProject } from "@/api/oa/brand/brandProject";
215
+import { listPartner, getPartner } from "@/api/oa/partner/partner";
216
+import { listPartyA } from "@/api/oa/partyA/partyA";
225
 
217
 
226
 export default {
218
 export default {
227
   name: "BrandProject",
219
   name: "BrandProject",
241
       total: 0,
233
       total: 0,
242
       // cmc品牌项目表格数据
234
       // cmc品牌项目表格数据
243
       brandProjectList: [],
235
       brandProjectList: [],
236
+      partnerList: [],
237
+      partyAList: [],
238
+      progressList: [
239
+        {
240
+          date: "",
241
+          percentage: "",
242
+          situation: "",
243
+        },
244
+      ],
244
       // 弹出层标题
245
       // 弹出层标题
245
       title: "",
246
       title: "",
246
       // 是否显示弹出层
247
       // 是否显示弹出层
259
         telephone: null,
260
         telephone: null,
260
         duration: null,
261
         duration: null,
261
         amount: null,
262
         amount: null,
263
+        content: null,
262
       },
264
       },
263
       // 表单参数
265
       // 表单参数
264
       form: {},
266
       form: {},
267
+      progress: {},
265
       // 表单校验
268
       // 表单校验
266
       rules: {
269
       rules: {
270
+        projectNumber: [{ required: true, message: "项目编号不能为空", trigger: "blur" }],
271
+        projectName: [{ required: true, message: "项目名称不能为空", trigger: "blur" }],
267
       }
272
       }
268
     };
273
     };
269
   },
274
   },
270
   created() {
275
   created() {
271
     this.getList();
276
     this.getList();
277
+    this.getPartnerList();
278
+    this.getPartyAList();
272
   },
279
   },
273
   methods: {
280
   methods: {
274
     /** 查询cmc品牌项目列表 */
281
     /** 查询cmc品牌项目列表 */
285
       this.open = false;
292
       this.open = false;
286
       this.reset();
293
       this.reset();
287
     },
294
     },
295
+    // 查询承接单位列表
296
+    getPartnerList() {
297
+      this.loading = true
298
+      listPartner({
299
+        pageNum: 1,
300
+        pageSize: 99999999
301
+      }).then(response => {
302
+        this.partnerList = response.rows;
303
+      })
304
+    },
305
+    // 查询业主单位列表
306
+    getPartyAList() {
307
+      this.loading = true
308
+      listPartyA({
309
+        pageNum: 1,
310
+        pageSize: 99999999
311
+      }).then(response => {
312
+        this.partyAList = response.rows;
313
+      })
314
+    },
315
+    // 选择单位
316
+    handleSelectPartner(val) {
317
+      getPartner(val).then(response => {
318
+        this.$set(this.form, 'contactPerson', response.data.contactPerson);
319
+        this.$set(this.form, 'telephone', response.data.telephone);
320
+      })
321
+    },
322
+    deleProgressItem(index) {
323
+      let arr = this.progressList;
324
+      if (arr.length == 1) {
325
+        return;
326
+      }
327
+      if (index >= 0 && index < arr.length) {
328
+        arr.splice(index, 1);
329
+      }
330
+    },
331
+    addProgressList() {
332
+      this.progressList.push({
333
+        date: "",
334
+        percentage: "",
335
+        situation: "",
336
+      });
337
+    },
288
     // 表单重置
338
     // 表单重置
289
     reset() {
339
     reset() {
290
       this.form = {
340
       this.form = {
299
         telephone: null,
349
         telephone: null,
300
         duration: null,
350
         duration: null,
301
         amount: null,
351
         amount: null,
352
+        content: null,
302
         remark: null
353
         remark: null
303
       };
354
       };
304
       this.resetForm("form");
355
       this.resetForm("form");
316
     // 多选框选中数据
367
     // 多选框选中数据
317
     handleSelectionChange(selection) {
368
     handleSelectionChange(selection) {
318
       this.ids = selection.map(item => item.projectId)
369
       this.ids = selection.map(item => item.projectId)
319
-      this.single = selection.length!==1
370
+      this.single = selection.length !== 1
320
       this.multiple = !selection.length
371
       this.multiple = !selection.length
321
     },
372
     },
322
     /** 新增按钮操作 */
373
     /** 新增按钮操作 */
323
     handleAdd() {
374
     handleAdd() {
324
       this.reset();
375
       this.reset();
325
       this.open = true;
376
       this.open = true;
326
-      this.title = "添加cmc品牌项目";
377
+      this.title = "品牌项目登记";
327
     },
378
     },
328
     /** 修改按钮操作 */
379
     /** 修改按钮操作 */
329
     handleUpdate(row) {
380
     handleUpdate(row) {
332
       getBrandProject(projectId).then(response => {
383
       getBrandProject(projectId).then(response => {
333
         this.form = response.data;
384
         this.form = response.data;
334
         this.open = true;
385
         this.open = true;
335
-        this.title = "修改cmc品牌项目";
386
+        this.title = "品牌项目修改";
336
       });
387
       });
337
     },
388
     },
338
     /** 提交按钮 */
389
     /** 提交按钮 */
358
     /** 删除按钮操作 */
409
     /** 删除按钮操作 */
359
     handleDelete(row) {
410
     handleDelete(row) {
360
       const projectIds = row.projectId || this.ids;
411
       const projectIds = row.projectId || this.ids;
361
-      this.$modal.confirm('是否确认删除cmc品牌项目编号为"' + projectIds + '"的数据项?').then(function() {
412
+      this.$modal.confirm('是否确认删除品牌项目编号为"' + projectIds + '"的数据项?').then(function () {
362
         return delBrandProject(projectIds);
413
         return delBrandProject(projectIds);
363
       }).then(() => {
414
       }).then(() => {
364
         this.getList();
415
         this.getList();
365
         this.$modal.msgSuccess("删除成功");
416
         this.$modal.msgSuccess("删除成功");
366
-      }).catch(() => {});
417
+      }).catch(() => { });
367
     },
418
     },
368
     /** 导出按钮操作 */
419
     /** 导出按钮操作 */
369
     handleExport() {
420
     handleExport() {
374
   }
425
   }
375
 };
426
 };
376
 </script>
427
 </script>
428
+<style lang="scss" scoped>
429
+@import "@/assets/styles/element-reset.scss";
430
+
431
+table {
432
+  /*边框*/
433
+  /* border: 1px solid black; */
434
+  text-align: center;
435
+  border-collapse: collapse;
436
+  /*设置背景颜色*/
437
+  /* background-color: #bfa; */
438
+}
439
+
440
+.require_input {
441
+  color: #f00;
442
+  font-size: 20px;
443
+  font-weight: bold;
444
+  display: inline-block;
445
+}
446
+</style>

+ 119
- 3
oa-ui/src/views/oa/partner/index.vue Ver arquivo

9
           @keyup.enter.native="handleQuery"
9
           @keyup.enter.native="handleQuery"
10
         />
10
         />
11
       </el-form-item>
11
       </el-form-item>
12
+      <el-form-item label="联系人" prop="contactPerson">
13
+        <el-input
14
+          v-model="queryParams.contactPerson"
15
+          placeholder="请输入联系人"
16
+          clearable
17
+          @keyup.enter.native="handleQuery"
18
+        />
19
+      </el-form-item>
20
+      <el-form-item label="联系电话" prop="telephone">
21
+        <el-input
22
+          v-model="queryParams.telephone"
23
+          placeholder="请输入联系电话"
24
+          clearable
25
+          @keyup.enter.native="handleQuery"
26
+        />
27
+      </el-form-item>
28
+      <el-form-item label="资质等级" prop="qualification">
29
+        <el-input
30
+          v-model="queryParams.qualification"
31
+          placeholder="请输入资质等级"
32
+          clearable
33
+          @keyup.enter.native="handleQuery"
34
+        />
35
+      </el-form-item>
36
+      <el-form-item label="内业规模" prop="inWorker">
37
+        <el-input
38
+          v-model="queryParams.inWorker"
39
+          placeholder="请输入内业规模"
40
+          clearable
41
+          @keyup.enter.native="handleQuery"
42
+        />
43
+      </el-form-item>
44
+      <el-form-item label="外业规模" prop="outWorker">
45
+        <el-input
46
+          v-model="queryParams.outWorker"
47
+          placeholder="请输入外业规模"
48
+          clearable
49
+          @keyup.enter.native="handleQuery"
50
+        />
51
+      </el-form-item>
52
+      <el-form-item label="主要技术装备" prop="equipment">
53
+        <el-input
54
+          v-model="queryParams.equipment"
55
+          placeholder="请输入主要技术装备"
56
+          clearable
57
+          @keyup.enter.native="handleQuery"
58
+        />
59
+      </el-form-item>
60
+      <el-form-item label="擅长业务方向" prop="strength">
61
+        <el-input
62
+          v-model="queryParams.strength"
63
+          placeholder="请输入擅长业务方向"
64
+          clearable
65
+          @keyup.enter.native="handleQuery"
66
+        />
67
+      </el-form-item>
68
+      <el-form-item label="履约能力评价" prop="fulfill">
69
+        <el-input
70
+          v-model="queryParams.fulfill"
71
+          placeholder="请输入履约能力评价"
72
+          clearable
73
+          @keyup.enter.native="handleQuery"
74
+        />
75
+      </el-form-item>
12
       <el-form-item>
76
       <el-form-item>
13
         <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
77
         <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
14
         <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
78
         <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
63
 
127
 
64
     <el-table v-loading="loading" :data="partnerList" @selection-change="handleSelectionChange">
128
     <el-table v-loading="loading" :data="partnerList" @selection-change="handleSelectionChange">
65
       <el-table-column type="selection" width="55" align="center" />
129
       <el-table-column type="selection" width="55" align="center" />
66
-      <el-table-column label="合作单位id" align="center" prop="partnerId" />
67
       <el-table-column label="单位名称" align="center" prop="partnerName" />
130
       <el-table-column label="单位名称" align="center" prop="partnerName" />
131
+      <el-table-column label="联系人" align="center" prop="contactPerson" />
132
+      <el-table-column label="联系电话" align="center" prop="telephone" />
133
+      <el-table-column label="资质等级" align="center" prop="qualification" />
134
+      <el-table-column label="内业规模" align="center" prop="inWorker" />
135
+      <el-table-column label="外业规模" align="center" prop="outWorker" />
136
+      <el-table-column label="主要技术装备" align="center" prop="equipment" />
137
+      <el-table-column label="擅长业务方向" align="center" prop="strength" />
138
+      <el-table-column label="履约能力评价" align="center" prop="fulfill" />
139
+      <el-table-column label="备注说明" align="center" prop="remark" />
68
       <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
140
       <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
69
         <template slot-scope="scope">
141
         <template slot-scope="scope">
70
           <el-button
142
           <el-button
99
         <el-form-item label="单位名称" prop="partnerName">
171
         <el-form-item label="单位名称" prop="partnerName">
100
           <el-input v-model="form.partnerName" placeholder="请输入单位名称" />
172
           <el-input v-model="form.partnerName" placeholder="请输入单位名称" />
101
         </el-form-item>
173
         </el-form-item>
174
+        <el-form-item label="联系人" prop="contactPerson">
175
+          <el-input v-model="form.contactPerson" placeholder="请输入联系人" />
176
+        </el-form-item>
177
+        <el-form-item label="联系电话" prop="telephone">
178
+          <el-input v-model="form.telephone" placeholder="请输入联系电话" />
179
+        </el-form-item>
180
+        <el-form-item label="资质等级" prop="qualification">
181
+          <el-input v-model="form.qualification" placeholder="请输入资质等级" />
182
+        </el-form-item>
183
+        <el-form-item label="内业规模" prop="inWorker">
184
+          <el-input v-model="form.inWorker" placeholder="请输入内业规模" />
185
+        </el-form-item>
186
+        <el-form-item label="外业规模" prop="outWorker">
187
+          <el-input v-model="form.outWorker" placeholder="请输入外业规模" />
188
+        </el-form-item>
189
+        <el-form-item label="主要技术装备" prop="equipment">
190
+          <el-input v-model="form.equipment" placeholder="请输入主要技术装备" />
191
+        </el-form-item>
192
+        <el-form-item label="擅长业务方向" prop="strength">
193
+          <el-input v-model="form.strength" placeholder="请输入擅长业务方向" />
194
+        </el-form-item>
195
+        <el-form-item label="履约能力评价" prop="fulfill">
196
+          <el-input v-model="form.fulfill" placeholder="请输入履约能力评价" />
197
+        </el-form-item>
198
+        <el-form-item label="备注说明" prop="remark">
199
+          <el-input v-model="form.remark" placeholder="请输入备注说明" />
200
+        </el-form-item>
102
       </el-form>
201
       </el-form>
103
       <div slot="footer" class="dialog-footer">
202
       <div slot="footer" class="dialog-footer">
104
         <el-button type="primary" @click="submitForm">确 定</el-button>
203
         <el-button type="primary" @click="submitForm">确 定</el-button>
137
       queryParams: {
236
       queryParams: {
138
         pageNum: 1,
237
         pageNum: 1,
139
         pageSize: 10,
238
         pageSize: 10,
140
-        partnerName: null
239
+        partnerName: null,
240
+        contactPerson: null,
241
+        telephone: null,
242
+        qualification: null,
243
+        inWorker: null,
244
+        outWorker: null,
245
+        equipment: null,
246
+        strength: null,
247
+        fulfill: null,
141
       },
248
       },
142
       // 表单参数
249
       // 表单参数
143
       form: {},
250
       form: {},
168
     reset() {
275
     reset() {
169
       this.form = {
276
       this.form = {
170
         partnerId: null,
277
         partnerId: null,
171
-        partnerName: null
278
+        partnerName: null,
279
+        contactPerson: null,
280
+        telephone: null,
281
+        qualification: null,
282
+        inWorker: null,
283
+        outWorker: null,
284
+        equipment: null,
285
+        strength: null,
286
+        fulfill: null,
287
+        remark: null
172
       };
288
       };
173
       this.resetForm("form");
289
       this.resetForm("form");
174
     },
290
     },

+ 278
- 0
oa-ui/src/views/oa/partyA/index.vue Ver arquivo

1
+<template>
2
+  <div class="app-container">
3
+    <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
4
+      <el-form-item label="单位名称" prop="partyAName">
5
+        <el-input
6
+          v-model="queryParams.partyAName"
7
+          placeholder="请输入单位名称"
8
+          clearable
9
+          @keyup.enter.native="handleQuery"
10
+        />
11
+      </el-form-item>
12
+      <el-form-item label="联系人" prop="aPerson">
13
+        <el-input
14
+          v-model="queryParams.aPerson"
15
+          placeholder="请输入联系人"
16
+          clearable
17
+          @keyup.enter.native="handleQuery"
18
+        />
19
+      </el-form-item>
20
+      <el-form-item label="联系电话" prop="aPhone">
21
+        <el-input
22
+          v-model="queryParams.aPhone"
23
+          placeholder="请输入联系电话"
24
+          clearable
25
+          @keyup.enter.native="handleQuery"
26
+        />
27
+      </el-form-item>
28
+      <el-form-item>
29
+        <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
30
+        <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
31
+      </el-form-item>
32
+    </el-form>
33
+
34
+    <el-row :gutter="10" class="mb8">
35
+      <el-col :span="1.5">
36
+        <el-button
37
+          type="primary"
38
+          plain
39
+          icon="el-icon-plus"
40
+          size="mini"
41
+          @click="handleAdd"
42
+          v-hasPermi="['oa:partyA:add']"
43
+        >新增</el-button>
44
+      </el-col>
45
+      <el-col :span="1.5">
46
+        <el-button
47
+          type="success"
48
+          plain
49
+          icon="el-icon-edit"
50
+          size="mini"
51
+          :disabled="single"
52
+          @click="handleUpdate"
53
+          v-hasPermi="['oa:partyA:edit']"
54
+        >修改</el-button>
55
+      </el-col>
56
+      <el-col :span="1.5">
57
+        <el-button
58
+          type="danger"
59
+          plain
60
+          icon="el-icon-delete"
61
+          size="mini"
62
+          :disabled="multiple"
63
+          @click="handleDelete"
64
+          v-hasPermi="['oa:partyA:remove']"
65
+        >删除</el-button>
66
+      </el-col>
67
+      <el-col :span="1.5">
68
+        <el-button
69
+          type="warning"
70
+          plain
71
+          icon="el-icon-download"
72
+          size="mini"
73
+          @click="handleExport"
74
+          v-hasPermi="['oa:partyA:export']"
75
+        >导出</el-button>
76
+      </el-col>
77
+      <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
78
+    </el-row>
79
+
80
+    <el-table v-loading="loading" :data="partyAList" @selection-change="handleSelectionChange">
81
+      <el-table-column type="selection" width="55" align="center" />
82
+      <el-table-column label="合作单位id" align="center" prop="partyAId" />
83
+      <el-table-column label="单位名称" align="center" prop="partyAName" />
84
+      <el-table-column label="联系人" align="center" prop="aPerson" />
85
+      <el-table-column label="联系电话" align="center" prop="aPhone" />
86
+      <el-table-column label="备注说明" align="center" prop="remark" />
87
+      <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
88
+        <template slot-scope="scope">
89
+          <el-button
90
+            size="mini"
91
+            type="text"
92
+            icon="el-icon-edit"
93
+            @click="handleUpdate(scope.row)"
94
+            v-hasPermi="['oa:partyA:edit']"
95
+          >修改</el-button>
96
+          <el-button
97
+            size="mini"
98
+            type="text"
99
+            icon="el-icon-delete"
100
+            @click="handleDelete(scope.row)"
101
+            v-hasPermi="['oa:partyA:remove']"
102
+          >删除</el-button>
103
+        </template>
104
+      </el-table-column>
105
+    </el-table>
106
+    
107
+    <pagination
108
+      v-show="total>0"
109
+      :total="total"
110
+      :page.sync="queryParams.pageNum"
111
+      :limit.sync="queryParams.pageSize"
112
+      @pagination="getList"
113
+    />
114
+
115
+    <!-- 添加或修改cmc业主单位对话框 -->
116
+    <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
117
+      <el-form ref="form" :model="form" :rules="rules" label-width="80px">
118
+        <el-form-item label="单位名称" prop="partyAName">
119
+          <el-input v-model="form.partyAName" placeholder="请输入单位名称" />
120
+        </el-form-item>
121
+        <el-form-item label="联系人" prop="aPerson">
122
+          <el-input v-model="form.aPerson" placeholder="请输入联系人" />
123
+        </el-form-item>
124
+        <el-form-item label="联系电话" prop="aPhone">
125
+          <el-input v-model="form.aPhone" placeholder="请输入联系电话" />
126
+        </el-form-item>
127
+        <el-form-item label="备注说明" prop="remark">
128
+          <el-input v-model="form.remark" placeholder="请输入备注说明" />
129
+        </el-form-item>
130
+      </el-form>
131
+      <div slot="footer" class="dialog-footer">
132
+        <el-button type="primary" @click="submitForm">确 定</el-button>
133
+        <el-button @click="cancel">取 消</el-button>
134
+      </div>
135
+    </el-dialog>
136
+  </div>
137
+</template>
138
+
139
+<script>
140
+import { listPartyA, getPartyA, delPartyA, addPartyA, updatePartyA } from "@/api/oa/partyA/partyA";
141
+
142
+export default {
143
+  name: "PartyA",
144
+  data() {
145
+    return {
146
+      // 遮罩层
147
+      loading: true,
148
+      // 选中数组
149
+      ids: [],
150
+      // 非单个禁用
151
+      single: true,
152
+      // 非多个禁用
153
+      multiple: true,
154
+      // 显示搜索条件
155
+      showSearch: true,
156
+      // 总条数
157
+      total: 0,
158
+      // cmc业主单位表格数据
159
+      partyAList: [],
160
+      // 弹出层标题
161
+      title: "",
162
+      // 是否显示弹出层
163
+      open: false,
164
+      // 查询参数
165
+      queryParams: {
166
+        pageNum: 1,
167
+        pageSize: 10,
168
+        partyAName: null,
169
+        aPerson: null,
170
+        aPhone: null,
171
+      },
172
+      // 表单参数
173
+      form: {},
174
+      // 表单校验
175
+      rules: {
176
+      }
177
+    };
178
+  },
179
+  created() {
180
+    this.getList();
181
+  },
182
+  methods: {
183
+    /** 查询cmc业主单位列表 */
184
+    getList() {
185
+      this.loading = true;
186
+      listPartyA(this.queryParams).then(response => {
187
+        this.partyAList = response.rows;
188
+        this.total = response.total;
189
+        this.loading = false;
190
+      });
191
+    },
192
+    // 取消按钮
193
+    cancel() {
194
+      this.open = false;
195
+      this.reset();
196
+    },
197
+    // 表单重置
198
+    reset() {
199
+      this.form = {
200
+        partyAId: null,
201
+        partyAName: null,
202
+        aPerson: null,
203
+        aPhone: null,
204
+        remark: null
205
+      };
206
+      this.resetForm("form");
207
+    },
208
+    /** 搜索按钮操作 */
209
+    handleQuery() {
210
+      this.queryParams.pageNum = 1;
211
+      this.getList();
212
+    },
213
+    /** 重置按钮操作 */
214
+    resetQuery() {
215
+      this.resetForm("queryForm");
216
+      this.handleQuery();
217
+    },
218
+    // 多选框选中数据
219
+    handleSelectionChange(selection) {
220
+      this.ids = selection.map(item => item.partyAId)
221
+      this.single = selection.length!==1
222
+      this.multiple = !selection.length
223
+    },
224
+    /** 新增按钮操作 */
225
+    handleAdd() {
226
+      this.reset();
227
+      this.open = true;
228
+      this.title = "添加cmc业主单位";
229
+    },
230
+    /** 修改按钮操作 */
231
+    handleUpdate(row) {
232
+      this.reset();
233
+      const partyAId = row.partyAId || this.ids
234
+      getPartyA(partyAId).then(response => {
235
+        this.form = response.data;
236
+        this.open = true;
237
+        this.title = "修改cmc业主单位";
238
+      });
239
+    },
240
+    /** 提交按钮 */
241
+    submitForm() {
242
+      this.$refs["form"].validate(valid => {
243
+        if (valid) {
244
+          if (this.form.partyAId != null) {
245
+            updatePartyA(this.form).then(response => {
246
+              this.$modal.msgSuccess("修改成功");
247
+              this.open = false;
248
+              this.getList();
249
+            });
250
+          } else {
251
+            addPartyA(this.form).then(response => {
252
+              this.$modal.msgSuccess("新增成功");
253
+              this.open = false;
254
+              this.getList();
255
+            });
256
+          }
257
+        }
258
+      });
259
+    },
260
+    /** 删除按钮操作 */
261
+    handleDelete(row) {
262
+      const partyAIds = row.partyAId || this.ids;
263
+      this.$modal.confirm('是否确认删除cmc业主单位编号为"' + partyAIds + '"的数据项?').then(function() {
264
+        return delPartyA(partyAIds);
265
+      }).then(() => {
266
+        this.getList();
267
+        this.$modal.msgSuccess("删除成功");
268
+      }).catch(() => {});
269
+    },
270
+    /** 导出按钮操作 */
271
+    handleExport() {
272
+      this.download('oa/partyA/export', {
273
+        ...this.queryParams
274
+      }, `partyA_${new Date().getTime()}.xlsx`)
275
+    }
276
+  }
277
+};
278
+</script>

+ 1
- 7
oa-ui/src/views/oa/project/info.vue Ver arquivo

56
                 <svg-icon slot="prefix" icon-class="school" />
56
                 <svg-icon slot="prefix" icon-class="school" />
57
                 甲方单位
57
                 甲方单位
58
               </template>
58
               </template>
59
-              {{ project.partyA }}
59
+              {{ project.partyA.partyAName }}
60
             </el-descriptions-item>
60
             </el-descriptions-item>
61
             <el-descriptions-item>
61
             <el-descriptions-item>
62
               <template slot="label">
62
               <template slot="label">
469
           let deptArr = this.project.undertakingDept.split(',');
469
           let deptArr = this.project.undertakingDept.split(',');
470
           let undertakingDept = []
470
           let undertakingDept = []
471
           for (let dept of deptArr) {
471
           for (let dept of deptArr) {
472
-            getDept(dept).then(res => {
473
-              if (res.data) {
474
-                undertakingDept.push(res.data.deptName);
475
-                this.$set(this.project, 'undertakingDeptName', undertakingDept.join(','))
476
-              }
477
-            })
478
             getUsersDeptLeaderByDept({ deptId: Number(dept) }).then(res => {
472
             getUsersDeptLeaderByDept({ deptId: Number(dept) }).then(res => {
479
               this.deptLeaderList.push(res.data.nickName);
473
               this.deptLeaderList.push(res.data.nickName);
480
             })
474
             })

+ 23
- 11
oa-ui/src/views/oa/tender/index.vue Ver arquivo

2
   <div class="app-container">
2
   <div class="app-container">
3
     <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
3
     <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
4
       <el-form-item label="投标项目名称" prop="projectName" label-width="100px">
4
       <el-form-item label="投标项目名称" prop="projectName" label-width="100px">
5
-        <el-input v-model="queryParams.projectName" placeholder="请输入投标项目名称" clearable
6
-          @keyup.enter.native="handleQuery" />
7
-      </el-form-item>
8
-      <el-form-item label="招标业主" prop="partyA">
9
-        <el-input v-model="queryParams.partyA" placeholder="请输入招标业主" clearable @keyup.enter.native="handleQuery" />
5
+        <el-input v-model="queryParams.projectName" placeholder="请输入投标项目名称" clearable @keyup.enter.native="handleQuery" />
10
       </el-form-item>
6
       </el-form-item>
11
       <el-form-item label="投标时间" prop="tenderTime">
7
       <el-form-item label="投标时间" prop="tenderTime">
12
         <el-date-picker clearable v-model="queryParams.tenderTime" type="date" value-format="yyyy-MM-dd"
8
         <el-date-picker clearable v-model="queryParams.tenderTime" type="date" value-format="yyyy-MM-dd"
40
       <el-table-column type="index" label="序号" width="55" align="center" min-width="100px" />
36
       <el-table-column type="index" label="序号" width="55" align="center" min-width="100px" />
41
       <!-- <el-table-column label="投标id" align="center" prop="tenderId" min-width="100px" /> -->
37
       <!-- <el-table-column label="投标id" align="center" prop="tenderId" min-width="100px" /> -->
42
       <el-table-column label="投标项目名称" align="center" prop="projectName" min-width="100px" />
38
       <el-table-column label="投标项目名称" align="center" prop="projectName" min-width="100px" />
43
-      <el-table-column label="招标业主" align="center" prop="partyA" min-width="100px" />
39
+      <el-table-column label="招标业主" align="center" prop="partyA.partyAName" min-width="100px" />
44
       <!-- <el-table-column label="业主联系人" align="center" prop="aPerson" min-width="100px" /> -->
40
       <!-- <el-table-column label="业主联系人" align="center" prop="aPerson" min-width="100px" /> -->
45
       <!-- <el-table-column label="业主联系电话" align="center" prop="aPhone" min-width="100px" /> -->
41
       <!-- <el-table-column label="业主联系电话" align="center" prop="aPhone" min-width="100px" /> -->
46
       <el-table-column label="招标代理" align="center" prop="agent" min-width="100px" />
42
       <el-table-column label="招标代理" align="center" prop="agent" min-width="100px" />
120
             <template slot="label">
116
             <template slot="label">
121
               <span class="require_input">* </span>招标业主
117
               <span class="require_input">* </span>招标业主
122
             </template>
118
             </template>
123
-            <el-form-item prop="partyA">
124
-              <el-input v-model="form.partyA"></el-input>
119
+            <el-form-item prop="partyAId">
120
+              <el-select allow-create v-model="form.partyAId" filterable placeholder="请选择" style="width: 100%;" clearable>
121
+                <el-option v-for="item in partyAList" :key="item.value" :label="item.partyAName" :value="item.partyAId">
122
+                </el-option>
123
+              </el-select>
125
             </el-form-item>
124
             </el-form-item>
126
           </el-descriptions-item>
125
           </el-descriptions-item>
127
           <el-descriptions-item>
126
           <el-descriptions-item>
386
 import { listDept } from '@/api/system/dept'
385
 import { listDept } from '@/api/system/dept'
387
 import { listUser, deptTreeSelect } from "@/api/system/user";
386
 import { listUser, deptTreeSelect } from "@/api/system/user";
388
 import { Snowflake } from '@/utils/snowFlake.js'
387
 import { Snowflake } from '@/utils/snowFlake.js'
388
+import { listPartyA } from "@/api/oa/partyA/partyA";
389
 export default {
389
 export default {
390
   name: "Tender",
390
   name: "Tender",
391
   data() {
391
   data() {
405
       total: 0,
405
       total: 0,
406
       // 投标管理表格数据
406
       // 投标管理表格数据
407
       tenderList: [],
407
       tenderList: [],
408
+      partyAList: [],
408
       // 弹出层标题
409
       // 弹出层标题
409
       title: "",
410
       title: "",
410
       // 是否显示弹出层
411
       // 是否显示弹出层
421
         pageNum: 1,
422
         pageNum: 1,
422
         pageSize: 10,
423
         pageSize: 10,
423
         projectName: null,
424
         projectName: null,
424
-        partyA: null,
425
+        partyAId: null,
425
         aPerson: null,
426
         aPerson: null,
426
         aPhone: null,
427
         aPhone: null,
427
         agent: null,
428
         agent: null,
456
         projectName: [
457
         projectName: [
457
           { required: true, message: '投标项目名称不能为空', trigger: 'blur' }
458
           { required: true, message: '投标项目名称不能为空', trigger: 'blur' }
458
         ],
459
         ],
459
-        partyA: [
460
+        partyAId: [
460
           { required: true, message: '招标业主不能为空', trigger: 'blur' }
461
           { required: true, message: '招标业主不能为空', trigger: 'blur' }
461
         ],
462
         ],
462
         budget: [
463
         budget: [
511
   },
512
   },
512
   created() {
513
   created() {
513
     this.getList();
514
     this.getList();
515
+    this.getPartyAList();
514
     this.getDeptTree();
516
     this.getDeptTree();
515
     if (this.$store.state.app.device == 'mobile') {
517
     if (this.$store.state.app.device == 'mobile') {
516
       this.dialogProperty.column = 1
518
       this.dialogProperty.column = 1
555
         return curDept[0].label
557
         return curDept[0].label
556
       }
558
       }
557
     },
559
     },
560
+    // 查询业主单位列表
561
+    getPartyAList() {
562
+      this.loading = true
563
+      listPartyA({
564
+        pageNum: 1,
565
+        pageSize: 99999999
566
+      }).then(response => {
567
+        this.partyAList = response.rows;
568
+      })
569
+    },
558
     // 取消按钮
570
     // 取消按钮
559
     cancel() {
571
     cancel() {
560
       this.open = false;
572
       this.open = false;
565
       this.form = {
577
       this.form = {
566
         tenderId: null,
578
         tenderId: null,
567
         projectName: null,
579
         projectName: null,
568
-        partyA: null,
580
+        partyAId: null,
569
         aPerson: null,
581
         aPerson: null,
570
         aPhone: null,
582
         aPhone: null,
571
         agent: null,
583
         agent: null,

Carregando…
Cancelar
Salvar