This commit is contained in:
caoqianming 2025-11-10 14:07:35 +08:00
commit f44e1c65fe
12 changed files with 38 additions and 44 deletions

View File

@ -72,7 +72,7 @@
:title="form.title+'-会议室预定'"
:t_id="form.id"
:ticket_="form.ticket_"
@success="()=>{$emit('success')}"
@success="()=>{$emit('success', localMode)}"
:submit_b_func="submit_b_func"
ref="ticketd_b"
></ticketd_b>

View File

@ -64,7 +64,7 @@
:ticket_data="ticket_data"
:submit_b_func="submit_b_func"
ref="ticketd_b"
@success="$emit('success')"
@success="$emit('success', localMode)"
/>
</el-footer>
</el-main>
@ -118,7 +118,10 @@ export default {
let that = this;
if (that.t_id){
this.getTid();
};
}else {
that.localMode = "add";
that.addForm.belong_dept = that.$TOOL.data.get("USER_INFO").belong_dept;
};
},
watch: {
addForm: {

View File

@ -148,8 +148,6 @@ export default {
async submit() {
let that = this,res = null;
console.log('that.type',that.type);
console.log('that.addForm',that.addForm);
try {
if (that.type === "add") {
res = await that.$API.ofm.mroom.create.req(that.addForm);

View File

@ -104,7 +104,11 @@
</scTable>
</el-main>
</el-container>
<el-drawer title="宣传报道" v-model="limitedVisible" direction="rtl" size="70%">
<el-drawer
title="宣传报道"
v-model="limitedVisible"
direction="rtl" size="70%"
:destroy-on-close="true">
<div style="display: flex; height: calc(100% - 60px);">
<div style="flex: 1; padding-right: 20px; overflow-y: auto;">
<publicity

View File

@ -138,7 +138,7 @@
:ticket_data="ticket_data"
:submit_b_func="submit_b_func"
ref="ticketd_b"
@success="$emit('success')"
@success="$emit('success', localMode)"
/>
</el-footer>
</el-main>
@ -186,11 +186,13 @@ export default {
let that = this;
if (that.t_id) {
that.getTid();
};
}else {
that.localMode = "add";
that.addForm.belong_dept = that.$TOOL.data.get("USER_INFO").belong_dept;
}
},
watch: {
'addForm.dept_opinion'(val) {
console.log('addForm.dept_opinion 发生变化',val)
this.ticket_data.dept_opinion = val
},
'addForm.secret_period'(val) {
@ -200,14 +202,12 @@ export default {
this.ticket_data.secret_level = val
},
'addForm.disposal_method'(val) {
console.log('addForm.disposal_method 发生变化',val)
this.ticket_data.disposal_method = val
},
'addForm.dept_opinion_review'(val) {
this.ticket_data.dept_opinion_review = val
},
'addForm.publicity_opinion'(val) {
console.log('addForm.publicity_opinion 发生变化',val)
this.ticket_data.publicity_opinion = val
},
deep:true

View File

@ -97,7 +97,7 @@
:ticket_="localForm.ticket_"
:submit_b_func="submit_b_func"
ref="ticketd_b"
@success="$emit('success')"
@success="$emit('success', localMode)"
/>
</el-footer>
</el-main>
@ -140,7 +140,10 @@ export default {
let that = this;
if (that.t_id) {
that.getTid();
}
}else {
that.localMode = "add";
that.localForm.belong_dept = that.$TOOL.data.get("USER_INFO").belong_dept;
}
},
watch: {
'localForm.actual_return_date'(val) {

View File

@ -42,7 +42,7 @@
value-format="YYYY-MM-DD HH:mm:ss"
unlink-panels
placeholder="选择日期"
:disabled="mode==='show'"
:disabled="localMode==='show'"
>
</el-date-picker>
</el-form-item>
@ -67,7 +67,7 @@
:ticket_="addForm.ticket_"
:ticket_data="ticket_data"
ref="ticketd_b"
@success="$emit('success')"
@success="$emit('success', localMode)"
/>
</el-footer>
</el-main>
@ -111,7 +111,10 @@ export default {
let that = this;
if (that.t_id) {
that.getTid();
}
}else {
that.localMode = "add";
that.addForm.belong_dept = that.$TOOL.data.get("USER_INFO").belong_dept;
}
},
watch: {
addForm: {

View File

@ -174,25 +174,6 @@ export default {
this.t_id = null;
this.limitedVisible = true;
},
// getDefaultForm(){
// return {
// paper_name: "",
// publication_name:"",
// author: "",
// paper_type: "",
// is_chinese_core: false,
// is_sci: false,
// tech_status: [{ name: "", status: "", fileList: [] },
// { name: "", status: "", fileList: [] },
// { name: "", status: "", fileList: [] },
// { name: "/", status: "", fileList: [] },
// { name: "", status: "", fileList: [] }],
// tech_file: [ { name: "", status: "", pages: "" },
// { name: "", pages: "" }],
// ticket_:null
// }
// },
//
paperseShow(row) {
this.mode = "show";
this.t_id = row.id;

View File

@ -84,7 +84,7 @@
:ticket_data="ticket_data"
:submit_b_func="submit_b_func"
ref="ticketd_b"
@success="$emit('success')"
@success="$emit('success', localMode)"
/>
</el-footer>
</el-main>
@ -144,7 +144,10 @@ export default {
let that = this;
if (that.t_id) {
that.getTid();
}
}else {
that.localMode = "add";
that.localForm.belong_dept = that.$TOOL.data.get("USER_INFO").belong_dept;
};
},
methods: {
async submit_b_func() {

View File

@ -93,7 +93,7 @@
:ticket_data="ticket_data"
:submit_b_func="submit_b_func"
ref="ticketd_b"
@success="$emit('success')"
@success="$emit('success', localMode)"
/>
</el-footer>
</el-main>
@ -155,7 +155,10 @@ export default {
let that = this;
if (that.t_id) {
that.getTid();
}
}else {
that.localMode = "add";
that.localForm.belong_dept = that.$TOOL.data.get("USER_INFO").belong_dept;
};
},
methods: {
async submit_b_func() {

View File

@ -72,7 +72,6 @@
size="small"
type="primary"
@click="paperseEdit(scope.row)"
v-auth="'PaperSe.update'"
>详情
</el-button>
<el-popconfirm

View File

@ -79,7 +79,7 @@
:ticket_data="ticket_data"
:submit_b_func="submit_b_func"
ref="ticketd_b"
@success="$emit('success')"
@success="$emit('success', localMode)"
@colsed="$emit('closed')"
/>
</el-footer>
@ -122,9 +122,6 @@ export default {
...(this.modelValue || {}) }
};
},
mounted() {
console.log('mode', this.localMode)
},
watch: {
localForm: {
handler(val) {