feat:选择框修改

kingbase
wangxy 10 months ago
parent 1a3f442526
commit 6188428c35

@ -44,7 +44,7 @@
<label class="col-sm-4 control-label is-required">所属地市:</label> <label class="col-sm-4 control-label is-required">所属地市:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<select id="City" name="framework" required @change="getAreaList()" v-model="City" class="form-control m-b"> <select id="City" name="framework" required @change="getAreaList()" v-model="City" class="form-control m-b">
<option value="">请选择</option> <option value="">---请选择---</option>
<option v-for="option in CityList" :value="option.id" :key="option.id"> <option v-for="option in CityList" :value="option.id" :key="option.id">
{{ option.name }} {{ option.name }}
</option> </option>
@ -57,7 +57,7 @@
<label class="col-sm-4 control-label is-required">所属区县:</label> <label class="col-sm-4 control-label is-required">所属区县:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<select id="Area" name="area" required v-model="Area" class="form-control m-b"> <select id="Area" name="area" required v-model="Area" class="form-control m-b">
<option value="">请选择</option> <option value="">---请选择---</option>
<option v-for="option in AreaList" :value="option.id" :key="option.id"> <option v-for="option in AreaList" :value="option.id" :key="option.id">
{{ option.name }} {{ option.name }}
</option> </option>

@ -17,7 +17,7 @@
<li> <li>
<label>所属市州:</label> <label>所属市州:</label>
<select id="City" name="framework" @change="getAreaList()" v-model="City"> <select id="City" name="framework" @change="getAreaList()" v-model="City">
<option value="">请选择</option> <option value="">---请选择---</option>
<option v-for="option in CityList" :value="option.id" :key="option.id"> <option v-for="option in CityList" :value="option.id" :key="option.id">
{{ option.name }} {{ option.name }}
</option> </option>
@ -26,7 +26,7 @@
<li> <li>
<label>所属区县:</label> <label>所属区县:</label>
<select id="Area" name="area" v-model="Area"> <select id="Area" name="area" v-model="Area">
<option value="">请选择</option> <option value="">---请选择---</option>
<option v-for="option in AreaList" :value="option.id" :key="option.id"> <option v-for="option in AreaList" :value="option.id" :key="option.id">
{{ option.name }} {{ option.name }}
</option> </option>

@ -45,7 +45,7 @@
<label class="col-sm-4 control-label is-required">所属地市:</label> <label class="col-sm-4 control-label is-required">所属地市:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<select id="City" name="framework" disabled required @change="getAreaList()" v-model="City" class="form-control m-b"> <select id="City" name="framework" disabled required @change="getAreaList()" v-model="City" class="form-control m-b">
<option value="">请选择</option> <option value="">---请选择---</option>
<option v-for="option in CityList" :value="option.id" :key="option.id"> <option v-for="option in CityList" :value="option.id" :key="option.id">
{{ option.name }} {{ option.name }}
</option> </option>
@ -58,7 +58,7 @@
<label class="col-sm-4 control-label is-required">所属区县:</label> <label class="col-sm-4 control-label is-required">所属区县:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<select id="Area" name="area" disabled required v-model="Area" class="form-control m-b"> <select id="Area" name="area" disabled required v-model="Area" class="form-control m-b">
<option value="">请选择</option> <option value="">---请选择---</option>
<option v-for="option in AreaList" :value="option.id" :key="option.id"> <option v-for="option in AreaList" :value="option.id" :key="option.id">
{{ option.name }} {{ option.name }}
</option> </option>

@ -45,7 +45,7 @@
<label class="col-sm-4 control-label is-required">所属地市:</label> <label class="col-sm-4 control-label is-required">所属地市:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<select id="City" name="framework" required @change="getAreaList()" v-model="City" class="form-control m-b"> <select id="City" name="framework" required @change="getAreaList()" v-model="City" class="form-control m-b">
<option value="">请选择</option> <option value="">---请选择---</option>
<option v-for="option in CityList" :value="option.id" :key="option.id"> <option v-for="option in CityList" :value="option.id" :key="option.id">
{{ option.name }} {{ option.name }}
</option> </option>
@ -58,7 +58,7 @@
<label class="col-sm-4 control-label is-required">所属区县:</label> <label class="col-sm-4 control-label is-required">所属区县:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<select id="Area" name="area" required v-model="Area" class="form-control m-b"> <select id="Area" name="area" required v-model="Area" class="form-control m-b">
<option value="">请选择</option> <option value="">---请选择---</option>
<option v-for="option in AreaList" :value="option.id" :key="option.id"> <option v-for="option in AreaList" :value="option.id" :key="option.id">
{{ option.name }} {{ option.name }}
</option> </option>

@ -17,7 +17,7 @@
<li> <li>
<label>所属市州:</label> <label>所属市州:</label>
<select id="City" name="framework" @change="getAreaList()" v-model="City"> <select id="City" name="framework" @change="getAreaList()" v-model="City">
<option value="">请选择</option> <option value="">---请选择---</option>
<option v-for="option in CityList" :value="option.id" :key="option.id"> <option v-for="option in CityList" :value="option.id" :key="option.id">
{{ option.name }} {{ option.name }}
</option> </option>
@ -26,7 +26,7 @@
<li> <li>
<label>所属区县:</label> <label>所属区县:</label>
<select id="Area" name="area" v-model="Area"> <select id="Area" name="area" v-model="Area">
<option value="">请选择</option> <option value="">---请选择---</option>
<option v-for="option in AreaList" :value="option.id" :key="option.id"> <option v-for="option in AreaList" :value="option.id" :key="option.id">
{{ option.name }} {{ option.name }}
</option> </option>

@ -24,7 +24,7 @@
<label class="col-xs-4 control-label is-required">所属地市:</label> <label class="col-xs-4 control-label is-required">所属地市:</label>
<div class="col-xs-8"> <div class="col-xs-8">
<select id="City" name="framework" disabled required @change="getAreaList()" v-model="City" class="form-control m-b"> <select id="City" name="framework" disabled required @change="getAreaList()" v-model="City" class="form-control m-b">
<option value="">请选择</option> <option value="">---请选择---</option>
<option v-for="option in CityList" :value="option.id" :key="option.id"> <option v-for="option in CityList" :value="option.id" :key="option.id">
{{ option.name }} {{ option.name }}
</option> </option>
@ -37,7 +37,7 @@
<label class="col-xs-4 control-label is-required">所属区县:</label> <label class="col-xs-4 control-label is-required">所属区县:</label>
<div class="col-xs-8"> <div class="col-xs-8">
<select id="Area" name="area" disabled required v-model="Area" class="form-control m-b"> <select id="Area" name="area" disabled required v-model="Area" class="form-control m-b">
<option value="">请选择</option> <option value="">---请选择---</option>
<option v-for="option in AreaList" :value="option.id" :key="option.id"> <option v-for="option in AreaList" :value="option.id" :key="option.id">
{{ option.name }} {{ option.name }}
</option> </option>

