清单发布bug
This commit is contained in:
@@ -119,7 +119,7 @@
|
|||||||
width="260px"
|
width="260px"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName }}</a>
|
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName || scope.row.standEnName }}</a>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@@ -587,75 +587,77 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
<el-table
|
<div class="table-height">
|
||||||
:data="standardData"
|
<el-table
|
||||||
tooltip-effect="dark"
|
:data="standardData"
|
||||||
style="width: 100%"
|
tooltip-effect="dark"
|
||||||
border
|
style="width: 100%"
|
||||||
ref="table"
|
border
|
||||||
class="table-height"
|
ref="table"
|
||||||
:header-cell-style="{background: '#f5f1f1', color: '#333333', fontSize: '16px',
|
height="100%"
|
||||||
|
:header-cell-style="{background: '#f5f1f1', color: '#333333', fontSize: '16px',
|
||||||
fontWeight: 'bold', height: '48px'}"
|
fontWeight: 'bold', height: '48px'}"
|
||||||
@selection-change="selectThree"
|
@selection-change="selectThree"
|
||||||
>
|
|
||||||
<el-table-column
|
|
||||||
type="selection"
|
|
||||||
width="55"
|
|
||||||
align="center">
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="code"
|
|
||||||
align="center"
|
|
||||||
label="标准号">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<a v-if="scope.row.standYear" class="table-jump"
|
|
||||||
@click="handlePreview(scope.row)">{{ scope.row.standSortShow }} {{
|
|
||||||
scope.row.standNumber
|
|
||||||
}}-{{ scope.row.standYear }}</a>
|
|
||||||
<a v-else @click="handlePreview(scope.row)" class="table-jump">{{
|
|
||||||
scope.row.standSortShow
|
|
||||||
}}
|
|
||||||
{{ scope.row.standNumber }}</a>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="standName"
|
|
||||||
align="center"
|
|
||||||
label="标准名称"
|
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<el-table-column
|
||||||
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName }}</a>
|
type="selection"
|
||||||
</template>
|
width="55"
|
||||||
</el-table-column>
|
align="center">
|
||||||
<el-table-column
|
</el-table-column>
|
||||||
prop="issueTime"
|
<el-table-column
|
||||||
align="center"
|
prop="code"
|
||||||
label="发布日期">
|
align="center"
|
||||||
<template slot-scope="scope">
|
label="标准号">
|
||||||
<span>{{ scope.row.issueTime ? $moment(scope.row.issueTime).format("YYYY-MM-DD") : "" }}</span>
|
<template slot-scope="scope">
|
||||||
</template>
|
<a v-if="scope.row.standYear" class="table-jump"
|
||||||
</el-table-column>
|
@click="handlePreview(scope.row)">{{ scope.row.standSortShow }} {{
|
||||||
<el-table-column
|
scope.row.standNumber
|
||||||
prop="XCXSSRQ"
|
}}-{{ scope.row.standYear }}</a>
|
||||||
align="center"
|
<a v-else @click="handlePreview(scope.row)" class="table-jump">{{
|
||||||
label="新车型实施日期">
|
scope.row.standSortShow
|
||||||
</el-table-column>
|
}}
|
||||||
<el-table-column
|
{{ scope.row.standNumber }}</a>
|
||||||
show-overflow-tooltip
|
</template>
|
||||||
prop="ZCCSSRQ"
|
</el-table-column>
|
||||||
align="center"
|
<el-table-column
|
||||||
label="在产车实施日期">
|
prop="standName"
|
||||||
</el-table-column>
|
align="center"
|
||||||
<el-table-column
|
label="标准名称"
|
||||||
show-overflow-tooltip
|
>
|
||||||
prop="textStatus"
|
<template slot-scope="scope">
|
||||||
align="center"
|
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName || scope.row.standEnName }}</a>
|
||||||
label="文本状态">
|
</template>
|
||||||
<template slot-scope="scope">
|
</el-table-column>
|
||||||
<span>{{ textStatusMap[scope.row.textStatus] }}</span>
|
<el-table-column
|
||||||
</template>
|
prop="issueTime"
|
||||||
</el-table-column>
|
align="center"
|
||||||
</el-table>
|
label="发布日期">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.issueTime ? $moment(scope.row.issueTime).format("YYYY-MM-DD") : "" }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="XCXSSRQ"
|
||||||
|
align="center"
|
||||||
|
label="新车型实施日期">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
show-overflow-tooltip
|
||||||
|
prop="ZCCSSRQ"
|
||||||
|
align="center"
|
||||||
|
label="在产车实施日期">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
show-overflow-tooltip
|
||||||
|
prop="textStatus"
|
||||||
|
align="center"
|
||||||
|
label="文本状态">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ textStatusMap[scope.row.textStatus] }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
</el-table>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<pagination
|
<pagination
|
||||||
:page="pageNo"
|
:page="pageNo"
|
||||||
|
|||||||
@@ -119,7 +119,7 @@
|
|||||||
width="260px"
|
width="260px"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName }}</a>
|
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName || scope.row.standEnName }}</a>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@@ -557,75 +557,77 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
<el-table
|
<div class="table-height">
|
||||||
:data="standardData"
|
<el-table
|
||||||
tooltip-effect="dark"
|
:data="standardData"
|
||||||
style="width: 100%"
|
tooltip-effect="dark"
|
||||||
border
|
style="width: 100%"
|
||||||
ref="table"
|
border
|
||||||
class="table-height"
|
ref="table"
|
||||||
:header-cell-style="{background: '#f5f1f1', color: '#333333', fontSize: '16px',
|
height="100%"
|
||||||
|
:header-cell-style="{background: '#f5f1f1', color: '#333333', fontSize: '16px',
|
||||||
fontWeight: 'bold', height: '48px'}"
|
fontWeight: 'bold', height: '48px'}"
|
||||||
@selection-change="selectThree"
|
@selection-change="selectThree"
|
||||||
>
|
|
||||||
<el-table-column
|
|
||||||
type="selection"
|
|
||||||
width="55"
|
|
||||||
align="center">
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="code"
|
|
||||||
align="center"
|
|
||||||
label="标准号">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<a v-if="scope.row.standYear" class="table-jump"
|
|
||||||
@click="handlePreview(scope.row)">{{ scope.row.standSortShow }} {{
|
|
||||||
scope.row.standNumber
|
|
||||||
}}-{{ scope.row.standYear }}</a>
|
|
||||||
<a v-else @click="handlePreview(scope.row)" class="table-jump">{{
|
|
||||||
scope.row.standSortShow
|
|
||||||
}}
|
|
||||||
{{ scope.row.standNumber }}</a>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="standName"
|
|
||||||
align="center"
|
|
||||||
label="标准名称"
|
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<el-table-column
|
||||||
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName }}</a>
|
type="selection"
|
||||||
</template>
|
width="55"
|
||||||
</el-table-column>
|
align="center">
|
||||||
<el-table-column
|
</el-table-column>
|
||||||
prop="issueTime"
|
<el-table-column
|
||||||
align="center"
|
prop="code"
|
||||||
label="发布日期">
|
align="center"
|
||||||
<template slot-scope="scope">
|
label="标准号">
|
||||||
<span>{{ scope.row.issueTime ? $moment(scope.row.issueTime).format("YYYY-MM-DD") : "" }}</span>
|
<template slot-scope="scope">
|
||||||
</template>
|
<a v-if="scope.row.standYear" class="table-jump"
|
||||||
</el-table-column>
|
@click="handlePreview(scope.row)">{{ scope.row.standSortShow }} {{
|
||||||
<el-table-column
|
scope.row.standNumber
|
||||||
prop="XCXSSRQ"
|
}}-{{ scope.row.standYear }}</a>
|
||||||
align="center"
|
<a v-else @click="handlePreview(scope.row)" class="table-jump">{{
|
||||||
label="新车型实施日期">
|
scope.row.standSortShow
|
||||||
</el-table-column>
|
}}
|
||||||
<el-table-column
|
{{ scope.row.standNumber }}</a>
|
||||||
show-overflow-tooltip
|
</template>
|
||||||
prop="ZCCSSRQ"
|
</el-table-column>
|
||||||
align="center"
|
<el-table-column
|
||||||
label="在产车实施日期">
|
prop="standName"
|
||||||
</el-table-column>
|
align="center"
|
||||||
<el-table-column
|
label="标准名称"
|
||||||
show-overflow-tooltip
|
>
|
||||||
prop="textStatus"
|
<template slot-scope="scope">
|
||||||
align="center"
|
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName || scope.row.standEnName}}</a>
|
||||||
label="文本状态">
|
</template>
|
||||||
<template slot-scope="scope">
|
</el-table-column>
|
||||||
<span>{{ textStatusMap[scope.row.textStatus] }}</span>
|
<el-table-column
|
||||||
</template>
|
prop="issueTime"
|
||||||
</el-table-column>
|
align="center"
|
||||||
</el-table>
|
label="发布日期">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.issueTime ? $moment(scope.row.issueTime).format("YYYY-MM-DD") : "" }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="XCXSSRQ"
|
||||||
|
align="center"
|
||||||
|
label="新车型实施日期">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
show-overflow-tooltip
|
||||||
|
prop="ZCCSSRQ"
|
||||||
|
align="center"
|
||||||
|
label="在产车实施日期">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
show-overflow-tooltip
|
||||||
|
prop="textStatus"
|
||||||
|
align="center"
|
||||||
|
label="文本状态">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ textStatusMap[scope.row.textStatus] }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
</el-table>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<pagination
|
<pagination
|
||||||
:page="pageNo"
|
:page="pageNo"
|
||||||
|
|||||||
@@ -111,7 +111,7 @@
|
|||||||
width="260px"
|
width="260px"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName }}</a>
|
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName || scope.row.standEnName}}</a>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@@ -311,7 +311,7 @@
|
|||||||
label="标准名称"
|
label="标准名称"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName }}</a>
|
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName || scope.row.standEnName}}</a>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@@ -561,12 +561,12 @@ export default {
|
|||||||
},
|
},
|
||||||
//标准查询按钮
|
//标准查询按钮
|
||||||
getStandDataBtn(){
|
getStandDataBtn(){
|
||||||
this.loading = true
|
// this.loading = true
|
||||||
this.pageNo = 1;
|
this.pageNo = 1;
|
||||||
this.getStandData();
|
this.getStandData();
|
||||||
},
|
},
|
||||||
getStandData() {
|
getStandData() {
|
||||||
this.$http.get("sarStandardsInfo/sar-standards-info/getSarStandardsInfoPage", {
|
this.$http.get("sarStandardsInfo/sar-standards-info/getSarStandardsInfoPageByWk1", {
|
||||||
standType: this.standardSearch.standType,
|
standType: this.standardSearch.standType,
|
||||||
standNumber: this.standardSearch.standNumber,
|
standNumber: this.standardSearch.standNumber,
|
||||||
page: this.pageNo,
|
page: this.pageNo,
|
||||||
@@ -587,7 +587,7 @@ export default {
|
|||||||
//点击添加事件
|
//点击添加事件
|
||||||
addList() {
|
addList() {
|
||||||
this.standModel = true;
|
this.standModel = true;
|
||||||
this.loading = true
|
// this.loading = true
|
||||||
this.getStandDataBtn()
|
this.getStandDataBtn()
|
||||||
},
|
},
|
||||||
//添加标准select的改变
|
//添加标准select的改变
|
||||||
|
|||||||
@@ -468,6 +468,7 @@ export default {
|
|||||||
if(!this.commentText){
|
if(!this.commentText){
|
||||||
this.$message.warning('请填写审批意见')
|
this.$message.warning('请填写审批意见')
|
||||||
}else{
|
}else{
|
||||||
|
this.isSubmit = true
|
||||||
this.listForm.approvalOpinion = "1";
|
this.listForm.approvalOpinion = "1";
|
||||||
this.saveLoading = true
|
this.saveLoading = true
|
||||||
this.listForm.commentText = this.commentText;
|
this.listForm.commentText = this.commentText;
|
||||||
@@ -484,6 +485,7 @@ export default {
|
|||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
this.saveLoading = false
|
this.saveLoading = false
|
||||||
|
this.isSubmit = false
|
||||||
});
|
});
|
||||||
}/**/
|
}/**/
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user