项目、任务、活动规则提示
This commit is contained in:
@@ -84,6 +84,9 @@
|
||||
<el-button type="warning" plain icon="el-icon-download" size="mini" @click="handleExport"
|
||||
:loading="exportLoading" v-hasPermi="['farm:task:export']">导出</el-button>
|
||||
</el-col>
|
||||
<el-col :span="1.5">
|
||||
<el-button type="danger" size="mini" @click="dialogVisible = true">第一次进来请先看任务规则</el-button>
|
||||
</el-col>
|
||||
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
||||
</el-row>
|
||||
|
||||
@@ -227,6 +230,24 @@
|
||||
<el-button @click="cancel">取 消</el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
|
||||
<!-- 项目规则提示 -->
|
||||
<el-dialog title="项目规则提示" :visible.sync="dialogVisible" width="70%">
|
||||
<el-form label-width="80px">
|
||||
<el-form-item>新增任务,只能选择进行中的任务</el-form-item>
|
||||
<el-form-item>作物只能选择项目的作物,负责人只能从项目成员中选择,区域只能从项目区域中选择</el-form-item>
|
||||
<el-form-item>任务状态为计划中、准备中 不检查资源占用情况</el-form-item>
|
||||
<el-form-item>任务状态更改为进行中,会检查唯一资源占用情况,如果被占用,则更改失败。未被占用,则变成占用,更改成功</el-form-item>
|
||||
<el-form-item>任务状态更改为完成,会返还唯一资源数量,并更改资源为未占用</el-form-item>
|
||||
<el-form-item>已完成的任务不能修改任何信息</el-form-item>
|
||||
<el-form-item>任务的状态只能由计划中(准备中) ——> 已开始,不可逆向变更状态</el-form-item>
|
||||
<el-form-item>任务只能由提交活动变成完成状态</el-form-item>
|
||||
</el-form>
|
||||
<span slot="footer" class="dialog-footer">
|
||||
<el-button type="primary" @click="dialogVisible = false">确 定</el-button>
|
||||
</span>
|
||||
</el-dialog>
|
||||
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -251,6 +272,8 @@ export default {
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
//任务规则
|
||||
dialogVisible: false,
|
||||
// 遮罩层
|
||||
loading: true,
|
||||
// 导出遮罩层
|
||||
|
||||
Reference in New Issue
Block a user