Commit 3d1b75da by 蒋勇

d

parent 0a1031d3
<gsb-pagecard>
<div slot="content">
<gsb-grid2
ref="userGrid"
:bizCode="bizCode"
spaceHeight="100"
groupName="transfer"
modelName="tradetransfer"
listMethod="findAndCountAll"
deleteMethod="delete"
initMethod="initNewInstance"
isDataAuto="true"
:headStyle="headStyle"
:colFormatter="onColFormater"
:isSingleSelect="isSingleSelect"
@rowclick="onRowClick"
@onDlgFormClick="onDlgFormClick"
:validateformmethod="validateformmethod">
<gsb-grid2 ref="userGrid" :bizCode="bizCode" spaceHeight="100" groupName="transfer" modelName="tradetransfer"
listMethod="findAndCountAll" deleteMethod="delete" initMethod="initNewInstance" isDataAuto="true"
:headStyle="headStyle" :colFormatter="onColFormater" :isSingleSelect="isSingleSelect" @rowclick="onRowClick"
@onDlgFormClick="onDlgFormClick" :validateformmethod="validateformmethod">
<template slot="other2" slot-scope="scope">
<a @mouseover="showdetail()">tracks.........</a>
</template>
</gsb-grid2>
<el-dialog
title="上传资料"
:visible.sync="showUploadform"
width="350px"
height="350px"
center>
<el-dialog title="上传资料" :visible.sync="showUploadform" width="350px" height="350px" center>
<gsb-aliupload v-model="f1" @uploadsuccess="upsuccess" mtype="test"></gsb-aliupload>
</el-dialog>
<el-dialog title="跟进记录" :visible.sync="trackVisable">
<div style="min-height: 200px;margin-bottom: 50px;">
<el-steps direction="vertical" :active="trackRecords.length" >
<el-step :title="tr.trackDate" :description="tr.trackContent" v-for="(tr, index) in trackRecords"></el-step>
</el-steps>
</div>
<el-input type="textarea" :rows="2" placeholder="请输入跟进内容" v-model="trackContent">
</el-input>
<el-row style="text-align: right;margin-top: 20px;">
<el-button type="warning" @click="cancelClick">取消</el-button>
<el-button type="primary" @click="saveClick">保存</el-button>
</el-row>
</el-dialog>
</div>
</gsb-pagecard>
\ No newline at end of file
......@@ -7,6 +7,11 @@
bizCode: 'mytradetransferdiliver',
showUploadform: false,
f1: "",
trackVisable:false,
trackContent:"",
trackRecords:[
]
}
},
mounted: function() {
......@@ -70,14 +75,25 @@
this.$router.push({ path: "/mynotarizationflow", query: { ali_bizid: row.ali_bizid } });
}
if(key=="tracks"){
alert("tracks")
this.trackVisable=true;
if(this.trackRecords.length==0){
this.trackRecords.push({"trackDate":"暂无跟进","trackContent":"请联系客户,进行跟进"});
}
}
},
upsuccess(result){
console.log(result);
},
showdetail(){
alert("track.......details")
alert("track.......details");
},
cancelClick(){
this.trackVisable=false;
},
saveClick(){
this.trackVisable=false;
this.trackRecords.push({"trackDate":new Date().toLocaleString(),"trackContent":this.trackContent});
}
},
computed: Vuex.mapState({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment