[add] 参数项收集清单

This commit is contained in:
zhaomeijing
2022-05-11 13:44:08 +08:00
parent 267dbd3e4d
commit 581bc06f31
3 changed files with 53 additions and 26 deletions
@@ -220,6 +220,12 @@ export default {
watch: { watch: {
detailDate(newold,oldold) { detailDate(newold,oldold) {
console.log(newold,oldold,'ll') console.log(newold,oldold,'ll')
},
formInline:{
handler(newOld,oldval) {
console.log(newOld,oldval,'ll')
},
deep: true
} }
} }
} }
@@ -120,7 +120,7 @@ export default {
}) })
}, },
tableOnChange(pagination, filters, sorter) { tableOnChange(pagination, filters, sorter) {
console.log(pagination,filters,sorter,'iiiiiiiiiiiiiiiii')
}, },
getTableList() { getTableList() {
let params = { let params = {
@@ -141,8 +141,9 @@ export default {
// this.pageNo = page // this.pageNo = page
// this.getTableList() // this.getTableList()
}, },
onSelectChange(value) { onSelectChange(value,valueOld) {
// this.selectedRowKeys = value console.log(value,valueOld)
this.selectedRowKeys = value
// this.$emit('onSelectChange', value) // this.$emit('onSelectChange', value)
}, },
OperationClick(ol, item) { OperationClick(ol, item) {
@@ -8,7 +8,7 @@
<span>{{$t('NiONumber')}}</span> <span>{{$t('NiONumber')}}</span>
</div> </div>
<a-input class="box-input" :placeholder="$t('PleaseEnter')+$t('NiONumber')" <a-input class="box-input" :placeholder="$t('PleaseEnter')+$t('NiONumber')"
v-model="queryParam.title"></a-input> v-model="formInline.input"></a-input>
</div> </div>
</a-col> </a-col>
<a-col :md="6" :sm="8"> <a-col :md="6" :sm="8">
@@ -17,7 +17,7 @@
<span>{{$t('ParameterName')}}</span> <span>{{$t('ParameterName')}}</span>
</div> </div>
<a-input class="box-input" :placeholder="$t('PleaseEnter')+$t('ParameterName')" <a-input class="box-input" :placeholder="$t('PleaseEnter')+$t('ParameterName')"
v-model="queryParam.title"></a-input> v-model="formInline.input"></a-input>
</div> </div>
</a-col> </a-col>
<a-col :md="6" :sm="8"> <a-col :md="6" :sm="8">
@@ -25,7 +25,7 @@
<div class="title-text" :title="$t('certificationCategory')"> <div class="title-text" :title="$t('certificationCategory')">
<span>{{$t('certificationCategory')}}</span> <span>{{$t('certificationCategory')}}</span>
</div> </div>
<j-dict-select-tag class="box-input" v-model="queryParam.dutyTerritory" <j-dict-select-tag class="box-input" v-model="formInline.dutyTerritory"
:placeholder="$t('PleaseSelect')+$t('certificationCategory')" :placeholder="$t('PleaseSelect')+$t('certificationCategory')"
:type="'select'" :type="'select'"
:triggerChange="false" :dictCode="'cert_category'"/> :triggerChange="false" :dictCode="'cert_category'"/>
@@ -36,7 +36,7 @@
<div class="title-text" :title="$t('areaOfResponsibility')"> <div class="title-text" :title="$t('areaOfResponsibility')">
<span>{{$t('areaOfResponsibility')}}</span> <span>{{$t('areaOfResponsibility')}}</span>
</div> </div>
<j-dict-select-tag class="box-input" v-model="queryParam.dutyTerritory" <j-dict-select-tag class="box-input" v-model="formInline.dutyTerritory"
:placeholder="$t('PleaseSelect')+$t('areaOfResponsibility')" :placeholder="$t('PleaseSelect')+$t('areaOfResponsibility')"
:type="'select'" :type="'select'"
:triggerChange="false" :dictCode="'duty_territory'"/> :triggerChange="false" :dictCode="'duty_territory'"/>
@@ -48,7 +48,7 @@
<span>{{$t('completedBy')}}</span> <span>{{$t('completedBy')}}</span>
</div> </div>
<a-input class="box-input" :placeholder="$t('PleaseEnter')+$t('completedBy')" <a-input class="box-input" :placeholder="$t('PleaseEnter')+$t('completedBy')"
v-model="queryParam.title"></a-input> v-model="formInline.title"></a-input>
</div> </div>
</a-col> </a-col>
<span style="float: right;overflow: hidden;margin-right: 11px" class="table-page-search-submitButtons"> <span style="float: right;overflow: hidden;margin-right: 11px" class="table-page-search-submitButtons">
@@ -60,22 +60,22 @@
</a-row> </a-row>
</div> </div>
<div class="table-operator"> <div class="table-operator">
<!-- <div @click="handleAdd" class="operator-text">--> <div @click="handleAdd" class="operator-text">
<!-- <a-icon type="plus"/>--> <a-icon type="plus"/>
<!-- {{$t('add')}}{{ $t('detailedList') }}--> {{$t('submit')}}
<!-- </div>--> </div>
<!-- <div @click="handleModule" class="operator-text">--> <div @click="handleModule" class="operator-text">
<!-- <a-icon type="bulb"/>--> <a-icon type="bulb"/>
<!-- {{$t('changeExtension')}}--> {{$t('changeExtension')}}
<!-- </div>--> </div>
<!-- <div @click="handleCody" class="operator-text">--> <div @click="handleCody" class="operator-text">
<!-- <a-icon type="copy"/>--> <a-icon type="copy"/>
<!-- {{$t('copy')}}{{$t('parameter')}}{{ $t('detailedList') }}--> {{$t('copy')}}{{$t('parameter')}}{{ $t('detailedList') }}
<!-- </div>--> </div>
<!-- <div @click="handleDel" class="operator-text" v-has="'document:deleteBatch'">--> <div @click="handleDel" class="operator-text" v-has="'document:deleteBatch'">
<!-- <a-icon type="delete"/>--> <a-icon type="delete"/>
<!-- {{$t('BatchDelete')}}--> {{$t('BatchDelete')}}
<!-- </div>--> </div>
</div> </div>
<div style="width: 100%"> <div style="width: 100%">
<table-collection ref="CollectionTabel" :url='url' :paramsManifest='paramsManifest'/> <table-collection ref="CollectionTabel" :url='url' :paramsManifest='paramsManifest'/>
@@ -142,11 +142,11 @@ export default {
} }
], ],
selectedRowKeys: [], selectedRowKeys: [],
queryParam: {}, formInline: {},
url: { url: {
tableHeader: 'params/collectManifest/getHeader', tableHeader: 'params/collectManifest/getHeader',
tableList: 'params/collectManifest/list', tableList: 'params/collectManifest/list',
// add: 'params/manifest/add', add: 'params/collectManifest/submit',
// edit: 'params/manifest/edit', // edit: 'params/manifest/edit',
// queryById: 'params/manifest/queryById', // queryById: 'params/manifest/queryById',
// deleteBatch: 'params/manifest/delete', // deleteBatch: 'params/manifest/delete',
@@ -179,6 +179,26 @@ export default {
mounted() { mounted() {
}, },
methods:{ methods:{
handleAdd() {
//
postAction(this.url.add, {}).then((res) => {
if (res.success) {
this.$message.success(this.$t('OperationSuccessful'))
// _this.getlist()
} else {
this.$message.warning(this.$t('operationFailed'))
}
})
},
handleModule() {
},
handleCody() {
},
handleDel() {
},
// paramsManifestClick(item) { // paramsManifestClick(item) {
// // let newUrl = this.$router.resolve({ // // let newUrl = this.$router.resolve({
// // path: '/ParameterItemCollection', // // path: '/ParameterItemCollection',