123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- <template>
- <div style="padding: 10px 0px 0px 10px">
- <el-table
- :data="data"
- border
- height="calc(100vh - 60px)"
- style="width: 100%">
- <el-table-column
- prop="name"
- label="姓名"
- width="0">
- </el-table-column>
- <el-table-column
- prop="wechatnum"
- label="微信"
- width="0">
- </el-table-column>
- <el-table-column
- prop="phonenumber"
- label="手机号"
- width="0">
- <!-- <template slot-scope="scope">
- <span>{{tool.formatAmount(scope.row.signamount,2)}}</span>
- </template>-->
- </el-table-column>
- <el-table-column
- prop="depname"
- label="部门"
- width="0">
- <!-- <template slot-scope="scope">
- <span >{{tool.formatAmount(scope.row.discountrate * 100,2)}}%</span>
- </template>-->
- </el-table-column>
- <el-table-column
- prop="position"
- label="职位"
- width="100">
- </el-table-column>
- <!-- <el-table-column
- prop="operation"
- width="100"
- label="操作">
- <template slot-scope="scope">
- <!– <el-input v-model="scope.row.remarks" placeholder="输入订单备注" size="mini" @change="rowChange(scope.row,scope.$index)"></el-input>–>
- <el-button size="mini" type="text" @click="rowChange(scope.row)">详 情</el-button>
- <!– <detailsInfo :row="scope.row"></detailsInfo>–>
- </template>
- </el-table-column>-->
- </el-table>
- </div>
- </template>
- <script>
- export default {
- name: "contractInfo",
- props:['data'],
- methods:{
- rowChange(data){
- this.$store.dispatch('changeDetailDrawer',false)
- setTimeout(()=>{
- let route = this.$route
- route.query.portrait = 'xm'
- console.log(route,'route')
- if (route.path !== '/projectChangeDetail') {
- this.oldRoute = {path:route.path,query:route.query}
- this.$store.dispatch('setHistoryRouter',this.oldRoute)
- }
- this.$router.replace({
- path:'/projectChangeDetail',
- query:{
- id:data.sa_projectid,
- rowindex:data.rowindex,
- }
- })
- this.$store.dispatch('changeDetailDrawer',true)
- },500)
- }
- }
- }
- </script>
- <style scoped>
- </style>
|