Merge remote-tracking branch 'origin/dev-nx' into dev-nx
This commit is contained in:
commit
e8e247aaf7
|
|
@ -2,7 +2,7 @@
|
||||||
<div class="notice-dialog">
|
<div class="notice-dialog">
|
||||||
<!-- 消息通知弹框 -->
|
<!-- 消息通知弹框 -->
|
||||||
<el-dialog
|
<el-dialog
|
||||||
:title="noticeTitle"
|
:title="noticeTitleNew"
|
||||||
:width="noticeDialog.outerWidth"
|
:width="noticeDialog.outerWidth"
|
||||||
:visible.sync="noticeDialog.outerVisible"
|
:visible.sync="noticeDialog.outerVisible"
|
||||||
v-if="noticeDialog.outerVisible"
|
v-if="noticeDialog.outerVisible"
|
||||||
|
|
@ -15,7 +15,7 @@
|
||||||
custom-class="center-dialog"
|
custom-class="center-dialog"
|
||||||
>
|
>
|
||||||
<el-button class="notice-num" type="primary"
|
<el-button class="notice-num" type="primary"
|
||||||
>重要通知({{ unreadNUm }}/{{ noticeNum }})</el-button
|
>重要通知({{ unreadNum }}/{{ noticeNum }})</el-button
|
||||||
>
|
>
|
||||||
<el-button
|
<el-button
|
||||||
class="notice-known"
|
class="notice-known"
|
||||||
|
|
@ -62,20 +62,19 @@ export default {
|
||||||
noticeNum() {
|
noticeNum() {
|
||||||
return this.noticeList.length
|
return this.noticeList.length
|
||||||
},
|
},
|
||||||
|
noticeTitleNew() {
|
||||||
noticeTitle() {
|
return this.noticeList[this.unreadNum - 1].noticeTitle
|
||||||
return this.noticeList[this.unreadNUm - 1].noticeTitle
|
|
||||||
},
|
},
|
||||||
noticeContent() {
|
noticeContent() {
|
||||||
return this.removeHTMLTags(
|
return this.removeHTMLTags(
|
||||||
this.noticeList[this.unreadNUm - 1].noticeContent,
|
this.noticeList[this.unreadNum - 1].noticeContent,
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
releaseTime() {
|
releaseTime() {
|
||||||
return this.noticeList[this.unreadNUm - 1].createTime.slice(0, 10)
|
return this.noticeList[this.unreadNum - 1].createTime.slice(0, 10)
|
||||||
},
|
},
|
||||||
releaseCreateName() {
|
releaseCreateName() {
|
||||||
return this.noticeList[this.unreadNUm - 1].nickName
|
return this.noticeList[this.unreadNum - 1].nickName
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
@ -97,7 +96,7 @@ export default {
|
||||||
noticeId: [],
|
noticeId: [],
|
||||||
userId: sessionStorage.getItem('userId'),
|
userId: sessionStorage.getItem('userId'),
|
||||||
}
|
}
|
||||||
params.noticeId.push(this.noticeList[this.unreadNUm - 1].noticeId)
|
params.noticeId.push(this.noticeList[this.unreadNum - 1].noticeId)
|
||||||
const res = await setQueryNoticeApi(params)
|
const res = await setQueryNoticeApi(params)
|
||||||
this.loading = false
|
this.loading = false
|
||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
|
|
@ -105,9 +104,9 @@ export default {
|
||||||
this.$emit('closeDialog', false)
|
this.$emit('closeDialog', false)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
this.unreadNUm += 1
|
this.unreadNum += 1
|
||||||
// 如果全部点完,则关闭弹框
|
// 如果全部点完,则关闭弹框
|
||||||
if (this.unreadNUm > this.noticeNum) {
|
if (this.unreadNum > this.noticeNum) {
|
||||||
this.$emit('closeDialog', false)
|
this.$emit('closeDialog', false)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -152,6 +152,7 @@
|
||||||
size="mini"
|
size="mini"
|
||||||
v-if="isAdd || isEdit"
|
v-if="isAdd || isEdit"
|
||||||
@click="handleAdd"
|
@click="handleAdd"
|
||||||
|
:loading="submitLoading"
|
||||||
>
|
>
|
||||||
保存
|
保存
|
||||||
</el-button>
|
</el-button>
|
||||||
|
|
@ -497,6 +498,7 @@ export default {
|
||||||
selDeviceTypeChangeValue: '',
|
selDeviceTypeChangeValue: '',
|
||||||
deviceTypeTreeNew: [],
|
deviceTypeTreeNew: [],
|
||||||
completeSetList: [],
|
completeSetList: [],
|
||||||
|
submitLoading: false,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
@ -769,7 +771,7 @@ export default {
|
||||||
if (this.rejectTaskStatus == 100) {
|
if (this.rejectTaskStatus == 100) {
|
||||||
this.queryParams.souceByRefuse = 1
|
this.queryParams.souceByRefuse = 1
|
||||||
}
|
}
|
||||||
|
this.submitLoading = true
|
||||||
const params = {
|
const params = {
|
||||||
...this.queryParams,
|
...this.queryParams,
|
||||||
taskId: this.taskId,
|
taskId: this.taskId,
|
||||||
|
|
@ -786,6 +788,8 @@ export default {
|
||||||
this.$message.error('机具类型库存量为零无法领料')
|
this.$message.error('机具类型库存量为零无法领料')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.submitLoading = true
|
||||||
res = await submitLeaseApply(this.queryParams)
|
res = await submitLeaseApply(this.queryParams)
|
||||||
}
|
}
|
||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
|
|
@ -793,11 +797,13 @@ export default {
|
||||||
type: 'success',
|
type: 'success',
|
||||||
message: res.msg,
|
message: res.msg,
|
||||||
})
|
})
|
||||||
|
this.submitLoading = false
|
||||||
// this.$tab.closeOpenPage({
|
// this.$tab.closeOpenPage({
|
||||||
// path: '/claimAndRefund/receive/receiveApply',
|
// path: '/claimAndRefund/receive/receiveApply',
|
||||||
// })
|
// })
|
||||||
|
|
||||||
this.$emit('goBackPage')
|
this.$emit('goBackPage')
|
||||||
|
} else {
|
||||||
|
this.submitLoading = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -134,6 +134,7 @@
|
||||||
icon="el-icon-plus"
|
icon="el-icon-plus"
|
||||||
size="mini"
|
size="mini"
|
||||||
@click="handleAdd"
|
@click="handleAdd"
|
||||||
|
:loading="submitLoading"
|
||||||
>保存</el-button
|
>保存</el-button
|
||||||
>
|
>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
@ -488,6 +489,7 @@ export default {
|
||||||
rowId: '',
|
rowId: '',
|
||||||
selDeviceTypeChangeValue: '',
|
selDeviceTypeChangeValue: '',
|
||||||
deviceTypeTreeNew: [],
|
deviceTypeTreeNew: [],
|
||||||
|
submitLoading: false,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
|
@ -762,6 +764,7 @@ export default {
|
||||||
backApplyDetails:
|
backApplyDetails:
|
||||||
this.queryParams.leaseApplyDetails,
|
this.queryParams.leaseApplyDetails,
|
||||||
}
|
}
|
||||||
|
this.submitLoading = true
|
||||||
const res = await submitRefuseBackApply(params)
|
const res = await submitRefuseBackApply(params)
|
||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
this.$message({ type: 'success', message: res.msg })
|
this.$message({ type: 'success', message: res.msg })
|
||||||
|
|
@ -773,6 +776,8 @@ export default {
|
||||||
// })
|
// })
|
||||||
// }, 1000)
|
// }, 1000)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.submitLoading = false
|
||||||
} else {
|
} else {
|
||||||
let params = {
|
let params = {
|
||||||
companyId: this.companyId,
|
companyId: this.companyId,
|
||||||
|
|
@ -783,6 +788,7 @@ export default {
|
||||||
backApplyDetails:
|
backApplyDetails:
|
||||||
this.queryParams.leaseApplyDetails,
|
this.queryParams.leaseApplyDetails,
|
||||||
}
|
}
|
||||||
|
this.submitLoading = true
|
||||||
const res = await submitBackApplyApi(params)
|
const res = await submitBackApplyApi(params)
|
||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
this.$message({ type: 'success', message: res.msg })
|
this.$message({ type: 'success', message: res.msg })
|
||||||
|
|
@ -793,6 +799,7 @@ export default {
|
||||||
// })
|
// })
|
||||||
// }, 1000)
|
// }, 1000)
|
||||||
}
|
}
|
||||||
|
this.submitLoading = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -159,7 +159,7 @@
|
||||||
<template v-else> - </template> -->
|
<template v-else> - </template> -->
|
||||||
|
|
||||||
<el-button
|
<el-button
|
||||||
v-if="row.status == 1"
|
v-if="row.status != 2"
|
||||||
type="text"
|
type="text"
|
||||||
@click="handleQueryFile(row)"
|
@click="handleQueryFile(row)"
|
||||||
>查看附件</el-button
|
>查看附件</el-button
|
||||||
|
|
|
||||||
|
|
@ -43,10 +43,10 @@ module.exports = {
|
||||||
// target: `https://test-cc.zhgkxt.com`,//线上环境-南网
|
// target: `https://test-cc.zhgkxt.com`,//线上环境-南网
|
||||||
// target: `https://z.csgmall.com.cn`,
|
// target: `https://z.csgmall.com.cn`,
|
||||||
|
|
||||||
target: `http://192.168.2.167:28080`, //超
|
// target: `http://192.168.2.167:28080`, //超
|
||||||
// target: `http://10.40.92.81:28080`, //韩/
|
// target: `http://10.40.92.81:28080`, //韩/
|
||||||
// target: `http://10.40.92.74:8080`,//旭/
|
// target: `http://10.40.92.74:8080`,//旭/
|
||||||
// target: `http://192.168.2.248:28080`, //帅
|
target: `http://192.168.2.248:28080`, //帅
|
||||||
// target: `http://192.168.2.209:28080`, //福
|
// target: `http://192.168.2.209:28080`, //福
|
||||||
|
|
||||||
//******** 注意事项 ********* */
|
//******** 注意事项 ********* */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue