heartEquip.vue 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798
  1. <template>
  2. <div class="context">
  3. <div class="panel">
  4. <h5>心率设备</h5>
  5. <div class="panel-body">
  6. <div class="panel_control">
  7. <el-row :gutter="20">
  8. <el-col :span="4">
  9. <em>心率设备:</em>
  10. <el-input v-model="panel.str" placeholder="请输入编号" type="number"></el-input>
  11. </el-col>
  12. <el-col :span="4">
  13. <em>设备状态:</em>
  14. <!--status-->
  15. <el-select v-model="panel.status" placeholder="请选择">
  16. <el-option
  17. v-for="item in panel.statusOptions"
  18. :key="item.value"
  19. :label="item.label"
  20. :value="item.value">
  21. </el-option>
  22. </el-select>
  23. </el-col>
  24. <el-col :span="4">
  25. <el-button size="" type="primary" @click="query" plain>查询</el-button>
  26. </el-col>
  27. </el-row>
  28. </div>
  29. </div>
  30. </div>
  31. <div class="change">
  32. <el-button @click="addMember" type="primary">新增心率设备</el-button>
  33. <el-button @click="editList">编辑心率设备</el-button>
  34. <el-button @click="delList" type="danger">删除心率设备</el-button>
  35. </div>
  36. <div class="table">
  37. <el-table
  38. :data="tableData"
  39. border
  40. is-horizontal-resize
  41. :default-sort="{prop: 'date', order: 'descending'}"
  42. element-loading-background="rgba(0, 0, 0, 0.8)"
  43. class=""
  44. @selection-change="handleSelectionChange" @current-change="clickChange"
  45. >
  46. >
  47. <el-table-column label="选择" width="55">
  48. <template slot-scope="scope">
  49. <el-radio v-model="tableRadio" :label="scope.row"><i></i></el-radio>
  50. </template>
  51. </el-table-column>
  52. <!--<el-table-column-->
  53. <!--type="index"-->
  54. <!--label="序号"-->
  55. <!--align="center"-->
  56. <!--width="50">-->
  57. <!--</el-table-column>-->
  58. <el-table-column
  59. prop="InVenueNo"
  60. label="馆内编号"
  61. align="center"
  62. >
  63. </el-table-column>
  64. <el-table-column
  65. prop="Sn"
  66. label="序列号"
  67. align="InVenueNo"
  68. >
  69. </el-table-column>
  70. <el-table-column
  71. prop="UserName"
  72. label="用户"
  73. align="center"
  74. sortable
  75. >
  76. <template slot-scope="scope">
  77. {{scope.row.UserName}}
  78. <!--<el-select v-model="scope.row.BindUserId" @change="getRowTop(scope.row)" filterable v-if="scope.row.BindUserId">-->
  79. <!--<el-option-->
  80. <!--v-for="item in panel.options"-->
  81. <!--:key="item.value"-->
  82. <!--:label="item.label"-->
  83. <!--:value="item.value">-->
  84. <!--</el-option>-->
  85. <!--</el-select>-->
  86. <!--<el-button @click="takeBack(scope.row)" type="danger" v-if="!scope.row.BindUserId">{{scope.row.UserName}} 设备收回</el-button>-->
  87. </template>
  88. </el-table-column>
  89. <el-table-column
  90. prop="Status"
  91. label="状态"
  92. align="center"
  93. >
  94. <template slot-scope="scope">
  95. <!--1:启用 8:暂停 9:删除-->
  96. <span v-if="scope.row.Status == 1" style="color: #67c23a">已启用</span>
  97. <span v-if="scope.row.Status == 8" style="color: #E6A23C">已暂停</span>
  98. <span v-if="scope.row.Status == 9" style="color: red">已删除</span>
  99. </template>
  100. </el-table-column>
  101. <el-table-column
  102. prop="id"
  103. label="操作"
  104. >
  105. <template slot-scope="scope">
  106. <el-button type="success" v-if="scope.row.Status == 8" size="mini"
  107. @click="pauseRow(scope.row,1)">
  108. 启用
  109. </el-button>
  110. <el-button type="warning" v-if="scope.row.Status == 1" size="mini"
  111. @click="pauseRow(scope.row,8)">
  112. 暂停
  113. </el-button>
  114. <el-button type="text" @click="goPage(scope.row)">记录</el-button>
  115. </template>
  116. </el-table-column>
  117. </el-table>
  118. <br>
  119. <el-pagination
  120. background
  121. :total="pageination.total"
  122. :page-size="pageination.pageItem"
  123. @current-change="pageChange"
  124. ></el-pagination>
  125. </div>
  126. <el-dialog :title="dialogTitle" :visible.sync="dialogMemberVisible" width="650px">
  127. <div class="dialogContent">
  128. <div class="">
  129. <el-form ref="form" :model="form" label-width="160px">
  130. <el-form-item label="馆内编号" :required="true">
  131. <el-input v-model="form.venueNo"></el-input>
  132. </el-form-item>
  133. <el-form-item label="序列号" :required="true">
  134. <el-input v-model="form.sn"></el-input>
  135. </el-form-item>
  136. </el-form>
  137. </div>
  138. </div>
  139. <div class="dialogFooter">
  140. <el-button type="primary" size="small" v-if="form.btnType == 0" @click="confirmMember">确定</el-button>
  141. <el-button type="primary" size="small" v-if="form.btnType == 1" @click="confirmEditMember">确定
  142. </el-button>
  143. <el-button size="small" @click="dialogMemberVisible = false">取消</el-button>
  144. </div>
  145. </el-dialog>
  146. </div>
  147. </template>
  148. <script>
  149. import Global from '../Global.js'
  150. import {
  151. testTable,
  152. testSelect,
  153. ShopManagerStatusEdit,
  154. ClassDetailOne,
  155. QueryHrSensors,
  156. AddHrSensors,
  157. HrSensorsStatusEdit,
  158. EditHrSensors,
  159. UnBindHrSensorsToUser,
  160. ShopVenueEquipEditStatus,
  161. } from "../api/getApiRes";
  162. let qs = require('qs');
  163. export default {
  164. data() {
  165. return {
  166. dialogVisible: false,//其他dialog
  167. dialogMemberVisible: false,//新增心率设备dialog
  168. dialogLesson: false,//课时调整
  169. dialogGift: false,//赠送课时调整
  170. dialogExpTime: false,//有效期调整
  171. dialogLessonTable: false,//心率设备课程
  172. dialogTitle: '新增心率设备',
  173. dialogValue: [],
  174. tableRadio: [],
  175. // panel 配置项目
  176. panel: {
  177. str: '',
  178. phone: '',
  179. compname: '',
  180. keyword: '',
  181. USERCODE: '',
  182. endType: '',
  183. taskstatus: 99,
  184. status: "",
  185. draw: 1,
  186. start: 0,
  187. recordsTotal: 0,
  188. tableData: [],
  189. allTableData: [],
  190. limit: '10',
  191. multipleSort: false,
  192. loading: false,
  193. fileList: [],
  194. multipleSelection: [],
  195. detectedmac: '',
  196. statusOptions: [
  197. {value: "", label: '全部'},
  198. {value: 1, label: '启用'},
  199. {value: 8, label: '暂停'},
  200. {value: 9, label: '删除'},
  201. ], options: [
  202. {value: 99, label: '全部'},
  203. {value: 1, label: '进行中'},
  204. {value: 2, label: '已完成'},
  205. ],
  206. endTypeOptions: [
  207. {value: 99, label: '全部'},
  208. {value: 30, label: '近一个月'},
  209. {value: 7, label: '近一周'},
  210. {value: 1, label: '当日'},
  211. ],
  212. time1: globalBt(),
  213. },
  214. multipleSelection: [],
  215. pageination: {
  216. pageItem: 100,
  217. pageoptions: pageOptions(),
  218. total: 100,
  219. pageIndex: 1,
  220. },
  221. form: {
  222. name: '',
  223. userCode: '',
  224. sn: '',
  225. venueNo: '',
  226. shopId: '',
  227. teacherId: 0,
  228. memberType: 1,
  229. lesson: 1,
  230. gift: 1,
  231. btnType: 0,//0新建,1编辑编辑
  232. memo: '',
  233. phone: '',
  234. expTime: '',
  235. dialogdata: [],//穿梭待选
  236. dialogValue: [],//穿梭已选
  237. },
  238. memberTypes: [
  239. {value: 1, label: '年心率设备'},
  240. {value: 2, label: '充值心率设备'},
  241. ],
  242. tableData: []
  243. }
  244. },
  245. mounted() {
  246. this.getTableQuery();
  247. },
  248. methods: {
  249. // 设备回收
  250. takeBack(row) {
  251. let that = this;
  252. this.$confirm('是否回收用户' + row.name + '的心率设备?', '回收操作', {
  253. confirmButtonText: '确定',
  254. cancelButtonText: '取消',
  255. type: 'warning'
  256. }).then(() => {
  257. let param = {
  258. token: localStorage.token,
  259. Id: row.Id,
  260. status: 0,
  261. };
  262. let postdata = qs.stringify(param);
  263. UnBindHrSensorsToUser(postdata).then(res => {
  264. let json = res;
  265. if (json.Code == 0) {
  266. that.$message({
  267. showClose: true,
  268. message: row.name + '回收成功!',
  269. type: 'success'
  270. });
  271. // table 重载
  272. that.getTableQuery();
  273. } else {
  274. that.$message.error(json.Memo);
  275. }
  276. })
  277. }).catch(() => {
  278. this.$message({
  279. type: 'info',
  280. message: '已取消回收'
  281. });
  282. });
  283. },
  284. goPage(row) {
  285. // 查看绑定记录
  286. this.$router.push({path: '/bindRecord', query: {hrId: row.HrId}});
  287. },
  288. // 编辑
  289. editList() {
  290. let that = this;
  291. this.clearForm();
  292. console.log(this.tableRadio);
  293. if (this.tableRadio.length == 0) {
  294. this.$message.error("请先选中一条记录");
  295. return false
  296. }
  297. let row = this.tableRadio;
  298. this.form.shopid = row.ShopId;
  299. this.form.userId = row.Id;
  300. this.form.name = row.Name;
  301. this.form.userCode = row.Usercode;
  302. this.form.password = '';
  303. this.form.hrId = row.HrId;
  304. this.form.sn = row.Sn;
  305. this.form.venueNo = row.InVenueNo;
  306. this.dialogVisible = true;
  307. this.dialogTitle = '编辑心率设备';
  308. this.form.btnType = 1;
  309. this.dialogMemberVisible = true
  310. },
  311. clickChange(item) {
  312. this.tableRadio = item
  313. },
  314. // 选择课程后,获取当前课程的建议上课人数和课时消耗
  315. getRowTop(row) {
  316. let that = this;
  317. console.log(row);
  318. let param = {
  319. token: localStorage.token,
  320. classId: row.ClassId,
  321. };
  322. let postdata = qs.stringify(param);
  323. ClassDetailOne(postdata).then(res => {
  324. let json = res;
  325. if (json.Code == 0) {
  326. row.TopLimit = json.Rs.TopLimit;
  327. row.ConsumeHour = json.Rs.ConsumeHour;
  328. } else {
  329. that.$message.error(json.Memo);
  330. }
  331. })
  332. },
  333. // 编辑
  334. editMember(row) {
  335. this.clearForm();
  336. this.form.name = row.Name;
  337. this.form.phone = row.Phone;
  338. this.form.shopId = row.ShopId;
  339. this.form.teacherId = row.TeacherId;
  340. this.form.btnType = 1;
  341. this.dialogMemberVisible = true
  342. this.dialogTitle = '编辑心率设备'
  343. },
  344. // 禁用
  345. pauseRow(row, status) {
  346. let that = this;
  347. let param = {
  348. token: localStorage.token,
  349. hrId: row.HrId,
  350. status: status,//1:启用 8:暂停 9:删除
  351. };
  352. let postdata = qs.stringify(param);
  353. HrSensorsStatusEdit(postdata).then(res => {
  354. let json = res;
  355. if (json.Code == 0) {
  356. that.$message({
  357. showClose: true,
  358. message: '执行成功!',
  359. type: 'success'
  360. });
  361. // table 重载
  362. that.getTableQuery();
  363. } else {
  364. that.$message.error(json.Memo);
  365. }
  366. })
  367. },
  368. // pauseRow(row) {
  369. // let that = this;
  370. // this.$confirm('是否禁用心率设备' + row.Sn + '?', '禁用操作', {
  371. // confirmButtonText: '确定',
  372. // cancelButtonText: '取消',
  373. // type: 'warning'
  374. // }).then(() => {
  375. // let param = {
  376. // token: localStorage.token,
  377. // shopId : localStorage.token,
  378. // status: 8,
  379. // };
  380. // let postdata = qs.stringify(param);
  381. // ShopVenueEquipEditStatus(postdata).then(res => {
  382. // let json = res;
  383. // if (json.Code == 0) {
  384. // that.$message({
  385. // showClose: true,
  386. // message: row.name + '禁用成功!',
  387. // type: 'success'
  388. // });
  389. // // table 重载
  390. // that.getTableQuery();
  391. // } else {
  392. // that.$message.error(json.Memo);
  393. // }
  394. // })
  395. // }).catch(() => {
  396. // this.$message({
  397. // type: 'info',
  398. // message: '已取消禁用'
  399. // });
  400. // });
  401. // },
  402. // 启用
  403. runRow(row) {
  404. let that = this;
  405. this.$confirm('是否启用心率设备' + row.Sn + '?', '启用操作', {
  406. confirmButtonText: '确定',
  407. cancelButtonText: '取消',
  408. type: 'warning'
  409. }).then(() => {
  410. let param = {
  411. token: localStorage.token,
  412. Id: row.Id,
  413. status: 1,
  414. };
  415. let postdata = qs.stringify(param);
  416. testTable(postdata).then(res => {
  417. let json = res;
  418. if (json.Code == 0) {
  419. that.$message({
  420. showClose: true,
  421. message: row.name + '启用成功!',
  422. type: 'success'
  423. });
  424. // table 重载
  425. that.getTableQuery();
  426. } else {
  427. that.$message.error(json.Memo);
  428. }
  429. })
  430. }).catch(() => {
  431. this.$message({
  432. type: 'info',
  433. message: '已取消启用'
  434. });
  435. });
  436. },
  437. // 关闭所有
  438. allDialogClose() {
  439. this.dialogVisible = false;
  440. this.dialogGift = false;
  441. this.dialogLesson = false;
  442. this.dialogExpTime = false;
  443. this.dialogLessonTable = false;
  444. },
  445. // 确认提交新增心率设备
  446. confirmMember() {
  447. let that = this;
  448. // checkNum
  449. if (!that.form.sn) {
  450. this.$message.error('错了哦,编号不能为空');
  451. return false
  452. }
  453. if (that.form.sn.length > 20) {
  454. this.$message.error('错了哦,编号不能超过20个字符');
  455. return false
  456. }
  457. if (!that.form.venueNo) {
  458. this.$message.error('错了哦,实体序列号不能为空');
  459. return false
  460. }
  461. if (that.form.venueNo.length > 30) {
  462. this.$message.error('错了哦,实体序列号不能超过30个字符');
  463. return false
  464. }
  465. let param = {
  466. token: localStorage.token,
  467. shopId: localStorage.shopId,
  468. sn: that.form.sn,
  469. venueNo: that.form.venueNo,
  470. };
  471. let postdata = qs.stringify(param);
  472. AddHrSensors(postdata).then(res => {
  473. let json = res;
  474. if (json.Code == 0) {
  475. // 关闭弹窗
  476. that.dialogMemberVisible = false;
  477. // 重载列表
  478. that.getTableQuery();
  479. that.$message({
  480. showClose: true,
  481. message: '心率设备添加成功!',
  482. type: 'success'
  483. });
  484. } else {
  485. that.$message.error(json.Memo);
  486. }
  487. })
  488. },
  489. confirmEditMember() {
  490. let that = this;
  491. // checkNum
  492. if (!that.form.sn) {
  493. this.$message.error('错了哦,编号不能为空');
  494. return false
  495. }
  496. if (that.form.sn.length > 20) {
  497. this.$message.error('错了哦,编号不能超过20个字符');
  498. return false
  499. }
  500. if (!that.form.venueNo) {
  501. this.$message.error('错了哦,实体序列号不能为空');
  502. return false
  503. }
  504. if (that.form.venueNo.length > 30) {
  505. this.$message.error('错了哦,实体序列号不能超过30个字符');
  506. return false
  507. }
  508. let param = {
  509. token: localStorage.token,
  510. shopId: localStorage.shopId,
  511. hrId: that.form.hrId,
  512. sn: that.form.sn,
  513. venueNo: that.form.venueNo,
  514. };
  515. let postdata = qs.stringify(param);
  516. EditHrSensors(postdata).then(res => {
  517. let json = res;
  518. if (json.Code == 0) {
  519. // 关闭弹窗
  520. that.dialogMemberVisible = false;
  521. // 重载列表
  522. that.getTableQuery();
  523. that.$message({
  524. showClose: true,
  525. message: '心率设备信息编辑成功!',
  526. type: 'success'
  527. });
  528. } else {
  529. that.$message.error(json.Memo);
  530. }
  531. })
  532. },
  533. // 确认提交课时
  534. confirmLesson() {
  535. let that = this;
  536. // checkNum
  537. let param = {
  538. token: localStorage.token,
  539. userCode: that.form.userCode,
  540. lesson: that.form.lesson,
  541. };
  542. let postdata = qs.stringify(param);
  543. testSelect(postdata).then(res => {
  544. let json = res;
  545. if (json.Code == 0) {
  546. // 关闭弹窗
  547. that.dialogVisible = false;
  548. // 重载列表
  549. that.getTableQuery();
  550. that.$message({
  551. showClose: true,
  552. message: '课时调整成功!',
  553. type: 'success'
  554. });
  555. } else {
  556. that.$message.error(json.Memo);
  557. }
  558. })
  559. },
  560. // 新增心率设备
  561. addMember() {
  562. this.clearForm();
  563. this.dialogMemberVisible = true;
  564. this.btnType = 0;
  565. this.dialogTitle = '新增心率设备'
  566. },
  567. // 删除
  568. delList() {
  569. let that = this;
  570. if (this.tableRadio.length == 0) {
  571. this.$message.error("请先选中一条记录");
  572. return false
  573. }
  574. let hrId = this.tableRadio.HrId;
  575. let param = {
  576. token: localStorage.token,
  577. hrId: hrId,
  578. status: 9,//1:启用,8:暂停,9:删除
  579. };
  580. let postdata = qs.stringify(param);
  581. this.$confirm('此操作将永久删除该心率设备, 是否继续?', '提示', {
  582. confirmButtonText: '确定',
  583. cancelButtonText: '取消',
  584. type: 'warning'
  585. }).then(() => {
  586. HrSensorsStatusEdit(postdata).then(res => {
  587. let json = res;
  588. if (json.Code == 0) {
  589. that.$message({
  590. showClose: true,
  591. message: '选中的心率设备已删除!',
  592. type: 'success'
  593. });
  594. // 重载列表
  595. that.getTableQuery();
  596. } else {
  597. that.$message.error(json.Memo);
  598. }
  599. });
  600. }).catch(() => {
  601. this.$message({
  602. type: 'info',
  603. message: '已取消删除'
  604. });
  605. });
  606. },
  607. handleSelectionChange(val) {
  608. this.multipleSelection = val;
  609. },
  610. // 查询按钮
  611. query() {
  612. this.getTableQuery();
  613. this.$message.success('查询完毕');
  614. },
  615. clearForm() {
  616. // clear
  617. this.form.name = '';
  618. this.form.sn = '';
  619. this.form.venueNo = '';
  620. this.form.phone = '';
  621. this.form.userCode = '';
  622. this.form.shopId = '';
  623. },
  624. // 页面数据查询
  625. getTableQuery() {
  626. let that = this;
  627. that.loading = true;
  628. let param = {
  629. token: localStorage.token,
  630. str: this.panel.str,//
  631. status: this.panel.status,//
  632. shopId: localStorage.shopId,//
  633. };
  634. let postdata = qs.stringify(param);
  635. QueryHrSensors(postdata).then(res => {
  636. let json = res;
  637. if (json.Code == 0) {
  638. that.loading = false;
  639. if (json.Rs) {
  640. that.allTableData = json.Rs;
  641. that.recordsTotal = json.Rs.length;
  642. } else {
  643. that.allTableData = [];
  644. that.recordsTotal = 0;
  645. }
  646. // 设置分页数据
  647. that.setPaginations();
  648. } else {
  649. that.$message.error(json.Memo);
  650. }
  651. })
  652. },
  653. // 设置分页数据
  654. setPaginations() {
  655. // 分页属性
  656. let that = this;
  657. that.pageination.total = that.recordsTotal;
  658. // 默认分页
  659. that.tableData = that.allTableData.filter((item, index) => {
  660. return index < that.pageination.pageItem;
  661. });
  662. },
  663. // 每页显示数量
  664. handleSizeChange() {
  665. let that = this;
  666. that.tableData = that.allTableData.filter((item, index) => {
  667. return index < that.pageination.pageItem;
  668. });
  669. that.draw = that.pageination.pageItem;
  670. // that.getTableQuery();
  671. },
  672. // 翻页
  673. pageChange(pageIndex) {
  674. let that = this;
  675. // 获取当前页
  676. let index = that.pageination.pageItem * (pageIndex - 1);
  677. // 数据总数
  678. let nums = that.pageination.pageItem * pageIndex;
  679. // 容器
  680. let tables = [];
  681. for (var i = index; i < nums; i++) {
  682. if (that.allTableData[i]) {
  683. tables.push(that.allTableData[i])
  684. }
  685. this.tableData = tables;
  686. }
  687. that.start = index * that.draw;
  688. // that.getTableQuery();
  689. },
  690. // 自动排序
  691. sortChange(params) {
  692. console.log(params)
  693. },
  694. },
  695. }
  696. </script>
  697. <style scoped>
  698. @import "../assets/css/panel.css";
  699. .context {
  700. height: 770px;
  701. overflow-y: scroll;
  702. display: block;
  703. margin: 0 auto;
  704. background-color: #fff !important;
  705. padding: 30px;
  706. }
  707. .panel-body {
  708. padding: 20px;
  709. background: #F0F2F5;
  710. }
  711. .change {
  712. width: 100%;
  713. overflow: hidden;
  714. display: block;
  715. margin: 0 auto;
  716. padding-top: 10px;
  717. padding-bottom: 10px;
  718. }
  719. .change button {
  720. float: left;
  721. }
  722. .change button.pull-right {
  723. float: right;
  724. }
  725. .dialogTitle {
  726. width: 100%;
  727. overflow: hidden;
  728. display: block;
  729. margin: 0 auto;
  730. color: #000000;
  731. font-size: 18px;
  732. text-align: center;
  733. }
  734. .dialogTitle em {
  735. float: none;
  736. font-style: normal;
  737. color: #3799FF;
  738. margin: 0;
  739. }
  740. /deep/ .el-transfer-panel__item .el-checkbox__input {
  741. left: 40px;
  742. }
  743. .dialogFooter {
  744. width: 90%;
  745. overflow: hidden;
  746. display: block;
  747. margin: 0 auto;
  748. margin-top: 10px;
  749. }
  750. .dialogFooter button {
  751. float: right;
  752. margin-left: 10px;
  753. }
  754. .dialogContent {
  755. width: 100%;
  756. overflow: hidden;
  757. display: block;
  758. margin: 0 auto;
  759. }
  760. .dialogContent .pull-left {
  761. width: 30%;
  762. float: left;
  763. }
  764. .dialogContent .pull-right {
  765. width: 70%;
  766. float: right;
  767. }
  768. </style>