|
@@ -1,65 +1,68 @@
|
|
|
<template>
|
|
|
<rx-layout>
|
|
|
<div slot="center" style>
|
|
|
- <rx-fit>
|
|
|
+ <rx-fit>
|
|
|
<div slot="toolheader" border="false" foldbtn="false">
|
|
|
<breadcrumb firstLevel="知识仓库管理" lastLevel="知识管理" />
|
|
|
<div class="mainContent">
|
|
|
- <div class="body" :style="{'padding-right': $store.state.appSetting.collapsed ? '0px' : '20px' }">
|
|
|
+ <div class="body" :style="{ 'padding-right': $store.state.appSetting.collapsed ? '0px' : '20px' }">
|
|
|
<div class="content">
|
|
|
- <a-form ref="searchForm" layout="inline" style="display:flex;flex-wrap:wrap;">
|
|
|
- <a-form-item
|
|
|
- class="form-item-style"
|
|
|
- label="知识标题"
|
|
|
- name="titles">
|
|
|
- <a-input class="set-input" v-model="queryParam.titles" placeholder="请输入"/>
|
|
|
+ <a-form ref="searchForm" layout="inline" style="display: flex; flex-wrap: wrap">
|
|
|
+ <a-form-item class="form-item-style" label="知识标题" name="titles">
|
|
|
+ <a-input class="set-input" v-model="queryParam.titles" placeholder="请输入" />
|
|
|
</a-form-item>
|
|
|
- <a-form-item
|
|
|
- class="form-item-style"
|
|
|
- label="知识类型"
|
|
|
- name="type">
|
|
|
- <a-select class="set-input" v-model="queryParam.type" placeholder="请选择" allowClear :getPopupContainer="triggerNode => { return triggerNode.parentNode }">
|
|
|
- <a-select-option v-for="(item,index) in knowledgeList" :key="index" :value="item.value">
|
|
|
- {{item.label}}
|
|
|
+ <a-form-item class="form-item-style" label="知识类型" name="type">
|
|
|
+ <a-select
|
|
|
+ class="set-input"
|
|
|
+ v-model="queryParam.type"
|
|
|
+ placeholder="请选择"
|
|
|
+ allowClear
|
|
|
+ :getPopupContainer="
|
|
|
+ (triggerNode) => {
|
|
|
+ return triggerNode.parentNode
|
|
|
+ }
|
|
|
+ "
|
|
|
+ >
|
|
|
+ <a-select-option v-for="(item, index) in knowledgeList" :key="index" :value="item.value">
|
|
|
+ {{ item.label }}
|
|
|
</a-select-option>
|
|
|
</a-select>
|
|
|
</a-form-item>
|
|
|
- <a-form-item
|
|
|
- class="form-item-style"
|
|
|
- label="作者"
|
|
|
- name="author" >
|
|
|
+ <a-form-item class="form-item-style" label="作者" name="author">
|
|
|
<a-input class="set-input" v-model="queryParam.author" placeholder="请输入" />
|
|
|
</a-form-item>
|
|
|
- <a-form-item
|
|
|
- class="form-item-style"
|
|
|
- label="所属分类"
|
|
|
- name="categoryIds">
|
|
|
- <a-cascader v-model="categoryIds"
|
|
|
- class="set-input scroll-ckunk"
|
|
|
- :popupStyle="{
|
|
|
- maxWidth: widthVar + 'px',
|
|
|
- 'overflow-x': 'auto'
|
|
|
- }"
|
|
|
- :getPopupContainer="triggerNode => { return triggerNode.parentNode }"
|
|
|
- :options="classifyList"
|
|
|
- :fieldNames="{ label: 'name', value: 'pkId', children: 'children' }"
|
|
|
- placeholder="请选择"
|
|
|
- changeOnSelect
|
|
|
- @change="handleClassifyChange" />
|
|
|
+ <a-form-item class="form-item-style" label="所属分类" name="categoryIds">
|
|
|
+ <a-cascader
|
|
|
+ v-model="categoryIds"
|
|
|
+ class="set-input scroll-ckunk"
|
|
|
+ :popupStyle="{
|
|
|
+ maxWidth: widthVar + 'px',
|
|
|
+ 'overflow-x': 'auto',
|
|
|
+ }"
|
|
|
+ :getPopupContainer="
|
|
|
+ (triggerNode) => {
|
|
|
+ return triggerNode.parentNode
|
|
|
+ }
|
|
|
+ "
|
|
|
+ :options="classifyList"
|
|
|
+ :fieldNames="{ label: 'name', value: 'pkId', children: 'children' }"
|
|
|
+ placeholder="请选择"
|
|
|
+ changeOnSelect
|
|
|
+ @change="handleClassifyChange"
|
|
|
+ />
|
|
|
</a-form-item>
|
|
|
- <a-form-item
|
|
|
- class="form-item-style"
|
|
|
- label="创建时间"
|
|
|
- name="createTime" >
|
|
|
- <a-range-picker v-model="createTime"
|
|
|
- class="set-range-picker"
|
|
|
- separator="→"
|
|
|
- format="YYYY/MM/DD"
|
|
|
- valueFormat="YYYY-MM-DD"
|
|
|
- @change="handleClearTimeChange">
|
|
|
+ <a-form-item class="form-item-style" label="创建时间" name="createTime">
|
|
|
+ <a-range-picker
|
|
|
+ v-model="createTime"
|
|
|
+ class="set-range-picker"
|
|
|
+ separator="→"
|
|
|
+ format="YYYY/MM/DD"
|
|
|
+ valueFormat="YYYY-MM-DD"
|
|
|
+ @change="handleClearTimeChange"
|
|
|
+ >
|
|
|
</a-range-picker>
|
|
|
</a-form-item>
|
|
|
- <div style="display:flex;justify-content:center;margin-top: 8px;">
|
|
|
+ <div style="display: flex; justify-content: center; margin-top: 8px">
|
|
|
<a-button @click="handleResetClick(true)">重置</a-button>
|
|
|
<a-button type="primary" @click="handleSearchClick">查询</a-button>
|
|
|
</div>
|
|
@@ -138,11 +141,19 @@
|
|
|
</div> -->
|
|
|
</a-form>
|
|
|
<rx-button alias="knowAdd" :butn-icon="'false'" @click="handleAddKnowledgeClick">新增知识</rx-button>
|
|
|
- <rx-button :class="{'knowledge-manage':num != 0}" :data-attr="num" alias="knowProcess" :butn-icon="'false'" @click="handleJumpPathClick">知识审核</rx-button>
|
|
|
+ <rx-button
|
|
|
+ :class="{ 'knowledge-manage': num != 0 }"
|
|
|
+ :data-attr="num"
|
|
|
+ alias="knowProcess"
|
|
|
+ :butn-icon="'false'"
|
|
|
+ @click="handleJumpPathClick"
|
|
|
+ >知识审核</rx-button
|
|
|
+ >
|
|
|
+ <rx-button alias="reauthor" :butn-icon="'false'" @click="handleReauthorShowClick">批量改派作者</rx-button>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
|
|
|
<rx-grid
|
|
|
ref="manageRef"
|
|
@@ -154,49 +165,107 @@
|
|
|
data-field="result.data"
|
|
|
:defaultPageSize="10"
|
|
|
:heightAuto="true"
|
|
|
- :pageSizeOptions="['10','20','30','40']"
|
|
|
+ :pageSizeOptions="['10', '20', '30', '40']"
|
|
|
idField="pkId"
|
|
|
- >
|
|
|
- <template slot="titles" slot-scope="{text}">
|
|
|
+ >
|
|
|
+ <template slot="titles" slot-scope="{ text }">
|
|
|
<div style="white-space: pre-line">{{ text }}</div>
|
|
|
</template>
|
|
|
- <template slot="type" slot-scope="{text}">
|
|
|
+ <template slot="type" slot-scope="{ text }">
|
|
|
<div>{{ text == 1 ? '文档知识' : '维基知识' }}</div>
|
|
|
</template>
|
|
|
- <template slot="knowledgeCategoryAdminVo" slot-scope="{text}">
|
|
|
+ <template slot="knowledgeCategoryAdminVo" slot-scope="{ text }">
|
|
|
<div style="white-space: pre-line">{{ getCategory(text) }}</div>
|
|
|
</template>
|
|
|
- <template slot="action" slot-scope="{text,record}">
|
|
|
- <template v-if="record.approvalStatus == 2 || record.approvalStatus == 4 || record.approvalStatus == 5" >
|
|
|
- <rx-button class="clearBtn" alias="knowEdit" :butn-icon="'none'" @click="handleJumpUpdateClick(record)">编辑</rx-button>
|
|
|
+ <template slot="action" slot-scope="{ text, record }">
|
|
|
+ <template v-if="record.approvalStatus == 2 || record.approvalStatus == 4 || record.approvalStatus == 5">
|
|
|
+ <rx-button class="clearBtn" alias="knowEdit" :butn-icon="'none'" @click="handleJumpUpdateClick(record)"
|
|
|
+ >编辑</rx-button
|
|
|
+ >
|
|
|
<!-- <rx-button class="clearBtn" alias="bannerUpdate" :butn-icon="'none'" @click="handleJumpUpdateClick(record)">编辑</rx-button> -->
|
|
|
- <rx-button class="clearBtn" alias="knowDel" :butn-icon="'none'" @click="handleDeleteClick(record)">删除</rx-button>
|
|
|
+ <rx-button class="clearBtn" alias="knowDel" :butn-icon="'none'" @click="handleDeleteClick(record)"
|
|
|
+ >删除</rx-button
|
|
|
+ >
|
|
|
</template>
|
|
|
<template v-else>
|
|
|
- <rx-button class="clearBtn" alias="knowShow" :butn-icon="'none'" @click="handleJumpUpdateClick(record,true)">查看</rx-button>
|
|
|
+ <rx-button
|
|
|
+ class="clearBtn"
|
|
|
+ alias="knowShow"
|
|
|
+ :butn-icon="'none'"
|
|
|
+ @click="handleJumpUpdateClick(record, true)"
|
|
|
+ >查看</rx-button
|
|
|
+ >
|
|
|
</template>
|
|
|
</template>
|
|
|
-
|
|
|
</rx-grid>
|
|
|
</rx-fit>
|
|
|
- </div>
|
|
|
+ <a-modal
|
|
|
+ v-model="reauthorShow"
|
|
|
+ title="批量改派作者"
|
|
|
+ centered
|
|
|
+ okText="保存"
|
|
|
+ @ok="handleOk"
|
|
|
+ :confirmLoading="saveLoading"
|
|
|
+ >
|
|
|
+ <a-form ref="labelRef" :model="authorForm" layout="inline">
|
|
|
+ <a-form-item label="原作者:" prop="authors">
|
|
|
+ <div @click="handleReauthorShow(1)">
|
|
|
+ <a-select
|
|
|
+ v-model="authorForm.authorsName"
|
|
|
+ :showArrow="false"
|
|
|
+ :open="false"
|
|
|
+ placeholder="请选择"
|
|
|
+ ></a-select>
|
|
|
+ </div>
|
|
|
+ </a-form-item>
|
|
|
+ <a-form-item label="改派作者:" prop="arriveAuthor" style="margin-top: 10px">
|
|
|
+ <div @click="handleReauthorShow(2)">
|
|
|
+ <a-select
|
|
|
+ v-model="authorForm.arriveAuthorName"
|
|
|
+ :showArrow="false"
|
|
|
+ :open="false"
|
|
|
+ placeholder="请选择"
|
|
|
+ ></a-select>
|
|
|
+ </div>
|
|
|
+ </a-form-item>
|
|
|
+ </a-form>
|
|
|
+ </a-modal>
|
|
|
+ <a-modal
|
|
|
+ v-model="showAuditFlag"
|
|
|
+ class="chooseAuthor"
|
|
|
+ width="1100"
|
|
|
+ title="选择作者"
|
|
|
+ centered
|
|
|
+ okText="保存"
|
|
|
+ @ok="handleSaveOk"
|
|
|
+ >
|
|
|
+ <org-people
|
|
|
+ isKnowledgeManage
|
|
|
+ :key="new Date().getTime()"
|
|
|
+ style="width: 1100px; height: 540px"
|
|
|
+ @transCheckedTarget="transCheckedTarget"
|
|
|
+ ></org-people>
|
|
|
+ </a-modal>
|
|
|
+ </div>
|
|
|
</rx-layout>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
import breadcrumb from '../components/breadcrumb'
|
|
|
+import orgPeople from './components/orgPeople'
|
|
|
import api from '@/api/knowledge/manage'
|
|
|
import classApi from '@/api/knowledge/classify'
|
|
|
-import { getCategory,getCategoryId } from '../aJs/getClassifyTree'
|
|
|
-import mixin from "../aMixin/mixin"
|
|
|
-import initMixin from "../aMixin/initMixin"
|
|
|
+import { getCategory, getCategoryId } from '../aJs/getClassifyTree'
|
|
|
+import mixin from '../aMixin/mixin'
|
|
|
+import initMixin from '../aMixin/initMixin'
|
|
|
const manageMixin = new mixin('manage')
|
|
|
export default {
|
|
|
name: 'knowledgeManageList',
|
|
|
components: {
|
|
|
- breadcrumb
|
|
|
+ breadcrumb,
|
|
|
+ orgPeople,
|
|
|
},
|
|
|
- mixins: [ initMixin, manageMixin ],
|
|
|
+ mixins: [initMixin, manageMixin],
|
|
|
data() {
|
|
|
return {
|
|
|
api,
|
|
@@ -209,7 +278,7 @@ export default {
|
|
|
categoryId: '',
|
|
|
beginTime: '',
|
|
|
endTime: '',
|
|
|
- approvalStatus: 5
|
|
|
+ approvalStatus: 5,
|
|
|
},
|
|
|
createTime: [],
|
|
|
categoryIds: [],
|
|
@@ -218,39 +287,39 @@ export default {
|
|
|
title: 'ID',
|
|
|
dataIndex: 'pkId',
|
|
|
align: 'center',
|
|
|
- width: 200
|
|
|
+ width: 200,
|
|
|
},
|
|
|
{
|
|
|
title: '知识标题',
|
|
|
dataIndex: 'titles',
|
|
|
align: 'center',
|
|
|
- scopedSlots: {customRender: 'titles'},
|
|
|
+ scopedSlots: { customRender: 'titles' },
|
|
|
},
|
|
|
{
|
|
|
title: '知识类型',
|
|
|
dataIndex: 'type',
|
|
|
align: 'center',
|
|
|
width: 100,
|
|
|
- scopedSlots: {customRender: 'type'}
|
|
|
+ scopedSlots: { customRender: 'type' },
|
|
|
},
|
|
|
{
|
|
|
title: '所属分类',
|
|
|
dataIndex: 'knowledgeCategoryAdminVo',
|
|
|
align: 'center',
|
|
|
width: 150,
|
|
|
- scopedSlots: {customRender: 'knowledgeCategoryAdminVo'}
|
|
|
+ scopedSlots: { customRender: 'knowledgeCategoryAdminVo' },
|
|
|
},
|
|
|
{
|
|
|
title: '访问量',
|
|
|
dataIndex: 'views',
|
|
|
align: 'center',
|
|
|
- width: 100
|
|
|
+ width: 100,
|
|
|
},
|
|
|
{
|
|
|
title: '作者',
|
|
|
dataIndex: 'author',
|
|
|
align: 'center',
|
|
|
- width: 100
|
|
|
+ width: 100,
|
|
|
},
|
|
|
{
|
|
|
title: '创建时间',
|
|
@@ -261,46 +330,60 @@ export default {
|
|
|
title: '操作人',
|
|
|
dataIndex: 'operatorName',
|
|
|
align: 'center',
|
|
|
- width: 100
|
|
|
+ width: 100,
|
|
|
},
|
|
|
{
|
|
|
title: '操作时间',
|
|
|
dataIndex: 'updateTime',
|
|
|
align: 'center',
|
|
|
},
|
|
|
- {
|
|
|
+ {
|
|
|
title: '操作',
|
|
|
- dataIndex: 'action',
|
|
|
+ dataIndex: 'action',
|
|
|
// align: 'center',
|
|
|
- scopedSlots: {customRender: 'action'},
|
|
|
- width: 120
|
|
|
- }
|
|
|
+ scopedSlots: { customRender: 'action' },
|
|
|
+ width: 120,
|
|
|
+ },
|
|
|
],
|
|
|
knowledgeList: [
|
|
|
- {value: null, label: '全部'},
|
|
|
- {value: '1', label: '文档知识'},
|
|
|
- {value: '2', label: '维基知识'}
|
|
|
+ { value: null, label: '全部' },
|
|
|
+ { value: '1', label: '文档知识' },
|
|
|
+ { value: '2', label: '维基知识' },
|
|
|
],
|
|
|
num: 0,
|
|
|
classifyList: [],
|
|
|
- widthVar: 800
|
|
|
+ reauthorShow: false,
|
|
|
+ reauthorFlag: 1,
|
|
|
+ saveLoading: false,
|
|
|
+ showAuditFlag: false,
|
|
|
+ approverData: {
|
|
|
+ approverId: '',
|
|
|
+ approverName: ''
|
|
|
+ },
|
|
|
+ authorForm: {
|
|
|
+ authors: undefined,
|
|
|
+ authorsName: undefined,
|
|
|
+ arriveAuthor: undefined,
|
|
|
+ arriveAuthorName: undefined,
|
|
|
+ },
|
|
|
+ widthVar: 800,
|
|
|
}
|
|
|
},
|
|
|
activated() {
|
|
|
- if(localStorage.getItem('cancle')=='true'){
|
|
|
- localStorage.setItem('cancle',false)
|
|
|
- }else{
|
|
|
+ if (localStorage.getItem('cancle') == 'true') {
|
|
|
+ localStorage.setItem('cancle', false)
|
|
|
+ } else {
|
|
|
this.reloadTable()
|
|
|
}
|
|
|
},
|
|
|
async created() {
|
|
|
this.init()
|
|
|
this.getAuditNum()
|
|
|
- if(this.$route.query.pkId) {
|
|
|
+ if (this.$route.query.pkId) {
|
|
|
this.queryParam.categoryId = this.$route.query.pkId
|
|
|
let res = await this.classApi.findAllParentByCategoryId(this.$route.query.pkId)
|
|
|
- let gategoryId
|
|
|
- if(!res.data.parents) {
|
|
|
+ let gategoryId
|
|
|
+ if (!res.data.parents) {
|
|
|
gategoryId = [this.queryParam.categoryId]
|
|
|
} else {
|
|
|
gategoryId = getCategoryId(res.data.parents)
|
|
@@ -316,9 +399,9 @@ export default {
|
|
|
setTimeout(() => {
|
|
|
let offsetWidth = document.querySelector('.scroll-ckunk').getBoundingClientRect().left
|
|
|
this.widthVar = innerWidth - offsetWidth - 40
|
|
|
- }, 1000);
|
|
|
- document.onclick=function(element){
|
|
|
- if(element.target.className.indexOf('ant-cascader-menu-item')>-1){
|
|
|
+ }, 1000)
|
|
|
+ document.onclick = function (element) {
|
|
|
+ if (element.target.className.indexOf('ant-cascader-menu-item') > -1) {
|
|
|
document.querySelector('.ant-cascader-menus').scrollLeft = 20480
|
|
|
}
|
|
|
}
|
|
@@ -329,7 +412,6 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
}, 1000)*/
|
|
|
-
|
|
|
},
|
|
|
methods: {
|
|
|
getCategory,
|
|
@@ -338,69 +420,112 @@ export default {
|
|
|
this.num = num.data < 99 ? num.data : 99
|
|
|
},
|
|
|
handleSearchClick() {
|
|
|
- if(this.createTime && this.createTime.length) {
|
|
|
+ if (this.createTime && this.createTime.length) {
|
|
|
this.queryParam.beginTime = this.createTime[0]
|
|
|
this.queryParam.endTime = this.createTime[1]
|
|
|
}
|
|
|
- if(this.categoryIds && this.categoryIds.length) {
|
|
|
+ if (this.categoryIds && this.categoryIds.length) {
|
|
|
this.queryParam.categoryId = this.categoryIds.slice('-1')[0]
|
|
|
}
|
|
|
this.reloadTable()
|
|
|
},
|
|
|
+ handleReauthorShowClick() {
|
|
|
+ this.authorForm = Object.assign({},this.$options.data().authorForm)
|
|
|
+ this.reauthorShow = true
|
|
|
+ },
|
|
|
+ handleReauthorShow(arg) {
|
|
|
+ this.reauthorFlag = arg
|
|
|
+ this.showAuditFlag = true
|
|
|
+ },
|
|
|
+ transCheckedTarget(arg) {
|
|
|
+ this.approverData.approverId = arg.approverId
|
|
|
+ this.approverData.approverName = arg.approverName
|
|
|
+ },
|
|
|
+ handleOk() {
|
|
|
+ if(!this.authorForm.authorsName) {
|
|
|
+ this.$message.error("请选择原作者");
|
|
|
+ return
|
|
|
+ }
|
|
|
+ if(!this.authorForm.arriveAuthorName) {
|
|
|
+ this.$message.error("请选择改派作者");
|
|
|
+ return
|
|
|
+ }
|
|
|
+ let info = {
|
|
|
+ authors: this.authorForm.authors,
|
|
|
+ arriveAuthor: this.authorForm.arriveAuthor
|
|
|
+ }
|
|
|
+ api.transferAuthor(info).then(res => {
|
|
|
+ if(res.code == 200) {
|
|
|
+ this.reauthorShow = false
|
|
|
+ this.reloadTable()
|
|
|
+ }
|
|
|
+ })
|
|
|
+ },
|
|
|
+ handleSaveOk() {
|
|
|
+ if(this.reauthorFlag == 1) {
|
|
|
+ this.authorForm.authors = [this.approverData.approverId]
|
|
|
+ this.authorForm.authorsName = this.approverData.approverName
|
|
|
+ } else {
|
|
|
+ this.authorForm.arriveAuthor = this.approverData.approverId
|
|
|
+ this.authorForm.arriveAuthorName = this.approverData.approverName
|
|
|
+ }
|
|
|
+ this.showAuditFlag = false
|
|
|
+ this.approverData = Object.assign({},this.$options.data().approverData)
|
|
|
+ },
|
|
|
// 跳转审核管理
|
|
|
handleJumpPathClick() {
|
|
|
this.$router.push({
|
|
|
path: '/knowledge/auditManageList',
|
|
|
- query: { showUnchecked: true }
|
|
|
+ query: { showUnchecked: true },
|
|
|
})
|
|
|
},
|
|
|
handleAddKnowledgeClick() {
|
|
|
- this.$router.push({
|
|
|
+ this.$router.push({
|
|
|
path: '/knowledge/knowledgeAddUpdate',
|
|
|
- query: { isAuth: true }
|
|
|
+ query: { isAuth: true },
|
|
|
})
|
|
|
},
|
|
|
// 编辑
|
|
|
- handleJumpUpdateClick(record,arg) {
|
|
|
+ handleJumpUpdateClick(record, arg) {
|
|
|
let query = {}
|
|
|
// 查看
|
|
|
- if(arg) {
|
|
|
+ if (arg) {
|
|
|
query = {
|
|
|
- pkId: record.pkId,
|
|
|
- type: 'knowledgeManageList',
|
|
|
- show: arg
|
|
|
+ pkId: record.pkId,
|
|
|
+ type: 'knowledgeManageList',
|
|
|
+ show: arg,
|
|
|
}
|
|
|
} else {
|
|
|
// 编辑
|
|
|
query = {
|
|
|
- pkId: record.pkId,
|
|
|
- type: 'knowledgeManageList',
|
|
|
+ pkId: record.pkId,
|
|
|
+ type: 'knowledgeManageList',
|
|
|
show: false,
|
|
|
isAudit: true,
|
|
|
- isEdit: true
|
|
|
+ isEdit: true,
|
|
|
}
|
|
|
}
|
|
|
this.$router.push({
|
|
|
path: '/knowledge/knowledgeAddUpdate',
|
|
|
- query: query
|
|
|
+ query: query,
|
|
|
})
|
|
|
},
|
|
|
// 重新加载表格
|
|
|
reloadTable() {
|
|
|
this.$refs.manageRef.loadData()
|
|
|
},
|
|
|
- }
|
|
|
+ },
|
|
|
}
|
|
|
</script>
|
|
|
|
|
|
<style lang="less" scoped>
|
|
|
-@gary: #f8f8f8;
|
|
|
+@gary: #f8f8f8;
|
|
|
@white: #fff;
|
|
|
.rx-fit {
|
|
|
- padding: 40px!important;
|
|
|
+ padding: 40px !important;
|
|
|
background: @gary;
|
|
|
- overflow-y: auto!important;
|
|
|
- display: block!important;
|
|
|
+ overflow-y: auto !important;
|
|
|
+ display: block !important;
|
|
|
.fit-header {
|
|
|
.mainContent {
|
|
|
width: 100%;
|
|
@@ -414,7 +539,7 @@ export default {
|
|
|
margin-right: 20px;
|
|
|
}
|
|
|
|
|
|
- >button {
|
|
|
+ > button {
|
|
|
margin: 10px;
|
|
|
margin-left: 0;
|
|
|
}
|
|
@@ -428,7 +553,7 @@ export default {
|
|
|
|
|
|
.clearBtn {
|
|
|
background: none;
|
|
|
- color: #3294F7;
|
|
|
+ color: #3294f7;
|
|
|
text-shadow: none;
|
|
|
padding: 0px 6px;
|
|
|
border: none;
|
|
@@ -450,51 +575,60 @@ export default {
|
|
|
border-radius: 50%;
|
|
|
}
|
|
|
|
|
|
-.show-other{
|
|
|
- width: 100%;
|
|
|
- animation:show-other-search 0.8s;
|
|
|
+.show-other {
|
|
|
+ width: 100%;
|
|
|
+ animation: show-other-search 0.8s;
|
|
|
}
|
|
|
.form-item-style {
|
|
|
margin: 5px 20px 5px 0;
|
|
|
}
|
|
|
.set-input {
|
|
|
- width:180px;
|
|
|
+ width: 180px;
|
|
|
}
|
|
|
.set-select {
|
|
|
- width:120px;
|
|
|
+ width: 120px;
|
|
|
}
|
|
|
.set-range-picker {
|
|
|
- width:230px!important;
|
|
|
+ width: 230px !important;
|
|
|
}
|
|
|
-@keyframes show-other-search{
|
|
|
- 0%{opacity:0;}
|
|
|
- 50%{opacity:0.8;}
|
|
|
- 100%{opacity: 1;}
|
|
|
+@keyframes show-other-search {
|
|
|
+ 0% {
|
|
|
+ opacity: 0;
|
|
|
+ }
|
|
|
+ 50% {
|
|
|
+ opacity: 0.8;
|
|
|
+ }
|
|
|
+ 100% {
|
|
|
+ opacity: 1;
|
|
|
+ }
|
|
|
}
|
|
|
</style>
|
|
|
|
|
|
<style scoped>
|
|
|
-/deep/ .divdefault {
|
|
|
- position: inherit!important;
|
|
|
+/deep/ .divdefault {
|
|
|
+ position: inherit !important;
|
|
|
}
|
|
|
/deep/ .ant-btn > .anticon + span {
|
|
|
margin-left: 0;
|
|
|
}
|
|
|
- /deep/.ant-table-thead > tr > th {
|
|
|
- text-align: center;
|
|
|
+/deep/.ant-table-thead > tr > th {
|
|
|
+ text-align: center;
|
|
|
height: 54px;
|
|
|
}
|
|
|
/deep/ .ant-table-tbody > tr > td {
|
|
|
height: 54px;
|
|
|
}
|
|
|
-/deep/ .ant-form{
|
|
|
+/deep/ .ant-form {
|
|
|
padding: 0;
|
|
|
}
|
|
|
-/deep/ .gridContent{
|
|
|
+/deep/ .gridContent {
|
|
|
border: none;
|
|
|
}
|
|
|
+.chooseAuthor /deep/.ant-modal-body {
|
|
|
+ padding: 0px;
|
|
|
+}
|
|
|
/deep/ .ant-cascader-menus {
|
|
|
- left: 0!important;
|
|
|
+ left: 0 !important;
|
|
|
}
|
|
|
/deep/ .ant-cascader-menu:last-child {
|
|
|
margin-right: 0;
|