selectQwUserOlder.vue 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. <!--<template>-->
  2. <!-- <div class="app-container">-->
  3. <!-- <el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="68px">-->
  4. <!-- <el-form-item label="企微主体" prop="corpId">-->
  5. <!-- <el-select v-model="queryParams.corpId" placeholder="企微主体" size="small" @change="updateCorpId()">-->
  6. <!-- <el-option-->
  7. <!-- v-for="dict in myQwCompanyList"-->
  8. <!-- :key="dict.dictValue"-->
  9. <!-- :label="dict.dictLabel"-->
  10. <!-- :value="dict.dictValue"-->
  11. <!-- />-->
  12. <!-- </el-select>-->
  13. <!-- </el-form-item>-->
  14. <!-- <el-form-item label="企微账号" prop="qwUserId">-->
  15. <!-- <el-input-->
  16. <!-- v-model="queryParams.qwUserId"-->
  17. <!-- placeholder="请输入企微账号"-->
  18. <!-- clearable-->
  19. <!-- size="small"-->
  20. <!-- @keyup.enter.native="handleQuery"-->
  21. <!-- />-->
  22. <!-- </el-form-item>-->
  23. <!-- <el-form-item label="企微昵称" prop="qwUserName">-->
  24. <!-- <el-input-->
  25. <!-- v-model="queryParams.qwUserName"-->
  26. <!-- placeholder="请输入企微昵称"-->
  27. <!-- clearable-->
  28. <!-- size="small"-->
  29. <!-- @keyup.enter.native="handleQuery"-->
  30. <!-- />-->
  31. <!-- </el-form-item>-->
  32. <!-- <el-form-item>-->
  33. <!-- <el-button type="cyan" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>-->
  34. <!-- <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>-->
  35. <!-- </el-form-item>-->
  36. <!-- </el-form>-->
  37. <!-- <el-table height="500" border v-loading="loading" :data="customerList" ref="customerList" >-->
  38. <!-- <el-table-column label="企微昵称" align="center" prop="qwUserName" />-->
  39. <!-- <el-table-column label="企微账号" align="center" prop="qwUserId" />-->
  40. <!-- <el-table-column label="企微所属部门" align="center" prop="departmentName" />-->
  41. <!-- <el-table-column label="状态" align="center" prop="status" >-->
  42. <!-- <template slot-scope="scope">-->
  43. <!-- <dict-tag :options="qwStatusOptions" :value="scope.row.status"/>-->
  44. <!-- </template>-->
  45. <!-- </el-table-column>-->
  46. <!-- <el-table-column label="企微主体" align="center" prop="corpName" />-->
  47. <!-- <el-table-column label="操作" align="center" fixed="right" width="100px" class-name="small-padding fixed-width">-->
  48. <!-- <template slot-scope="scope">-->
  49. <!-- <el-button-->
  50. <!-- size="medium"-->
  51. <!-- type="primary"-->
  52. <!-- plain-->
  53. <!-- @click="handleBind(scope.row)"-->
  54. <!-- >选择</el-button>-->
  55. <!-- </template>-->
  56. <!-- </el-table-column>-->
  57. <!-- </el-table>-->
  58. <!-- <pagination-->
  59. <!-- v-show="total>0"-->
  60. <!-- :total="total"-->
  61. <!-- :page.sync="queryParams.pageNum"-->
  62. <!-- :limit.sync="queryParams.pageSize"-->
  63. <!-- @pagination="getList"-->
  64. <!-- />-->
  65. <!-- </div>-->
  66. <!--</template>-->
  67. <!--<script>-->
  68. <!--import { userList,listUser, getUser, delUser, addUser, updateUser, exportUser, updateUserWeclome,getMyQwCompanyList,getMyQwUserList,relieveFastGptRoleById,staffListUser } from '@/api/qw/user'-->
  69. <!--export default {-->
  70. <!-- name: "miniCustomer",-->
  71. <!-- components: {},-->
  72. <!-- data() {-->
  73. <!-- return {-->
  74. <!-- // 遮罩层-->
  75. <!-- loading: true,-->
  76. <!-- myQwCompanyList:[],-->
  77. <!-- qwStatusOptions:[],-->
  78. <!-- // 显示搜索条件-->
  79. <!-- showSearch: true,-->
  80. <!-- // 总条数-->
  81. <!-- total: 0,-->
  82. <!-- // 员工表格数据-->
  83. <!-- customerList: [],-->
  84. <!-- // 弹出层标题-->
  85. <!-- title: "",-->
  86. <!-- // 是否显示弹出层-->
  87. <!-- open: false,-->
  88. <!-- // 查询参数-->
  89. <!-- queryParams: {-->
  90. <!-- pageNum: 1,-->
  91. <!-- pageSize: 10,-->
  92. <!-- qwUserId: null,-->
  93. <!-- corpId: null,-->
  94. <!-- qwUserName: null,-->
  95. <!-- },-->
  96. <!-- // 表单参数-->
  97. <!-- form: {-->
  98. <!-- },-->
  99. <!-- // 表单校验-->
  100. <!-- rules: {-->
  101. <!-- },-->
  102. <!-- };-->
  103. <!-- },-->
  104. <!-- created() {-->
  105. <!-- this.getDicts("sys_qw_user_status").then(response => {-->
  106. <!-- this.qwStatusOptions = response.data;-->
  107. <!-- });-->
  108. <!-- getMyQwCompanyList().then(response => {-->
  109. <!-- this.myQwCompanyList = response.data;-->
  110. <!-- if(this.myQwCompanyList!=null){-->
  111. <!-- this.queryParams.corpId=this.myQwCompanyList[0].dictValue-->
  112. <!-- this.getList();-->
  113. <!-- }-->
  114. <!-- });-->
  115. <!-- },-->
  116. <!-- methods: {-->
  117. <!-- updateCorpId(){-->
  118. <!-- this.getList();-->
  119. <!-- },-->
  120. <!-- /** 查询客户列表 */-->
  121. <!-- getList() {-->
  122. <!-- this.loading = true;-->
  123. <!-- userList(this.queryParams).then(response => {-->
  124. <!-- this.customerList = response.rows;-->
  125. <!-- this.total = response.total;-->
  126. <!-- this.loading = false;-->
  127. <!-- });-->
  128. <!-- },-->
  129. <!-- //绑定选择-->
  130. <!-- handleBind(row){-->
  131. <!-- this.$emit("bindQwUser",row)-->
  132. <!-- this.resetQuery();-->
  133. <!-- this.$refs.customerList.clearSelection();-->
  134. <!-- },-->
  135. <!-- // 取消按钮-->
  136. <!-- cancel() {-->
  137. <!-- this.open = false;-->
  138. <!-- this.reset();-->
  139. <!-- },-->
  140. <!-- /** 搜索按钮操作 */-->
  141. <!-- handleQuery() {-->
  142. <!-- this.queryParams.pageNum = 1;-->
  143. <!-- this.getList();-->
  144. <!-- },-->
  145. <!-- /** 重置按钮操作 */-->
  146. <!-- resetQuery() {-->
  147. <!-- this.resetForm("queryForm");-->
  148. <!-- this.queryParams.corpId= this.myQwCompanyList[0].dictValue;-->
  149. <!-- this.handleQuery();-->
  150. <!-- },-->
  151. <!-- }-->
  152. <!--};-->
  153. <!--</script>-->
  154. <!--<style>-->
  155. <!-- .el-tag + .el-tag {-->
  156. <!-- margin-left: 10px;-->
  157. <!-- }-->
  158. <!-- .button-new-tag {-->
  159. <!-- margin-left: 10px;-->
  160. <!-- height: 32px;-->
  161. <!-- line-height: 30px;-->
  162. <!-- padding-top: 0;-->
  163. <!-- padding-bottom: 0;-->
  164. <!-- }-->
  165. <!-- .input-new-tag {-->
  166. <!-- width: 90px;-->
  167. <!-- margin-left: 10px;-->
  168. <!-- vertical-align: bottom;-->
  169. <!-- }-->
  170. <!-- .el-dialog__wrapper{-->
  171. <!-- z-index: 100000;-->
  172. <!-- }-->
  173. <!--</style>-->