[update] 清单编辑
This commit is contained in:
@@ -64,7 +64,7 @@
|
|||||||
</a-table>
|
</a-table>
|
||||||
</div>
|
</div>
|
||||||
<!-- 修改工程接口人--->
|
<!-- 修改工程接口人--->
|
||||||
<a-modal v-model="areaVisible" :title="$t('modifyprojectInterfacePerson')" width='750px' :footer="null">
|
<a-modal v-model="areaVisible" :title="$t('modifyprojectInterfacePerson')" width='500px' :footer="null">
|
||||||
<a-form-model
|
<a-form-model
|
||||||
class='tag-module'
|
class='tag-module'
|
||||||
ref='ruleForm'
|
ref='ruleForm'
|
||||||
@@ -74,7 +74,7 @@
|
|||||||
:wrapper-col='wrapperCol'
|
:wrapper-col='wrapperCol'
|
||||||
>
|
>
|
||||||
<a-row :gutter='24'>
|
<a-row :gutter='24'>
|
||||||
<a-col :span='12'>
|
<a-col :span='24'>
|
||||||
<a-form-model-item ref='region' :label="$t('engineeringInterfacePerson')" prop='region'>
|
<a-form-model-item ref='region' :label="$t('engineeringInterfacePerson')" prop='region'>
|
||||||
<a-select :placeholder="$t('PleaseSelect')+$t('engineeringInterfacePerson')" v-model="Dateline.querySdt">
|
<a-select :placeholder="$t('PleaseSelect')+$t('engineeringInterfacePerson')" v-model="Dateline.querySdt">
|
||||||
<a-select-option v-for="(item, key) in querySdtList" :key="key" :value="item.value">
|
<a-select-option v-for="(item, key) in querySdtList" :key="key" :value="item.value">
|
||||||
|
|||||||
@@ -85,6 +85,16 @@
|
|||||||
<a-icon type="bulb"/>
|
<a-icon type="bulb"/>
|
||||||
{{$t('CompulsoryWithdrawal')}}
|
{{$t('CompulsoryWithdrawal')}}
|
||||||
</div>
|
</div>
|
||||||
|
<!-- 分配填写人-->
|
||||||
|
<div @click="assignedBy" class="operator-text-title">
|
||||||
|
<a-icon type="copy"/>
|
||||||
|
{{$t('Assignedby')}}
|
||||||
|
</div>
|
||||||
|
<!-- 引用参数-->
|
||||||
|
<div @click="referenceparameter" class="operator-text-title">
|
||||||
|
<a-icon type="plus"/>
|
||||||
|
{{$t('referenceparameter')}}
|
||||||
|
</div>
|
||||||
<!-- 截止时间-->
|
<!-- 截止时间-->
|
||||||
<div @click="TaskCutOffTime" class="operator-text-title">
|
<div @click="TaskCutOffTime" class="operator-text-title">
|
||||||
<a-icon type="bulb"/>
|
<a-icon type="bulb"/>
|
||||||
@@ -100,11 +110,6 @@
|
|||||||
<a-icon type="plus"/>
|
<a-icon type="plus"/>
|
||||||
{{$t('addTo')}}
|
{{$t('addTo')}}
|
||||||
</div>
|
</div>
|
||||||
<!-- 分配填写人-->
|
|
||||||
<div @click="assignedBy" class="operator-text">
|
|
||||||
<a-icon type="copy"/>
|
|
||||||
{{$t('Assignedby')}}
|
|
||||||
</div>
|
|
||||||
<!-- 提交-->
|
<!-- 提交-->
|
||||||
<div @click="handleSubmit" class="operator-text">
|
<div @click="handleSubmit" class="operator-text">
|
||||||
<a-icon type="plus"/>
|
<a-icon type="plus"/>
|
||||||
@@ -115,11 +120,6 @@
|
|||||||
<a-icon type="plus"/>
|
<a-icon type="plus"/>
|
||||||
{{$t('sendBack')}}
|
{{$t('sendBack')}}
|
||||||
</div>
|
</div>
|
||||||
<!-- 引用参数-->
|
|
||||||
<div @click="referenceparameter" class="operator-text">
|
|
||||||
<a-icon type="plus"/>
|
|
||||||
{{$t('referenceparameter')}}
|
|
||||||
</div>
|
|
||||||
<!-- 批量删除-->
|
<!-- 批量删除-->
|
||||||
<div @click="handleDelJurisdiction" class="operator-text" v-has="'document:deleteBatch'">
|
<div @click="handleDelJurisdiction" class="operator-text" v-has="'document:deleteBatch'">
|
||||||
<a-icon type="delete"/>
|
<a-icon type="delete"/>
|
||||||
@@ -136,7 +136,7 @@
|
|||||||
<parameter-library-add v-if='areaVisible' :paramsManifest='paramsManifest'/>
|
<parameter-library-add v-if='areaVisible' :paramsManifest='paramsManifest'/>
|
||||||
</a-modal>
|
</a-modal>
|
||||||
<!-- 冻结配置--->
|
<!-- 冻结配置--->
|
||||||
<a-modal v-model="areaVisibleFreeze" :title="$t('FreezeConfiguration')" width='750px' :footer="null">
|
<a-modal v-model="areaVisibleFreeze" :title="$t('FreezeConfiguration')" width='500px' :footer="null">
|
||||||
<a-form-model
|
<a-form-model
|
||||||
class='tag-module'
|
class='tag-module'
|
||||||
ref='ruleForm'
|
ref='ruleForm'
|
||||||
@@ -146,7 +146,7 @@
|
|||||||
:wrapper-col='wrapperCol'
|
:wrapper-col='wrapperCol'
|
||||||
>
|
>
|
||||||
<a-row :gutter='24'>
|
<a-row :gutter='24'>
|
||||||
<a-col :span='12'>
|
<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">
|
||||||
<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">
|
||||||
@@ -1077,6 +1077,14 @@ export default {
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
}
|
}
|
||||||
|
.operator-text-title {
|
||||||
|
cursor: pointer;
|
||||||
|
margin-right: 22px;
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 400;
|
||||||
|
color: #040B29;
|
||||||
|
margin-bottom: 22px;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
<style>
|
<style>
|
||||||
.box-input .ant-select-selection {
|
.box-input .ant-select-selection {
|
||||||
|
|||||||
@@ -252,7 +252,7 @@
|
|||||||
},
|
},
|
||||||
// 项目收集参数
|
// 项目收集参数
|
||||||
drawerhandleCancel(val) {
|
drawerhandleCancel(val) {
|
||||||
this.drawerhandleCancel = val
|
this.drawerVisible = val
|
||||||
},
|
},
|
||||||
searchQuery() {
|
searchQuery() {
|
||||||
this.pageNo = 1
|
this.pageNo = 1
|
||||||
|
|||||||
@@ -164,24 +164,16 @@ export default {
|
|||||||
this.loadData()
|
this.loadData()
|
||||||
},
|
},
|
||||||
loadData() {
|
loadData() {
|
||||||
// this.loading = true
|
|
||||||
// let params = {
|
|
||||||
// pageNo: this.pageNo,
|
|
||||||
// pageSize: this.pageSize,
|
|
||||||
// ...this.form
|
|
||||||
// }
|
|
||||||
// getAction(`params/manifest/getParamsTemplatePage`, params).then(res => {
|
|
||||||
// if (res.success) {
|
|
||||||
// this.areaTable = [...res.result.records]
|
|
||||||
// this.total = res.result.total
|
|
||||||
// }
|
|
||||||
// }).finally(() => {
|
|
||||||
// this.loading = false
|
|
||||||
// })
|
|
||||||
let _this = this
|
let _this = this
|
||||||
|
let params = {
|
||||||
|
pageNo: this.pageNo,
|
||||||
|
pageSize: this.pageSize,
|
||||||
|
projectName: this.formData.title
|
||||||
|
}
|
||||||
axios({
|
axios({
|
||||||
url: `/jero-boot/params/manifest/getAllManifest?projectName=${this.$route.query.id}`,
|
url: `/jero-boot/params/manifest/getAllManifest`,
|
||||||
method: 'get',
|
method: 'post',
|
||||||
|
data: params,
|
||||||
transformRequest: [function (data) {
|
transformRequest: [function (data) {
|
||||||
let ret = ''
|
let ret = ''
|
||||||
for (let it in data) {
|
for (let it in data) {
|
||||||
@@ -196,9 +188,9 @@ 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)
|
||||||
}else{
|
}else{
|
||||||
_this.$message.warning(res.data.result)
|
// _this.$message.warning(res.data.result)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.catch( (error) =>{
|
.catch( (error) =>{
|
||||||
|
|||||||
Reference in New Issue
Block a user