Procházet zdrojové kódy

评审前核查 计划流程图弹出框

linweizeng před 2 roky
rodič
revize
62487131f1

binární
src/assets/images/flowChart/orderTab.png


+ 8 - 2
src/views/platform/bpmn/bpmAgent/agentByRole/list.vue

@@ -268,7 +268,7 @@ export default {
                 case 'remove': // 删除
                     ActionUtils.removeRecord(selection)
                         .then((ids) => {
-                            this.handleRemove(ids)
+                            this.handleRemove(ids, data)
                         })
                         .catch(() => {})
                     break
@@ -293,7 +293,13 @@ export default {
         /**
          * 处理删除
          */
-        handleRemove (ids) {
+        handleRemove (ids, data) {
+            const show = data.some(item => item.shi_fou_qi_yong_ === 'enabled')
+            if (show) {
+                this.$message.warning('请把数据禁用,才能删除')
+                return
+            }
+
             const params = {
                 tableName: 't_swdl',
                 paramWhere: {

+ 13 - 1
src/views/scientificPayoffs/js/index.js

@@ -222,7 +222,7 @@ export const barData = {
         top: '20px'
     },
     xAxis: {
-        name: '人员姓名',
+        name: '人员',
         type: 'category',
         data: [],
         axisTick: {
@@ -278,6 +278,18 @@ export const barData = {
                 ])
             }
         }
+        // label: {
+        //     show: true,
+        //     position: 'top',
+        //     textStyle: { // 数值样式
+        //         color: '#FFFFFF',
+        //         fontSize: 12
+        //     },
+        //     formatter: function (params) {
+        //         return params.value !== '0' ? params.value : ''
+        //     }
+
+        // }
     }],
     tooltip: {
         show: true,

+ 3 - 1
src/views/system/jbdScan/generalModules.vue

@@ -8,11 +8,13 @@
 /* 共同调用类, 与脚本统一调用。*/
 import satisfaction from './satisfaction/satisfaction.vue'
 import approve from './approve/approve.vue'
+import orderOpen from './goods/orderOpen.vue'
 
 export default {
     components: {
         satisfaction,
-        approve
+        approve,
+        orderOpen
     },
     props: {
         currentType: {

+ 49 - 0
src/views/system/jbdScan/goods/orderOpen.vue

@@ -0,0 +1,49 @@
+<template>
+    <div class="bg">
+        <el-dialog width="60%" append-to-body title="评审前核查流程" :visible.sync="generalShow" @close="close">
+            <!-- 表单是否显示 -->
+            <div style="width: 100%;height: 100%;">
+                <img src="../../../../assets/images/flowChart/orderTab.png" class="logoImg">
+            </div>
+
+        </el-dialog>
+
+    </div>
+</template>
+
+<script>
+export default {
+    props: {
+        show: {
+            type: Boolean,
+            default: false
+        },
+        generalList: {
+            type: Array,
+            default: () => {
+                return []
+            }
+        }
+    },
+    data () {
+        return {
+            generalShow: this.show
+        }
+    },
+    methods: {
+        close () {
+            this.$emit('generalClose', false)
+        }
+    }
+}
+</script>
+
+<style lang="less" scoped>
+.logoImg {
+    width: 100%;
+    height: 450px;
+    position: relative;
+    border-radius: 5px;
+}
+
+</style>