wangxiaogang 3 жил өмнө
parent
commit
8d19dbc2b6

+ 1 - 1
src/router.js

@@ -75,7 +75,7 @@ const routes = [
     {
         path: '/dataManage/msgManage/sendDetail',
         name: 'sendDetail',
-        component: () => import('./views/dataManage/msgManage/sendDetail.vue')
+        component: () => import('./views/msgManage/sendDetail.vue')
     }
 ];
 

+ 59 - 24
src/views/msgCollect/inforAuditDetail.vue

@@ -1,51 +1,72 @@
 <template>
   <div class="infor-detail">
-    <h1>机构审核 / {{auditStatus.type == 'audit'?'审核':'查看'}}</h1>
+    <h1>信息发布审核 / {{auditStatus.type == 'audit'?'审核':'查看'}}</h1>
     <div class="i-d-card">
       <Row>
         <Col span="13">
           <Card>
             <div class="bor-der-bot">
-              <h3>机构基本信息</h3>
+              <h4>信息标题:{{auditData.title || '-'}}</h4>
               <div class="msgs">
                 <div class="item-msg">
-                  <label for="">机构类型:</label>
-                  <p>类型类型类型类型</p>
+                  <label for="">信息类型:</label>
+                  <p>{{auditData.msgType || '-'}}</p>
                 </div>
                 <div class="item-msg">
-                  <label for="">统一社会信用代码:</label>
-                  <p>类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型</p>
+                  <label for="">关联公告:</label>
+                  <p>{{auditData.Related?auditData.Related.title:'-' || '-'}}</p>
                 </div>
                 <div class="item-msg">
-                  <label for="">机构名称:</label>
-                  <p>类型类型类型类型</p>
+                  <label for="">项目编码:</label>
+                  <p>{{auditData.code || '-'}}</p>
                 </div>
                 <div class="item-msg">
-                  <label for="">机构性质:</label>
-                  <p>类型类型类型类型</p>
+                  <label for="">项目地区:</label>
+                  <p>{{auditData.province + auditData.city || '-'}}</p>
                 </div>
                 <div class="item-msg">
-                  <label for="">机构所在地:</label>
-                  <p>类型类型类型类型</p>
+                  <label for="">项目行业:</label>
+                  <p>{{auditData.industry?String(auditData.industry):'-' || '-'}}</p>
                 </div>
                 <div class="item-msg">
-                  <label for="">营业执照:</label>
-                  <img class="imgs" @click="fruited" src="@/assets/images/123.jpg"/>
-                  <label style="text-align:right">认证公函:</label>
-                  <img class="imgs" @click="fruited" src="@/assets/images/123.jpg"/>
+                  <label for="">采购单位:</label>
+                  <p>{{auditData.buyer || '-'}}</p>
+                </div>
+                <div class="item-msg">
+                  <label for="">预算金额(万元):</label>
+                  <p>{{auditData.budget / 10000 || '-'}}</p>
+                </div>
+                <div class="item-msg">
+                  <label for="">中标单位:</label>
+                  <p>{{auditData.winner || '-'}}</p>
+                </div>
+                <div class="item-msg">
+                  <label for="">中标金额(万元):</label>
+                  <p>{{auditData.amount / 10000 || '-'}}</p>
+                </div>
+                <div class="item-msg">
+                  <label for="">信息正文:</label>
+                  <p>{{auditData.title || '-'}}</p>
+                </div>
+                <div class="item-msg">
+                  <label for="">上传附件:</label>
+                  <p>{{auditData.attach || '-'}}</p>
                 </div>
               </div>
             </div>
             <div class="bor-der-bot">
-              <h3>联系信息</h3>
+              <h3>采购联系信息</h3>
               <div class="msgs">
                 <div class="item-msg">
                   <label for="">姓名:</label>
-                  <p>类型类型类型类型</p>
+                  <p>{{auditData.Contact?auditData.Contact.name:'-' || '-'}}</p>
                 </div>
                 <div class="item-msg">
                   <label for="">联系电话:</label>
-                  <p>类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型</p>
+                  <p>{{auditData.Contact?auditData.Contact.phone:'-' || '-'}}</p>
+                </div>
+                <div class="item-msg">
+                  <Checkbox v-model="telPush">我同意公开联系方式</Checkbox>
                 </div>
               </div>
             </div>
@@ -54,15 +75,19 @@
               <div class="msgs">
                 <div class="item-msg">
                   <label for="">申请人用户ID:</label>
-                  <p class="p1" @click="gotoDetail">123456789</p>
+                  <p class="p1" @click="gotoDetail(auditData.ApplyInfo?auditData.ApplyInfo.userId:'')">{{auditData.ApplyInfo?auditData.ApplyInfo.userId:'-' || '-'}}</p>
                 </div>
                 <div class="item-msg">
                   <label for="">注册手机号:</label>
-                  <p>类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型类型</p>
+                  <p>{{auditData.ApplyInfo?auditData.ApplyInfo.phone:'-' || '-'}}</p>
+                </div>
+                <div class="item-msg">
+                  <label for="">发布单位:</label>
+                  <p>{{auditData.ApplyInfo?auditData.ApplyInfo.entName:'-' || '-'}}</p>
                 </div>
                 <div class="item-msg">
                   <label for="">申请时间:</label>
-                  <p>类型类型类型类型</p>
+                  <p>{{auditData.ApplyInfo?auditData.ApplyInfo.time:'-' || '-'}}</p>
                 </div>
               </div>
             </div>
@@ -136,7 +161,8 @@ export default {
       radios: '',
       reason: '',
       auditData: [],
-      isDisable: false
+      isDisable: false,
+      telPush: false
     }
   },
   created() {
@@ -162,7 +188,7 @@ export default {
     gotoDetail(row) {
       const srcs = this.$router.resolve({
         path: "/userManage/userList/userDetail",
-        query: { id: row._id },
+        query: { id: row },
       })
       window.open(srcs.href, "_blank")
     },
@@ -188,12 +214,21 @@ export default {
     h3 {
       color: #2d8cf0;
     }
+    h4 {
+      font-size: 16px;
+      padding-bottom: 10px;
+      border-bottom: 1px solid #eee;
+    }
     .msgs {
       margin-top: 10px;
       margin-bottom: 10px;
       .item-msg {
         display: flex;
         margin-bottom: 10px;
+        line-height: 24px;
+        .ivu-checkbox-wrapper {
+          width: 160px;
+        }
         label {
           width: 136px;
         }

+ 0 - 0
src/views/dataManage/msgManage/sendDetail.vue → src/views/msgManage/sendDetail.vue


+ 1 - 1
src/views/dataManage/msgManage/sendingMsg.vue → src/views/msgManage/sendingMsg.vue

@@ -231,7 +231,7 @@ export default {
     sendCancel(name) {
       let rout = this.$route.query.id
       if (rout) {
-        this.$router.push('/dataManage/msgManage/sentList')
+        this.$router.push('/msgManage/sentList')
       } else {
         this.inited()
         this.$refs[name].resetFields()

+ 0 - 0
src/views/dataManage/msgManage/sentList.vue → src/views/msgManage/sentList.vue


+ 3 - 2
src/views/userManage/instiAuditDetail.vue

@@ -62,7 +62,7 @@
                 </div>
                 <div class="item-msg">
                   <label for="">申请时间:</label>
-                  <p>{{auditData.areaNumber || '-'}}</p>
+                  <p>{{auditData.authTime || '-'}}</p>
                 </div>
               </div>
             </div>
@@ -106,7 +106,7 @@
                   </div>
                   <div class="item-msg shen-item-msg" v-if="auditData.authStatus !== 1">
                     <label for="">审核时间:</label>
-                    <span class="spa">{{auditData.authTime || '-'}}</span>
+                    <span class="spa">{{auditData.auditTime || '-'}}</span>
                   </div>
                   <div class="item-msg shen-item-msg" v-if="auditData.authStatus !== 1">
                     <label for="">审核人:</label>
@@ -252,6 +252,7 @@ export default {
       .item-msg {
         display: flex;
         margin-bottom: 10px;
+        line-height: 24px;
         label {
           width: 136px;
         }

+ 1 - 0
src/views/userManage/instiManageDetail.vue

@@ -141,6 +141,7 @@ export default {
       .item-msg {
         display: flex;
         margin-bottom: 10px;
+        line-height: 24px;
         label {
           width: 136px;
         }