From 43b450aef215e0fc596ca48dd7bbde78067c50b8 Mon Sep 17 00:00:00 2001 From: TiaStars Date: Wed, 25 Dec 2024 09:59:20 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B5=84=E4=BA=A7=E6=96=B0=E5=A2=9E=E6=B5=81?= =?UTF-8?q?=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 4 +- src/api/auditPagesApi/index.js | 61 + src/components/Breadcrumb/index.vue | 14 +- src/router/index.js | 10 + .../unitAutonomicFill/assetsAuth.vue | 53 + .../auditPages/unitAutonomicFill/index.vue | 350 +++ src/views/components/assetsType/index.vue | 299 +-- src/views/components/myAssetsType/index.vue | 2299 +++++++++-------- .../components/myAssetsType/index_v1.vue | 162 +- .../components/myAssetsType/index_v2.vue | 142 +- .../components/myAssetsType/index_v3.vue | 105 +- .../components/myAssetsType/index_v4.vue | 120 +- .../unitPages/assetRecord/assetsAuth.vue | 53 + src/views/unitPages/assetRecord/index.vue | 351 +++ src/views/unitPages/myAssets/assetsAuth.vue | 7 - src/views/unitPages/myAssets/email.vue | 8 +- src/views/unitPages/myAssets/index.vue | 10 +- .../unitPages/myAssets/mobileApplication.vue | 6 +- .../unitPages/myAssets/officialAccount.vue | 6 +- src/views/unitPages/myAssets/program.vue | 6 +- src/views/unitPages/unitInfo/index.vue | 849 ++++++ 21 files changed, 3568 insertions(+), 1347 deletions(-) create mode 100644 src/views/auditPages/unitAutonomicFill/assetsAuth.vue create mode 100644 src/views/auditPages/unitAutonomicFill/index.vue create mode 100644 src/views/unitPages/assetRecord/assetsAuth.vue create mode 100644 src/views/unitPages/assetRecord/index.vue create mode 100644 src/views/unitPages/unitInfo/index.vue diff --git a/.env.development b/.env.development index 76738f3..f538ac7 100644 --- a/.env.development +++ b/.env.development @@ -5,8 +5,8 @@ VUE_APP_TITLE = 太仓资产管理系统 ENV = 'development' # 若依管理系统/开发环境 -# VUE_APP_BASE_API = 'http://192.168.0.117:9115' -VUE_APP_BASE_API = 'http://39.101.188.84:9115' +VUE_APP_BASE_API = 'http://192.168.0.120:9115' +# VUE_APP_BASE_API = 'http://39.101.188.84:9115' # 路由懒加载 VUE_CLI_BABEL_TRANSPILE_MODULES = true diff --git a/src/api/auditPagesApi/index.js b/src/api/auditPagesApi/index.js index 4b39bd7..a86f9c5 100644 --- a/src/api/auditPagesApi/index.js +++ b/src/api/auditPagesApi/index.js @@ -241,4 +241,65 @@ export function schema(type){ method:"get", params:type }) +} + +// 单位端资产编辑 +export function unitEdit(data){ + return request({ + url:"/tc/assetCurrent/unitEdit", + method:"post", + data + }) +} + +// 单位端资产重新编辑 +export function againUnitEdit(data){ + return request({ + url:"/tc/assetCurrent/againUnitEdit", + method:"post", + data + }) +} + +// 管理端资产审核 +export function assetAudit(data){ + return request({ + url:"/tc/assetCurrent/audit", + method:"post", + data + }) +} + +// 分页查询管理端/单位端审核列表 +export function getAuditList(params){ + return request({ + url:"/tc/assetCurrent/getAuditList", + method:"get", + params + }) +} + +// 单位查看自己单位具体信息 +export function unitOwnInfo(){ + return request({ + url:"/tc/schema/unitOwnInfo", + method:"get", + }) +} + +// 单位修改自己单位具体信息 +export function unitEditOwn(data){ + return request({ + url:"/tc/schema/unitEditOwn", + method:"post", + data + }) +} + +// 单位端查看中间数据详情 +export function lookInfo(id){ + return request({ + url:"/tc/assetCurrent/lookInfo/" + id, + method:"get", + }) } \ No newline at end of file diff --git a/src/components/Breadcrumb/index.vue b/src/components/Breadcrumb/index.vue index ce4228d..7ac37e0 100644 --- a/src/components/Breadcrumb/index.vue +++ b/src/components/Breadcrumb/index.vue @@ -42,8 +42,6 @@ export default { let matched = this.$route.matched.filter(item => item.meta && item.meta.title) if(matched[0].path == "/assetsAuth" ) { // 管理端--资产管理--新增资产 - // const activeRoute = sidebarRouters.filter(item => item.path == '/' && item.children[0].path == 'assets') - // this.levelList = [activeRoute[0].children[0],matched[0]] const activeRoute = sidebarRouters.filter(item => item.path == '/assetsManage') const childrenRoute = activeRoute[0].children; this.levelList = [activeRoute[0],childrenRoute[Number(matched[0].meta.type)],matched[0]] @@ -57,8 +55,6 @@ export default { this.levelList = [activeRoute[0].children[0],matched[0]] } else if(matched[0].path == "/myAssetsAuth") { // 单位端--我的资产--资产详情 - // const activeRoute = sidebarRouters.filter(item => item.path == '/' && item.children[0].path == 'myAssets') - // this.levelList = [activeRoute[0].children[0],matched[0]] const activeRoute = sidebarRouters.filter(item => item.path == '/myAssets') const childrenRoute = activeRoute[0].children; this.levelList = [activeRoute[0],childrenRoute[Number(matched[0].meta.type)],matched[0]] @@ -75,9 +71,17 @@ export default { const twoActiveRoute = route[0].children.filter(item => item.path == "mytaskInfo") this.levelList = [activeRoute[0].children[0],twoActiveRoute[0],matched[0]] } else if(matched[0].path == "/unitAuth" ) { - // 管理端--资产管理--新增资产 + // 管理端--单位管理--新增单位/修改单位/查看单位 const activeRoute = sidebarRouters.filter(item => item.path == '/' && item.children[0].path == 'unit') this.levelList = [activeRoute[0].children[0],matched[0]] + } else if(matched[0].path == "/assetsAuthRecord"){ + // 单位端--资产填报记录--查看详情/修改资产 + const activeRoute = sidebarRouters.filter(item => item.path == '/' && item.children[0].path == 'assetRecord') + this.levelList = [activeRoute[0].children[0],matched[0]] + } else if(matched[0].path == "/unitAssetsAuth") { + // 管理端--单位自主填报--查看详情/审核资产 + const activeRoute = sidebarRouters.filter(item => item.path == '/' && item.children[0].path == 'unitFill') + this.levelList = [activeRoute[0].children[0],matched[0]] } else { this.levelList = matched.filter(item => item.meta && item.meta.title && item.meta.breadcrumb !== false) } diff --git a/src/router/index.js b/src/router/index.js index 1f8c2a2..5ea504d 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -119,6 +119,16 @@ export const constantRoutes = [ component: () => import('@/views/auditPages/unitManagement/index'), name: 'UnitAuth', meta: { title: '新增单位', icon: 'user', activeMenu: "/unit" } + },{ + path: 'assetsAuthRecord', + component: () => import('@/views/unitPages/assetRecord/assetsAuth'), + name: 'assetsAuthRecord', + meta: { title: '资产填报记录', icon: 'user', activeMenu: "/assetRecord" } + },{ + path: 'unitAssetsAuth', + component: () => import('@/views/auditPages/unitAutonomicFill/assetsAuth'), + name: 'unitAssetsAuth', + meta: { title: '资产修改', icon: 'user', activeMenu: "/unitFill" } } ] }, diff --git a/src/views/auditPages/unitAutonomicFill/assetsAuth.vue b/src/views/auditPages/unitAutonomicFill/assetsAuth.vue new file mode 100644 index 0000000..59c208d --- /dev/null +++ b/src/views/auditPages/unitAutonomicFill/assetsAuth.vue @@ -0,0 +1,53 @@ + + diff --git a/src/views/auditPages/unitAutonomicFill/index.vue b/src/views/auditPages/unitAutonomicFill/index.vue new file mode 100644 index 0000000..a083578 --- /dev/null +++ b/src/views/auditPages/unitAutonomicFill/index.vue @@ -0,0 +1,350 @@ + + + + + diff --git a/src/views/components/assetsType/index.vue b/src/views/components/assetsType/index.vue index 05f6d99..d30f1c7 100644 --- a/src/views/components/assetsType/index.vue +++ b/src/views/components/assetsType/index.vue @@ -412,7 +412,7 @@ - + @@ -469,9 +469,9 @@
- + - 基本信息 + 系统防护信息 @@ -816,7 +816,7 @@ - + @@ -1166,141 +1166,143 @@
- - 第三方测评 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
+ + 第三方测评 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
密评信息 @@ -1783,8 +1785,8 @@ - - + + @@ -1857,8 +1859,8 @@ - - + +
@@ -1931,8 +1933,8 @@ - - + + @@ -3147,6 +3149,13 @@ export default { this.ruleForm[type].splice(index, 1) } }, + // 基础网络删除 + removeDomainTwo(item,type){ + var index = this[type].indexOf(item) + if (index !== -1) { + this[type].splice(index, 1) + } + }, // 删除增加的form removeDomainOne(item,type) { var index = this.ruleForm[type].indexOf(item) diff --git a/src/views/components/myAssetsType/index.vue b/src/views/components/myAssetsType/index.vue index a185b1c..b429579 100644 --- a/src/views/components/myAssetsType/index.vue +++ b/src/views/components/myAssetsType/index.vue @@ -5,24 +5,29 @@ 基本信息 -
- +
+ - - + + - - + + - + @@ -40,13 +45,10 @@ - +
说明:请仔细填写访问地址,确保网站地址能被访问
- +
@@ -55,16 +57,41 @@ - + + + + + + + + + + + + + + + - + : - + @@ -73,11 +100,7 @@ - @@ -85,14 +108,17 @@ - + - - + + @@ -106,15 +132,13 @@ - + @@ -124,27 +148,28 @@ - + - - + + - + - + @@ -153,24 +178,18 @@ - + - + - + @@ -185,32 +204,30 @@ - + - - + - + - + @@ -222,14 +239,12 @@ - + - + @@ -238,24 +253,16 @@ - + - + @@ -264,24 +271,16 @@ - + - + @@ -290,23 +289,14 @@ - + - + @@ -351,114 +341,116 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + - - {{ isMore ? '收起' : '更多' }} + + 更多
- + - 基本信息 + 系统防护信息 @@ -469,12 +461,8 @@ --> - + {{ dict.label }} @@ -496,13 +484,9 @@ --> - - {{ dict.label }} + + {{ dict.label }} @@ -521,12 +505,8 @@ --> - + {{ dict.label }} @@ -546,12 +526,8 @@ --> - + {{ dict.label }} @@ -566,24 +542,16 @@ - + - + @@ -592,24 +560,16 @@ - + - + @@ -618,32 +578,27 @@ - + - + - - + + @@ -656,33 +611,35 @@ - + - + - + @@ -695,33 +652,34 @@ - + - + - + @@ -734,33 +692,34 @@ - + - + - + @@ -770,7 +729,9 @@ - + @@ -778,33 +739,33 @@ - + - + - - + + @@ -820,18 +781,16 @@ - ICP备案 + ICP备案信息 - + - + @@ -841,12 +800,8 @@ - + @@ -863,14 +818,18 @@ - + - + @@ -884,12 +843,8 @@ - + @@ -901,25 +856,19 @@ - + - @@ -932,14 +881,12 @@ - + - + @@ -956,18 +903,16 @@ - + - + @@ -979,62 +924,70 @@ - + - + - + - + - + - + - + - + - + - + @@ -1054,14 +1007,12 @@ - + - + @@ -1073,19 +1024,19 @@ - + - + - + @@ -1099,195 +1050,167 @@ - + - + - - + + - - + + - + - +
- - 第三方测评 - - - - - - - - - - - - - - - - - - - - - + + 第三方测评 + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - - - + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + ]"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
密评信息 @@ -1296,12 +1219,8 @@ - + @@ -1315,23 +1234,24 @@ 供应链信息 -
+
- + - + @@ -1343,25 +1263,27 @@ - + ]"> - - + +
-
+
@@ -1369,15 +1291,13 @@ - + @@ -1389,25 +1309,27 @@ - + ]"> - - + +
-
+
@@ -1415,15 +1337,13 @@ - + @@ -1435,25 +1355,27 @@ - + ]"> - - + +
-
+
@@ -1461,15 +1383,13 @@ - + @@ -1481,155 +1401,173 @@ - + ]"> - - + +
-
+
- + - + - + - + ]"> - + - + - + - - + +
-
+
- + - + - + - + ]"> - + - + - + - - + +
-
+
@@ -1637,15 +1575,13 @@ - + @@ -1657,21 +1593,22 @@ - + ]"> - - + +
@@ -1683,15 +1620,19 @@ 服务器信息 -
+
- + - + @@ -1699,17 +1640,21 @@ - - - + + + + + - + + + @@ -1717,57 +1662,65 @@ - + - + - + - + - + - + - + - + - +
- + 添加服务器 @@ -1776,15 +1729,19 @@ 网络设备 -
+
- + - + @@ -1792,17 +1749,23 @@ - - - + + + + + - + + + + + @@ -1810,38 +1773,47 @@ - + - + - + - + - + - +
- + 添加网络设备 @@ -1850,15 +1822,19 @@ 安全设备 -
+
- + - + @@ -1866,17 +1842,21 @@ - - - + + + + + - + + + @@ -1884,7 +1864,9 @@ - + @@ -1901,21 +1883,26 @@ - + - + - - + +
- + 添加安全设备 @@ -1925,7 +1912,8 @@ 新监管业务形态 - + 云平台 大数据 物联网 @@ -1948,12 +1936,8 @@ - + @@ -1985,25 +1969,26 @@ - + - - + + - + @@ -2016,12 +2001,14 @@ - + - + @@ -2042,20 +2029,20 @@ - + - - + + @@ -2063,12 +2050,8 @@ - + @@ -2082,23 +2065,21 @@ - + - + - + @@ -2106,18 +2087,15 @@ - + - + @@ -2131,31 +2109,27 @@ - + - - + + - + @@ -2244,16 +2218,15 @@ - - + + @@ -2261,12 +2234,8 @@ - + @@ -2280,29 +2249,22 @@ - + - + - + @@ -2310,18 +2272,15 @@ - + - + @@ -2335,26 +2294,21 @@ - + - - + + @@ -2383,7 +2337,8 @@ - + @@ -2393,7 +2348,8 @@ - + @@ -2419,12 +2375,8 @@ - + @@ -2446,24 +2398,23 @@ - - + + - + @@ -2494,15 +2445,13 @@ - + @@ -2532,11 +2481,7 @@ - @@ -2545,22 +2490,14 @@ - + - @@ -2572,88 +2509,92 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - 业务系统拓扑图 + + + * + 业务系统拓扑图 + 提示:附件/图片请至少选择一项 + + - +
@@ -2747,7 +2688,7 @@ - +
@@ -2765,15 +2706,41 @@
+ + 取消 + 保存 + + + 取消 + 通过 + 驳回 +
+ + + + + + + + + 取消 + 确定 + + + + + +
diff --git a/src/views/components/myAssetsType/index_v1.vue b/src/views/components/myAssetsType/index_v1.vue index 2617fc4..e0b98ab 100644 --- a/src/views/components/myAssetsType/index_v1.vue +++ b/src/views/components/myAssetsType/index_v1.vue @@ -11,50 +11,49 @@ - - +
- + - + - - - + + trigger: 'change' + }, + + ]" label="统一社会信用代码" required> + - - + - + - + - + - + - + - + - + - + - - - + - + - + - + - - - - - + - + - + - + - + 取消 保存 + + 取消 + 通过 + 驳回 +
@@ -284,13 +288,78 @@ export default { xcxmc:[ { required: true, message: "小程序名称不能为空", trigger: "blur" } ], + appId: [ + { required: true, message: "APPID不能为空", trigger: "blue" } + ], + rzzt: [ + { required: true, message: "认证主体不能为空", trigger: "blue" } + ], + + state: [ + { required: true, message: "小程序状态不能为空", trigger: "change" } + ], + ysId: [ + { required: true, message: "账号原始ID不能为空", trigger: "blue" } + ], + packState: [ + { required: true, message: "小程序包状态不能为空", trigger: "change" } + ], + rzState: [ + { required: true, message: "认证状态不能为空", trigger: "change" } + ], + rzsj: [ + { required: true, message: "认证时间不能为空", trigger: "change" } + ], + rzlx: [ + { required: true, message: "认证类型不能为空", trigger: "change" } + ], + icpState: [ + { required: true, message: "icp备案状态不能为空", trigger: "blue" } + ], + ymbmd: [ + { required: true, message: "域名白名单不能为空", trigger: "blue" } + ], + fwlm: [ + { required: true, message: "服务类目不能为空", trigger: "blue" } + ], + + sshy: [ + { required: true, message: "所属行业不能为空", trigger: "change" } + ], + zdhy: [ + { required: true, message: "重点行业不能为空", trigger: "change" } + ], + xzqh: [ + { required: true, message: "行政区划不能为空", trigger: "change" } + ], + xtzrr: [ + { required: true, message: "系统责任人不能为空", trigger: "blue" } + ], + + xtzrryx: [ + { required: true, message: "系统责任人邮箱不能为空", trigger: "blue" }, + { type: 'email', message: "请输入正确的邮箱地址", trigger: ["change", "blue"] } + ], + xtzrrdz: [ + { required: true, message: "系统责任人地址不能为空", trigger: "blue" } + ], + yycjAppid: [ + { required: true, message: "引入插件(APPID)不能为空", trigger: "blue" } + ], + yycjKfz: [ + { required: true, message: "引用插件(开发者)不能为空", trigger: "blue" } + ], + xtjj: [ + { required: true, message: "系统简介不能为空", trigger: "blue" } + ] }, loading:false, disabled:false, } }, - props:['pageType', 'id'], + props:['pageType', 'id', 'audit'], mounted(){ + console.log(this.audit,"audit"); if(this.pageType == 'look') { this.getInfo(this.id) this.disabled = true; @@ -308,11 +377,17 @@ export default { this.getInfo(this.id) this.disabled = false; } + if(this.audit) { + this.disabled = true; + } }, methods:{ getInfo(id){ miniProgramsInfo(id).then(res=>{ this.ruleForm = res.data; + setTimeout(() => { + this.$refs.ruleForm.clearValidate() + }, 100); }) }, // 单位名称模糊查询 @@ -340,14 +415,12 @@ export default { this.loading = true; if(this.pageType == 'change') { assetMiniPrograms('put',this.ruleForm).then(res=>{ - // console.log(res,"res"); this.loading = false; this.$modal.msgSuccess("修改成功"); this.$router.go(-1); }) } else { assetMiniPrograms('post',this.ruleForm).then(res=>{ - // console.log(res,"res"); this.loading = false; this.$modal.msgSuccess("新增成功"); this.$router.go(-1); @@ -359,6 +432,9 @@ export default { sendBack(){ this.$router.go(-1); }, + btnReject(){ + + }, }, } \ No newline at end of file diff --git a/src/views/components/myAssetsType/index_v2.vue b/src/views/components/myAssetsType/index_v2.vue index 3f94268..695d8c0 100644 --- a/src/views/components/myAssetsType/index_v2.vue +++ b/src/views/components/myAssetsType/index_v2.vue @@ -15,46 +15,47 @@ v-model="ruleForm.ssdw" :fetch-suggestions="querySearchAsync" placeholder="请输入所属单位" - + disabled > - + - + - + - - + - - + - + - + - + - + - + - + - + - + - + - - - - - + - + - + - + - + - + 取消 保存 + + 取消 + 通过 + 驳回 +
@@ -257,12 +265,75 @@ export default { gzhmc:[ { required: true, message: "公众号名称不能为空", trigger: "blur" } ], + wxh: [ + { required: true, message: "微信号不能为空", trigger: "change" } + ], + rzzt: [ + { required: true, message: "认证主体不能为空", trigger: "change" } + ], + tyshxydm: [ + { required: true, message: "统一社会信用代码不能为空", trigger: "change" }, + { pattern: /^[a-zA-Z0-9]{18}$/, message: "请输入正确格式的18位统一社会信用代码", trigger: "change" } + ], + gzhzt: [ + { required: true, message: "公众号状态不能为空", trigger: "change" } + ], + gzhId: [ + { required: true, message: "公众号ID不能为空", trigger: "change" } + ], + gzhlx: [ + { required: true, message: "公众号类型不能为空", trigger: "change" } + ], + rzState: [ + { required: true, message: "认证状态不能为空", trigger: "change" } + ], + rzsj: [ + { required: true, message: "认证时间不能为空", trigger: "change" } + ], + rzlx: [ + { required: true, message: "认证类型不能为空", trigger: "change" } + ], + sshy: [ + { required: true, message: "所属行业不能为空", trigger: "change" } + ], + zdhy: [ + { required: true, message: "重点行业不能为空", trigger: "change" } + ], + xzqh: [ + { required: true, message: "行政区划不能为空", trigger: "change" } + ], + xtzrr: [ + { required: true, message: "系统责任人不能为空", trigger: "change" } + ], + xtzrrdh: [ + { required: true, message: "系统责任人电话不能为空", trigger: "change" }, + { pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/, message: "请输入正确的手机号码", trigger: "change" } + ], + xtzrryx: [ + { required: true, message: "系统责任人邮箱不能为空", trigger: "change" }, + { type: 'email', message: "请输入正确的邮箱地址", trigger: ['change', 'change'] } + ], + xtzrrdz: [ + { required: true, message: "系统责任人地址不能为空", trigger: "change" } + ], + cdmc: [ + { required: true, message: "菜单信息(菜单名称)不能为空", trigger: "change" } + ], + cdlj: [ + { required: true, message: "菜单信息(菜单链接)不能为空", trigger: "change" } + ], + cdlx: [ + { required: true, message: "菜单信息(菜单类型)不能为空", trigger: "change" } + ], + xtjj: [ + { required: true, message: "系统简介不能为空", trigger: "change" } + ] }, loading:false, disabled:false, } }, - props:['pageType', 'id'], + props:['pageType', 'id', 'audit'], mounted(){ if(this.pageType == 'look') { this.getInfo(this.id) @@ -281,11 +352,17 @@ export default { this.getInfo(this.id) this.disabled = false; } + if(this.audit) { + this.disabled = true; + } }, methods:{ getInfo(id){ assetOfficialAccountInfo(id).then(res=>{ this.ruleForm = res.data; + setTimeout(() => { + this.$refs.ruleForm.clearValidate() + }, 100); }) }, // 单位名称模糊查询 @@ -327,6 +404,9 @@ export default { sendBack(){ this.$router.go(-1); }, + btnReject(){ + + }, }, } \ No newline at end of file diff --git a/src/views/components/myAssetsType/index_v3.vue b/src/views/components/myAssetsType/index_v3.vue index d993bb4..ec258d2 100644 --- a/src/views/components/myAssetsType/index_v3.vue +++ b/src/views/components/myAssetsType/index_v3.vue @@ -15,19 +15,19 @@ v-model="ruleForm.ssdw" :fetch-suggestions="querySearchAsync" placeholder="请输入所属单位" - + disabled > - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -155,54 +155,59 @@ - - - - - + - + - + 取消 保存 + + 取消 + 通过 + 驳回 +
@@ -224,12 +229,55 @@ export default { dzyxhz:[ { required: true, message: "电子邮箱后缀不能为空", trigger: "blur" } ], + jslx: [ + { required: true, message: "建设类型不能为空", trigger: "change" } + ], + yjxtgys: [ + { required: true, message: "邮件系统供应商不能为空", trigger: "change" } + ], + mmsf: [ + { required: true, message: "密码算法不能为空", trigger: "change" } + ], + yjxtzc: [ + { required: true, message: "邮件系统状态不能为空", trigger: "change" } + ], + aqfhxt: [ + { required: true, message: "安全防护系统不能为空", trigger: "change" } + ], + aqbfhj: [ + { required: true, message: "安全备份环境不能为空", trigger: "change" } + ], + szzscs: [ + { required: true, message: "数字证书厂商不能为空", trigger: "change" } + ], + sxsj: [ + { required: true, message: "上线时间不能为空", trigger: "change" } + ], + sshy: [ + { required: true, message: "所属行业不能为空", trigger: "change" } + ], + zdhy: [ + { required: true, message: "重点行业不能为空", trigger: "change" } + ], + xzqh: [ + { required: true, message: "行政区划不能为空", trigger: "change" } + ], + xtzrr: [ + { required: true, message: "系统责任人不能为空", trigger: "change" } + ], + + xtzrrdz: [ + { required: true, message: "系统责任人地址不能为空", trigger: "change" } + ], + jj: [ + { required: true, message: "简介不能为空", trigger: "change" } + ] }, loading:false, disabled:false, } }, - props:['pageType', 'id'], + props:['pageType', 'id', 'audit'], mounted(){ if(this.pageType == 'look') { this.getInfo(this.id) @@ -248,11 +296,17 @@ export default { this.getInfo(this.id) this.disabled = false; } + if(this.audit) { + this.disabled = true; + } }, methods:{ getInfo(id){ assetEmailInfo(id).then(res=>{ this.ruleForm = res.data; + setTimeout(() => { + this.$refs.ruleForm.clearValidate() + }, 100); }) }, // 单位名称模糊查询 @@ -294,6 +348,9 @@ export default { sendBack(){ this.$router.go(-1); }, + btnReject(){ + + }, }, } \ No newline at end of file diff --git a/src/views/components/myAssetsType/index_v4.vue b/src/views/components/myAssetsType/index_v4.vue index a67cd38..3fd2e64 100644 --- a/src/views/components/myAssetsType/index_v4.vue +++ b/src/views/components/myAssetsType/index_v4.vue @@ -9,30 +9,30 @@ - + - - + + - + - + - + - - - + - + - + - + - + - + - + - + - + - + + + + + + + + + + - + - + 取消 保存 + + 取消 + 通过 + 驳回 +
@@ -186,12 +205,58 @@ export default { appName:[ { required: true, message: "移动应用名称不能为空", trigger: "blur" } ], + pack: [ + { required: true, message: "包名不能为空", trigger: "change" } + ], + icpState: [ + { required: true, message: "icp备案状态不能为空", trigger: "change" } + ], + icpbah: [ + { required: true, message: "icp备案号不能为空", trigger: "change" } + ], + + wjm: [ + { required: true, message: "文件名不能为空", trigger: "change" } + ], + sshy: [ + { required: true, message: "所属行业不能为空", trigger: "change" } + ], + zdhy: [ + { required: true, message: "重点行业不能为空", trigger: "change" } + ], + xzqh: [ + { required: true, message: "行政区划不能为空", trigger: "change" } + ], + aqjgqk: [ + { required: true, message: "安全加固情况不能为空", trigger: "change" } + ], + bbxx: [ + { required: true, message: "版本信息不能为空", trigger: "change" } + ], + bbh: [ + { required: true, message: "版本信息(版本号)不能为空", trigger: "change" } + ], + bbxxMd5: [ + { required: true, message: "版本信息(MD5)不能为空", trigger: "change" } + ], + bbxxSjpt: [ + { required: true, message: "版本信息(上架平台)不能为空", trigger: "change" } + ], + wjdx: [ + { required: true, message: "文件大小不能为空", trigger: "change" } + ], + jj: [ + { required: true, message: "简介不能为空", trigger: "change" } + ], + appState:[ + { required: true, message: "移动应用系统状态不能为空", trigger: "change" } + ], }, loading:false, disabled:false, } }, - props:['pageType', 'id'], + props:['pageType', 'id', 'audit'], mounted(){ if(this.pageType == 'look') { this.getInfo(this.id) @@ -210,11 +275,17 @@ export default { this.getInfo(this.id) this.disabled = false; } + if(this.audit) { + this.disabled = true; + } }, methods:{ getInfo(id){ assetAppInfo(id).then(res=>{ this.ruleForm = res.data; + setTimeout(() => { + this.$refs.ruleForm.clearValidate() + }, 100); }) }, // 单位名称模糊查询 @@ -256,6 +327,9 @@ export default { sendBack(){ this.$router.go(-1); }, + btnReject(){ + + }, }, } \ No newline at end of file diff --git a/src/views/unitPages/assetRecord/assetsAuth.vue b/src/views/unitPages/assetRecord/assetsAuth.vue new file mode 100644 index 0000000..ceac2b8 --- /dev/null +++ b/src/views/unitPages/assetRecord/assetsAuth.vue @@ -0,0 +1,53 @@ + + diff --git a/src/views/unitPages/assetRecord/index.vue b/src/views/unitPages/assetRecord/index.vue new file mode 100644 index 0000000..936959b --- /dev/null +++ b/src/views/unitPages/assetRecord/index.vue @@ -0,0 +1,351 @@ + + + + + diff --git a/src/views/unitPages/myAssets/assetsAuth.vue b/src/views/unitPages/myAssets/assetsAuth.vue index 97911b7..890f6a6 100644 --- a/src/views/unitPages/myAssets/assetsAuth.vue +++ b/src/views/unitPages/myAssets/assetsAuth.vue @@ -18,13 +18,6 @@ import assetsTypeFour from "@/views/components/myAssetsType/index_v3.vue" import assetsTypeFive from "@/views/components/myAssetsType/index_v4.vue" export default { name: "AssetsAuth", - dicts:[ - 'is_no','zc_xtlx','zc_xtzyx','zc_xtzt','zc_zxzt','zc_c_i_a', - 'zc_yhgm','zc_xtbsfs','zc_hlwkfyt','fgfw','wlxz','ywlx','hlqk','fwdx', - 'fwfw','dbxx_dbdj','dbxx_zjps','sf_cpszsdj','sjzc_gxsx','sjzc_kfsx','sjzc_sjly', - 'sjzc_gxzq','sjzc_sjfjfl','fwq_czxt','wlw_fwdx','wlw_wlhlqk','wlw_fwfw','dwlx','sb_ip', - 'xtfhqk_fcg','xtfhqk_fxl','xtfhqk_fzd','xtfhqk_fls' - ], components:{ assetsTypeOne, assetsTypeTwo, diff --git a/src/views/unitPages/myAssets/email.vue b/src/views/unitPages/myAssets/email.vue index 4998871..7038c9c 100644 --- a/src/views/unitPages/myAssets/email.vue +++ b/src/views/unitPages/myAssets/email.vue @@ -75,10 +75,14 @@ @@ -172,7 +176,7 @@ export default { // 查看详情 goInfo(row,id){ this.$router.push({name: 'myAssetsAuth',query: { - pageType: "look", + pageType: id == 1 ? "look" : "change", type:3, id:row.id }}) diff --git a/src/views/unitPages/myAssets/index.vue b/src/views/unitPages/myAssets/index.vue index e49ea91..0d8a5c2 100644 --- a/src/views/unitPages/myAssets/index.vue +++ b/src/views/unitPages/myAssets/index.vue @@ -95,10 +95,14 @@ @@ -180,9 +184,9 @@ export default { }, `asset_${new Date().getTime()}.xlsx`) }, // 查看详情 - goInfo(row){ + goInfo(row,id){ this.$router.push({name: 'myAssetsAuth',query: { - pageType: "look", + pageType: id == 1 ? "look" : "change", type:0, id: row.id }}) diff --git a/src/views/unitPages/myAssets/mobileApplication.vue b/src/views/unitPages/myAssets/mobileApplication.vue index 0cdfa2c..5de4759 100644 --- a/src/views/unitPages/myAssets/mobileApplication.vue +++ b/src/views/unitPages/myAssets/mobileApplication.vue @@ -107,6 +107,10 @@ 查看
+
+ + 编辑 +
@@ -196,7 +200,7 @@ export default { // 查看详情 goInfo(row,id){ this.$router.push({name: 'myAssetsAuth',query: { - pageType: "look", + pageType: id == 1 ? "look" : "change", type:4, id:row.id }}) diff --git a/src/views/unitPages/myAssets/officialAccount.vue b/src/views/unitPages/myAssets/officialAccount.vue index 097d3b9..7997c60 100644 --- a/src/views/unitPages/myAssets/officialAccount.vue +++ b/src/views/unitPages/myAssets/officialAccount.vue @@ -108,6 +108,10 @@ 查看 +
+ + 编辑 +
@@ -197,7 +201,7 @@ export default { // 查看详情 goInfo(row,id){ this.$router.push({name: 'myAssetsAuth',query: { - pageType: "look", + pageType: id == 1 ? "look" : "change", type:2, id:row.id }}) diff --git a/src/views/unitPages/myAssets/program.vue b/src/views/unitPages/myAssets/program.vue index 07a4d1e..e6e34bf 100644 --- a/src/views/unitPages/myAssets/program.vue +++ b/src/views/unitPages/myAssets/program.vue @@ -112,6 +112,10 @@ 查看 +
+ + 编辑 +
@@ -200,7 +204,7 @@ export default { // 查看详情 goInfo(row,id){ this.$router.push({name: 'myAssetsAuth',query: { - pageType: "look", + pageType: id == 1 ? "look" : "change", type:1, id:row.id }}) diff --git a/src/views/unitPages/unitInfo/index.vue b/src/views/unitPages/unitInfo/index.vue new file mode 100644 index 0000000..1f69d8b --- /dev/null +++ b/src/views/unitPages/unitInfo/index.vue @@ -0,0 +1,849 @@ + + + \ No newline at end of file