@ -15,7 +15,7 @@
<label class="col-sm-4 control-label is-required">所属地市:</label> <label class="col-sm-4 control-label is-required">所属地市:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<select id="City" name="frameworkId" required class="form-control m-b"> <select id="City" name="frameworkId" required class="form-control m-b">
<option value="">请选择市</option> <option value="">---请选择---</option>
</select> </select>
</div> </div>
</div> </div>
@ -25,7 +25,7 @@
<label class="col-sm-4 control-label is-required">所属区县:</label> <label class="col-sm-4 control-label is-required">所属区县:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<select id="Area" name="areaid" required class="form-control m-b"> <select id="Area" name="areaid" required class="form-control m-b">
<option value="">请选择区</option> <option value="">---请选择---</option>
</select> </select>
</div> </div>
</div> </div>
@ -86,7 +86,7 @@
<label class="col-sm-4 control-label is-required">紧急程度:</label> <label class="col-sm-4 control-label is-required">紧急程度:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<select name="instancyExtent" required class="form-control m-b" th:with="type=${@dict.getType('sys_file_jinjichengdu')}"> <select name="instancyExtent" required class="form-control m-b" th:with="type=${@dict.getType('sys_file_jinjichengdu')}">
<option value="">请选择</option> <option value="">---请选择---</option>
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option> <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
</select> </select>
</div> </div>
@ -117,7 +117,7 @@
<label class="col-sm-4 control-label is-required">文件密级:</label> <label class="col-sm-4 control-label is-required">文件密级:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<select name="fileSecret" required class="form-control m-b" th:with="type=${@dict.getType('sys_file_miji')}"> <select name="fileSecret" required class="form-control m-b" th:with="type=${@dict.getType('sys_file_miji')}">
<option value="">请选择</option> <option value="">---请选择---</option>
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option> <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
</select> </select>
</div> </div>

@ -13,7 +13,7 @@
<label class="col-sm-4 control-label is-required">设备种类:</label> <label class="col-sm-4 control-label is-required">设备种类:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<select name="netName" required class="form-control" th:with="type=${@dict.getType('sys_net_type')}"> <select name="netName" required class="form-control" th:with="type=${@dict.getType('sys_net_type')}">
<option value="">请选择</option> <option value="">---请选择---</option>
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option> <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
</select> </select>
</div> </div>
@ -78,7 +78,7 @@
<label class="col-sm-4 control-label is-required">密级:</label> <label class="col-sm-4 control-label is-required">密级:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<select name="netMiji" required class="form-control m-b" th:with="type=${@dict.getType('sys_file_miji')}"> <select name="netMiji" required class="form-control m-b" th:with="type=${@dict.getType('sys_file_miji')}">
<option value="">请选择</option> <option value="">---请选择---</option>
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option> <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
</select> </select>
</div> </div>

@ -32,6 +32,7 @@
<label class="col-sm-4 control-label is-required">设备种类:</label> <label class="col-sm-4 control-label is-required">设备种类:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<select name="netName" required class="form-control" th:with="type=${@dict.getType('sys_net_type')}"> <select name="netName" required class="form-control" th:with="type=${@dict.getType('sys_net_type')}">
<option value="">---请选择---</option>
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{netName}"></option> <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{netName}"></option>
</select> </select>
</div> </div>
@ -96,6 +97,7 @@
<label class="col-sm-4 control-label is-required">密级:</label> <label class="col-sm-4 control-label is-required">密级:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<select name="netMiji" required class="form-control" th:with="type=${@dict.getType('sys_file_miji')}"> <select name="netMiji" required class="form-control" th:with="type=${@dict.getType('sys_file_miji')}">
<option value="">---请选择---</option>
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{netMiji}"></option> <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{netMiji}"></option>
</select> </select>
</div> </div>

@ -11,7 +11,7 @@
<label class="col-sm-3 control-label is-required">所属地市:</label> <label class="col-sm-3 control-label is-required">所属地市:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<select id="City" name="framework" required @change="getAreaList()" v-model="City" class="form-control m-b"> <select id="City" name="framework" required @change="getAreaList()" v-model="City" class="form-control m-b">
<option value="">请选择</option> <option value="">---请选择---</option>
<option v-for="option in CityList" :value="option.id" :key="option.id"> <option v-for="option in CityList" :value="option.id" :key="option.id">
{{ option.name }} {{ option.name }}
</option> </option>
@ -21,8 +21,8 @@
<div class="form-group"> <div class="form-group">
<label class="col-sm-3 control-label is-required">所属区县:</label> <label class="col-sm-3 control-label is-required">所属区县:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<select id="Area" name="area" v-model="Area" class="form-control m-b"> <select id="Area" name="area" required v-model="Area" class="form-control m-b">
<option value="">请选择</option> <option value="">---请选择---</option>
<option v-for="option in AreaList" :value="option.id" :key="option.id"> <option v-for="option in AreaList" :value="option.id" :key="option.id">
{{ option.name }} {{ option.name }}
</option> </option>
@ -60,7 +60,7 @@
<label class="col-sm-3 control-label is-required">设备密级:</label> <label class="col-sm-3 control-label is-required">设备密级:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<select name="netMiji" required class="form-control m-b" th:with="type=${@dict.getType('sys_file_miji')}"> <select name="netMiji" required class="form-control m-b" th:with="type=${@dict.getType('sys_file_miji')}">
<option value="">请选择</option> <option value="">---请选择---</option>
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option> <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
</select> </select>
</div> </div>

