Commit a0c88682 by 刘玉帅

debugg

parent 8d1462d7
......@@ -9,6 +9,6 @@ module.exports = {
},
rules: {
"no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
"no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off"
"no-//": process.env.NODE_ENV === "production" ? "warn" : "off"
},
};
......@@ -11890,6 +11890,11 @@
"resolved": "https://registry.npm.taobao.org/vue/download/vue-2.6.12.tgz?cache=0&sync_timestamp=1600441210971&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fvue%2Fdownload%2Fvue-2.6.12.tgz",
"integrity": "sha1-9evU+mvShpQD4pqJau1JBEVskSM="
},
"vue-bus": {
"version": "1.2.1",
"resolved": "https://registry.nlark.com/vue-bus/download/vue-bus-1.2.1.tgz",
"integrity": "sha1-UFd7C3P8GvnNqKR1/vL38P2tcEU="
},
"vue-cli-plugin-axios": {
"version": "0.0.4",
"resolved": "https://registry.npm.taobao.org/vue-cli-plugin-axios/download/vue-cli-plugin-axios-0.0.4.tgz",
......
......@@ -18,6 +18,7 @@
"sass-resources-loader": "^2.1.1",
"script-loader": "^0.7.2",
"vue": "^2.6.11",
"vue-bus": "^1.2.1",
"vue-router": "^3.2.0",
"vue-wechat-title": "^2.0.7",
"vuex": "^3.4.0",
......
{
"code":200,
"data":{
"rows":[
{
"ids":"10061",
"label":"刑侦",
"codeType":"CODE_POLICECATEGORY",
"text":"刑侦",
"pId":null,
"id":"01",
"isParent":false,
"children":[]
},
{
"ids":"10062",
"label":"派出所",
"codeType":"CODE_POLICECATEGORY",
"text":"派出所",
"pId":null,
"id":"02",
"isParent":false,
"children":[]
},
{
"ids":"10063",
"label":"巡警",
"codeType":"CODE_POLICECATEGORY",
"text":"巡警",
"pId":null,
"id":"03",
"isParent":false,
"children":[]
},
{
"ids":"10064",
"label":"治安",
"codeType":"CODE_POLICECATEGORY",
"text":"治安",
"pId":null,
"id":"11",
"isParent":false,
"children":[]
},
{
"ids":"10065",
"label":"经侦",
"codeType":"CODE_POLICECATEGORY",
"text":"经侦",
"pId":null,
"id":"12",
"isParent":false,
"children":[]
},
{
"ids":"10066",
"label":"禁毒",
"codeType":"CODE_POLICECATEGORY",
"text":"禁毒",
"pId":null,
"id":"13",
"isParent":false,
"children":[]
},
{
"ids":"10067",
"label":"国保",
"codeType":"CODE_POLICECATEGORY",
"text":"国保",
"pId":null,
"id":"14",
"isParent":false,
"children":[]
},
{
"ids":"10068",
"label":"反恐",
"codeType":"CODE_POLICECATEGORY",
"text":"反恐",
"pId":null,
"id":"15",
"isParent":false,
"children":[]
},
{
"ids":"10069",
"label":"交管",
"codeType":"CODE_POLICECATEGORY",
"text":"交管",
"pId":null,
"id":"16",
"isParent":false,
"children":[]
},
{
"ids":"10070",
"label":"网安",
"codeType":"CODE_POLICECATEGORY",
"text":"网安",
"pId":null,
"id":"17",
"isParent":false,
"children":[]
},
{
"ids":"10071",
"label":"技侦",
"codeType":"CODE_POLICECATEGORY",
"text":"技侦",
"pId":null,
"id":"18",
"isParent":false,
"children":[]
},
{
"ids":"10072",
"label":"情报",
"codeType":"CODE_POLICECATEGORY",
"text":"情报",
"pId":null,
"id":"19",
"isParent":false,
"children":[]
},
{
"ids":"10073",
"label":"出入境",
"codeType":"CODE_POLICECATEGORY",
"text":"出入境",
"pId":null,
"id":"31",
"isParent":false,
"children":[]
},
{
"ids":"10074",
"label":"边检",
"codeType":"CODE_POLICECATEGORY",
"text":"边检",
"pId":null,
"id":"32",
"isParent":false,
"children":[]
},
{
"ids":"10075",
"label":"监管",
"codeType":"CODE_POLICECATEGORY",
"text":"监管",
"pId":null,
"id":"34",
"isParent":false,
"children":[]
},
{
"ids":"10076",
"label":"科信",
"codeType":"CODE_POLICECATEGORY",
"text":"科信",
"pId":null,
"id":"35",
"isParent":false,
"children":[]
},
{
"ids":"10077",
"label":"政工",
"codeType":"CODE_POLICECATEGORY",
"text":"政工",
"pId":null,
"id":"36",
"isParent":false,
"children":[]
},
{
"ids":"10078",
"label":"后勤",
"codeType":"CODE_POLICECATEGORY",
"text":"后勤",
"pId":null,
"id":"37",
"isParent":false,
"children":[]
},
{
"ids":"10079",
"label":"指挥",
"codeType":"CODE_POLICECATEGORY",
"text":"指挥",
"pId":null,
"id":"38",
"isParent":false,
"children":[]
},
{
"ids":"10080",
"label":"国际合作",
"codeType":"CODE_POLICECATEGORY",
"text":"国际合作",
"pId":null,
"id":"39",
"isParent":false,
"children":[]
},
{
"ids":"10081",
"label":"边防",
"codeType":"CODE_POLICECATEGORY",
"text":"边防",
"pId":null,
"id":"41",
"isParent":false,
"children":[]
},
{
"ids":"10082",
"label":"消防",
"codeType":"CODE_POLICECATEGORY",
"text":"消防",
"pId":null,
"id":"42",
"isParent":false,
"children":[]
},
{
"ids":"10083",
"label":"警卫",
"codeType":"CODE_POLICECATEGORY",
"text":"警卫",
"pId":null,
"id":"43",
"isParent":false,
"children":[]
},
{
"ids":"10084",
"label":"铁路",
"codeType":"CODE_POLICECATEGORY",
"text":"铁路",
"pId":null,
"id":"80",
"isParent":false,
"children":[]
},
{
"ids":"10085",
"label":"交通",
"codeType":"CODE_POLICECATEGORY",
"text":"交通",
"pId":null,
"id":"81",
"isParent":false,
"children":[]
},
{
"ids":"10086",
"label":"民航",
"codeType":"CODE_POLICECATEGORY",
"text":"民航",
"pId":null,
"id":"82",
"isParent":false,
"children":[]
},
{
"ids":"10087",
"label":"森林",
"codeType":"CODE_POLICECATEGORY",
"text":"森林",
"pId":null,
"id":"83",
"isParent":false,
"children":[]
},
{
"ids":"10088",
"label":"缉私",
"codeType":"CODE_POLICECATEGORY",
"text":"缉私",
"pId":null,
"id":"84",
"isParent":false,
"children":[]
},
{
"ids":"10089",
"label":"军队",
"codeType":"CODE_POLICECATEGORY",
"text":"军队",
"pId":null,
"id":"90",
"isParent":false,
"children":[]
},
{
"ids":"10090",
"label":"检察院",
"codeType":"CODE_POLICECATEGORY",
"text":"检察院",
"pId":null,
"id":"91",
"isParent":false,
"children":[]
},
{
"ids":"10091",
"label":"法院",
"codeType":"CODE_POLICECATEGORY",
"text":"法院",
"pId":null,
"id":"92",
"isParent":false,
"children":[]
},
{
"ids":"10092",
"label":"司法",
"codeType":"CODE_POLICECATEGORY",
"text":"司法",
"pId":null,
"id":"93",
"isParent":false,
"children":[]
},
{
"ids":"10093",
"label":"国安",
"codeType":"CODE_POLICECATEGORY",
"text":"国安",
"pId":null,
"id":"94",
"isParent":false,
"children":[]
},
{
"ids":"10094",
"label":"纪检监察",
"codeType":"CODE_POLICECATEGORY",
"text":"纪检监察",
"pId":null,
"id":"95",
"isParent":false,
"children":[]
},
{
"ids":"10095",
"label":"纪检监察机关",
"codeType":"CODE_POLICECATEGORY",
"text":"纪检监察机关",
"pId":null,
"id":"98",
"isParent":false,
"children":[]
},
{
"ids":"10096",
"label":"其他",
"codeType":"CODE_POLICECATEGORY",
"text":"其他",
"pId":null,
"id":"99",
"isParent":false,
"children":[]
}
]
},
"success":true,
"message":"成功"
}
\ No newline at end of file
{
"code":200,
"data":{
"rows":[
{
"ids":"10098",
"label":"否",
"codeType":"CODE_YN",
"text":"否",
"pId":null,
"id":"0",
"isParent":false,
"children":[]
},
{
"ids":"10097",
"label":"是",
"codeType":"CODE_YN",
"text":"是",
"pId":null,
"id":"1",
"isParent":false,
"children":[]
}
]
},
"success":true,
"message":"成功"
}
\ No newline at end of file
......@@ -53,7 +53,7 @@ if (
/*阿里云ip*/
base.alyIP = "47.92.48.137";
} else if (relUrlIp == "47.92.48.137") {
debugger;
//;
//地图后台服务路径
base.XingZhen = "http://68.174.69.95";
base.mapurl = "http://47.92.48.137:8050";
......
......@@ -178,7 +178,7 @@ export default {
id: self.curFormData[self.curItem.id],
grade: "prev",
};
debugger;
// //;
self.doQueryRequest(parm, "/queryCodeByType").then((codeResult) => {
var thisCodeOptions = [];
if (codeResult.data.success) {
......@@ -223,7 +223,7 @@ export default {
id: self.curFormData[self.curItem.id],
grade: "prev",
};
debugger;
// //;
self.doQueryRequest(parm, "/queryCodeByType").then((codeResult) => {
var thisCodeOptions = [];
if (codeResult.data.success) {
......@@ -391,7 +391,7 @@ export default {
id: realFormLableAlign[realValueKey],
grade: "prev",
};
debugger;
//;
self.doQueryRequest(parm, "/queryCodeByType").then((codeResult) => {
if (codeResult.data.success) {
var codRes = codeResult.data.data.data;
......
......@@ -119,7 +119,10 @@ export default {
val == "zqgl" ||
val == "xlqgl" ||
val == "gzqgl" ||
val == "tyqgl"
val == "tyqgl" ||
val == "jqxxcj" ||
val == "jsrycj" ||
val == "formTable"
) {
this.csidebarItemName = "jqgl";
}
......@@ -175,6 +178,7 @@ export default {
},
},
mounted() {
//;
let self = this;
if (
self.csidebarItemName == "sjcj" ||
......@@ -182,7 +186,10 @@ export default {
self.csidebarItemName == "zqgl" ||
self.csidebarItemName == "xlqgl" ||
self.csidebarItemName == "gzqgl" ||
self.csidebarItemName == "tyqgl"
self.csidebarItemName == "tyqgl" ||
self.csidebarItemName == "jqxxcj" ||
self.csidebarItemName == "jsrycj" ||
self.csidebarItemName == "formTable"
) {
//访问运控菜单
let getId = "";
......@@ -192,7 +199,10 @@ export default {
self.csidebarItemName == "zqgl" ||
self.csidebarItemName == "xlqgl" ||
self.csidebarItemName == "gzqgl" ||
self.csidebarItemName == "tyqgl"
self.csidebarItemName == "tyqgl" ||
self.csidebarItemName == "jqxxcj" ||
self.csidebarItemName == "jsrycj" ||
self.csidebarItemName == "formTable"
) {
getId = "jqgl";
}
......@@ -208,7 +218,7 @@ export default {
(item) => item.id == self.csidebarItemName
);
self.currentBar = (index + 1).toString();
console.log( self.currentBar);
console.log(self.currentBar);
}
},
};
......
......@@ -117,7 +117,7 @@ export default {
computed: {
newValue() {
var self = this;
debugger
// //
console.log(this.curItem);
if (this.curItem.id != 'zcjddm' && this.curItem.codeOptions.length != 0) {
// if (this.curFormData[this.curItem.id] != '') {
......@@ -177,7 +177,7 @@ export default {
watch: {
newArr: {
handler(newValue, oldValue) {
debugger
// //
var self = this
if (oldValue.length == 0 && this.curFormData[this.curItem.id] != "") {
let value = this.queryTree(newValue, this.curFormData[this.curItem.id]);
......@@ -408,7 +408,7 @@ export default {
},
},
mounted() {
debugger
// //
console.log(this.currentItem);
}
}
......
/*
* @Author: your name
* @Date: 2021-11-22 14:08:39
* @LastEditTime: 2021-12-16 11:14:43
* @LastEditTime: 2021-12-27 19:21:42
* @LastEditors: LYS
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: \founder_vue\src\main.js
......@@ -17,6 +17,8 @@ import VueWechatTitle from "vue-wechat-title";
import Watermark from "./utils/watermark.js"
import Driver from 'driver.js'
import 'driver.js/dist/driver.min.css'
import VueBus from 'vue-bus';
Vue.use(VueBus)
// 导入字体图标库
import './assets/fonts2/iconfont.css'
Vue.prototype.$driver = new Driver({
......
/*
* @Author: your name
* @Date: 2021-12-09 10:31:36
* @LastEditTime: 2021-12-24 18:36:30
* @LastEditTime: 2021-12-27 17:20:32
* @LastEditors: LYS
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: \警犬\founder_vue\src\router\modules\index.js
......@@ -38,6 +38,15 @@ export default [{
component: () => import('@/views/jump/jump.vue')
},
{
/*警犬信息修改*/
path: '/jqxg',
name: 'jqxg',
component: () => import('@/views/sy/jqxg.vue'),
meta: {
title: '警犬信息管理'
}
},
{
path: '/jqglIndex',
name: 'jqglIndex',
meta: {
......@@ -46,7 +55,7 @@ export default [{
},
component: () => import('@/views/sy/index.vue'),
redirect: {
name: 'jsrycj'
name: 'jqxxcj'
}, //输入路由会重定向到dlrz页面
children: [
{
......@@ -58,6 +67,15 @@ export default [{
title: '警犬信息管理'
}
},
// {
// /*警犬信息修改*/
// path: 'jqxg',
// name: 'jqxg',
// component: () => import('@/views/sy/jqxg.vue'),
// meta: {
// title: '警犬信息管理'
// }
// },
{
/*技术人员信息采集*/
path: 'jsrycj',
......@@ -73,7 +91,7 @@ export default [{
name: 'jqxxcj',
component: () => import('@/views/sy/jqxxcj.vue'),
meta: {
title: '警犬信息采集采集'
title: '警犬信息采集'
}
},
{
......@@ -138,7 +156,7 @@ export default [{
}
},
{
/*信息管理*/
/*警犬信息管理*/
path: 'formTable',
name: 'formTable',
component: () => import('@/views/sy/formTable.vue'),
......@@ -147,6 +165,15 @@ export default [{
}
},
{
/*技术人员信息管理*/
path: 'jsryxxgl',
name: 'jsryxxgl',
component: () => import('@/views/sy/jsryxxgl.vue'),
meta: {
title: '信息管理'
}
},
{
/*机构管理*/
path: 'jggl',
name: 'jggl',
......@@ -156,6 +183,7 @@ export default [{
}
},
]
],
}
]
\ No newline at end of file
/*
* @Description: file content
* @Version: 2.0
* @Autor: LYS
* @Date: 2021-12-27 19:02:59
* @LastEditors: LYS
* @LastEditTime: 2021-12-27 19:03:00
*/
import Vue from 'vue'
const bus = new Vue()
export default bus
\ No newline at end of file
......@@ -45,7 +45,7 @@ var Time = axios.create({
axios.interceptors.request.use(
config => {
config.headers["Content-Type"] = "application/x-www-form-urlencoded";
// debugger
// //
// 这里的config包含每次请求的内容
let token = window.sessionStorage.getItem('token')
......
......@@ -70,16 +70,16 @@ let maglPropLeftMenu = [
// disabled: false
// },
{
id: "jsrycj",
label: "技术人员信息采集",
id: "jqxxcj",
label: "警犬信息采集",
index: "1-1",
auth: 'M012',
className: "iconfont icon-a-Frame6",
disabled: false
},
{
id: "jqxxcj",
label: "警犬信息采集",
id: "jsrycj",
label: "技术人员信息采集",
index: "1-2",
auth: 'M013',
className: "iconfont icon-a-Frame6",
......@@ -125,14 +125,22 @@ let maglPropLeftMenu = [
// className: "iconfont iconliandong",
// disabled: false
// },
// {
// id: "formTable",
// label: "信息管理",
// index: "1-7",
// auth: 'M017',
// className: "iconfont iconliandong",
// disabled: false
// },
{
id: "formTable",
label: "警犬信息管理",
index: "1-3",
auth: 'M013',
className: "iconfont iconliandong",
disabled: false
},
{
id: "jsryxxgl",
label: "技术人员信息管理",
index: "1-4",
auth: 'M014',
className: "iconfont iconliandong",
disabled: false
},
]
},
{
......@@ -168,7 +176,7 @@ let maglPropLeftMenu = [
]
},
];
/*考核管理, 现案管理*/
/*警犬信息*/
let xaglHeader = "警犬信息";
let xaglPageName = "jqxx";
let xaglFormData = {
......@@ -180,26 +188,6 @@ let xaglFormData = {
dogAreaId:'',
nameOfPublicSecurityOrgan:'',
personId:'',
// asjbh: "",
// ajlbdm: "",
// // zatzJyqk: "",
// ladwGajgjgdm: "",
// larqQssj: timeStampTurnTime(new Date(new Date().getFullYear() + "-01-01 00:00:00")),
// larqJssj: timeStampTurnTime(new Date()),
// // xxdjdwGajgjgdm: "",
// // xxdjryXm: "",
// zczjrqQssj: "",
// zczjrqJssj: "",
// ajzt: ['08'],
// khztdm: '',
// // sfhgpdbz:"",
// // spsjQssj: "",
// // spsjJssj: "",
// // sflsjaPdbz: "",
// // typeFlag: "toSfhg",
// typeFlag: 'makh',
// // unitcode: sessionStorage.getItem("unitcode"),
// grade: sessionStorage.getItem("grade"),
pageSize: 10,
pageNow: 1
};
......@@ -426,8 +414,68 @@ let xaglDefaultFormThead = [{
prop: "personName",
width: "100"
},
{
label: "警犬技术人员编号",
prop: "personId",
width: "100"
},
];
let xagllURL = "/getDogBaseInfoPage";
// 技术人员信息管理
let jsryHeader = "技术人员信息管理";
let jsryPageName = "jsry";
let jsryFormData = {
pageSize: 10,
pageNow: 1
};
let jsryQueryField = [
/*立案信息 侦查终结信息 立案信息审批 侦查终结审批通用开始*/
{
name: "警犬技术人员编号",
id: "artisanCode",
type: "text",
value: "",
placeholder: "请输入",
col: "3"
},
];
let jsryDefaultFormThead = [{
label: "警犬技术人员编号",
prop: "artisanCode",
width: "220"
},
{
/*table默认得表头*/
label: "警犬技术人员警号",
prop: "policeCode",
width: "200"
},
{
label: "警犬技术人员姓名",
prop: "personName",
width: "220"
},
{
label: "身份证号码",
prop: "idNo",
width: "120"
},
{
label: "所属单位名称",
prop: "unitName",
width: "80"
},
{
label: "联系电话",
prop: "phoneNum",
width: "80"
},
];
let jsrylURL = "/artisanController/getArtisanPage";
export {
/*命案管理界面--数据*/
maglHeaderTitle,
......@@ -440,6 +488,13 @@ export {
xaglFormData,
xaglDefaultFormThead,
xagllURL,
/*考核管理,技术人员*/
jsryHeader,
jsryPageName,
jsryQueryField,
jsryFormData,
jsryDefaultFormThead,
jsrylURL,
/*时间*/
timeStampTurnTime
};
......@@ -709,7 +709,7 @@ export default {
var all = Number(0);
self.top10List.map((item) => {
console.log(item.participationCount);
// debugger
// //
all += item.participationCount;
});
console.log(all);
......@@ -988,7 +988,7 @@ export default {
// tooltip: {
// trigger: "item",
// formatter: function (params) {
// // debugger;
// // //;
// console.log(params);
// let data = params.data;
// // return '<p style="color: red;">'+params.name+'</p>' + ' <br/>45654645: \n 34 <br/>' + params.value[2];
......@@ -1161,7 +1161,7 @@ export default {
// renderItem: function (params, api) {
// //具体实现自定义图标的方法
// console.log(self.eventData[params.dataIndex].value[0]);
// // debugger;
// // //;
// return {
// type: "image",
// style: {
......@@ -1185,7 +1185,7 @@ export default {
// //显示悬浮窗口
// trigger: "item",
// formatter: function (params, ticket, callback) {
// debugger;
// //;
// console.log(params);
// return params.name + ":" + params.value;
// },
......
......@@ -87,7 +87,7 @@ export default {
})
},
getData() {
debugger
//
const self = this
axios.get('/api/dddl/xzLogin', {
params: {
......
......@@ -4,7 +4,7 @@
* @Autor: LYS
* @Date: 2021-12-22 14:20:30
* @LastEditors: LYS
* @LastEditTime: 2021-12-22 14:34:40
* @LastEditTime: 2021-12-25 16:00:18
-->
<template>
<div class="Content">
......@@ -45,7 +45,7 @@ export default {
}
</script>
<style>
<style scoped>
.el-dialog__body {
padding: 10px 15px !important;
}
......
......@@ -50,21 +50,17 @@
</span> -->
<span v-if="name == '技术人员信息采集'||name == '警犬信息采集'">
<el-breadcrumb separator-class="el-icon-arrow-right">
<el-breadcrumb-item :to="{ path: '/jqglIndex/jsrycj' }"
@click="hanndleClickBreadcrumb('new')"
><span :class="{ active: $route.path == '/jqglIndex/jsrycj' }">技术人员采集</span></el-breadcrumb-item
>
<el-breadcrumb-item :to="{ path: '/jqglIndex/jqxxcj' }"
@click="hanndleClickBreadcrumb('two')"
><span :class="{ active: $route.path == '/jqglIndex/jqxxcj' }">警犬信息采集</span></el-breadcrumb-item
>
<!-- <el-breadcrumb-item :to="{ path: '/jqglIndex/xx3' }"
<el-breadcrumb-item :to="{ path: '/jqglIndex/jsrycj' }"
@click="hanndleClickBreadcrumb('new')"
><span :class="{ active: $route.path == '/jqglIndex/jsrycj' }">技术人员信息采集</span></el-breadcrumb-item
>
@click="hanndleClickBreadcrumb('three')"
><span :class="{ active: $route.path == '/jqglIndex/xx3' }">选项三 </span></el-breadcrumb-item
> -->
</el-breadcrumb>
</span>
</div>
......@@ -423,7 +419,7 @@ export default {
},
// 跳转大屏
getHome() {
debugger
//
const _this = this
_this.$router.push('/Home')
},
......@@ -519,7 +515,7 @@ export default {
},
//点击 跳转
changeSidebarIndex(index, item) {
debugger;
//;
var grade = sessionStorage.getItem('grade')
let self = this
let navList = JSON.parse(sessionStorage.getItem('navList'))
......@@ -549,7 +545,7 @@ export default {
})
}
if (flag) {
debugger
//
if (index.indexOf('-') == -1) {
this.sidebarItemName = item[index - 1].id
this.name = item[index - 1].label
......
......@@ -4,7 +4,7 @@
* @Autor: LYS
* @Date: 2021-12-24 14:19:51
* @LastEditors: LYS
* @LastEditTime: 2021-12-24 18:34:25
* @LastEditTime: 2021-12-28 16:30:51
-->
<template>
<div>
......@@ -431,6 +431,8 @@
import LazySelectTreeDialog from "@c/lazy_treeCode_components.vue";
import SelectTree from "@c/tree_components.vue";
import SelectTreeDialog from "@c/treeCode_components.vue";
import { post, postform, get, postJson } from "@/utils/http.js";
import { baseUrl } from "@/api/largeScreen";
export default {
components: {
LazySelectTreeDialog,
......@@ -450,7 +452,7 @@ export default {
data: [
{
name: "警犬技术人员编号:",
id: "personId",
id: "artisanCode",
// prop: "checkEmpty",
type: "text",
prop: "checkEmpty",
......@@ -461,7 +463,7 @@ export default {
},
{
name: "警犬技术人员警号:",
id: "jh",
id: "policeCode",
type: "text",
prop: "checkEmpty",
value: "",
......@@ -479,7 +481,7 @@ export default {
},
{
name: "身份证号码:",
id: "idno",
id: "idNo",
type: "text",
prop: "checkEmpty",
value: "",
......@@ -488,7 +490,7 @@ export default {
},
{
name: "所属单位名单:",
id: "ssdw",
id: "unitName",
type: "text",
prop: "checkEmpty",
disabled: false,
......@@ -500,7 +502,7 @@ export default {
},
{
name: "联系电话:",
id: "number",
id: "phoneNum",
type: "text",
prop: "checkEmpty",
value: "",
......@@ -516,7 +518,7 @@ export default {
data: [
{
name: "信息采集单位:",
id: "xxcjdw",
id: "xxdjdwGajgmc",
// prop: "checkEmpty",
type: "text",
prop: "checkEmpty",
......@@ -527,7 +529,7 @@ export default {
},
{
name: "信息采集人员:",
id: "xxcjry",
id: "xxdjryXm",
type: "text",
prop: "checkEmpty",
value: "",
......@@ -536,7 +538,7 @@ export default {
},
{
name: "信息采集人员身份证号:",
id: "cjryid",
id: "xxdjryGmsfhm",
type: "text",
prop: "checkEmpty",
value: "",
......@@ -545,8 +547,8 @@ export default {
},
{
name: "采集时间:",
id: "cjdata",
type: "text",
id: "djsj",
type: "datesTime",
prop: "checkEmpty",
value: "",
placeholder: "请输入身份证号码",
......@@ -556,16 +558,23 @@ export default {
},
],
rules: {
personId: [{ required: true, message: "不能为空", trigger: "blur" }],
jh: [{ required: true, message: "不能为空", trigger: "blur" }],
artisanCode : [{ required: true, message: "不能为空", trigger: "blur" }],
policeCode: [{ required: true, message: "不能为空", trigger: "blur" }],
personName: [{ required: true, message: "不能为空", trigger: "blur" }],
idno: [{ required: true, message: "不能为空", trigger: "blur" }],
ssdw: [{ required: true, message: "不能为空", trigger: "change" }],
number: [{ required: true, message: "不能为空", trigger: "blur" }],
xxcjdw: [{ required: true, message: "不能为空", trigger: "blur" }],
xxcjry: [{ required: true, message: "不能为空", trigger: "blur" }],
cjryid: [{ required: true, message: "不能为空", trigger: "blur" }],
cjdata: [{ required: true, message: "不能为空", trigger: "change" }],
idNo: [{ required: true, message: "不能为空", trigger: "blur" }],
unitName: [{ required: true, message: "不能为空", trigger: "change" }],
phoneNum: [{ required: true, message: "不能为空", trigger: "blur" }],
xxdjdwGajgmc: [
{ required: true, message: "不能为空", trigger: "blur" },
],
xxdjryXm: [{ required: true, message: "不能为空", trigger: "blur" }],
xxxxdjryXmcjry: [
{ required: true, message: "不能为空", trigger: "blur" },
],
xxdjryGmsfhm: [
{ required: true, message: "不能为空", trigger: "blur" },
],
djsj: [{ required: true, message: "不能为空", trigger: "change" }],
},
};
},
......@@ -575,9 +584,18 @@ export default {
let self = this;
this.$refs[formName].validate((valid) => {
if (valid) {
this.$router.push({
path: "/jqglIndex/jqxxcj",
query: { res: JSON.stringify(this.formLabelAlign) },
postJson(
`${baseUrl}/artisanController/saveArtisan`,
this.formLabelAlign
).then((res) => {
console.log(res);
if (res.code == 200) {
this.$message({
message: "保存成功",
type: "success",
});
this.formLabelAlign = {};
}
});
} else {
this.$message({
......@@ -588,6 +606,24 @@ export default {
});
},
},
mounted() {
var now = new Date();
var year = now.getFullYear(); // 得到年份
var month = now.getMonth(); // 得到月份
var date = now.getDate(); // 得到日期
var hour = now.getHours().toString().padStart(2, "0");
var minute = now.getMinutes().toString().padStart(2, "0");
var second = now.getSeconds().toString().padStart(2, "0");
month = month + 1;
month = month.toString().padStart(2, "0");
date = date.toString().padStart(2, "0");
var defaultDate = `${year}-${month}-${date} ${hour}:${minute}:${second}`;
this.$set(this.formLabelAlign, "djsj", defaultDate);
// zoom("cj");
// window.addEventListener("resize", function () {
// zoom("cj");
// });
},
};
</script>
<style scoped>
......@@ -651,7 +687,10 @@ export default {
line-height: 36px;
height: 36px;
.el-form-item__error {
padding-top: 6px;
padding-top: 4px;
position: absolute;
top: 100%;
left: 0;
}
.el-textarea {
margin-bottom: 10px;
......
<!--
* @Description: file content
* @Version: 2.0
* @Autor: LYS
* @Date: 2021-12-27 16:24:31
* @LastEditors: LYS
* @LastEditTime: 2021-12-28 19:22:32
-->
<!--
* @Description: file content
* @Version: 2.0
* @Autor: LYS
* @Date: 2021-12-22 14:20:30
* @LastEditors: LYS
* @LastEditTime: 2021-12-25 16:00:18
-->
<template>
<div class="Content">
<right-content :pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"></right-content>
</div>
</template>
<script>
import rightContent from "@c/ptCxForm_components.vue";
import {
jsryHeader,
jsryPageName,
jsryQueryField,
jsryFormData,
jsryDefaultFormThead,
jsrylURL,
} from "@/utils/params";
export default {
components: {
rightContent
},
data() {
return {
cxFormData: jsryFormData,
cxQueryField: jsryQueryField,
cxDefaultFormThead: jsryDefaultFormThead,
cxUrl: jsrylURL,
header: jsryHeader,
pageBs: jsryPageName
};
}
}
</script>
<style scoped>
.el-dialog__body {
padding: 10px 15px !important;
}
.rightContent .el-input__inner,
#formCommonPage .el-input__inner {
height: 32px;
line-height: 32px;
font-family: inherit;
}
.el-table__header-wrapper th,
.el-table__header-wrapper tr {
background: #f4f6f7;
}
.rightContent .el-input__icon,
#formCommonPage .el-input__icon,
.el-input__suffix-inner {
line-height: 36px;
}
.rightContent .el-range-separator {
position: relative;
top: -4px;
}
.rightContent .el-textarea__inner,
#formCommonPage .el-textarea__inner {
width: 100%;
font-family: inherit;
}
.rightContent .el-range-input,
#formCommonPage .el-range-input {
vertical-align: top;
}
.rightContent .el-date-editor .el-range__close-icon {
margin-top: -4px;
}
.rightContent .el-form-item__error {
left: calc(66% - 27px);
top: 12px;
}
.success-row {
background-color: #fbf9f4 !important;
}
.Content .el-input,
.Content .el-date-editor--daterange.el-input__inner {
width: 100% !important;
}
</style>
<style scoped lang="scss">
@import "../../assets/styles/rightContent.scss";
</style>
......@@ -656,9 +656,9 @@
<script>
import { post, postform, get, postJson } from "@/utils/http.js";
import { baseUrl } from "@/api/largeScreen";
import SelectItem from "../../components/Select.vue";
import SelectTreeDialog from "@c/treeCode_components.vue";
import { baseUrl } from "@/api/largeScreen";
import utils from "@/utils/util.js";
import zoom from "@/utils/autosize";
export default {
......@@ -918,7 +918,7 @@ export default {
params.append("files", item.raw);
});
for (let key in self.form) {
// debugger
// //
if (self.form[key]) {
params.append(key, self.form[key]);
} else {
......@@ -1037,7 +1037,7 @@ export default {
}
},
handleAvatarSuccess(res, file) {
debugger;
//;
console.log(file);
this.imageUrl = URL.createObjectURL(file.raw);
},
......@@ -1052,7 +1052,7 @@ export default {
let types = ["image/jpeg", "image/jpg", "image/png"];
const isJPG = types.includes(file.type);
const isLt2M = file.size / 1024 / 1024 < 20;
debugger;
//;
if (!isJPG) {
this.$message.error("上传头像图片只能是 JPG、JPEG、PNG 格式!");
}
......
/*
* @Author: your name
* @Date: 2021-11-22 14:08:39
* @LastEditTime: 2021-12-03 17:21:22
* @LastEditors: your name
* @LastEditTime: 2021-12-28 15:35:34
* @LastEditors: LYS
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE/
* @FilePath: \founder_vue\vue.config.js
*/
......@@ -59,6 +59,7 @@ module.exports = {
proxy: {
"/api": {
target: "http://47.92.48.137:9022/", //统一的请求头部每次修改都要重启才会生效 http://39.99.224.27:8006/
// target: "http://3695w18o45.51vip.biz", //统一的请求头部每次修改都要重启才会生效 http://39.99.224.27:8006/
ws: true,
changeOrigin: true,
pathRewrite: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment