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