@ -12,7 +12,7 @@
<label class="col-sm-3 control-label is-required">所属地市:</label> <label class="col-sm-3 control-label is-required">所属地市:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<select id="City" name="framework" required @change="getAreaList()" v-model="City" class="form-control m-b"> <select id="City" name="framework" required @change="getAreaList()" v-model="City" class="form-control m-b">
<option value="">请选择</option> <option value="">---请选择---</option>
<option v-for="option in CityList" :value="option.id" :key="option.id"> <option v-for="option in CityList" :value="option.id" :key="option.id">
{{ option.name }} {{ option.name }}
</option> </option>
@ -23,7 +23,7 @@
<label class="col-sm-3 control-label is-required">所属区县:</label> <label class="col-sm-3 control-label is-required">所属区县:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<select id="Area" name="area" required v-model="Area" class="form-control m-b"> <select id="Area" name="area" required v-model="Area" class="form-control m-b">
<option value="">请选择</option> <option value="">---请选择---</option>
<option v-for="option in AreaList" :value="option.id" :key="option.id"> <option v-for="option in AreaList" :value="option.id" :key="option.id">
{{ option.name }} {{ option.name }}
</option> </option>
@ -61,6 +61,7 @@
<label class="col-sm-3 control-label is-required">设备密级:</label> <label class="col-sm-3 control-label is-required">设备密级:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<select name="netMiji" required class="form-control m-b" th:with="type=${@dict.getType('sys_file_miji')}"> <select name="netMiji" required class="form-control m-b" th:with="type=${@dict.getType('sys_file_miji')}">
<option value="">---请选择---</option>
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{netMiji}"></option> <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{netMiji}"></option>
</select> </select>
</div> </div>

@ -13,7 +13,7 @@
<li> <li>
<label>所属市州:</label> <label>所属市州:</label>
<select id="City" name="framework" @change="getAreaList()" v-model="City"> <select id="City" name="framework" @change="getAreaList()" v-model="City">
<option value="">请选择</option> <option value="">---请选择---</option>
<option v-for="option in CityList" :value="option.id" :key="option.id"> <option v-for="option in CityList" :value="option.id" :key="option.id">
{{ option.name }} {{ option.name }}
</option> </option>
@ -22,7 +22,7 @@
<li> <li>
<label>所属区县:</label> <label>所属区县:</label>
<select id="Area" name="area" v-model="Area" class="form-control m-b"> <select id="Area" name="area" v-model="Area" class="form-control m-b">
<option value="">请选择</option> <option value="">---请选择---</option>
<option v-for="option in AreaList" :value="option.id" :key="option.id"> <option v-for="option in AreaList" :value="option.id" :key="option.id">
{{ option.name }} {{ option.name }}
</option> </option>

