main
李劲龙 3 weeks ago
parent 170b12608b
commit ee6e9deb5b

@ -5,5 +5,5 @@ VUE_APP_TITLE = 太仓市网络资产核查管理系统
ENV = 'production' ENV = 'production'
# 若依管理系统/生产环境 # 若依管理系统/生产环境
# VUE_APP_BASE_API = 'http://39.101.188.84:9115' VUE_APP_BASE_API = 'http://39.101.188.84:9115'
VUE_APP_BASE_API = 'http://20.1.0.164/api' # VUE_APP_BASE_API = 'http://20.1.0.164/api'

@ -58,9 +58,12 @@
text-align: center; text-align: center;
font-family: Alimama ShuHeiTi; font-family: Alimama ShuHeiTi;
font-weight: bold; font-weight: bold;
font-size: 15px; font-size: 20px;
color: #FFFFFF; color: #FFFFFF;
line-height: 50px; line-height: 30px;
overflow: hidden;
padding: 10px 10px 0 10px;
box-sizing: border-box;
} }
} }

@ -38,7 +38,7 @@ export default {
} }
.fixed-header+.app-main { .fixed-header + .app-main {
padding-top: 50px; padding-top: 50px;
} }

@ -132,9 +132,12 @@ export default {
} }
.dibutishi { .dibutishi {
width: 100%;
text-align: center;
font-size: 14px; font-size: 14px;
margin-top: 3px; margin-top: 3px;
color: #909399; color: #909399;
.kongge { .kongge {
margin: 0 10px; margin: 0 10px;
} }

@ -6,106 +6,89 @@
<span class="top-title-box">基本信息</span> <span class="top-title-box">基本信息</span>
</el-row> </el-row>
<div class="assets-info-box"> <div class="assets-info-box">
<el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="170px" class="demo-ruleForm" label-position="right" :disabled="disabled"> <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="170px" class="demo-ruleForm"
label-position="right" :disabled="disabled">
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="所属单位" prop="ssdw"> <el-form-item label="所属单位" prop="ssdw">
<!-- <el-input v-model="ruleForm.ssdw" placeholder="请输入单位名称"></el-input> --> <!-- <el-input v-model="ruleForm.ssdw" placeholder="请输入单位名称"></el-input> -->
<el-autocomplete <el-autocomplete v-model="ruleForm.ssdw" :fetch-suggestions="querySearchAsync" placeholder="请输入所属单位"
v-model="ruleForm.ssdw" disabled></el-autocomplete>
:fetch-suggestions="querySearchAsync"
placeholder="请输入所属单位"
disabled
></el-autocomplete>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="公众号名称" prop="gzhmc"> <el-form-item label="平台类型" prop="ptlx">
<el-input v-model="ruleForm.gzhmc" placeholder="请输入公众号名称" disabled></el-input> <el-select v-model="ruleForm.ptlx" placeholder="请选择平台类型" >
<el-option v-for="dict in dict.type.sys_ptlx_type" :key="dict.value" :label="dict.label"
:value="dict.value" />
</el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<div v-if="ruleForm.ptlx == 1">
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="微信号" prop="wxh"> <el-form-item label="微信号" prop="wxh">
<el-input v-model="ruleForm.wxh" style="width: 100%;" placeholder="请输入微信号"></el-input> <el-input v-model="ruleForm.wxh" style="width: 100%;" placeholder="请输入微信号"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="认证主体" prop="rzzt"> <el-form-item label="公众号名称" prop="gzhmc">
<el-input v-model="ruleForm.rzzt" style="width: 100%;" placeholder="请输入认证主体"></el-input> <el-input v-model="ruleForm.gzhmc" placeholder="请输入公众号名称" disabled></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="12" > <el-col :span="12">
<el-form-item prop="tyshxydm" <el-form-item prop="tyshxydm" class="daoqitixingren" label="统一社会信用代码" required :rules="[
class="daoqitixingren" label="统一社会信用代码" required {
:rules="[ required: true,
{
required: true,
pattern: /^[a-zA-Z0-9]{18}$/, pattern: /^[a-zA-Z0-9]{18}$/,
message: '请输入正确格式的18位统一社会信用代码', message: '请输入正确格式的18位统一社会信用代码',
trigger: 'change' trigger: 'change'
} }
]" ]">
> <el-input v-model="ruleForm.tyshxydm" placeholder="请输入统一信用代码"></el-input>
<el-input v-model="ruleForm.tyshxydm" placeholder="请输入统一信用代码"></el-input> </el-form-item>
</el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="公众号状态" prop="gzhzt"> <el-form-item label="公众号状态" prop="gzhzt">
<el-select v-model="ruleForm.gzhzt" placeholder="请选择公众号状态"> <el-select v-model="ruleForm.gzhzt" placeholder="请选择公众号状态">
<el-option <el-option v-for="dict in dict.type.gzh_state" :key="dict.value" :label="dict.label"
v-for="dict in dict.type.gzh_state" :value="dict.value" />
:key="dict.value"
:label="dict.label"
:value="dict.value"
/>
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="公众号ID" prop="gzhId"> <el-form-item label="公众号ID" prop="gzhId">
<el-input v-model="ruleForm.gzhId" style="width: 100%;" placeholder="请输入公众号ID"></el-input> <el-input v-model="ruleForm.gzhId" style="width: 100%;" placeholder="请输入公众号ID"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="公众号类型" prop="gzhlx"> <el-form-item label="公众号类型" prop="gzhlx">
<el-select v-model="ruleForm.gzhlx" placeholder="请选择公众号类型"> <el-select v-model="ruleForm.gzhlx" placeholder="请选择公众号类型">
<el-option <el-option v-for="dict in dict.type.gzh_lx" :key="dict.value" :label="dict.label"
v-for="dict in dict.type.gzh_lx" :value="dict.value" />
:key="dict.value"
:label="dict.label"
:value="dict.value"
/>
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="认证状态" prop="rzState"> <el-form-item label="认证状态" prop="rzState">
<el-select v-model="ruleForm.rzState" placeholder="请选择认证状态"> <el-select v-model="ruleForm.rzState" placeholder="请选择认证状态">
<el-option <el-option v-for="dict in dict.type.gzh_rzzt" :key="dict.value" :label="dict.label"
v-for="dict in dict.type.gzh_rzzt" :value="dict.value" />
:key="dict.value"
:label="dict.label"
:value="dict.value"
/>
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="认证时间" prop="rzsj"> <el-form-item label="认证时间" prop="rzsj">
<el-date-picker <el-date-picker v-model="ruleForm.rzsj" type="date" format="yyyy-MM-dd" value-format="yyyy-MM-dd"
v-model="ruleForm.rzsj"
type="date"
format="yyyy-MM-dd"
value-format="yyyy-MM-dd"
placeholder="选择日期"> placeholder="选择日期">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
@ -113,166 +96,153 @@
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="认证类型" prop="rzlx"> <el-form-item label="认证类型" prop="rzlx">
<el-select v-model="ruleForm.rzlx" placeholder="请选择认证类型"> <el-select v-model="ruleForm.rzlx" placeholder="请选择认证类型">
<el-option <el-option v-for="dict in dict.type.gzh_rzlx" :key="dict.value" :label="dict.label"
v-for="dict in dict.type.gzh_rzlx" :value="dict.value" />
:key="dict.value"
:label="dict.label"
:value="dict.value"
/>
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="所属行业" prop="sshy"> <el-form-item label="所属行业" prop="sshy">
<el-select v-model="ruleForm.sshy" placeholder="请选择所属行业"> <el-select v-model="ruleForm.sshy" placeholder="请选择所属行业">
<el-option <el-option v-for="dict in dict.type.app_sshy" :key="dict.value" :label="dict.label"
v-for="dict in dict.type.app_sshy" :value="dict.value" />
:key="dict.value"
:label="dict.label"
:value="dict.value"
/>
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="重点行业" prop="zdhy"> <el-form-item label="重点行业" prop="zdhy">
<el-select v-model="ruleForm.zdhy" placeholder="请选择重点行业"> <el-select v-model="ruleForm.zdhy" placeholder="请选择重点行业">
<el-option <el-option v-for="dict in dict.type.app_zdhy" :key="dict.value" :label="dict.label"
v-for="dict in dict.type.app_zdhy" :value="dict.value" />
:key="dict.value"
:label="dict.label"
:value="dict.value"
/>
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="行政区划" prop="xzqh"> <el-form-item label="行政区划" prop="xzqh">
<el-select v-model="ruleForm.xzqh" placeholder="请选择行政区划"> <el-select v-model="ruleForm.xzqh" placeholder="请选择行政区划">
<el-option <el-option v-for="dict in dict.type.app_xzqh" :key="dict.value" :label="dict.label"
v-for="dict in dict.type.app_xzqh" :value="dict.value" />
:key="dict.value"
:label="dict.label"
:value="dict.value"
/>
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="系统责任人" prop="xtzrr"> <el-form-item label="系统责任人" prop="xtzrr">
<el-input v-model="ruleForm.xtzrr" style="width: 100%;" placeholder="请输入系统责任人"></el-input> <el-input v-model="ruleForm.xtzrr" style="width: 100%;" placeholder="请输入系统责任人"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item prop="xtzrrdh" <el-form-item prop="xtzrrdh" label="系统责任人电话" required :rules="[
label="系统责任人电话" required {
:rules="[ required: true,
{
required: true,
pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/, pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/,
message: '请输入正确的手机号码', message: '请输入正确的手机号码',
trigger: 'change' trigger: 'change'
} }
]" ]">
> <el-input v-model="ruleForm.xtzrrdh" style="width: 100%;" placeholder="请输入系统责任人电话"></el-input>
<el-input v-model="ruleForm.xtzrrdh" style="width: 100%;" placeholder="请输入系统责任人电话"></el-input> </el-form-item>
</el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
<el-form-item prop="xtzrryx" <el-form-item prop="xtzrryx" label="系统责任人邮箱" required :rules="[
label="系统责任人邮箱" required {
:rules="[ required: true,
{
required: true,
type: 'email', type: 'email',
message: '请输入正确的邮箱地址', message: '请输入正确的邮箱地址',
trigger: ['change', 'change'] trigger: ['change', 'change']
} }
]" ]">
> <el-input v-model="ruleForm.xtzrryx" style="width: 100%;" placeholder="请输入系统责任人邮箱"></el-input>
<el-input v-model="ruleForm.xtzrryx" style="width: 100%;" placeholder="请输入系统责任人邮箱"></el-input> </el-form-item>
</el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="系统责任人地址" prop="xtzrrdz"> <el-form-item label="系统责任人地址" prop="xtzrrdz">
<el-input v-model="ruleForm.xtzrrdz" style="width: 100%;" placeholder="请输入系统责任人地址"></el-input> <el-input v-model="ruleForm.xtzrrdz" style="width: 100%;" placeholder="请输入系统责任人地址"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="菜单信息(菜单名称)" prop="cdmc"> <el-form-item label="菜单信息(菜单名称)" prop="cdmc">
<el-input v-model="ruleForm.cdmc" style="width: 100%;" placeholder="请输入菜单信息(菜单名称)"></el-input> <el-input v-model="ruleForm.cdmc" style="width: 100%;" placeholder="请输入菜单信息(菜单名称)"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="菜单信息(菜单链接)" prop="cdlj"> <el-form-item label="菜单信息(菜单链接)" prop="cdlj">
<el-input v-model="ruleForm.cdlj" style="width: 100%;" placeholder="请输入菜单信息(菜单链接)"></el-input> <el-input v-model="ruleForm.cdlj" style="width: 100%;" placeholder="请输入菜单信息(菜单链接)"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="菜单信息(菜单类型)" prop="cdlx"> <el-form-item label="菜单信息(菜单类型)" prop="cdlx">
<el-input v-model="ruleForm.cdlx" style="width: 100%;" placeholder="请输入菜单信息(菜单类型)"></el-input> <el-input v-model="ruleForm.cdlx" style="width: 100%;" placeholder="请输入菜单信息(菜单类型)"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12">
<el-form-item label="认证主体" prop="rzzt">
<el-input v-model="ruleForm.rzzt" style="width: 100%;" placeholder="请输入认证主体"></el-input>
</el-form-item>
</el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="24"> <el-col :span="24">
<el-form-item label="系统简介" prop="xtjj"> <el-form-item label="系统简介" prop="xtjj">
<el-input type="textarea" resize="none" placeholder="请输入系统简介" :rows="5" v-model="ruleForm.xtjj"></el-input> <el-input type="textarea" resize="none" placeholder="请输入系统简介" :rows="5"
v-model="ruleForm.xtjj"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
</div>
<el-row v-if="ruleForm.bfyy"> <el-row v-if="ruleForm.bfyy">
<el-col :span="24"> <el-col :span="24">
<el-form-item label="关停原因"> <el-form-item label="关停原因">
                <div>{{ruleForm.bfyy}}</div>                 <div>{{ ruleForm.bfyy }}</div>
              </el-form-item>               </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row style="margin: 10px 0 ;padding-bottom: 50px; text-align: center;" v-if="pageType !== 'look' &&$route.name == 'mytaskAuditInfo'" > <el-row style="margin: 10px 0 ;padding-bottom: 50px; text-align: center;"
