Browse Source

字典路径

feature
mk 3 years ago
parent
commit
9406d00f70
  1. 34
      src/views/modules/communityParty/regionalParty/units.vue

34
src/views/modules/communityParty/regionalParty/units.vue

@ -217,10 +217,10 @@
trigger="click">
<div v-if="scope.row.syncType==='not_sync'"
class="table-more-btn">
<el-button type="text"
<!-- <el-button type="text"
class="div-table-button--detail"
size="small"
@click="handleSync(scope.row)">同步</el-button>
@click="handleSync(scope.row)">同步</el-button> -->
</div>
<div v-if="scope.row.syncType==='sync'"
class="table-more-btn">
@ -412,7 +412,7 @@ export default {
//
async loadService () {
const url = "/actual/base/actual/base/serviceitem/dict-list"
const url = "/actual/base/serviceitem/dict-list"
let params = {
@ -544,23 +544,23 @@ export default {
},
async handleSync (row) {
// async handleSync (row) {
this.$confirm("确认同步到通讯录?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning"
})
.then(() => {
this.syncUnit(row)
})
.catch(err => {
if (err == "cancel") {
// this.$confirm("", "", {
// confirmButtonText: "",
// cancelButtonText: "",
// type: "warning"
// })
// .then(() => {
// this.syncUnit(row)
// })
// .catch(err => {
// if (err == "cancel") {
}
// }
});
},
// });
// },
async handleNoSync (row) {
this.$confirm("确认取消同步?", "提示", {

Loading…
Cancel
Save