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

This commit is contained in:
yanyizhou
2021-09-28 10:32:56 +08:00
3 changed files with 47 additions and 5 deletions
@@ -65,15 +65,20 @@
height="100%" height="100%"
:header-cell-style="{background: '#E8E8E8', color: '#333333', fontSize: '16px', :header-cell-style="{background: '#E8E8E8', color: '#333333', fontSize: '16px',
fontWeight: 'bold', height: '48px'}"> fontWeight: 'bold', height: '48px'}">
<el-table-column
prop="account"
label="账号"
width="100px">
</el-table-column>
<el-table-column <el-table-column
prop="uname" prop="uname"
label="姓名" label="姓名"
width="170px"> width="100px">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="sex" prop="sex"
label="性别" label="性别"
width="170px"> width="50px">
<template slot-scope="scope"> <template slot-scope="scope">
<div v-if="scope.row.sex === '1'"></div> <div v-if="scope.row.sex === '1'"></div>
<div v-if="scope.row.sex === '2'"></div> <div v-if="scope.row.sex === '2'"></div>
@@ -92,14 +97,36 @@
<el-table-column <el-table-column
prop="institutionName" prop="institutionName"
label="所属部门"> label="所属部门">
<template slot-scope="scope">
<el-popover trigger="hover" placement="top">
{{scope.row.institutionName}}
<div slot="reference" class="name-wrapper">
<p v-if="scope.row.institutionName.length<15">
{{scope.row.institutionName}}
</p>
<p v-else> {{scope.row.institutionName.substring(0,15)}}...</p>
</div>
</el-popover>
</template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="NameList" prop="NameList"
label="所属岗位"> label="所属岗位">
<template slot-scope="scope">
<el-popover trigger="hover" placement="top">
{{scope.row.NameList}}
<div slot="reference" class="name-wrapper">
<p v-if="scope.row.NameList.length<15">
{{scope.row.NameList}}
</p>
<p v-else> {{scope.row.NameList.substring(0,15)}}...</p>
</div>
</el-popover>
</template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
label="状态" label="状态"
width="170px"> width="100px">
<template slot-scope="scope"> <template slot-scope="scope">
<div v-if="scope.row.disableFlag === '1'">已禁用</div> <div v-if="scope.row.disableFlag === '1'">已禁用</div>
<div v-else>已启用</div> <div v-else>已启用</div>
+1 -1
View File
@@ -57,7 +57,7 @@
<el-table-column <el-table-column
prop="name" prop="name"
label="岗位名称" label="岗位名称"
width="170px"> width="300px">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="NameList" prop="NameList"
@@ -81,7 +81,7 @@
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="标准名称" class="search-item"> <el-form-item label="标准号/标准名称" class="search-item">
<el-input <el-input
v-model="sarAccessInfoSearch.standName" v-model="sarAccessInfoSearch.standName"
placeholder="请输入" placeholder="请输入"
@@ -605,6 +605,7 @@ export default {
}, },
data() { data() {
return { return {
// isAdvancedSearch: false,
textStatusMap: {}, textStatusMap: {},
countryAreaMap: {}, countryAreaMap: {},
typeApplicableMap: {}, typeApplicableMap: {},
@@ -951,6 +952,20 @@ export default {
} }
this.selectLawsStands() this.selectLawsStands()
}, },
// selectMoreBtn() {
// this.isAdvancedSearch = true
// this.standardFormList.standName = ''
// this.standardFormList.typeApplicable = ''
// this.standardFormList.nylx = ''
// this.standardFormList.zrbm = ''
// this.standardFormList.sycpx = ''
// this.showTableFlag = false
// this.page = 1
// this.standardForm.page = 1
// this.selectInfoMore()
// },
// 法规维护人树 // 法规维护人树
getDept() { getDept() {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {