修改禅道已知bug

This commit is contained in:
qq787203167
2022-07-04 11:38:14 +08:00
parent e644205ca2
commit 3f91811690
4 changed files with 105 additions and 42 deletions
+8 -8
View File
@@ -942,14 +942,14 @@ module.exports = {
reportNotUploaded: 'Report not uploaded',
position: 'position',
// 认证权限状态
CollectionInitiated: 'Collection to be initiated',
handledInterface: 'To be handled by the project interface',
ReturnedPerson: 'Returned by project contact person',
completed: 'To be completed',
Filledreturn: 'Filled by return',
Submitted: 'Submitted',
ReturnedEngineer: 'Returned by Certification Engineer',
SynchronizedLibrary: 'Synchronized to the upper reporting Library',
CollectionInitiated: 'Wait Collect',
handledInterface: 'Wait Sdt',
ReturnedPerson: 'Sdt Back',
completed: 'Wait Fill',
Filledreturn: 'Dre Back',
Submitted: 'Submit',
ReturnedEngineer: 'Cert Back',
SynchronizedLibrary: 'Sync Report',
Statusis: 'Statusis',
toHavePermission: 'To Have Permission',
and: 'and',
@@ -28,7 +28,8 @@
<a-input class="box-input inputWid"
:disabled="item.isLock == '1' ? true: false"
:placeholder="$t('pleaseEnter')+$t('chinese')"
onkeyup="value=value.replace(/[^\u4e00-\u9fa5]/g,'')"
event.returnValue="false"
onkeyup="(this.a=function(){this.value=this.value.replace(/[^\u4e00-\u9fa5]/g,'');}).call(this)"
v-model="item.dataValue"/>
</div>
<!-- 正整数 -->
@@ -179,9 +180,10 @@
<div v-else-if="item.controlVerify == '2'">
<a-input class="box-input inputWid"
:maxLength="1000"
event.returnValue="false"
:disabled="item.isLock == '1' ? true: false"
:placeholder="$t('pleaseEnter')+$t('chinese')"
onkeyup="value=value.replace(/[^\u4e00-\u9fa5]/g,'')"
onkeyup="(this.a=function(){this.value=this.value.replace(/[^\u4e00-\u9fa5]/g,'');}).call(this)"
v-model="item.dataValue"/>
</div>
<!-- 正整数 -->
@@ -274,9 +276,10 @@
<div v-else-if="item.controlVerify == '2'">
<a-input class="box-input inputWid"
:maxLength="1000"
event.returnValue="false"
:disabled="item.isLock == '1' ? true: false"
:placeholder="$t('pleaseEnter')+$t('chinese')"
onkeyup="value=value.replace(/[^\u4e00-\u9fa5]/g,'')"
onkeyup="(this.a=function(){this.value=this.value.replace(/[^\u4e00-\u9fa5]/g,'');}).call(this)"
v-model="item.dataValue"/>
</div>
<!-- 正整数 -->
@@ -381,9 +384,10 @@
<div v-else-if="item.controlVerify == '2'">
<a-input class="box-input inputWid"
:maxLength="1000"
event.returnValue="false"
:disabled="item.isLock == '1' ? true: false"
:placeholder="$t('pleaseEnter')+$t('chinese')"
onkeyup="value=value.replace(/[^\u4e00-\u9fa5]/g,'')"
onkeyup="(this.a=function(){this.value=this.value.replace(/[^\u4e00-\u9fa5]/g,'');}).call(this)"
v-model="item.dataValue"/>
</div>
<!-- 正整数 -->
@@ -544,8 +548,9 @@
<a-input class="box-input inputWid"
:disabled="item.isLock == '1' ? true: false"
:maxLength="1000"
event.returnValue="false"
:placeholder="$t('pleaseEnter')+$t('chinese')"
onkeyup="value=value.replace(/[^\u4e00-\u9fa5]/g,'')"
onkeyup="(this.a=function(){this.value=this.value.replace(/[^\u4e00-\u9fa5]/g,'');}).call(this)"
v-model="item.dataValue"/>
</div>
<!-- 正整数 -->
@@ -81,7 +81,7 @@
</a-row>
</a-form-model>
</a-spin>
<div class='drawer-bootom-button'>
<div class='drawer-bootom-button' style="margin-top: 4px">
<a-button style='margin-right: .8rem' @click='handleCancel'>{{ $t('cancel') }}</a-button>
<a-button @click='handleSubmit' type='primary' :loading='confirmLoading'>{{ $t('submit') }}</a-button>
</div>
@@ -284,9 +284,9 @@
<style lang='less' scoped>
@import '~@assets/less/common.less';
/deep/ .ant-form-explain {
padding-left: 62px;
}
/*/deep/ .ant-form-explain {*/
/* padding-left: 62px;*/
/*}*/
.diolag-area {
.table-area {
@@ -64,6 +64,26 @@
v-model="formInline.dre"></a-input>
</div>
</a-col>
<a-col :md="6" :sm="8">
<div class="box-title-text">
<div class="title-text" :title="$t('status')">
<span>{{$t('status')}}</span>
</div>
<a-select :placeholder="$t('PleaseSelect')+$t('status')"
class="box-input"
allowClear
:getPopupContainer="triggerNode=> triggerNode.parentNode"
v-model="formInline.state">
<a-select-option v-for="(item, key) in statusList"
:key="key"
:value="item.value">
<span style="display: inline-block;width: 100%" :title=" item.name ">
{{ item.name}}
</span>
</a-select-option>
</a-select>
</div>
</a-col>
<span style="float: right;overflow: hidden;margin-right: 11px"
class="table-page-search-submitButtons">
<a-col :md="6" :sm="24">
@@ -180,29 +200,29 @@
<!-- 冻结配置--->
<a-modal v-model="areaVisibleFreeze" :title="$t('FreezeConfiguration')" width='600px' :footer="null">
<a-spin :spinning="confirmLoading">
<a-form-model
class='tag-module'
ref='ruleForm'
:model='Dateline'
:rules='rules'
:label-col='labelCol'
:wrapper-col='wrapperCol'
>
<a-row :gutter='24'>
<a-col :span='24'>
<a-form-model-item ref='region' :label="$t('FreezeConfiguration')" prop='region'>
<a-select :placeholder="$t('PleaseSelect')+$t('FreezeConfiguration')" v-model="Dateline.paramsConfig"
allowClear mode="multiple">
<a-select-option v-for="(item, key) in FreezeList" :key="key" :value="item.value">
<a-form-model
class='tag-module'
ref='ruleForm'
:model='Dateline'
:rules='rules'
:label-col='labelCol'
:wrapper-col='wrapperCol'
>
<a-row :gutter='24'>
<a-col :span='24'>
<a-form-model-item ref='region' :label="$t('FreezeConfiguration')" prop='region'>
<a-select :placeholder="$t('PleaseSelect')+$t('FreezeConfiguration')" v-model="Dateline.paramsConfig"
allowClear mode="multiple">
<a-select-option v-for="(item, key) in FreezeList" :key="key" :value="item.value">
<span style="display: inline-block;width: 100%" :title=" item.label ">
{{ item.label }}
</span>
</a-select-option>
</a-select>
</a-form-model-item>
</a-col>
</a-row>
</a-form-model>
</a-select-option>
</a-select>
</a-form-model-item>
</a-col>
</a-row>
</a-form-model>
</a-spin>
<div style='padding-left: 60px;color: red'>
{{$t('Attentionfreeze')}}
@@ -387,6 +407,44 @@
SynchronousSubmissionLibrary
},
data() {
this.statusList = [
{
value:'1',
name:this.$t('CollectionInitiated')
},
{
value:'2',
name:this.$t('handledInterface')
},
{
value:'3',
name:this.$t('ReturnedPerson')
},
{
value:'4',
name:this.$t('completed')
},
{
value:'5',
name:this.$t('Filledreturn')
},
{
value:'6',
name:this.$t('Submitted')
},
{
value:'7',
name:this.$t('ReturnedEngineer')
},
{
value:'8',
name:this.$t('SynchronizedLibrary')
},
{
value:'9',
name:this.$t('alteration')
}
]
return {
// 认证工程师 homo
// 工程接口人 sdt
@@ -464,7 +522,7 @@
templatetitleId: '',
rowId: '',
version: 0,
confirmLoading:false,
confirmLoading: false,
itemId: '',
selectedRowKeysValue: [], // table列表所选得数据
token: Vue.ls.get(ACCESS_TOKEN),
@@ -856,7 +914,7 @@
this.Dateline = {}
// 获取冻结配置数据
this.confirmLoading = true
this.getFreeze(()=> {
this.getFreeze(() => {
this.getLockedConfigIdList()
})
},
@@ -865,8 +923,8 @@
{ paramsManifestId: this.paramsManifest.id }).then((res) => {
if (res.success) {
this.Dateline.paramsConfig = res.result
this.Dateline = {...this.Dateline}
}else{
this.Dateline = { ...this.Dateline }
} else {
this.Dateline.paramsConfig = []
}
this.confirmLoading = false
@@ -1342,7 +1400,7 @@
if (res.data.success) {
_this.$message.success(_this.$t('OperationSuccessful'))
_this.selectedRowKeys = []
_this.$refs.CollectionTabel.getData()
// _this.$refs.CollectionTabel.getData()
_this.$refs.CollectionTabel.getTableList()
_this.textLoading = false
} else {