优化大屏的打包配置
This commit is contained in:
parent
0afc0cecb4
commit
9ba6c13880
|
|
@ -476,7 +476,7 @@ export default {
|
|||
},
|
||||
companyId: '',
|
||||
createBy: '',
|
||||
isEdit: 'true',
|
||||
// isEdit: 'true',
|
||||
rowId: '',
|
||||
}
|
||||
},
|
||||
|
|
@ -493,7 +493,10 @@ export default {
|
|||
// }
|
||||
if (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) => {
|
||||
this.companyId = res.user.companyId
|
||||
|
|
@ -559,7 +562,10 @@ export default {
|
|||
|
||||
// 获取 任务详情数据
|
||||
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]
|
||||
// console.log(data)
|
||||
// this.queryParams.taskId = data.taskId
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { getToken } from '@/utils/auth'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
|
|
@ -24,8 +25,7 @@ export default {
|
|||
methods: {
|
||||
openNewWindow() {
|
||||
window.open(
|
||||
`${this.jumpUrl}/bigScrap/index01.html?token=` +
|
||||
localStorage.getItem('token'),
|
||||
`${this.jumpUrl}/bigScrap/Home/index?token=${getToken()}`,
|
||||
'_blank',
|
||||
)
|
||||
},
|
||||
|
|
|
|||
|
|
@ -42,9 +42,9 @@ module.exports = {
|
|||
// target: `https://test-cc.zhgkxt.com`,//线上环境-南网
|
||||
// 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.74:8080`,//旭/
|
||||
target: `http://192.168.2.76:28080`,//旭/
|
||||
//target: `http://192.168.2.248:28080`, //帅
|
||||
// target: `http://10.40.92.253:28080`, //福
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue