zpj 5 ay önce
ebeveyn
işleme
1e8b937c5e
2 değiştirilmiş dosya ile 5 ekleme ve 3 silme
  1. 3 1
      src/views/admin/sign/list.vue
  2. 2 2
      vue.config.js

+ 3 - 1
src/views/admin/sign/list.vue

@@ -29,6 +29,8 @@
               </template>
             </el-table-column>
 
+            <el-table-column prop="sign_url" label="签署链接"></el-table-column>
+
             <el-table-column fixed='right' prop="" label="下载" width="300">
               <template slot-scope="scope">
                 <el-button v-if="scope.row.status == 2" type="success" icon="el-icon-circle-plus-outline" @click="download(scope.row)">下载</el-button>
@@ -95,7 +97,7 @@
           return
         }
         this.isAJAX = true;
-        signDownload({contract_id:item.contract_id}).then((res)=>{
+        signDownload({contract_id:item.id}).then((res)=>{
           this.isAJAX = false;
           if(res.code == 1){
             this.$message.success(res.msg);

+ 2 - 2
vue.config.js

@@ -41,8 +41,8 @@ module.exports = {
     },
     proxy: {
       '/adminApi/': {
-        // target: 'https://testsign.jhcs888.com/',
-        target: 'https://esign.jhcs888.com',
+        target: 'https://testsign.jhcs888.com/',
+        // target: 'https://esign.jhcs888.com',
         changeOrigin: true // 只有这个值为true的情况下 才表示开启跨域
       }
     }