sqg преди 3 години
родител
ревизия
09000191dd

+ 13 - 0
front-vue/src/api/service/rel/companyRel.js

@@ -83,6 +83,19 @@ export function updateRel(launchScrId,state) {
   })
 }
 
+// 重邀拒绝的链属
+export function againRel(launchScrId,state) {
+  const data = {
+    launchScrId,
+    state
+  }
+  return request({
+    url: '/sc-service/rel/againRel',
+    method: 'put',
+    data: data
+  })
+}
+
 // 重邀
 export function againInvite(row) {
   return request({

+ 3 - 3
front-vue/src/views/service/rel/companyRel.vue

@@ -150,7 +150,7 @@
             size="mini"
             type="text"
             @click="handleRelInvite(scope.row)"
-            v-hasPermi="['service:rel:update']"
+            v-hasPermi="['service:rel:again']"
           >重邀</el-button>
           <el-button
             v-if="handleRel && scope.row.launchScrStatus == '01'"
@@ -433,7 +433,7 @@
 
 <script>
 import {
-  listRel, sparelist, listCompany, addRel, updateRel, listAllCompany, 
+  listRel, sparelist, listCompany, addRel, updateRel, listAllCompany, againRel,
   delRel, removeSpare, listCompanyQuery, getUser, againInvite, getListRel
 } from "@/api/service/rel/companyRel";
 import { uploadFileNew } from "@/api/common/file";
@@ -1036,7 +1036,7 @@ submitForm() {
           type: "info"
         }).then(function() {
           const state = "00";
-          return updateRel(launchScrId,state);
+          return againRel(launchScrId,state);
         }).then(() => {
           this.msgSuccess("邀请成功");
           this.getUser();

+ 0 - 12
front-vue/src/views/service/rel/detailCompany.vue

@@ -15,24 +15,12 @@
                 <el-form-item label="注册地址" prop="scyAddress">
                     <el-input v-model="form.scyAddress" disabled />
                 </el-form-item>
-                <el-form-item label="证件到期日" prop="scyEndTime">
-                    <el-input v-model="form.scyEndTime" disabled />
-                </el-form-item>
                 <el-form-item label="注册资本" prop="scyRegisteredCapital">
                     <el-input v-model="form.scyRegisteredCapital" disabled />
                 </el-form-item>
-                <el-form-item label="法人姓名" prop="scyLegal">
-                    <el-input v-model="form.scyLegal" disabled />
-                </el-form-item>
-                <el-form-item label="证件类型" prop="scyLegal">
-                    <el-input value="身份证" disabled />
-                </el-form-item>
                 <el-form-item label="联系方式" prop="scyPhone">
                     <el-input v-model="form.scyPhone" disabled />
                 </el-form-item>
-                <el-form-item label="证件号码" prop="scyLegalId">
-                    <el-input v-model="form.scyLegalId" disabled />
-                </el-form-item>
             </el-form>
             <div style="margin-top: 100px; margin-left:45%">
                 <el-button type="info" @click="cancel">取消</el-button>

+ 2 - 1
front-vue/src/views/workDeal.vue

@@ -185,7 +185,8 @@ export default {
         submit() {
             this.$refs["form"].validate(valid => {
                 if (valid) {
-                    if (this.form.noticeId != null) {
+                    if (this.noticeId != null) {
+                        this.form.noticeId = this.noticeId;
                         dealWork(this.form).then(response => {
                             this.$emit("cancelOpen");
                             this.msgSuccess("处理成功");