@ -11,7 +11,7 @@
<label class="col-sm-3 control-label is-required">所属地市:</label> <label class="col-sm-3 control-label is-required">所属地市:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<select id="City" name="framework" required @change="getAreaList()" v-model="City" class="form-control m-b"> <select id="City" name="framework" required @change="getAreaList()" v-model="City" class="form-control m-b">
<option value="">请选择</option> <option value="">---请选择---</option>
<option v-for="option in CityList" :value="option.id" :key="option.id"> <option v-for="option in CityList" :value="option.id" :key="option.id">
{{ option.name }} {{ option.name }}
</option> </option>
@ -22,7 +22,7 @@
<label class="col-sm-3 control-label is-required">所属区县:</label> <label class="col-sm-3 control-label is-required">所属区县:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<select id="Area" name="area" required v-model="Area" class="form-control m-b"> <select id="Area" name="area" required v-model="Area" class="form-control m-b">
<option value="">请选择</option> <option value="">---请选择---</option>
<option v-for="option in AreaList" :value="option.id" :key="option.id"> <option v-for="option in AreaList" :value="option.id" :key="option.id">
{{ option.name }} {{ option.name }}
</option> </option>

@ -12,7 +12,7 @@
<label class="col-sm-3 control-label is-required">所属地市:</label> <label class="col-sm-3 control-label is-required">所属地市:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<select id="City" name="framework" required @change="getAreaList()" v-model="City" class="form-control m-b"> <select id="City" name="framework" required @change="getAreaList()" v-model="City" class="form-control m-b">
<option value="">请选择</option> <option value="">---请选择---</option>
<option v-for="option in CityList" :value="option.id" :key="option.id"> <option v-for="option in CityList" :value="option.id" :key="option.id">
{{ option.name }} {{ option.name }}
</option> </option>
@ -23,7 +23,7 @@
<label class="col-sm-3 control-label is-required">所属区县:</label> <label class="col-sm-3 control-label is-required">所属区县:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<select id="Area" name="area" required v-model="Area" class="form-control m-b"> <select id="Area" name="area" required v-model="Area" class="form-control m-b">
<option value="">请选择</option> <option value="">---请选择---</option>
<option v-for="option in AreaList" :value="option.id" :key="option.id"> <option v-for="option in AreaList" :value="option.id" :key="option.id">
{{ option.name }} {{ option.name }}
</option> </option>

@ -13,7 +13,7 @@
<li> <li>
<label>所属市州:</label> <label>所属市州:</label>
<select id="City" name="framework" @change="getAreaList()" v-model="City"> <select id="City" name="framework" @change="getAreaList()" v-model="City">
<option value="">请选择</option> <option value="">---请选择---</option>
<option v-for="option in CityList" :value="option.id" :key="option.id"> <option v-for="option in CityList" :value="option.id" :key="option.id">
{{ option.name }} {{ option.name }}
</option> </option>
@ -22,7 +22,7 @@
<li> <li>
<label>所属区县:</label> <label>所属区县:</label>
<select id="Area" name="area" v-model="Area"> <select id="Area" name="area" v-model="Area">
<option value="">请选择</option> <option value="">---请选择---</option>
<option v-for="option in AreaList" :value="option.id" :key="option.id"> <option v-for="option in AreaList" :value="option.id" :key="option.id">
{{ option.name }} {{ option.name }}
</option> </option>

@ -12,6 +12,7 @@
<label class="col-sm-3 control-label is-required">资产种类:</label> <label class="col-sm-3 control-label is-required">资产种类:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<select name="propertyType" id="select1" required class="form-control m-b" v-model="selectType" th:with="type=${@dict.getType('sys_sm_property')}"> <select name="propertyType" id="select1" required class="form-control m-b" v-model="selectType" th:with="type=${@dict.getType('sys_sm_property')}">
<option value="">---请选择---</option>
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option> <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
</select> </select>
</div> </div>

