-
+
@@ -1435,37 +1435,37 @@ export default {
})
},
closeUpdateModel(){
- this.addOrUpdateVisible=false;
+ this.addOrUpdateVisible = false;
},
// 获取数据列表
// getDataList: throttle(function () {
- getDataList () {
- this.selectUser={
+ getDataList () {
+ this.selectUser = {
username:'',
userDisplay:'',
}
- this.dataListLoading = true
- this.$http({
- url: this.$http.adornUrl('/sys/user/list'),
- method: 'get',
- params: this.$http.adornParams({
- 'page': this.pageIndex,
- 'limit': this.pageSize,
- 'username': this.searchData.userName,
- 'userDisplay': this.searchData.userDisplay,
- 'domainControlAccount': this.searchData.domainControlAccount,
- })
- }).then(({data}) => {
- if (data && data.code === 0) {
- this.dataList = data.page.list
- this.totalPage = data.page.totalCount
- } else {
- this.dataList = []
- this.totalPage = 0
- }
- this.dataListLoading = false
+ this.dataListLoading = true
+ this.$http({
+ url: this.$http.adornUrl('/sys/user/list'),
+ method: 'get',
+ params: this.$http.adornParams({
+ 'page': this.pageIndex,
+ 'limit': this.pageSize,
+ 'username': this.searchData.userName,
+ 'userDisplay': this.searchData.userDisplay,
+ 'domainControlAccount': this.searchData.domainControlAccount,
})
- },
+ }).then(({data}) => {
+ if (data && data.code === 0) {
+ this.dataList = data.page.list
+ this.totalPage = data.page.totalCount
+ } else {
+ this.dataList = []
+ this.totalPage = 0
+ }
+ this.dataListLoading = false
+ })
+ },
// }, 1000),
// 每页数
sizeChangeHandle(val) {
@@ -1550,10 +1550,10 @@ export default {
},
// 新增 / 修改
addOrUpdateHandle(id) {
- this.addOrUpdateVisible = true
this.$nextTick(() => {
this.$refs.addOrUpdate.init(id)
})
+ this.addOrUpdateVisible = true
},
// 删除
deleteHandle(row) {
diff --git a/src/views/modules/test/testSoBom/testTable.vue b/src/views/modules/test/testSoBom/testTable.vue
index 643074b..2e9845b 100644
--- a/src/views/modules/test/testSoBom/testTable.vue
+++ b/src/views/modules/test/testSoBom/testTable.vue
@@ -624,6 +624,7 @@ export default {
this.dblClickPartTable(data.rows[0])
}else {
this.dblClickPartTable({
+ site:this.$store.state.user.site,
partNo:this.testSoBom.componentPartNo,
})
}