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

Loading…
Cancel
Save