v-if="pageType !== 'look' && $route.name == 'mytaskAuditInfo'">
<el-button type="danger" @click="newAssets(0)"></el-button> <el-button type="danger" @click="newAssets(0)"></el-button>
<el-button @click="newAssets(1)"></el-button> <el-button @click="newAssets(1)"></el-button>
<el-button type="warning" @click="newAssets(2)"></el-button> <el-button type="warning" @click="newAssets(2)"></el-button>
<el-button type="primary" @click="newAssets(3)" :loading="loading">提交</el-button> <el-button type="primary" @click="newAssets(3)" :loading="loading">提交</el-button>
</el-row> </el-row>
<el-row style="margin: 10px 0 ;padding-bottom: 50px; text-align: center;" v-if="pageType !== 'look' &&$route.name == 'taskAuditInfo'" > <el-row style="margin: 10px 0 ;padding-bottom: 50px; text-align: center;"
v-if="pageType !== 'look' && $route.name == 'taskAuditInfo'">
<el-button type="danger" @click="JGnewAssets(0)"></el-button> <el-button type="danger" @click="JGnewAssets(0)"></el-button>
<el-button type="primary" @click="JGnewAssets(1)" >通过</el-button> <el-button type="primary" @click="JGnewAssets(1)"></el-button>
</el-row> </el-row>
</el-form> </el-form>
</div> </div>
</div> </div>
<baofei ref='baofei' :ruleForm='ruleForm' @assetTaskzc="guanting"></baofei> <baofei ref='baofei' :ruleForm='ruleForm' @assetTaskzc="guanting"></baofei>
<butongguo ref='butongguo' :chuandemingcheng='ruleForm.gzhmc' ></butongguo> <butongguo ref='butongguo' :chuandemingcheng='ruleForm.gzhmc'></butongguo>
</div> </div>
</template> </template>
<script> <script>
import { assetOfficialAccount, assetOfficialAccountInfo, unitAllList } from "@/api/auditPagesApi/index"; import { assetOfficialAccount, assetOfficialAccountInfo, unitAllList } from "@/api/auditPagesApi/index";
import { assetTaskofficetaskSh, assetTaskgzhzc, assetTasksh,assetTaskgzhjyTj} from "@/api/renwuApi/index.js" import { assetTaskofficetaskSh, assetTaskgzhzc, assetTasksh, assetTaskgzhjyTj } from "@/api/renwuApi/index.js"
import baofei from "@/views/components/renwuType/baofei.vue" import baofei from "@/views/components/renwuType/baofei.vue"
import butongguo from "@/views/components/renwuType/butongguo.vue" import butongguo from "@/views/components/renwuType/butongguo.vue"
export default { export default {
components:{baofei,butongguo}, components: { baofei, butongguo },
dicts:['app_xzqh','app_sshy','app_zdhy','gzh_state','gzh_lx','gzh_rzzt','gzh_rzlx','gzh_cdlx'], dicts: ['app_xzqh', 'app_sshy', 'app_zdhy', 'gzh_state', 'gzh_lx', 'gzh_rzzt', 'gzh_rzlx', 'gzh_cdlx', 'sys_ptlx_type'],
data() { data() {
return { return {
ruleForm:{ ruleForm: {
}, },
rules: { rules: {
@ -347,16 +317,16 @@ export default {
] ]
}, },
loading:false, loading: false,
disabled:false, disabled: false,
} }
}, },
props:['pageType', 'id'], props: ['pageType', 'id'],
mounted(){ mounted() {
if(this.pageType == 'look') { if (this.pageType == 'look') {
this.getInfo(this.id) this.getInfo(this.id)
this.disabled = true; this.disabled = true;
this.$nextTick(()=>{ this.$nextTick(() => {
const inputElements = document.querySelectorAll('.el-input__inner'); const inputElements = document.querySelectorAll('.el-input__inner');
const textareaInputElements = document.querySelectorAll('.el-textarea__inner'); const textareaInputElements = document.querySelectorAll('.el-textarea__inner');
inputElements.forEach((input) => { inputElements.forEach((input) => {
@ -366,30 +336,30 @@ export default {
input.placeholder = ''; input.placeholder = '';
}); });
}) })
} else if(this.pageType == 'change') { } else if (this.pageType == 'change') {
this.getInfo(this.id) this.getInfo(this.id)
this.disabled = false; this.disabled = false;
} }
}, },
methods:{ methods: {
getInfo(id){ getInfo(id) {
let obj = { let obj = {
taskId: this.$route.query.taskId, taskId: this.$route.query.taskId,
assetId: this.$route.query.assetId assetId: this.$route.query.assetId
} }
assetTaskofficetaskSh(obj).then(res=>{ assetTaskofficetaskSh(obj).then(res => {
this.ruleForm = res.data; this.ruleForm = res.data;
setTimeout(() => { setTimeout(() => {
this.$refs.ruleForm.clearValidate() this.$refs.ruleForm.clearValidate()
}, 100); }, 100);
}) })
}, },
// //
querySearchAsync(queryString, cb){ querySearchAsync(queryString, cb) {
let results = []; let results = [];
unitAllList({nickName: queryString}).then(res => { unitAllList({ nickName: queryString }).then(res => {
res.data.forEach(item => { res.data.forEach(item => {
results.push({ results.push({
value: item.nickName, value: item.nickName,
@ -399,87 +369,87 @@ export default {
}) })
cb(results); cb(results);
}, },
guanting(ruleForm){ guanting(ruleForm) {
assetTaskgzhzc(ruleForm).then(res=>{ assetTaskgzhzc(ruleForm).then(res => {
this.$message({ this.$message({
type: 'info', type: 'info',
message: '已关停' message: '已关停'
}); });
this.$router.go(-1); this.$router.go(-1);
this.ruleForm.bfyy = "" this.ruleForm.bfyy = ""
this.$refs.baofei.resetForm() this.$refs.baofei.resetForm()
}) })
}, },
// //
newAssets(type){ newAssets(type) {
if (type == 1) { if (type == 1) {
// //
this.loading = true this.loading = true
this.$router.go(-1); this.$router.go(-1);
this.loading = false this.loading = false
return return
} }
this.ruleForm.taskId= this.$route.query.taskId this.ruleForm.taskId = this.$route.query.taskId
this.ruleForm.assetId= this.$route.query.assetId this.ruleForm.assetId = this.$route.query.assetId
if (type == 0) { if (type == 0) {
this.$refs.baofei.open() this.$refs.baofei.open()
} }
// //
if (type == 2) { if (type == 2) {
this.loading = true this.loading = true
assetTaskgzhzc(this.ruleForm).then(res => { assetTaskgzhzc(this.ruleForm).then(res => {
console.log(res, "res"); console.log(res, "res");
this.$modal.msgSuccess("修改成功"); this.$modal.msgSuccess("修改成功");
this.$router.go(-1); this.$router.go(-1);
this.loading = false this.loading = false
}) })
} }
if(type == 3){ if (type == 3) {
this.$refs['ruleForm'].validate((valid) => { this.$refs['ruleForm'].validate((valid) => {
if(valid) { if (valid) {
this.loading = true; this.loading = true;
assetTaskgzhjyTj(this.ruleForm).then(res=>{ assetTaskgzhjyTj(this.ruleForm).then(res => {
this.loading = false; this.loading = false;
this.$modal.msgSuccess("提交成功"); this.$modal.msgSuccess("提交成功");
this.$router.go(-1); this.$router.go(-1);
})
}
}) })
}
})
} }
}, },
JGnewAssets(type){ JGnewAssets(type) {
this.ruleForm.taskId= this.$route.query.taskId this.ruleForm.taskId = this.$route.query.taskId
this.ruleForm.assetId= this.$route.query.assetId this.ruleForm.assetId = this.$route.query.assetId
if(type == 0){ if (type == 0) {
this.$refs.butongguo.open() this.$refs.butongguo.open()
}
if(type == 1){
let tijioaobj = {
taskId: this.$route.query.taskId,
assetId: this.$route.query.assetId,
xtmc:this.ruleForm.gzhmc,
status: 3,
type:this.$route.query.type
} }
assetTasksh(tijioaobj).then(res=>{ if (type == 1) {
if(res.code == 200){ let tijioaobj = {
this.$modal.msgSuccess("审核成功"); taskId: this.$route.query.taskId,
this.$router.go(-1); assetId: this.$route.query.assetId,
xtmc: this.ruleForm.gzhmc,
status: 3,
type: this.$route.query.type
} }
}) assetTasksh(tijioaobj).then(res => {
} if (res.code == 200) {
this.$modal.msgSuccess("审核成功");
}, this.$router.go(-1);
sendBack(){ }
})
}
},
sendBack() {
this.$router.go(-1); this.$router.go(-1);
}, },
}, },

@ -344,7 +344,8 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row v-if="ruleForm.bsypt == 1"> <!-- v-if="ruleForm.bsypt == 1" -->
<el-row >
<el-col :span="12"> <el-col :span="12">
<el-form-item label="云服务商名称" required> <el-form-item label="云服务商名称" required>
<el-input v-model="ruleForm.yfwsmc" style="width: 100%;" placeholder="请输入云服务商名称"></el-input> <el-input v-model="ruleForm.yfwsmc" style="width: 100%;" placeholder="请输入云服务商名称"></el-input>

@ -374,7 +374,8 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row v-if="ruleForm.bsypt == 1"> <!-- v-if="ruleForm.bsypt == 1" -->
<el-row>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="云服务商名称" required prop="yfwsmc" :rules="{ <el-form-item label="云服务商名称" required prop="yfwsmc" :rules="{
required: true, message: '请输入', trigger: 'blur' required: true, message: '请输入', trigger: 'blur'

@ -1,7 +1,7 @@
<template> <template>
<div class="login"> <div class="login">
<el-form ref="loginForm" :model="loginForm" :rules="loginRules" class="login-form"> <el-form ref="loginForm" :model="loginForm" :rules="loginRules" class="login-form">
<h3 class="title">太仓资产核查管理系统</h3> <h3 class="title">太仓市网络资产核查管理系统</h3>
<el-form-item prop="username"> <el-form-item prop="username">
<el-input <el-input
v-model="loginForm.username" v-model="loginForm.username"
@ -53,11 +53,14 @@
<router-link class="link-type" :to="'/register'">立即注册</router-link> <router-link class="link-type" :to="'/register'">立即注册</router-link>
</div> </div>
</el-form-item> </el-form-item>
</el-form> </el-form>
<!-- 底部 --> <!-- 底部 -->
<!-- <div class="el-login-footer"> <!-- <div class="el-login-footer">
<span>Copyright © 2018-2024 ruoyi.vip All Rights Reserved.</span> <span>Copyright © 2018-2024 ruoyi.vip All Rights Reserved.</span>
</div> --> </div> -->
<div class="dibutishi"><span>主办单位</span>中共太仓市委网信办 <span class="kongge"></span> <span>技术支持单位</span>杭州安恒信息技术股份有限公司
</div>
</div> </div>
</template> </template>
@ -189,6 +192,7 @@ export default {
.title { .title {
margin: 0px auto 30px auto; margin: 0px auto 30px auto;
text-align: center; text-align: center;
text-wrap: nowrap;
font-family: Alimama ShuHeiTi; font-family: Alimama ShuHeiTi;
font-weight: bold; font-weight: bold;
font-size: 24px; font-size: 24px;
@ -198,7 +202,7 @@ export default {
.login-form { .login-form {
border-radius: 6px; border-radius: 6px;
background: #ffffff; background: #ffffff;
width: 400px; width: 420px;
padding: 25px 25px 5px 25px; padding: 25px 25px 5px 25px;
.el-input { .el-input {
height: 38px; height: 38px;
@ -241,4 +245,20 @@ export default {
.login-code-img { .login-code-img {
height: 38px; height: 38px;
} }
.dibutishi {
position: absolute;
bottom: 10px;
text-align: center;
font-size: 14px;
margin-top: 3px;
color: #ffffff;
.kongge {
margin: 0 10px;
}
span {
color: #ffffff;
}
}
</style> </style>

@ -18,8 +18,8 @@ module.exports = {
// 部署生产环境和开发环境下的URL。 // 部署生产环境和开发环境下的URL。
// 默认情况下Vue CLI 会假设你的应用是被部署在一个域名的根路径上 // 默认情况下Vue CLI 会假设你的应用是被部署在一个域名的根路径上
// 例如 https://www.ruoyi.vip/。如果应用被部署在一个子路径上,你就需要用这个选项指定这个子路径。例如,如果你的应用被部署在 https://www.ruoyi.vip/admin/,则设置 baseUrl 为 /admin/。 // 例如 https://www.ruoyi.vip/。如果应用被部署在一个子路径上,你就需要用这个选项指定这个子路径。例如,如果你的应用被部署在 https://www.ruoyi.vip/admin/,则设置 baseUrl 为 /admin/。
// publicPath: process.env.NODE_ENV === "production" ? "/demo/TcAssetVerificationPc" : "/", publicPath: process.env.NODE_ENV === "production" ? "/demo/TcAssetVerificationPc" : "/",
publicPath: process.env.NODE_ENV === "production" ? "./" : "/", // publicPath: process.env.NODE_ENV === "production" ? "./" : "/",
// 在npm run build 或 yarn build 时 生成文件的目录名称要和baseUrl的生产环境路径一致默认dist // 在npm run build 或 yarn build 时 生成文件的目录名称要和baseUrl的生产环境路径一致默认dist
outputDir: 'dist', outputDir: 'dist',
// 用于放置生成的静态资源 (js、css、img、fonts) 的;(项目打包之后,静态资源会放在这个文件夹下) // 用于放置生成的静态资源 (js、css、img、fonts) 的;(项目打包之后,静态资源会放在这个文件夹下)

Loading…
Cancel
Save