Commit 9da0db4e authored by 黄奎's avatar 黄奎

页面修改

parent 17aa2574
......@@ -232,4 +232,16 @@ export function GetReserveClass(data) {
method: 'post',
data
})
}
/**
* 修改预约状态
* @param {JSON参数} data
*/
export function setVisitorReserveStatus(data) {
return request({
url: '/VisitorReserve/UpdateVisitorReserveStatus',
method: 'post',
data
})
}
\ No newline at end of file
......@@ -4,8 +4,8 @@
<q-card-section class="q-pt-none scroll" style="max-height: 70vh">
<q-card-section>
<div class="text-h6">
<span v-if="ChoiceType==3">请填写取消备注</span>
<span v-if="ChoiceType==2">请选择流单原因</span>
<span v-if="ChoiceType==3">取消预约</span>
<span v-if="ChoiceType==2">流单</span>
</div>
</q-card-section>
<div class="row wrap">
......@@ -30,11 +30,18 @@
</q-dialog>
</template>
<script>
import {
setVisitorReserveStatus
} from '../../api/scheduling/schedu'
export default {
props: {
ChoiceType: {
type: Number,
default: null
},
saveObj: {
type: Object,
default: null
}
},
data() {
......@@ -82,9 +89,7 @@
if(this.ChoiceType==2){
this.msg.remark = this.chooseLiudan.toString();
}
console.log(this.msg,'msg');
},
}
}
......
......@@ -35,7 +35,7 @@
:input="true" @input="changePage" />
</template>
</q-table>
<yuekeForm v-if="isShowYue" :ChoiceType="ChoiceType" @close="closeYuekeForm" @success="refreshPage"></yuekeForm>
<yuekeForm v-if="isShowYue" :ChoiceType="ChoiceType" :save-obj="classObjOption" @close="closeYuekeForm" @success="refreshPage"></yuekeForm>
</div>
</template>
......@@ -110,7 +110,8 @@
}
],
isShowYue:false,
ChoiceType:0
ChoiceType:0,
visitorItem:{},//选中的对象
}
},
......@@ -142,6 +143,7 @@
{
this.ChoiceType = type;
this.isShowYue = true;
this.visitorItem=item;
},
//关闭弹窗
closeYuekeForm() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment