浏览代码

数据更新

lamphua 11 个月前
父节点
当前提交
e88af97c80

+ 1
- 1
oa-back/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/CmcDepositController.java 查看文件

@@ -76,7 +76,7 @@ public class CmcDepositController extends BaseController
76 76
     public AjaxResult add(@RequestBody CmcDeposit cmcDeposit)
77 77
     {
78 78
         if (cmcDeposit.getContractId() != null && cmcDeposit.getTenderId() == null) {
79
-            cmcDeposit.setTenderId("0");
79
+            cmcDeposit.setTenderId(0);
80 80
         }
81 81
         if (cmcDeposit.getTenderId() != null && cmcDeposit.getContractId() == null) {
82 82
             cmcDeposit.setContractId("0");

+ 0
- 3
oa-back/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/CmcTenderController.java 查看文件

@@ -37,9 +37,6 @@ public class CmcTenderController extends BaseController
37 37
     @Autowired
38 38
     private ICmcTenderService cmcTenderService;
39 39
 
40
-    @Autowired
41
-    private ICmcPartyAService cmcPartyAService;
42
-
43 40
     /**
44 41
      * 查询投标管理列表
45 42
      */

+ 3
- 3
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/domain/CmcContract.java 查看文件

@@ -35,7 +35,7 @@ public class CmcContract extends BaseEntity
35 35
     private String contractNumber;
36 36
 
37 37
     /** 投标项目 */
38
-    private String tenderId;
38
+    private Integer tenderId;
39 39
 
40 40
     @Excel(name = "投标项目")
41 41
     private String tenderName;
@@ -156,12 +156,12 @@ public class CmcContract extends BaseEntity
156 156
     {
157 157
         return contractNumber;
158 158
     }
159
-    public void setTenderId(String tenderId)
159
+    public void setTenderId(Integer tenderId)
160 160
     {
161 161
         this.tenderId = tenderId;
162 162
     }
163 163
 
164
-    public String getTenderId()
164
+    public Integer getTenderId()
165 165
     {
166 166
         return tenderId;
167 167
     }

+ 3
- 3
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/domain/CmcDeposit.java 查看文件

@@ -26,7 +26,7 @@ public class CmcDeposit extends BaseEntity
26 26
     private String depositType;
27 27
 
28 28
     /** 投标项目id */
29
-    private String tenderId;
29
+    private Integer tenderId;
30 30
     @Excel(name = "投标项目名称")
31 31
     private String projectName;
32 32
     private CmcTender tender;
@@ -142,12 +142,12 @@ public class CmcDeposit extends BaseEntity
142 142
     {
143 143
         return depositType;
144 144
     }
145
-    public void setTenderId(String tenderId) 
145
+    public void setTenderId(Integer tenderId)
146 146
     {
147 147
         this.tenderId = tenderId;
148 148
     }
149 149
 
150
-    public String getTenderId() 
150
+    public Integer getTenderId()
151 151
     {
152 152
         return tenderId;
153 153
     }

+ 9
- 20
oa-back/ruoyi-system/src/main/java/com/ruoyi/oa/domain/CmcTender.java 查看文件

@@ -21,17 +21,15 @@ public class CmcTender extends BaseEntity
21 21
     private static final long serialVersionUID = 1L;
22 22
 
23 23
     /** 投标id(2024-001) */
24
-    private String tenderId;
24
+    private Integer tenderId;
25 25
 
26 26
     /** 投标项目名称 */
27 27
     @Excel(name = "投标项目名称")
28 28
     private String projectName;
29 29
 
30 30
     /** 招标业主 */
31
-    private String partyAId;
32
-
33 31
     @Excel(name = "招标业主")
34
-    private CmcPartyA partyA;
32
+    private String partyAName;
35 33
 
36 34
     /** 业主联系人 */
37 35
     @Excel(name = "业主联系人")
@@ -154,12 +152,12 @@ public class CmcTender extends BaseEntity
154 152
     private String tenderDeptName;
155 153
     private SysDept tenderDept;
156 154
 
157
-    public void setTenderId(String tenderId) 
155
+    public void setTenderId(Integer tenderId)
158 156
     {
159 157
         this.tenderId = tenderId;
160 158
     }
161 159
 
162
-    public String getTenderId() 
160
+    public Integer getTenderId()
163 161
     {
164 162
         return tenderId;
165 163
     }
@@ -172,23 +170,14 @@ public class CmcTender extends BaseEntity
172 170
     {
173 171
         return projectName;
174 172
     }
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)
173
+    public void setPartyAName(String partyAName)
185 174
     {
186
-        this.partyA = partyA;
175
+        this.partyAName = partyAName;
187 176
     }
188 177
 
189
-    public CmcPartyA getPartyA()
178
+    public String getPartyAName()
190 179
     {
191
-        return partyA;
180
+        return partyAName;
192 181
     }
193 182
     public void setaPerson(String aPerson) 
194 183
     {
@@ -483,7 +472,7 @@ public class CmcTender extends BaseEntity
483 472
         return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
484 473
             .append("tenderId", getTenderId())
485 474
             .append("projectName", getProjectName())
486
-            .append("partyAId", getPartyAId())
475
+            .append("partyAName", getPartyAName())
487 476
             .append("aPerson", getaPerson())
488 477
             .append("aPhone", getaPhone())
489 478
             .append("agent", getAgent())

+ 2
- 2
oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcContractMapper.xml 查看文件

@@ -37,7 +37,7 @@
37 37
     <resultMap type="CmcTender" id="CmcTenderResult">
38 38
         <result property="tenderId"    column="tender_id"    />
39 39
         <result property="projectName"    column="project_name"    />
40
-        <result property="partyAId"    column="party_a_id"    />
40
+        <result property="partyAName"    column="party_a_name"    />
41 41
         <result property="aPerson"    column="a_person"    />
42 42
         <result property="aPhone"    column="a_phone"    />
43 43
         <result property="agent"    column="agent"    />
@@ -66,7 +66,7 @@
66 66
     </resultMap>
67 67
 
68 68
     <sql id="selectCmcContractVo">
69
-        select c.contract_id, c.contract_code, c.contract_name, c.contract_number, c.tender_id, c.party_a_id, pa.party_a_name, t.project_name as project_name, t.party_a_id as party_a_id, t.a_person as a_person,
69
+        select c.contract_id, c.contract_code, c.contract_name, c.contract_number, c.tender_id, c.party_a_id, pa.party_a_name, t.project_name as project_name, t.a_person as a_person,
70 70
                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,
71 71
                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,
72 72
                c.manager_time, c.gm_user_id, u2.nick_name as gm_nick_name, c.gm_time, c.gm_comment from cmc_contract as c

+ 9
- 1
oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcSettleMapper.xml 查看文件

@@ -39,6 +39,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
39 39
         <association property="managerUser"    javaType="SysUser"         resultMap="ManagerUserResult" />
40 40
         <association property="gmUser"    javaType="SysUser"         resultMap="GmUserResult" />
41 41
         <association property="dszUser"    javaType="SysUser"         resultMap="DszUserResult" />
42
+        <association property="project"    javaType="CmcProject"         resultMap="CmcProjectResult" />
42 43
     </resultMap>
43 44
 
44 45
     <resultMap type="SysUser" id="ReporterUserResult">
@@ -76,8 +77,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
76 77
         <result property="nickName"    column="dsz_nick_name"    />
77 78
     </resultMap>
78 79
 
80
+    <resultMap type="CmcProject" id="CmcProjectResult">
81
+        <result property="projectId"    column="project_id"    />
82
+        <result property="projectNumber"    column="project_number"    />
83
+        <result property="projectName"    column="project_name"    />
84
+    </resultMap>
85
+
79 86
     <sql id="selectCmcSettleVo">
80
-        select s.settle_id, s.project_id, s.workload_report, s.reporter, u.nick_name as reporter_nick_name, s.report_time, s.settle_comment, s.zh_user_id, u1.nick_name as zh_nick_name, 
87
+        select s.settle_id, s.project_id, p.project_number, p.project_name, s.workload_report, s.reporter, u.nick_name as reporter_nick_name, s.report_time, s.settle_comment, s.zh_user_id, u1.nick_name as zh_nick_name,
81 88
                s.zh_time, s.zh_comment, s.js_user_id, u2.nick_name as js_nick_name, s.js_time, s.js_comment, s.jy_user_id, u3.nick_name as jy_nick_name, s.jy_time, s.jy_comment, 
82 89
                s.manager_user_id, u4.nick_name as manager_nick_name, s.manager_time, s.manager_comment, s.gm_user_id, u5.nick_name as gm_nick_name, s.gm_time, s.gm_comment,
83 90
                s.dsz_user_id, u6.nick_name as dsz_nick_name, s.dsz_time, s.dsz_comment, s.settle_document, s.modify_document, s.final_document from cmc_settle as s
@@ -88,6 +95,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
88 95
         left join sys_user as u4 on u4.user_id = s.manager_user_id
89 96
         left join sys_user as u5 on u5.user_id = s.gm_user_id
90 97
         left join sys_user as u6 on u6.user_id = s.dsz_user_id
98
+        left join cmc_project as p on p.project_id = s.project_id
91 99
     </sql>
92 100
 
93 101
     <select id="selectCmcSettleList" parameterType="CmcSettle" resultMap="CmcSettleResult">

+ 6
- 16
oa-back/ruoyi-system/src/main/resources/mapper/oa/CmcTenderMapper.xml 查看文件

@@ -7,7 +7,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
7 7
     <resultMap type="CmcTender" id="CmcTenderResult">
8 8
         <result property="tenderId"    column="tender_id"    />
9 9
         <result property="projectName"    column="project_name"    />
10
-        <result property="partyAId"    column="party_a_id"    />
10
+        <result property="partyAName"    column="party_a_name"    />
11 11
         <result property="aPerson"    column="a_person"    />
12 12
         <result property="aPhone"    column="a_phone"    />
13 13
         <result property="agent"    column="agent"    />
@@ -39,8 +39,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
39 39
         <association property="checkerUser"    javaType="SysUser"         resultMap="CheckerUserResult" />
40 40
         <association property="printerUser"    javaType="SysUser"         resultMap="PrinterUserResult" />
41 41
         <association property="tenderDept"    javaType="SysDept"         resultMap="SysDeptResult" />
42
-        <association property="tenderDept"    javaType="SysDept"         resultMap="SysDeptResult" />
43
-        <association property="partyA"    javaType="CmcPartyA"         resultMap="CmcPartyAResult" />
44 42
     </resultMap>
45 43
 
46 44
     <resultMap type="SysUser" id="TrusteeUserResult">
@@ -78,13 +76,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
78 76
         <result property="deptName"    column="dept_name"    />
79 77
     </resultMap>
80 78
 
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
-
86 79
     <sql id="selectCmcTenderVo">
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,
80
+        select t.tender_id, t.project_name, t.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,
88 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,
89 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,
90 83
                u4.nick_name as checker_nick_name, u5.nick_name as printer_nick_name, d.dept_name from cmc_tender as t
@@ -95,14 +88,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
95 88
         left join sys_user as u4 on u4.user_id = t.tender_checker
96 89
         left join sys_user as u5 on u5.user_id = t.tender_printer
97 90
         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
99 91
     </sql>
100 92
 
101 93
     <select id="selectCmcTenderList" parameterType="CmcTender" resultMap="CmcTenderResult">
102 94
         <include refid="selectCmcTenderVo"/>
103 95
         <where>  
104 96
             <if test="projectName != null  and projectName != ''"> and t.project_name like concat('%', #{projectName}, '%')</if>
105
-            <if test="partyAId != null  and partyAId != ''"> and t.party_a_id like concat('%', #{partyAId}, '%')</if>
97
+            <if test="partyAName != null  and partyAName != ''"> and t.party_a_name like concat('%', #{partyAName}, '%')</if>
106 98
             <if test="aPerson != null  and aPerson != ''"> and t.a_person like concat('%', #{aPerson}, '%')</if>
107 99
             <if test="aPhone != null  and aPhone != ''"> and t.a_phone like concat('%', #{aPhone}, '%')</if>
108 100
             <if test="agent != null  and agent != ''"> and t.agent like concat('%', #{agent}, '%')</if>
@@ -139,9 +131,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
139 131
     <insert id="insertCmcTender" parameterType="CmcTender">
140 132
         insert into cmc_tender
141 133
         <trim prefix="(" suffix=")" suffixOverrides=",">
142
-            <if test="tenderId != null">tender_id,</if>
143 134
             <if test="projectName != null">project_name,</if>
144
-            <if test="partyAId != null">party_a_id,</if>
135
+            <if test="partyAName != null">party_a_name,</if>
145 136
             <if test="aPerson != null">a_person,</if>
146 137
             <if test="aPhone != null">a_phone,</if>
147 138
             <if test="agent != null">agent,</if>
@@ -168,9 +159,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
168 159
             <if test="tenderDocument != null">tender_document,</if>
169 160
          </trim>
170 161
         <trim prefix="values (" suffix=")" suffixOverrides=",">
171
-            <if test="tenderId != null">#{tenderId},</if>
172 162
             <if test="projectName != null">#{projectName},</if>
173
-            <if test="partyAId != null">#{partyAId},</if>
163
+            <if test="partyAName != null">#{partyAName},</if>
174 164
             <if test="aPerson != null">#{aPerson},</if>
175 165
             <if test="aPhone != null">#{aPhone},</if>
176 166
             <if test="agent != null">#{agent},</if>
@@ -202,7 +192,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
202 192
         update cmc_tender
203 193
         <trim prefix="SET" suffixOverrides=",">
204 194
             <if test="projectName != null">project_name = #{projectName},</if>
205
-            <if test="partyAId != null">party_a_id = #{partyAId},</if>
195
+            <if test="partyAName != null">party_a_name = #{partyAName},</if>
206 196
             <if test="aPerson != null">a_person = #{aPerson},</if>
207 197
             <if test="aPhone != null">a_phone = #{aPhone},</if>
208 198
             <if test="agent != null">agent = #{agent},</if>

+ 10505
- 1136
oa-back/sql/sql.sql
文件差异内容过多而无法显示
查看文件


+ 4
- 4
oa-ui/src/views/flowable/form/archiveForm.vue 查看文件

@@ -92,13 +92,13 @@
92 92
           </el-form-item>
93 93
           <el-row>
94 94
             <el-col :span="6" :xs="24" :offset="12">
95
-              <el-form-item label="签名:" label-width="120px" v-if="taskName == '技术部审核' || taskName == '成果归档'">
95
+              <el-form-item label="签名:" label-width="120px" v-if="taskName == '技术部审核' || taskName == '成果归档' || taskName == ''">
96 96
                 <span class="auditor"> {{ form.deptUser ? form.deptUser.nickName : deptUser }}
97 97
                 </span>
98 98
               </el-form-item>
99 99
             </el-col>
100 100
             <el-col :span="6">
101
-              <el-form-item label="日期:" label-width="120px" v-if="taskName == '技术部审核' || taskName == '成果归档'">
101
+              <el-form-item label="日期:" label-width="120px" v-if="taskName == '技术部审核' || taskName == '成果归档' || taskName == ''">
102 102
                 <span> {{ form.deptTime ? form.deptTime : deptTime }} </span>
103 103
               </el-form-item>
104 104
             </el-col>
@@ -112,13 +112,13 @@
112 112
           </el-form-item>
113 113
           <el-row>
114 114
             <el-col :span="6" :xs="24" :offset="12">
115
-              <el-form-item label="签名:" label-width="120px" v-if="taskName == '成果归档'">
115
+              <el-form-item label="签名:" label-width="120px" v-if="taskName == '成果归档' || taskName == ''">
116 116
                 <span class="auditor"> {{ form.archiveUser ? form.archiveUser.nickName : archiveUser }}
117 117
                 </span>
118 118
               </el-form-item>
119 119
             </el-col>
120 120
             <el-col :span="6">
121
-              <el-form-item label="归档日期:" label-width="120px" v-if="taskName == '成果归档'">
121
+              <el-form-item label="归档日期:" label-width="120px" v-if="taskName == '成果归档' || taskName == ''">
122 122
                 <span> {{ form.archiveTime ? form.archiveTime : archiveTime }} </span>
123 123
               </el-form-item>
124 124
             </el-col>

+ 4
- 4
oa-ui/src/views/flowable/form/settleForm.vue 查看文件

@@ -1,8 +1,8 @@
1 1
 <!--
2 2
  * @Author: ysh
3 3
  * @Date: 2024-04-30 09:03:14
4
- * @LastEditors: Please set LastEditors
5
- * @LastEditTime: 2024-07-11 17:44:18
4
+ * @LastEditors: wrh
5
+ * @LastEditTime: 2024-07-11 20:14:35
6 6
 -->
7 7
 <template>
8 8
   <div class="app-container" v-loading="loading">
@@ -60,7 +60,7 @@
60 60
             </el-descriptions>
61 61
           </el-form-item>
62 62
           <el-form-item label="工作量上报说明" prop="workloadReport">
63
-            <el-input v-model="form.workloadReport" type="textarea" :disabled="taskName != '结算发起'"
63
+            <el-input v-model="form.workloadReport" type="textarea" :rows="4" :disabled="taskName != '结算发起'"
64 64
               placeholder="请输入工作量上报说明" />
65 65
           </el-form-item>
66 66
           <el-row>
@@ -649,7 +649,7 @@ export default {
649 649
         ] = await Promise.all([
650 650
           getProject(res.rows[0].projectId),
651 651
           listBudget({ projectId: res.rows[0].projectId }),
652
-          listSettleWork({ settleId }),
652
+          listSettleWork({ settleId: settleId, pageSize: 30 }),
653 653
           listSettleSummary({ settleId })
654 654
         ]);
655 655
 

+ 1
- 1
oa-ui/src/views/oa/deposit/contract.vue 查看文件

@@ -255,7 +255,7 @@ export default {
255 255
     /** 查询cmc保证金审批列表 */
256 256
     getList() {
257 257
       this.loading = true;
258
-      this.queryParams.tenderId = '0';
258
+      this.queryParams.tenderId = 0;
259 259
       listDeposit(this.queryParams).then(response => {
260 260
         this.depositList = response.rows;
261 261
         this.total = response.total;

+ 8
- 45
oa-ui/src/views/oa/tender/index.vue 查看文件

@@ -40,7 +40,7 @@
40 40
       <el-table-column type="selection" width="55" align="center" min-width="100px" />
41 41
       <el-table-column type="index" label="序号" width="55" align="center" min-width="100px" />
42 42
       <el-table-column label="投标项目名称" align="center" prop="projectName" min-width="100px" />
43
-      <el-table-column label="招标业主" align="center" prop="partyA.partyAName" min-width="100px" />
43
+      <el-table-column label="招标业主" align="center" prop="partyAName" min-width="100px" />
44 44
       <el-table-column label="招标代理" align="center" prop="agent" min-width="100px" />
45 45
       <el-table-column label="招标地点" align="center" prop="place" min-width="100px" />
46 46
       <!-- <el-table-column label="投标部门" align="center" prop="dept" min-width="100px">
@@ -50,7 +50,7 @@
50 50
 </el-table-column> -->
51 51
       <el-table-column label="投标委托人" align="center" prop="trustee" min-width="100px">
52 52
         <template slot-scope="scope">
53
-          {{ getNameByUserId(scope.row.trustee) }}
53
+          {{ scope.row.trusteeUser ? scope.row.trusteeUser.nickName : '' }}
54 54
         </template>
55 55
       </el-table-column>
56 56
       <el-table-column label="业主预算" align="center" prop="budget" min-width="100px" />
@@ -116,13 +116,8 @@
116 116
             <template slot="label">
117 117
               <span class="require_input">* </span>招标业主
118 118
             </template>
119
-            <el-form-item prop="partyAId">
120
-              <el-select allow-create v-model="form.partyAId" filterable disabled placeholder="请选择" style="width: 100%;"
121
-                clearable>
122
-                <el-option v-for="item in partyAList" :key="item.value" :label="item.partyAName" :value="item.partyAId">
123
-                </el-option>
124
-              </el-select>
125
-              <el-button type="primary" @click="partyAOpen = true" size="mini">选择单位</el-button>
119
+            <el-form-item prop="partyAName">
120
+              <el-input v-model="form.partyAName"></el-input>
126 121
             </el-form-item>
127 122
           </el-descriptions-item>
128 123
           <el-descriptions-item>
@@ -379,10 +374,6 @@
379 374
         <el-button @click="cancel">取 消</el-button>
380 375
       </div>
381 376
     </el-dialog>
382
-
383
-    <el-dialog title="选择甲方单位" :visible.sync="partyAOpen" width="70%" append-to-body>
384
-      <ChoosePartyA @confirm="confirmPartyA"></ChoosePartyA>
385
-    </el-dialog>
386 377
   </div>
387 378
 </template>
388 379
 
@@ -390,13 +381,9 @@
390 381
 import { listTender, getTender, delTender, addTender, updateTender } from "@/api/oa/tender/tender";
391 382
 import { listDept } from '@/api/system/dept'
392 383
 import { listUser, deptTreeSelect } from "@/api/system/user";
393
-import { Snowflake } from '@/utils/snowFlake.js'
394
-import { listPartyA } from "@/api/oa/partyA/partyA";
395
-import ChoosePartyA from '@/views/flowable/form/components/choosePartyA.vue';
396 384
 export default {
397 385
   name: "Tender",
398 386
   components:{
399
-    ChoosePartyA
400 387
   },
401 388
   data() {
402 389
     return {
@@ -415,12 +402,10 @@ export default {
415 402
       total: 0,
416 403
       // 投标管理表格数据
417 404
       tenderList: [],
418
-      partyAList: [],
419 405
       // 弹出层标题
420 406
       title: "",
421 407
       // 是否显示弹出层
422 408
       open: false,
423
-      partyAOpen: false,
424 409
       isView: true,
425 410
       // 对话框属性
426 411
       dialogProperty: {
@@ -433,7 +418,7 @@ export default {
433 418
         pageNum: 1,
434 419
         pageSize: 10,
435 420
         projectName: null,
436
-        partyAId: null,
421
+        partyAName: null,
437 422
         aPerson: null,
438 423
         aPhone: null,
439 424
         agent: null,
@@ -468,7 +453,7 @@ export default {
468 453
         projectName: [
469 454
           { required: true, message: '投标项目名称不能为空', trigger: 'blur' }
470 455
         ],
471
-        partyAId: [
456
+        partyAName: [
472 457
           { required: true, message: '招标业主不能为空', trigger: 'blur' }
473 458
         ],
474 459
         budget: [
@@ -523,7 +508,6 @@ export default {
523 508
   },
524 509
   created() {
525 510
     this.getList();
526
-    this.getPartyAList();
527 511
     this.getDeptTree();
528 512
     if (this.$store.state.app.device == 'mobile') {
529 513
       this.dialogProperty.column = 1
@@ -541,7 +525,7 @@ export default {
541 525
       });
542 526
     },/** 查询用户列表 */
543 527
     getUserList() {
544
-      listUser({ pageNum: 1, pageSize: 99999, deptId: this.form.dept }).then(response => {
528
+      listUser({ pageNum: 1, pageSize: 99999 }).then(response => {
545 529
         this.userList = response.rows;
546 530
       }
547 531
       );
@@ -568,16 +552,6 @@ export default {
568 552
         return curDept[0].label
569 553
       }
570 554
     },
571
-    // 查询业主单位列表
572
-    getPartyAList() {
573
-      this.loading = true
574
-      listPartyA({
575
-        pageNum: 1,
576
-        pageSize: 99999999
577
-      }).then(response => {
578
-        this.partyAList = response.rows;
579
-      })
580
-    },
581 555
     // 取消按钮
582 556
     cancel() {
583 557
       this.open = false;
@@ -588,7 +562,7 @@ export default {
588 562
       this.form = {
589 563
         tenderId: null,
590 564
         projectName: null,
591
-        partyAId: null,
565
+        partyAName: null,
592 566
         aPerson: null,
593 567
         aPhone: null,
594 568
         agent: null,
@@ -673,7 +647,6 @@ export default {
673 647
               this.getList();
674 648
             });
675 649
           } else {
676
-            this.form.tenderId = new Snowflake(1n, 1n, 0n).nextId().toString();
677 650
             addTender(this.form).then(response => {
678 651
               this.$modal.msgSuccess("新增成功");
679 652
               this.open = false;
@@ -733,16 +706,6 @@ export default {
733 706
       this.open = false
734 707
       this.reviewWord(url)
735 708
     },
736
-    confirmPartyA(val) {
737
-      this.partyAOpen = false
738
-      if (val && val.length > 1) {
739
-        return this.$message.error('请选择一个甲方单位')
740
-      }
741
-      if (val) {
742
-        this.getPartyAList();
743
-        this.$set(this.form, 'partyAId', val[0].partyAId)
744
-      }
745
-    }
746 709
   }
747 710
 };
748 711
 </script>

正在加载...
取消
保存