修改已知问题
This commit is contained in:
@@ -95,7 +95,6 @@
|
|||||||
this.$route.path == '/handshakeProcess' ||
|
this.$route.path == '/handshakeProcess' ||
|
||||||
this.$route.path == '/historicalVersion' ||
|
this.$route.path == '/historicalVersion' ||
|
||||||
this.$route.path == '/dashboard/analysis' ||
|
this.$route.path == '/dashboard/analysis' ||
|
||||||
this.$route.path == '/customContentList' ||
|
|
||||||
this.$route.path == '/processDetails') {
|
this.$route.path == '/processDetails') {
|
||||||
return false
|
return false
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -57,7 +57,14 @@
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
onSearch(value) {
|
onSearch(value) {
|
||||||
console.log(value)
|
if (value) {
|
||||||
|
this.$router.push({
|
||||||
|
path: '/docTools/searchCenter',
|
||||||
|
query: {
|
||||||
|
selectValue:value
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -66,7 +73,7 @@
|
|||||||
.box {
|
.box {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
padding: 32px;
|
padding: 10px 20px 8px 20px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
|
||||||
.header-search {
|
.header-search {
|
||||||
@@ -85,9 +92,9 @@
|
|||||||
|
|
||||||
.content-header {
|
.content-header {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 120px;
|
height: 112px;
|
||||||
margin-top: 24px;
|
margin-top: 10px;
|
||||||
padding: 24px;
|
padding: 20px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
border: 1px solid #CED0D8;
|
border: 1px solid #CED0D8;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
@@ -95,11 +102,11 @@
|
|||||||
|
|
||||||
.content-content {
|
.content-content {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 306px;
|
height: 280px;
|
||||||
padding: 30px 25px 25px 25px;
|
padding: 20px 24px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
border: 1px solid #CED0D8;
|
border: 1px solid #CED0D8;
|
||||||
margin-top: 20px;
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.content-footer {
|
.content-footer {
|
||||||
@@ -108,12 +115,12 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
.content-footer-box {
|
.content-footer-box {
|
||||||
width: calc(33.3% - 14px);
|
width: calc(33.3% - 7px);
|
||||||
height: 412px;
|
height: 400px;
|
||||||
border: 1px solid #CED0D8;
|
border: 1px solid #CED0D8;
|
||||||
padding: 30px 24px 24px 24px;
|
padding: 20px 24px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
margin-top: 20px;
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -143,7 +143,6 @@
|
|||||||
|
|
||||||
.text {
|
.text {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
font-family: Blue Sky Noto;
|
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
color: #040B29;
|
color: #040B29;
|
||||||
margin-top: 8px;
|
margin-top: 8px;
|
||||||
@@ -176,7 +175,6 @@
|
|||||||
|
|
||||||
.text {
|
.text {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
font-family: Blue Sky Noto;
|
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
color: #040B29;
|
color: #040B29;
|
||||||
margin-top: 8px;
|
margin-top: 8px;
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<div class="header-text">
|
<div class="header-text">
|
||||||
<div class="header-text-left">{{this.$t('documentDynamics')}}</div>
|
<div class="header-text-left">{{this.$t('documentDynamics')}}</div>
|
||||||
<div class="header-text-right" @click="moreClick">
|
<div class="header-text-right" @click="moreClick">
|
||||||
{{$t('more')}}
|
more
|
||||||
<img src="../../../assets/gengduo.png" alt="">
|
<img src="../../../assets/gengduo.png" alt="">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -13,13 +13,13 @@
|
|||||||
@click="magClick(item)">
|
@click="magClick(item)">
|
||||||
<div class="yuan"></div>
|
<div class="yuan"></div>
|
||||||
<div class="text">{{item.msgContent}}</div>
|
<div class="text">{{item.msgContent}}</div>
|
||||||
<!-- <img src="../../../assets/new.png" alt="">-->
|
<!-- <img src="../../../assets/new.png" alt="">-->
|
||||||
<div class="time">{{item.createTime}}</div>
|
<div class="time">{{item.createTime}}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="solid"></div>
|
<div class="solid"></div>
|
||||||
</div>
|
</div>
|
||||||
<div v-else style="height: 240px;position: relative">
|
<div v-else style="height: 240px;position: relative">
|
||||||
<JNoData />
|
<JNoData/>
|
||||||
</div>
|
</div>
|
||||||
<JLoading :loading="loading">{{$t('dataLoading')}}</JLoading>
|
<JLoading :loading="loading">{{$t('dataLoading')}}</JLoading>
|
||||||
</div>
|
</div>
|
||||||
@@ -27,24 +27,25 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { getAction, putAction, deleteAction } from '@/api/manage'
|
import { getAction, putAction, deleteAction } from '@/api/manage'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'documentDynamics',
|
name: 'documentDynamics',
|
||||||
data(){
|
data() {
|
||||||
return{
|
return {
|
||||||
pageSize: 8,
|
pageSize: 8,
|
||||||
pageNo: 1,
|
pageNo: 1,
|
||||||
dataSource: [],
|
dataSource: [],
|
||||||
loading:false,
|
loading: false,
|
||||||
url: {
|
url: {
|
||||||
list: '/home/homeDocumentDynamicEO/page',
|
list: '/home/homeDocumentDynamicEO/page',
|
||||||
readAllMsg: 'sys/sysAnnouncementSend/read'
|
readAllMsg: 'sys/sysAnnouncementSend/read'
|
||||||
},
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
methods:{
|
methods: {
|
||||||
getList() {
|
getList() {
|
||||||
let query = {
|
let query = {
|
||||||
pageNo: this.pageNo,
|
pageNo: this.pageNo,
|
||||||
@@ -61,8 +62,7 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
magClick(row) {
|
magClick(row) {
|
||||||
getAction(this.url.readAllMsg, { ids: row.id }).then((res) => {
|
row.isCustomContentList = true
|
||||||
})
|
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: '/system/MessageDetails',
|
path: '/system/MessageDetails',
|
||||||
query: row
|
query: row
|
||||||
@@ -73,13 +73,14 @@
|
|||||||
path: '/customContentList'
|
path: '/customContentList'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="less">
|
<style scoped lang="less">
|
||||||
.documentDynamics-box {
|
.documentDynamics-box {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
position: relative;
|
||||||
|
|
||||||
.header-text {
|
.header-text {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@@ -110,16 +111,16 @@
|
|||||||
|
|
||||||
.solid {
|
.solid {
|
||||||
width: 1px;
|
width: 1px;
|
||||||
height: 210px;
|
height: 200px;
|
||||||
background: #EFF1F3;
|
background: #EFF1F3;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
top: 120px;
|
top: 100px;
|
||||||
transform: translate(-50%, -50%);
|
transform: translate(-50%, -50%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.documentDynamics-text {
|
.documentDynamics-text {
|
||||||
height: 51px;
|
height: 49px;
|
||||||
width: calc(50% - 20px);
|
width: calc(50% - 20px);
|
||||||
line-height: 51px;
|
line-height: 51px;
|
||||||
border-bottom: 1px solid #EFF1F3;
|
border-bottom: 1px solid #EFF1F3;
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<div class="header-text">
|
<div class="header-text">
|
||||||
<div class="header-text-left">{{this.$t('monthlyReportRegulations')}}</div>
|
<div class="header-text-left">{{this.$t('monthlyReportRegulations')}}</div>
|
||||||
<div class="header-text-right">
|
<div class="header-text-right">
|
||||||
{{$t('more')}}
|
more
|
||||||
<img src="../../../assets/gengduo.png" alt="">
|
<img src="../../../assets/gengduo.png" alt="">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<div class="header-text">
|
<div class="header-text">
|
||||||
<div class="header-text-left">{{this.$t('myList')}}</div>
|
<div class="header-text-left">{{this.$t('myList')}}</div>
|
||||||
<div class="header-text-right" @click="moreClick">
|
<div class="header-text-right" @click="moreClick">
|
||||||
{{$t('more')}}
|
more
|
||||||
<img src="../../../assets/gengduo.png" alt="">
|
<img src="../../../assets/gengduo.png" alt="">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<div class="header-text">
|
<div class="header-text">
|
||||||
<div class="header-text-left">{{this.$t('myNews')}}</div>
|
<div class="header-text-left">{{this.$t('myNews')}}</div>
|
||||||
<div class="header-text-right" @click="moreClick">
|
<div class="header-text-right" @click="moreClick">
|
||||||
{{$t('more')}}
|
more
|
||||||
<img src="../../../assets/gengduo.png" alt="">
|
<img src="../../../assets/gengduo.png" alt="">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -75,7 +75,7 @@
|
|||||||
title: this.$t('NotificationTime'),
|
title: this.$t('NotificationTime'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: 200,
|
width: 200,
|
||||||
dataIndex: 'sendTime'
|
dataIndex: 'createTime'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
url: {
|
url: {
|
||||||
@@ -92,8 +92,7 @@
|
|||||||
this.selectedRowKeys = value
|
this.selectedRowKeys = value
|
||||||
},
|
},
|
||||||
msgContentClick(row) {
|
msgContentClick(row) {
|
||||||
getAction(this.url.readAllMsg, { ids: row.id }).then((res) => {
|
row.isCustomContentList = true
|
||||||
})
|
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: '/system/MessageDetails',
|
path: '/system/MessageDetails',
|
||||||
query: row
|
query: row
|
||||||
@@ -106,13 +105,13 @@
|
|||||||
content: that.$t('ConfirmBatchDeletion'),
|
content: that.$t('ConfirmBatchDeletion'),
|
||||||
onOk: function() {
|
onOk: function() {
|
||||||
let selectedRowKeys = JSON.parse(JSON.stringify(that.selectedRowKeys))
|
let selectedRowKeys = JSON.parse(JSON.stringify(that.selectedRowKeys))
|
||||||
deleteAction(that.url.deleteUrl, { ids: selectedRowKeys.join(',') }).then((res) => {
|
getAction(that.url.deleteUrl, { ids: selectedRowKeys.join(',') }).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
that.selectedRowKeys = []
|
that.selectedRowKeys = []
|
||||||
that.$message.success(that.$t('OperationSuccessful'))
|
that.$message.success(that.$t('OperationSuccessful'))
|
||||||
that.loadData()
|
that.loadData()
|
||||||
} else {
|
} else {
|
||||||
that.$message.success(that.$t('operationFailed'))
|
that.$message.warning(that.$t('operationFailed'))
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -92,6 +92,14 @@
|
|||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.getCondition()
|
this.getCondition()
|
||||||
|
if (this.$route.query.selectValue) {
|
||||||
|
this.selectValueTwo = this.$route.query.selectValue
|
||||||
|
this.$nextTick(() => {
|
||||||
|
if (this.$refs.wholeRef) {
|
||||||
|
this.$refs.wholeRef.searchData(this.selectValueTwo)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
callback(key) {
|
callback(key) {
|
||||||
|
|||||||
@@ -154,7 +154,7 @@
|
|||||||
},
|
},
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
if (!this.formInline.directoryName && !this.formInline.lot && !this.formInline.directoryFile &&
|
if (!this.formInline.directoryName && !this.formInline.lot && !this.formInline.directoryFile &&
|
||||||
!this.formInline.experimentFile && !this.detectionReportLocation.lot && !this.formInline.explainInfo) {
|
!this.formInline.experimentFile && !this.formInline.detectionReportLocation && !this.formInline.explainInfo) {
|
||||||
this.$message.warning(this.$t('dataCannotEmpty'))
|
this.$message.warning(this.$t('dataCannotEmpty'))
|
||||||
} else {
|
} else {
|
||||||
let Action
|
let Action
|
||||||
|
|||||||
@@ -6,11 +6,11 @@
|
|||||||
{{this.$route.query.msgContent}}
|
{{this.$route.query.msgContent}}
|
||||||
</span>
|
</span>
|
||||||
<span class="box-header-right-text">
|
<span class="box-header-right-text">
|
||||||
{{$t('NotificationTime')}}: {{this.$route.query.sendTime}}
|
{{$t('NotificationTime')}}: {{this.$route.query.sendTime || this.$route.query.createTime}}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="box-content" v-html="this.$route.query.msgContentInfo">
|
<div class="box-content" v-html="this.$route.query.msgContentInfo">
|
||||||
<!-- {{this.$route.query.msgContentInfo}}-->
|
<!-- {{this.$route.query.msgContentInfo}}-->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@@ -20,9 +20,15 @@
|
|||||||
name: 'MessageDetails',
|
name: 'MessageDetails',
|
||||||
methods: {
|
methods: {
|
||||||
iconClick() {
|
iconClick() {
|
||||||
this.$router.push({
|
if (this.$route.query.isCustomContentList) {
|
||||||
path: '/isps/userAnnouncement'
|
this.$router.push({
|
||||||
})
|
path: '/customContentList'
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
this.$router.push({
|
||||||
|
path: '/isps/userAnnouncement'
|
||||||
|
})
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -201,7 +201,7 @@
|
|||||||
that.$message.success(that.$t('OperationSuccessful'))
|
that.$message.success(that.$t('OperationSuccessful'))
|
||||||
that.loadData()
|
that.loadData()
|
||||||
} else {
|
} else {
|
||||||
that.$message.success(that.$t('operationFailed'))
|
that.$message.warning(that.$t('operationFailed'))
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user