Merge remote-tracking branch 'origin/develop' into develop

This commit is contained in:
super_liu
2021-09-02 15:20:43 +08:00
6 changed files with 35 additions and 21 deletions
@@ -563,7 +563,7 @@
class="common-button-primary" class="common-button-primary"
size="small" size="small"
v-btn-permission="'072efe80c5459dd47fedd2d14f59ff7f'" v-btn-permission="'072efe80c5459dd47fedd2d14f59ff7f'"
@click="getStandData"> @click="getStandDataBtn">
查询 查询
</el-button> </el-button>
</el-form-item> </el-form-item>
@@ -998,6 +998,10 @@ export default {
}; };
this.getStandData(); this.getStandData();
}, },
getStandDataBtn(){
this.pageNo =1;
this.getStandData();
},
//查询项目下的标准 //查询项目下的标准
getStandData() { getStandData() {
this.$http.get("sarStandardsInfo/sar-standards-info/getSarStandardsInfoPage", { this.$http.get("sarStandardsInfo/sar-standards-info/getSarStandardsInfoPage", {
@@ -305,7 +305,7 @@
: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="selectListChange" @selection-change="selectListChange"
ref="selection" ref="listSelection"
> >
<el-table-column <el-table-column
type="selection" type="selection"
@@ -535,8 +535,8 @@ export default {
selectListChange(data) { selectListChange(data) {
// 单选 // 单选
if (data.length > 1) { if (data.length > 1) {
this.$refs.selection.clearSelection() this.$refs.listSelection.clearSelection()
this.$refs.selection.toggleRowSelection(data.pop()) this.$refs.listSelection.toggleRowSelection(data.pop())
} }
this.multipleSelection = data this.multipleSelection = data
@@ -179,7 +179,7 @@
: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="selectProjectChange" @selection-change="selectProjectChange"
ref="selection" ref="projectSelection"
> >
<el-table-column <el-table-column
type="selection" type="selection"
@@ -282,7 +282,7 @@
: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="selectListChange" @selection-change="selectListChange"
ref="selection" ref="listSelection"
> >
<el-table-column <el-table-column
type="selection" type="selection"
@@ -594,8 +594,8 @@ export default {
selectListChange(data) { selectListChange(data) {
// 单选 // 单选
if (data.length > 1) { if (data.length > 1) {
this.$refs.selection.clearSelection() this.$refs.listSelection.clearSelection()
this.$refs.selection.toggleRowSelection(data.pop()) this.$refs.listSelection.toggleRowSelection(data.pop())
} }
this.multipleSelection = data this.multipleSelection = data
@@ -605,8 +605,8 @@ export default {
selectProjectChange(data) { selectProjectChange(data) {
// 单选 // 单选
if (data.length > 1) { if (data.length > 1) {
this.$refs.selection.clearSelection() this.$refs.projectSelection.clearSelection()
this.$refs.selection.toggleRowSelection(data.pop()) this.$refs.projectSelection.toggleRowSelection(data.pop())
} }
this.multipleSelection = data this.multipleSelection = data
@@ -178,7 +178,7 @@
: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="selectProjectChange" @selection-change="selectProjectChange"
ref="selection" ref="projectSelection"
> >
<el-table-column <el-table-column
type="selection" type="selection"
@@ -281,7 +281,7 @@
: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="selectListChange" @selection-change="selectListChange"
ref="selection" ref="listSelection"
> >
<el-table-column <el-table-column
type="selection" type="selection"
@@ -593,8 +593,8 @@ export default {
selectListChange(data) { selectListChange(data) {
// 单选 // 单选
if (data.length > 1) { if (data.length > 1) {
this.$refs.selection.clearSelection() this.$refs.listSelection.clearSelection()
this.$refs.selection.toggleRowSelection(data.pop()) this.$refs.listSelection.toggleRowSelection(data.pop())
} }
this.multipleSelection = data this.multipleSelection = data
@@ -604,8 +604,8 @@ export default {
selectProjectChange(data) { selectProjectChange(data) {
// 单选 // 单选
if (data.length > 1) { if (data.length > 1) {
this.$refs.selection.clearSelection() this.$refs.projectSelection.clearSelection()
this.$refs.selection.toggleRowSelection(data.pop()) this.$refs.projectSelection.toggleRowSelection(data.pop())
} }
this.multipleSelection = data this.multipleSelection = data
@@ -138,7 +138,7 @@
class="common-button-primary" class="common-button-primary"
size="mini" size="mini"
v-btn-permission="'0bdf3aecef5161bb66256ebcbbd4bdaa'" v-btn-permission="'0bdf3aecef5161bb66256ebcbbd4bdaa'"
@click="querySarProStateZero">查询</el-button> @click="querySarProStateZeroBtn">查询</el-button>
</el-form-item> </el-form-item>
<el-form-item class="search-item btn-box"> <el-form-item class="search-item btn-box">
<el-button <el-button
@@ -306,7 +306,12 @@ name: "technologyInvolveProject",
handleProjectCompliance (row) { handleProjectCompliance (row) {
this.standId = row.standId this.standId = row.standId
this.querySarProStateZero() this.querySarProStateZero()
}, // 查看项目符合性 },
querySarProStateZeroBtn(){
this.sarProStateTotalPage = 1
this.querySarProStateZero()
},
// 查看项目符合性
querySarProStateZero () { querySarProStateZero () {
var form = this.sarProStateEO var form = this.sarProStateEO
form.position = this.sarProject.position form.position = this.sarProject.position
@@ -328,7 +333,7 @@ name: "technologyInvolveProject",
this.sarProStateEO.standNumber = '' this.sarProStateEO.standNumber = ''
this.sarProStateEO.standName = '' this.sarProStateEO.standName = ''
this.sarProStateEO.specificItem = '' this.sarProStateEO.specificItem = ''
this.querySarProStateZero() this.querySarProStateZeroBtn()
}, // 清空条件查询 }, // 清空条件查询
clearSearchPro () { clearSearchPro () {
this.sarProStateEO.standNumber = '' this.sarProStateEO.standNumber = ''
@@ -21,7 +21,7 @@
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-button type="primary" size="mini" v-btn-permission="'02424c2bc370ee846aa5a6d60c49a6a5'" <el-button type="primary" size="mini" v-btn-permission="'02424c2bc370ee846aa5a6d60c49a6a5'"
class="common-button-primary" @click="getTableByPage('')"> class="common-button-primary" @click="getTableByPageBtn">
查询 查询
</el-button> </el-button>
</el-form-item> </el-form-item>
@@ -203,6 +203,11 @@ export default {
}) })
} }
}, },
// 查询之后跳回第一页
getTableByPageBtn(){
this.pageNo = 1
this.getTableByPage()
},
// 查询零部件table列表 // 查询零部件table列表
getTableByPage() { getTableByPage() {
this.tableLoading.loadData = true this.tableLoading.loadData = true
@@ -231,7 +236,7 @@ export default {
//零件分类号 //零件分类号
partCategoryCode: "" partCategoryCode: ""
} }
this.getTableByPage() this.getTableByPageBtn()
}, },
// 分页事件 // 分页事件
pageChange(page) { pageChange(page) {