Commit a959a094 authored by jiaxu.yan's avatar jiaxu.yan

Merge branch 'developer/yanjiaxu' into develop

parents 95d32c21 7c1b5dfa
...@@ -4,10 +4,11 @@ VUE_APP_TITLE = 周期性检测平台 ...@@ -4,10 +4,11 @@ VUE_APP_TITLE = 周期性检测平台
# 生产环境配置 # 生产环境配置
ENV = 'production' ENV = 'production'
# 中汽研安全检测平台管理系统/生产环境 # 中汽研安全检测平台管理系统/生产环境
VUE_APP_BASE_API = '/prod-api' VUE_APP_BASE_API = '/prod-api'
# 图片服务器地址 # 图片服务器地址
VUE_APP_IMAGE_API ='/' VUE_APP_IMAGE_API ='https://10.12.48.78'
VUE_APP_CLIENT_API = 'http://10.12.48.78:8090' VUE_APP_CLIENT_API = 'https://10.12.48.78/vvmpapi'
...@@ -9,4 +9,4 @@ VUE_APP_BASE_API = 'http://49.232.167.247:22032' ...@@ -9,4 +9,4 @@ VUE_APP_BASE_API = 'http://49.232.167.247:22032'
# 图片服务器地址 # 图片服务器地址
VUE_APP_IMAGE_API = 'http://49.232.167.247:22037' VUE_APP_IMAGE_API = 'http://49.232.167.247:22037'
VUE_APP_CLIENT_API = 'http://10.12.48.78:8090' VUE_APP_CLIENT_API = 'https://10.12.48.78/vvmpapi'
...@@ -92,7 +92,7 @@ ...@@ -92,7 +92,7 @@
width: calc(100% - 100px); width: calc(100% - 100px);
} }
.standard-title { .standard-title {
width: calc(100% - 10px); width: calc(70% - 40px);
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
......
...@@ -233,8 +233,16 @@ ...@@ -233,8 +233,16 @@
<span class="title-content">确定车型试验范围</span> <span class="title-content">确定车型试验范围</span>
</div> </div>
<div class="img-item"> <div class="img-item">
<div class="img-label" style="margin-top: 20px">选择测试场景</div> <div class="img-label" style="margin-top: 20px">
<div class="img-label" style="margin-top: 20px">选择测试场景</div> 选择测试场景
<footer-button
style="width: 80px; height: 25px"
type="primary"
@click="selectAll"
>
全部选择
</footer-button>
</div>
</div> </div>
<!-- 测试场景 --> <!-- 测试场景 -->
<div class="test-scenario-container"> <div class="test-scenario-container">
...@@ -460,6 +468,14 @@ export default { ...@@ -460,6 +468,14 @@ export default {
}, },
closeAll() { closeAll() {
this.activeNames = [] this.activeNames = []
}, // 全选
selectAll() {
this.model.testScenarioList.forEach(obj => {
obj.check = true
})
this.selectedScenario = this.model.testScenarioList.map(obj => {
return obj.value
})
} }
} }
} }
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
预览表单 预览表单
</header-button> </header-button>
<header-button <header-button
v-if="model.systemReviewTask.leaderId == userId" v-if="model.carReviewTask.leaderId == userId"
type="default" type="default"
icon="check" icon="check"
@click="submitFrom()" @click="submitFrom()"
......
...@@ -23,7 +23,7 @@ export default { ...@@ -23,7 +23,7 @@ export default {
}, },
mounted() { mounted() {
const id = this.$route.query.id const id = this.$route.query.id
this.url = `http://10.12.48.80:1234/car/complianceTestingCenter/projectOverView/${id}` this.url = `https://10.12.48.78:8090/car/complianceTestingCenter/projectOverView/${id}`
}, },
methods: {} methods: {}
} }
......
...@@ -600,7 +600,7 @@ export default { ...@@ -600,7 +600,7 @@ export default {
// 确认测试结果 // 确认测试结果
case 'SIGNED': case 'SIGNED':
this.$router.push({ this.$router.push({
ath: `/processing/carTest/confirmation-test??id=${id}` path: `/processing/carTest/confirmation-test??id=${id}`
}) })
break break
case 'FINISH': case 'FINISH':
......
...@@ -18,12 +18,11 @@ export default { ...@@ -18,12 +18,11 @@ export default {
return { return {
id: this.$route.query, id: this.$route.query,
url: '' url: ''
// http://10.12.48.78:8090/car/caseManage/case/casePublishDetail/case_items;375
} }
}, },
mounted() { mounted() {
const id = this.$route.query.id const id = this.$route.query.id
this.url = `http://10.12.48.78:8090/car/caseManage/case/casePublishDetail/${id}` this.url = `https://10.12.48.78:8090/car/caseManage/case/casePublishDetail/${id}`
}, },
methods: {} methods: {}
} }
......
...@@ -42,7 +42,7 @@ module.exports = { ...@@ -42,7 +42,7 @@ module.exports = {
} }
}, },
[process.env.VUE_APP_CLIENT_API]: { [process.env.VUE_APP_CLIENT_API]: {
target: `http://10.12.48.78:8090`, target: `https://10.12.48.78/vvmpapi`,
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {
['^' + process.env.VUE_APP_CLIENT_API]: '' ['^' + process.env.VUE_APP_CLIENT_API]: ''
...@@ -116,7 +116,7 @@ module.exports = { ...@@ -116,7 +116,7 @@ module.exports = {
.use('graphql-tag/loader') .use('graphql-tag/loader')
.loader('graphql-tag/loader') .loader('graphql-tag/loader')
.end(); .end();
config.when(process.env.NODE_ENV !== 'development', config => { config.when(process.env.NODE_ENV === 'production', config => {
config config
.plugin('ScriptExtHtmlWebpackPlugin') .plugin('ScriptExtHtmlWebpackPlugin')
.after('html') .after('html')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment