修复资源位展示问题
This commit is contained in:
@@ -867,7 +867,10 @@ export default {
|
|||||||
});
|
});
|
||||||
$("#resourceB").change(function () {
|
$("#resourceB").change(function () {
|
||||||
var optVal = $(this).val();
|
var optVal = $(this).val();
|
||||||
if (optVal != undefined && optVal == 5) {
|
if (optVal != undefined && optVal == 4) {
|
||||||
|
$('#contentB').val('');
|
||||||
|
$("#boxB").show();
|
||||||
|
} else if (optVal != undefined && optVal == 5) {
|
||||||
$('#contentB').val('');
|
$('#contentB').val('');
|
||||||
$('#contentLabB').html('网址链接<font color="red">*</font>:');
|
$('#contentLabB').html('网址链接<font color="red">*</font>:');
|
||||||
$("#boxB").show();
|
$("#boxB").show();
|
||||||
@@ -882,7 +885,10 @@ export default {
|
|||||||
});
|
});
|
||||||
$("#resourceC").change(function () {
|
$("#resourceC").change(function () {
|
||||||
var optVal = $(this).val();
|
var optVal = $(this).val();
|
||||||
if (optVal != undefined && optVal == 5) {
|
if (optVal != undefined && optVal == 4) {
|
||||||
|
$('#contentC').val('');
|
||||||
|
$("#boxC").show();
|
||||||
|
} else if (optVal != undefined && optVal == 5) {
|
||||||
$('#contentC').val('');
|
$('#contentC').val('');
|
||||||
$('#contentLabC').html('网址链接<font color="red">*</font>:');
|
$('#contentLabC').html('网址链接<font color="red">*</font>:');
|
||||||
$("#boxC").show();
|
$("#boxC").show();
|
||||||
@@ -897,7 +903,10 @@ export default {
|
|||||||
});
|
});
|
||||||
$("#resourceD").change(function () {
|
$("#resourceD").change(function () {
|
||||||
var optVal = $(this).val();
|
var optVal = $(this).val();
|
||||||
if (optVal != undefined && optVal == 5) {
|
if (optVal != undefined && optVal == 4) {
|
||||||
|
$('#contentD').val('');
|
||||||
|
$("#boxD").show();
|
||||||
|
} else if (optVal != undefined && optVal == 5) {
|
||||||
$('#contentD').val('');
|
$('#contentD').val('');
|
||||||
$('#contentLabD').html('网址链接<font color="red">*</font>:');
|
$('#contentLabD').html('网址链接<font color="red">*</font>:');
|
||||||
$("#boxD").show();
|
$("#boxD").show();
|
||||||
@@ -912,7 +921,10 @@ export default {
|
|||||||
});
|
});
|
||||||
$("#resourceE").change(function () {
|
$("#resourceE").change(function () {
|
||||||
var optVal = $(this).val();
|
var optVal = $(this).val();
|
||||||
if (optVal != undefined && optVal == 5) {
|
if (optVal != undefined && optVal == 4) {
|
||||||
|
$('#contentE').val('');
|
||||||
|
$("#boxE").show();
|
||||||
|
} else if (optVal != undefined && optVal == 5) {
|
||||||
$('#contentE').val('');
|
$('#contentE').val('');
|
||||||
$('#contentLabE').html('网址链接<font color="red">*</font>:');
|
$('#contentLabE').html('网址链接<font color="red">*</font>:');
|
||||||
$("#boxE").show();
|
$("#boxE").show();
|
||||||
|
Reference in New Issue
Block a user