|
@@ -114,8 +114,10 @@
|
|
|
<el-link type="primary" :underline="false" @click="syncMembByCardTime">{{ $t('associateenterprisemicroidentity') }}</el-link>
|
|
|
</el-form-item>
|
|
|
<el-form-item style="float:right;" v-if="user.corpwxUserid != null && permissions.structureImport && user.companyId!=469">
|
|
|
+ <!-- <el-link type="primary" v-if="user.userNameNeedTranslate != '1'" :underline="false" @click="syncWithCorpWxDayload">{{ $t('synchronizetheenterprisemicrodirectory') }}</el-link>
|
|
|
+ <el-link type="primary" v-if="user.userNameNeedTranslate == '1'" :underline="false" @click="newSyncWithCorpWx">{{ $t('synchronizetheenterprisemicrodirectory') }}</el-link> -->
|
|
|
<el-link type="primary" v-if="user.userNameNeedTranslate != '1'" :underline="false" @click="syncWithCorpWx">{{ $t('synchronizetheenterprisemicrodirectory') }}</el-link>
|
|
|
- <el-link type="primary" v-if="user.userNameNeedTranslate == '1'" :underline="false" @click="newSyncWithCorpWx">{{ $t('synchronizetheenterprisemicrodirectory') }}</el-link>
|
|
|
+ <el-link type="primary" v-if="user.userNameNeedTranslate == '1'" :underline="false" @click="newSyncWithCorpWxDayload = true">{{ $t('synchronizetheenterprisemicrodirectory') }}</el-link>
|
|
|
</el-form-item>
|
|
|
<el-form-item style="float:right;" v-if="user.dingdingUserid != null && permissions.structureImport">
|
|
|
<el-link type="primary" :underline="false" @click="syncWithCorpDingding">{{ $t('synchronizetheaddressbook') }}</el-link>
|
|
@@ -723,6 +725,15 @@
|
|
|
<el-col :span="18">{{recordMsg.msg}}</el-col>
|
|
|
</el-row>
|
|
|
</el-dialog>
|
|
|
+ <el-dialog :title="$t('synchronizetheenterprisemicrodirectory')" :visible.sync="dialogVisible" width="400px" :before-close="handleClose">
|
|
|
+ <span>
|
|
|
+ 同步前请联系企业微信管理员检查应用授权的可见范围 <br/>
|
|
|
+ 路径:管理企业-应用管理-工时管家-可见范围
|
|
|
+ </span>
|
|
|
+ <span slot="footer" class="dialog-footer">
|
|
|
+ <el-button type="primary" @click="newSyncWithCorpWx">开始同步</el-button>
|
|
|
+ </span>
|
|
|
+ </el-dialog>
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -1006,7 +1017,8 @@ export default {
|
|
|
insertFormPlates: [],
|
|
|
saveBtnLoading: false,
|
|
|
onlyDirect: false,
|
|
|
- nextCursor: ''
|
|
|
+ nextCursor: '',
|
|
|
+ newSyncWithCorpWxDayload: false
|
|
|
};
|
|
|
},
|
|
|
filters: {
|