changeCompetNew.vue 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794
  1. <template>
  2. <div>
  3. <fullscreen :fullscreen.sync="fullscreen" class="container structure-l" style="margin: 0;width: calc(75% - 15px);">
  4. <div class="container-box">
  5. <toolList @iconCli='iconCli' :tooltit='tooltit'></toolList>
  6. <div class="info-form">
  7. <el-form :model="infolist" ref="infolist" :rules="rules">
  8. <div class="info-line">
  9. <el-form-item prop="violationCate">
  10. <span><i>*</i>类别</span>
  11. <el-select :popper-append-to-body="false" v-model="infolist.violationCate" placeholder="类别" @change="verifcheck(1)">
  12. <el-option v-for="item in options1" :key="item.orderNumber" :label="item.dataName"
  13. :value="item.dataCode">
  14. </el-option>
  15. </el-select>
  16. </el-form-item>
  17. <el-form-item prop="provinceCode">
  18. <span><i>*</i>地域</span>
  19. <el-select :popper-append-to-body="false" v-model="infolist.provinceCode" placeholder="省份" @change="verifcheck(2)">
  20. <el-option v-for="item in options2" :key="item.orderNumber" :label="item.dataName"
  21. :value="item.dataCode">
  22. </el-option>
  23. </el-select>
  24. </el-form-item>
  25. </div>
  26. <div class="info-line">
  27. <el-form-item prop="operatorCode">
  28. <span><i>*</i>运营商</span>
  29. <el-select :popper-append-to-body="false" v-model="infolist.operatorCode" placeholder="运营商" @change="verifcheck(3)">
  30. <el-option v-for="item in options3" :key="item.orderNumber" :label="item.dataName"
  31. :value="item.dataCode">
  32. </el-option>
  33. </el-select>
  34. </el-form-item>
  35. <el-form-item prop="packageGear">
  36. <span><i>*</i>套餐档位</span>
  37. <el-select :popper-append-to-body="false" v-model="infolist.packageGear" placeholder="违规项目" @change="verifcheck(4)">
  38. <el-option
  39. v-for="item in options6"
  40. :key="item.value"
  41. :label="item.label"
  42. :value="item.value">
  43. </el-option>
  44. </el-select>
  45. </el-form-item>
  46. </div>
  47. <div class="info-line">
  48. <el-form-item prop="tariffName">
  49. <span><i>*</i>套餐名称</span>
  50. <el-input v-model="infolist.tariffName" placeholder="资费名称"></el-input>
  51. </el-form-item>
  52. <el-form-item prop="recordRegionCode" class="info-line tea-r">
  53. <span><i>*</i>地市</span>
  54. <el-select :popper-append-to-body="false" v-model="infolist.recordRegionCode" placeholder="违规地市" @change="verifcheck(5)">
  55. <el-option v-for="item in options5" :key="item.dataCode" :label="item.dataName"
  56. :value="item.dataCode">
  57. </el-option>
  58. </el-select>
  59. </el-form-item>
  60. </div>
  61. <div class="info-line">
  62. <el-form-item>
  63. <span>月费(元)</span>
  64. <el-input v-model="infolist.monthFee" placeholder="月费"></el-input>
  65. </el-form-item>
  66. <el-form-item>
  67. <span>预存款(元)</span>
  68. <el-input v-model="infolist.preFee" placeholder="预存款"></el-input>
  69. </el-form-item>
  70. <el-form-item>
  71. <span><i>*</i>优惠价(元)</span>
  72. <el-input v-model="infolist.concessionalRate" placeholder="请输入预存款金额"></el-input>
  73. </el-form-item>
  74. </div>
  75. <div class="info-line">
  76. <el-form-item>
  77. <span>酬金</span>
  78. <el-input v-model="infolist.remFee" placeholder="酬金"></el-input>
  79. </el-form-item>
  80. <el-form-item>
  81. <span>销售渠道</span>
  82. <el-select :popper-append-to-body="false" v-model="infolist.saleChnl" placeholder="请选择销售渠道">
  83. <el-option v-for="item in saleChnlopt" :key="item.dataName" :label="item.dataName"
  84. :value="item.dataName">
  85. </el-option>
  86. </el-select>
  87. </el-form-item>
  88. </div>
  89. <div class="info-line">
  90. <el-form-item prop="saleScope">
  91. <span><i>*</i>销售范围</span>
  92. <el-input v-model="infolist.saleScope" placeholder="销售范围"></el-input>
  93. </el-form-item>
  94. <el-form-item prop="monthSale">
  95. <span><i>*</i>月销量</span>
  96. <el-input v-model="infolist.monthSale" placeholder="月销量"></el-input>
  97. </el-form-item>
  98. <el-form-item prop="isDb">
  99. <span><i>*</i>是否包含宽带</span>
  100. <el-select v-model="infolist.isDb" placeholder="请选择" >
  101. <el-option
  102. v-for="item in options7"
  103. :key="item.value"
  104. :label="item.label"
  105. :value="item.value">
  106. </el-option>
  107. </el-select>
  108. </el-form-item>
  109. <el-form-item>
  110. <span><i></i>宽带内容</span>
  111. <el-input v-model="infolist.dbContent" placeholder="请输入宽带内容"></el-input>
  112. </el-form-item>
  113. </div>
  114. <div class="info-line">
  115. <el-form-item>
  116. <span>解决结果</span>
  117. <el-select v-model="infolist.fixFlag" placeholder="解决结果">
  118. <el-option v-for="item in ifoption" :key="item.id" :label="item.name" :value="item.id">
  119. </el-option>
  120. </el-select>
  121. </el-form-item>
  122. <el-form-item>
  123. <span>反馈总部</span>
  124. <el-select v-model="infolist.groupFlag" placeholder="是否反馈总部">
  125. <el-option v-for="item in ifoption" :key="item.id" :label="item.name" :value="item.id">
  126. </el-option>
  127. </el-select>
  128. </el-form-item>
  129. </div>
  130. <div class="info-line">
  131. <el-form-item>
  132. <span>返回竞合</span>
  133. <el-select v-model="infolist.wwFlag" placeholder="是否返回竞合">
  134. <el-option v-for="item in ifoption" :key="item.id" :label="item.name" :value="item.id">
  135. </el-option>
  136. </el-select>
  137. </el-form-item>
  138. <el-form-item>
  139. <span>反馈总局</span>
  140. <el-select v-model="infolist.admFlag" placeholder="是否反馈总局">
  141. <el-option v-for="item in ifoption" :key="item.id" :label="item.name" :value="item.id">
  142. </el-option>
  143. </el-select>
  144. </el-form-item>
  145. </div>
  146. <!-- <div class="info-line">
  147. <el-form-item prop="opName">
  148. <span><i>*</i>上报人</span>
  149. <el-input v-model="infolist.opName" placeholder="销售范围"></el-input>
  150. </el-form-item>
  151. <el-form-item prop="contactPhone">
  152. <span><i>*</i>联系电话</span>
  153. <el-input v-model="infolist.contactPhone" placeholder="月销量"></el-input>
  154. </el-form-item>
  155. </div> -->
  156. <el-form-item prop="taffiffContent" class="info-line online">
  157. <span><i>*</i>资费内容</span>
  158. <el-input v-model="infolist.taffiffContent" placeholder="套餐内容" type="textarea" :rows="3"></el-input>
  159. </el-form-item>
  160. <div style="padding-left: 60px">
  161. <myUpload @uploadBack="uploadBack" :fileInfo="fileInfo" :fileList="fileInfo.fileList"></myUpload>
  162. </div>
  163. </el-form>
  164. </div>
  165. <div class="titbtn-box">
  166. <el-button type="primary" plain @click="submitList(1)">取消</el-button>
  167. <el-button type="primary" @click="submitList">提交</el-button>
  168. </div>
  169. </div>
  170. </fullscreen>
  171. <competeRight></competeRight>
  172. </div>
  173. </template>
  174. <script>
  175. import competeRight from "../../../components/competeRight";
  176. import myUpload from "../../../components/upload";
  177. import toolList from "../../../components/toolList";
  178. export default {
  179. components: {
  180. competeRight,
  181. myUpload,
  182. toolList
  183. },
  184. data() {
  185. const fileLists = (rule, value, callback) => {
  186. if (!this.fileLists.length > 0) {
  187. callback(new Error('不能为空'))
  188. } else {
  189. callback()
  190. }
  191. }
  192. const opName = (rule, value, callback) => {
  193. if (!this.infolist.opName) {
  194. callback(new Error('不能为空'))
  195. } else {
  196. callback()
  197. }
  198. }
  199. const contactPhone = (rule, value, callback) => {
  200. let x = this.infolist.contactPhone * 1;
  201. if (!(/^1([358][0-9]|4[579]|66|7[0135678]|9[89])[0-9]{8}$/.test(x))) {
  202. callback(new Error('请输入正确的电话号码'))
  203. } else {
  204. callback()
  205. }
  206. }
  207. const violationCate = (rule, value, callback) => {
  208. if (!this.infolist.violationCate) {
  209. callback(new Error('不能为空'))
  210. } else {
  211. callback()
  212. }
  213. }
  214. const provinceCode = (rule, value, callback) => {
  215. if (!this.infolist.provinceCode) {
  216. callback(new Error('不能为空'))
  217. } else {
  218. callback()
  219. }
  220. }
  221. const operatorCode = (rule, value, callback) => {
  222. if (!this.infolist.operatorCode) {
  223. callback(new Error('不能为空'))
  224. } else {
  225. callback()
  226. }
  227. }
  228. const recordRegionCode = (rule, value, callback) => {
  229. if (!this.infolist.recordRegionCode) {
  230. callback(new Error('不能为空'))
  231. } else {
  232. callback()
  233. }
  234. }
  235. const violationItem = (rule, value, callback) => {
  236. if (!this.infolist.violationItem) {
  237. callback(new Error('不能为空'))
  238. } else {
  239. callback()
  240. }
  241. }
  242. const tariffName = (rule, value, callback) => {
  243. if (!this.infolist.tariffName) {
  244. callback(new Error('不能为空'))
  245. } else {
  246. callback()
  247. }
  248. }
  249. const monthFee = (rule, value, callback) => {
  250. let x = isNaN(this.infolist.monthFee);
  251. if (x) {
  252. callback(new Error('请输入数字'))
  253. } else {
  254. callback()
  255. }
  256. }
  257. const preFee = (rule, value, callback) => {
  258. let x = isNaN(this.infolist.preFee);
  259. if (x) {
  260. callback(new Error('请输入数字'))
  261. } else {
  262. callback()
  263. }
  264. }
  265. const remFee = (rule, value, callback) => {
  266. if (!this.infolist.remFee) {
  267. callback(new Error('不能为空'))
  268. } else {
  269. callback()
  270. }
  271. }
  272. const saleChnl = (rule, value, callback) => {
  273. if (!this.infolist.saleChnl) {
  274. callback(new Error('不能为空'))
  275. } else {
  276. callback()
  277. }
  278. }
  279. const saleScope = (rule, value, callback) => {
  280. if (!this.infolist.saleScope) {
  281. callback(new Error('不能为空'))
  282. } else {
  283. callback()
  284. }
  285. }
  286. const monthSale = (rule, value, callback) => {
  287. if (!this.infolist.monthSale) {
  288. callback(new Error('不能为空'))
  289. } else {
  290. callback()
  291. }
  292. }
  293. const validateUsername = (rule, value, callback) => {
  294. if (!this.infolist.violationContent) {
  295. callback(new Error('不能为空'))
  296. } else {
  297. callback()
  298. }
  299. }
  300. const taffiffContent = (rule, value, callback) => {
  301. if (!this.infolist.taffiffContent) {
  302. callback(new Error('不能为空'))
  303. } else {
  304. callback()
  305. }
  306. }
  307. return {
  308. rules: {
  309. fileLists: [{
  310. required: true,
  311. trigger: 'change',
  312. validator: fileLists
  313. }],
  314. recordRegionCode: [{
  315. required: true,
  316. trigger: 'change',
  317. validator: recordRegionCode
  318. }],
  319. opName: [{
  320. required: true,
  321. trigger: 'blur',
  322. validator: opName
  323. }],
  324. contactPhone: [{
  325. required: true,
  326. trigger: 'blur',
  327. validator: contactPhone
  328. }],
  329. violationCate: [{
  330. required: true,
  331. trigger: 'change',
  332. validator: violationCate
  333. }],
  334. provinceCode: [{
  335. required: true,
  336. trigger: 'change',
  337. validator: provinceCode
  338. }],
  339. operatorCode: [{
  340. required: true,
  341. trigger: 'change',
  342. validator: operatorCode
  343. }],
  344. violationItem: [{
  345. required: true,
  346. trigger: 'change',
  347. validator: violationItem
  348. }],
  349. tariffName: [{
  350. required: true,
  351. trigger: 'blur',
  352. validator: tariffName
  353. }],
  354. monthFee: [{
  355. required: true,
  356. trigger: 'blur',
  357. validator: monthFee
  358. }],
  359. preFee: [{
  360. required: true,
  361. trigger: 'blur',
  362. validator: preFee
  363. }],
  364. remFee: [{
  365. required: true,
  366. trigger: 'blur',
  367. validator: remFee
  368. }],
  369. saleChnl: [{
  370. required: true,
  371. trigger: 'change',
  372. validator: saleChnl
  373. }],
  374. monthSale: [{
  375. required: true,
  376. trigger: 'blur',
  377. validator: monthSale
  378. }],
  379. saleScope: [{
  380. required: true,
  381. trigger: 'blur',
  382. validator: saleScope
  383. }],
  384. violationContent: [{
  385. required: true,
  386. trigger: 'blur',
  387. validator: validateUsername
  388. }],
  389. taffiffContent: [{
  390. required: true,
  391. trigger: 'blur',
  392. validator: taffiffContent
  393. }],
  394. },
  395. tooltit: '修改竞争对手信息',
  396. infolist: {
  397. roomname: '0'
  398. },
  399. options1: [],
  400. options2: [],
  401. options3: [],
  402. options4: [],
  403. options5: [],
  404. options6: [{
  405. value: '低档:58元以下套餐',
  406. label: '低档:58元以下套餐'
  407. }, {
  408. value: '中档:58元(含)-128元套餐(不含)',
  409. label: '中档:58元(含)-128元套餐(不含)'
  410. }, {
  411. value: '高档:128元及以上套餐',
  412. label: '高档:128元及以上套餐'
  413. }],
  414. options7: [{
  415. value: '是',
  416. label: '是'
  417. }, {
  418. value: '否',
  419. label: '否'
  420. }],
  421. saleChnlopt: [],
  422. fullscreen: false,
  423. fileList: [],
  424. fileLists: [],
  425. attList: [],
  426. fileInfo: {
  427. limit: 5,
  428. url: '/market/compatt/upload',
  429. fileList: []
  430. },
  431. ifoption: [{
  432. id: '0',
  433. name: '是'
  434. },
  435. {
  436. id: '1',
  437. name: '否'
  438. }
  439. ]
  440. }
  441. },
  442. methods: {
  443. //获取详情
  444. getInfo(v) {
  445. let _this = this;
  446. this.$http({
  447. url: "/market/cwcompetitor/queryInfo",
  448. method: "post",
  449. headers: {
  450. "Content-Type": "application/json",
  451. },
  452. data: {
  453. id: v
  454. },
  455. }).then((res) => {
  456. _this.infolist = res.data;
  457. this.attList = [];
  458. this.fileInfo.fileList = [];
  459. res.data.attList.forEach(item => {
  460. this.fileInfo.fileList.push({
  461. name: item.fileName,
  462. url: '',
  463. id: item.id,
  464. fileName: item.fileName
  465. });
  466. this.attList.push({
  467. name: item.fileName,
  468. url: '',
  469. id: item.id,
  470. fileName: item.fileName
  471. });
  472. })
  473. if (this.infolist.provinceCode === 'hlj') {
  474. this.getListyys(1);
  475. } else {
  476. this.getListyys();
  477. }
  478. });
  479. },
  480. //功能栏
  481. iconCli(v) {
  482. if (v === 1) {
  483. }
  484. if (v === 2) {
  485. this.fullscreen = !this.fullscreen
  486. }
  487. },
  488. //查询字典
  489. getListwglb() {
  490. this.$http({
  491. url: "/market/cfgDataDict/queryList",
  492. method: "post",
  493. headers: {
  494. "Content-Type": "application/json",
  495. },
  496. data: {
  497. dictCode: 'wglb'
  498. },
  499. }).then((res) => {
  500. this.options1 = res.data;
  501. });
  502. },
  503. getListsf() {
  504. this.$http({
  505. url: "/market/cfgDataDict/queryList",
  506. method: "post",
  507. headers: {
  508. "Content-Type": "application/json",
  509. },
  510. data: {
  511. dictCode: 'sf'
  512. },
  513. }).then((res) => {
  514. this.options2 = res.data;
  515. });
  516. },
  517. getListyys(v) {
  518. this.$http({
  519. url: "/market/cfgDataDict/queryList",
  520. method: "post",
  521. headers: {
  522. "Content-Type": "application/json",
  523. },
  524. data: {
  525. dictCode: 'yys'
  526. },
  527. }).then((res) => {
  528. if (v === 1) {
  529. this.options3 = [];
  530. res.data.forEach(item => {
  531. if (item.dataName !== '移动') {
  532. this.options3.push(item)
  533. }
  534. })
  535. } else {
  536. this.options3 = res.data;
  537. }
  538. });
  539. },
  540. getListwgxx() {
  541. this.$http({
  542. url: "/market/cfgDataDict/queryList",
  543. method: "post",
  544. headers: {
  545. "Content-Type": "application/json",
  546. },
  547. data: {
  548. dictCode: 'wgxx'
  549. },
  550. }).then((res) => {
  551. this.options4 = res.data;
  552. });
  553. },
  554. getListregion() {
  555. this.$http({
  556. url: "/market/cfgDataDict/queryList",
  557. method: "post",
  558. headers: {
  559. "Content-Type": "application/json",
  560. },
  561. data: {
  562. dictCode: 'region'
  563. },
  564. }).then((res) => {
  565. this.options5 = res.data;
  566. });
  567. },
  568. getsaleChnl() {
  569. this.$http({
  570. url: "/market/cfgDataDict/queryList",
  571. method: "post",
  572. headers: {
  573. "Content-Type": "application/json",
  574. },
  575. data: {
  576. dictCode: 'saleChnl'
  577. },
  578. }).then((res) => {
  579. this.saleChnlopt = res.data;
  580. });
  581. },
  582. //添加、取消
  583. submitList(v) {
  584. if (v === 1) {
  585. this.$router.push("/competitor");
  586. return
  587. }
  588. let _this = this;
  589. let attList = [];
  590. for (let i = 0; i < this.attList.length; i++) {
  591. attList.push({
  592. id: this.attList[i].id
  593. });
  594. }
  595. this.infolist.fixFlag === '1' ? this.infolist.fixFlagDesc = '否' : this.infolist.fixFlagDesc = '是';
  596. this.infolist.groupFlag === '1' ? this.infolist.groupFlagDesc = '否' : this.infolist.groupFlagDesc = '是';
  597. this.infolist.wwFlag === '1' ? this.infolist.wwFlagDesc = '否' : this.infolist.wwFlagDesc = '是';
  598. this.infolist.admFlag === '1' ? this.infolist.admFlagDesc = '否' : this.infolist.admFlagDesc = '是';
  599. this.$refs.infolist.validate(valid => {
  600. if (valid) {
  601. let nowdata = _this.$formatDate(new Date(), "YYYY-MM-DD");
  602. this.infolist.opTime = nowdata;
  603. this.infolist.sts = 0;
  604. this.infolist.stsDesc = '未审核';
  605. this.$http({
  606. url: "/market/cwcompetitor/update",
  607. method: "post",
  608. headers: {
  609. "Content-Type": "application/json",
  610. },
  611. data: {
  612. wCompetitor: this.infolist,
  613. attList: attList
  614. },
  615. }).then((res) => {
  616. if (res.data.result === 1) {
  617. _this.$message({
  618. message: res.data.desc,
  619. type: 'error'
  620. });
  621. } else {
  622. _this.$message({
  623. message: '修改成功',
  624. type: 'success'
  625. });
  626. _this.$router.push("/competitor");
  627. }
  628. });
  629. }
  630. })
  631. },
  632. //处理所需数据
  633. verifcheck(v) {
  634. if (v === 1) {
  635. for (let i = 0; i < this.options1.length; i++) {
  636. if (this.options1[i].dataCode === this.infolist.violationCate) {
  637. this.infolist.violationCateName = this.options1[i].dataName
  638. }
  639. }
  640. }
  641. if (v === 2) {
  642. if (this.infolist.provinceCode === 'hlj') {
  643. this.getListyys(1);
  644. if (this.infolist.operatorCode === 'mobile') {
  645. this.infolist.operatorCode = '';
  646. }
  647. } else {
  648. this.getListyys();
  649. }
  650. for (let i = 0; i < this.options2.length; i++) {
  651. if (this.options2[i].dataCode === this.infolist.provinceCode) {
  652. this.infolist.provinceName = this.options2[i].dataName
  653. }
  654. }
  655. }
  656. if (v === 3) {
  657. for (let i = 0; i < this.options3.length; i++) {
  658. if (this.options3[i].dataCode === this.infolist.operatorCode) {
  659. this.infolist.operatorName = this.options3[i].dataName
  660. }
  661. }
  662. }
  663. if (v === 4) {
  664. for (let i = 0; i < this.options4.length; i++) {
  665. if (this.options4[i].dataCode === this.infolist.violationItem) {
  666. this.infolist.violationItemName = this.options4[i].dataName
  667. }
  668. }
  669. }
  670. if (v === 5) {
  671. for (let i = 0; i < this.options5.length; i++) {
  672. if (this.options5[i].dataCode === this.infolist.recordRegionCode) {
  673. this.infolist.recordRegionName = this.options5[i].dataName
  674. }
  675. }
  676. }
  677. },
  678. uploadBack(v) {
  679. this.attList = v;
  680. }
  681. },
  682. mounted() {
  683. },
  684. created() {
  685. this.getListwglb();
  686. this.getListyys();
  687. this.getListsf();
  688. this.getListwgxx();
  689. this.getListregion();
  690. this.getsaleChnl();
  691. this.getInfo(this.$route.query.id);
  692. }
  693. }
  694. </script>
  695. <style scoped lang="scss">
  696. .fileline {
  697. color: #666;
  698. font-size: 14px;
  699. overflow: hidden;
  700. padding: 0 10px;
  701. height: 28px;
  702. line-height: 28px;
  703. border-radius: 3px;
  704. span {}
  705. i {
  706. float: right;
  707. height: 28px;
  708. line-height: 28px;
  709. cursor: pointer;
  710. }
  711. }
  712. .fileline:hover {
  713. background: #f4f4f4;
  714. }
  715. .titbox {
  716. div {
  717. float: right;
  718. margin-top: 20px;
  719. i {
  720. font-size: 22px;
  721. margin-left: 20px;
  722. cursor: pointer;
  723. }
  724. }
  725. }
  726. .info-form {
  727. margin-top: 30px;
  728. height: calc(100% - 150px);
  729. overflow-y: scroll;
  730. .info-line {
  731. width: 100%;
  732. display: block;
  733. div {
  734. width: 50%;
  735. display: inline-block;
  736. }
  737. span {
  738. width: 80px;
  739. display: inline-block;
  740. text-align: left;
  741. i {
  742. color: red;
  743. display: inline-block;
  744. padding-right: 5px;
  745. }
  746. }
  747. .el-select,
  748. .el-input {
  749. width: calc(100% - 100px);
  750. }
  751. }
  752. .tea-r {
  753. /*text-align: right;*/
  754. }
  755. .online {
  756. width: 100%;
  757. span {
  758. vertical-align: top;
  759. }
  760. .el-textarea {
  761. width: calc(100% - 100px);
  762. }
  763. }
  764. }
  765. .titbtn-box {
  766. text-align: right;
  767. margin: 15px 20px;
  768. button {
  769. width: 120px;
  770. }
  771. }
  772. </style>