6
jinlin
2023-12-05 dc352ea3b9ec925320784592f29ca640b3a7b2ea
web/src/views/modules/sys/task/stay-task.vue
@@ -56,6 +56,7 @@
    </el-table>
    <!-- 待办任务弹窗弹窗, 新增 / 修改 -->
    <ItemCirculatOrder ref="itemCirculatOrder" @refreshDataList="getQuery()"></ItemCirculatOrder>
    <ConfigItemWarehouse ref="configItemWarehouse" @refreshDataList="getQuery()"></ConfigItemWarehouse>
    <!--    </zt-table-wraper>-->
  </div>
</template>
@@ -64,6 +65,7 @@
  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'
  export default {
    data() {
@@ -102,7 +104,8 @@
    computed: {},
    components: {
      InfiniteLoading,
      ItemCirculatOrder
      ItemCirculatOrder,
      ConfigItemWarehouse
    },
    created() {
      if (this.$route.path.indexOf('taskCenter') > 0 || this.system == 'smj') {
@@ -212,8 +215,8 @@
        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.configItemWarehouse.$refs.dialog.init(row.bizId, row)
        } else {
          if (row.stepRouterId === null) {
            this.$tip.alert("没有配置菜单id")