zhongrj
2023-02-22 4fb72cf31d81f1ed9725a0f6fe823874f2f1bdf2
值班弹窗修改
3 files modified
21 ■■■■■ changed files
src/views/home/components/rightContainer.vue 2 ●●● patch | view | raw | blame | history
src/views/home/components/schedulingList.vue 15 ●●●● patch | view | raw | blame | history
src/views/home/index.vue 4 ●●●● patch | view | raw | blame | history
src/views/home/components/rightContainer.vue
@@ -191,7 +191,7 @@
    methods: {
        //获取值班列表信息
        getSchedlingList(item){
            this.$emit('showschedulingdetail', item.dept, "1", 'type')
            this.$emit('showschedulingdetail', item.dept, item.dept, 'type')
        },
        //获取值班单位信息
        getSchedulingDeptList(){
src/views/home/components/schedulingList.vue
@@ -2,7 +2,7 @@
    <!-- 值班table -->
    <div>
        <el-dialog :title="schedulingTitle" :modal="true" :visible.sync="schedulingVisible"
            :before-close="schedulingBeforeClose" :close-on-click-modal="true" class="global-dialog-seat">
            :before-close="schedulingBeforeClose" :close-on-click-modal="true"  class="area-details-box">
            <div class="header">
                <div>
                    <span>值班人:</span>
@@ -60,6 +60,7 @@
            },
            schedulingVisible: false,
            schedulingTitle: '',
            dept:''
        }
    },
    methods: {
@@ -67,6 +68,7 @@
        init(data) {
            this.schedulingVisible = true;
            this.schedulingTitle = data.name + "值班信息";
            this.dept = data.dept;
            this.getSchedulingtPaging()
        },
        /**
@@ -77,6 +79,7 @@
            this.page.currentPage = 1
            this.person = '';
            this.contact = '';
            this.dept = "";
            this.schedulingTableData = []
            this.schedulingVisible = false
        },
@@ -102,7 +105,6 @@
        // 值班分页查询
        handleCurrentChange: function (currentPage) {
            this.page.currentPage = currentPage
            this.getSchedulingtPaging()
        },
@@ -111,7 +113,8 @@
            var values = {
                sameday:1,
                person: this.person,
                contact: this.contact
                contact: this.contact,
                dept:this.dept
            }
            getSchedulingList(
                this.page.currentPage,
@@ -129,4 +132,8 @@
}
</script>
<style scoped lang="scss"></style>
<style scoped lang="scss">
.global-dialog-seat{
    height: countSizeVh(700);
}
</style>
src/views/home/index.vue
@@ -1750,10 +1750,10 @@
         * @param {*} type
         * @return {*}
         */
         async showschedulingdetail (name, typeVale, type) {
         async showschedulingdetail (name, dept, type) {
            const data = {
                name:name,
                typeVale:typeVale,
                dept:dept,
                type:type
            }
            this.$refs.schedulingList.init(data);