Răsfoiți Sursa

教育培训/预案演练bug修改

jingyuanchao 2 ani în urmă
părinte
comite
e97b0d9530

+ 3 - 3
src/views/core/drill/plan/index.vue

@@ -194,14 +194,14 @@
             </el-form-item>
           </el-col>
 
-          <el-col :span="12">
+<!--          <el-col :span="12">
             <el-form-item v-if="this.form.id" label="计划状态" prop="planStatus">
               <el-select v-model="form.planStatus" placeholder="请选择计划状态" style="width: 100%;">
                 <el-option v-for="dict in dict.type.drill_plan_status" :key="dict.value" :label="dict.label"
                            :value="parseInt(dict.value)"></el-option>
               </el-select>
             </el-form-item>
-          </el-col>
+          </el-col>-->
         </el-row>
         <el-row>
           <el-col :span="24">
@@ -579,7 +579,7 @@ export default {
     //撤回计划
     handleRevocation(row) {
       if (row.id != null) {
-        this.$modal.confirm(this.getMsgStr(row, '撤回')).then(function () {
+        this.$modal.confirm('撤回计划会清除本周期所有任务?').then(function () {
           return revocationPlan(row.id);
         }).then(() => {
           this.$modal.msgSuccess("计划撤回成功");

+ 3 - 3
src/views/core/edu/plan/index.vue

@@ -220,14 +220,14 @@
           </el-col>
         </el-row>
         <el-row>
-          <el-col :span="12">
+<!--          <el-col :span="12">
             <el-form-item v-if="this.form.id" label="计划状态" prop="planStatus">
               <el-select style="width: 100%" v-model="form.planStatus" placeholder="请选择计划状态">
                 <el-option v-for="dict in dict.type.edu_plan_status" :key="dict.value" :label="dict.label"
                            :value="parseInt(dict.value)"></el-option>
               </el-select>
             </el-form-item>
-          </el-col>
+          </el-col>-->
           <el-col :span="12">
             <el-form-item v-show="form.execOrgType" label="培训机构" prop="planExecOrgIdList">
               <org-tree-select v-model="form.planExecOrgIdList" :queryData="form.execOrgType"
@@ -638,7 +638,7 @@ export default {
     //撤回计划
     handleRevocation(row) {
       if (row.id != null) {
-        this.$modal.confirm(this.getMsgStr(row, '撤回')).then(function () {
+        this.$modal.confirm('撤回计划会清除本周期所有任务?').then(function () {
           return revocationPlan(row.id);
         }).then(() => {
           this.$modal.msgSuccess("计划撤回成功");