|
|
|
|
@ -251,8 +251,8 @@
|
|
|
|
|
<el-button v-if="scope.row.activity == 2" size="mini" type="text" @click="openOrCloseActivity(scope.row)">
|
|
|
|
|
开启活动
|
|
|
|
|
</el-button>
|
|
|
|
|
<el-button size="mini" type="text">个人信息同步</el-button>
|
|
|
|
|
<el-button size="mini" type="text">积分同步</el-button>
|
|
|
|
|
<el-button size="mini" type="text" @click="informationSynchronization(scope.row)">个人信息同步</el-button>
|
|
|
|
|
<el-button size="mini" type="text" @click="integralSynchronization(scope.row)">积分同步</el-button>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
</el-table>
|
|
|
|
|
@ -1140,7 +1140,30 @@ export default {
|
|
|
|
|
});
|
|
|
|
|
}).catch(() => {
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
// 信息同步
|
|
|
|
|
informationSynchronization(row) {
|
|
|
|
|
this.$confirm("<span style='font-size: 18px'><strong>确定将选择的数据信息同步?</strong></span><br/><span style='padding-left:2em'>请谨慎操作,一旦成功将无法撤销。</span>", "信息同步", {
|
|
|
|
|
confirmButtonText: '确定',
|
|
|
|
|
cancelButtonText: '取消',
|
|
|
|
|
type: 'warning',
|
|
|
|
|
dangerouslyUseHTMLString: true
|
|
|
|
|
}).then(() => {
|
|
|
|
|
alert("用户id" + row.id);
|
|
|
|
|
}).catch(() => {
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
// 积分同步
|
|
|
|
|
integralSynchronization(row) {
|
|
|
|
|
this.$confirm("<span style='font-size: 18px'><strong>确定将选择的数据积分同步?</strong></span><br/><span style='padding-left:2em'>请谨慎操作,一旦成功将无法撤销。</span>", "积分同步", {
|
|
|
|
|
confirmButtonText: '确定',
|
|
|
|
|
cancelButtonText: '取消',
|
|
|
|
|
type: 'warning',
|
|
|
|
|
dangerouslyUseHTMLString: true
|
|
|
|
|
}).then(() => {
|
|
|
|
|
alert("用户id" + row.id);
|
|
|
|
|
}).catch(() => {
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
/** 提交按钮 */
|
|
|
|
|
submitForm() {
|
|
|
|
|
|