km-knowledage-base.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780
  1. <template>
  2. <div :class="$style.wrapHeight">
  3. <div :class="$style.rowHeight">
  4. <audit-tree
  5. :checkable="false"
  6. :draggable="false"
  7. :is-search="false"
  8. :show-line="true"
  9. :top-node-text="'审计知识'"
  10. :treeparams="{
  11. configId: 81,
  12. }"
  13. :default-expanded-keys="['0']"
  14. :is-select-dep="true"
  15. :dep-options="categorys"
  16. manager-type="view"
  17. @treeSelect="treeSelectd"
  18. >
  19. </audit-tree>
  20. <div :class="$style.rightcard">
  21. <a-card>
  22. <div :class="$style.wrapper">
  23. <audit-advanced-query
  24. :expand="expand"
  25. :search-data="formData"
  26. :ref-name="'searchform'"
  27. :search-style="{ height: '170px', left: '20px', top: '64px', width: '100%' }"
  28. :search-fun="handleSearch"
  29. @searchedClick="searchedClick"
  30. >
  31. <template>
  32. <a-col :span="12">
  33. <a-form-model-item :label="'标\u2002\u2002\u2002\u2002题'" prop="title">
  34. <a-input v-model="formData.title" allow-clear />
  35. </a-form-model-item>
  36. </a-col>
  37. <a-col :span="12">
  38. <a-form-model-item :label="'标\u2002\u2002\u2002\u2002签'" prop="label">
  39. <a-input v-model="formData.label" allow-clear />
  40. </a-form-model-item>
  41. </a-col>
  42. <a-col :span="12">
  43. <a-form-model-item :label="'编制人员'" prop="cUser">
  44. <a-input v-model="formData.cUser" allow-clear />
  45. </a-form-model-item>
  46. </a-col>
  47. </template>
  48. </audit-advanced-query>
  49. <div :class="[$style.btns]">
  50. <audit-advanced-export
  51. v-if="true"
  52. ref="exportBtn"
  53. :class-style="[$style.buttonSpacing]"
  54. :exclebxh="false"
  55. :expressions="expressions"
  56. :config-id="51"
  57. :v-show="false"
  58. />
  59. </div>
  60. <sd-data-table-ex
  61. ref="oaTable"
  62. :editnode="editnode"
  63. :form-id="formId"
  64. :columns="columns"
  65. :actions="actions"
  66. :show-advance-query="true"
  67. :filter-expressions="expressions"
  68. :show-selection="true"
  69. :search-fields="['title']"
  70. :data-url="dataUrl"
  71. :row-selection="{ type: 'radio' }"
  72. @searchbtnClick="searchbtnClick"
  73. @recordsDeleted="onRecordsDeleted"
  74. >
  75. <a
  76. slot="fldSubject"
  77. slot-scope="text, record"
  78. :title="text"
  79. @click="fnReadDoc(record)"
  80. >{{ text }}</a
  81. >
  82. <a v-show="editnode" slot="opt" slot-scope="text, record" @click="fnEditDoc(record)"
  83. >编辑</a
  84. >
  85. </sd-data-table-ex>
  86. </div>
  87. </a-card>
  88. </div>
  89. </div>
  90. </div>
  91. </template>
  92. <script>
  93. import { message, Modal } from 'ant-design-vue'
  94. import KmKnowledageService from '../km-knowledage-service'
  95. import auditAdvancedQueryMixins from '../../../../components/audit-advanced-query-mixins'
  96. import auditAdvancedQuery from '../../../../components/audit-advanced-query.vue'
  97. import auditAdvancedExport from '../../../../components/audit-advanced-export.vue'
  98. import auditTree from '../../../../components/audit-tree.vue'
  99. import components from './_import-components/km-knowledage-base-import'
  100. import PageService from '@/common/services/page-service'
  101. import { getUserInfo, getUserPerms } from '@/common/store-mixin'
  102. import TableActionTypes from '@/common/services/table-action-types'
  103. import TableColumnTypes from '@/common/services/table-column-types'
  104. import crossWindowWatcher from '@/common/services/cross-window-watcher'
  105. import openAsTrustId from '@/common/services/open-as-trust-id'
  106. export default {
  107. name: 'KmKnowledageBase',
  108. metaInfo: {
  109. title: '知识库',
  110. },
  111. components: {
  112. auditTree,
  113. auditAdvancedQuery,
  114. auditAdvancedExport,
  115. ...components,
  116. },
  117. mixins: [auditAdvancedQueryMixins],
  118. props: {
  119. // 是不是用于选择知识
  120. isSelectd: {
  121. type: Boolean,
  122. default: false,
  123. },
  124. },
  125. data() {
  126. return {
  127. editnode: true,
  128. dataUrl: 'api/xcoa-mobile/v1/kmknowledge/all-list',
  129. formData: {
  130. title: '',
  131. label: '',
  132. cUser: '',
  133. },
  134. expand: false,
  135. // 左侧树用,用于创建对应分类数据
  136. parentId: 0,
  137. categorys: [],
  138. activeKey: 'textlist',
  139. // isKmAdmin: false,
  140. expressions: [],
  141. columns: [
  142. {
  143. title: '序号',
  144. dataIndex: 'sortNumber',
  145. width: '80px',
  146. customRender: (text, record, index) => `${index + 1}`,
  147. },
  148. {
  149. title: '标题',
  150. dataIndex: 'title',
  151. scopedSlots: { customRender: 'fldSubject' },
  152. width: '25%',
  153. },
  154. {
  155. title: '标签',
  156. dataIndex: 'label',
  157. },
  158. {
  159. title: '阅读次数',
  160. dataIndex: 'readTimes',
  161. },
  162. {
  163. title: '编制人员',
  164. dataIndex: 'creatorName',
  165. },
  166. {
  167. title: '发布状态',
  168. dataIndex: 'releaseType',
  169. sdHidden: true,
  170. },
  171. {
  172. title: '编制日期',
  173. dataIndex: 'creationTime',
  174. sdRender: TableColumnTypes.date,
  175. sorter: true,
  176. defaultSortOrder: 'desc',
  177. },
  178. ],
  179. actions: [
  180. {
  181. label: '删除',
  182. permission: null, // 纯前端操作,不需要权限控制
  183. type: TableActionTypes.oa.delete,
  184. // callback: this.deleteRows,
  185. },
  186. {
  187. label: '新建',
  188. permission: null, // 纯前端操作,不需要权限控制
  189. callback: () => {
  190. this.fnCreatDoc()
  191. },
  192. type: TableActionTypes.primary,
  193. },
  194. ],
  195. businessTypeId: null,
  196. typeId: null,
  197. typeName: '',
  198. formId: 'kmKnowledge',
  199. // 图文列表参数
  200. showCreateBtn: false,
  201. showDeleteBtn: false,
  202. pictureData: [],
  203. pagination: {
  204. onChange: (page) => {
  205. this.paginationChange(page)
  206. },
  207. current: 1,
  208. pageSize: 8,
  209. showTotal(total) {
  210. return `共${total}条`
  211. },
  212. },
  213. loading: false, // 图文列表数据的loading
  214. pictureExpressions: [],
  215. orderType: 'creationTime',
  216. creationTimeDesc: true,
  217. pictureRowSelection: [],
  218. searchText: '',
  219. picList: '',
  220. }
  221. },
  222. // 图文列表参数变化更新数据
  223. watch: {
  224. pictureExpressions() {
  225. this.pictureListRefresh(true)
  226. },
  227. orderType() {
  228. this.pictureListRefresh()
  229. },
  230. creationTimeDesc() {
  231. this.pictureListRefresh()
  232. },
  233. },
  234. created() {
  235. // if (getUserInfo().roles.findIndex((item) => item.code === 'KM_ADMIN') !== -1) {
  236. // this.isKmAdmin = true
  237. // }
  238. // 图文列表获取数据
  239. this.treeSelectd({}, { id: 0 })
  240. if (getUserPerms()['kmKnowledge-update']) {
  241. this.columns = [
  242. {
  243. title: '序号',
  244. dataIndex: 'sortNumber',
  245. width: '80px',
  246. customRender: (text, record, index) => `${index + 1}`,
  247. },
  248. {
  249. title: '标题',
  250. dataIndex: 'title',
  251. scopedSlots: { customRender: 'fldSubject' },
  252. width: '25%',
  253. },
  254. {
  255. title: '标签',
  256. dataIndex: 'label',
  257. },
  258. {
  259. title: '阅读次数',
  260. dataIndex: 'readTimes',
  261. },
  262. {
  263. title: '编制人员',
  264. dataIndex: 'creatorName',
  265. },
  266. {
  267. title: '发布状态',
  268. dataIndex: 'releaseType',
  269. sdHidden: true,
  270. },
  271. {
  272. title: '编制日期',
  273. dataIndex: 'creationTime',
  274. sdRender: TableColumnTypes.date,
  275. sorter: true,
  276. defaultSortOrder: 'desc',
  277. },
  278. {
  279. title: '操作',
  280. dataIndex: 'id',
  281. scopedSlots: { customRender: 'opt' },
  282. },
  283. ]
  284. }
  285. },
  286. methods: {
  287. searchedClick() {
  288. this.expand = false
  289. },
  290. // 查询
  291. handleSearch() {
  292. this.expressions = [
  293. {
  294. dataType: 'str',
  295. name: 'categoryId',
  296. op: 'eq',
  297. stringValue: this.typeId,
  298. },
  299. ]
  300. // if (!this.isKmAdmin) {
  301. // this.expressions.push({
  302. // dataType: 'long',
  303. // name: 'releaseType',
  304. // op: 'eq',
  305. // longValue: 1,
  306. // })
  307. // }
  308. // 资料名称
  309. if (this.formData.title) {
  310. this.expressions.push({
  311. dataType: 'str',
  312. name: 'title',
  313. op: 'like',
  314. stringValue: `%${this.formData.title}%`,
  315. })
  316. }
  317. // 资料名称
  318. if (this.formData.label) {
  319. this.expressions.push({
  320. dataType: 'str',
  321. name: 'label',
  322. op: 'like',
  323. stringValue: `%${this.formData.label}%`,
  324. })
  325. }
  326. // 资料名称
  327. if (this.formData.cUser) {
  328. this.expressions.push({
  329. dataType: 'str',
  330. name: 'creatorName',
  331. op: 'like',
  332. stringValue: `%${this.formData.cUser}%`,
  333. })
  334. }
  335. },
  336. // 获取知识分类树
  337. loadTreeData(parentCatId) {
  338. const params = {
  339. pageId: 'kmKnowledge',
  340. categoryId: parentCatId || 0,
  341. }
  342. return KmKnowledageService.getKnowledgeTree(params).then((res) => {
  343. return res.data
  344. })
  345. },
  346. // 树选择节点后获取列表数据
  347. treeSelectd(key, item) {
  348. debugger
  349. if (item.selectedNodes?.length > 0) {
  350. let parentId = ''
  351. let parentName = ''
  352. if (item.id !== undefined) {
  353. parentId = item.id
  354. parentName = item.text
  355. } else {
  356. parentId = item.selectedNodes[0].data.props.id
  357. parentName = item.selectedNodes[0].data.props.text
  358. this.editnode = item.selectedNodes[0].data.props.edit
  359. var actionsId = null
  360. if (this.editnode) {
  361. this.actions.forEach((item) => {
  362. if (item.id === 'auditMattersCatalog') {
  363. actionsId = item.id
  364. }
  365. })
  366. if (actionsId == null) {
  367. this.actions.push({
  368. label: '分类配置',
  369. id: 'auditMattersCatalog',
  370. permission: null,
  371. callback: () => {
  372. const url = '/sd-frame/km-knowledge-category' // 新页面要打开的路由地址
  373. openAsTrustId(url, null)
  374. },
  375. })
  376. }
  377. }
  378. if (!this.editnode) {
  379. // 判断是不是分类管理员
  380. const params = {
  381. parentId: parentId,
  382. }
  383. KmKnowledageService.getKnowledgeCategoryAdmin(params).then((res) => {
  384. const datas = res.data
  385. if (datas) {
  386. this.editnode = true
  387. var actionsId = null
  388. if (this.editnode) {
  389. this.actions.forEach((item) => {
  390. if (item.id === 'auditMattersCatalog') {
  391. actionsId = item.id
  392. }
  393. })
  394. if (actionsId == null) {
  395. this.actions.push({
  396. label: '分类配置',
  397. id: 'auditMattersCatalog',
  398. permission: null,
  399. callback: () => {
  400. const url = '/sd-frame/km-knowledge-category' // 新页面要打开的路由地址
  401. openAsTrustId(url, null)
  402. },
  403. })
  404. }
  405. }
  406. }
  407. })
  408. }
  409. }
  410. this.typeId = parentId
  411. this.typeName = parentName
  412. this.selectdParentName = parentName
  413. const filter = [
  414. {
  415. dataType: 'str',
  416. name: 'categoryId',
  417. op: 'eq',
  418. stringValue: this.typeId,
  419. },
  420. ]
  421. // if (!this.isKmAdmin) {
  422. // filter.push({
  423. // dataType: 'long',
  424. // name: 'releaseType',
  425. // op: 'eq',
  426. // longValue: 1,
  427. // })
  428. // }
  429. this.expressions = filter
  430. this.pictureExpressions = filter
  431. } else {
  432. this.editnode = false
  433. const filter = [
  434. {
  435. dataType: 'str',
  436. name: 'categoryId',
  437. op: 'eq',
  438. stringValue: -1,
  439. },
  440. ]
  441. this.expressions = filter
  442. this.pictureExpressions = filter
  443. }
  444. },
  445. // 获取businessTypeId,选中的节点要是没有businessTypeId就向上找,直至找到根节点,如果没有就返回null
  446. fnGetBusinessTypeId(item) {
  447. let businessTypeId
  448. if (item === null) {
  449. // 如果找到根节点都没找到flowId就返回null
  450. businessTypeId = null
  451. } else {
  452. if (item.selectedNodes && item.selectedNodes[0].data.props.props.businessTypeId) {
  453. businessTypeId = item.selectedNodes[0].data.props.props.businessTypeId
  454. } else if (item.props && item.props.businessTypeId) {
  455. businessTypeId = item.props.businessTypeId
  456. } else {
  457. const key = item.id ? item.id : item.selectedNodes[0].data.key
  458. const parentNode = this.getParentNode(key, this.$refs.tree.treeData)
  459. businessTypeId = this.fnGetBusinessTypeId(parentNode)
  460. }
  461. }
  462. return businessTypeId
  463. },
  464. // 查找父节点
  465. getParentNode(key, tree) {
  466. let parentNode = null
  467. for (let i = 0; i < tree.length; i++) {
  468. const node = tree[i]
  469. if (node.children) {
  470. if (node.children.some((item) => item.id === key)) {
  471. parentNode = node
  472. } else if (this.getParentNode(key, node.children)) {
  473. parentNode = this.getParentNode(key, node.children)
  474. }
  475. }
  476. }
  477. return parentNode
  478. },
  479. // 知识投稿
  480. fnCreatDoc() {
  481. // 根据businessTypeId获取知识管理业务类型文档,没有businessTypeId的话弹出提示语
  482. if (this.businessTypeId) {
  483. window.open(
  484. '#/km-flow-guide?businessId=' +
  485. this.businessTypeId +
  486. '&typeId=' +
  487. this.typeId +
  488. '&typeName=' +
  489. this.typeName
  490. )
  491. }
  492. var url =
  493. '/km-knowledage-form?' +
  494. '&typeId=' +
  495. this.typeId +
  496. '&typeName=' +
  497. this.typeName +
  498. `&editNode=${this.editnode}`
  499. crossWindowWatcher.waitForChanged(url).then((refreshFlag) => {
  500. debugger
  501. if (refreshFlag) {
  502. return this.$refs.oaTable.refresh(true)
  503. }
  504. })
  505. },
  506. fnEditDoc(record) {
  507. debugger
  508. setTimeout(() => {
  509. this.$refs.oaTable.refresh()
  510. this.loadData()
  511. }, 5000)
  512. var url = `/km-knowledage-form?&typeId=${this.typeId}&typeName=${this.typeName}&record=${record.id}&editNode=${this.editnode}&releaseType=${record.releaseType}`
  513. crossWindowWatcher.waitForChanged(url).then((refreshFlag) => {
  514. if (refreshFlag) {
  515. return this.$refs.oaTable.refresh(true)
  516. }
  517. })
  518. },
  519. // 查看知识
  520. fnReadDoc(record) {
  521. debugger
  522. setTimeout(() => {
  523. this.$refs.oaTable.refresh()
  524. this.loadData()
  525. }, 5000)
  526. if (record.releaseType === 0) {
  527. this.fnEditDoc(record)
  528. } else {
  529. window.open(`#/km-knowledage-view?id=${record.id}&title=${record.title}`, '_blank')
  530. }
  531. },
  532. // 下面是图文列表相关
  533. // 图片列表页面翻页
  534. paginationChange(page) {
  535. this.pagination.current = page
  536. this.loadData()
  537. },
  538. pictureListRefresh(toFirstPage) {
  539. if (toFirstPage) this.pagination.current = 1
  540. if (!this.isSelectd) {
  541. return this.loadData()
  542. }
  543. },
  544. loadData() {
  545. debugger
  546. const pagination = this.pagination
  547. this.loading = true
  548. const param = {
  549. columns: 'title,creatorName,categoryName,readTimes,creationTime,cover',
  550. maxResults: pagination.pageSize,
  551. startPosition: pagination.pageSize * (pagination.current - 1),
  552. formId: this.formId,
  553. }
  554. let orderBy = ''
  555. if (this.orderType === 'creationTime') {
  556. if (this.creationTimeDesc) {
  557. orderBy = 'creationTime desc'
  558. } else {
  559. orderBy = 'creationTime asc'
  560. }
  561. } else {
  562. orderBy = 'readTimes desc'
  563. }
  564. param.orderBy = orderBy
  565. if (this.searchText) {
  566. const searchExpressions = [
  567. {
  568. dataType: 'exps',
  569. op: 'or',
  570. expressionsValue: [
  571. {
  572. dataType: 'str',
  573. name: 'title',
  574. op: 'like',
  575. stringValue: `%${this.searchText}%`,
  576. },
  577. ],
  578. },
  579. ]
  580. param.expressions = [...searchExpressions, ...this.pictureExpressions]
  581. } else {
  582. param.expressions = this.pictureExpressions
  583. }
  584. KmKnowledageService.getAllList(param).then((res) => {
  585. this.pagination.total = res.data.totalSize
  586. this.pictureData = res.data.data
  587. this.loading = false
  588. const newInfo = { ...this.pagination }
  589. newInfo.total = res.data.totalSize
  590. this.pagination = newInfo
  591. })
  592. },
  593. // 处理排序
  594. fnSetOrderType(type) {
  595. if (type === 'creationTime') {
  596. if (this.orderType === 'creationTime') {
  597. this.creationTimeDesc = !this.creationTimeDesc
  598. }
  599. }
  600. this.orderType = type
  601. },
  602. // 图文列表选中
  603. fnPictureSelect(e) {
  604. if (e.target.checked) {
  605. if (this.pictureRowSelection.indexOf(e.target.value) === -1) {
  606. this.pictureRowSelection.push(e.target.value)
  607. }
  608. } else {
  609. this.pictureRowSelection.splice(
  610. this.pictureRowSelection.findIndex((it) => it.value === e.target.value),
  611. 1
  612. )
  613. }
  614. },
  615. // 列表删除数据时图文也刷新一下
  616. onRecordsDeleted() {
  617. this.pictureListRefresh()
  618. this.$refs.tree.refresh() // 刷新树
  619. },
  620. // 图文列表删除数据
  621. deleteRows() {
  622. const selectedRowKeys = this.$refs.oaTable.getSelectedRowKeys()
  623. if (selectedRowKeys.length === 0) {
  624. Modal.info({
  625. content: '请选择需要删除的文件',
  626. })
  627. return
  628. }
  629. Modal.confirm({
  630. title: '你确定删除这项内容吗?',
  631. content: '删除这条数据后,就无法恢复初始的状态。',
  632. okText: '删除',
  633. okType: 'danger',
  634. onOk: () => {
  635. this.loading = true
  636. const params = {
  637. ids: selectedRowKeys.join(','),
  638. }
  639. PageService.delete(params, this.formId).then((res) => {
  640. if (res.status === 200) {
  641. this.$refs.oaTable.clearSelection()
  642. this.$refs.oaTable.refresh()
  643. this.loading = false
  644. }
  645. })
  646. },
  647. })
  648. },
  649. onSearchChange(text) {
  650. if (this.searchText === text) return
  651. this.searchText = text.trim()
  652. const pagination = this.pagination
  653. pagination.current = 1
  654. this.localPagination = { ...pagination }
  655. this.loadData()
  656. },
  657. },
  658. }
  659. </script>
  660. <style module lang="scss">
  661. @use '@/common/design' as *;
  662. .wrap-height {
  663. height: 100%;
  664. .row-height {
  665. display: flex;
  666. flex: auto;
  667. height: 100%;
  668. .rightcard {
  669. flex: 1;
  670. width: calc(100% - 20%);
  671. height: 100%;
  672. }
  673. }
  674. }
  675. .sider-content {
  676. padding: 0 0;
  677. .sider-title {
  678. position: relative;
  679. margin-left: 23px;
  680. i {
  681. position: absolute;
  682. top: 3px;
  683. left: -27px;
  684. font-size: 18px;
  685. color: #1890ff;
  686. }
  687. font-weight: bold;
  688. }
  689. .sider-li {
  690. :global(.ant-timeline-item-content) {
  691. margin: 0 0 0 23px;
  692. }
  693. :global(.ant-timeline-item-head-blue) {
  694. color: #9f9f9f;
  695. border-color: #9f9f9f;
  696. }
  697. :global(.ant-timeline-item-tail) {
  698. height: calc(100% - -18px);
  699. border-left: 2px solid #f5f5f5;
  700. }
  701. }
  702. .sider-title-div-first {
  703. padding: 0 0 10px 20px;
  704. margin-bottom: 10px;
  705. border-bottom: 3px solid #e8e8e8;
  706. }
  707. .sider-title-div {
  708. padding: 10px 0 10px 20px;
  709. margin-bottom: 20px;
  710. border-top: 3px solid #e8e8e8;
  711. border-bottom: 3px solid #e8e8e8;
  712. }
  713. ul {
  714. margin-bottom: 30px;
  715. margin-left: 0;
  716. }
  717. .sider-ul-div {
  718. width: 90%;
  719. padding: 13px 0 0 5px;
  720. margin: 10px auto;
  721. cursor: pointer;
  722. border-radius: 5px;
  723. :global(.ant-timeline-item) {
  724. padding: 0;
  725. margin-left: 3px;
  726. }
  727. }
  728. :global(.checked) {
  729. color: #fff;
  730. background: linear-gradient(to right, #13c2c2, #2db7f5);
  731. :global(.ant-timeline-item-head-blue) {
  732. background-color: #13c2c2;
  733. border-color: #fff !important;
  734. }
  735. }
  736. :global(.ant-timeline-item-last .ant-timeline-item-tail) {
  737. display: none;
  738. }
  739. }
  740. </style>