COMMIT
This commit is contained in:
@@ -57,7 +57,7 @@
|
|||||||
<el-button
|
<el-button
|
||||||
type="primary"
|
type="primary"
|
||||||
class="common-button-primary"
|
class="common-button-primary"
|
||||||
round
|
size="mini"
|
||||||
@click="getReplaceLawsNumRowFirst(true)">
|
@click="getReplaceLawsNumRowFirst(true)">
|
||||||
查询
|
查询
|
||||||
</el-button>
|
</el-button>
|
||||||
@@ -65,8 +65,7 @@
|
|||||||
<el-form-item class="search-item btn-box">
|
<el-form-item class="search-item btn-box">
|
||||||
<el-button
|
<el-button
|
||||||
class="common-button-default"
|
class="common-button-default"
|
||||||
icon="el-icon-refresh-left"
|
size="mini"
|
||||||
round
|
|
||||||
type="default"
|
type="default"
|
||||||
@click="getResetLawsNumRow">
|
@click="getResetLawsNumRow">
|
||||||
清空
|
清空
|
||||||
@@ -99,6 +98,7 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="standName"
|
prop="standName"
|
||||||
|
min-width="300"
|
||||||
label="标准名称">
|
label="标准名称">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@@ -125,8 +125,8 @@
|
|||||||
@pageChange="pageChangeReplace"
|
@pageChange="pageChangeReplace"
|
||||||
@pageSizeChange="pageSizeChangeReplace"></pagination>
|
@pageSizeChange="pageSizeChangeReplace"></pagination>
|
||||||
<div slot="footer" class="demo-drawer-footer">
|
<div slot="footer" class="demo-drawer-footer">
|
||||||
<el-button class="common-button-default" round icon="el-icon-close" @click="replaceLawsNumModel = false">取消</el-button>
|
<el-button class="common-button-default" size="mini" icon="el-icon-close" @click="replaceLawsNumModel = false">取消</el-button>
|
||||||
<el-button type="primary" round class="common-button-primary" icon="el-icon-check" @click="replaceLawsNumModelBt">提交</el-button>
|
<el-button type="primary" size="mini" class="common-button-primary" icon="el-icon-check" @click="replaceLawsNumModelBt">提交</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
|
||||||
@@ -398,6 +398,9 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="less">
|
<style scoped lang="less">
|
||||||
|
/deep/.el-dialog__body{
|
||||||
|
padding: 15px 20px;
|
||||||
|
}
|
||||||
.add-form-item{
|
.add-form-item{
|
||||||
/deep/.el-form-item__content{
|
/deep/.el-form-item__content{
|
||||||
.el-textarea{
|
.el-textarea{
|
||||||
|
|||||||
@@ -9,11 +9,14 @@
|
|||||||
:class="{'form-item-disabled': disabled}"
|
:class="{'form-item-disabled': disabled}"
|
||||||
>
|
>
|
||||||
<el-input
|
<el-input
|
||||||
:value="value"
|
:value="value"
|
||||||
:placeholder="placeholder"
|
:placeholder="placeholder"
|
||||||
:disabled="disabled"
|
:disabled="disabled"
|
||||||
clearable
|
clearable
|
||||||
@input="handleChange"
|
type="textarea"
|
||||||
|
resize="none"
|
||||||
|
:autosize="true"
|
||||||
|
@input="handleChange"
|
||||||
></el-input>
|
></el-input>
|
||||||
<el-button
|
<el-button
|
||||||
type="primary"
|
type="primary"
|
||||||
@@ -50,8 +53,8 @@
|
|||||||
<el-form-item class="search-item btn-box">
|
<el-form-item class="search-item btn-box">
|
||||||
<el-button
|
<el-button
|
||||||
type="primary"
|
type="primary"
|
||||||
|
size="mini"
|
||||||
class="common-button-primary"
|
class="common-button-primary"
|
||||||
round
|
|
||||||
@click="getReplaceLawsNumRow(true)">
|
@click="getReplaceLawsNumRow(true)">
|
||||||
查询
|
查询
|
||||||
</el-button>
|
</el-button>
|
||||||
@@ -59,8 +62,8 @@
|
|||||||
<el-form-item class="search-item btn-box">
|
<el-form-item class="search-item btn-box">
|
||||||
<el-button
|
<el-button
|
||||||
class="common-button-default"
|
class="common-button-default"
|
||||||
round
|
|
||||||
type="default"
|
type="default"
|
||||||
|
size="mini"
|
||||||
@click="getResetLawsNumRow">
|
@click="getResetLawsNumRow">
|
||||||
清空
|
清空
|
||||||
</el-button>
|
</el-button>
|
||||||
@@ -94,7 +97,7 @@
|
|||||||
<el-table-column
|
<el-table-column
|
||||||
prop="standName"
|
prop="standName"
|
||||||
label="标准名称"
|
label="标准名称"
|
||||||
width="130">
|
min-width="300" >
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="issueTime"
|
prop="issueTime"
|
||||||
@@ -132,8 +135,8 @@
|
|||||||
@pageChange="pageChangeReplace"
|
@pageChange="pageChangeReplace"
|
||||||
@pageSizeChange="pageSizeChangeReplace"></pagination>
|
@pageSizeChange="pageSizeChangeReplace"></pagination>
|
||||||
<div slot="footer" class="demo-drawer-footer">
|
<div slot="footer" class="demo-drawer-footer">
|
||||||
<el-button class="common-button-default" round icon="el-icon-close" @click="replaceLawsNumModel = false">取消</el-button>
|
<el-button class="common-button-default" size="mini" icon="el-icon-close" @click="replaceLawsNumModel = false">取消</el-button>
|
||||||
<el-button type="primary" round class="common-button-primary" icon="el-icon-check" @click="replaceLawsNumModelBt">提交</el-button>
|
<el-button type="primary" size="mini" class="common-button-primary" icon="el-icon-check" @click="replaceLawsNumModelBt">提交</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
|
||||||
@@ -371,6 +374,16 @@ export default {
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style lang="less" scoped>
|
||||||
|
.add-form-item{
|
||||||
|
/deep/.el-form-item__content{
|
||||||
|
.el-textarea{
|
||||||
|
width: calc(~'100% - 90px');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/deep/.el-dialog__body{
|
||||||
|
padding: 15px 20px;
|
||||||
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -549,6 +549,7 @@
|
|||||||
:disabled="formdisableflag"
|
:disabled="formdisableflag"
|
||||||
></custom-date-pick-group>
|
></custom-date-pick-group>
|
||||||
</template>
|
</template>
|
||||||
|
<!-- 关联信息-代替标准号-->
|
||||||
<template
|
<template
|
||||||
v-else-if="field.attrType === 'INPUT_STR' && field.attrField !== 'XGLC' && field.attrField !== 'CHJL'">
|
v-else-if="field.attrType === 'INPUT_STR' && field.attrField !== 'XGLC' && field.attrField !== 'CHJL'">
|
||||||
<template
|
<template
|
||||||
@@ -754,6 +755,9 @@
|
|||||||
:key="field.attrField"
|
:key="field.attrField"
|
||||||
:config="field"
|
:config="field"
|
||||||
clearable
|
clearable
|
||||||
|
type="textarea"
|
||||||
|
resize="none"
|
||||||
|
:autosize="true"
|
||||||
v-model="sarStandardsInfoEO['QCDW']"
|
v-model="sarStandardsInfoEO['QCDW']"
|
||||||
:disabled="formdisableflag" placeholder="选择或输入起草单位">
|
:disabled="formdisableflag" placeholder="选择或输入起草单位">
|
||||||
</el-input>
|
</el-input>
|
||||||
|
|||||||
@@ -920,6 +920,7 @@
|
|||||||
:disabled="formdisableflag"
|
:disabled="formdisableflag"
|
||||||
></custom-date-pick-group>
|
></custom-date-pick-group>
|
||||||
</template>
|
</template>
|
||||||
|
<!-- 关联信息-代替标准号-->
|
||||||
<template v-else-if="field.attrType === 'INPUT_STR' && field.attrField !== 'XGLC' && field.attrField !== 'CHJL'">
|
<template v-else-if="field.attrType === 'INPUT_STR' && field.attrField !== 'XGLC' && field.attrField !== 'CHJL'">
|
||||||
<template v-if="field.attrField === 'DTBJH' || field.attrField === 'YYBJ' || field.attrField === 'BYYBJ' || field.attrField === 'CBBH' || field.attrField === 'DXBZ'">
|
<template v-if="field.attrField === 'DTBJH' || field.attrField === 'YYBJ' || field.attrField === 'BYYBJ' || field.attrField === 'CBBH' || field.attrField === 'DXBZ'">
|
||||||
<custom-input-for-standards
|
<custom-input-for-standards
|
||||||
@@ -2714,6 +2715,7 @@ export default {
|
|||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
Promise.all([this.queryDisplayLocation()]).then((values) => {
|
Promise.all([this.queryDisplayLocation()]).then((values) => {
|
||||||
const [displayLocation] = values
|
const [displayLocation] = values
|
||||||
|
console.log('2717', displayLocation)
|
||||||
const formFieldList = this.formFieldList
|
const formFieldList = this.formFieldList
|
||||||
this.sarStandardsInfoEO = JSON.parse(JSON.stringify(item))
|
this.sarStandardsInfoEO = JSON.parse(JSON.stringify(item))
|
||||||
this.defaultCheckedKeys = [this.sarStandardsInfoEO.standSystem];
|
this.defaultCheckedKeys = [this.sarStandardsInfoEO.standSystem];
|
||||||
@@ -2768,6 +2770,7 @@ export default {
|
|||||||
})
|
})
|
||||||
})
|
})
|
||||||
this.dynamicFormField = displayLocation
|
this.dynamicFormField = displayLocation
|
||||||
|
console.log('2771',this.dynamicFormField)
|
||||||
this.loading = false
|
this.loading = false
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
@@ -3204,6 +3207,7 @@ export default {
|
|||||||
const formFieldList = this.formFieldList
|
const formFieldList = this.formFieldList
|
||||||
formFieldList.forEach((field) => {
|
formFieldList.forEach((field) => {
|
||||||
displayLocation.forEach((location) => {
|
displayLocation.forEach((location) => {
|
||||||
|
console.log(location)
|
||||||
let value = dynamicFormField[field.attrField]
|
let value = dynamicFormField[field.attrField]
|
||||||
if (value && typeof value === 'number') {
|
if (value && typeof value === 'number') {
|
||||||
value = this.$dateFormat(value, 'yyyy-MM-dd')
|
value = this.$dateFormat(value, 'yyyy-MM-dd')
|
||||||
|
|||||||
Reference in New Issue
Block a user