[update] 控件处理

This commit is contained in:
zhaomeijing
2022-06-06 11:57:54 +08:00
parent e49641b5cb
commit 93165ebe61
3 changed files with 19 additions and 14 deletions
+9 -8
View File
@@ -10,16 +10,16 @@
:wrapper-col='wrapperCol' :wrapper-col='wrapperCol'
> >
<a-row :gutter='24'> <a-row :gutter='24'>
<a-col :span='9'> <!-- <a-col :span='9'>-->
<a-form-model-item ref='paramsTemplateName' :label="$t('fullName')" prop='paramsTemplateName'> <!-- <a-form-model-item ref='paramsTemplateName' :label="$t('fullName')" prop='paramsTemplateName'>-->
<a-input <!-- <a-input-->
v-model='form.realname' /> <!-- v-model='form.realname' />-->
</a-form-model-item> <!-- </a-form-model-item>-->
</a-col> <!-- </a-col>-->
<a-col :span='9'> <a-col :span='9'>
<a-form-model-item ref='paramsTemplateName' :label="$t('accountNumber')" prop='paramsTemplateName'> <a-form-model-item ref='paramsTemplateName' :label="$t('accountNumber')" prop='paramsTemplateName'>
<a-input <a-input
v-model='form.workNo' /> v-model='form.username' />
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
<a-col :span='6'> <a-col :span='6'>
@@ -191,7 +191,8 @@ export default {
.then( (res) =>{ .then( (res) =>{
if (res.data.success) { if (res.data.success) {
_this.$message.success(res.data.result) _this.$message.success(res.data.result)
_this.loadData() // _this.loadData()
this.$emit('GetgetTableList')
this.$emit('areaVisibleAssignedbyflag', false) this.$emit('areaVisibleAssignedbyflag', false)
}else{ }else{
_this.$message.warning(res.data.result) _this.$message.warning(res.data.result)
@@ -174,22 +174,22 @@
</a-modal> </a-modal>
<!-- 分配填写人---> <!-- 分配填写人--->
<a-modal v-model="areaVisibleAssignedby" :title="$t('Assignedby')" width='950px' :footer="null"> <a-modal v-model="areaVisibleAssignedby" :title="$t('Assignedby')" width='950px' :footer="null">
<assigned-by v-if='areaVisibleAssignedby' :selectedRowKeysArray='selectedRowKeysArray' <assigned-by v-if='areaVisibleAssignedby' :selectedRowKeysArray='selectedRowKeysArray' @GetgetTableList='GetgetTableList'
@areaVisibleAssignedbyflag='areaVisibleAssignedbyflag'/> @areaVisibleAssignedbyflag='areaVisibleAssignedbyflag'/>
</a-modal> </a-modal>
<!-- 截至时间---> <!-- 截至时间--->
<a-modal v-model="areaVisibleTaskCutOffTime" :title="$t('TaskCutOffTime')" width='650px' :footer="null"> <a-modal v-model="areaVisibleTaskCutOffTime" :title="$t('TaskCutOffTime')" width='650px' :footer="null">
<task-cut-off-time v-if='areaVisibleTaskCutOffTime' :selectedRowKeysArray='selectedRowKeysArray' <task-cut-off-time v-if='areaVisibleTaskCutOffTime' :selectedRowKeysArray='selectedRowKeysArray' @GetgetTableList='GetgetTableList'
@areaVisibleTaskCutOffTimeflag='areaVisibleTaskCutOffTimeflag'/> @areaVisibleTaskCutOffTimeflag='areaVisibleTaskCutOffTimeflag'/>
</a-modal> </a-modal>
<!-- 引用参数---> <!-- 引用参数--->
<a-modal v-model="areaVisiblereferenceparameter" :title="$t('referenceparameter')" width='650px' :footer="null"> <a-modal v-model="areaVisiblereferenceparameter" :title="$t('referenceparameter')" width='650px' :footer="null">
<reference-parameter v-if='areaVisiblereferenceparameter' :paramsManifest='paramsManifest' <reference-parameter v-if='areaVisiblereferenceparameter' :paramsManifest='paramsManifest' @GetgetTableList='GetgetTableList'
:selectedRowKeysArray='selectedRowKeysArray'/> :selectedRowKeysArray='selectedRowKeysArray'/>
</a-modal> </a-modal>
<!-- 同步上报库---> <!-- 同步上报库--->
<a-modal v-model="areaVisibsynchronous" :title="$t('SynchronousReportLibrary')" width='650px' :footer="null"> <a-modal v-model="areaVisibsynchronous" :title="$t('SynchronousReportLibrary')" width='650px' :footer="null">
<synchronous-submission-library v-if='areaVisibsynchronous' :paramsManifest='paramsManifest' <synchronous-submission-library v-if='areaVisibsynchronous' :paramsManifest='paramsManifest' @GetgetTableList='GetgetTableList'
:selectedRowKeysArray='selectedRowKeysArray'/> :selectedRowKeysArray='selectedRowKeysArray'/>
</a-modal> </a-modal>
</a-card> </a-card>
@@ -321,8 +321,12 @@ export default {
require: true require: true
} }
}, },
mounted() {}, mounted() {
},
methods:{ methods:{
GetgetTableList() {
this.$refs.CollectionTabel.getTableList()
},
// 认证工程师的权限 // 认证工程师的权限
// 认证工程师 退回 权限 // 认证工程师 退回 权限
// 仅仅状态为 已提交 可以退回 // 仅仅状态为 已提交 可以退回
@@ -805,6 +809,7 @@ export default {
}else { }else {
postAction(this.url.add, configDataList).then((res) => { postAction(this.url.add, configDataList).then((res) => {
if (res.success) { if (res.success) {
this.GetgetTableList()
this.$message.success(this.$t('OperationSuccessful')) this.$message.success(this.$t('OperationSuccessful'))
} else { } else {
this.$message.warning(this.$t('operationFailed')) this.$message.warning(this.$t('operationFailed'))
@@ -363,7 +363,6 @@
pageNo: this.pageNo, pageNo: this.pageNo,
...this.queryParam ...this.queryParam
} }
console.log(query,'projectIdprojectIdbainji ')
getAction(this.url.list, query).then((res) => { getAction(this.url.list, query).then((res) => {
if (res.success) { if (res.success) {
if (res.result.current > 1 && res.result.records.length == 0) { if (res.result.current > 1 && res.result.records.length == 0) {