标准/译文获取申请 搜索条件
This commit is contained in:
@@ -36,10 +36,10 @@
|
|||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item class="el-form-item search-item" label="申请人">
|
<el-form-item class="el-form-item search-item" label="申请人">
|
||||||
<el-select v-model="StandardApplyForEOPage.applyForUserIds" clearable placeholder="请选择申请人" />
|
<el-input v-model="applyForUserName" placeholder="选择请选择申请人" @click.native="choiceWSSMR('wssmr', '请选择申请人', StandardApplyForEOPage.applyForUserIds)" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item class="el-form-item search-item" label="需求时间">
|
<el-form-item class="el-form-item search-item" label="需求时间">
|
||||||
<el-input v-model="StandardApplyForEOPage.requiredTimeStart" clearable placeholder="请输入需求时间"></el-input>
|
<el-input v-model="StandardApplyForEOPage.requiredTime" clearable placeholder="请输入需求时间" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item class="el-form-item search-item" label="申请状态">
|
<el-form-item class="el-form-item search-item" label="申请状态">
|
||||||
<el-select
|
<el-select
|
||||||
@@ -81,7 +81,7 @@
|
|||||||
class="drag-table"
|
class="drag-table"
|
||||||
row-key="id"
|
row-key="id"
|
||||||
border
|
border
|
||||||
:loading="tableLoading"
|
v-loading="tableLoading"
|
||||||
:data="StandardApplyForEO"
|
:data="StandardApplyForEO"
|
||||||
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px', fontWeight: 'bold', height: '48px'}"
|
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px', fontWeight: 'bold', height: '48px'}"
|
||||||
@selection-change="handleSelectionChange"
|
@selection-change="handleSelectionChange"
|
||||||
@@ -175,6 +175,12 @@
|
|||||||
<standardsAndTranslationModal ref="standardsAndTranslationModalRef" @updateIndexList="getList" />
|
<standardsAndTranslationModal ref="standardsAndTranslationModalRef" @updateIndexList="getList" />
|
||||||
<detailModal ref="detailModalRef" />
|
<detailModal ref="detailModalRef" />
|
||||||
<exportDialog ref="exportDialogRef" @exportData="exportName" />
|
<exportDialog ref="exportDialogRef" @exportData="exportName" />
|
||||||
|
<Role-tree
|
||||||
|
:is-title="drawerTitle"
|
||||||
|
:is-visible.sync="modalShowRoleFlag"
|
||||||
|
:nodeList="nodeList"
|
||||||
|
@checkedRole="checkedRole"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -199,6 +205,7 @@ export default {
|
|||||||
page: 1,
|
page: 1,
|
||||||
pageSize: this.$store.getters.userInfo.configContent,
|
pageSize: this.$store.getters.userInfo.configContent,
|
||||||
},
|
},
|
||||||
|
applyForUserName: '',
|
||||||
StandardApplyForEO: [],
|
StandardApplyForEO: [],
|
||||||
selectedList: [],
|
selectedList: [],
|
||||||
url: {
|
url: {
|
||||||
@@ -226,6 +233,10 @@ export default {
|
|||||||
value: 'draft',
|
value: 'draft',
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
nodeList: [],
|
||||||
|
userType: '',
|
||||||
|
drawerTitle: '',
|
||||||
|
modalShowRoleFlag: false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted () {
|
mounted () {
|
||||||
@@ -237,12 +248,44 @@ export default {
|
|||||||
this.getDicTypeListCode()
|
this.getDicTypeListCode()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
checkedRole (data) {
|
||||||
|
let idList = ''
|
||||||
|
let nameList = ''
|
||||||
|
data.forEach(item => {
|
||||||
|
if (nameList.length > 0) {
|
||||||
|
nameList += ','
|
||||||
|
idList += ','
|
||||||
|
}
|
||||||
|
idList += item.id
|
||||||
|
nameList += item.name
|
||||||
|
})
|
||||||
|
this.StandardApplyForEOPage.applyForUserIds = idList
|
||||||
|
this.applyForUserName = nameList
|
||||||
|
},
|
||||||
|
choiceWSSMR (type, title, id) {
|
||||||
|
this.nodeList = []
|
||||||
|
if(id) {
|
||||||
|
const nameId = id.split(',')
|
||||||
|
let idList = []
|
||||||
|
nameId.forEach(item => {
|
||||||
|
let a, b
|
||||||
|
a = item.substring(item.indexOf('(') + 1)
|
||||||
|
b = a.substring(0, a.lastIndexOf(')'))
|
||||||
|
idList.push(b)
|
||||||
|
})
|
||||||
|
idList = idList.join(',')
|
||||||
|
this.nodeList.push(idList)
|
||||||
|
}
|
||||||
|
this.userType = type
|
||||||
|
this.drawerTitle = title
|
||||||
|
this.modalShowRoleFlag = true
|
||||||
|
},
|
||||||
getDicTypeListCode () {
|
getDicTypeListCode () {
|
||||||
this.$http.get('sys/dictype/getDicTypeListCode', '', {
|
this.$http.get('sys/dictype/getDicTypeListCode', '', {
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
this.typeList = res.data.BZJYWTYPE // 标准类别
|
this.typeList = res.data.BZJYWTYPE // 标准类别
|
||||||
this.applicantUnitList = res.data.QCDW// 申请单位
|
this.applicantUnitList = res.data.GKGLBM // 归口管理部门
|
||||||
}, e => {
|
}, e => {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
@@ -251,6 +294,7 @@ export default {
|
|||||||
this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
clearSerach () {
|
clearSerach () {
|
||||||
|
this.applyForUserName = ''
|
||||||
this.StandardApplyForEOPage = {
|
this.StandardApplyForEOPage = {
|
||||||
page: 1,
|
page: 1,
|
||||||
pageSize: this.$store.getters.userInfo.configContent
|
pageSize: this.$store.getters.userInfo.configContent
|
||||||
|
|||||||
Reference in New Issue
Block a user