[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'
>
<a-row :gutter='24'>
<a-col :span='9'>
<a-form-model-item ref='paramsTemplateName' :label="$t('fullName')" prop='paramsTemplateName'>
<a-input
v-model='form.realname' />
</a-form-model-item>
</a-col>
<!-- <a-col :span='9'>-->
<!-- <a-form-model-item ref='paramsTemplateName' :label="$t('fullName')" prop='paramsTemplateName'>-->
<!-- <a-input-->
<!-- v-model='form.realname' />-->
<!-- </a-form-model-item>-->
<!-- </a-col>-->
<a-col :span='9'>
<a-form-model-item ref='paramsTemplateName' :label="$t('accountNumber')" prop='paramsTemplateName'>
<a-input
v-model='form.workNo' />
v-model='form.username' />
</a-form-model-item>
</a-col>
<a-col :span='6'>
@@ -191,7 +191,8 @@ export default {
.then( (res) =>{
if (res.data.success) {
_this.$message.success(res.data.result)
_this.loadData()
// _this.loadData()
this.$emit('GetgetTableList')
this.$emit('areaVisibleAssignedbyflag', false)
}else{
_this.$message.warning(res.data.result)
@@ -174,22 +174,22 @@
</a-modal>
<!-- 分配填写人--->
<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'/>
</a-modal>
<!-- 截至时间--->
<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'/>
</a-modal>
<!-- 引用参数--->
<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'/>
</a-modal>
<!-- 同步上报库--->
<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'/>
</a-modal>
</a-card>
@@ -321,8 +321,12 @@ export default {
require: true
}
},
mounted() {},
mounted() {
},
methods:{
GetgetTableList() {
this.$refs.CollectionTabel.getTableList()
},
// 认证工程师的权限
// 认证工程师 退回 权限
// 仅仅状态为 已提交 可以退回
@@ -805,6 +809,7 @@ export default {
}else {
postAction(this.url.add, configDataList).then((res) => {
if (res.success) {
this.GetgetTableList()
this.$message.success(this.$t('OperationSuccessful'))
} else {
this.$message.warning(this.$t('operationFailed'))
@@ -363,7 +363,6 @@
pageNo: this.pageNo,
...this.queryParam
}
console.log(query,'projectIdprojectIdbainji ')
getAction(this.url.list, query).then((res) => {
if (res.success) {
if (res.result.current > 1 && res.result.records.length == 0) {