|
@@ -296,7 +296,13 @@
|
|
|
showOverflowTooltip: true,
|
|
showOverflowTooltip: true,
|
|
|
minWidth: 110
|
|
minWidth: 110
|
|
|
},
|
|
},
|
|
|
-
|
|
|
|
|
|
|
+ {
|
|
|
|
|
+ prop: 'phone',
|
|
|
|
|
+ label: '手机号',
|
|
|
|
|
+ sortable: 'custom',
|
|
|
|
|
+ showOverflowTooltip: true,
|
|
|
|
|
+ minWidth: 110
|
|
|
|
|
+ },
|
|
|
{
|
|
{
|
|
|
prop: 'postName',
|
|
prop: 'postName',
|
|
|
label: '岗位',
|
|
label: '岗位',
|
|
@@ -351,7 +357,7 @@
|
|
|
showOverflowTooltip: true,
|
|
showOverflowTooltip: true,
|
|
|
minWidth: 120,
|
|
minWidth: 120,
|
|
|
formatter: (_row, _column, cellValue) => {
|
|
formatter: (_row, _column, cellValue) => {
|
|
|
- return _row.code? '已推送' : '未推送';
|
|
|
|
|
|
|
+ return _row.code ? '已推送' : '未推送';
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
@@ -483,12 +489,14 @@
|
|
|
methods: {
|
|
methods: {
|
|
|
allPushBtn() {
|
|
allPushBtn() {
|
|
|
const dataId = this.selection.map((v) => v.id);
|
|
const dataId = this.selection.map((v) => v.id);
|
|
|
- employeePush(dataId).then((res) => {
|
|
|
|
|
- this.$message.success('推送成功!');
|
|
|
|
|
- this.reload();
|
|
|
|
|
- }).catch(() => {
|
|
|
|
|
- console.log('推送失败!');
|
|
|
|
|
- });
|
|
|
|
|
|
|
+ employeePush(dataId)
|
|
|
|
|
+ .then((res) => {
|
|
|
|
|
+ this.$message.success('推送成功!');
|
|
|
|
|
+ this.reload();
|
|
|
|
|
+ })
|
|
|
|
|
+ .catch(() => {
|
|
|
|
|
+ console.log('推送失败!');
|
|
|
|
|
+ });
|
|
|
},
|
|
},
|
|
|
async addUsers(row) {
|
|
async addUsers(row) {
|
|
|
// this.userRow = null;
|
|
// this.userRow = null;
|