首頁
爱青果
去書架

測試1

    Skiptocontent

    More

    Searchorjumpto…

    Q

    qingoo-author

    Projectoverview

    Repository

    Files

    Commits

    Branches

    Tags

    Contributors

    Graph

    Compare

    Charts

    Issues

    0

    MergeRequests

    0

    CI/CD

    Operations

    Wiki

    Snippets

    Settings

    Collapsesidebar

    yuanchuang-h5

    qingoo-author

    Commits

    9c3e9624

    Commit9c3e9624authored2daysagobydaipengyun'savatardaipengyun

    首頁簽約彈框99%

    parent05cb8ed22.0-law

    Norelatedmergerequestsfound

    Changes10

    Showing10changedfiles+339-102

    index.html

    @@-16,7+16,7@@

    })();

    

    

    

    

    

    \Nonewlineatendoffile

    src/components/application.vue

    @@-76,8+76,7@@

    

    

    
    @click="eleSignTrigger(scope.row)"

    :disabled="!scope.row.eleSignBtn.enable"

    @click="eleSignTrigger(scope.row)"

    v-text="scope.row.eleSignBtn.text"

    type="primary"

    size="small"

    src/components/authorHome.vue

    @@-57,18+57,24@@

    《{{row.bookName}}》書名變更補充協議

    筆名變更補充協議

    銀行卡變更補充協議

    前往簽約

    協議稽覈中

    
    @click="goSign(row)":disabled="row.status!='todo'">

    {{row.status=='todo'?'前往簽約':'協議稽覈中'}}

    

    

    

    

    

    


    

    

    src/components/msgDetails.vue0→100644

    

    

    

    .placard{

    padding:24px;

    .head{

    text-align:center;

    border-bottom:1pxsolid#e0e0e0;

    padding-bottom:20px;

    h1{

    font-size:24px;

    line-height:30px;

    }

    p{

    font-size:12px;

    color:#ccc;

    padding-top:10px;

    }

    }

    .content{

    margin:20px0;

    line-height:26px;

    text-align:justify;

    white-space:pre-wrap;

    overflow:hidden;

    }

    }

    .asign{text-decoration:underline;}

    

    src/components/placardDetails.vue

    @@-5,16+5,8@@

    

{{name}}



    

{{updateTime|timeSwitch}}



    


    

    作者您好:

    {{signContent}}

    簽署補充協議

    如有任何疑問,請與您的編輯聯絡諮詢。


    北京趣讀趣寫科技發展有限公司

    {{updateTime|timeSwitch}}

    

    
    v-html="content">

    

    

    

    @@-27,14+19,9@@exportdefault{

    id:this.$route.query.id,

    name:"",

    updateTime:"",

    content:"",

    signContent:""

    content:""

    };

    },

    created(){

    if(this.$route.query.type)this.getSinginfo()

    elsethis.getContent();

    },

    methods:{

    getContent(){

    this.$axios

    @@-49,47+36,11@@exportdefault{

    .catch(err=>{

    console.log(err);

    });

    },

    getSinginfo(){

    this.$axios.get(`/api/agreement/todo/info?id=${this.id}`)

    .then(res=>{

    if(res.data.message==='success'){

    this.markMessage(res.data.data)

    }

    })

    .catch(err=>{

    console.log(err);

    });

    //this.$axios.get(`/api/agreement/preview?id=${this.id}`)

    //.then(res=>{

    //console.log(']【【【【【【【',res)

    //})

    //.catch(err=>{

    //console.log(err);

    //});

    },

    markMessage(item){

    this.updateTime=item.created

    if(item.type=='bookname'){

    this.name=`您簽約的書籍已變更名稱,請簽署補充協議`

    this.signContent=`您名下已簽約的書籍《${item.oldBookName}》已由您的編輯為您變更書籍名稱為《${item.newBookName}》,由於已變更的書籍名稱與簽約合同中書籍名稱不一致,現須簽署變更資訊對應的補充協議,點選下方“簽署補充協議”進行簽約。`;

    }elseif(item.type=='penname'){

    this.name=`您的筆名已變更,由於您名下書籍已簽約,請簽署補充協議`

    this.signContent=`您的筆名${item.oldPenName}已由您的編輯為您變更為${item.newPenName},由於已變更的筆名與簽約合同中筆名不一致,現須簽署變更資訊對應的補充協議,點選下方“簽署補充協議”進行簽約。`;

    }else{

    this.name=`您的銀行卡資訊已變更,請簽署補充協議`

    //oldBankCard:null

    //oldBankCardImg:null

    //oldBankName:null

    //oldBankAddress:null

    //newBankCard:"622439380004372320"

    //newBankCardImg:null

    //newBankName:null

    //newBankAddress:null

    this.signContent=`您的銀行卡資訊已變更,由於已變更的銀行卡資訊與簽約合同中銀行卡資訊不一致,現須簽署變更資訊對應的補充協議,點選下方“簽署補充協議”進行簽約。`;

    }

    }

    },

    created(){

    this.getContent();

    },

    filters:{

    timeSwitch(value){

    returndateFormat(value,"YYYY-MM-DDHH:mm:ss");

    src/components/platform.vue

    @@-48,6+48,7@@exportdefault{

    this.$axios.get("/api/user/get").then(rep=>{

    if(rep.data.code==0){

    this.$Bus.userid=rep.data.model.data.id;

    this.$Bus.userinfo=rep.data.model.data

    this.author=rep.data.model.data.penname;

    if(rep.data.model.data.image){

    this.image=rep.data.model.data.image;

    @@-64,6+65,8@@exportdefault{

    returnthis.$route.matched.some(o=>o.name===name);

    },

    changeUnsignCount(num){

    if(num<0)num+=this.unsign_count

    if(num<0)num=0

    this.unsign_count=num

    }

    },

    src/modules/box_append_sign.vue0→100644