|
@@ -247,18 +247,18 @@
|
|
|
</el-col>
|
|
|
<el-col :span="12" v-for="(item,index) in dataList" :key="item.columnComment">
|
|
|
<el-form-item :label="item.columnComment" prop="noticeTitle">
|
|
|
- <el-date-picker type="date" placeholder="选择日期" v-model="form.date1" style="width: 100%;"></el-date-picker>
|
|
|
+ <el-date-picker type="date" placeholder="选择日期" v-model="item.columnName" style="width: 100%;"></el-date-picker>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="12" v-for="(item,index) in selectList" :key="item.columnComment">
|
|
|
- <el-form-item label="公告类型" prop="noticeType">
|
|
|
- <el-select v-model="form.noticeType" placeholder="请选择">
|
|
|
- <!-- <el-option
|
|
|
- v-for="dict in typeOptions"
|
|
|
+ <el-form-item :label="item.columnComment" prop="columnName">
|
|
|
+ <el-select v-model="item.columnName" placeholder="请选择">
|
|
|
+ <el-option
|
|
|
+ v-for="dict in item.sysDictData"
|
|
|
:key="dict.dictValue"
|
|
|
:label="dict.dictLabel"
|
|
|
:value="dict.dictValue"
|
|
|
- ></el-option> -->
|
|
|
+ ></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
@@ -303,7 +303,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
- import { listIndex, listIndextwo, listIndextherr, listIndexfou, listIndextanl, getConfig, delConfig, addConfig, updateConfig, clearCache } from "@/api/system/config";
|
|
|
+import { listIndex, listIndextwo, listIndextherr, listIndexfou, listIndextanl, getConfig, delConfig, addConfig, updateConfig, clearCache } from "@/api/system/config";
|
|
|
import Editor from '@/components/Editor';
|
|
|
export default {
|
|
|
name: "index",
|
|
@@ -388,7 +388,7 @@ export default {
|
|
|
getmemorandum:[],
|
|
|
//通讯录参数
|
|
|
aliemg:{
|
|
|
- table:'sys_contacts'
|
|
|
+ table:'sys_memorandum'
|
|
|
},
|
|
|
tableDataalid:[],
|
|
|
getLisaillie:[],
|
|
@@ -586,9 +586,9 @@ export default {
|
|
|
this.form.columns.filter(route => {
|
|
|
// console.log(route)
|
|
|
if(route.htmlType == "input" || route.htmlType == 'textarea'){
|
|
|
- this.inputList.push(route)
|
|
|
+ this.inputList.push(route)
|
|
|
}else if(route.htmlType == "select"){
|
|
|
- this.selectList.push(route)
|
|
|
+ this.selectList.push(route)
|
|
|
}else if(route.htmlType == "datetime"){
|
|
|
this.dataList.push(route)
|
|
|
}else if(route.htmlType == "editor"){
|
|
@@ -606,7 +606,7 @@ export default {
|
|
|
window.open(href, "_blank");
|
|
|
},
|
|
|
handleSizeChange(val) {
|
|
|
- console.log(`每页 ${val} 条`);
|
|
|
+ console.log(`每页 ${val} 条`);
|
|
|
},
|
|
|
handleCurrentChange(val) {
|
|
|
this.queryParams.pageNo = val
|