jinlin
2023-12-08 c4d808b6d41a77603ebffbd0cf599e9fa1234ab0
web/src/views/modules/sys/task/stay-task.vue
@@ -6,7 +6,7 @@
      <el-input type="text" v-model="dataForm.djxlSystem" v-if="false"/>
    </el-form>
    <el-table ref="table"
              :height="getTransformHeight(transformHeight)"
              :height="getTransformHeight()"
              v-loading="dataLoading"
              :data="dataList"
              style='margin-top:10px;transition: .5s;'
@@ -56,6 +56,8 @@
    </el-table>
    <!-- 待办任务弹窗弹窗, 新增 / 修改 -->
    <ItemCirculatOrder ref="itemCirculatOrder" @refreshDataList="getQuery()"></ItemCirculatOrder>
    <ConfigItemWarehouse ref="configItemWarehouse" @refreshDataList="getQuery()"></ConfigItemWarehouse>
    <TestCheckOrder ref="testCheckOrder" @refreshDataList="getQuery()"></TestCheckOrder>
    <!--    </zt-table-wraper>-->
  </div>
</template>
@@ -64,6 +66,8 @@
  import Cookies from "js-cookie";
  import InfiniteLoading from 'vue-infinite-loading'
  import ItemCirculatOrder from '@/views/modules/itemCirculatOrder/ItemCirculatOrder-AddOrUpdate'
  import ConfigItemWarehouse from '@/views/modules/configItemWarehouse/ConfigItemWarehouse-AddOrUpdate'
  import TestCheckOrder from '@/views/modules/testCheckOrder/TestCheckOrder-AddOrUpdate'
  export default {
    data() {
@@ -102,7 +106,9 @@
    computed: {},
    components: {
      InfiniteLoading,
      ItemCirculatOrder
      ItemCirculatOrder,
      ConfigItemWarehouse,
      TestCheckOrder
    },
    created() {
      if (this.$route.path.indexOf('taskCenter') > 0 || this.system == 'smj') {
@@ -182,13 +188,9 @@
          this.dataLoading = true
        }
      },
      getTransformHeight(transformHeight) {
      getTransformHeight() {
        let Height = document.documentElement.clientHeight
        if (transformHeight) {
          return Height - (650 - 403)
        } else {
          return Height - 650
        }
      },
      async reCall(row) {
        if (await this.$tip.confirm('确定要进行撤回吗?')) {
@@ -216,8 +218,10 @@
        console.log(row, "task row");
        if (row.flowCode === 'wplz') {
          this.$refs.itemCirculatOrder.$refs.dialog.init(row.bizId, row)
        } else if (row.flowCode === 'aaa') {
          //this.$refs.itemCirculatOrder.$refs.dialog.init(row)
        } else if (row.flowCode === 'pzxrk') {
          this.$refs.configItemChange.$refs.dialog.init(row.bizId, row)
        }else if (row.flowCode === 'csjcd') {
          this.$refs.testCheckOrder.$refs.dialog.init(row.bizId, row)
        } else {
          if (row.stepRouterId === null) {
            this.$tip.alert("没有配置菜单id")