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

页面修改

parent 17aa2574
...@@ -232,4 +232,16 @@ export function GetReserveClass(data) { ...@@ -232,4 +232,16 @@ export function GetReserveClass(data) {
method: 'post', method: 'post',
data 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 @@ ...@@ -4,8 +4,8 @@
<q-card-section class="q-pt-none scroll" style="max-height: 70vh"> <q-card-section class="q-pt-none scroll" style="max-height: 70vh">
<q-card-section> <q-card-section>
<div class="text-h6"> <div class="text-h6">
<span v-if="ChoiceType==3">请填写取消备注</span> <span v-if="ChoiceType==3">取消预约</span>
<span v-if="ChoiceType==2">请选择流单原因</span> <span v-if="ChoiceType==2">流单</span>
</div> </div>
</q-card-section> </q-card-section>
<div class="row wrap"> <div class="row wrap">
...@@ -30,11 +30,18 @@ ...@@ -30,11 +30,18 @@
</q-dialog> </q-dialog>
</template> </template>
<script> <script>
import {
setVisitorReserveStatus
} from '../../api/scheduling/schedu'
export default { export default {
props: { props: {
ChoiceType: { ChoiceType: {
type: Number, type: Number,
default: null default: null
},
saveObj: {
type: Object,
default: null
} }
}, },
data() { data() {
...@@ -82,9 +89,7 @@ ...@@ -82,9 +89,7 @@
if(this.ChoiceType==2){ if(this.ChoiceType==2){
this.msg.remark = this.chooseLiudan.toString(); this.msg.remark = this.chooseLiudan.toString();
} }
console.log(this.msg,'msg');
}, },
} }
} }
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
:input="true" @input="changePage" /> :input="true" @input="changePage" />
</template> </template>
</q-table> </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> </div>
</template> </template>
...@@ -110,7 +110,8 @@ ...@@ -110,7 +110,8 @@
} }
], ],
isShowYue:false, isShowYue:false,
ChoiceType:0 ChoiceType:0,
visitorItem:{},//选中的对象
} }
}, },
...@@ -142,6 +143,7 @@ ...@@ -142,6 +143,7 @@
{ {
this.ChoiceType = type; this.ChoiceType = type;
this.isShowYue = true; this.isShowYue = true;
this.visitorItem=item;
}, },
//关闭弹窗 //关闭弹窗
closeYuekeForm() { 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