Commit cfe34b79 by 王刘锁

任务执行清单加优先级设置

parent 4c62281d
......@@ -81,7 +81,9 @@
<vxe-column title="优先级" field="priority" width="170px" align="center">
<template slot-scope="scope">
<el-input-number size="small" v-model="scope.row.priority" @change="priorityChange(scope.row)" :step="1" :min="0" :max="99" label="设置优先级"></el-input-number>
<el-input-number v-if ="scope.row.taskStatus === '5'" size="small" v-model="scope.row.priority" @change="priorityChange(scope.row)" :step="1" :min="0" :max="99" label="设置优先级"></el-input-number>
<span v-else-if="scope.row.taskStatus === '1'|| scope.row.taskStatus === '2'|| scope.row.taskStatus === '3'|| scope.row.taskStatus === '4'" >{{ scope.row.priority}}</span>
</template>
</vxe-column>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment