|
@@ -3,7 +3,7 @@
|
|
|
<add class="inline-16" :data="data" @insertSuccess="listData(param.content.pageNUmber = 1)"></add>
|
|
|
<el-input style="width:200px;" :placeholder="$t('搜索')" :suffix-icon="param.content.where.condition?param.content.where.condition.length > 0?'':'':'el-icon-search'" v-model="param.content.where.condition" @keyup.native.enter="listData(param.content.pageNumber = 1)" @clear="clearSearchValue" size="small" class="input-with-select inline-16 layout_search__panel" clearable>
|
|
|
</el-input>
|
|
|
- <tableNewLayout :layout="tablecols" :data="list" :opwidth="200" height="calc(100vh - 426px)" :width="true" :custom="true" fixedName="operation" style="margin-top: 10px">
|
|
|
+ <tableNewLayout :layout="tablecols" :data="list" :opwidth="200" height="calc(100vh - 426px)" :width="true" :custom="true" fixedName="operation" style="margin-top: 15px">
|
|
|
<template v-slot:customcol="scope">
|
|
|
<div v-if="scope.column.columnname === 'tag'">
|
|
|
<div v-if="scope.column.data.tag1 && scope.column.data.tag1.length > 0">
|
|
@@ -26,6 +26,7 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
<template v-slot:opreation="scope">
|
|
|
+ <el-button class="inline-16" size="mini" type="text" @click="detailGo(scope.data)">{{$t('详 情')}}</el-button>
|
|
|
<edit class="inline-16" :data="scope.data" @updateSuccess="listData(param.content.pageNUmber = 1)"></edit>
|
|
|
<btnDelete message="确定要删除该联系人吗?" :is-number="true" name-id="2025042110012902" name-key="sat_orderclue_contactsid" :id="scope.data.sat_orderclue_contactsid" @deleteSuccess="listData(param.content.pageNUmber = 1)"></btnDelete>
|
|
|
</template>
|
|
@@ -92,7 +93,21 @@ export default {
|
|
|
clearSearchValue(){
|
|
|
this.$store.dispatch('clearSearchValue')
|
|
|
this.listData(this.param.content.pageNumber = 1)
|
|
|
- }
|
|
|
+ },
|
|
|
+ detailGo(row){
|
|
|
+ let route = this.$route
|
|
|
+ if (route.path !== '/phonebookDetail') {
|
|
|
+ this.oldRoute = {path:route.path,query:route.query}
|
|
|
+ this.$store.dispatch('setHistoryRouter',this.oldRoute)
|
|
|
+ }
|
|
|
+ this.$router.push({
|
|
|
+ path:'/phonebookDetail',
|
|
|
+ query:{
|
|
|
+ id:row.sys_phonebookid,
|
|
|
+ rowindex:row.rowindex,
|
|
|
+ }
|
|
|
+ })
|
|
|
+ },
|
|
|
},
|
|
|
mounted() {
|
|
|
this.listData()
|