Browse Source

修改新建测试计划--条件

plg 1 week ago
parent
commit
3b52ba9ac8

+ 9 - 0
src/components/PlanRegister.vue

@@ -40,6 +40,7 @@
                   type="date"
                   type="date"
                   placeholder="选择日期"
                   placeholder="选择日期"
                   @change="timeChange"
                   @change="timeChange"
+                  :picker-options="expireTimeOption"
                 >
                 >
                 </el-date-picker>
                 </el-date-picker>
               </el-form-item>
               </el-form-item>
@@ -156,6 +157,12 @@ import md5 from "md5";
 export default {
 export default {
   data() {
   data() {
     return {
     return {
+      expireTimeOption: {
+        disabledDate(date) {
+          // 当天可选:date.getTime() < Date.now() - 24 * 60 * 60 * 1000
+          return date.getTime() < Date.now();
+        },
+      },
       //编辑返回的值
       //编辑返回的值
       userDetailData: {},
       userDetailData: {},
       //组织架构名字
       //组织架构名字
@@ -261,7 +268,9 @@ export default {
 
 
     // this.ruleForm.type = "3";
     // this.ruleForm.type = "3";
   },
   },
+
   methods: {
   methods: {
+    // pickerOptions1() {},
     //查询学生模版
     //查询学生模版
     queryStudentTemp() {
     queryStudentTemp() {
       this.$http.get(`/content/findAllByTemplate?template=studentContent`, {}, (res) => {
       this.$http.get(`/content/findAllByTemplate?template=studentContent`, {}, (res) => {

+ 2 - 0
src/views/manage/channelManagement/channelManagement.vue

@@ -156,6 +156,7 @@
                   ******&nbsp;&nbsp;
                   ******&nbsp;&nbsp;
                 </div>
                 </div>
                 <i
                 <i
+                 style="color:#00bf78"
                   v-show="
                   v-show="
                     scope.row.isShow &&
                     scope.row.isShow &&
                     scope.row.extractCode != null &&
                     scope.row.extractCode != null &&
@@ -165,6 +166,7 @@
                   class="el-icon-view"
                   class="el-icon-view"
                 ></i>
                 ></i>
                 <i
                 <i
+               
                   v-show="
                   v-show="
                     !scope.row.isShow &&
                     !scope.row.isShow &&
                     scope.row.extractCode != null &&
                     scope.row.extractCode != null &&