| | |
| | | <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> |
| | | </el-row> |
| | | </div> |
| | | <el-table v-loading="loading" :data="contactList" @selection-change="handleSelectionChange" :row-class-name="tableRowClassName" style="background: #FFEFF2; border-radius: 14px 14px 14px 14px;"> |
| | | <el-table v-loading="loading" :data="contactList" @selection-change="handleSelectionChange" @row-click="handleCheck" :row-class-name="tableRowClassName" style="background: #FFEFF2; border-radius: 14px 14px 14px 14px;"> |
| | | <el-table-column type="selection" width="25" align="center" /> |
| | | <el-table-column label="序号" sortable type="index" :index="(queryParams.pageNum-1)*queryParams.pageSize+1" width="80"/> |
| | | |
| | |
| | | </template> |
| | | |
| | | </el-table-column> |
| | | <el-table-column label="称呼" prop="nickName" sortable :show-overflow-tooltip="true" width="80" /> |
| | | <el-table-column label="姓名" prop="name" sortable :show-overflow-tooltip="true" width="80" /> |
| | | <el-table-column label="工作单位" prop="work" sortable width="100" > |
| | | <el-table-column label="称呼" prop="nickName" sortable :show-overflow-tooltip="true" width="80" align="center" /> |
| | | <el-table-column label="姓名" prop="name" sortable :show-overflow-tooltip="true" width="80" align="center"/> |
| | | <el-table-column label="工作单位" prop="work" sortable width="100" align="center" > |
| | | <template slot-scope="scope">{{scope.row.work? scope.row.work: '————'}}</template> |
| | | </el-table-column> |
| | | <el-table-column label="手机" prop="phone" sortable width="110" > |
| | | <el-table-column label="手机" prop="phone" sortable width="110" align="center" > |
| | | <template slot-scope="scope">{{scope.row.phone? scope.row.phone: '————'}}</template> |
| | | </el-table-column> |
| | | <el-table-column label="其它联系方式" prop="wx qq twitter" sortable width="130" > |
| | | <el-table-column label="其它联系方式" prop="wx qq twitter" sortable width="130" align="center" > |
| | | <template slot-scope="scope"> |
| | | <span v-if="scope.row.wx || scope.row.qq || scope.row.twitter == true"> |
| | | {{scope.row.wx}}<br> |
| | |
| | | <span v-else>————</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="是否常联系" prop="isAlways" sortable width="120" > |
| | | <el-table-column label="是否常联系" prop="isAlways" sortable width="120" align="center" > |
| | | <template slot-scope="scope"> |
| | | <span v-if="scope.row.isAlways===1">是</span> |
| | | <span v-if="scope.row.isAlways===0">否</span> |
| | |
| | | size="mini" |
| | | @command="(command) => handleCommand(command, scope.row)" |
| | | v-hasPermi="['system:role:edit']"> |
| | | <el-button |
| | | size="mini" |
| | | type="text" |
| | | icon="el-icon-d-arrow-right" |
| | | @click="handleCheck(scope.row)" |
| | | >查看详情</el-button> |
| | | <!-- <el-button--> |
| | | <!-- size="mini"--> |
| | | <!-- type="text"--> |
| | | <!-- icon="el-icon-d-arrow-right"--> |
| | | <!-- @click="handleCheck(scope.row)"--> |
| | | <!-- >查看详情</el-button>--> |
| | | |
| | | </el-dropdown> |
| | | </template> |
| | |
| | | </script> |
| | | |
| | | <style > |
| | | .app-container{ |
| | | background-color: #FEF7FC; |
| | | } |
| | | |
| | | .el-table__row.statistics-warning-row { |
| | | background: #E0EEFE; |