Browse Source

问题修改

SunZehao 1 year ago
parent
commit
8f97a5ea4f

+ 2 - 3
src/components/taskCenter/taskApplicationFrom.vue

@@ -205,7 +205,7 @@
                 </span>
             </template>
         </el-dialog>
-        <el-dialog title="选择审批领导" v-model="activeVisible" width="600px" :close-on-click-modal="false">
+        <el-dialog title="选择审批领导" v-model="leaderVisible" width="600px" :close-on-click-modal="false">
             <div class="periodFrom">
                 <el-form ref="ruleForm" label-width="100px" class="demo-ruleForm" :validate-on-rule-change="false">
                     <el-form-item label="审批领导">
@@ -224,7 +224,7 @@
             </div>
             <template #footer>
                 <span class="dialog-footer">
-                    <el-button @click="activeVisible = false">取 消</el-button>
+                    <el-button @click="leaderVisible = false">取 消</el-button>
                     <el-button type="primary" @click="activeresponsibility">确 定</el-button>
                 </span>
             </template>
@@ -253,7 +253,6 @@ export default {
     data() {
         return {
             dialogVisible: false,
-            activeVisible: false,
             leaderVisible: false,
             activeName: 'first',
             leaderArr: [],

+ 3 - 3
src/components/taskCenter/taskCenterPage.vue

@@ -41,14 +41,14 @@
                     </template>
                 </el-table-column>
             </el-table>
-            <el-pagination
+            <!-- <el-pagination
                 @size-change="handleSizeChange"
                 @current-change="handleCurrentChange"
                 :current-page="page.currentPage"
                 :page-size="page.pagesize"
                 layout="total, prev, pager, next, jumper"
                 :total="page.total">
-            </el-pagination>
+            </el-pagination> -->
             <el-dialog title="流程详情" v-model="workflowVisible" width="70vw" :close-on-click-modal="false">
                 <div class="flowSty">
                     <iframe id="iframeContain" width="100%" height="100%" frameborder="0" class="iframe" name="iframeContain" seamless scrolling="no" :src="iframeURL">            
@@ -110,7 +110,7 @@ export default {
             apiPostTodoTaskList(params).then(datas =>{
                 if (datas && datas.data) {
                     that.taskCenterData = datas.data.rows
-                    that.page.total = datas.data.total
+                    // that.page.total = datas.data.total
                 }
             })
         },