修改已知bug1
This commit is contained in:
@@ -93,6 +93,7 @@
|
|||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import { getAction, postAction, deleteAction, putAction } from '@/api/manage'
|
import { getAction, postAction, deleteAction, putAction } from '@/api/manage'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'collection',
|
name: 'collection',
|
||||||
data() {
|
data() {
|
||||||
@@ -110,44 +111,44 @@
|
|||||||
dataIndex: 'serialNumber',
|
dataIndex: 'serialNumber',
|
||||||
key: 'serialNumber',
|
key: 'serialNumber',
|
||||||
scopedSlots: { customRender: 'serialNumber' },
|
scopedSlots: { customRender: 'serialNumber' },
|
||||||
align: "center",
|
align: 'center',
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
width: 180,
|
width: 180
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('title'),
|
title: this.$t('title'),
|
||||||
align: "center",
|
align: 'center',
|
||||||
scopedSlots: { customRender: 'serialtitle' },
|
scopedSlots: { customRender: 'serialtitle' },
|
||||||
width: 180,
|
width: 180,
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
dataIndex: 'title',
|
dataIndex: 'title'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('status'),
|
title: this.$t('status'),
|
||||||
align: "center",
|
align: 'center',
|
||||||
width: 180,
|
width: 180,
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
dataIndex: 'state',
|
dataIndex: 'state'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('collectionTime'),
|
title: this.$t('collectionTime'),
|
||||||
align: "center",
|
align: 'center',
|
||||||
width: 180,
|
width: 180,
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
dataIndex: 'createTime',
|
dataIndex: 'createTime'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('operation'),
|
title: this.$t('operation'),
|
||||||
dataIndex: 'action',
|
dataIndex: 'action',
|
||||||
scopedSlots: { customRender: 'action' },
|
scopedSlots: { customRender: 'action' },
|
||||||
align: "center",
|
align: 'center',
|
||||||
fixed: 'right',
|
fixed: 'right',
|
||||||
width: 170
|
width: 170
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
tableData: [], //列表数据
|
tableData: [], //列表数据
|
||||||
selecIds: [],
|
selecIds: [],
|
||||||
loading:false,
|
loading: false
|
||||||
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -195,8 +196,9 @@
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
onCancel() {},
|
onCancel() {
|
||||||
});
|
}
|
||||||
|
})
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(this.$t('selectLeastOne'))
|
this.$message.warning(this.$t('selectLeastOne'))
|
||||||
}
|
}
|
||||||
@@ -223,8 +225,9 @@
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
onCancel() {},
|
onCancel() {
|
||||||
});
|
}
|
||||||
|
})
|
||||||
},
|
},
|
||||||
//清空
|
//清空
|
||||||
searchReset() {
|
searchReset() {
|
||||||
@@ -269,7 +272,11 @@
|
|||||||
onDetail(item) {
|
onDetail(item) {
|
||||||
let newUrl = this.$router.resolve({
|
let newUrl = this.$router.resolve({
|
||||||
path: '/docManage/library/detail',
|
path: '/docManage/library/detail',
|
||||||
query: { id:item.documentId }
|
query: {
|
||||||
|
id: item.documentId,
|
||||||
|
serial_number: item.serialNumber,
|
||||||
|
title: item.title
|
||||||
|
}
|
||||||
})
|
})
|
||||||
window.open(newUrl.href, '_blank')
|
window.open(newUrl.href, '_blank')
|
||||||
}
|
}
|
||||||
@@ -278,10 +285,12 @@
|
|||||||
</script>
|
</script>
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
@import '~@assets/less/common.less';
|
@import '~@assets/less/common.less';
|
||||||
|
|
||||||
.collection {
|
.collection {
|
||||||
.collection-search-wrapper {
|
.collection-search-wrapper {
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.colloction-table {
|
.colloction-table {
|
||||||
.page {
|
.page {
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
@@ -289,6 +298,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.box-title-text {
|
.box-title-text {
|
||||||
line-height: 1.4;
|
line-height: 1.4;
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -346,6 +356,7 @@
|
|||||||
line-height: 38px;
|
line-height: 38px;
|
||||||
height: 38px;
|
height: 38px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.box-input .ant-select-selection--single {
|
.box-input .ant-select-selection--single {
|
||||||
height: 38px;
|
height: 38px;
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -20,7 +20,7 @@
|
|||||||
>
|
>
|
||||||
<span slot="projectStatusTitle">
|
<span slot="projectStatusTitle">
|
||||||
<span>{{this.$t('CurrentStatusOfTheProject')}}</span><br/>
|
<span>{{this.$t('CurrentStatusOfTheProject')}}</span><br/>
|
||||||
<span>{{'('+$t('red')+'/'+$t('yellow')+'/'+$t('green')+')'}}</span>
|
<span>{{'('+$t('red')+'/'+$t('yellow')+'/'+$t('green')+'/'+$t('blue')+')'}}</span>
|
||||||
</span>
|
</span>
|
||||||
<span slot="CertificationProgressTitle">
|
<span slot="CertificationProgressTitle">
|
||||||
<span>{{this.$t('CertificationProgress')}}</span><br/>
|
<span>{{this.$t('CertificationProgress')}}</span><br/>
|
||||||
|
|||||||
@@ -74,7 +74,7 @@
|
|||||||
>
|
>
|
||||||
<span slot="projectStatusTitle">
|
<span slot="projectStatusTitle">
|
||||||
<span>{{this.$t('CurrentStatusOfTheProject')}}</span><br/>
|
<span>{{this.$t('CurrentStatusOfTheProject')}}</span><br/>
|
||||||
<span>{{'('+$t('red')+'/'+$t('yellow')+'/'+$t('green')+')'}}</span>
|
<span>{{'('+$t('red')+'/'+$t('yellow')+'/'+$t('green')+'/'+$t('blue')+')'}}</span>
|
||||||
</span>
|
</span>
|
||||||
<span slot="CertificationProgressTitle">
|
<span slot="CertificationProgressTitle">
|
||||||
<span>{{this.$t('CertificationProgress')}}</span><br/>
|
<span>{{this.$t('CertificationProgress')}}</span><br/>
|
||||||
|
|||||||
Reference in New Issue
Block a user