清单发布bug

This commit is contained in:
宋伟佳
2021-12-28 15:30:12 +08:00
parent 488b979575
commit 45373a6a60
4 changed files with 147 additions and 141 deletions
@@ -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,13 +587,14 @@
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
<div class="table-height">
<el-table <el-table
:data="standardData" :data="standardData"
tooltip-effect="dark" tooltip-effect="dark"
style="width: 100%" style="width: 100%"
border border
ref="table" ref="table"
class="table-height" height="100%"
:header-cell-style="{background: '#f5f1f1', color: '#333333', fontSize: '16px', :header-cell-style="{background: '#f5f1f1', color: '#333333', fontSize: '16px',
fontWeight: 'bold', height: '48px'}" fontWeight: 'bold', height: '48px'}"
@selection-change="selectThree" @selection-change="selectThree"
@@ -624,7 +625,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
@@ -657,6 +658,7 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
</div> </div>
</div>
<pagination <pagination
:page="pageNo" :page="pageNo"
:pageSize="pageSizeNo" :pageSize="pageSizeNo"
@@ -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,13 +557,14 @@
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
<div class="table-height">
<el-table <el-table
:data="standardData" :data="standardData"
tooltip-effect="dark" tooltip-effect="dark"
style="width: 100%" style="width: 100%"
border border
ref="table" ref="table"
class="table-height" height="100%"
:header-cell-style="{background: '#f5f1f1', color: '#333333', fontSize: '16px', :header-cell-style="{background: '#f5f1f1', color: '#333333', fontSize: '16px',
fontWeight: 'bold', height: '48px'}" fontWeight: 'bold', height: '48px'}"
@selection-change="selectThree" @selection-change="selectThree"
@@ -594,7 +595,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
@@ -627,6 +628,7 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
</div> </div>
</div>
<pagination <pagination
:page="pageNo" :page="pageNo"
:pageSize="pageSizeNo" :pageSize="pageSizeNo"
@@ -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
}); });
}/**/ }/**/
}, },