@ -11,7 +11,7 @@
<label class="col-sm-3 control-label is-required">所属地市:</label> <label class="col-sm-3 control-label is-required">所属地市:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<select id="City" name="part" required @change="getAreaList()" v-model="City" class="form-control m-b"> <select id="City" name="part" required @change="getAreaList()" v-model="City" class="form-control m-b">
<option value="">请选择</option> <option value="">---请选择---</option>
<option v-for="option in CityList" :value="option.id" :key="option.id"> <option v-for="option in CityList" :value="option.id" :key="option.id">
{{ option.name }} {{ option.name }}
</option> </option>
@ -22,7 +22,7 @@
<label class="col-sm-3 control-label is-required">所属区县:</label> <label class="col-sm-3 control-label is-required">所属区县:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<select id="Area" name="areaId" required v-model="Area" class="form-control m-b"> <select id="Area" name="areaId" required v-model="Area" class="form-control m-b">
<option value="">请选择</option> <option value="">---请选择---</option>
<option v-for="option in AreaList" :value="option.id" :key="option.id"> <option v-for="option in AreaList" :value="option.id" :key="option.id">
{{ option.name }} {{ option.name }}
</option> </option>

@ -66,7 +66,7 @@
<label class="col-sm-3 control-label is-required">所属地市:</label> <label class="col-sm-3 control-label is-required">所属地市:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<select id="City" name="part" required @change="getAreaList()" v-model="City" class="form-control m-b"> <select id="City" name="part" required @change="getAreaList()" v-model="City" class="form-control m-b">
<option value="">请选择</option> <option value="">---请选择---</option>
<option v-for="option in CityList" :value="option.id" :key="option.id"> <option v-for="option in CityList" :value="option.id" :key="option.id">
{{ option.name }} {{ option.name }}
</option> </option>
@ -77,7 +77,7 @@
<label class="col-sm-3 control-label is-required">所属区县:</label> <label class="col-sm-3 control-label is-required">所属区县:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<select id="Area" name="areaId" required v-model="Area" class="form-control m-b"> <select id="Area" name="areaId" required v-model="Area" class="form-control m-b">
<option value="">请选择</option> <option value="">---请选择---</option>
<option v-for="option in AreaList" :value="option.id" :key="option.id"> <option v-for="option in AreaList" :value="option.id" :key="option.id">
{{ option.name }} {{ option.name }}
</option> </option>

@ -21,7 +21,7 @@
<li> <li>
<label>所属市州:</label> <label>所属市州:</label>
<select id="City" name="part" @change="getAreaList()" v-model="City"> <select id="City" name="part" @change="getAreaList()" v-model="City">
<option value="">请选择</option> <option value="">---请选择---</option>
<option v-for="option in CityList" :value="option.id" :key="option.id"> <option v-for="option in CityList" :value="option.id" :key="option.id">
{{ option.name }} {{ option.name }}
</option> </option>

@ -30,6 +30,7 @@
<label class="col-sm-3 control-label">资产种类:</label> <label class="col-sm-3 control-label">资产种类:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<select name="propertyType" disabled class="form-control m-b" th:with="type=${@dict.getType('sys_sm_property')}"> <select name="propertyType" disabled class="form-control m-b" th:with="type=${@dict.getType('sys_sm_property')}">
<option value="">---请选择---</option>
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{propertyType}"></option> <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{propertyType}"></option>
</select> </select>
</div> </div>

@ -30,6 +30,7 @@
<label class="col-sm-3 control-label">资产种类:</label> <label class="col-sm-3 control-label">资产种类:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<select name="propertyType" disabled class="form-control m-b" th:with="type=${@dict.getType('sys_sm_property')}"> <select name="propertyType" disabled class="form-control m-b" th:with="type=${@dict.getType('sys_sm_property')}">
<option value="">---请选择---</option>
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{propertyType}"></option> <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{propertyType}"></option>
</select> </select>
</div> </div>

@ -21,7 +21,7 @@
<li> <li>
<label>所属市州:</label> <label>所属市州:</label>
<select id="City" name="part" @change="getAreaList()" v-model="City"> <select id="City" name="part" @change="getAreaList()" v-model="City">
<option value="">请选择</option> <option value="">---请选择---</option>
<option v-for="option in CityList" :value="option.id" :key="option.id"> <option v-for="option in CityList" :value="option.id" :key="option.id">
{{ option.name }} {{ option.name }}
</option> </option>

Loading…
Cancel
Save