优化大屏的打包配置

This commit is contained in:
BianLzhaoMin 2024-07-17 10:59:10 +08:00
parent 0afc0cecb4
commit 9ba6c13880
3 changed files with 13 additions and 7 deletions

View File

@ -476,7 +476,7 @@ export default {
}, },
companyId: '', companyId: '',
createBy: '', createBy: '',
isEdit: 'true', // isEdit: 'true',
rowId: '', rowId: '',
} }
}, },
@ -493,7 +493,10 @@ export default {
// } // }
if (this.rejectId) { if (this.rejectId) {
this.rowId = this.rejectId this.rowId = this.rejectId
this.GetViewByApply({ id: this.rejectId, agreementId: this.agreementId}) this.GetViewByApply({
id: this.rejectId,
agreementId: this.agreementId,
})
} }
getInfo().then((res) => { getInfo().then((res) => {
this.companyId = res.user.companyId this.companyId = res.user.companyId
@ -559,7 +562,10 @@ export default {
// //
async GetViewByApply(params) { async GetViewByApply(params) {
const res = await materialReturnNoteByApply({ id: params.id, agreementId: params.agreementId}) const res = await materialReturnNoteByApply({
id: params.id,
agreementId: params.agreementId,
})
const data = res.data[0] const data = res.data[0]
// console.log(data) // console.log(data)
// this.queryParams.taskId = data.taskId // this.queryParams.taskId = data.taskId

View File

@ -4,6 +4,7 @@
</template> </template>
<script> <script>
import { getToken } from '@/utils/auth'
export default { export default {
data() { data() {
return { return {
@ -24,8 +25,7 @@ export default {
methods: { methods: {
openNewWindow() { openNewWindow() {
window.open( window.open(
`${this.jumpUrl}/bigScrap/index01.html?token=` + `${this.jumpUrl}/bigScrap/Home/index?token=${getToken()}`,
localStorage.getItem('token'),
'_blank', '_blank',
) )
}, },

View File

@ -42,9 +42,9 @@ 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.76:28080`, //超 // target: `http://192.168.2.76:28080`, //超
// target: `http://10.40.92.81:8080`, //韩/ // target: `http://10.40.92.81:8080`, //韩/
// target: `http://10.40.92.74:8080`,//旭/ target: `http://192.168.2.76:28080`,//旭/
//target: `http://192.168.2.248:28080`, //帅 //target: `http://192.168.2.248:28080`, //帅
// target: `http://10.40.92.253:28080`, //福 // target: `http://10.40.92.253:28080`, //福