Commit a82e39b9 by 蒋勇

d

parent 235cebb2
...@@ -6,7 +6,7 @@ module.exports={ ...@@ -6,7 +6,7 @@ module.exports={
{"width":"80","label":"状态","prop":"transfer_status_name","isShowTip":true,"isTmpl":false}, {"width":"80","label":"状态","prop":"transfer_status_name","isShowTip":true,"isTmpl":false},
{"width":"100","label":"买方电话","prop":"mobile","isShowTip":true,"isTmpl":false}, {"width":"100","label":"买方电话","prop":"mobile","isShowTip":true,"isTmpl":false},
{"width":"100","label":"尼斯大类","prop":"ncl_one","isShowTip":true,"isTmpl":false}, {"width":"100","label":"尼斯大类","prop":"ncl_one","isShowTip":true,"isTmpl":false},
{"width":"100","label":"跟进记录","prop":"tracks","isShowTip":true,"isTmpl":true,"isOther2":true}, {"width":"100","label":"跟进记录","prop":"tracks","isShowTip":true,"isTmpl":false},
{"width":"null","label":"操作","name":"null","isShowTip":false,"isTmpl":true,"isBtns":true}, {"width":"null","label":"操作","name":"null","isShowTip":false,"isTmpl":true,"isBtns":true},
] ]
}, },
......
...@@ -4,9 +4,6 @@ ...@@ -4,9 +4,6 @@
listMethod="findAndCountAll" deleteMethod="delete" initMethod="initNewInstance" isDataAuto="true" listMethod="findAndCountAll" deleteMethod="delete" initMethod="initNewInstance" isDataAuto="true"
:headStyle="headStyle" :colFormatter="onColFormater" :isSingleSelect="isSingleSelect" @rowclick="onRowClick" :headStyle="headStyle" :colFormatter="onColFormater" :isSingleSelect="isSingleSelect" @rowclick="onRowClick"
@onDlgFormClick="onDlgFormClick" :validateformmethod="validateformmethod"> @onDlgFormClick="onDlgFormClick" :validateformmethod="validateformmethod">
<template slot="other2" slot-scope="scope">
<a @mouseover="showdetail()">tracks.........</a>
</template>
</gsb-grid2> </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> <gsb-aliupload v-model="f1" @uploadsuccess="upsuccess" mtype="test"></gsb-aliupload>
......
...@@ -55,6 +55,8 @@ ...@@ -55,6 +55,8 @@
} }
}, },
onColFormater(row, column, cellvalue, index){ onColFormater(row, column, cellvalue, index){
/*这里解析跟进字段,解析为数组,取最后一条*/
console.log(column);
return cellvalue; return cellvalue;
}, },
handleSelectionChange: function(val) { handleSelectionChange: function(val) {
...@@ -94,6 +96,7 @@ ...@@ -94,6 +96,7 @@
let pushData={"pushData":{"trackDate":new Date().toLocaleString(),"trackContent":this.trackContent}}; let pushData={"pushData":{"trackDate":new Date().toLocaleString(),"trackContent":this.trackContent}};
var self=this; var self=this;
this.$root.postReq("/web/transfer/tradetransferCtl/track", pushData).then(function (d) { this.$root.postReq("/web/transfer/tradetransferCtl/track", pushData).then(function (d) {
/*返回整个跟进字段,解析为数组*/
self.trackRecords.push(d.data); self.trackRecords.push(d.data);
}) })
......
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