my.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678
  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="customerCode">
  5. <el-input
  6. style="width:220px"
  7. v-model="queryParams.customerCode"
  8. placeholder="请输入客户编码"
  9. clearable
  10. size="small"
  11. @keyup.enter.native="handleQuery"
  12. />
  13. </el-form-item>
  14. <el-form-item label="客户名称" prop="customerName">
  15. <el-input
  16. style="width:220px"
  17. v-model="queryParams.customerName"
  18. placeholder="请输入客户名称"
  19. clearable
  20. size="small"
  21. @keyup.enter.native="handleQuery"
  22. />
  23. </el-form-item>
  24. <el-form-item label="手机" prop="mobile">
  25. <el-input
  26. style="width:220px"
  27. v-model="queryParams.mobile"
  28. placeholder="请输入手机"
  29. clearable
  30. size="small"
  31. @keyup.enter.native="handleQuery"
  32. />
  33. </el-form-item>
  34. <el-form-item label="跟进阶段" prop="status">
  35. <el-select style="width:220px" filterable v-model="queryParams.status" placeholder="请选择跟进阶段" clearable size="small">
  36. <el-option
  37. v-for="item in statusOptions"
  38. :key="item.dictValue"
  39. :label="item.dictLabel"
  40. :value="item.dictValue"
  41. />
  42. </el-select>
  43. </el-form-item>
  44. <el-form-item label="客户类型" prop="customerType">
  45. <el-select style="width:220px" filterable v-model="queryParams.customerType" placeholder="请选择客户类型" clearable size="small">
  46. <el-option
  47. v-for="item in typeOptions"
  48. :key="item.dictValue"
  49. :label="item.dictLabel"
  50. :value="item.dictValue"
  51. />
  52. </el-select>
  53. </el-form-item>
  54. <el-form-item label="客户标签" prop="tags">
  55. <el-select style="width:220px" multiple filterable v-model="tagIds" placeholder="请选择客户标签" clearable size="small">
  56. <el-option
  57. v-for="item in tagsOptions"
  58. :key="item.dictLabel"
  59. :label="item.dictLabel"
  60. :value="item.dictLabel"
  61. />
  62. </el-select>
  63. </el-form-item>
  64. <el-form-item label="客户来源" prop="source">
  65. <el-select style="width:220px" filterable v-model="queryParams.source" placeholder="请选择客户来源" clearable size="small">
  66. <el-option
  67. v-for="item in sourceOptions"
  68. :key="item.dictValue"
  69. :label="item.dictLabel"
  70. :value="item.dictValue"
  71. />
  72. </el-select>
  73. </el-form-item>
  74. <el-form-item label="创建时间" prop="customerCreateTime">
  75. <el-date-picker
  76. style="width:220px"
  77. clearable size="small"
  78. v-model="queryParams.customerCreateTime"
  79. value-format="yyyy-MM-dd"
  80. >
  81. </el-date-picker>
  82. </el-form-item>
  83. <el-form-item label="领取时间" prop="createTime">
  84. <el-date-picker
  85. style="width:220px"
  86. clearable size="small"
  87. v-model="dateRange"
  88. type="daterange"
  89. value-format="yyyy-MM-dd"
  90. start-placeholder="开始日期"
  91. end-placeholder="结束日期">
  92. </el-date-picker>
  93. </el-form-item>
  94. <el-form-item label="历史订单" prop="isHisOrder">
  95. <el-select style="width:220px" filterable v-model="queryParams.isHisOrder" placeholder="请选择历史订单" clearable size="small">
  96. <el-option key="1" label="是" value="1" />
  97. <el-option key="0" label="否" value="0" />
  98. </el-select>
  99. </el-form-item>
  100. <el-form-item>
  101. <el-button type="cyan" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
  102. <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
  103. </el-form-item>
  104. </el-form>
  105. <el-row :gutter="10" class="mb8">
  106. <el-col :span="1.5">
  107. <el-button
  108. type="primary"
  109. size="mini"
  110. icon="el-icon-plus"
  111. @click="handleAdd"
  112. v-hasPermi="['crm:customer:addMyCustomer']"
  113. >新增客户</el-button>
  114. </el-col>
  115. <el-col :span="1.5">
  116. <el-button
  117. type="success"
  118. icon="el-icon-edit"
  119. size="mini"
  120. :disabled="multiple"
  121. @click="handleAssign"
  122. v-hasPermi="['crm:customer:assignToUser']"
  123. >客户分配</el-button>
  124. </el-col>
  125. <el-col :span="1.5">
  126. <el-button
  127. type="success"
  128. size="mini"
  129. :disabled="multiple"
  130. @click="handleEditScource"
  131. v-hasPermi="['crm:customer:editScource']"
  132. >修改客户来源</el-button>
  133. </el-col>
  134. <el-col :span="1.5">
  135. <el-button
  136. type="success"
  137. size="mini"
  138. :disabled="multiple"
  139. @click="handleSendBatchSms"
  140. v-hasPermi="['crm:customer:sendBatchSms']"
  141. >批量发送短信</el-button>
  142. </el-col>
  143. <el-col :span="1.5">
  144. <el-button
  145. type="warning"
  146. icon="el-icon-download"
  147. size="mini"
  148. @click="handleExport"
  149. v-hasPermi="['crm:customer:export']"
  150. >导出</el-button>
  151. </el-col>
  152. <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
  153. </el-row>
  154. <el-table height="500" border v-loading="loading" :data="customerList" @selection-change="handleSelectionChange">
  155. <el-table-column type="selection" width="55" align="center" />
  156. <el-table-column label="客户编码" align="center" prop="customerCode" />
  157. <el-table-column label="客户名称" align="center" prop="customerName" :show-overflow-tooltip="true">
  158. <template slot-scope="scope">
  159. <el-link @click="handleShow(scope.row)" :underline="false" type="primary" >{{scope.row.customerName}}</el-link>
  160. </template>
  161. </el-table-column>
  162. <el-table-column label="手机" width="120px" align="center" prop="mobile" >
  163. <template slot-scope="scope">
  164. {{scope.row.mobile}}
  165. <el-button type="text" size="mini" @click="callNumber(scope.row.customerId,null)">拨号</el-button>
  166. <el-button v-hasPermi="['crm:customer:addVisit']" type="text" size="mini" @click="handleAddVisit(scope.row)">写跟进</el-button>
  167. </template>
  168. </el-table-column>
  169. <el-table-column label="客户来源" align="center" prop="source">
  170. <template slot-scope="scope">
  171. <el-tag prop="status" v-for="(item, index) in sourceOptions" v-if="scope.row.source==item.dictValue">{{item.dictLabel}}</el-tag>
  172. </template>
  173. </el-table-column>
  174. <el-table-column label="跟进阶段" width="200" align="center" prop="visitStatus">
  175. <template slot-scope="scope">
  176. <el-tag prop="visitStatus" v-for="(item, index) in statusOptions" v-if="scope.row.visitStatus==item.dictValue">{{item.dictLabel}}</el-tag>
  177. <el-button v-hasPermi="['crm:customer:addVisitStatus']" type="text" size="mini" @click="handleVisitStatus(scope.row)">修改</el-button>
  178. </template>
  179. </el-table-column>
  180. <el-table-column label="客户类型" width="200" align="center" prop="customerType">
  181. <template slot-scope="scope">
  182. <el-tag prop="status" v-for="(item, index) in typeOptions" v-if="scope.row.customerType==item.dictValue">{{item.dictLabel}}</el-tag>
  183. <el-button v-hasPermi="['crm:customer:addCustomerType']" type="text" size="mini" @click="handleCustomerType(scope.row)">修改</el-button>
  184. </template>
  185. </el-table-column>
  186. <el-table-column label="标签" width="120px" align="center" prop="tags" >
  187. <template slot-scope="scope">
  188. {{scope.row.tags}}
  189. <el-button v-hasPermi="['crm:customer:addTag']" type="text" size="mini" @click="handleAddTag(scope.row)">打标签</el-button>
  190. </template>
  191. </el-table-column>
  192. <el-table-column label="备注" width="120px" align="center" prop="remark" >
  193. <template slot-scope="scope">
  194. {{scope.row.remark}}
  195. <el-button v-hasPermi="['crm:customer:addRemark']" type="text" size="mini" @click="handleAddRemark(scope.row)">修改备注</el-button>
  196. </template>
  197. </el-table-column>
  198. <el-table-column label="进线客户详情" align="center" :show-overflow-tooltip="true" prop="registerDesc" />
  199. <el-table-column label="领取时间" align="center" prop="startTime" />
  200. <el-table-column label="进线客户提交日期" align="center" prop="registerSubmitTime" />
  201. <el-table-column label="创建时间" align="center" prop="customerCreateTime" width="180">
  202. </el-table-column>
  203. <el-table-column label="操作" align="center" fixed="right" width="120px" class-name="small-padding fixed-width">
  204. <template slot-scope="scope">
  205. <el-button
  206. size="mini"
  207. type="text"
  208. @click="handleShow(scope.row)"
  209. v-hasPermi="['crm:customer:query']"
  210. >查看</el-button>
  211. <el-button
  212. size="mini"
  213. type="text"
  214. @click="handleRecover(scope.row)"
  215. v-hasPermi="['crm:customer:recover']"
  216. >回收公海</el-button>
  217. <!-- <el-button
  218. size="mini"
  219. type="text"
  220. @click="handleAssign(scope.row)"
  221. v-hasPermi="['crm:customer:assign']"
  222. >转移客户</el-button> -->
  223. </template>
  224. </el-table-column>
  225. </el-table>
  226. <pagination
  227. v-show="total>0"
  228. :total="total"
  229. :page.sync="queryParams.pageNum"
  230. :limit.sync="queryParams.pageSize"
  231. @pagination="getList"
  232. />
  233. <el-drawer
  234. size="75%"
  235. :title="show.title" :visible.sync="show.open"
  236. >
  237. <customer-details ref="customerDetails" />
  238. </el-drawer>
  239. <el-dialog :title="addSms.title" :visible.sync="addSms.open" width="1000px" append-to-body>
  240. <add-batch-sms ref="sms" @close="closeSms()"></add-batch-sms>
  241. </el-dialog>
  242. <el-dialog :title="source.title" :visible.sync="source.open" width="1000px" append-to-body>
  243. <edit-source ref="editSource" @close="closeSource()"></edit-source>
  244. </el-dialog>
  245. <el-dialog :title="visit.title" :visible.sync="visit.open" width="600px" append-to-body>
  246. <add-visit @closeVisit="closeVisit" ref="addVisit" />
  247. </el-dialog>
  248. <el-dialog :title="customer.title" :visible.sync="customer.open" width="1000px" append-to-body>
  249. <add-or-edit-customer ref="customer" @close="closeCustomer()"></add-or-edit-customer>
  250. </el-dialog>
  251. <el-dialog :title="assign.title" :visible.sync="assign.open" width="800px" append-to-body>
  252. <assign-user ref="assignUser" @close="closeAssign" />
  253. </el-dialog>
  254. <el-dialog :title="addTag.title" :visible.sync="addTag.open" width="600px" append-to-body>
  255. <add-tag ref="tag" @close="closeTag()"></add-tag>
  256. </el-dialog>
  257. <el-dialog :title="addRemark.title" :visible.sync="addRemark.open" width="600px" append-to-body>
  258. <add-remark ref="remark" @close="closeRemark()"></add-remark>
  259. </el-dialog>
  260. <el-dialog :title="addCustomerType.title" :visible.sync="addCustomerType.open" width="600px" append-to-body>
  261. <add-customer-type ref="customerType" @close="closeCustomerType()"></add-customer-type>
  262. </el-dialog>
  263. <el-dialog :title="addVisitStatus.title" :visible.sync="addVisitStatus.open" width="600px" append-to-body>
  264. <add-visit-status ref="visitStatus" @close="closeVisitStatus()"></add-visit-status>
  265. </el-dialog>
  266. </div>
  267. </template>
  268. <script>
  269. import { getMyCustomerList,recover,exportCustomer } from "@/api/crm/customer";
  270. import customerDetails from '../components/customerDetails.vue';
  271. import addVisit from '../components/addVisit.vue';
  272. import {getCitys} from "@/api/store/city";
  273. import addBatchSms from '../components/addBatchSms.vue';
  274. import editSource from '../components/editSource.vue';
  275. import addOrEditCustomer from '../components/addOrEditCustomer.vue';
  276. import assignUser from '../components/assignUser.vue';
  277. import addTag from '../components/addTag.vue';
  278. import addRemark from '../components/addRemark.vue';
  279. import addCustomerType from '../components/addCustomerType.vue';
  280. import addVisitStatus from '../components/addVisitStatus.vue';
  281. export default {
  282. name: "Customer",
  283. components: {addVisitStatus,addCustomerType,addRemark,addTag,assignUser,addOrEditCustomer,editSource, addBatchSms,customerDetails,addVisit,addVisit },
  284. data() {
  285. return {
  286. addVisitStatus:{
  287. open:false,
  288. title:"跟进阶段"
  289. },
  290. addCustomerType:{
  291. open:false,
  292. title:"客户类型"
  293. },
  294. addRemark:{
  295. open:false,
  296. title:"客户备注"
  297. },
  298. addTag:{
  299. open:false,
  300. title:"打标签"
  301. },
  302. tagIds:[],
  303. tagsOptions:[],
  304. customer:{
  305. open:false,
  306. title:"新增客户"
  307. },
  308. users:[],
  309. visit:{
  310. open:false,
  311. title:"写跟进"
  312. },
  313. source:{
  314. open:false,
  315. title:"修改客户来源"
  316. },
  317. assign:{
  318. title:"分配客户",
  319. open:false,
  320. },
  321. assignForm: {
  322. },
  323. // 表单校验
  324. assignRules: {
  325. // companyUserId: [
  326. // { required: true, message: "员工不能为空", trigger: "blur" }
  327. // ],
  328. },
  329. dateRange:[],
  330. addSms:{
  331. open:false,
  332. title:"批量发短信"
  333. },
  334. cityIds:[],
  335. citys:[],
  336. tags:[],
  337. inputVisible: false,
  338. inputValue: '',
  339. statusOptions:[],
  340. typeOptions:[],
  341. sourceOptions:[],
  342. sexOptions:[],
  343. show:{
  344. title:"客户详情",
  345. open:false,
  346. },
  347. // 遮罩层
  348. loading: true,
  349. // 选中数组
  350. ids: [],
  351. // 非单个禁用
  352. single: true,
  353. // 非多个禁用
  354. multiple: true,
  355. // 显示搜索条件
  356. showSearch: true,
  357. // 总条数
  358. total: 0,
  359. // 客户表格数据
  360. customerList: [],
  361. // 弹出层标题
  362. title: "",
  363. // 是否显示弹出层
  364. open: false,
  365. // 查询参数
  366. queryParams: {
  367. pageNum: 1,
  368. pageSize: 10,
  369. customerCode: null,
  370. customerName: null,
  371. mobile: null,
  372. sex: null,
  373. weixin: null,
  374. userId: null,
  375. createUserId: null,
  376. receiveUserId: null,
  377. customerUserId: null,
  378. address: null,
  379. location: null,
  380. detailAddress: null,
  381. lng: null,
  382. lat: null,
  383. status: null,
  384. deptId: null,
  385. isDel: null,
  386. customerType: null,
  387. receiveTime: null,
  388. poolTime: null,
  389. companyId: null,
  390. isLine: null,
  391. source: null,
  392. tags: null
  393. },
  394. // 表单参数
  395. form: {
  396. province:null,
  397. city:null,
  398. district:null,
  399. },
  400. // 表单校验
  401. rules: {
  402. customerName: [
  403. { required: true, message: "客户名称不能为空", trigger: "blur" }
  404. ],
  405. mobile: [
  406. { required: true, message: "手机号不能为空", trigger: "blur" }
  407. ],
  408. sex: [
  409. { required: true, message: "性别不能为空", trigger: "blur" }
  410. ],
  411. source: [
  412. { required: true, message: "客户来源不能为空", trigger: "blur" }
  413. ],
  414. },
  415. loading:null,
  416. };
  417. },
  418. created() {
  419. this.getDicts("crm_customer_source").then((response) => {
  420. this.sourceOptions = response.data;
  421. });
  422. this.getDicts("common_sex").then((response) => {
  423. this.sexOptions = response.data;
  424. });
  425. this.getDicts("crm_customer_source").then((response) => {
  426. this.sourceOptions = response.data;
  427. });
  428. this.getDicts("common_sex").then((response) => {
  429. this.sexOptions = response.data;
  430. });
  431. this.getDicts("crm_customer_user_status").then((response) => {
  432. this.statusOptions = response.data;
  433. });
  434. this.getDicts("crm_customer_type").then((response) => {
  435. this.typeOptions = response.data;
  436. });
  437. this.getDicts("crm_customer_tag").then((response) => {
  438. this.tagsOptions = response.data;
  439. });
  440. this.getCitys();
  441. this.getList();
  442. },
  443. methods: {
  444. closeVisitStatus(){
  445. this.addVisitStatus.open=false;
  446. this.getList();
  447. },
  448. handleVisitStatus(row){
  449. this.addVisitStatus.open=true;
  450. var that=this;
  451. setTimeout(() => {
  452. that.$refs.visitStatus.reset(row);
  453. }, 500);
  454. },
  455. closeCustomerType(){
  456. this.addCustomerType.open=false;
  457. this.getList();
  458. },
  459. handleCustomerType(row){
  460. this.addCustomerType.open=true;
  461. var that=this;
  462. setTimeout(() => {
  463. that.$refs.customerType.reset(row);
  464. }, 500);
  465. },
  466. closeRemark(){
  467. this.addRemark.open=false;
  468. this.getList();
  469. },
  470. handleAddRemark(row){
  471. this.addRemark.open=true;
  472. var that=this;
  473. setTimeout(() => {
  474. that.$refs.remark.reset(row);
  475. }, 500);
  476. },
  477. closeTag(){
  478. this.addTag.open=false;
  479. this.getList();
  480. },
  481. handleAddTag(row){
  482. this.addTag.open=true;
  483. var that=this;
  484. setTimeout(() => {
  485. that.$refs.tag.reset(row);
  486. }, 500);
  487. },
  488. handleShow(row){
  489. this.show.open=true;
  490. var that=this;
  491. setTimeout(() => {
  492. that.$refs.customerDetails.getDetails(row.customerId);
  493. }, 200);
  494. },
  495. handleAdd() {
  496. this.customer.open = true;
  497. var that=this;
  498. setTimeout(() => {
  499. that.$refs.customer.handleAdd(2);
  500. }, 200);
  501. },
  502. closeCustomer(){
  503. this.customer.open=false;
  504. this.getList();
  505. },
  506. closeVisit(){
  507. this.visit.open=false;
  508. this.getList();
  509. },
  510. handleAddVisit(row){
  511. this.visit.open=true;
  512. setTimeout(() => {
  513. this.$refs.addVisit.reset(row.customerId);
  514. }, 200);
  515. },
  516. handleAssign(){
  517. var that=this;
  518. var ids=this.ids;
  519. that.assign.open=true;
  520. setTimeout(() => {
  521. that.$refs.assignUser.init(ids,3);
  522. }, 200);
  523. },
  524. closeAssign(){
  525. this.assign.open=false;
  526. this.getList();
  527. },
  528. handleEditScource(){
  529. this.source.open=true;
  530. var that=this;
  531. setTimeout(() => {
  532. that.$refs.editSource.handleEdit(that.ids);
  533. }, 200);
  534. },
  535. closeSource(){
  536. this.source.open=false;
  537. this.getList();
  538. },
  539. closeSms(){
  540. this.addSms.open=false;
  541. },
  542. handleSendBatchSms(){
  543. const customerIds = this.ids;
  544. this.addSms.open=true;
  545. var that=this;
  546. setTimeout(() => {
  547. console.log(customerIds)
  548. that.$refs.sms.reset(customerIds);
  549. }, 500);
  550. },
  551. handleRecover(row) {
  552. this.$confirm('是否确认回收客户"' + row.customerName + '"?', "警告", {
  553. confirmButtonText: "确定",
  554. cancelButtonText: "取消",
  555. type: "warning"
  556. }).then(function() {
  557. var data={customerUserId:row.customerUserId}
  558. return recover(data);
  559. }).then(() => {
  560. this.getList();
  561. this.msgSuccess("操作成功");
  562. }).catch(function() {});
  563. },
  564. handleCityChange(value) {
  565. console.log(value);
  566. var nodes=this.$refs.citySelect.getCheckedNodes();
  567. this.form.address=nodes[0].pathLabels[0]+"-"+nodes[0].pathLabels[1]+"-"+nodes[0].pathLabels[2];
  568. this.form.cityIds=value.toString();
  569. },
  570. getCitys(){
  571. getCitys().then(res => {
  572. this.loading = false;
  573. this.citys=res.data;
  574. })
  575. },
  576. /** 查询客户列表 */
  577. getList() {
  578. this.loading = true;
  579. if(this.tagIds.length>0){
  580. this.queryParams.tags=this.tagIds.toString();
  581. }
  582. else{
  583. this.queryParams.tags=null
  584. }
  585. getMyCustomerList(this.addDateRange(this.queryParams, this.dateRange)).then(response => {
  586. this.customerList = response.rows;
  587. this.total = response.total;
  588. this.loading = false;
  589. });
  590. },
  591. // 取消按钮
  592. cancel() {
  593. this.open = false;
  594. this.reset();
  595. },
  596. /** 搜索按钮操作 */
  597. handleQuery() {
  598. this.queryParams.pageNum = 1;
  599. this.getList();
  600. },
  601. /** 重置按钮操作 */
  602. resetQuery() {
  603. this.resetForm("queryForm");
  604. this.handleQuery();
  605. },
  606. // 多选框选中数据
  607. handleSelectionChange(selection) {
  608. this.ids = selection.map(item => item.customerId)
  609. this.single = selection.length!==1
  610. this.multiple = !selection.length
  611. },
  612. /** 删除按钮操作 */
  613. handleDelete(row) {
  614. const customerIds = row.customerId || this.ids;
  615. this.$confirm('是否确认删除客户编号为"' + customerIds + '"的数据项?', "警告", {
  616. confirmButtonText: "确定",
  617. cancelButtonText: "取消",
  618. type: "warning"
  619. }).then(function() {
  620. return delLineCustomer(customerIds);
  621. }).then(() => {
  622. this.getList();
  623. this.msgSuccess("删除成功");
  624. }).catch(function() {});
  625. },
  626. /** 导出按钮操作 */
  627. handleExport() {
  628. const queryParams = this.queryParams;
  629. this.$confirm('是否确认导出所有客户数据项?', "警告", {
  630. confirmButtonText: "确定",
  631. cancelButtonText: "取消",
  632. type: "warning"
  633. }).then(function() {
  634. return exportCustomer(queryParams);
  635. }).then(response => {
  636. this.download(response.msg);
  637. }).catch(function() {});
  638. },
  639. }
  640. };
  641. </script>
  642. <style>
  643. .el-tag + .el-tag {
  644. margin-left: 10px;
  645. }
  646. .button-new-tag {
  647. margin-left: 10px;
  648. height: 32px;
  649. line-height: 30px;
  650. padding-top: 0;
  651. padding-bottom: 0;
  652. }
  653. .input-new-tag {
  654. width: 90px;
  655. margin-left: 10px;
  656. vertical-align: bottom;
  657. }
  658. .el-dialog__wrapper{
  659. z-index: 100000;
  660. }
  661. </style>