Browse Source

2025-04-21

master
qiezi 9 months ago
parent
commit
84a3948610
  1. 2
      src/views/modules/project/projectPart/searchProjectPart.vue
  2. 52
      src/views/modules/sys/user.vue
  3. 1
      src/views/modules/test/testSoBom/testTable.vue

2
src/views/modules/project/projectPart/searchProjectPart.vue

@ -197,7 +197,7 @@
<el-tab-pane label="刀模申请" v-if="isAuth('101002002:tool')" name="toolApply"> <el-tab-pane label="刀模申请" v-if="isAuth('101002002:tool')" name="toolApply">
<toolApply ref="toolApply"></toolApply> <toolApply ref="toolApply"></toolApply>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="技术参数卡" v-if="isAuth('101002002:technical')" name="technicalSpecification">
<el-tab-pane label="技术参数卡" v-if="isAuth('101002002:technical')" name="technicalSpecification">
<technicalSpecification ref="technicalSpecification" ></technicalSpecification> <technicalSpecification ref="technicalSpecification" ></technicalSpecification>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="变更记录" v-if="isAuth('101002002:change')" name="changeRecord"> <el-tab-pane label="变更记录" v-if="isAuth('101002002:change')" name="changeRecord">

52
src/views/modules/sys/user.vue

@ -1,6 +1,6 @@
<template> <template>
<div class="mod-user"> <div class="mod-user">
<el-form :inline="true" :model="dataForm" @keyup.enter.native="getDataList()">
<el-form :inline="true" :model="searchData" @keyup.enter.native="getDataList()">
<el-form-item> <el-form-item>
<el-input v-model="searchData.userName" placeholder="用户账号" ></el-input> <el-input v-model="searchData.userName" placeholder="用户账号" ></el-input>
</el-form-item> </el-form-item>
@ -1435,37 +1435,37 @@ export default {
}) })
}, },
closeUpdateModel(){ closeUpdateModel(){
this.addOrUpdateVisible=false;
this.addOrUpdateVisible = false;
}, },
// //
// getDataList: throttle(function () { // getDataList: throttle(function () {
getDataList () {
this.selectUser={
getDataList () {
this.selectUser = {
username:'', username:'',
userDisplay:'', 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), // }, 1000),
// //
sizeChangeHandle(val) { sizeChangeHandle(val) {
@ -1550,10 +1550,10 @@ export default {
}, },
// / // /
addOrUpdateHandle(id) { addOrUpdateHandle(id) {
this.addOrUpdateVisible = true
this.$nextTick(() => { this.$nextTick(() => {
this.$refs.addOrUpdate.init(id) this.$refs.addOrUpdate.init(id)
}) })
this.addOrUpdateVisible = true
}, },
// //
deleteHandle(row) { deleteHandle(row) {

1
src/views/modules/test/testSoBom/testTable.vue

@ -624,6 +624,7 @@ export default {
this.dblClickPartTable(data.rows[0]) this.dblClickPartTable(data.rows[0])
}else { }else {
this.dblClickPartTable({ this.dblClickPartTable({
site:this.$store.state.user.site,
partNo:this.testSoBom.componentPartNo, partNo:this.testSoBom.componentPartNo,
}) })
} }

Loading…
Cancel
Save