项目、任务、活动规则提示

This commit is contained in:
zhanyunjiu
2022-07-16 11:22:50 +08:00
parent 9cc5cf3d81
commit 1b2f164703
3 changed files with 63 additions and 0 deletions
+23
View File
@@ -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,
// 导出遮罩层