[update] 修改年度制修订标准化发起流程
This commit is contained in:
+7
-6
@@ -50,10 +50,11 @@
|
||||
import JTable from '@/components/jero/JTable'
|
||||
// 选人弹框
|
||||
import UserSelectModal from '@/components/selection/UserSelectModal'
|
||||
import UserSelection from '@/components/selection/UserSelection'
|
||||
|
||||
export default {
|
||||
name: 'LeaderApproveSentBaseInfo',
|
||||
components: { JTable, UserSelectModal },
|
||||
components: { JTable, UserSelectModal, UserSelection },
|
||||
props: {
|
||||
disabled: {
|
||||
type: Boolean,
|
||||
@@ -193,8 +194,8 @@ export default {
|
||||
width: 300,
|
||||
dataIndex: 'drafter',
|
||||
customRender: (value, row, index) => {
|
||||
return <user-select-by-contact v-model={this.dataSource[index].drafter}
|
||||
nameStr={this.dataSource[index].drafter_dictText}
|
||||
return <user-selection v-model={this.dataSource[index].prcMainDraftUser}
|
||||
nameStr={this.dataSource[index].prcMainDraftUser_dictText}
|
||||
disabled={this.disabled} type={'radio'} placeholder={this.$t('pleaseSelect')} />
|
||||
}
|
||||
}
|
||||
@@ -212,7 +213,7 @@ export default {
|
||||
// 拿到外面传进来的数据初始化,因为套了几层就不在外层初始化数据了
|
||||
initData (data) {
|
||||
// 给表格赋值
|
||||
this.dataSource = data.dataList
|
||||
this.dataSource = data
|
||||
},
|
||||
// 外层要获取数据
|
||||
getData () {
|
||||
@@ -276,8 +277,8 @@ export default {
|
||||
// 批量设置主起草人选择人后的回调
|
||||
userSelectModalChange (value) {
|
||||
for (const item of this.selectedRowKeys) {
|
||||
this.dataSource[item].draft = value
|
||||
this.dataSource[item].draft_dictText = this.selectNames
|
||||
this.dataSource[item].prcMainDraftUser = value
|
||||
this.dataSource[item].prcMainDraftUser_dictText = this.selectNames
|
||||
}
|
||||
this.dataSource = JSON.parse(JSON.stringify(this.dataSource))
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user