|
@@ -88,7 +88,7 @@
|
|
<el-input type="textarea" :rows="3" v-model="formData.bz"></el-input>
|
|
<el-input type="textarea" :rows="3" v-model="formData.bz"></el-input>
|
|
</div>
|
|
</div>
|
|
<div class="footer">
|
|
<div class="footer">
|
|
- <button class="btn_nomal">取消</button>
|
|
|
|
|
|
+ <button class="btn_nomal" @click="cancel">取消</button>
|
|
<button class="btn_primary" @click="save">确定</button>
|
|
<button class="btn_primary" @click="save">确定</button>
|
|
</div>
|
|
</div>
|
|
<fwtd ref="fwtd" :options="options" @getfwtd="getfwtd"></fwtd>
|
|
<fwtd ref="fwtd" :options="options" @getfwtd="getfwtd"></fwtd>
|
|
@@ -141,17 +141,14 @@ export default {
|
|
},
|
|
},
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
-
|
|
|
|
- this.saveFwAndFz = true
|
|
|
|
- this.fwtdLoading = true
|
|
|
|
|
|
+ this.fwloading = true
|
|
dictionaryList().then(res => {
|
|
dictionaryList().then(res => {
|
|
const data = res.data.data
|
|
const data = res.data.data
|
|
console.log('dictionaryList', data)
|
|
console.log('dictionaryList', data)
|
|
this.options = data
|
|
this.options = data
|
|
this.gjOp = data.gjdq
|
|
this.gjOp = data.gjdq
|
|
}).finally(() => {
|
|
}).finally(() => {
|
|
- this.saveFwAndFz = false
|
|
|
|
- this.fwtdLoading = false
|
|
|
|
|
|
+ this.fwloading = false
|
|
})
|
|
})
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
@@ -166,6 +163,9 @@ export default {
|
|
this.formData.fwyt = val.fwyt.value
|
|
this.formData.fwyt = val.fwyt.value
|
|
this.formData.syyt = val.syyt.value
|
|
this.formData.syyt = val.syyt.value
|
|
},
|
|
},
|
|
|
|
+ cancel(){
|
|
|
|
+ this.$emit('closeDialog')
|
|
|
|
+ },
|
|
save() {
|
|
save() {
|
|
this.formData.dzbm = this.query.dzbm
|
|
this.formData.dzbm = this.query.dzbm
|
|
this.saveFwAndFz = true
|
|
this.saveFwAndFz = true
|
|
@@ -173,6 +173,7 @@ export default {
|
|
console.log('saveFwAndFz', res)
|
|
console.log('saveFwAndFz', res)
|
|
}).finally(() => {
|
|
}).finally(() => {
|
|
this.saveFwAndFz = false
|
|
this.saveFwAndFz = false
|
|
|
|
+ this.$emit('closeDialog')
|
|
})
|
|
})
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -181,7 +182,15 @@ export default {
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|
|
@import '@/styles/newcrue.scss';
|
|
@import '@/styles/newcrue.scss';
|
|
@import '@/styles/public/button-style.scss';
|
|
@import '@/styles/public/button-style.scss';
|
|
-
|
|
|
|
|
|
+.filebox{
|
|
|
|
+ opacity: 0;
|
|
|
|
+ width: 100%;
|
|
|
|
+ position: absolute;
|
|
|
|
+ top: 0;
|
|
|
|
+ left: 0;
|
|
|
|
+ right: 0;
|
|
|
|
+ bottom: 0;
|
|
|
|
+}
|
|
.item_head {
|
|
.item_head {
|
|
display: flex;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
@@ -258,4 +267,4 @@ export default {
|
|
margin-right: 24px;
|
|
margin-right: 24px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-</style>
|
|
|
|
|
|
+</style>
|